/* 
    ZAWQ CEYLON - Premium E-Commerce Stylesheet
    Colors: Deep Oud, Burnished Gold, Aged Ivory
    Fonts: Cormorant Garamond, Playfair Display, DM Sans
*/

:root {
    --color-deep-oud: #1C1008;
    --color-deep-oud-90: #2A1C12;
    --color-deep-oud-10: rgba(28, 16, 8, 0.06);
    --color-gold: #C9A050;
    --color-gold-light: #D4B76A;
    --color-gold-dark: #A8843E;
    --color-ivory: #F5EDD8;
    --color-ivory-warm: #F9F3E6;
    --color-ivory-cool: #F0E8D4;
    --color-amber: #C4956A;
    --color-rose: #7A2535;
    --color-rose-soft: #9A3A4D;
    --color-taupe: #7A6A5A;
    --color-white: #FFFFFF;
    --color-cream: #FFFDF7;

    --font-display: 'Playfair Display', serif;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-arabic: 'Noto Naskh Arabic', serif;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-soft: 0 2px 8px rgba(28, 16, 8, 0.04), 0 8px 24px rgba(28, 16, 8, 0.06);
    --shadow-hover: 0 4px 12px rgba(28, 16, 8, 0.06), 0 16px 48px rgba(201, 160, 80, 0.10);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-deep-oud);
    background-color: var(--color-cream);
    line-height: 1.75;
    overflow-x: hidden;
}

.bg-ivory {
    background-color: var(--color-ivory);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-deep-oud);
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-amber);
    display: block;
    margin-bottom: 0.5rem;
}

.arabic-subtitle {
    font-family: var(--font-arabic);
    font-size: 0.9rem;
    color: var(--color-gold);
    display: block;
    margin-top: 0.2rem;
}

.arabic-accent {
    font-family: var(--font-arabic);
    color: var(--color-gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0;
}

.btn:active::after {
    width: 200%;
    height: 200%;
    opacity: 1;
    transition: 0s;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-deep-oud);
}

.btn-primary:hover {
    background-color: var(--color-ivory);
    color: var(--color-deep-oud);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    letter-spacing: 2.5px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 0.85rem 2.5rem;
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-deep-oud);
}

.dark-btn {
    border-color: var(--color-deep-oud);
    color: var(--color-deep-oud);
}

.dark-btn:hover {
    background-color: var(--color-deep-oud);
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled,
.navbar.dark-nav {
    background-color: var(--color-deep-oud);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-align: center;
}

.brand-logo h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--color-white);
    margin-bottom: 0;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .brand-logo h1 {
    font-size: 1.4rem;
}

.brand-logo h2 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--color-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.menu-toggle path {
    transform-origin: center;
    transition-property: all;
    transition-duration: 300ms;
}

.menu-toggle .line-top {
    transform: translateY(-7px);
    transition-timing-function: cubic-bezier(.5, .85, .25, 1.1);
}

.menu-toggle .line-mid {
    transition-timing-function: cubic-bezier(.5, .85, .25, 1.8);
}

.menu-toggle .line-bot {
    transform: translateY(7px);
    transition-timing-function: cubic-bezier(.5, .85, .25, 1.1);
}

.menu-toggle[aria-expanded="true"] .line-top {
    transform: translate(0, 0) rotate(315deg);
}

.menu-toggle[aria-expanded="true"] .line-mid {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .line-bot {
    transform: translate(0, 0) rotate(135deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-deep-oud);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem;
    transition: var(--transition-smooth);
    z-index: 999;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav a {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 16, 8, 0.7), rgba(28, 16, 8, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: 680px;
}

.hero-content .display-title {
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 2.5rem;
    color: var(--color-ivory);
    font-style: italic;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Trust Signals */
.trust-signals {
    background-color: var(--color-deep-oud);
    padding: 2rem 0;
    color: var(--color-gold);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.trust-item i {
    font-size: 1.3rem;
}

/* Categories */
.title-separator {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 1rem auto 2.5rem;
}

.dark-separator {
    background-color: var(--color-deep-oud);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    border-radius: 0;
    overflow: hidden;
    color: var(--color-white);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 16, 8, 0.2);
    transition: var(--transition-smooth);
}

.category-card:hover::before {
    background: rgba(28, 16, 8, 0.6);
}

.category-content {
    position: relative;
    z-index: 10;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.category-card:hover .category-content {
    transform: translateY(0);
}

.category-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category-content span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    opacity: 0;
    transition: var(--transition-smooth);
}

.category-card:hover .category-content span {
    opacity: 1;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-cream);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: var(--color-ivory);
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.product-badges .product-badge {
    position: relative;
    top: auto;
    left: auto;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-gold);
    color: var(--color-deep-oud);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.75rem;
    color: var(--color-taupe);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-deep-oud);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-taupe);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.product-compare-price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-taupe);
    text-decoration: line-through;
    opacity: 0.7;
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-deep-oud);
}

.product-size {
    font-size: 0.85rem;
    color: var(--color-taupe);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Shop Layout */
.page-header {
    padding: 10rem 0 5rem;
    background-color: var(--color-deep-oud);
    background-image: linear-gradient(to bottom, rgba(28, 16, 8, 0.7), rgba(28, 16, 8, 0.4)), url('../images/header_shop.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.page-header.about-header {
    background-image: linear-gradient(to bottom, rgba(28, 16, 8, 0.7), rgba(28, 16, 8, 0.4)), url('../images/header_about.png');
}

.page-header.policy-header {
    background-image: linear-gradient(to bottom, rgba(28, 16, 8, 0.7), rgba(28, 16, 8, 0.4)), url('../images/header_policy.png');
}

.page-header p {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
}

.shop-layout {
    display: flex;
    gap: 3rem;
}

.shop-filters {
    flex: 0 0 250px;
}

.filter-group {
    margin-bottom: 2.5rem;
}

.filter-group h4 {
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-list li {
    margin-bottom: 0.8rem;
}

.filter-list a {
    color: var(--color-taupe);
    font-size: 0.95rem;
}

.filter-list a:hover,
.filter-list a.active {
    color: var(--color-gold);
    font-weight: 500;
}

/* Advanced Filters UI */
.search-box {
    position: relative;
    width: 100%;
}

.search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-taupe);
    opacity: 0.7;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid rgba(28, 16, 8, 0.1);
    border-radius: 4px;
    background: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-deep-oud);
    transition: var(--transition-smooth);
    outline: none;
}

.search-box input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(201, 160, 80, 0.2);
}

.stock-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-taupe);
}

.radio-label input {
    accent-color: var(--color-gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-label:hover {
    color: var(--color-deep-oud);
}

.price-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-filters input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(28, 16, 8, 0.1);
    border-radius: 4px;
    background: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-deep-oud);
    outline: none;
    transition: var(--transition-smooth);
}

.price-filters input:focus {
    border-color: var(--color-gold);
}

/* Out of Stock product card variant */
.product-card.out-of-stock {
    background: var(--color-ivory);
}

.product-img.grayscale-img {
    filter: grayscale(100%);
    opacity: 0.8;
}

.product-card.out-of-stock .product-title {
    color: var(--color-taupe);
}

.shop-main {
    flex: 1;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background: var(--color-cream);
    border: 1px solid rgba(28, 16, 8, 0.1);
    color: var(--color-deep-oud);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.mobile-filter-toggle:hover {
    background: var(--color-ivory);
    border-color: var(--color-gold);
}

/* Story & Policies */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-taupe);
}

.text-content h3 {
    color: var(--color-deep-oud);
    font-size: 1.8rem;
}

.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 4rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    color: var(--color-gold);
}

.story-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    text-align: center;
    color: var(--color-gold);
    margin: 3rem 0;
    padding: 2rem;
    border-top: 1px solid rgba(201, 160, 80, 0.3);
    border-bottom: 1px solid rgba(201, 160, 80, 0.3);
}

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Spinner */
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(201, 160, 80, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-gold);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

.dark-spinner {
    border: 3px solid rgba(28, 16, 8, 0.1);
    border-top-color: var(--color-deep-oud);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

/* Social */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ig-post {
    aspect-ratio: 1;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.ig-post:nth-child(1) {
    background-image: url('../images/ig_post_1.png');
}

.ig-post:nth-child(2) {
    background-image: url('../images/ig_post_2.png');
}

.ig-post:nth-child(3) {
    background-image: url('../images/ig_post_3.png');
}

.ig-post:nth-child(4) {
    background-image: url('../images/ig_post_4.png');
}

/* Footer */
.footer {
    background-color: var(--color-deep-oud);
    color: var(--color-white);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--color-gold);
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-deep-oud);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shop-layout {
        flex-direction: column;
    }

    .filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .filter-list li {
        margin-bottom: 0;
    }

    .stock-filters {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .shop-filters {
        display: none;
        margin-bottom: 1rem;
    }

    .shop-filters.show-filters {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 3rem;
}

.pagination.hidden {
    display: none;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-deep-oud);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.page-btn:hover:not(:disabled) {
    background: rgba(28, 16, 8, 0.05);
}

.page-btn.active {
    border-color: var(--color-gold);
    background: var(--color-ivory);
    color: var(--color-deep-oud);
    font-weight: 600;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-taupe);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .menu-toggle {
        display: block;
    }

    .display-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust-grid {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Shop Page: 2 per row */
    #shop-products-container.product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }


    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-badges {
        top: 0.5rem;
        left: 0.5rem;
        transform: scale(0.85);
        transform-origin: top left;
    }
    
    .product-card .btn-block {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .product-card .btn-block svg {
        width: 14px;
        height: 14px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .testimonial-card {
        flex: 0 0 calc(85% - 1rem);
        min-width: calc(85% - 1rem);
    }
}

/* Cart Styles */
.btn-icon {
    background: transparent;
    color: var(--color-white);
    border: none;
    font-size: 1.3rem;
    position: relative;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--color-gold);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-rose);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge.pop {
    animation: badge-pop 0.3s ease-out;
}

@keyframes badge-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* Toast Notification */
.cart-toast {
    position: fixed;
    bottom: -100px;
    right: 20px;
    background: var(--color-deep-oud);
    color: var(--color-gold);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 2000;
    display: flex;
    align-items: center;
    transition: var(--transition-spring);
    font-family: var(--font-body);
}

.cart-toast.show {
    bottom: 20px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 16, 8, 0.7);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--color-cream);
    z-index: 10001;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: var(--transition-spring);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(28, 16, 8, 0.1);
}

.cart-header h3 {
    margin-bottom: 0;
    font-family: var(--font-heading);
    color: var(--color-deep-oud);
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-deep-oud);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-cart:hover {
    color: var(--color-rose);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    color: var(--color-taupe);
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(28, 16, 8, 0.05);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-deep-oud);
    margin-bottom: 0.2rem;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-taupe);
    margin-bottom: 0.5rem;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.qty-btn {
    background: transparent;
    border: 1px solid rgba(28, 16, 8, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    color: var(--color-deep-oud);
}

.qty-btn:hover {
    background: var(--color-deep-oud);
    color: var(--color-white);
}

.cart-footer {
    padding: 1.5rem;
    background: var(--color-white);
    border-top: 1px solid rgba(28, 16, 8, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-deep-oud);
    margin-bottom: 1.5rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Checkout Page Styles */
.checkout-page {
    background-color: #000;
    color: #fff;
}

.checkout-container {
    display: flex;
    min-height: 100vh;
}

.checkout-main {
    flex: 1;
    padding: 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.checkout-sidebar {
    width: 400px;
    background-color: #111;
    border-left: 1px solid #333;
    padding: 2rem;
}

.checkout-logo-desktop {
    margin-bottom: 2rem;
}

.checkout-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    letter-spacing: 2px;
}

.checkout-header-mobile {
    display: none;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.checkout-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.checkout-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.checkout-input:focus {
    border-color: var(--color-gold);
    background-color: rgba(255,255,255,0.08);
    outline: none;
    box-shadow: 0 0 0 1px var(--color-gold);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--color-gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.95rem;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.return-link {
    color: var(--color-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.return-link:hover {
    color: var(--color-white);
}

.checkout-submit-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.checkout-footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* Sidebar Summary */
.checkout-items {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.checkout-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.checkout-item-img-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    background: #222;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.checkout-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.checkout-item-size {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.checkout-item-price {
    font-weight: 500;
    font-size: 0.95rem;
}

.checkout-totals {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.totals-row.grand-total {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    align-items: center;
}

.currency-code {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-right: 0.3rem;
    font-weight: 400;
}

@media (max-width: 900px) {
    .checkout-container {
        flex-direction: column;
    }
    
    .checkout-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 2rem 1.5rem;
    }
    
    .checkout-main {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .checkout-logo-desktop {
        display: none;
    }

    .checkout-header-mobile {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        margin-bottom: 1rem;
    }

    .checkout-actions {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .checkout-submit-btn {
        width: 100%;
    }
}

/* Home Page Sections: Horizontal scrolling (Global - Desktop 3 per row) */
.featured-products .product-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-products .product-grid::-webkit-scrollbar {
    display: none;
}

.featured-products .product-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    scroll-snap-align: start;
    min-width: calc(33.333% - 1.34rem);
}



/* Carousel Arrows */
.carousel-nav-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    color: var(--color-deep-oud);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.carousel-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.carousel-btn.hidden {
    opacity: 0.3;
    pointer-events: none;
}



/* Testimonial Slider */
.testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    text-align: left;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: calc(33.333% - 1.34rem);
    scroll-snap-align: start;
    padding: 2rem;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

/* Responsive Overrides for Carousels (placed at the bottom to ensure correct specificity) */
@media (max-width: 768px) {
    .featured-products .product-grid {
        gap: 1rem;
    }
    .featured-products .product-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }
    .testimonial-grid {
        gap: 1rem;
    }
    .testimonial-card {
        flex: 0 0 calc(85% - 0.5rem);
        min-width: calc(85% - 0.5rem);
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .featured-products .product-card {
        flex: 0 0 calc(85% - 0.5rem);
        min-width: calc(85% - 0.5rem);
    }
}