/* ===================================================================
   LAMIRA.ET — Islamic Abaya Boutique Theme
   -------------------------------------------------------------------
   Design tokens
   Color:
     --ink        #14110F  (near-black warm charcoal — headers/footers)
     --cocoa    #4A2F23  (primary dark accent — buttons, links, prices)
     --cocoa-2  #6B4A38  (lighter cocoa shade for hovers/gradients)
     --brand       #FED6B2  (Lamira.et brand color — primary accent, the "thread" of the site)
     --brand-deep  #DAB899  (deeper shade of brand color for hover/contrast states)
     --ivory      #F6F1E7  (page background)
     --sand       #EFE6D3  (card / panel background)
     --mauve      #9C7B85  (secondary accent — category labels, badges)
     --text       #2A2622  (body text, warm charcoal, not pure black)
   Type:
     --font-display : 'Amiri', serif      (headline / brand — Arabic-Latin serif)
     --font-body    : 'Jost', sans-serif  (body copy — geometric, quiet)
   =================================================================== */

/* Fonts are loaded via <link> tags in includes/header.php instead of @import here —
   @import inside a stylesheet is render-blocking (forces a serial fetch chain:
   style.css must fully download before the browser even discovers it needs the
   font CSS, then fetch that, then the font files). Loading via <link> in <head>
   lets the browser fetch fonts and CSS in parallel instead. */
html, body {
  overflow-x: hidden;
}

:root {
    --ink: #14110F;
    --cocoa: #4A2F23;
    --cocoa-2: #6B4A38;
    --brand: #FED6B2;
    --brand-deep: #DAB899;
    --ivory: #F6F1E7;
    --sand: #EFE6D3;
    --mauve: #9C7B85;
    --text: #2A2622;

    --font-display: 'Amiri', 'Georgia', serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--cocoa); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.2px;
}

/* ===================== Header ===================== */
.site-header {
    background: var(--ink);
    color: #fff;
    padding: 0;
    position: relative;
    border-bottom: 1px solid rgba(254, 214, 178, 0.35);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 24px;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--brand) !important;
    letter-spacing: 0.5px;
}
.logo .mark {
    position: relative;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: logo-in 0.9s cubic-bezier(.2,.7,.3,1) both;
}
.logo .mark::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 68px; height: 68px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,214,178,0.35) 0%, transparent 70%);
    animation: logo-glow 3.4s ease-in-out infinite;
    z-index: 0;
}
.logo .mark img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: lighten;
    transition: transform 0.3s ease;
}
.logo:hover .mark img { transform: scale(1.08) rotate(-2deg); }
@keyframes logo-glow {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes logo-in {
    from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.logo-text { display: flex; flex-direction: column; }
.wordmark {
    background: linear-gradient(100deg, var(--brand-deep) 0%, var(--brand) 30%, #fff 50%, var(--brand) 70%, var(--brand-deep) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand);
    animation: wordmark-shimmer 5s linear infinite;
}
@keyframes wordmark-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}
.logo .sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mauve);
    font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
    .logo .mark, .logo .mark::before, .wordmark { animation: none !important; }
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; flex-wrap: wrap; }
.main-nav a, .main-nav span {
    color: #E8E1D2;
    margin-left: 22px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}
.main-nav a { position: relative; }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1px;
    background: var(--brand);
    transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--brand); }
.nav-user { color: var(--mauve); text-transform: none; letter-spacing: 0; }

.site-header::after {
    content: "";
    display: block;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--brand) 0px, var(--brand) 6px,
        transparent 6px, transparent 10px
    );
    opacity: 0.6;
}

/* ===================== Flash messages ===================== */
.flash {
    margin: 20px 0;
    padding: 13px 18px;
    border-radius: 3px;
    font-size: 0.92rem;
    border-left: 3px solid;
}
.flash.success { background: #F3E9DC; color: #4A2F23; border-color: var(--cocoa); }
.flash.error { background: #F7E9E6; color: #7A2E22; border-color: #A34433; }
.flash.info { background: #F1EAE0; color: #6B5638; border-color: var(--brand); }

/* ===================== Page shell ===================== */
main.container { padding-top: 0; padding-bottom: 70px; min-height: 60vh; }
main.container > h1 { margin-top: 34px; }
h1 { font-size: 2rem; margin-bottom: 22px; }
h2 { font-size: 1.4rem; margin: 28px 0 14px; position: relative; }

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px 0 40px;
    color: var(--brand);
}
.divider::before, .divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    max-width: 220px;
}
.divider svg { width: 22px; height: 22px; }

/* ===================== HERO (home page) ===================== */
.hero {
    background: radial-gradient(ellipse at 50% 30%, #2E211B 0%, var(--ink) 72%);
    color: var(--ivory);
    overflow: hidden;
    padding: 0 0 50px;
    text-align: center;
    /* Full-bleed: break out of the centered .container so the hero (and its
       banner image) spans the full viewport width instead of being boxed in */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Slow crossfade slideshow — full-width banner, three photos gently dissolving into each other */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.hero-slideshow::after {
    /* subtle bottom fade so the image blends into the dark hero rather than cutting off hard */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,17,15,0) 60%, rgba(20,17,15,0.9) 100%);
    pointer-events: none;
}
.hero-text {
    padding: 32px 24px 0;
}
.hero-slideshow .slide-1 { animation-name: slide-fade-1; }
.hero-slideshow .slide-2 { animation-name: slide-fade-2; }
.hero-slideshow .slide-3 { animation-name: slide-fade-3; }

@keyframes slide-fade-1 {
    0%   { opacity: 1; }
    29%  { opacity: 1; }
    37%  { opacity: 0; }
    96%  { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes slide-fade-2 {
    0%   { opacity: 0; }
    29%  { opacity: 0; }
    37%  { opacity: 1; }
    63%  { opacity: 1; }
    71%  { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes slide-fade-3 {
    0%   { opacity: 0; }
    63%  { opacity: 0; }
    71%  { opacity: 1; }
    96%  { opacity: 1; }
    100% { opacity: 0; }
}

.slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.slide-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.slide-dots .dot-1 { animation-name: dot-fade-1; }
.slide-dots .dot-2 { animation-name: dot-fade-2; }
.slide-dots .dot-3 { animation-name: dot-fade-3; }

@keyframes dot-fade-1 {
    0%, 29%   { background: var(--brand); width: 16px; }
    37%, 96%  { background: rgba(255,255,255,0.4); width: 6px; }
    100%      { background: var(--brand); width: 16px; }
}
@keyframes dot-fade-2 {
    0%, 33%   { background: rgba(255,255,255,0.4); width: 6px; }
    37%, 63%  { background: var(--brand); width: 16px; }
    71%, 100% { background: rgba(255,255,255,0.4); width: 6px; }
}
@keyframes dot-fade-3 {
    0%, 67%   { background: rgba(255,255,255,0.4); width: 6px; }
    71%, 96%  { background: var(--brand); width: 16px; }
    100%      { background: rgba(255,255,255,0.4); width: 6px; }
}

.hero-eyebrow {
    font-family: var(--font-body);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--brand);
    opacity: 0;
    animation: fade-up 0.8s ease forwards 1.6s;
}
.hero h1 {
    color: #fff;
    font-size: 2.7rem;
    margin: 10px 0 14px;
    opacity: 0;
    animation: fade-up 0.9s ease forwards 1.85s;
}
.hero p.lede {
    max-width: 480px;
    margin: 0 auto 26px;
    color: #D8CFC0;
    font-size: 1.02rem;
    opacity: 0;
    animation: fade-up 0.9s ease forwards 2.05s;
}
.hero .btn-row {
    opacity: 0;
    animation: fade-up 0.9s ease forwards 2.25s;
}

@keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slideshow .slide, .slide-dots .dot, .hero .btn::before, .new-badge {
        animation: none !important;
    }
    .hero-slideshow .slide { opacity: 0 !important; }
    .hero-slideshow .slide-1 { opacity: 1 !important; }
    .slide-dots .dot { background: rgba(255,255,255,0.4) !important; width: 6px !important; }
    .slide-dots .dot-1 { background: var(--brand) !important; width: 16px !important; }
    .hero-eyebrow, .hero h1, .hero p.lede, .hero .btn-row { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===================== Category rail ===================== */
.category-rail {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 36px 0 8px;
}
.category-pill {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--sand);
    border: 1px solid var(--brand);
    padding: 10px 24px;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
}
.category-pill:hover, .category-pill.active {
    background: var(--cocoa);
    color: var(--brand);
}

/* ===================== Buttons ===================== */
.btn {
    display: inline-block;
    background: var(--cocoa);
    color: var(--ivory) !important;
    border: 1px solid var(--cocoa);
    padding: 11px 22px;
    border-radius: 3px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: transparent; color: var(--cocoa) !important; border-color: var(--cocoa); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--ink) !important; border-color: #cbbfa3; }
.btn.secondary:hover { background: var(--ink); color: var(--brand) !important; border-color: var(--ink); }
.btn.danger { background: transparent; color: #8a3324 !important; border-color: #8a3324; }
.btn.danger:hover { background: #8a3324; color: #fff !important; }
.btn.brand { background: var(--brand); border-color: var(--brand); color: var(--ink) !important; }
.btn.brand:hover { background: transparent; color: var(--brand) !important; }
.btn.full { width: 100%; }
.hero .btn { background: var(--brand); border-color: var(--brand); color: var(--ink) !important; margin: 0 6px; position: relative; overflow: hidden; }
.hero .btn::before {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3.2s ease-in-out infinite;
    animation-delay: 2.6s;
}
@keyframes shimmer {
    0%   { left: -60%; }
    18%  { left: 130%; }
    100% { left: 130%; }
}
.hero .btn:hover { background: transparent; color: var(--brand) !important; border-color: var(--brand); }
.hero .btn.secondary { background: transparent; color: var(--ivory) !important; border-color: rgba(246,241,231,0.4); }
.hero .btn.secondary:hover { border-color: var(--brand); color: var(--brand) !important; }

/* ===================== Forms ===================== */
.form-box {
    background: var(--sand);
    border: 1px solid #ddceac;
    border-radius: 4px;
    padding: 28px;
    max-width: 440px;
}
label { display: block; margin: 14px 0 5px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: #5c503b; }
input[type=text], input[type=email], input[type=password], input[type=number],
textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbbfa3;
    border-radius: 3px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: #fff;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
    border-color: var(--brand);
}
textarea { resize: vertical; min-height: 80px; }

/* ===================== Product grid ===================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 26px;
}
.product-card {
    background: #fff;
    border: 1px solid #E4D9BE;
    border-radius: 4px;
    padding: 0 0 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}
.product-card .new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    animation: pulse-badge 2.2s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(254, 214, 178, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(254, 214, 178, 0); }
}
.product-card:hover {
    box-shadow: 0 10px 26px rgba(20, 17, 15, 0.12);
    transform: translateY(-3px);
}
.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--sand);
    margin-bottom: 14px;
}
.product-card h3 { font-size: 1.05rem; margin: 0 12px 6px; font-weight: 700; }
.product-card .category {
    color: var(--mauve);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 12px 6px;
    font-family: var(--font-body);
}
.product-card .price {
    font-weight: 600;
    color: var(--cocoa);
    margin: 0 12px 14px;
    font-size: 1.15rem;
    font-family: var(--font-display);
}
.product-card .stock-low { color: #A34433; font-size: 0.85rem; margin: 0 12px; }
.product-card form { margin: 0 12px; }

/* ===================== Tables ===================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #E4D9BE;
    border-radius: 4px;
    overflow: hidden;
}
th, td {
    padding: 12px 14px;
    border-bottom: 1px solid #EFE6D3;
    text-align: left;
    font-size: 0.9rem;
}
th {
    background: var(--sand);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    color: #5c503b;
}
tr:last-child td { border-bottom: none; }
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table { min-width: 640px; }

/* ===================== Cart ===================== */
.cart-row { display: flex; align-items: center; gap: 14px; }
.cart-row img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; background: var(--sand); }
.qty-input { width: 70px; }
.cart-total {
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--cocoa);
    margin: 18px 0;
}

/* ===================== Product detail ===================== */
.product-detail {
    display: flex;
    gap: 34px;
    background: #fff;
    border: 1px solid #E4D9BE;
    border-radius: 4px;
    padding: 28px;
    flex-wrap: wrap;
}
.product-detail img { width: 340px; height: 400px; object-fit: cover; border-radius: 4px; background: var(--sand); }
.product-detail .info { flex: 1; min-width: 260px; }
.product-detail .category { color: var(--mauve); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.product-detail .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--cocoa); margin: 14px 0; }

/* ===================== Badges ===================== */
.badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge.pending { background: #F1E6C9; color: #7A5E1E; }
.badge.paid { background: #F1E3CC; color: #4A2F23; }
.badge.shipped { background: #DCE6EB; color: #1E3A4D; }
.badge.cancelled { background: #F3DCD8; color: #7A2E22; }
.badge.awaiting_proof { background: #EFE6D3; color: #6b6459; }
.badge.pending_review { background: #DCE6EB; color: #1E3A4D; }
.badge.approved { background: #F1E3CC; color: #4A2F23; }
.badge.rejected { background: #F3DCD8; color: #7A2E22; }

/* ===================== Footer ===================== */
.site-footer {
    background: var(--ink);
    color: var(--mauve);
    text-align: center;
    padding: 34px 0 24px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(254, 214, 178, 0.25);
    letter-spacing: 0.5px;
}
.footer-logo { margin-bottom: 10px; position: relative; display: inline-block; }
.footer-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    mix-blend-mode: lighten;
    position: relative;
    z-index: 1;
}
.footer-logo::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 74px; height: 74px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,214,178,0.3) 0%, transparent 70%);
    animation: logo-glow 3.4s ease-in-out infinite;
}
.site-footer .foot-mark {
    color: var(--brand);
    margin: 0 8px;
    display: inline-block;
    animation: spin-slow 8s linear infinite;
}
.footer-nav { margin: 14px 0; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-nav a {
    color: #cfc6b4;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-nav a:hover { color: var(--brand); }
.site-footer .copyright { color: #6b6459; font-size: 0.75rem; margin-top: 6px; }

/* ===================== Payment Stepper ===================== */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 34px;
    flex-wrap: wrap;
}
.stepper .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 74px;
}
.stepper .dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EFE6D3;
    border: 2px solid #ddceac;
    color: #8a7c5c;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.stepper .label {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8a7c5c;
}
.stepper .step.done .dot {
    background: var(--cocoa);
    border-color: var(--cocoa);
    color: #fff;
}
.stepper .step.done .label { color: var(--cocoa); }
.stepper .step.active .dot {
    background: var(--brand);
    border-color: var(--brand-deep);
    color: var(--ink);
    animation: step-pulse 1.6s ease-in-out infinite;
}
.stepper .step.active .label { color: var(--ink); font-weight: 600; }
.stepper .track {
    height: 2px;
    width: 40px;
    background: #ddceac;
    transition: background 0.4s ease;
}
.stepper .track.filled { background: var(--cocoa); }
@keyframes step-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(254, 214, 178, 0.55); }
    50% { box-shadow: 0 0 0 8px rgba(254, 214, 178, 0); }
}

/* ===================== Bank selection cards ===================== */
.bank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bank-card {
    position: relative;
    display: block;
    border: 1px solid #E4D9BE;
    border-radius: 6px;
    background: #fff;
    padding: 16px 18px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bank-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.bank-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(254,214,178,0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.bank-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20,17,15,0.08); }
.bank-card input:checked ~ .bank-glow { opacity: 1; }
.bank-card input:checked ~ .bank-card-body .bank-name { color: var(--cocoa); }
.bank-card:has(input:checked) { border-color: var(--cocoa); box-shadow: 0 0 0 2px rgba(74,47,35,0.14); }
.bank-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color 0.2s;
}
.bank-line { font-size: 0.85rem; color: #6b6459; margin: 2px 0 8px; }
.bank-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--sand);
    border-radius: 4px;
    padding: 8px 12px;
}
.acct-number {
    font-family: var(--font-body);
    letter-spacing: 1px;
    font-size: 0.95rem;
    color: var(--ink);
}
.copy-btn {
    position: relative;
    background: var(--cocoa);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 6px 12px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    min-width: 64px;
}
.copy-btn .copy-label, .copy-btn .copied-label {
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.copy-btn .copied-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--ink);
    transform: translateY(100%);
    opacity: 0;
}
.copy-btn.copied .copy-label { opacity: 0; transform: translateY(-100%); }
.copy-btn.copied .copied-label { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .stepper .step.active .dot { animation: none !important; }
}

/* ===================== Admin ===================== */
.admin-actions { margin-bottom: 18px; }
.inline-form { display: inline; }

.stat-card {
    background: #fff;
    border: 1px solid #E4D9BE;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}
.stat-card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mauve); margin: 0 0 8px; }
.stat-card .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--cocoa); }

/* ===================== Responsive ===================== */
@media (max-width: 780px) {
    .logo { font-size: 1.3rem; gap: 8px; }
    .logo .mark { width: 42px; height: 42px; }
    .logo .mark::before { width: 52px; height: 52px; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 4px;
        padding: 10px 0 4px;
        animation: nav-drop 0.25s ease;
    }
    .main-nav.open { display: flex; }
    .main-nav a, .main-nav span {
        margin: 0;
        padding: 10px 4px;
        width: 100%;
    }
    .main-nav a::after { display: none; }
    .header-inner { position: relative; }
    .hero-slideshow { height: 340px; }
}
@keyframes nav-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .hero { padding: 50px 16px 40px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-slideshow { width: 100%; height: 260px; }
    .hero p.lede { font-size: 0.92rem; }
    .btn-row { display: flex; flex-direction: column; gap: 10px; align-items: center; }
    .hero .btn { margin: 0; width: 220px; }

    .product-detail { padding: 18px; gap: 20px; }
    .product-detail img { width: 100%; height: 280px; }

    .form-box { padding: 20px; max-width: 100%; }
    .cart-row { flex-wrap: wrap; }

    .footer-nav { gap: 14px; }
    h1 { font-size: 1.5rem; }
}
