/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

:root {
    --ink: #20261f;
    --pine: #1f2a24;
    --pine-2: #283a30;
    --paper: #f1ecdf;
    --paper-2: #e7e0cf;
    --gold: #c88a2c;
    --gold-2: #e0a23f;
    --rust: #a63d2f;
    --sage: #7c8577;
    --line: #d8cfb8;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(31,42,36,.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Cairo',sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'El Messiri',serif;
    margin: 0;
    color: var(--pine);
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: .14em;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .eyebrow::before {
        content: "";
        width: 22px;
        height: 1.5px;
        background: var(--gold);
        display: inline-block;
    }

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2.5px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- HEADER ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--pine);
    color: var(--paper);
    border-bottom: 1px solid rgba(241,236,223,.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1180px;
    margin: 0 auto;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'El Messiri', serif;
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--paper);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

    .logo:hover {
        opacity: 0.95;
        color: var(--gold);
    }

    .logo img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--gold);
        box-shadow: 0 3px 10px rgba(200, 138, 44, 0.3);
        transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
        background-color: #ffffff;
        flex-shrink: 0;
    }

    .logo:hover img {
        transform: rotate(6deg) scale(1.06);
        border-color: var(--gold-2);
        box-shadow: 0 5px 15px rgba(224, 162, 63, 0.45);
    }

    .logo span {
        letter-spacing: 0.5px;
        line-height: 1;
    }

    .logo .mark {
        width: 32px;
        height: 32px;
        color: var(--gold);
    }

nav.main-nav ul {
    display: flex;
    gap: 28px;
}

nav.main-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--paper);
    opacity: .85;
    position: relative;
    padding: 4px 0;
}

    nav.main-nav a:hover {
        opacity: 1;
    }

    nav.main-nav a::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -3px;
        height: 2px;
        width: 0;
        background: var(--gold);
        transition: width .25s ease;
    }

    nav.main-nav a:hover::after {
        width: 100%;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    background: transparent;
    border: 1px solid rgba(241,236,223,.25);
    color: var(--paper);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .2s, border-color .2s, transform .2s;
}

    .icon-btn:hover {
        background: rgba(241,236,223,.1);
        border-color: var(--gold);
    }

    .icon-btn svg {
        width: 19px;
        height: 19px;
    }

.cart-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--gold);
    color: var(--pine);
    font-size: .68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.burger {
    display: none;
}

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--gold);
    color: var(--pine);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 48px;
    padding: 9px 0;
    animation: scroll-left 22s linear infinite;
}

    .marquee-track span {
        font-size: .82rem;
        font-weight: 600;
        letter-spacing: .02em;
    }

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- HERO ---------- */
.hero {
    background: radial-gradient(ellipse at 30% 20%, var(--pine-2), var(--pine) 65%);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    color: var(--paper);
    font-size: 3.2rem;
    line-height: 1.15;
    margin: 14px 0 18px;
    font-weight: 700;
}

    .hero h1 em {
        font-style: normal;
        color: var(--gold-2);
    }

.hero p {
    color: rgba(241,236,223,.75);
    font-size: 1.05rem;
    max-width: 460px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--pine);
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    transition: transform .2s, background .2s, opacity .2s;
    cursor: pointer;
}

    .btn:hover {
        background: var(--gold-2);
        transform: translateY(-2px);
    }

    .btn:disabled {
        cursor: not-allowed;
        opacity: 0.6;
        transform: none;
    }

        .btn:disabled:hover {
            background: var(--gold);
            transform: none;
        }

    .btn.ghost {
        
        border: 1.5px solid rgba(241,236,223,.4);
    }

        .btn.ghost:hover {
            border-color: var(--gold);

        }

        .btn.ghost:disabled {
            opacity: 0.5;
            border-color: rgba(241,236,223,.2);
        }

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hanger-rod {
    position: absolute;
    top: 6%;
    width: 78%;
    height: 3px;
    background: rgba(241,236,223,.25);
    border-radius: 3px;
}

.hanging {
    animation: sway 5.5s ease-in-out infinite;
    transform-origin: top center;
    color: var(--gold-2);
    width: 220px;
    filter: drop-shadow(0 18px 22px rgba(0,0,0,.35));
}

@keyframes sway {
    0%,100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

/* ---------- FILTERS ---------- */
.section {
    padding: 64px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    background: transparent;
    border: 1.5px solid var(--line);
    color: var(--ink);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s;
}

    .chip:hover {
        border-color: var(--gold);
    }

    .chip.active {
        background: var(--pine);
        border-color: var(--pine);
        color: var(--paper);
    }

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    min-width: 220px;
}

    .search-box input {
        border: none;
        outline: none;
        background: transparent;
        font-family: inherit;
        font-size: .9rem;
        width: 100%;
        color: var(--ink);
    }

    .search-box svg {
        width: 16px;
        height: 16px;
        color: var(--sage);
        flex-shrink: 0;
    }

/* ---------- PRODUCT GRID ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px -6px rgba(31,42,36,.2);
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}

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

.card-media {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .card-media svg {
        width: 56%;
        height: 56%;
    }

.tag-fold {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 46px solid var(--rust);
    border-left: 46px solid transparent;
}

    .tag-fold span {
        position: absolute;
        top: -40px;
        left: 2px;
        color: #fff;
        font-size: .62rem;
        font-weight: 700;
        transform: rotate(-45deg);
    }

.card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-cat {
    font-size: .72rem;
    color: var(--sage);
    font-weight: 600;
    letter-spacing: .04em;
}

.card-name {
    font-family: 'El Messiri',serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--pine);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.05rem;
}

.price-old {
    font-size: .85rem;
    color: var(--sage);
    text-decoration: line-through;
}

.size-row {
    display: flex;
    gap: 6px;
    margin: 6px 0 4px;
    flex-wrap: wrap;
}

.size-chip {
    border: 1.3px solid var(--line);
    background: transparent;
    color: var(--ink);
    width: 32px;
    height: 30px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
}

    .size-chip:hover {
        border-color: var(--gold);
    }

    .size-chip.selected {
        background: var(--pine);
        color: var(--paper);
        border-color: var(--pine);
    }

.add-btn {
    margin-top: auto;
    background: var(--pine);
    color: var(--paper);
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-weight: 700;
    font-size: .88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s;
}

    .add-btn:hover {
        background: var(--gold);
        color: var(--pine);
    }

    .add-btn svg {
        width: 16px;
        height: 16px;
    }

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--sage);
}

/* ---------- SVG duotone backgrounds per category ---------- */
.cat-men {
    background: linear-gradient(155deg,#e4e9e0,#cfd9c9);
    color: var(--pine);
}

.cat-women {
    background: linear-gradient(155deg,#f0ded6,#e3c2b6);
    color: var(--rust);
}

.cat-accessories {
    background: linear-gradient(155deg,#f4e6c8,#ecd39c);
    color: #8a5f16;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.newsletter-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter h2 {
    font-size: 1.7rem;
}

.newsletter p {
    color: var(--sage);
    margin-top: 6px;
    max-width: 380px;
}

.news-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .news-form input {
        border: 1.5px solid var(--line);
        background: #fff;
        border-radius: 999px;
        padding: 13px 20px;
        font-family: inherit;
        min-width: 240px;
        outline: none;
        font-size: .9rem;
    }

        .news-form input:focus {
            border-color: var(--gold);
        }

/* ---------- FOOTER ---------- */
footer.site {
    background: var(--pine);
    color: rgba(241,236,223,.75);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(241,236,223,.1);
}

    .footer-grid h3 {
        color: var(--paper);
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .footer-grid h4 {
        color: var(--paper);
        font-size: .85rem;
        margin-bottom: 14px;
        letter-spacing: .04em;
    }

    .footer-grid ul li {
        margin-bottom: 10px;
        font-size: .88rem;
    }

        .footer-grid ul li a:hover {
            color: var(--gold-2);
        }

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

    .social-row a {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(241,236,223,.25);
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color .2s;
    }

        .social-row a:hover {
            border-color: var(--gold);
        }

    .social-row svg {
        width: 15px;
        height: 15px;
    }

.foot-bottom {
    max-width: 1180px;
    margin: 20px auto 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- CART DRAWER ---------- */
/* ---------- CART DRAWER PREMIUM REDESIGN ---------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 16, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 80;
    backdrop-filter: blur(4px);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(440px, 94vw);
    background: linear-gradient(180deg, #fdfbf7 0%, #f4eee2 100%);
    z-index: 90;
    transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 25px 0 50px rgba(15, 20, 16, 0.35);
    border-right: 1px solid rgba(216, 207, 184, 0.5);
}

    .cart-drawer.open {
        transform: translateX(0);
    }

.cart-head {
    padding: 20px 24px;
    background: var(--pine);
    color: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

    .cart-head h2 {
        font-family: 'El Messiri', serif;
        font-size: 1.45rem;
        font-weight: 700;
        color: var(--paper);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cart-head .cart-title-count {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gold-2);
        background: rgba(200, 138, 44, 0.2);
        padding: 2px 10px;
        border-radius: 999px;
    }

.close-btn {
    background: rgba(241, 236, 223, 0.12);
    border: 1px solid rgba(241, 236, 223, 0.2);
    color: var(--paper);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

    .close-btn:hover {
        background: var(--gold);
        color: var(--pine);
        border-color: var(--gold);
        transform: rotate(90deg);
    }

    .close-btn svg {
        width: 18px;
        height: 18px;
    }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

/* ---------- CART EMPTY STATE ---------- */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}

.cart-empty-icon-wrap {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(200, 138, 44, 0.18) 0%, rgba(200, 138, 44, 0.03) 70%);
    border: 2px dashed var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: floatEmpty 3s ease-in-out infinite;
}

@keyframes floatEmpty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.cart-empty svg {
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.cart-empty-title {
    font-family: 'El Messiri', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pine);
    margin: 0 0 8px;
}

.cart-empty-text {
    font-size: 0.92rem;
    color: var(--sage);
    margin: 0 0 24px;
    max-width: 260px;
    line-height: 1.5;
}

.cart-empty-btn {
    background: var(--pine);
    color: var(--paper);
    border: 1.5px solid var(--pine);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 42, 36, 0.2);
    cursor: pointer;
}

    .cart-empty-btn:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--pine);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(200, 138, 44, 0.35);
    }

/* ---------- CART ITEM ---------- */
.cart-item {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(216, 207, 184, 0.6);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(31, 42, 36, 0.04);
    transition: all 0.25s ease;
    position: relative;
}

    .cart-item:hover {
        border-color: var(--gold);
        box-shadow: 0 6px 18px rgba(31, 42, 36, 0.08);
        transform: translateY(-2px);
    }

    .cart-item .thumb {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

        .cart-item .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-item .thumb svg {
            width: 55%;
            height: 55%;
        }

.ci-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ci-name {
    font-family: 'El Messiri', serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--pine);
    line-height: 1.3;
}

.ci-meta {
    font-size: 0.8rem;
    color: var(--sage);
    font-weight: 500;
    margin-top: 2px;
}

.ci-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 6px;
}

    .qty-ctrl button {
        background: transparent;
        border: none;
        width: 24px;
        height: 24px;
        font-weight: 700;
        color: var(--pine);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

        .qty-ctrl button:hover {
            background: #ffffff;
            color: var(--gold-2);
        }

    .qty-ctrl span {
        font-size: 0.88rem;
        font-weight: 700;
        min-width: 18px;
        text-align: center;
        color: var(--pine);
    }

.ci-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.98rem;
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--rust);
    opacity: 0.7;
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

    .remove-btn:hover {
        opacity: 1;
        background: rgba(166, 61, 47, 0.08);
    }

/* ---------- CART FOOTER ---------- */
.cart-foot {
    padding: 20px 24px 24px;
    background: #ffffff;
    border-top: 1.5px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
}

.sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--sage);
    margin-bottom: 8px;
    font-weight: 500;
}

    .sum-row.total {
        color: var(--pine);
        font-weight: 700;
        font-size: 1.15rem;
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px dashed var(--line);
    }

    .sum-row.total span:last-child {
        color: var(--gold);
        font-size: 1.25rem;
    }

.checkout-btn {
    width: 100%;
    margin-top: 16px;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pine) 0%, var(--pine-2) 100%);
    color: var(--paper);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 6px 20px rgba(31, 42, 36, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

    .checkout-btn:hover {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
        color: var(--pine);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 138, 44, 0.35);
    }

.card-media {
    position: relative;
    overflow: hidden;
}

.product-carousel {
    width: 100%;
    height: 100%;
}

    .product-carousel .carousel-inner,
    .product-carousel .carousel-item {
        width: 100%;
        height: 100%;
    }

        .product-carousel .carousel-item img,
        .product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .product-carousel .carousel-control-prev,
    .product-carousel .carousel-control-next {
        width: 40px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

.card-media:hover .carousel-control-prev,
.card-media:hover .carousel-control-next {
    opacity: 1;
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,26,20,.55);
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal-overlay.show {
        display: flex;
    }

.modal-box {
    background: var(--paper);
    border-radius: 18px;
    max-width: 420px;
    width: 100%;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,.3);
}

    .modal-box .check-circle {
        width: 64px;
        height: 64px;
        border-radius: 999px;
        background: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 18px;
        color: var(--pine);
    }

        .modal-box .check-circle svg {
            width: 30px;
            height: 30px;
        }

    .modal-box h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .modal-box p {
        color: var(--sage);
        font-size: .92rem;
        margin-bottom: 24px;
    }

/* Modal Form Styles */
.modal-stage {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-order-items {
    background: var(--pine-2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: right;
}

    .modal-order-items h4 {
        color: black;
        font-size: 1.2rem;
        margin-bottom: 12px;
        font-family: 'El Messiri', serif;
    }

#modalOrderList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    background: var(--paper);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-right: 3px solid var(--gold);
}

    .order-item .oi-name {
        font-weight: 600;
        color: var(--ink);
        flex: 1;
        min-width: 150px;
    }

    .order-item .oi-meta {
        font-size: .85rem;
        color: var(--sage);
        flex: 1;
        min-width: 150px;
    }

    .order-item .oi-price {
        font-weight: 700;
        color: var(--gold);
        min-width: 100px;
        text-align: left;
    }

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .modal-form .form-group {
        display: flex;
        flex-direction: column;
        text-align: right;
    }

    .modal-form label {
        font-weight: 600;
        font-size: .9rem;
        color: var(--ink);
        margin-bottom: 6px;
    }

    .modal-form input,
    .modal-form textarea {
        padding: 10px 12px;
        border: 1.5px solid var(--line);
        border-radius: 8px;
        font-family: inherit;
        font-size: .9rem;
        color: var(--ink);
        background: white;
        text-align: right;
        direction: rtl;
    }

    .modal-form input:focus,
    .modal-form textarea:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(200, 138, 44, 0.1);
    }

    .modal-form textarea {
        resize: vertical;
        min-height: 80px;
    }

.modal-total {
    background: var(--pine-2);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--ink);
    margin: 8px 0 16px 0;
}

    .modal-total span:last-child {
        color: var(--gold);
        font-size: 1.1rem;
    }

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

    .modal-actions button {
        flex: 1;
    }

/* ---------- TOAST ---------- */
.toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.toast {
    background: var(--pine);
    color: var(--paper);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    animation: toast-in .35s ease, toast-out .35s ease 2.3s forwards;
}

    .toast svg {
        width: 16px;
        height: 16px;
        color: var(--gold-2);
        flex-shrink: 0;
    }

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px) {
    .grid {
        grid-template-columns: repeat(3,1fr);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

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

@media (max-width:720px) {
    nav.main-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: 72vw;
        background: var(--pine);
        padding: 90px 26px 26px;
        transform: translateX(105%);
        transition: transform .3s ease;
        z-index: 70;
    }

        nav.main-nav.open {
            transform: translateX(0);
        }

        nav.main-nav ul {
            flex-direction: column;
            gap: 22px;
        }

    .burger {
        display: flex;
    }

    .grid {
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

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

/* =========================================================
   PRODUCT DETAILS & GALLERY STYLES
========================================================= */
.badge-discount-float {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--rust, #a63d2f);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(166, 61, 47, 0.35);
}

.thumb-box {
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumb-box:hover,
.thumb-box.active-thumb {
    opacity: 1;
    border-color: var(--pine, #1f2a24) !important;
    transform: scale(1.04);
}

.size-btn-detail.active {
    background-color: var(--pine, #1f2a24) !important;
    border-color: var(--pine, #1f2a24) !important;
    color: #fff !important;
}

.product-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(31, 42, 36, 0.18) !important;
}

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

