/* ===== BRAND COLOURS ===== */
:root {
    --cream: #FAF6F1;
    --white: #FFFFFF;
    --brown: #4B241C;
    --burgundy: #722F37;
    --gold: #C6A16B;
    --text: #29211E;
    --border: #E9DFD5;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--brown);
    color: var(--white);
    text-align: center;
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-container {
    width: 94%;
    max-width: 1440px;
    min-height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* ===== LOGO ===== */
/* .brand-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
} */

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    width: 160px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 480px) {
    .logo-image {
        width: 125px;
        height: 48px;
    }
}

/* 
.logo-symbol {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--burgundy);
    font-family: Georgia, serif;
    font-size: 17px;
}

.logo-name {
    display: flex;
    flex-direction: column;
    gap: 4px;

    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-name small {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: normal;
} */

/* ===== NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 23px;
}

.main-navigation a {
    position: relative;
    padding: 8px 0;
    color: var(--text);
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.main-navigation a:hover,
.main-navigation .nav-active {
    color: var(--burgundy);
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;

    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .nav-active::after {
    width: 100%;
}

/* ===== HEADER ICONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: var(--brown);

    font-size: 24px;
    line-height: 1;
}

.header-icon:hover {
    color: var(--burgundy);
}

.cart-count {
    position: absolute;
    top: -9px;
    right: -10px;

    display: grid;
    place-items: center;

    width: 17px;
    height: 17px;
    border-radius: 50%;

    background: var(--burgundy);
    color: white;
    font-size: 9px;
}

/* ===== MOBILE MENU BUTTON ===== */
.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--brown);
    font-size: 24px;
}

/* ===== SEARCH ===== */
.header-search {
    display: flex;
    align-items: center;
    gap: 12px;

    max-width: 600px;
    margin: 0 auto;
    padding: 12px 20px;
}

.header-search[hidden] {
    display: none;
}

.header-search input {
    flex: 1;
    min-width: 0;
    padding: 12px;

    border: 1px solid var(--border);
    outline-color: var(--gold);
    font-size: 13px;
}

.header-search button {
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--brown);
}

/* ===== TABLET ===== */
@media (max-width: 1100px) {
    .header-container {
        gap: 16px;
    }

    .main-navigation {
        gap: 14px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .header-actions {
        gap: 12px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 850px) {
    .header-container {
        min-height: 70px;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .brand-logo {
        margin-right: auto;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px 6%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 20px rgba(45, 25, 15, 0.08);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .main-navigation a::after {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    .header-icon {
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .announcement-bar {
        font-size: 9px;
    }

    .header-container {
        width: 94%;
    }

    .logo-symbol {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .logo-name {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .logo-name small {
        font-size: 7px;
    }

    .header-actions {
        gap: 9px;
    }
}


/* =================================
   PRODUCTS PAGE - SECTION 2
   PAGE HEADING & BREADCRUMB
================================= */

.shop-page-heading {
    background: var(--cream);
    padding: 42px 20px 45px;
    border-bottom: 1px solid var(--border);
}

.shop-heading-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.shop-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 12px;
    color: #766963;
}

.shop-breadcrumb a {
    color: var(--brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-breadcrumb a:hover {
    color: var(--burgundy);
}

.shop-page-heading h1 {
    color: var(--brown);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 14px;
}

.shop-page-heading h1 span {
    color: var(--burgundy);
}

.shop-page-heading p {
    max-width: 580px;
    margin: 0 auto;
    color: #766963;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 520px) {
    .shop-page-heading {
        padding: 30px 16px 35px;
    }

    .shop-breadcrumb {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .shop-page-heading p {
        font-size: 13px;
    }
}


/* =================================
   PRODUCTS PAGE - SECTION 3
   CATEGORY NAVIGATION
================================= */

.shop-categories {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 22px 20px;
}

.shop-categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.category-tab {
    padding: 11px 22px;
    background: transparent;
    color: var(--brown);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-tab:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.category-tab.active {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.category-tab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .shop-categories {
        padding: 18px 12px;
    }

    .category-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 0 8px;
        gap: 8px;
        scrollbar-width: thin;
    }

    .category-tab {
        flex: 0 0 auto;
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* =================================
   PRODUCTS PAGE - SECTION 4
   FILTERS & SORTING
================================= */

.shop-toolbar {
    background: var(--white);
    padding: 22px 20px;
}

.shop-toolbar-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-results {
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
}

.shop-filter-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.price-filter,
.sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-filter label,
.sort-control label {
    color: #766963;
    font-size: 12px;
}

.price-filter input {
    width: 76px;
    min-width: 0;
    padding: 9px 8px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text);
    background: var(--white);
    font: inherit;
    font-size: 12px;
}

.price-filter button {
    padding: 10px 13px;
    border: 1px solid var(--burgundy);
    border-radius: 3px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 12px;
    cursor: pointer;
}

.price-filter button:hover {
    background: var(--brown);
}

.sort-control select {
    max-width: 190px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    color: var(--brown);
    font-size: 12px;
    cursor: pointer;
}

.price-filter input:focus,
.sort-control select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .shop-toolbar-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .shop-filter-controls {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .shop-toolbar {
        padding: 18px 12px;
    }

    .shop-filter-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .price-filter {
        flex-wrap: wrap;
    }

    .sort-control {
        width: 100%;
        justify-content: space-between;
    }

    .sort-control select {
        flex: 1;
        max-width: 220px;
    }
}

/* =================================
   PRODUCTS PAGE - SECTION 5
   PRODUCT GRID
================================= */

.shop-products-section {
    background: var(--white);
    padding: 15px 20px 65px;
}

.shop-products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
}

.shop-product-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(75, 36, 28, 0.08);
}

.shop-product-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 4 / 5;
}

.shop-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}

.shop-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 9px;
    background: var(--burgundy);
    color: white;
    font-size: 9px;
    letter-spacing: 0.8px;
}

.shop-product-info {
    padding: 17px 14px 16px;
}

.shop-product-category {
    color: #8b817a;
    font-size: 11px;
    margin: 0 0 8px;
}

.shop-product-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.5;
}

.shop-product-info h3 a {
    color: var(--brown);
    text-decoration: none;
}

.shop-product-info h3 a:hover {
    color: var(--burgundy);
}

.shop-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.shop-product-price > span {
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
}

.shop-product-price del {
    color: #968b84;
    font-size: 11px;
}

.shop-product-price small {
    color: #56754b;
    font-size: 10px;
}

.shop-add-cart {
    width: 100%;
    padding: 12px 8px;
    border: 1px solid var(--burgundy);
    background: var(--burgundy);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.shop-add-cart:hover {
    background: var(--brown);
    border-color: var(--brown);
}

.shop-add-cart:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.shop-empty-message {
    padding: 45px 15px;
    text-align: center;
    color: #766963;
    font-size: 14px;
}

.shop-empty-message[hidden] {
    display: none;
}

/* Tablet */
@media (max-width: 900px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .shop-product-info {
        padding: 14px 11px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .shop-products-section {
        padding: 10px 12px 45px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .shop-product-info h3 {
        font-size: 13px;
    }

    .shop-product-price {
        gap: 5px;
    }

    .shop-product-price > span {
        font-size: 13px;
    }

    .shop-product-price del {
        font-size: 10px;
    }

    .shop-product-badge {
        top: 8px;
        left: 8px;
        font-size: 8px;
        padding: 5px 6px;
    }
}
/* =================================
   SECTION 10: FOOTER
================================= */

.site-footer {
    background: #FAF6F1;
    color: var(--text);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 55px 20px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo img {
    display: block;
    width: 155px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand > p {
    max-width: 280px;
    color: #766963;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-socials a {
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--gold);
}

.footer-column h3 {
    color: var(--brown);
    font-size: 15px;
    margin-bottom: 22px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 13px;
}

.footer-column a {
    color: #766963;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--burgundy);
}

.footer-contact p {
    color: #766963;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #766963;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .footer-container {
        padding: 40px 20px 30px;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-logo img {
        width: 140px;
    }

    .footer-column h3 {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-column a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-socials {
        gap: 12px;
    }
}

