/**
 * Main Stylesheet
 * Bakr & Khattab E-Commerce
 * 
 * @author Rizki Maulana
 * @year 2026
 * @description Complete styling matching exact design specifications with Neue Montreal font
 */

/* ============================================================
   Font Face - Neue Montreal (Local)
   Place your font files in assets/fonts/ directory
   ============================================================ */
@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/NeueMontreal-Light.woff2') format('woff2'),
         url('../fonts/NeueMontreal-Light.woff') format('woff'),
         url('../fonts/NeueMontreal-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/NeueMontreal-Regular.woff2') format('woff2'),
         url('../fonts/NeueMontreal-Regular.woff') format('woff'),
         url('../fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/NeueMontreal-Medium.woff2') format('woff2'),
         url('../fonts/NeueMontreal-Medium.woff') format('woff'),
         url('../fonts/NeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/NeueMontreal-Bold.woff2') format('woff2'),
         url('../fonts/NeueMontreal-Bold.woff') format('woff'),
         url('../fonts/NeueMontreal-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    /* Brand Colors */
    --color-burgundy: #541622;
    --color-olive: #59663D;
    --color-navy: #143552;
    --color-brown: #4F3D25;
    --color-cream: #DBD4C6;
    
    /* Extended Palette */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray: #9A9A9A;
    --color-gray-dark: #5A5A5A;
    
    /* Typography */
    --font-primary: 'Neue Montreal', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
    
    /* Layout */
    --container-max: 1440px;
    --header-height: 60px;
    --announcement-height: 32px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Announcement Bar
   ============================================================ */
.announcement-bar {
    background-color: var(--color-navy);
    color: var(--color-white);
    text-align: center;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    overflow: hidden;
    position: relative;
}

.announcement-bar-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 5s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.announcement-bar:hover .announcement-bar-content {
    animation-play-state: paused;
}

.announcement-bar .highlight {
    font-weight: 500;
}

/* ============================================================
   Header
   ============================================================ */
.main-header {
    position: absolute;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-navy);
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    background-color: rgba(20, 53, 82, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.header-icon-btn svg {
    width: 18px;
    height: 18px;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-burgundy);
    color: var(--color-white);
    font-size: 9px;
    font-weight: 500;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    flex: 2;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-list a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 8px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-white);
    transition: width var(--transition-base);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    opacity: 1;
}

/* Brand Logo */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.brand-logo .brand-ar {
    font-family: var(--font-arabic);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-white);
    direction: rtl;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 26px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 24px 0;
}

.mobile-nav a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 480px;
    padding: 0 24px;
    position: relative;
}

.search-form {
    display: flex;
    border-bottom: 1px solid var(--color-black);
}

.search-form input {
    flex: 1;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    padding: 14px 0;
    border: none;
    outline: none;
    background: transparent;
}

.search-form input::placeholder {
    color: var(--color-gray);
}

.search-form button {
    padding: 14px;
    color: var(--color-black);
}

.search-close {
    position: absolute;
    top: -70px;
    right: 0;
    color: var(--color-black);
}

/* ============================================================
   Hero Section - Exact Design Match
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(20, 53, 82, 0.35) 0%,
        rgba(20, 53, 82, 0.2) 50%,
        rgba(79, 61, 37, 0.1) 100%
    );
    z-index: 1;
}

/* Cream gradient overlay at bottom of hero */
.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(
        to top,
        #DBD4C6 0%,
        rgba(219, 212, 198, 0.8) 30%,
        rgba(219, 212, 198, 0.4) 60%,
        transparent 100%
    );
    z-index: 2;
}

.hero-background img,
.hero-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(20, 53, 82, 0.4) 0%, rgba(20, 53, 82, 0.15) 50%, transparent 100%),
        linear-gradient(to bottom, #3a5a7a 0%, #6a8aaa 30%, #c4a87d 60%, #d4b88d 80%, #e4c8ad 100%);
}

/* Cream gradient overlay at bottom of hero */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #DBD4C6 0%, rgba(219, 212, 198, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--announcement-height) + var(--header-height) + 80px) 40px 80px;
}

.hero-brand {
    font-family: var(--font-primary);
    font-size: clamp(32px, 5vw, 92px);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 106px;
    text-transform: uppercase;
}

.hero-tagline-wrapper {
    margin-bottom: 48px;
}

.hero-tagline {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.95;
}

.hero-tagline-secondary {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 90px;
}

.hero-description {
    max-width: 800px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.85;
    opacity: 0.95;
    margin-bottom: 36px;
    color: var(--color-navy);
}

.hero-brand-ar {
    font-family: var(--font-arabic);
    font-size: 15px;
    font-weight: 400;
    opacity: 0.85;
    color: var(--color-navy);
}

/* ============================================================
   Brand Story Section - Full Background Wireframe Match
   ============================================================ */
.brand-story-section {
    position: relative;
    min-height: 480px;
    display: flex;
    overflow: hidden;
}

/* Full width background image */
.brand-story-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.brand-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-story-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #d4c4b0 0%, #c9b89d 50%, #b8a48a 100%);
}

/* Overlay text on left side of image */
.brand-story-image-overlay {
    position: absolute;
    bottom: 150px;
    left: 150px;
    z-index: 3;
    color: var(--color-white);
}

.brand-story-image-overlay .overlay-label {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 12px;
    display: block;
}

.brand-story-image-overlay .overlay-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 90px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
}

/* Right side content - positioned on top of image */
.brand-story-content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 60px 60px 130px;
}

.brand-story-text {
    font-size: 23px;
    font-weight: 300;
    line-height: 2;
    color: var(--color-white);
    margin-bottom: 32px;
    max-width: 500px;
    letter-spacing: 0.1em;
}

.brand-story-btn {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 13px 24px;
    border: 1px solid var(--color-white);
    transition: all var(--transition-base);
}

.brand-story-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    opacity: 1;
}

/* ============================================================
   Products Section - Wireframe Match
   ============================================================ */
.products-section {
    background-color: var(--color-cream);
}

/* Product cards grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

/* Background image for each product */
.product-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.product-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card:hover .product-card-bg {
    transform: scale(1.03);
}

/* Fallback colors if no background image */
.product-card[data-theme="olive"] .product-card-bg { background-color: var(--color-olive); }
.product-card[data-theme="navy"] .product-card-bg { background-color: var(--color-navy); }
.product-card[data-theme="burgundy"] .product-card-bg { background-color: var(--color-burgundy); }

.product-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    color: var(--color-white);
}

/* Product name at top */
.product-card-label {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 1;
}

/* Bottle image centered */
.product-card-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.product-card-image img {
    max-height: 220px;
    width: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-base);
}

.product-card:hover .product-card-image img {
    transform: translateY(-8px);
}

/* Link overlay */
.product-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Hide footer inside card (we'll show names in separate row) */
.product-card-footer {
    display: none;
}

/* ============================================================
   Product Names Row - Below Product Cards
   ============================================================ */
.products-names-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--color-cream);
}

.product-name-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.product-name-item .name-arabic {
    font-family: var(--font-arabic);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    color: var(--color-black);
    direction: rtl;
    text-decoration: underline;
}

/* ============================================================
   Product Bottle Placeholder (if no image)
   ============================================================ */
.product-bottle-placeholder {
    width: 80px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.product-bottle-placeholder .bottle-cap {
    width: 28px;
    height: 32px;
    background: linear-gradient(135deg, #e8c874 0%, #d4a854 40%, #b8862c 100%);
    border-radius: 4px 4px 2px 2px;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
}

.product-bottle-placeholder .bottle-body {
    width: 80px;
    height: 110px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.product-bottle-placeholder .bottle-brand {
    font-family: var(--font-arabic);
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.product-bottle-placeholder .bottle-name {
    font-size: 9px;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* Logo styling */
.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.logo-fallback {
    font-family: var(--font-arabic);
    font-size: 18px;
    color: var(--color-white);
}

.footer-logo-img {
    height: 100px;
    width: 300px;
    margin-bottom: 8px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo-text .brand-ar {
    font-family: var(--font-arabic);
    font-size: 20px;
    direction: rtl;
}

.footer-logo-text .brand-en {
    font-size: 9px;
    letter-spacing: 0.12em;
    font-weight: 500;
}

/* Detail image positioning fix */
.detail-image {
    position: relative;
}

.detail-image > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.detail-image .detail-image-placeholder {
    position: relative;
    z-index: 0;
}

/* ============================================================
   Detail Section
   ============================================================ */
.detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background-color: var(--color-cream);
}

.detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 200px;
}

.detail-label {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 14px;
}

.detail-title {
    font-family: var(--font-primary);
    font-size: clamp(20px, 2.5vw, 48px);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.4;
    margin-bottom: 70px;
}

.detail-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.95;
    color: var(--color-navy);
    max-width: 440px;
}

.detail-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d4c4b0 0%, #c9b89d 100%);
}

.detail-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.detail-image-overlay {
    font-family: var(--font-arabic);
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--color-burgundy);
    opacity: 0.1;
    white-space: nowrap;
}


/* ============================================================
   Footer
   ============================================================ */
.main-footer {
    padding: 44px 0 22px;
}

.main-footer.footer-dark {
    color: var(--color-white);
}

.main-footer.footer-dark a {
    color: var(--color-white);
    opacity: 0.75;
}

.main-footer.footer-dark a:hover {
    opacity: 1;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    padding-left: 1px; /* Sesuaikan dengan padding detail-content */
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo .brand-ar {
    font-family: var(--font-arabic);
    font-size: 20px;
    direction: rtl;
}

.footer-logo .brand-en {
    font-size: 9px;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.55;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul a {
    font-size: 30px;
    font-weight: 400;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.4;
}

.copyright {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.footer-brand-ar {
    font-family: var(--font-arabic);
    font-size: 13px;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ============================================================
   Cart Sidebar
   ============================================================ */

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Container - Slides from LEFT */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Cart Header */
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-navy);
    color: var(--color-white);
}

.cart-sidebar-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-title-ar {
    font-family: var(--font-arabic);
    font-size: 18px;
    font-weight: 400;
    direction: rtl;
}

.cart-title-en {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.cart-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-white);
    transition: opacity var(--transition-fast);
}

.cart-close-btn:hover {
    opacity: 0.7;
}

/* Cart Body */
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Empty Cart State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 28px;
    text-align: center;
}

.cart-empty-icon {
    color: var(--color-gray);
    margin-bottom: 20px;
}

.cart-empty-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 8px;
}

.cart-empty-subtext {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-gray);
    margin-bottom: 28px;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-white);
    background-color: var(--color-navy);
    padding: 14px 32px;
    transition: background-color var(--transition-base);
}

.cart-empty-btn:hover {
    background-color: var(--color-burgundy);
    opacity: 1;
}

/* Cart Items List */
.cart-items-list {
    padding: 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-item-image {
    width: 80px;
    height: 100px;
    background-color: var(--color-cream);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 2px;
}

.cart-item-name-ar {
    font-family: var(--font-arabic);
    font-size: 12px;
    color: var(--color-gray);
    direction: rtl;
}

.cart-item-remove {
    color: var(--color-gray);
    padding: 4px;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-burgundy);
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    color: var(--color-gray-dark);
    transition: background-color var(--transition-fast);
}

.quantity-btn:hover {
    background-color: var(--color-cream);
}

.quantity-value {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

/* Cart Footer */
.cart-sidebar-footer {
    padding: 24px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-white);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-subtotal-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-dark);
}

.cart-subtotal-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-navy);
}

.cart-shipping-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-olive);
    margin-bottom: 20px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    transition: all var(--transition-base);
}

.cart-view-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    opacity: 1;
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-white);
    background-color: var(--color-navy);
    transition: background-color var(--transition-base);
}

.cart-checkout-btn:hover {
    background-color: var(--color-burgundy);
    opacity: 1;
}

/* Cart Notification Toast - Position Left */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-olive);
    border-radius: 50%;
}

.cart-toast-icon svg {
    width: 14px;
    height: 14px;
}

.cart-toast-message {
    font-size: 13px;
    font-weight: 400;
}

/* Body lock when cart is open */
body.cart-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
    }
    
    .cart-sidebar-header {
        padding: 20px 20px;
    }
    
    .cart-item {
        padding: 16px 20px;
    }
    
    .cart-sidebar-footer {
        padding: 20px;
    }
    
    .cart-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .brand-story-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .brand-story-image {
        position: relative;
        width: 100%;
        min-height: 400px;
    }
    
    .brand-story-content {
        width: 100%;
        margin-left: 0;
        padding: 40px 30px;
    }
    
    .brand-story-image-overlay {
        bottom: 30px;
        left: 30px;
    }
    
    .detail-section {
        grid-template-columns: 1fr;
    }
    
    .detail-image {
        min-height: 320px;
    }
    
    .detail-image-placeholder {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        aspect-ratio: 4/5;
    }
    
    .hero-content-wrapper {
        padding: calc(var(--announcement-height) + var(--header-height) + 50px) 24px 50px;
    }
    
    .hero-brand {
        letter-spacing: 0.2em;
    }
    
    .brand-story-content,
    .detail-content {
        padding: 36px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-container {
        padding: 0 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================================
   ABOUT US PAGE — EXACT MATCH
   ============================================================ */

.page-about {
    background-color: var(--color-cream);
}

/* ================= HERO ================= */

.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 140px;
    color: var(--color-white);
    overflow: hidden;
}

/* Background */
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.about-hero-placeholder {
    width: 100%;
    height: 100%;
    background: url('../img/story/story-img.png') center/cover no-repeat;
}

/* Content */
.about-hero-content {
    max-width: 720px;
}

.about-title {
    font-size: clamp(42px, 5vw, 86px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 32px;
}

.about-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    max-width: 520px;
    opacity: 0.95;
}

/* ================= NEWSLETTER ================= */

.about-newsletter {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 0 140px;
    color: var(--color-black);
    background-color: var(--color-cream);
    overflow: hidden;
}

.about-newsletter-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-newsletter-placeholder {
    width: 100%;
    height: 100%;
    background: url('../img/about/newsletter.png') center/cover no-repeat;
}

.about-newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.newsletter-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-black);
}

.newsletter-form input {
    flex: 1;
    font-family: var(--font-primary);
    font-size: 15px;
    padding: 12px 0;
    border: none;
    outline: none;
    background: transparent;
}

.newsletter-form button {
    font-size: 20px;
    padding-left: 12px;
    color: var(--color-black);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .about-hero,
    .about-newsletter {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: calc(var(--announcement-height) + var(--header-height) + 80px);
        padding-bottom: 80px;
    }

    .about-title {
        font-size: 48px;
    }

    .about-description {
        font-size: 16px;
    }

    .about-newsletter {
        min-height: 360px;
    }
}
