@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* =========================================================
   MAISON STORE — LUXURY COLOR SYSTEM
   Black + Gold + Burgundy
   ========================================================= */

:root {
    /* ===== MAIN COLORS — CHANGE THESE TO REBRAND ===== */
    --primary: #111111;
    --primary-light: #1c1c1c;
    --primary-dark: #080808;

    --gold: #c6a15b;
    --gold-light: #dfc98f;
    --gold-dark: #9f7b35;

    --burgundy: #641f2b;
    --burgundy-light: #7d2a38;
    --burgundy-dark: #45141d;

    /* ===== BACKGROUNDS ===== */
    --background: #ffffff;
    --white: #ffffff;
    --surface: #f8f5ef;
    --surface-dark: #eee8dc;
    --cream: #fbf8f2;

    /* ===== TEXT ===== */
    --text: #181818;
    --text-light: #777777;
    --text-muted: #999999;
    --text-white: #ffffff;

    /* ===== UI ===== */
    --border: #e5dfd4;
    --success: #3f7355;
    --danger: #9d3030;

    /* ===== SHADOWS ===== */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* ===== LAYOUT ===== */
    --container: 1200px;
    --header-height: 82px;

    /* ===== RADIUS ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    /* ===== TRANSITION ===== */
    --transition: 0.3s ease;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.8;
    direction: rtl;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 45px;
}

.section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.3;
    color: var(--primary);
}

.centered {
    text-align: center;
}

.view-all {
    color: var(--burgundy);
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--gold-dark);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--text-white);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-container {
    width: min(100% - 40px, var(--container));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.logo::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--burgundy);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
    transition: var(--transition);
}

.header-icon:hover {
    color: var(--text-white);
    background: var(--burgundy);
    border-color: var(--burgundy);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    background: var(--gold);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 9999;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10,10,10,.90), rgba(10,10,10,.48), rgba(10,10,10,.12)),
        url('https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1800&q=85')
        center / cover no-repeat;
}

.hero-content {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    color: var(--white);
}

.hero-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.15;
    color: var(--white);
}

.hero p {
    max-width: 560px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.category-card img {
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 22px 25px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(0,0,0,.88));
}

.category-overlay h3 {
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
}

.category-overlay span {
    color: var(--gold-light);
    font-size: 12px;
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.section-products {
    background: var(--surface);
    max-width: none;
    padding-left: max(25px, calc((100% - var(--container)) / 2 + 25px));
    padding-right: max(25px, calc((100% - var(--container)) / 2 + 25px));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface-dark);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    padding: 4px 10px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
}

.wishlist-button {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.wishlist-button:hover,
.wishlist-button.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.product-info {
    padding: 18px;
}

.product-category {
    margin-bottom: 4px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info h3 {
    margin-bottom: 7px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.product-price {
    color: var(--burgundy);
    font-size: 16px;
    font-weight: 700;
}

/* =========================================================
   PROMO
   ========================================================= */

.promo-section {
    max-width: none;
    padding: 90px max(25px, calc((100% - var(--container)) / 2 + 25px));
    background: var(--cream);
}

.promo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    overflow: hidden;
    background: var(--primary);
}

.promo-image {
    min-height: 500px;
    background:
        url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1000&q=85')
        center / cover no-repeat;
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: var(--white);
}

.promo-content .section-label {
    color: var(--gold-light);
}

.promo-content h2 {
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.2;
}

.promo-content p {
    margin-bottom: 25px;
    color: rgba(255,255,255,.75);
}

/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    background: var(--white);
}

.features-container {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature {
    padding: 38px 25px;
    text-align: center;
    border-left: 1px solid var(--border);
}

.feature:last-child {
    border-left: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 20px;
}

.feature h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.feature p {
    color: var(--text-light);
    font-size: 13px;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter {
    max-width: none;
    background: var(--burgundy);
    color: var(--white);
}

.newsletter-container {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter h2 {
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.newsletter p {
    color: rgba(255,255,255,.72);
}

.newsletter form {
    display: flex;
    width: min(100%, 480px);
}

.newsletter input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 0;
    outline: 0;
}

.newsletter button {
    min-width: 120px;
    border: 0;
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-container {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    padding: 70px 0 45px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
}

.footer-column h3 {
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 15px;
}

.footer-column a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold-light);
    padding-right: 4px;
}

.footer-bottom {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.45);
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(10,10,10,.78), rgba(10,10,10,.78)),
        url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1800&q=85')
        center / cover no-repeat;
    color: var(--white);
}

.page-hero-content {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
}

.page-hero h1 {
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
}

.page-hero p {
    color: rgba(255,255,255,.72);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 12px;
}

/* =========================================================
   SHOP / DRESSES
   ========================================================= */

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 35px;
    direction: ltr;
}

.shop-layout > * {
    direction: rtl;
}

.shop-filters {
    height: fit-content;
    padding: 22px;
    border: 1px solid var(--border);
    background: var(--white);
}

.filter-group {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.filter-group h3 {
    margin-bottom: 13px;
    font-size: 15px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 13px;
}

.filter-option input {
    accent-color: var(--burgundy);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.size-button {
    min-width: 42px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}

.size-button:hover,
.size-button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

#productSearch,
#productSort {
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    outline: 0;
    background: var(--white);
    color: var(--text);
}

#productSearch {
    width: 240px;
}

.shop-products {
    min-width: 0;
}

.no-products {
    display: none;
    padding: 60px 20px;
    text-align: center;
    background: var(--surface);
    color: var(--text-light);
}

/* =========================================================
   PRODUCT DETAILS
   ========================================================= */

.product-page {
    padding-top: 65px;
    padding-bottom: 90px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
    align-items: start;
    direction: ltr;
}

.product-gallery,
.product-details {
    direction: rtl;
}

.product-main-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.product-thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-thumbnail.active {
    border-color: var(--gold);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details .product-category {
    margin-bottom: 8px;
}

.product-details h1 {
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 43px;
}

.product-rating {
    margin-bottom: 20px;
    color: var(--gold-dark);
}

.product-details .price {
    margin-bottom: 28px;
    color: var(--burgundy);
    font-size: 25px;
    font-weight: 700;
}

.product-option {
    margin-bottom: 24px;
}

.product-option h3 {
    margin-bottom: 10px;
    font-size: 14px;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-button {
    min-width: 46px;
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.option-button:hover,
.option-button.active {
    border-color: var(--burgundy);
    background: var(--burgundy);
    color: var(--white);
}

.color-button {
    position: relative;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
}

.color-button.black {
    background: #111;
}

.color-button.beige {
    background: #d6c1a4;
}

.color-button.white {
    background: #fff;
    border: 1px solid #ccc;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
}

.quantity-selector button,
.quantity-selector span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button {
    border: 0;
    background: var(--surface);
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.product-info-list {
    margin-top: 35px;
    border-top: 1px solid var(--border);
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.product-info-row span:last-child {
    color: var(--text-light);
}

.product-description {
    margin-top: 70px;
}

.product-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.product-tab {
    padding-bottom: 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--text-light);
}

.product-tab.active {
    border-color: var(--gold);
    color: var(--primary);
}

.product-description-content {
    max-width: 850px;
    color: var(--text-light);
}

/* =========================================================
   OFFERS
   ========================================================= */

.offer-banner {
    margin-bottom: 55px;
    padding: 45px;
    text-align: center;
    background: var(--burgundy);
    color: var(--white);
}

.offer-banner h2 {
    margin-bottom: 7px;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
}

.offer-banner p {
    color: rgba(255,255,255,.72);
}

.offer-discount {
    color: var(--gold-light);
    font-weight: 700;
}

.old-price {
    margin-left: 8px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 13px;
}

.discount-price {
    color: var(--burgundy);
    font-weight: 700;
}

/* =========================================================
   FAVORITES
   ========================================================= */

.favorites-section {
    min-height: 500px;
}

.empty-state {
    padding: 80px 20px;
    text-align: center;
    background: var(--surface);
}

.empty-state-icon {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 45px;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.empty-state p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* =========================================================
   CART
   ========================================================= */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 35px;
    align-items: start;
}

.cart-items {
    border-top: 1px solid var(--border);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 100px;
    height: 125px;
    object-fit: cover;
}

.cart-item-info h3 {
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.cart-item-meta {
    color: var(--text-light);
    font-size: 12px;
}

.cart-item-price {
    margin-top: 7px;
    color: var(--burgundy);
    font-weight: 700;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
}

.cart-quantity button,
.cart-quantity span {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-quantity button {
    border: 0;
    background: var(--surface);
}

.remove-cart-item {
    border: 0;
    background: transparent;
    color: var(--danger);
}

.cart-summary {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.cart-summary h2 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.summary-total {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 2px solid var(--primary);
    border-bottom: 0;
    font-size: 18px;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--burgundy);
}

.cart-summary .btn {
    width: 100%;
    margin-top: 18px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 35px;
    align-items: start;
}

.checkout-section {
    margin-bottom: 25px;
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--white);
}

.checkout-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.checkout-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.checkout-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    outline: 0;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198,161,91,.10);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border);
}

.payment-option input {
    accent-color: var(--burgundy);
}

.terms {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 12px;
}

.terms input {
    margin-top: 6px;
    accent-color: var(--burgundy);
}

.checkout-summary {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.checkout-summary h2 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.checkout-product {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-product img {
    width: 65px;
    height: 80px;
    object-fit: cover;
}

.checkout-product-info {
    flex: 1;
}

.checkout-product-info h3 {
    font-size: 13px;
}

.checkout-product-info p {
    color: var(--text-light);
    font-size: 11px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-intro {
    padding: 90px 25px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.values-section {
    max-width: none;
    background: var(--surface);
}

.values-grid {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    padding: 35px 25px;
    background: var(--white);
    border: 1px solid var(--border);
}

.value-number {
    margin-bottom: 18px;
    color: var(--gold-dark);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.value-card h3 {
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.value-card p {
    color: var(--text-light);
    font-size: 13px;
}

.about-highlight {
    padding: 90px 25px;
}

.about-highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    background: var(--primary);
}

.about-highlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    color: var(--white);
}

.about-highlight-content h2 {
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
}

.about-highlight-content p {
    margin-bottom: 25px;
    color: rgba(255,255,255,.72);
}

.about-highlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-highlight-image {
    min-height: 480px;
    background:
        url('https://images.unsplash.com/photo-1509631179647-0177331693ae?auto=format&fit=crop&w=1000&q=85')
        center / cover no-repeat;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 90px 25px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-item {
    padding: 22px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--white);
}

.contact-item h3 {
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 13px;
}

.contact-form-container {
    padding: 35px;
    border: 1px solid var(--border);
    background: var(--white);
}

.contact-form-header {
    margin-bottom: 25px;
}

.contact-form-header h2 {
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.contact-form-header p {
    color: var(--text-light);
    font-size: 13px;
}

.contact-form .btn {
    margin-top: 10px;
}

.form-success {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background: #edf6ef;
    color: var(--success);
    border: 1px solid #cce2d1;
    font-size: 13px;
}

.faq-section {
    max-width: none;
    padding: 90px 25px;
    background: var(--surface);
}

.faq-grid {
    width: min(100% - 50px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.faq-item {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item p {
    padding-top: 12px;
    color: var(--text-light);
    font-size: 13px;
}

.contact-cta {
    padding: 80px 25px;
}

.contact-cta-container {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 55px;
    background: var(--burgundy);
    color: var(--white);
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
}

.contact-cta p {
    margin-bottom: 22px;
    color: rgba(255,255,255,.72);
}

.contact-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   UTILITY
   ========================================================= */

.text-gold {
    color: var(--gold);
}

.text-burgundy {
    color: var(--burgundy);
}

.bg-dark {
    background: var(--primary);
}

.bg-cream {
    background: var(--cream);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature:nth-child(2) {
        border-left: 0;
    }

    .feature:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --header-height: 70px;
    }

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 60px 15px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    /* Header */

    .header-container {
        width: calc(100% - 30px);
    }

    .main-nav {
        display: none;
    }

    .header-actions .header-icon:first-child {
        display: none;
    }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        z-index: 9999;
        padding: 18px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 11px 0;
        border-bottom: 1px solid var(--border);
        color: var(--text);
    }

    .mobile-menu a:last-child {
        border-bottom: 0;
    }

    /* Hero */

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 15px;
    }

    /* Categories */

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category-card {
        min-height: 280px;
    }

    .category-overlay {
        padding: 50px 14px 15px;
    }

    .category-overlay h3 {
        font-size: 20px;
    }

    /* Products */

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 17px;
    }

    .product-price {
        font-size: 14px;
    }

    /* Promo */

    .promo-container,
    .about-highlight-container {
        grid-template-columns: 1fr;
    }

    .promo-image,
    .about-highlight-image {
        min-height: 350px;
    }

    .promo-content,
    .about-highlight-content {
        padding: 40px 25px;
    }

    .promo-content h2,
    .about-highlight-content h2 {
        font-size: 35px;
    }

    /* Features */

    .features-container {
        width: calc(100% - 30px);
    }

    .feature {
        padding: 25px 12px;
    }

    /* Newsletter */

    .newsletter-container {
        width: calc(100% - 30px);
        padding: 50px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter form {
        width: 100%;
    }

    /* Footer */

    .footer-container {
        width: calc(100% - 30px);
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        width: calc(100% - 30px);
    }

    /* Page Hero */

    .page-hero {
        min-height: 250px;
    }

    .page-hero-content {
        width: calc(100% - 30px);
    }

    .page-hero h1 {
        font-size: 38px;
    }

    /* Shop */

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filters {
        display: none;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    #productSearch {
        width: 100%;
    }

    /* Product */

    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-details h1 {
        font-size: 34px;
    }

    /* Cart */

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 75px 1fr;
        gap: 12px;
    }

    .cart-item-image {
        width: 75px;
        height: 95px;
    }

    .cart-item-actions {
        grid-column: 2;
    }

    /* Checkout */

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .about-intro {
        padding: 60px 15px;
    }

    .values-grid {
        width: calc(100% - 30px);
        grid-template-columns: 1fr;
    }

    /* FAQ */

    .faq-grid {
        width: calc(100% - 30px);
        grid-template-columns: 1fr;
    }

    .contact-cta-container {
        padding: 40px 20px;
    }

    .contact-cta h2 {
        font-size: 30px;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .logo {
        font-size: 23px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-icon,
    .menu-button {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 360px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-badge {
        top: 8px;
        right: 8px;
    }

    .wishlist-button {
        top: 8px;
        left: 8px;
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .promo-image,
    .about-highlight-image {
        min-height: 280px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .contact-form-container,
    .checkout-section {
        padding: 20px;
    }

    .cart-item {
        grid-template-columns: 65px 1fr;
    }

    .cart-item-image {
        width: 65px;
        height: 85px;
    }
}