:root{
    --ink:#111111;
    --muted:#6b7280;
    --line:#e7e7e7;
    --soft:#f7f7f5;
    --white:#ffffff;
    --danger:#b42318;
    --success:#166534;
    --warning:#92400e;
    --radius:2px;
    --shadow:0 16px 45px rgba(17,17,17,.08);
    --container:1240px;
}

/* Modern Moda Gift Card Shop */
.gift-card-shop-page,
.gift-card-success-page {
    padding: clamp(42px, 7vw, 88px) 0;
    background: #f7f5f0;
}

.gift-card-shop-hero {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid #d8d1c5;
    background: #fff;
}

.gift-card-shop-hero h1,
.gift-card-shop-form-card h2,
.gift-purchase-history h2,
.gift-card-success-card h1 {
    margin: 6px 0 14px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.08;
}

.gift-card-shop-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
}

.gift-card-shop-hero p:last-child,
.gift-card-success-card > p {
    max-width: 650px;
    color: #706a62;
    font-size: 17px;
    line-height: 1.7;
}

.gift-card-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 26px;
    align-items: start;
}

.gift-card-shop-form-card,
.gift-purchase-history,
.gift-card-success-card {
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #d8d1c5;
    background: #fff;
}

.gift-card-shop-form-card h2,
.gift-purchase-history h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.gift-amount-fieldset {
    margin: 28px 0;
    padding: 0;
    border: 0;
}

.gift-amount-fieldset legend,
.gift-card-shop-form-card label {
    margin-bottom: 9px;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gift-amount-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.gift-amount-options label {
    margin: 0;
    cursor: pointer;
}

.gift-amount-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gift-amount-options span {
    display: grid;
    min-height: 54px;
    place-items: center;
    border: 1px solid #cfc7ba;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.gift-amount-options input:checked + span,
.gift-amount-options input:focus-visible + span {
    border-color: #111;
    background: #111;
    color: #fff;
}

.gift-card-shop-form-card .textarea {
    min-height: 130px;
    resize: vertical;
}

.gift-card-shop-form-card small {
    display: block;
    margin-top: 6px;
    color: #777168;
}

.gift-shop-primary-button,
.gift-shop-outline-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.gift-shop-primary-button:hover,
.gift-shop-outline-button:hover {
    border-color: #9a7a45;
    background: #9a7a45;
    color: #fff;
}

.gift-shop-outline-button {
    background: #fff;
    color: #111;
}

.gift-card-preview {
    position: sticky;
    top: 100px;
    display: flex;
    min-height: 410px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #2a2a2a;
    background: linear-gradient(145deg, #111 0%, #27231e 100%);
    color: #fff;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 24px 58px rgba(17, 17, 17, .16);
}

.gift-card-preview p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gift-card-preview span,
.gift-card-preview small {
    color: #cdb78f;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.gift-card-preview strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 8vw, 92px);
    font-weight: 400;
}

.gift-purchase-history {
    margin-top: 26px;
}

.gift-purchase-list {
    border-top: 1px solid #ded8ce;
}

.gift-purchase-list article {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #ded8ce;
}

.gift-purchase-list strong,
.gift-purchase-list span {
    display: block;
}

.gift-purchase-list span {
    margin-top: 4px;
    color: #777168;
    font-size: 13px;
}

.gift-card-success-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 22px 60px rgba(17, 17, 17, .07);
}

.gift-card-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    place-items: center;
    border: 1px solid #9a7a45;
    border-radius: 50%;
    color: #9a7a45;
    font-size: 38px;
}

.gift-card-success-card h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.gift-card-success-card > p {
    margin-right: auto;
    margin-left: auto;
}

.gift-card-success-code {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid #d8d1c5;
    background: #f7f5f0;
}

.gift-card-success-code span,
.gift-card-success-code strong {
    display: block;
}

.gift-card-success-code span {
    margin-bottom: 10px;
    color: #777168;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.gift-card-success-code strong {
    color: #111;
    font-size: clamp(22px, 5vw, 34px);
    letter-spacing: .1em;
}

.gift-card-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 850px) {
    .gift-card-shop-layout {
        grid-template-columns: 1fr;
    }

    .gift-card-preview {
        position: static;
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .gift-card-shop-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .gift-amount-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gift-purchase-list article {
        grid-template-columns: 1fr;
    }

    .gift-shop-primary-button,
    .gift-shop-outline-button,
    .gift-card-success-actions > * {
        width: 100%;
    }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:145px}
#collection{scroll-margin-top:145px}
body{
    margin:0;
    background:var(--white);
    color:var(--ink);
    font-family:Inter,Arial,sans-serif;
    line-height:1.55;
}
body.modal-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit}
.container{width:min(calc(100% - 36px),var(--container));margin-inline:auto}
.announcement{
    padding:9px 18px;
    background:var(--ink);
    color:var(--white);
    text-align:center;
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.site-header{
    position:sticky;top:0;z-index:1000;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
}
.header-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:15px 0 11px}
.brand{
    grid-column:1/-1;
    justify-self:center;
    text-decoration:none;
    font-family:Georgia,serif;
    font-size:25px;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.main-nav{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:22px;min-width:0}
.shop-nav,.member-nav{display:flex;align-items:center;gap:6px}
.shop-nav a,.member-nav>a{display:inline-flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:999px;white-space:nowrap}
.shop-nav a:hover,.member-nav>a:hover{background:var(--soft);opacity:1}
.shop-nav a{font-weight:700}
.member-nav{justify-content:flex-end}
.main-nav a,.header-actions a,.link-button{
    text-decoration:none;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.main-nav a:hover,.header-actions a:hover{opacity:.55}
.header-actions{
    display:flex;align-items:center;gap:2px;padding:4px;
    border:1px solid var(--line);border-radius:999px;background:#fff
}
.header-actions a{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border-radius:999px;white-space:nowrap}
.header-actions a:hover{background:var(--soft);opacity:1}
.header-actions .cart-pill{position:relative;background:var(--ink);color:#fff;padding-left:16px}
.header-actions .cart-pill:hover{background:#333}
.header-actions .cart-pill .cart-count{background:#fff;color:var(--ink)}
.mobile-nav-actions{display:none}
.customer-actions{display:flex;align-items:center;gap:2px;margin-left:3px;padding-left:7px;border-left:1px solid var(--line)}
.customer-actions a{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:7px 10px;border-radius:999px;white-space:nowrap}
.customer-actions a:hover{background:var(--soft);opacity:1}
.customer-actions .customer-bag{background:var(--ink);color:#fff;padding-left:14px}
.customer-actions .customer-bag:hover{background:#333}
.customer-actions .customer-bag .cart-count{background:#fff;color:var(--ink)}
.menu-unread-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#b42318;color:#fff;font-size:10px;font-weight:800}
.customer-inbox-link{display:inline-flex;align-items:center;gap:4px;font-weight:800}
.inbox-unread-count{color:#b42318;font-weight:900}
.customer-inbox-link:hover .inbox-unread-count{color:inherit}
.cart-count{
    display:inline-grid;place-items:center;
    min-width:20px;height:20px;margin-left:4px;
    border-radius:50%;background:var(--ink);color:#fff;font-size:11px;
}
.menu-toggle{display:none;background:none;border:0;padding:8px;font-size:22px}
@media(max-width:1120px) and (min-width:761px){
    html{scroll-padding-top:96px}
    #collection{scroll-margin-top:96px}
    .header-row{grid-template-columns:auto auto;justify-content:space-between;min-height:82px;padding-block:0}
    .brand{grid-column:auto;justify-self:start}
    .menu-toggle{display:block;justify-self:end}
    .main-nav{position:absolute;left:0;right:0;top:82px;display:none;flex-direction:column;align-items:stretch;max-height:calc(100vh - 82px);overflow-y:auto;padding:18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 35px rgba(17,17,17,.09)}
    .main-nav.open{display:flex}
    .shop-nav,.member-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
    .shop-nav{padding-bottom:14px;border-bottom:1px solid var(--line)}
    .shop-nav a,.member-nav>a{justify-content:center;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:0;background:#fff;text-align:center}
    .customer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-column:1/-1;gap:8px;width:100%;margin:0;padding:0;border:0}
    .customer-actions a{min-height:44px;border:1px solid var(--line);border-radius:0;background:var(--soft)}
}
.hero{
    min-height:610px;
    display:grid;align-items:end;
    padding:72px 0;
    background:
      linear-gradient(90deg,rgba(0,0,0,.54),rgba(0,0,0,.05)),
      url('../images/hero-placeholder.jpg') center/cover,
      #d9d5cf;
    color:#fff;
}
.hero-content{max-width:610px}
.eyebrow{
    margin:0 0 12px;
    font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;
}
.hero h1,.page-title{
    margin:0;
    font-family:Georgia,serif;
    font-weight:400;
    line-height:1.04;
}
.hero h1{font-size:clamp(48px,8vw,92px)}
.hero p{max-width:500px;margin:22px 0 30px;font-size:18px}
.btn{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:48px;padding:12px 24px;
    border:1px solid var(--ink);border-radius:var(--radius);
    background:var(--ink);color:#fff;text-decoration:none;
    font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
    cursor:pointer;transition:.2s ease;
}
.btn:hover{background:#333;border-color:#333;transform:translateY(-1px)}
.btn-light{background:#fff;color:var(--ink);border-color:#fff}
.btn-outline{background:transparent;color:var(--ink)}
.btn-muted{background:#6b7280;border-color:#6b7280}
.btn-danger{background:var(--danger);border-color:var(--danger)}
.btn-block{width:100%}
.section{padding:80px 0}
.section-soft{background:var(--soft)}
.section-head{
    display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:34px
}
.section-title{margin:0;font-family:Georgia,serif;font-size:clamp(34px,5vw,52px);font-weight:400}
.section-copy{max-width:580px;color:var(--muted)}
.search-panel{
    display:grid;grid-template-columns:1fr auto;gap:10px;
    padding:16px;border:1px solid var(--line);background:#fff
}
.input,.select,.textarea{
    width:100%;min-height:48px;padding:12px 14px;
    border:1px solid #d5d5d5;background:#fff;color:var(--ink);
    border-radius:var(--radius);
}
.input:focus,.select:focus,.textarea:focus{outline:2px solid rgba(17,17,17,.15);border-color:var(--ink)}
.product-grid{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px
}
.product-card{position:relative}
.product-media{
    position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--soft)
}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.product-card:hover .product-media img{transform:scale(1.035)}
.product-badge{
    position:absolute;top:12px;left:12px;padding:6px 9px;
    background:#fff;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase
}
.product-info{padding:14px 2px 0}
.product-title{margin:0 0 4px;font-size:15px;font-weight:600}
.product-category{margin:0 0 8px;color:var(--muted);font-size:13px}
.product-price{font-weight:700}
.product-stock{margin:7px 0 0;font-size:12px;color:var(--success)}
.product-stock.out{color:var(--danger)}
.product-form{display:flex;gap:8px;margin-top:14px}
.qty{width:70px}
.card,.panel{
    border:1px solid var(--line);background:#fff;padding:28px;box-shadow:var(--shadow)
}
.page-shell{padding:56px 0 84px;background:var(--soft);min-height:70vh}
.page-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.page-title{font-size:clamp(38px,6vw,64px)}
.muted{color:var(--muted)}
.alert{padding:14px 16px;margin-bottom:18px;border:1px solid transparent;font-size:14px}
.alert-error{background:#fff2f0;color:#8a1c13;border-color:#fecaca}
.alert-success{background:#effcf3;color:#166534;border-color:#bbf7d0}
.alert-warning{background:#fffbeb;color:#92400e;border-color:#fde68a}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.full{grid-column:1/-1}
.auth-wrap{width:min(100% - 30px,480px);margin:60px auto}
.auth-card{padding:38px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}
.auth-card h1{margin:0 0 8px;font-family:Georgia,serif;font-size:46px;font-weight:400}
.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:14px}
.account-grid{display:grid;grid-template-columns:280px 1fr;gap:24px}
.account-nav{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.account-nav a{padding:15px 17px;background:#fff;text-decoration:none}
.account-nav a:hover{background:var(--soft)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.detail-item{padding:17px;background:#fff}
.detail-label{margin-bottom:4px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px}
.cart-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.cart-item{
    display:grid;grid-template-columns:110px 1fr auto;gap:18px;align-items:center;
    padding:18px;background:#fff
}
.cart-item img,.image-placeholder{width:110px;height:135px;object-fit:cover;background:var(--soft)}
.cart-item h3{margin:0 0 6px}
.cart-meta{color:var(--muted);font-size:14px}
.cart-controls{display:flex;align-items:center;gap:10px;margin-top:12px}
.order-summary{position:sticky;top:110px;height:max-content}
.summary-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0}
.summary-total{margin-top:10px;padding-top:18px;border-top:1px solid var(--line);font-size:20px;font-weight:700}
.empty-state{text-align:center;padding:70px 25px;border:1px solid var(--line);background:#fff}
.site-footer{padding:58px 0 24px;background:#111;color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:36px}
.footer-title{font-family:Georgia,serif;font-size:27px;letter-spacing:.08em}
.footer-links{display:grid;gap:10px}
.footer-links a{color:#d1d5db;text-decoration:none;font-size:14px}
.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid #333;color:#9ca3af;font-size:12px}
.modal-backdrop{
    position:fixed;inset:0;z-index:2000;display:none;place-items:center;padding:20px;
    background:rgba(0,0,0,.62)
}
.modal-backdrop.show{display:grid}
.modal{position:relative;width:min(100%,460px);padding:30px;background:#fff}
.modal-close{position:absolute;top:10px;right:10px;background:none;border:0;font-size:26px}
.toast{
    position:fixed;right:22px;bottom:22px;z-index:3000;
    max-width:360px;padding:14px 18px;background:#111;color:#fff;
    opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s ease
}
.toast.show{opacity:1;transform:none}
@media(max-width:980px){
    .product-grid{grid-template-columns:repeat(3,1fr)}
    .cart-layout,.account-grid{grid-template-columns:1fr}
    .order-summary{position:static}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
    html{scroll-padding-top:96px}
    #collection{scroll-margin-top:96px}
    .header-row{grid-template-columns:auto auto;justify-content:space-between;min-height:82px;padding-block:0}
    .brand{grid-column:auto;justify-self:start}
    .menu-toggle{display:block}
    .main-nav{
        position:absolute;left:0;right:0;top:82px;display:none;flex-direction:column;align-items:stretch;
        max-height:calc(100vh - 82px);overflow-y:auto;padding:18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 18px 35px rgba(17,17,17,.09)
    }
    .main-nav.open{display:flex}
    .shop-nav,.member-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
    .shop-nav{padding-bottom:14px;border-bottom:1px solid var(--line)}
    .shop-nav a,.member-nav>a{justify-content:center;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:0;background:#fff;text-align:center}
    .member-nav{padding-top:0}
    .header-actions{display:none}
    .customer-actions{
        display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
        grid-column:1/-1;width:100%;margin:0;padding:0;border:0
    }
    .customer-actions a{min-height:44px;border:1px solid var(--line);border-radius:0;background:var(--soft)}
    .customer-actions .customer-bag{background:var(--ink);color:#fff;border-color:var(--ink)}
    .mobile-nav-actions{
        display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
        margin-top:8px;padding-top:18px;border-top:1px solid var(--line)
    }
    .mobile-nav-actions a{
        display:flex;align-items:center;justify-content:center;min-height:44px;
        padding:10px;border:1px solid var(--line);background:var(--soft);text-align:center
    }
    .mobile-nav-actions a:last-child{background:var(--ink);color:#fff;border-color:var(--ink)}
    .product-grid{grid-template-columns:repeat(2,1fr)}
    .hero{min-height:520px}
    .section{padding:58px 0}
    .form-grid,.detail-grid{grid-template-columns:1fr}
    .full{grid-column:auto}
    .cart-item{grid-template-columns:82px 1fr}
    .cart-item img,.image-placeholder{width:82px;height:104px}
    .cart-item-price{grid-column:2}
}

/* Storefront navigation drawer */
body.navigation-open{overflow:hidden}
body.navigation-open::before{content:'';position:fixed;inset:0;z-index:1150;background:rgba(17,17,17,.48);backdrop-filter:blur(2px)}
.site-header .main-nav{position:fixed;inset:0 0 0 auto;z-index:1200;display:block;width:min(420px,100%);max-height:none;padding:0;overflow-y:auto;border:0;border-left:1px solid var(--line);background:#fff;box-shadow:-24px 0 60px rgba(17,17,17,.2);visibility:hidden;transform:translateX(102%);transition:transform .26s ease,visibility .26s ease}
.site-header .main-nav.open{display:block;visibility:visible;transform:translateX(0)}
.menu-drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line);background:#fff}
.menu-drawer-head>span{font-family:Georgia,serif;font-size:28px}
.menu-drawer-head button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:28px;line-height:1;cursor:pointer}
.menu-drawer-head button:hover{background:var(--soft)}
.site-header .mega-menu{display:grid;grid-template-columns:1fr;gap:0;padding:8px 24px 32px}
.site-header .mega-menu-group{display:grid;gap:0;padding:18px 0;border-bottom:1px solid var(--line)}
.site-header .mega-menu-group:last-child{border-bottom:0}
.site-header .mega-menu-group p{margin:0 0 8px;padding:0;border:0;color:var(--muted);font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.site-header .mega-menu-group a{min-height:45px;padding:11px 4px;border-bottom:1px solid #f1f1ef;font-family:Georgia,serif;font-size:19px;font-weight:400;letter-spacing:0;text-transform:none}
.site-header .mega-menu-group a:last-child{border-bottom:0}
.site-header .mega-menu-group a:hover{padding-left:10px;background:var(--soft)}
@media(max-width:520px){
    .site-header .main-nav{width:100%}
    .menu-drawer-head{padding:18px}
    .site-header .mega-menu{padding-inline:18px}
}
@media(max-width:520px){
    .container{width:min(calc(100% - 24px),var(--container))}
    .product-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr}
    .search-panel{grid-template-columns:1fr}
    .auth-card,.card,.panel{padding:22px}
}

/* Admin interface */
body.admin-page{
    --admin-bg:#f4f5f7;
    --admin-panel:#ffffff;
    --admin-ink:#111827;
    --admin-muted:#6b7280;
    --admin-line:#e5e7eb;
    --admin-dark:#111111;
    --admin-dark-2:#1f2937;
    --admin-accent:#000000;
    --admin-success:#166534;
    --admin-warning:#92400e;
    --admin-danger:#b42318;
    --admin-radius:14px;
    --admin-shadow:0 10px 30px rgba(17,24,39,.07);
    --sidebar-width:260px;
}
body.admin-page, body.admin-page *{box-sizing:border-box}
html:has(body.admin-page){scroll-behavior:smooth}
body.admin-page{
    margin:0;
    background:var(--admin-bg);
    color:var(--admin-ink);
    font-family:Inter,Arial,sans-serif;
}
body.admin-page a{color:inherit}
body.admin-page button, body.admin-page input, body.admin-page select, body.admin-page textarea{font:inherit}
body.admin-page .admin-shell{min-height:100vh}
body.admin-page .admin-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    z-index:1000;
    width:var(--sidebar-width);
    padding:22px 16px;
    background:var(--admin-dark);
    color:#fff;
    overflow-y:auto;
}
body.admin-page .admin-brand{
    display:block;
    padding:10px 12px 22px;
    color:#fff;
    text-decoration:none;
    font-family:Georgia,serif;
    font-size:24px;
    letter-spacing:.11em;
    text-transform:uppercase;
}
body.admin-page .admin-brand small{
    display:block;
    margin-top:5px;
    color:#9ca3af;
    font-family:Inter,Arial,sans-serif;
    font-size:10px;
    letter-spacing:.16em;
}
body.admin-page .nav-section{margin:18px 0 8px;padding:0 12px;color:#6b7280;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
body.admin-page .admin-nav{display:grid;gap:4px}
body.admin-page .admin-nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 13px;
    border-radius:10px;
    color:#d1d5db;
    text-decoration:none;
    font-size:14px;
}
body.admin-page .admin-nav a:hover, body.admin-page .admin-nav a.active{background:#252525;color:#fff}
body.admin-page .admin-version{margin:22px 10px 4px;padding:14px 12px;border-top:1px solid #303030;color:#9ca3af}
body.admin-page .admin-version span{display:block;margin-bottom:5px;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.admin-page .admin-version strong{display:block;color:#d1d5db;font-size:10px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
body.admin-page .admin-main{margin-left:var(--sidebar-width);min-height:100vh}
body.admin-page .admin-topbar{
    position:sticky;
    top:0;
    z-index:900;
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 28px;
    border-bottom:1px solid var(--admin-line);
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
}
body.admin-page .admin-topbar-title{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.admin-page .admin-user{display:flex;align-items:center;gap:12px}
body.admin-page .admin-avatar{
    width:38px;height:38px;border-radius:50%;
    display:grid;place-items:center;
    background:var(--admin-dark);color:#fff;font-weight:700
}
body.admin-page .admin-content{padding:30px}
body.admin-page .admin-container{max-width:1500px;margin:0 auto}
body.admin-page .page-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:24px;
}
body.admin-page .page-eyebrow{margin:0 0 6px;color:var(--admin-muted);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
body.admin-page .page-title{margin:0;font-family:Georgia,serif;font-size:44px;font-weight:400}
body.admin-page .page-subtitle{margin:8px 0 0;color:var(--admin-muted)}
body.admin-page .admin-grid{display:grid;gap:18px}
body.admin-page .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}
body.admin-page .kpi-card, body.admin-page .admin-card{
    padding:22px;
    border:1px solid var(--admin-line);
    border-radius:var(--admin-radius);
    background:var(--admin-panel);
    box-shadow:var(--admin-shadow);
}
body.admin-page .kpi-label{color:var(--admin-muted);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
body.admin-page .kpi-value{margin-top:10px;font-size:34px;font-weight:800;letter-spacing:-.03em}
body.admin-page .kpi-note{margin-top:7px;color:var(--admin-muted);font-size:12px}
body.admin-page .kpi-danger .kpi-value{color:var(--admin-danger)}
body.admin-page .kpi-success .kpi-value{color:var(--admin-success)}
body.admin-page .admin-card h2{
    margin:0 0 18px;
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:400;
}
body.admin-page .two-col{grid-template-columns:1.4fr 1fr}
body.admin-page .table-wrap{width:100%;overflow-x:auto}
body.admin-page .admin-table{width:100%;border-collapse:collapse}
body.admin-page .admin-table th{
    padding:12px 14px;
    border-bottom:1px solid var(--admin-line);
    color:var(--admin-muted);
    font-size:10px;
    letter-spacing:.1em;
    text-align:left;
    text-transform:uppercase;
}
body.admin-page .admin-table td{padding:14px;border-bottom:1px solid #f0f1f3;vertical-align:middle}
body.admin-page .admin-table tr:last-child td{border-bottom:0}
body.admin-page .badge{
    display:inline-flex;align-items:center;
    min-height:26px;padding:5px 9px;border-radius:999px;
    font-size:11px;font-weight:700
}
body.admin-page .badge-success{background:#dcfce7;color:#166534}
body.admin-page .badge-warning{background:#fef3c7;color:#92400e}
body.admin-page .badge-danger{background:#fee2e2;color:#991b1b}
body.admin-page .badge-neutral{background:#e5e7eb;color:#374151}
body.admin-page .admin-actions{display:flex;flex-wrap:wrap;gap:10px}
body.admin-page .btn{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:42px;padding:10px 16px;
    border:1px solid var(--admin-dark);
    border-radius:10px;
    background:var(--admin-dark);color:#fff;
    text-decoration:none;font-size:13px;font-weight:700;cursor:pointer
}
body.admin-page .btn:hover{opacity:.88}
body.admin-page .btn-light{background:#fff;color:var(--admin-dark)}
body.admin-page .btn-muted{background:#6b7280;border-color:#6b7280}
body.admin-page .btn-danger{background:var(--admin-danger);border-color:var(--admin-danger)}
body.admin-page .btn-block{width:100%}
body.admin-page .mobile-menu-button{display:none;background:none;border:0;font-size:24px}
body.admin-page .quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.admin-page .quick-link{
    min-height:92px;
    display:flex;flex-direction:column;justify-content:space-between;
    padding:16px;border:1px solid var(--admin-line);border-radius:12px;
    background:#fff;text-decoration:none
}
body.admin-page .quick-link strong{font-size:15px}
body.admin-page .quick-link span{color:var(--admin-muted);font-size:12px}
body.admin-page .empty-state{padding:35px;text-align:center;color:var(--admin-muted)}
body.admin-page .login-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:
      radial-gradient(circle at top left,rgba(255,255,255,.08),transparent 35%),
      #111;
}
body.admin-page .login-card{
    width:min(100%,440px);
    padding:36px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 30px 80px rgba(0,0,0,.35)
}
body.admin-page .login-brand{
    margin-bottom:28px;
    text-align:center;
    font-family:Georgia,serif;
    font-size:28px;
    letter-spacing:.1em;
    text-transform:uppercase
}
body.admin-page .login-brand small{display:block;margin-top:5px;color:var(--admin-muted);font-family:Inter,Arial,sans-serif;font-size:10px;letter-spacing:.14em}
body.admin-page .form-field{margin-bottom:16px}
body.admin-page .form-field label{display:block;margin-bottom:7px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
body.admin-page .input, body.admin-page .select, body.admin-page .textarea{
    width:100%;min-height:46px;padding:11px 12px;
    border:1px solid #d1d5db;border-radius:10px;background:#fff
}
body.admin-page .input:focus, body.admin-page .select:focus, body.admin-page .textarea:focus{outline:2px solid rgba(17,17,17,.15);border-color:#111}
body.admin-page .alert{padding:13px 15px;margin-bottom:18px;border-radius:10px;font-size:14px}
body.admin-page .alert-error{background:#fee2e2;color:#991b1b}
body.admin-page .alert-success{background:#dcfce7;color:#166534}
@media(max-width:1100px){
    body.admin-page .kpi-grid{grid-template-columns:repeat(2,1fr)}
    body.admin-page .quick-links{grid-template-columns:repeat(2,1fr)}
    body.admin-page .two-col{grid-template-columns:1fr}
}
@media(max-width:780px){
    body.admin-page .admin-sidebar{transform:translateX(-100%);transition:.25s ease}
    body.admin-page .admin-sidebar.open{transform:none}
    body.admin-page .admin-main{margin-left:0}
    body.admin-page .mobile-menu-button{display:block}
    body.admin-page .admin-content{padding:18px}
    body.admin-page .page-head{align-items:flex-start;flex-direction:column}
    body.admin-page .kpi-grid, body.admin-page .quick-links{grid-template-columns:1fr}
}


body.admin-page .catalog-toolbar{
    display:grid;
    grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(150px,1fr) auto;
    gap:12px;
    align-items:end;
    margin-bottom:20px
}
body.admin-page .product-thumb{
    width:64px;height:78px;object-fit:cover;border-radius:10px;background:#f3f4f6
}
body.admin-page .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.admin-page .form-grid .full{grid-column:1/-1}
body.admin-page .textarea{min-height:120px;resize:vertical}
body.admin-page .image-preview{
    width:160px;height:190px;object-fit:cover;border-radius:14px;
    border:1px solid var(--admin-line);background:#f3f4f6
}
body.admin-page .gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
body.admin-page .gallery-card{padding:12px;border:1px solid var(--admin-line);border-radius:12px;background:#fff}
body.admin-page .gallery-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px;margin-bottom:10px}
body.admin-page .category-list{display:grid;gap:10px}
body.admin-page .category-row{
    display:flex;align-items:center;justify-content:space-between;gap:15px;
    padding:14px 16px;border:1px solid var(--admin-line);border-radius:12px;background:#fff
}
body.admin-page .stock-positive{color:var(--admin-success);font-weight:700}
body.admin-page .stock-negative{color:var(--admin-danger);font-weight:700}
@media(max-width:900px){
    body.admin-page .catalog-toolbar, body.admin-page .form-grid{grid-template-columns:1fr}
    body.admin-page .form-grid .full{grid-column:auto}
}


body.admin-page .filter-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    align-items:end
}
body.admin-page .order-card{
    padding:20px;
    border:1px solid var(--admin-line);
    border-radius:14px;
    background:#fff
}
body.admin-page .order-card + .order-card{margin-top:14px}
body.admin-page .order-card-head{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    flex-wrap:wrap
}
body.admin-page .metric-row{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:22px
}
body.admin-page .metric{
    padding:16px;
    border:1px solid var(--admin-line);
    border-radius:12px;
    background:#fff
}
body.admin-page .metric-label{
    color:var(--admin-muted);
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase
}
body.admin-page .metric-value{margin-top:7px;font-size:24px;font-weight:800}
body.admin-page .customer-card{
    padding:20px;
    border:1px solid var(--admin-line);
    border-radius:14px;
    background:#fff
}
body.admin-page .customer-card + .customer-card{margin-top:14px}
body.admin-page .detail-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    border:1px solid var(--admin-line);
    background:var(--admin-line)
}
body.admin-page .detail-box{padding:14px;background:#fff}
body.admin-page .detail-box.full{grid-column:1/-1}
body.admin-page .detail-key{
    margin-bottom:4px;
    color:var(--admin-muted);
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase
}
@media(max-width:1100px){
    body.admin-page .filter-grid{grid-template-columns:repeat(2,1fr)}
    body.admin-page .metric-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
    body.admin-page .filter-grid, body.admin-page .metric-row, body.admin-page .detail-list{grid-template-columns:1fr}
    body.admin-page .detail-box.full{grid-column:auto}
}


/* Extracted from account.php (block 1) */
.account-page{
    padding:42px 20px 70px;
    background:#f5f5f3;
    color:#171717;
}

.account-container{
    width:min(1240px,100%);
    margin:0 auto;
}

.account-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
    padding:38px 40px;
    background:#111;
    color:#fff;
}

.account-hero h1{
    margin:5px 0 8px;
    font-family:Georgia,serif;
    font-size:clamp(38px,5vw,62px);
    font-weight:400;
    line-height:1.05;
}

.account-hero p{
    margin:0;
    color:#d3d3d3;
    line-height:1.6;
}

.account-eyebrow{
    margin:0 0 5px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.account-summary-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    margin-bottom:26px;
}

.account-summary-card{
    min-width:0;
    padding:22px 18px;
    border:1px solid #deded9;
    background:#fff;
}

.account-summary-card span{
    display:block;
    color:#6e6e69;
    font-size:11px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.account-summary-card strong{
    display:block;
    margin:10px 0 6px;
    font-family:Georgia,serif;
    font-size:34px;
    font-weight:400;
    line-height:1;
}

.account-summary-card .account-money{
    font-size:27px;
}

.account-summary-card small{
    color:#8a8a85;
    font-size:11px;
    line-height:1.4;
}

.account-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.account-sidebar{
    position:sticky;
    top:95px;
    border:1px solid #deded9;
    background:#fff;
}

.account-portal-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:24px;
    align-items:start;
    width:min(calc(100% - 36px),var(--container));
    margin:34px auto 80px;
}
.account-portal-layout>.account-sidebar{top:112px}
.account-portal-content{min-width:0}
.account-portal-content>.page-shell,
.account-portal-content>.account-page{padding-top:0;background:transparent}
.account-portal-content>.page-shell>.container,
.account-portal-content>.account-page>.account-container{width:100%;max-width:none}
.account-dashboard-content{min-width:0}

/* Customer order history */
.orders-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.orders-summary-card{padding:22px 20px;border:1px solid var(--line);background:#fff}
.orders-summary-card span{display:block;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.orders-summary-card strong{display:block;margin:10px 0 6px;font-family:Georgia,serif;font-size:34px;font-weight:400;line-height:1}
.orders-summary-card .orders-money{font-size:26px}
.orders-summary-card small{color:var(--muted);font-size:11px}
.orders-status-tabs{display:flex;gap:8px;margin-bottom:20px;overflow-x:auto;padding-bottom:2px}
.orders-status-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--line);background:#fff;text-decoration:none;white-space:nowrap;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.orders-status-tabs a:hover,.orders-status-tabs a.active{border-color:var(--ink);background:var(--ink);color:#fff}
.orders-status-tabs span{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:var(--soft);color:var(--ink);font-size:11px}
.orders-filter-panel{margin-bottom:20px;padding:24px;border:1px solid var(--line);background:#fff}
.orders-filter-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.orders-filter-heading .eyebrow{margin-bottom:4px}
.orders-filter-heading h2{margin:0;font-family:Georgia,serif;font-size:30px;font-weight:400}
.orders-clear-link{font-size:12px;font-weight:700;text-transform:uppercase;text-underline-offset:4px}
.orders-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}
.orders-filter-submit{min-width:145px}
.orders-results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 12px;color:var(--muted);font-size:13px}
.orders-results-heading p{margin:0}.orders-results-heading strong{color:var(--ink)}
.orders-results-heading span{padding:5px 9px;background:var(--soft);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.orders-list{display:grid;gap:14px}
.order-history-card{padding:24px;border:1px solid var(--line);background:#fff;box-shadow:0 8px 26px rgba(17,17,17,.045)}
.order-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.order-history-head .eyebrow{margin-bottom:6px}.order-history-head h2{margin:0;font-family:Georgia,serif;font-size:30px;font-weight:400}
.order-history-time{margin:5px 0 0;color:var(--muted);font-size:13px}
.order-history-summary{display:grid;justify-items:end;gap:9px;text-align:right}
.order-history-summary>strong{font-size:20px}
.order-status{display:inline-flex;padding:6px 10px;border:1px solid;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.order-status.is-completed{border-color:#bbf7d0;background:#effcf3;color:#166534}
.order-status.is-cancelled{border-color:#fecaca;background:#fff2f0;color:#8a1c13}
.order-status.is-shipped{border-color:#d4d4d4;background:#f5f5f3;color:#222}
.order-status.is-processing{border-color:#fde68a;background:#fffbeb;color:#92400e}
.order-status.is-new{border-color:#ddd;background:#f7f7f5;color:#444}
.order-history-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.order-history-actions form{display:inline-flex}
.orders-page .btn{border-color:var(--ink);background:var(--ink);color:#fff}
.orders-page .btn:hover{border-color:#333;background:#333}
.orders-page .btn.btn-outline{border-color:#d4d4d4;background:#fff;color:var(--ink)}
.orders-page .btn.btn-outline:hover{border-color:var(--ink);background:var(--soft);color:var(--ink)}
@media(max-width:1100px){.orders-summary-grid{grid-template-columns:repeat(2,1fr)}.orders-filter-grid{grid-template-columns:repeat(2,1fr)}.orders-filter-submit{min-width:0}}
@media(max-width:650px){.orders-summary-grid,.orders-filter-grid{grid-template-columns:1fr}.orders-filter-panel,.order-history-card{padding:18px}.order-history-head{flex-direction:column}.order-history-summary{justify-items:start;text-align:left}.order-history-actions .btn,.order-history-actions form{width:100%}.order-history-actions form .btn{width:100%}}

.account-sidebar nav{
    display:grid;
}

.account-sidebar a{
    position:relative;
    display:grid;
    gap:3px;
    padding:17px 20px;
    border-bottom:1px solid #ecece8;
    color:#202020;
    text-decoration:none;
    transition:.18s ease;
}
.account-unread-count{position:absolute;right:14px;top:14px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#b42318;color:#fff;font-size:10px}

.account-sidebar a:last-child{
    border-bottom:0;
}

.account-sidebar a:hover,
.account-sidebar a.active{
    background:#111;
    color:#fff;
}

.account-sidebar a span{
    font-weight:700;
}

.account-sidebar a small{
    color:#878782;
    font-size:11px;
}

.account-sidebar a:hover small,
.account-sidebar a.active small{
    color:#cfcfcf;
}

.account-sidebar a.account-signout{
    color:#a82020;
}

.account-sidebar a.account-signout:hover{
    color:#fff;
    background:#a82020;
}

.account-main{
    display:grid;
    gap:24px;
    min-width:0;
}

.account-panel{
    padding:28px;
    border:1px solid #deded9;
    background:#fff;
}

.account-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}

.account-panel h2{
    margin:0;
    font-family:Georgia,serif;
    font-size:36px;
    font-weight:400;
}

.account-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:43px;
    padding:11px 18px;
    border:1px solid #111;
    background:#111;
    color:#fff;
    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    text-decoration:none;
    text-transform:uppercase;
    transition:.18s ease;
}

.account-button:hover{
    background:#333;
}

.account-button-light{
    border-color:#d0d0cb;
    background:#fff;
    color:#111;
}

.account-button-light:hover{
    border-color:#111;
    background:#111;
    color:#fff;
}

.account-hero .account-button-light{
    border-color:#fff;
    background:transparent;
    color:#fff;
}

.account-hero .account-button-light:hover{
    background:#fff;
    color:#111;
}

.account-order-list{
    display:grid;
    gap:14px;
}

.account-order-card{
    padding:20px;
    border:1px solid #e3e3df;
    background:#fafaf8;
}

.account-order-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.account-order-number{
    display:block;
    margin-bottom:7px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.account-order-card h3{
    margin:0 0 5px;
    font-family:Georgia,serif;
    font-size:25px;
    font-weight:400;
}

.account-order-card p{
    margin:0;
    color:#777772;
}

.account-order-right{
    display:grid;
    justify-items:end;
    gap:10px;
}

.account-order-right strong{
    font-size:18px;
}

.account-status{
    display:inline-flex;
    padding:7px 10px;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.account-status-success{
    background:#e9f8ee;
    color:#176b34;
}

.account-status-error{
    background:#fdecec;
    color:#a82020;
}

.account-status-warning{
    background:#fff4d8;
    color:#855b00;
}

.account-order-actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:17px;
}

.account-shortcut-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.account-shortcut{
    display:grid;
    grid-template-columns:48px 1fr auto;
    gap:14px;
    align-items:center;
    padding:20px;
    border:1px solid #deded9;
    background:#fff;
    color:#171717;
    text-decoration:none;
    transition:.18s ease;
}

.account-shortcut:hover{
    border-color:#111;
    transform:translateY(-2px);
}

.account-shortcut-icon {
    color: #111 !important;
}

.account-shortcut-icon * {
    color: #111 !important;
    fill: #111 !important;
    stroke: #111 !important;
}

.account-shortcut strong{
    display:block;
    margin-bottom:4px;
}

.account-shortcut p{
    margin:0;
    color:#777772;
    font-size:13px;
    line-height:1.45;
}

.account-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.account-detail{
    padding:17px;
    border:1px solid #e3e3df;
    background:#fafaf8;
}

.account-detail span{
    display:block;
    margin-bottom:7px;
    color:#777772;
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.account-detail strong{
    font-weight:600;
    line-height:1.6;
}

.account-detail-full{
    grid-column:1/-1;
}

.account-tool-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.account-tool-grid a{
    padding:20px;
    border:1px solid #e3e3df;
    color:#171717;
    text-decoration:none;
    transition:.18s ease;
}

.account-tool-grid a:hover{
    border-color:#111;
    background:#111;
    color:#fff;
}

.account-tool-grid strong{
    display:block;
}

.account-tool-grid p{
    margin:7px 0 0;
    color:#777772;
    font-size:13px;
}

.account-tool-grid a:hover p{
    color:#d3d3d3;
}

.account-empty{
    padding:45px 20px;
    text-align:center;
}

.account-empty h3{
    margin:0 0 8px;
    font-family:Georgia,serif;
    font-size:32px;
    font-weight:400;
}

.account-empty p{
    margin:0 0 20px;
    color:#777772;
}


@media(max-width:1120px){

    .account-summary-grid{
        grid-template-columns:
        repeat(3,minmax(0,1fr));
    }

}


@media(max-width:900px){

    .account-layout,
    .account-portal-layout{
        grid-template-columns:1fr;
    }

    .account-portal-layout{margin-top:20px}

    .account-sidebar{
        position:static;
    }

    .account-sidebar nav{
        grid-template-columns:
        repeat(2,minmax(0,1fr));
    }

    .account-sidebar a{
        border-right:1px solid #ecece8;
    }

}


@media(max-width:700px){

    .account-page{
        padding:20px 12px 50px;
    }

    .account-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:28px 22px;
    }

    .account-summary-grid{
        grid-template-columns:
        repeat(2,minmax(0,1fr));
    }

    .account-shortcut-grid,
    .account-detail-grid,
    .account-tool-grid{
        grid-template-columns:1fr;
    }

    .account-detail-full{
        grid-column:auto;
    }

    .account-panel{
        padding:21px 17px;
    }

    .account-panel-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .account-order-top{
        flex-direction:column;
    }

    .account-order-right{
        justify-items:start;
    }

}


@media(max-width:480px){

    .account-summary-grid{
        grid-template-columns:1fr;
    }

    .account-sidebar nav{
        grid-template-columns:1fr;
    }

    .account-button{
        width:100%;
    }

    .account-order-actions{
        display:grid;
    }

}

/* Extracted from admin/advanced_analytics.php (block 2) */
.analytics-period{
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
    padding:14px 18px;
    border:1px solid #e3e3df;
    background:#fff;
}

.analytics-kpis{
    grid-template-columns:
        repeat(6,minmax(0,1fr));
}

.analytics-positive{
    color:#17713c;
    font-size:12px;
    font-weight:700;
}

.analytics-negative{
    color:#b42318;
    font-size:12px;
    font-weight:700;
}

.analytics-neutral{
    color:#777;
    font-size:12px;
}

.analytics-main-grid{
    margin-top:22px;
}

.analytics-section-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:center;
}

.analytics-chart{
    height:300px;
    display:flex;
    align-items:flex-end;
    gap:10px;
    padding-top:30px;
    overflow-x:auto;
}

.analytics-bar-column{
    min-width:48px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    text-align:center;
}

.analytics-bar-value{
    margin-bottom:6px;
    color:#666;
    font-size:10px;
}

.analytics-bar{
    min-height:4px;
    background:#111;
    position:relative;
}

.analytics-bar span{
    position:absolute;
    inset:auto 0 5px;
    color:#fff;
    font-size:10px;
    font-weight:700;
}

.analytics-bar-label{
    margin-top:7px;
    color:#666;
    font-size:10px;
    white-space:nowrap;
}

.analytics-health-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
}

.analytics-health-item{
    padding:16px;
    border:1px solid #e3e3df;
    background:#fafaf8;
}

.analytics-health-item span{
    display:block;
    margin-bottom:8px;
    color:#777;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.analytics-health-item strong{
    font-family:Georgia,serif;
    font-size:26px;
    font-weight:400;
}

.analytics-mini-section{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid #e3e3df;
}

.analytics-product-cell{
    display:flex;
    align-items:center;
    gap:12px;
}

.analytics-product-cell img{
    width:48px;
    height:58px;
    object-fit:cover;
    background:#f2f2ef;
}

@media(max-width:1200px){

    .analytics-kpis{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }
}

@media(max-width:800px){

    .analytics-kpis{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .analytics-main-grid{
        grid-template-columns:
            1fr !important;
    }
}

@media(max-width:520px){

    .analytics-kpis{
        grid-template-columns:
            1fr;
    }

    .analytics-period{
        flex-direction:column;
    }
}

/* Extracted from admin/analytics.php (block 3) */
.analytics-kpis{
    display:grid;
    grid-template-columns:
    repeat(6,minmax(0,1fr));
    gap:14px;
    margin-bottom:22px;
}

.analytics-kpi{
    padding:22px 18px;
    border:1px solid #e3e3df;
    background:#fff;
}

.analytics-kpi span{
    display:block;
    color:#73736e;
    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.analytics-kpi strong{
    display:block;
    margin:10px 0 6px;
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:400;
}

.analytics-kpi small{
    color:#8a8a85;
    font-size:11px;
}

.analytics-grid{
    display:grid;
    grid-template-columns:
    repeat(2,minmax(0,1fr));
    gap:22px;
    margin-top:22px;
}

.analytics-grid-main{
    grid-template-columns:
    minmax(0,1.5fr) minmax(320px,.5fr);
    margin-top:0;
}

.analytics-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:20px;
}

.analytics-card-head h2{
    margin:0;
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:400;
}

.analytics-chart-scroll{
    overflow-x:auto;
    padding-bottom:8px;
}

.analytics-bar-chart{
    display:grid;
    gap:7px;
    min-width:720px;
    height:320px;
    align-items:end;
}

.analytics-bar-column{
    display:grid;
    grid-template-rows:
    22px 1fr 20px 18px;
    gap:5px;
    height:100%;
    text-align:center;
}

.analytics-bar-value{
    overflow:hidden;
    color:#666661;
    font-size:10px;
    white-space:nowrap;
}

.analytics-bar-track{
    display:flex;
    align-items:flex-end;
    height:100%;
    background:#f1f1ee;
}

.analytics-bar{
    width:100%;
    min-height:2px;
    background:#111;
}

.analytics-bar-label{
    font-size:10px;
    white-space:nowrap;
}

.analytics-bar-orders{
    color:#8a8a85;
    font-size:9px;
    white-space:nowrap;
}

.analytics-status-list,
.analytics-payment-list,
.analytics-ranking{
    display:grid;
    gap:14px;
}

.analytics-status-row{
    display:grid;
    grid-template-columns:
    minmax(110px,.7fr)
    minmax(120px,1fr)
    52px;
    gap:12px;
    align-items:center;
}

.analytics-status-row > div:first-child{
    display:grid;
    gap:3px;
}

.analytics-status-row span{
    color:#777772;
    font-size:11px;
}

.analytics-status-row b{
    text-align:right;
    font-size:12px;
}

.analytics-progress{
    height:8px;
    overflow:hidden;
    background:#efefec;
}

.analytics-progress > div{
    height:100%;
    background:#111;
}

.analytics-progress-large{
    height:14px;
    margin-top:18px;
}

.analytics-rank-row{
    display:grid;
    grid-template-columns:
    34px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
}

.analytics-rank-number{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    background:#111;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.analytics-product-info{
    min-width:0;
}

.analytics-product-info strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.analytics-product-info span{
    color:#777772;
    font-size:11px;
}

.analytics-mini-track{
    height:5px;
    margin-top:7px;
    overflow:hidden;
    background:#efefec;
}

.analytics-mini-track > div{
    height:100%;
    background:#111;
}

.analytics-rank-value{
    font-weight:700;
    white-space:nowrap;
}

.analytics-payment-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:15px 0;
    border-bottom:1px solid #ecece8;
}

.analytics-payment-row:last-child{
    border-bottom:0;
}

.analytics-payment-row div{
    display:grid;
    gap:3px;
}

.analytics-payment-row span{
    color:#777772;
    font-size:11px;
}

.analytics-big-stat{
    display:grid;
    gap:8px;
    padding:28px 0 10px;
    text-align:center;
}

.analytics-big-stat strong{
    font-family:Georgia,serif;
    font-size:64px;
    font-weight:400;
}

.analytics-big-stat span{
    color:#777772;
}


@media(max-width:1180px){

    .analytics-kpis{
        grid-template-columns:
        repeat(3,minmax(0,1fr));
    }

}


@media(max-width:900px){

    .analytics-grid,
    .analytics-grid-main{
        grid-template-columns:1fr;
    }

}


@media(max-width:650px){

    .analytics-kpis{
        grid-template-columns:
        repeat(2,minmax(0,1fr));
    }

}


@media(max-width:440px){

    .analytics-kpis{
        grid-template-columns:1fr;
    }

}

/* Extracted from admin/packing_slip.php (block 4) */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:30px;
    color:#111;
    font-family:Arial,sans-serif;
    background:#f3f4f6;
}

.sheet{
    max-width:900px;
    margin:0 auto;
    padding:36px;
    background:#fff;
    border:1px solid #ddd;
}

.top{
    display:flex;
    justify-content:space-between;
    gap:30px;
    margin-bottom:32px;
}

.brand{
    font-family:Georgia,serif;
    font-size:30px;
}

.muted{
    color:#666;
}

.grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin-bottom:28px;
}

.box{
    padding:18px;
    border:1px solid #ddd;
}

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    padding:12px;
    border-bottom:1px solid #ddd;
    text-align:left;
}

th{
    background:#f7f7f5;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.actions{
    max-width:900px;
    margin:0 auto 18px;
    display:flex;
    gap:10px;
}

.btn{
    display:inline-block;
    padding:10px 16px;
    border:0;
    background:#111;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
}

@media print{

    body{
        padding:0;
        background:#fff;
    }

    .actions{
        display:none;
    }

    .sheet{
        max-width:none;
        border:0;
        padding:0;
    }
}

@media(max-width:700px){

    body{
        padding:12px;
    }

    .top,
    .grid{
        grid-template-columns:1fr;
        display:grid;
    }
}

/* Extracted from admin/shipping_label.php (block 5) */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:30px;
    background:#f3f4f6;
    color:#111;
    font-family:Arial,sans-serif;
}

.actions{
    max-width:760px;
    margin:0 auto 18px;
    display:flex;
    gap:10px;
}

.btn{
    display:inline-block;
    padding:10px 16px;
    border:0;
    background:#111;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
}

.label{
    width:760px;
    min-height:460px;
    margin:0 auto;
    padding:34px;
    background:#fff;
    border:4px solid #111;
}

.header{
    display:flex;
    justify-content:space-between;
    gap:30px;
    padding-bottom:22px;
    border-bottom:3px solid #111;
}

.brand{
    font-family:Georgia,serif;
    font-size:30px;
}

.order{
    text-align:right;
    font-weight:bold;
}

.section-label{
    margin-top:28px;
    font-size:12px;
    font-weight:bold;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.address{
    margin-top:10px;
    font-size:28px;
    line-height:1.4;
    font-weight:bold;
}

.tracking{
    margin-top:28px;
    padding-top:20px;
    border-top:2px solid #111;
    font-size:18px;
}

@media print{

    @page{
        size:landscape;
        margin:0.25in;
    }

    body{
        padding:0;
        background:#fff;
    }

    .actions{
        display:none;
    }

    .label{
        width:100%;
        min-height:0;
        margin:0;
    }
}

@media(max-width:800px){

    body{
        padding:10px;
    }

    .label,
    .actions{
        width:100%;
    }

    .address{
        font-size:22px;
    }
}

/* Extracted from admin/support_ticket.php (block 6) */
@media(max-width:900px){

    div[style*="grid-template-columns:minmax(0,1.5fr)"]{
        grid-template-columns:1fr !important;
    }

}

/* Extracted from checkout.php (block 7) */
* { box-sizing: border-box; }

        body {
            margin: 0;
            padding: 20px;
            background: #f4f7fb;
            color: #1f2937;
            font-family: Arial, sans-serif;
        }

        .container {
            width: 100%;
            max-width: 980px;
            margin: 0 auto;
        }

        .page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            margin-bottom: 22px;
        }

        h1, h2 { margin-top: 0; }
        h1 { margin-bottom: 0; }

        .checkout-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
            gap: 20px;
        }

        .card {
            padding: 22px;
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 4px 18px rgba(15, 23, 42, .08);
        }

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

        .info-item {
            padding: 14px;
            border-radius: 12px;
            background: #f8fafc;
        }

        .info-item.full { grid-column: 1 / -1; }

        .label {
            margin-bottom: 5px;
            color: #64748b;
            font-size: 13px;
            font-weight: bold;
            text-transform: uppercase;
        }

        .product {
            display: grid;
            grid-template-columns: 64px minmax(0, 1fr) auto;
            align-items: center;
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .product:last-child { border-bottom: 0; }

        .product-image {
            width: 64px;
            height: 64px;
            border-radius: 10px;
            background: #e5e7eb;
            object-fit: cover;
        }

        .product-name { font-weight: bold; }
        .product-meta { color: #64748b; font-size: 14px; line-height: 1.5; }
        .product-total { font-weight: bold; }

        .total {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            margin-top: 18px;
            padding-top: 18px;
            border-top: 2px solid #e2e8f0;
            font-size: 23px;
            font-weight: bold;
        }

        .tax-note {
            margin-top: 10px;
            color: #64748b;
            font-size: 14px;
            line-height: 1.5;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 46px;
            padding: 12px 18px;
            border: 0;
            border-radius: 10px;
            background: #2563eb;
            color: #fff;
            font-size: 16px;
            text-decoration: none;
            cursor: pointer;
        }

        .btn:hover { opacity: .9; }
        .btn-secondary { background: #64748b; }
        .btn-success { width: 100%; background: #15803d; }

        .actions {
            display: grid;
            gap: 10px;
            margin-top: 18px;
        }

        .warning {
            margin-bottom: 18px;
            padding: 14px 16px;
            border-radius: 11px;
            background: #fef3c7;
            color: #92400e;
        }

        @media (max-width: 800px) {
            .checkout-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 620px) {
            body { padding: 10px; }
            .page-header { align-items: stretch; flex-direction: column; }
            .page-header .btn { width: 100%; }
            .card { padding: 16px; }
            .info-grid { grid-template-columns: 1fr; }
            .info-item.full { grid-column: auto; }
            .product { grid-template-columns: 54px minmax(0, 1fr); }
            .product-image { width: 54px; height: 54px; }
            .product-total { grid-column: 2; }
        }

/* Extracted from config/invoice.php (block 8) */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:30px;
    background:#f4f4f2;
    color:#171717;
    font-family:Arial,sans-serif;
}

.invoice-actions{
    width:min(900px,100%);
    margin:0 auto 18px;
    display:flex;
    justify-content:flex-end;
    gap:10px;
}

.invoice-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 17px;
    border:1px solid #111;
    background:#111;
    color:#fff;
    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    text-decoration:none;
    text-transform:uppercase;
    cursor:pointer;
}

.invoice-button-light{
    background:#fff;
    color:#111;
}

.invoice-sheet{
    width:min(900px,100%);
    margin:0 auto;
    padding:45px;
    background:#fff;
    border:1px solid #deded9;
}

.invoice-header{
    display:flex;
    justify-content:space-between;
    gap:30px;
    padding-bottom:28px;
    border-bottom:2px solid #111;
}

.invoice-brand{
    margin:0;
    font-family:Georgia,serif;
    font-size:42px;
    font-weight:400;
}

.invoice-label{
    margin:0 0 6px;
    color:#777772;
    font-size:10px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.invoice-number{
    margin:0;
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:400;
}

.invoice-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin:30px 0;
}

.invoice-box{
    min-width:0;
    overflow:hidden;
    padding:18px;
    border:1px solid #e3e3df;
    background:#fafaf8;
}

.invoice-box strong{
    display:block;
    margin-bottom:6px;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.invoice-table{
    width:100%;
    border-collapse:collapse;
}

.invoice-table th{
    padding:12px 10px;
    border-bottom:1px solid #111;
    font-size:10px;
    letter-spacing:.1em;
    text-align:left;
    text-transform:uppercase;
}

.invoice-table td{
    padding:15px 10px;
    border-bottom:1px solid #ecece8;
    vertical-align:top;
}

.invoice-table .number{
    text-align:right;
    white-space:nowrap;
}

.invoice-product{
    display:flex;
    gap:12px;
    align-items:center;
}

.invoice-product img{
    width:54px;
    height:54px;
    object-fit:cover;
    background:#f2f2ef;
}

.invoice-summary{
    width:min(420px,100%);
    margin:28px 0 0 auto;
}

.invoice-summary-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:10px 0;
    border-bottom:1px solid #ecece8;
}

.invoice-summary-total{
    margin-top:6px;
    padding-top:16px;
    border-top:2px solid #111;
    border-bottom:0;
    font-family:Georgia,serif;
    font-size:25px;
}

.invoice-footer{
    margin-top:42px;
    padding-top:22px;
    border-top:1px solid #deded9;
    color:#777772;
    font-size:12px;
    line-height:1.7;
}

@media(max-width:650px){

    body{
        padding:10px;
    }

    .invoice-sheet{
        padding:23px 16px;
    }

    .invoice-header,
    .invoice-meta{
        grid-template-columns:1fr;
        flex-direction:column;
    }

    .invoice-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .invoice-table{
        min-width:650px;
    }

    .invoice-table-wrap{
        overflow-x:auto;
    }
}

@media print{

    body{
        padding:0;
        background:#fff;
    }

    .invoice-actions{
        display:none;
    }

    .invoice-sheet{
        width:100%;
        max-width:none;
        padding:20px;
        border:0;
    }
}

/* Extracted from includes/header.php (block 9) */
.mobile-nav-actions {
    display: none;
}

@media (max-width: 768px) {
    .main-nav {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--line, #ddd);
    }

    .mobile-nav-actions a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .header-actions {
        display: none;
    }
}

/* Extracted from index.php (block 10) */
.product-rating-overlay{
    position:absolute;
    right:12px;
    bottom:12px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:8px 10px;
    background:rgba(255,255,255,.94);
    color:#111;
    font-size:12px;
    box-shadow:0 5px 18px rgba(0,0,0,.10);
}

.product-rating-overlay span{
    letter-spacing:1px;
}

.product-card-rating{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#111;
    text-decoration:none;
}

.product-card-rating span{
    font-size:14px;
    letter-spacing:1px;
}

.product-card-rating small{
    color:var(--muted);
    font-size:12px;
}



.product-card{
    position:relative;
}

.product-wishlist-form{
    position:absolute;
    top:12px;
    right:12px;
    z-index:10;
}

.wishlist-heart{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#111;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.wishlist-heart:hover,
.wishlist-heart.active{
    background:#111;
    color:#fff;
}

/* Extracted from maintenance.php (block 11) */
:root{
    color-scheme:light;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    min-height:100vh;
    display:grid;
    place-items:center;
    overflow-x:hidden;
    padding:24px;
    background:
        radial-gradient(circle at top left, rgba(193,163,116,.18), transparent 32rem),
        radial-gradient(circle at bottom right, rgba(17,17,17,.08), transparent 28rem),
        #f7f4ef;
    color:#171717;
    font-family:Arial,sans-serif;
}

.shell{
    width:min(760px,100%);
    position:relative;
}

.card{
    position:relative;
    overflow:hidden;
    padding:64px 54px;
    border:1px solid rgba(23,23,23,.12);
    background:rgba(255,255,255,.94);
    box-shadow:0 32px 90px rgba(38,31,23,.14);
    text-align:center;
    backdrop-filter:blur(16px);
}

.card::before{
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:5px;
    background:linear-gradient(90deg,#111,#b99a6b,#111);
}

.brand{
    margin:0 0 24px;
    font-family:Georgia,serif;
    font-size:22px;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.eyebrow{
    margin:0 0 16px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#8a7456;
}

h1{
    margin:0 0 22px;
    font-family:Georgia,serif;
    font-size:clamp(40px,7vw,64px);
    line-height:1.05;
    font-weight:400;
}

.message{
    max-width:590px;
    margin:0 auto;
    font-size:18px;
    line-height:1.75;
    color:#625c54;
}

.loader{
    width:54px;
    height:54px;
    margin:34px auto 26px;
    border:3px solid rgba(23,23,23,.12);
    border-top-color:#171717;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

.status{
    display:inline-flex;
    gap:10px;
    align-items:center;
    padding:11px 16px;
    border:1px solid rgba(23,23,23,.14);
    background:#faf8f4;
    font-size:12px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#b99a6b;
    box-shadow:0 0 0 5px rgba(185,154,107,.14);
}

.contact{
    margin:30px 0 0;
    color:#625c54;
}

.contact a{
    color:#171717;
    font-weight:700;
    text-decoration:none;
    border-bottom:1px solid rgba(23,23,23,.3);
}

.note{
    margin:22px 0 0;
    font-size:13px;
    color:#8b857d;
}

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

@media(max-width:620px){

    body{
        padding:14px;
    }

    .card{
        padding:46px 24px;
    }

    .message{
        font-size:16px;
    }
}

@media(prefers-reduced-motion:reduce){

    .loader{
        animation:none;
        border-top-color:rgba(23,23,23,.12);
        border-right-color:#171717;
    }
}

/* Extracted from notification_preferences.php (block 12) */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#f5f3ef;
    color:#171717;
    font-family:Arial,sans-serif;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:20px 6%;
    background:#fff;
    border-bottom:1px solid #ded8cf;
}

.brand{
    color:#171717;
    font-family:Georgia,serif;
    font-size:25px;
    text-decoration:none;
}

.nav{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.nav a{
    color:#171717;
    font-weight:700;
    text-decoration:none;
}

.container{
    width:min(820px,92%);
    margin:42px auto 70px;
}

.card{
    padding:30px;
    border:1px solid #ded8cf;
    background:#fff;
}

.eyebrow{
    margin:0 0 8px;
    color:#8a7456;
    font-size:12px;
    font-weight:700;
    letter-spacing:.15em;
    text-transform:uppercase;
}

h1{
    margin:0 0 12px;
    font-family:Georgia,serif;
    font-size:42px;
    font-weight:400;
}

.subtitle{
    margin:0 0 28px;
    color:#6a645c;
    line-height:1.6;
}

.preference{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:18px 0;
    border-bottom:1px solid #e7e1d8;
}

.preference:last-of-type{
    border-bottom:0;
}

.preference input{
    margin-top:4px;
    width:18px;
    height:18px;
}

.preference strong{
    display:block;
    margin-bottom:5px;
}

.preference small{
    color:#716a62;
    line-height:1.5;
}

.button{
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    margin-top:24px;
    padding:0 20px;
    border:1px solid #171717;
    background:#171717;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.alert{
    margin-bottom:20px;
    padding:14px 16px;
    border:1px solid #9ec7a8;
    background:#edf8ef;
}

.notice{
    margin-top:24px;
    padding:16px;
    border:1px solid #ddd3c6;
    background:#faf7f2;
    color:#6c655d;
    line-height:1.6;
}

/* Extracted from order_details.php (block 13) */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#f5f3ef;
    color:#171717;
    font-family:Arial,sans-serif;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:20px 6%;
    background:#fff;
    border-bottom:1px solid #ded8cf;
}

.brand{
    color:#171717;
    font-family:Georgia,serif;
    font-size:25px;
    text-decoration:none;
}

.nav{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.nav a{
    color:#171717;
    text-decoration:none;
    font-weight:700;
}

.container{
    width:min(1120px,92%);
    margin:38px auto 70px;
}

.page-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:24px;
}

.eyebrow{
    margin:0 0 8px;
    color:#8a7456;
    font-size:12px;
    font-weight:700;
    letter-spacing:.15em;
    text-transform:uppercase;
}

h1,
h2,
h3{
    font-family:Georgia,serif;
    font-weight:400;
}

h1{
    margin:0;
    font-size:42px;
}

.subtitle{
    margin:10px 0 0;
    color:#6a645c;
}

.card{
    margin-bottom:22px;
    padding:24px;
    border:1px solid #ded8cf;
    background:#fff;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.kpi{
    padding:18px;
    border:1px solid #e4dfd7;
    background:#faf8f4;
}

.kpi strong{
    display:block;
    margin-bottom:7px;
    font-size:12px;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.items{
    width:100%;
    border-collapse:collapse;
}

.items th,
.items td{
    padding:14px 10px;
    border-bottom:1px solid #e5e0d8;
    text-align:left;
}

.items th{
    font-size:11px;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.shipment{
    margin-top:20px;
    padding:22px;
    border:1px solid #d9d2c8;
}

.shipment-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
}

.badge{
    display:inline-flex;
    align-items:center;
    padding:7px 11px;
    border:1px solid #cfc7bb;
    background:#f8f5f0;
    font-size:12px;
    font-weight:700;
}

.progress{
    height:10px;
    margin:20px 0;
    overflow:hidden;
    border-radius:999px;
    background:#e7e1d8;
}

.progress span{
    display:block;
    height:100%;
    background:#171717;
}

.tracking-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-top:18px;
}

.tracking{
    padding:15px;
    border:1px solid #e1dbd2;
    background:#faf9f6;
}

.tracking a{
    color:#171717;
    font-weight:700;
    overflow-wrap:anywhere;
}

.timeline{
    margin-top:20px;
    padding-left:18px;
    border-left:2px solid #cdbfae;
}

.event{
    position:relative;
    padding:0 0 20px 18px;
}

.event::before{
    content:"";
    position:absolute;
    left:-25px;
    top:3px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#171717;
    box-shadow:0 0 0 4px #f5f3ef;
}

.event strong{
    display:block;
    margin-bottom:5px;
}

.muted{
    color:#756f67;
    font-size:13px;
}

.button{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:0 17px;
    border:1px solid #171717;
    background:#171717;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}

.empty{
    padding:24px;
    border:1px dashed #cfc6ba;
    color:#6a645c;
    text-align:center;
}

@media(max-width:760px){

    .grid,
    .tracking-grid{
        grid-template-columns:1fr;
    }

    .page-head,
    .shipment-head,
    .header{
        align-items:flex-start;
        flex-direction:column;
    }

    h1{
        font-size:34px;
    }

    .items{
        display:block;
        overflow-x:auto;
    }
}

/* Extracted from payment_cancelled.php (block 14) */
body {
            margin: 0;
            padding: 20px;
            background: #f4f7fb;
            font-family: Arial, sans-serif;
        }

        .card {
            max-width: 620px;
            margin: 50px auto;
            padding: 28px;
            border-radius: 18px;
            background: #fff;
            text-align: center;
            box-shadow: 0 4px 18px rgba(15, 23, 42, .08);
        }

        .btn {
            display: inline-flex;
            min-height: 44px;
            align-items: center;
            justify-content: center;
            margin: 8px;
            padding: 11px 18px;
            border-radius: 10px;
            background: #2563eb;
            color: #fff;
            text-decoration: none;
        }

/* Extracted from payment_success.php (block 15) */
* { box-sizing: border-box; }
        body {
            margin: 0;
            padding: 20px;
            background: #f4f7fb;
            color: #1f2937;
            font-family: Arial, sans-serif;
        }
        .card {
            width: 100%;
            max-width: 620px;
            margin: 50px auto;
            padding: 28px;
            border-radius: 18px;
            background: #fff;
            text-align: center;
            box-shadow: 0 4px 18px rgba(15, 23, 42, .08);
        }
        .status {
            color: #15803d;
            font-size: 48px;
        }
        .status.is-error { color:#b91c1c; }
        .btn {
            display: inline-flex;
            min-height: 44px;
            align-items: center;
            justify-content: center;
            margin: 8px;
            padding: 11px 18px;
            border-radius: 10px;
            background: #2563eb;
            color: #fff;
            text-decoration: none;
        }

/* Extracted from product.php (block 16) */
@media (max-width: 850px) {

    .product-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .product-detail-layout aside {
        position: static !important;
    }

}

@media (max-width: 600px) {

    .product-detail-layout section > div {
        grid-template-columns: 1fr !important;
    }

    .product-thumbnails {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;

        order: 2;
    }

    .product-thumbnails button {
        width: 100%;
    }

}



.variant-group{
    margin:0 0 22px;
    padding:0;
    border:0;
}

.variant-group legend{
    margin-bottom:11px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.variant-group legend span{
    color:var(--muted);
    font-weight:400;
    letter-spacing:0;
    text-transform:none;
}

.color-options,
.size-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.color-swatch{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border:1px solid var(--line);
    background:#fff;
    color:var(--ink);
    cursor:pointer;
}

.swatch-circle{
    width:25px;
    height:25px;
    border:1px solid #c7c7c7;
    border-radius:50%;
    background:var(--swatch-color,#ddd);
    box-shadow:inset 0 0 0 2px #fff;
}

.swatch-white,
.swatch-ivory,
.swatch-cream{
    background:#f8f7f1;
}

.swatch-beige{
    background:#d8c3a5;
}

.swatch-navy{
    background:#172554;
}

.color-swatch.selected{
    border-color:#111;
    box-shadow:0 0 0 1px #111;
}

.color-swatch.sold-out,
.size-option.sold-out{
    opacity:.35;
    cursor:not-allowed;
    text-decoration:line-through;
}

.size-option{
    min-width:52px;
    min-height:46px;
    padding:10px 14px;
    border:1px solid var(--line);
    background:#fff;
    color:var(--ink);
    font-weight:700;
    cursor:pointer;
}

.size-option:hover:not(:disabled),
.color-swatch:hover:not(:disabled){
    border-color:#111;
}

.size-option.selected{
    border-color:#111;
    background:#111;
    color:#fff;
}

.variant-message{
    margin:-6px 0 20px;
    padding:11px 12px;
    background:var(--soft);
    color:var(--muted);
    font-size:13px;
}

@media(max-width:520px){

    .color-swatch{
        flex:1 1 calc(50% - 10px);
    }

    .size-option{
        flex:1 1 calc(25% - 10px);
    }

}


.review-rating-input{
    display:inline-flex;
    flex-direction:row-reverse;
    flex-wrap:nowrap;
    gap:4px;
    white-space:nowrap;
    vertical-align:middle;
}

.review-rating-input input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.review-rating-input label{
    display:inline-block;
    flex:0 0 auto;
    color:#d1d5db;
    font-size:34px;
    cursor:pointer;
    transition:.15s ease;
}

.featured-review-stars,
.main-image-rating,
.product-card-rating,
[data-mm-style="mm-u-0196"]{
    white-space:nowrap;
}

.review-rating-input label:hover,
.review-rating-input label:hover ~ label,
.review-rating-input input:checked ~ label{
    color:#111;
}

@media(max-width:850px){

    #reviews .container > div[style*="grid-template-columns"]{
        grid-template-columns:1fr !important;
    }

}


.main-image-rating{
    position:absolute;
    right:14px;
    bottom:14px;
    z-index:3;
    display:grid;
    grid-template-columns:auto auto;
    gap:2px 8px;
    align-items:center;
    padding:10px 12px;
    background:rgba(255,255,255,.95);
    color:#111;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.main-image-rating span{
    grid-column:1/-1;
    font-size:15px;
    letter-spacing:2px;
}

.main-image-rating strong{
    font-size:15px;
}

.main-image-rating small{
    color:var(--muted);
    font-size:11px;
}

.featured-review-card{
    display:block;
    margin-top:16px;
    padding:20px;
    border:1px solid var(--line);
    background:#fff;
    color:#111;
    text-decoration:none;
}

.featured-review-stars{
    margin-bottom:9px;
    font-size:18px;
    letter-spacing:2px;
}

.featured-review-card blockquote{
    margin:0;
    font-family:Georgia,serif;
    font-size:22px;
    line-height:1.5;
}

.featured-review-author{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    align-items:center;
    margin-top:13px;
    color:var(--muted);
    font-size:13px;
}

.featured-review-author span{
    padding:5px 8px;
    background:#ecfdf3;
    color:#166534;
    font-size:10px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

/* Extracted from recently_viewed.php (block 17) */
.product-card-rating{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#111;
}

.product-card-rating span{
    font-size:14px;
    letter-spacing:1px;
}

.product-card-rating small{
    color:var(--muted);
    font-size:12px;
}

/* Extracted from rewards.php (block 18) */
@media(max-width:760px){

    .summary-grid{
        grid-template-columns:1fr !important;
    }

}

/* Extracted from track_order.php (block 19) */
@media(max-width:760px){

    section.panel > div[style*="grid-template-columns:repeat(4"]{
        grid-template-columns:1fr 1fr !important;
    }

}

/* Extracted from unsubscribe.php (block 20) */
body{
    margin:0;
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:#f5f3ef;
    color:#171717;
    font-family:Arial,sans-serif;
}

.card{
    width:min(600px,100%);
    padding:42px;
    border:1px solid #ded8cf;
    background:#fff;
    text-align:center;
}

h1{
    font-family:Georgia,serif;
    font-weight:400;
}

a{
    color:#171717;
    font-weight:700;
}

/* Extracted from wishlist.php (block 21) */
.wishlist-heart{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#111;
    font-size:21px;
    cursor:pointer;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.wishlist-heart:hover,
.wishlist-heart.active{
    background:#111;
    color:#fff;
}

.product-card-rating{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#111;
    text-decoration:none;
}

.product-card-rating span{
    font-size:14px;
    letter-spacing:1px;
}

.product-card-rating small{
    color:var(--muted);
    font-size:12px;
}

/* Consolidated inline utility rules */
[data-mm-style="mm-u-0001"]{margin-bottom:22px}
[data-mm-style="mm-u-0002"]{max-width:900px}
[data-mm-style="mm-u-0003"]{margin-top:20px}
[data-mm-style="mm-u-0004"]{padding:12px 0; border-bottom:1px solid var(--line);}
[data-mm-style="mm-u-0005"]{margin-top:24px}
[data-mm-style="mm-u-0006"]{margin-top:22px}
[data-mm-style="mm-u-0007"]{white-space:pre-wrap}
[data-mm-style="mm-u-0008"]{margin-bottom:20px}
[data-mm-style="mm-u-0009"]{display:flex; gap:12px; align-items:end; flex-wrap:wrap;}
[data-mm-style="mm-u-0010"]{display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:16px;}
[data-mm-style="mm-u-0011"]{margin:0}
[data-mm-style="mm-u-0012"]{white-space:nowrap}
[data-mm-style="mm-u-0013"]{max-width:480px; white-space:pre-wrap; word-break:break-word; font-size:12px;}
[data-mm-style="mm-u-0014"]{display:inline}
[data-mm-style="mm-u-0015"]{display:flex; gap:9px; align-items:center; margin-top:30px;}
[data-mm-style="mm-u-0016"]{margin-top:18px}
[data-mm-style="mm-u-0017"]{line-height:1.7}
[data-mm-style="mm-u-0018"]{grid-column:span 2}
[data-mm-style="mm-u-0019"]{align-self:end}
[data-mm-style="mm-u-0020"]{margin:0 0 5px;font-size:25px;font-family:Georgia,serif;font-weight:400}
[data-mm-style="mm-u-0021"]{color:#6b7280;font-size:13px}
[data-mm-style="mm-u-0022"]{text-align:right}
[data-mm-style="mm-u-0023"]{margin-top:16px}
[data-mm-style="mm-u-0024"]{display:none}
[data-mm-style="mm-u-0025"]{max-width:720px;width:100%;position:relative}
[data-mm-style="mm-u-0026"]{position:absolute;right:15px;top:12px}
[data-mm-style="mm-u-0027"]{font-family:Georgia,serif;font-size:32px;font-weight:400}
[data-mm-style="mm-u-0028"]{margin-bottom:24px}
[data-mm-style="mm-u-0029"]{display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px;}
[data-mm-style="mm-u-0030"]{letter-spacing:1px}
[data-mm-style="mm-u-0031"]{display:flex;gap:9px;align-items:center;margin-top:30px}
[data-mm-style="mm-u-0032"]{display:flex;gap:8px;align-items:center}
[data-mm-style="mm-u-0033"]{width:110px}
[data-mm-style="mm-u-0034"]{display:flex;gap:5px;align-items:center}
[data-mm-style="mm-u-0035"]{display:flex;align-items:center;gap:12px}
[data-mm-style="mm-u-0036"]{font-size:13px;font-weight:700}
[data-mm-style="mm-u-0037"]{font-size:11px;color:#6b7280}
[data-mm-style="mm-u-0038"]{min-width:25px; justify-content:center; padding:3px 7px;}
[data-mm-style="mm-u-0039"]{display:flex; align-items:center; gap:12px;}
[data-mm-style="mm-u-0040"]{font-size:13px; font-weight:700;}
[data-mm-style="mm-u-0041"]{font-size:11px; color:#6b7280;}
[data-mm-style="mm-u-0042"]{text-align:center}
[data-mm-style="mm-u-0043"]{margin:0 0 8px; text-align:center; font-family:Georgia,serif; font-size:38px; font-weight:400;}
[data-mm-style="mm-u-0044"]{margin:0 0 24px; text-align:center; color:#6b7280;}
[data-mm-style="mm-u-0045"]{margin-top:10px}
[data-mm-style="mm-u-0046"]{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px;}
[data-mm-style="mm-u-0047"]{display:grid;gap:10px}
[data-mm-style="mm-u-0048"]{display:flex;justify-content:space-between}
[data-mm-style="mm-u-0049"]{display:flex; justify-content:space-between; gap:16px}
[data-mm-style="mm-u-0050"]{display:flex;justify-content:space-between;padding-top:14px;border-top:1px solid #e5e7eb;font-size:20px}
[data-mm-style="mm-u-0051"]{line-height:1.7;margin-bottom:0}
[data-mm-style="mm-u-0052"]{display:flex; gap:8px; align-items:center; margin:12px 0;}
[data-mm-style="mm-u-0053"]{display:grid;gap:14px}
[data-mm-style="mm-u-0054"]{padding:14px 0; border-bottom:1px solid var(--line);}
[data-mm-style="mm-u-0055"]{margin-bottom:0}
[data-mm-style="mm-u-0056"]{padding:14px; border:1px solid var(--line);}
[data-mm-style="mm-u-0057"]{max-width:100px}
[data-mm-style="mm-u-0058"]{display:grid;gap:18px}
[data-mm-style="mm-u-0059"]{padding:18px; border:1px solid var(--line);}
[data-mm-style="mm-u-0060"]{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;}
[data-mm-style="mm-u-0061"]{display:flex; gap:10px; align-items:end; flex-wrap:wrap;}
[data-mm-style="mm-u-0062"]{margin:0 0 5px;font-size:24px;font-family:Georgia,serif;font-weight:400}
[data-mm-style="mm-u-0063"]{margin-bottom:8px}
[data-mm-style="mm-u-0064"]{font-size:22px}
[data-mm-style="mm-u-0065"]{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;align-items:center}
[data-mm-style="mm-u-0066"]{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
[data-mm-style="mm-u-0067"]{width:auto;min-width:150px}
[data-mm-style="mm-u-0068"]{margin-top:28px}
[data-mm-style="mm-u-0069"]{display:flex; gap:8px; align-items:center;}
[data-mm-style="mm-u-0070"]{width:85px}
[data-mm-style="mm-u-0071"]{margin:8px 0 0; color:#6b7280; font-size:12px;}
[data-mm-style="mm-u-0072"]{display:flex; align-items:center; gap:8px;}
[data-mm-style="mm-u-0073"]{margin-top:8px}
[data-mm-style="mm-u-0074"]{display:grid;gap:16px}
[data-mm-style="mm-u-0075"]{margin:0 0 6px; font-family:Georgia,serif; font-size:27px; font-weight:400;}
[data-mm-style="mm-u-0076"]{font-size:20px; letter-spacing:2px;}
[data-mm-style="mm-u-0077"]{font-size:13px; margin-bottom:16px;}
[data-mm-style="mm-u-0078"]{margin-top:14px}
[data-mm-style="mm-u-0079"]{display:grid; grid-template-columns:100px minmax(180px,1fr) auto; gap:8px; align-items:center;}
[data-mm-style="mm-u-0080"]{min-height:280px; font-family:monospace;}
[data-mm-style="mm-u-0081"]{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px;}
[data-mm-style="mm-u-0082"]{display:flex;gap:10px;align-items:center;margin:18px 0}
[data-mm-style="mm-u-0083"]{display:flex; gap:10px; align-items:center; margin:18px 0;}
[data-mm-style="mm-u-0084"]{max-width:760px}
[data-mm-style="mm-u-0085"]{display:grid; grid-template-columns: minmax(0,1.5fr) minmax(320px,.5fr); gap:22px; align-items:start;}
[data-mm-style="mm-u-0086"]{display:grid;gap:22px}
[data-mm-style="mm-u-0087"]{display:flex; justify-content:space-between; gap:12px; margin-bottom:10px;}
[data-mm-style="mm-u-0088"]{white-space:pre-wrap;line-height:1.7}
[data-mm-style="mm-u-0089"]{margin-top:12px}
[data-mm-style="mm-u-0090"]{display:flex; gap:8px; align-items:center; margin-top:12px;}
[data-mm-style="mm-u-0091"]{font-family:Georgia,serif;font-size:42px;font-weight:400}
[data-mm-style="mm-u-0092"]{margin:18px 0; padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
[data-mm-style="mm-u-0093"]{display:block; margin-bottom:8px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;}
[data-mm-style="mm-u-0094"]{display:grid; grid-template-columns:1fr auto; gap:8px;}
[data-mm-style="mm-u-0095"]{padding:0; border:0; background:none; text-decoration:underline; cursor:pointer;}
[data-mm-style="mm-u-0096"]{margin:18px 0; padding:16px 0; border-bottom:1px solid var(--line);}
[data-mm-style="mm-u-0097"]{margin-top:8px; padding:0; border:0; background:none; text-decoration:underline; cursor:pointer;}
[data-mm-style="mm-u-0098"]{font-size:12px;margin-bottom:0}
[data-mm-style="mm-u-0099"]{font-size:12px; margin-bottom:0;}
[data-mm-style="mm-u-0100"]{font-family:Georgia,serif;font-size:38px;font-weight:400;margin-top:0}
[data-mm-style="mm-u-0101"]{display:grid;gap:12px}
[data-mm-style="mm-u-0102"]{display:flex; gap:12px; align-items:flex-start; padding:14px; border:1px solid #ddd; cursor:pointer;}
[data-mm-style="mm-u-0103"]{margin:0; padding:30px; background:#f4f4f2; font-family:Arial,sans-serif; color:#111;}
[data-mm-style="mm-u-0104"]{max-width:640px; margin:auto; padding:34px; background:#fff; border:1px solid #deded9;}
[data-mm-style="mm-u-0105"]{margin:0 0 8px; font-size:11px; font-weight:bold; letter-spacing:2px; text-transform:uppercase;}
[data-mm-style="mm-u-0106"]{margin:0 0 18px; font-family:Georgia,serif; font-size:38px; font-weight:normal;}
[data-mm-style="mm-u-0107"]{line-height:1.7;}
[data-mm-style="mm-u-0108"]{margin:26px 0;}
[data-mm-style="mm-u-0109"]{display:inline-block; padding:14px 24px; background:#111; color:#fff; text-decoration:none; font-size:12px; font-weight:bold; letter-spacing:1px; text-transform:uppercase;}
[data-mm-style="mm-u-0110"]{margin-top:30px; color:#777; font-size:12px;}
[data-mm-style="mm-u-0111"]{max-width:600px; margin:0 auto; padding:24px; background:#f4f7fb; font-family:Arial,sans-serif; color:#1f2937;}
[data-mm-style="mm-u-0112"]{padding:28px; border-radius:16px; background:#ffffff;}
[data-mm-style="mm-u-0113"]{margin-top:0;}
[data-mm-style="mm-u-0114"]{display:inline-block; padding:12px 20px; border-radius:9px; background:#2563eb; color:#ffffff; text-decoration:none; font-weight:bold;}
[data-mm-style="mm-u-0115"]{margin-top:24px; color:#64748b; font-size:13px;}
[data-mm-style="mm-u-0116"]{display:block; width:82px; height:104px; object-fit:cover; border:0; background:#f3f4f6;}
[data-mm-style="mm-u-0117"]{width:82px; height:104px; background:#f3f4f6;}
[data-mm-style="mm-u-0118"]{width:98px; padding:16px 10px 16px 0; border-bottom:1px solid #e5e7eb; vertical-align:top;}
[data-mm-style="mm-u-0119"]{padding:16px 10px; border-bottom:1px solid #e5e7eb; vertical-align:top;}
[data-mm-style="mm-u-0120"]{color:#111111; font-size:16px; font-weight:bold;}
[data-mm-style="mm-u-0121"]{margin-top:6px; color:#6b7280; font-size:13px;}
[data-mm-style="mm-u-0122"]{margin-top:5px; color:#6b7280; font-size:13px;}
[data-mm-style="mm-u-0123"]{padding:16px 0 16px 10px; border-bottom:1px solid #e5e7eb; text-align:right; vertical-align:top; white-space:nowrap; font-weight:bold;}
[data-mm-style="mm-u-0124"]{width:100%; margin-top:20px; border-collapse:collapse;}
[data-mm-style="mm-u-0125"]{padding:7px 0; color:#6b7280;}
[data-mm-style="mm-u-0126"]{padding:7px 0; text-align:right;}
[data-mm-style="mm-u-0127"]{padding:15px 0 0; border-top:2px solid #111111; font-size:20px; font-weight:bold;}
[data-mm-style="mm-u-0128"]{padding:15px 0 0; border-top:2px solid #111111; text-align:right; font-size:20px; font-weight:bold;}
[data-mm-style="mm-u-0129"]{margin:12px 0 0;text-align:center;}
[data-mm-style="mm-u-0130"]{display:inline-block; padding:14px 24px; border:1px solid #111111; background:#ffffff; color:#111111; text-decoration:none; font-size:13px; font-weight:bold; letter-spacing:1px; text-transform:uppercase;}
[data-mm-style="mm-u-0131"]{display:inline-block; padding:14px 24px; background:#111111; color:#ffffff; text-decoration:none; font-size:13px; font-weight:bold; letter-spacing:1px; text-transform:uppercase;}
[data-mm-style="mm-u-0132"]{margin:0; padding:0; background:#f4f4f4; font-family:Arial,sans-serif; color:#111111;}
[data-mm-style="mm-u-0133"]{width:100%; background:#f4f4f4;}
[data-mm-style="mm-u-0134"]{padding:32px 14px;}
[data-mm-style="mm-u-0135"]{width:100%; max-width:680px; margin:auto; background:#ffffff; border-collapse:collapse;}
[data-mm-style="mm-u-0136"]{padding:28px 28px 18px; border-bottom:1px solid #e5e7eb; text-align:center;}
[data-mm-style="mm-u-0137"]{font-family:Georgia,serif; font-size:28px; letter-spacing:3px; text-transform:uppercase;}
[data-mm-style="mm-u-0138"]{margin-top:7px; color:#6b7280; font-size:11px; letter-spacing:2px; text-transform:uppercase;}
[data-mm-style="mm-u-0139"]{padding:30px 28px;}
[data-mm-style="mm-u-0140"]{margin:0 0 14px; font-family:Georgia,serif; font-size:34px; font-weight:normal; line-height:1.2;}
[data-mm-style="mm-u-0141"]{margin:0 0 10px; line-height:1.7;}
[data-mm-style="mm-u-0142"]{margin:0 0 22px; line-height:1.7; color:#4b5563;}
[data-mm-style="mm-u-0143"]{margin-bottom:24px; padding:18px; background:#111111; color:#ffffff;}
[data-mm-style="mm-u-0144"]{font-size:13px; letter-spacing:1px; text-transform:uppercase;}
[data-mm-style="mm-u-0145"]{margin-top:7px; font-family:Georgia,serif; font-size:25px;}
[data-mm-style="mm-u-0146"]{width:100%; border-collapse:collapse;}
[data-mm-style="mm-u-0147"]{margin:30px 0 0; text-align:center;}
[data-mm-style="mm-u-0148"]{margin:12px 0 0; text-align:center;}
[data-mm-style="mm-u-0149"]{padding:20px 28px; border-top:1px solid #e5e7eb; color:#6b7280; text-align:center; font-size:12px; line-height:1.6;}
[data-mm-style="mm-u-0150"]{max-width:840px}
[data-mm-style="mm-u-0151"]{max-width:620px;margin:auto}
[data-mm-style="mm-u-0152"]{margin-top:24px; padding:24px; background:#111; color:#fff; text-align:center;}
[data-mm-style="mm-u-0153"]{font-size:12px; letter-spacing:.12em; text-transform:uppercase;}
[data-mm-style="mm-u-0154"]{margin-top:10px; font-family:Georgia,serif; font-size:48px;}
[data-mm-style="mm-u-0155"]{margin-top:10px;font-size:13px;color:#d1d5db}
[data-mm-style="mm-u-0156"]{margin-top:5px;font-size:13px;color:#d1d5db}
[data-mm-style="mm-u-0157"]{color:#9ca3af;max-width:330px}
[data-mm-style="mm-u-0158"]{height:34px}
[data-mm-style="mm-u-0159"]{display:block;text-decoration:none}
[data-mm-style="mm-u-0160"]{width:100%;height:100%}
[data-mm-style="mm-u-0161"]{text-decoration:none}
[data-mm-style="mm-u-0162"]{position:relative; width:100%; max-width:520px; margin:24px auto;}
[data-mm-style="mm-u-0163"]{margin:0 0 10px; font-family:Georgia,serif; font-size:42px; font-weight:400; line-height:1.1;}
[data-mm-style="mm-u-0164"]{margin:0 0 26px}
[data-mm-style="mm-u-0165"]{margin:0 0 8px}
[data-mm-style="mm-u-0166"]{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}
[data-mm-style="mm-u-0167"]{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}
[data-mm-style="mm-u-0168"]{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:0 0 8px}
[data-mm-style="mm-u-0169"]{display:inline-block;margin:0 0 8px}
[data-mm-style="mm-u-0170"]{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); gap:42px; align-items:start;}
[data-mm-style="mm-u-0171"]{display:grid; grid-template-columns:92px minmax(0,1fr); gap:16px;}
[data-mm-style="mm-u-0172"]{display:grid; gap:12px; align-content:start;}
[data-mm-style="mm-u-0173"]{padding:0; border:1px solid #111; background:#fff; cursor:pointer;}
[data-mm-style="mm-u-0174"]{width:100%; aspect-ratio:3/4; object-fit:cover;}
[data-mm-style="mm-u-0175"]{padding:0; border:1px solid var(--line); background:#fff; cursor:pointer;}
[data-mm-style="mm-u-0176"]{position:relative; overflow:hidden; background:var(--soft);}
[data-mm-style="mm-u-0177"]{width:100%; aspect-ratio:3/4; object-fit:cover; transition:opacity .2s ease;}
[data-mm-style="mm-u-0178"]{width:100%; aspect-ratio:3/4;}
[data-mm-style="mm-u-0179"]{position:sticky; top:110px;}
[data-mm-style="mm-u-0180"]{margin:0 0 10px; font-family:Georgia,serif; font-size:42px; font-weight:400;}
[data-mm-style="mm-u-0181"]{margin:0 0 22px; font-size:25px; font-weight:700;}
[data-mm-style="mm-u-0182"]{margin-right:8px; color:#777; text-decoration:line-through; font-size:18px;}
[data-mm-style="mm-u-0183"]{display:inline-flex; align-items:center; gap:9px; margin-bottom:20px; text-decoration:none;}
[data-mm-style="mm-u-0184"]{color:#111; font-size:18px; letter-spacing:2px;}
[data-mm-style="mm-u-0185"]{margin-bottom:24px; line-height:1.75;}
[data-mm-style="mm-u-0186"]{margin-bottom:22px;}
[data-mm-style="mm-u-0187"]{color:var(--success); font-weight:700;}
[data-mm-style="mm-u-0188"]{color:var(--danger); font-weight:700;}
[data-mm-style="mm-u-0189"]{margin-bottom:12px}
[data-mm-style="mm-u-0190"]{opacity:.5; cursor:not-allowed;}
[data-mm-style="mm-u-0191"]{margin-top:22px; padding-top:20px; border-top:1px solid var(--line);}
[data-mm-style="mm-u-0192"]{margin:0 0 8px; font-size:13px;}
[data-mm-style="mm-u-0193"]{margin:0; font-size:13px;}
[data-mm-style="mm-u-0194"]{display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:24px; align-items:start;}
[data-mm-style="mm-u-0195"]{font-family:Georgia,serif; font-size:58px; line-height:1;}
[data-mm-style="mm-u-0196"]{margin:10px 0; font-size:23px; letter-spacing:3px;}
[data-mm-style="mm-u-0197"]{display:grid; grid-template-columns:45px 1fr 34px; gap:10px; align-items:center; margin-top:9px; font-size:13px;}
[data-mm-style="mm-u-0198"]{height:7px; background:var(--soft); overflow:hidden;}
[data-mm-style="mm-u-0199"]{margin-top:26px; padding-top:22px; border-top:1px solid var(--line);}
[data-mm-style="mm-u-0200"]{font-family:Georgia,serif; font-size:29px; font-weight:400; margin-top:0;}
[data-mm-style="mm-u-0201"]{font-family:Georgia,serif; font-size:30px; font-weight:400;}
[data-mm-style="mm-u-0202"]{padding-bottom:18px; border-bottom:1px solid var(--line);}
[data-mm-style="mm-u-0203"]{display:flex; justify-content:space-between; gap:14px; align-items:flex-start; flex-wrap:wrap;}
[data-mm-style="mm-u-0204"]{font-size:18px; letter-spacing:2px;}
[data-mm-style="mm-u-0205"]{margin:7px 0 4px; font-family:Georgia,serif; font-size:25px; font-weight:400;}
[data-mm-style="mm-u-0206"]{display:inline-block; margin:0; padding:6px 9px; font-size:11px;}
[data-mm-style="mm-u-0207"]{line-height:1.75}
[data-mm-style="mm-u-0208"]{font-size:13px}
[data-mm-style="mm-u-0209"]{width:100%; height:100%;}
[data-mm-style="mm-u-0210"]{font-size:12px; margin:8px 0 0;}
[data-mm-style="mm-u-0211"]{font-family:Georgia,serif; font-size:42px; font-weight:400;}
[data-mm-style="mm-u-0212"]{font-size:52px}
[data-mm-style="mm-u-0213"]{font-family:Georgia,serif; font-size:36px; font-weight:400; margin-top:0;}
[data-mm-style="mm-u-0214"]{padding:20px; border:1px solid var(--line); background:#fff;}
[data-mm-style="mm-u-0215"]{display:flex; justify-content:space-between; gap:18px; align-items:flex-start; flex-wrap:wrap;}
[data-mm-style="mm-u-0216"]{margin:0 0 6px; font-family:Georgia,serif; font-size:26px; font-weight:400;}
[data-mm-style="mm-u-0217"]{display:inline-block; padding:7px 10px; margin:0 0 8px;}
[data-mm-style="mm-u-0218"]{display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px;}
[data-mm-style="mm-u-0219"]{grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom:24px;}
[data-mm-style="mm-u-0220"]{display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:18px;}
[data-mm-style="mm-u-0221"]{font-family:Georgia,serif; font-size:36px; font-weight:400; margin:0;}
[data-mm-style="mm-u-0222"]{display:block; padding:20px; border:1px solid var(--line); background:#fff; color:inherit; text-decoration:none;}
[data-mm-style="mm-u-0223"]{margin:0 0 7px; font-family:Georgia,serif; font-size:26px; font-weight:400;}
[data-mm-style="mm-u-0224"]{font-family:Georgia,serif; font-size:34px; font-weight:400; margin-top:0;}
[data-mm-style="mm-u-0225"]{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:20px;}
[data-mm-style="mm-u-0226"]{font-size:22px; margin-bottom:8px;}
[data-mm-style="mm-u-0227"]{font-size:12px;margin-top:5px}
[data-mm-style="mm-u-0228"]{position:relative}
[data-mm-style="mm-u-0229"]{display:block; text-decoration:none;}
[data-mm-style="mm-u-0230"]{position:absolute; right:12px; top:12px; z-index:5;}

/* Runtime-driven visual values */
[data-mm-swatch]{background:var(--swatch-color)}
.review-distribution-fill{height:100%;background:#111}

/* Product gallery: one primary image with compact selectable thumbnails. */
.product-gallery{display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;align-items:start}
.product-thumbnails{display:grid;gap:12px;align-content:start}
.gallery-thumbnail{display:block;width:92px;padding:0;border:1px solid var(--line);background:#fff;cursor:pointer;overflow:hidden}
.gallery-thumbnail.active{border-color:#111}
.gallery-thumbnail img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.product-main-image{position:relative;overflow:hidden;background:var(--soft)}
.product-main-image>img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;transition:opacity .2s ease}
@media(max-width:600px){
    .product-gallery{grid-template-columns:1fr}
    .product-main-image{grid-row:1}
    .product-thumbnails{grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));overflow-x:auto}
    .gallery-thumbnail{width:100%}
}

/* Dynamic state classes replacing page-level inline styles. */
.tracking-step{padding:18px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;text-align:center}
.tracking-step.is-complete{border-color:#111;background:#111;color:#fff}
.support-message{padding:18px;border:1px solid var(--line);background:#fff}
.support-message.is-admin{background:#f5f5f3}

/* Grouped storefront navigation */
.main-nav{justify-content:flex-end}
.nav-groups{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.nav-dropdown{position:relative}
.nav-dropdown summary{display:flex;align-items:center;gap:7px;min-height:42px;padding:9px 14px;border:1px solid transparent;border-radius:999px;cursor:pointer;list-style:none;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.nav-dropdown summary::-webkit-details-marker{display:none}
.nav-dropdown summary::after{content:'⌄';font-size:13px;line-height:1;transform:translateY(-1px)}
.nav-dropdown[open] summary,.nav-dropdown summary:hover{border-color:var(--line);background:var(--soft)}
.nav-dropdown-menu{position:absolute;top:calc(100% + 10px);left:0;z-index:1100;display:grid;min-width:220px;padding:8px;border:1px solid var(--line);background:#fff;box-shadow:0 18px 45px rgba(17,17,17,.12)}
.nav-dropdown:not([open]) .nav-dropdown-menu{display:none}
.nav-dropdown-menu-right{right:0;left:auto}
.nav-dropdown-menu a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.nav-dropdown-menu a:hover{background:var(--soft);opacity:1}
.nav-dropdown-menu a span,.nav-dropdown-menu a strong{color:#b42318}
.nav-alert-dot{width:8px;height:8px;border-radius:50%;background:#b42318;box-shadow:0 0 0 3px #fee2e2}
.header-bag{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:9px 16px;border:1px solid #111;border-radius:999px;background:#111;color:#fff;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.header-bag:hover{background:#333;opacity:1}
.header-bag span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff;color:#111;font-size:10px}
@media(max-width:1120px){
    .nav-groups{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
    .nav-dropdown{width:100%}
    .nav-dropdown summary{justify-content:space-between;width:100%;border-color:var(--line);border-radius:0;background:#fff}
    .nav-dropdown-menu,.nav-dropdown-menu-right{position:static;min-width:0;margin-top:6px;box-shadow:none}
    .header-bag{justify-content:center;width:100%;border-radius:0}
}

/* Customer support center */
.support-page .page-header{padding:28px;border:1px solid var(--line);background:#111;color:#fff}
.support-page .page-header .muted{color:#d1d5db}
.support-page .page-header .btn-outline{border-color:#fff;color:#fff}
.support-page .page-header .btn-outline:hover{background:#fff;color:#111}
.support-card{margin-bottom:20px;padding:28px;border-color:#deded9;box-shadow:0 10px 30px rgba(17,17,17,.05)}
.support-card>h2{margin:0 0 22px;font-family:Georgia,serif;font-size:36px;font-weight:400}
.support-card .form-grid{margin-bottom:4px}
.support-card input[type="file"]{padding:9px;background:var(--soft)}
.support-ticket-list{display:grid;gap:12px}
.support-ticket-card{display:block;padding:20px;border:1px solid var(--line);background:#fafaf8;color:inherit;text-decoration:none;transition:.18s ease}
.support-ticket-card:hover{border-color:#111;background:#fff;box-shadow:0 8px 24px rgba(17,17,17,.06);transform:translateY(-1px)}
.support-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.support-ticket-card h3{margin:0 0 7px;font-family:Georgia,serif;font-size:27px;font-weight:400}
.support-history .empty-state{padding:38px 20px}
@media(max-width:650px){.support-page .page-header,.support-card{padding:20px}.support-ticket-head{display:grid}.support-ticket-card{padding:17px}}

/* Admin customer support */
body.admin-page .admin-support-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:22px 0}
body.admin-page .admin-support-metrics .metric{padding:18px;border:1px solid var(--admin-line);border-radius:12px;background:#fff;box-shadow:var(--admin-shadow)}
body.admin-page .admin-support-metrics .metric-label{color:var(--admin-muted);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
body.admin-page .admin-support-metrics .metric-value{margin-top:8px;font-size:28px;font-weight:800}
body.admin-page .admin-support-filter{margin-bottom:16px;padding:18px}
body.admin-page .admin-support-filter form{max-width:340px}
body.admin-page .admin-support-list{padding:0;overflow:hidden}
body.admin-page .admin-support-table th{background:#111;color:#fff}
body.admin-page .admin-support-table td{background:#fff}
body.admin-page .admin-support-table tr:hover td{background:#fafafa}
body.admin-page .admin-ticket-status{display:inline-flex;padding:6px 9px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
body.admin-page .admin-ticket-status.alert-success{border-color:#bbf7d0;background:#effcf3;color:#166534}
body.admin-page .admin-ticket-status.alert-error{border-color:#fecaca;background:#fff2f0;color:#8a1c13}
body.admin-page .admin-ticket-status.alert-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}
body.admin-page .badge-danger{background:#fee2e2;color:#991b1b}
body.admin-page .badge-warning{background:#fef3c7;color:#92400e}
body.admin-page .badge-muted{background:#f3f4f6;color:#4b5563}
body.admin-page .badge-success{background:#dcfce7;color:#166534}
body.admin-page .admin-support-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);gap:22px;align-items:start}
body.admin-page .admin-support-conversation,body.admin-page .admin-support-sidebar{display:grid;gap:18px}
body.admin-page .admin-support-message{padding:18px;border:1px solid var(--admin-line);border-radius:10px;background:#fff}
body.admin-page .admin-support-message.is-internal{border-color:#fde68a;background:#fffbeb}
body.admin-page .admin-support-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 24px;background:#fef3c7;color:#78350f;border-bottom:1px solid #fcd34d;text-decoration:none}
body.admin-page .admin-support-banner strong{font-size:13px;text-transform:uppercase;letter-spacing:.06em}
body.admin-page .admin-support-banner span{font-size:12px}
body.admin-page .admin-nav a:has(.admin-unread-count){display:flex;align-items:center;justify-content:space-between;gap:10px}
body.admin-page .admin-unread-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:10px;font-weight:800}
@media(max-width:1200px){body.admin-page .admin-support-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){body.admin-page .admin-support-metrics{grid-template-columns:repeat(2,1fr)}body.admin-page .admin-support-detail-layout{grid-template-columns:1fr}}
@media(max-width:650px){body.admin-page .admin-support-banner{align-items:flex-start;flex-direction:column}}

/* Reliable full-width storefront menu */
.site-header .header-row{position:relative;grid-template-columns:1fr auto 1fr;min-height:78px;padding:0}
.site-header .brand{grid-column:2;justify-self:center}
.header-controls{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:9px}
.site-header .menu-toggle{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.site-header .menu-toggle:hover{background:var(--soft)}
.site-header .main-nav{position:absolute;left:0;right:0;top:100%;z-index:1200;display:none;max-height:calc(100vh - 100px);overflow-y:auto;padding:22px;border:1px solid var(--line);background:#fff;box-shadow:0 22px 48px rgba(17,17,17,.13)}
.site-header .main-nav.open{display:block}
.mega-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.mega-menu-group{display:grid;align-content:start;gap:3px;min-width:0}
.mega-menu-group p{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid var(--line);font-family:Georgia,serif;font-size:21px}
.mega-menu-group a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;color:#222;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.mega-menu-group a:hover{background:var(--soft);opacity:1}
.mega-menu-group a span,.mega-menu-group a strong{color:#b42318}
@media(max-width:760px){
    .site-header .header-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}
    .site-header .brand{grid-column:1;justify-self:start;font-size:20px}
    .header-controls{grid-column:2}
    .header-controls .header-bag{padding-inline:12px}
    .site-header .menu-toggle span{display:none}
    .site-header .main-nav{left:-18px;right:-18px;padding:18px}
    .mega-menu{grid-template-columns:1fr;gap:20px}
}

/* Publish 28: restored compact dropdown with smaller type. */
body.navigation-open{overflow:auto}
body.navigation-open::before{display:none}
.site-header .main-nav[data-main-nav]{position:absolute;top:calc(100% + 10px);right:0;bottom:auto;left:auto;z-index:1200;display:none;width:min(720px,calc(100vw - 36px));height:auto;max-height:calc(100vh - 120px);margin:0;padding:20px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--line);background:#fff;box-shadow:0 18px 45px rgba(17,17,17,.13);visibility:visible;opacity:1;transform:none;transition:none}
.site-header .main-nav[data-main-nav].open{display:block;visibility:visible;opacity:1;transform:none}
.site-header .main-nav[data-main-nav] .menu-drawer-head{display:none}
.site-header .main-nav[data-main-nav] .mega-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin:0;padding:0}
.site-header .main-nav[data-main-nav] .mega-menu-group{display:block;min-width:0;margin:0;padding:0;border:0}
.site-header .main-nav[data-main-nav] .mega-menu-group p{margin:0 0 7px;padding:0 0 7px;border:0;border-bottom:1px solid var(--line);color:#777;font-family:Arial,sans-serif;font-size:9px;font-weight:800;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.site-header .main-nav[data-main-nav] .mega-menu-group a{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:32px;margin:0;padding:6px 5px;border:0;background:transparent;color:#171717;font-family:Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.25;letter-spacing:.02em;text-transform:none;white-space:normal;text-decoration:none}
.site-header .main-nav[data-main-nav] .mega-menu-group a:hover{padding-left:8px;background:var(--soft)}
.site-header .main-nav[data-main-nav] .mega-menu-group a span,.site-header .main-nav[data-main-nav] .mega-menu-group a strong{flex:0 0 auto;margin-left:4px;color:#991b1b;font-size:10px}
@media(max-width:700px){
    .site-header .main-nav[data-main-nav]{right:-18px;width:calc(100vw - 20px);padding:16px}
    .site-header .main-nav[data-main-nav] .mega-menu{grid-template-columns:1fr;gap:14px}
    .site-header .main-nav[data-main-nav] .mega-menu-group{padding-bottom:12px;border-bottom:1px solid var(--line)}
    .site-header .main-nav[data-main-nav] .mega-menu-group:last-child{padding-bottom:0;border-bottom:0}
    .site-header .main-nav[data-main-nav] .mega-menu-group a{font-size:12px}
}

/* Publish 29: compatibility for the original flat header still used by some pages. */
.site-header .main-nav[data-main-nav].open:has(>a){display:flex!important;align-items:center!important;align-content:flex-start!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:4px 12px!important;width:min(720px,calc(100vw - 28px))!important;min-height:118px!important;padding:17px 18px 60px!important}
.site-header .main-nav[data-main-nav]>a{display:inline-flex!important;align-items:center!important;width:auto!important;min-height:30px!important;margin:0!important;padding:5px 4px!important;border:0!important;background:transparent!important;color:#171717!important;font-family:Arial,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.25!important;letter-spacing:.025em!important;text-transform:none!important;white-space:nowrap!important;text-decoration:none!important}
.site-header .main-nav[data-main-nav]>a:hover{background:var(--soft)!important}
body.navigation-open .site-header .header-actions{position:absolute!important;right:18px!important;bottom:auto!important;top:calc(100% + 62px)!important;z-index:1300!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important}
body.navigation-open .site-header .header-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:34px!important;margin:0!important;padding:7px 10px!important;border:1px solid var(--line)!important;background:#fff!important;color:#171717!important;font-family:Arial,sans-serif!important;font-size:10px!important;font-weight:700!important;line-height:1!important;letter-spacing:.02em!important;text-transform:none!important;white-space:nowrap!important;text-decoration:none!important}
body.navigation-open .site-header .header-actions>a.cart-pill{border-color:#111!important;border-radius:999px!important;background:#111!important;color:#fff!important;padding-inline:13px!important}
body.navigation-open .site-header .header-actions .cart-count{font-size:10px!important}
@media(max-width:700px){
    .site-header .main-nav[data-main-nav].open:has(>a){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px 8px!important;min-height:0!important;padding:15px 15px 72px!important}
    .site-header .main-nav[data-main-nav]>a{width:100%!important;white-space:normal!important}
    body.navigation-open .site-header .header-actions{right:15px!important;left:15px!important;top:calc(100% + 170px)!important;justify-content:flex-start!important}
}

/* Publish 30: one flat menu, no nested groups. */
.site-header .main-nav[data-main-nav].open:has(>a){display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:4px 10px!important;width:min(700px,calc(100vw - 28px))!important;min-height:0!important;padding:14px 16px!important}
.site-header .main-nav[data-main-nav]>a{flex:0 0 auto!important;min-height:30px!important;padding:6px 7px!important;font-size:11px!important;font-weight:700!important}
.site-header .main-nav[data-main-nav]>a span,.site-header .main-nav[data-main-nav]>a strong{margin-left:3px!important;font-size:10px!important;color:#991b1b!important}
@media(max-width:700px){
    .site-header .main-nav[data-main-nav].open:has(>a){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px 8px!important;padding:14px!important}
    .site-header .main-nav[data-main-nav]>a{width:100%!important;white-space:normal!important}
}

/* Publish 31: always-visible navigation beside the brand, arranged in two rows. */
.site-header .header-row.flat-site-navigation{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:22px!important;min-height:104px!important;padding:16px 0!important}
.site-header .flat-site-navigation .brand{position:static!important;grid-column:1!important;justify-self:start!important;margin:0!important;font-size:27px!important;line-height:1!important;white-space:nowrap!important}
.site-header .flat-site-navigation .main-nav{position:static!important;inset:auto!important;grid-column:2!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-items:center!important;gap:4px 7px!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;transform:none!important;transition:none!important}
.site-header .flat-site-navigation .main-nav>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:6px 5px!important;border:0!important;background:transparent!important;color:#222!important;font-family:Arial,sans-serif!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.015em!important;text-align:center!important;text-transform:none!important;white-space:normal!important;text-decoration:none!important}
.site-header .flat-site-navigation .main-nav>a:hover{background:var(--soft)!important}
.site-header .flat-site-navigation .main-nav>a.customer-inbox-link{color:#8f1d1d!important}
.site-header .flat-site-navigation .main-nav>a.header-bag{gap:6px!important;border-radius:999px!important;background:#111!important;color:#fff!important;white-space:nowrap!important}
.site-header .flat-site-navigation .header-bag span{display:grid!important;place-items:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;background:#fff!important;color:#111!important;font-size:9px!important}
.site-header .flat-site-navigation .menu-toggle,.site-header .flat-site-navigation .header-controls{display:none!important}
@media(max-width:900px){
    .site-header .header-row.flat-site-navigation{grid-template-columns:180px minmax(0,1fr)!important;gap:14px!important;padding-inline:14px!important}
    .site-header .flat-site-navigation .brand{font-size:21px!important}
    .site-header .flat-site-navigation .main-nav>a{font-size:9px!important;padding-inline:2px!important}
}
@media(max-width:650px){
    .site-header .header-row.flat-site-navigation{grid-template-columns:1fr!important;gap:12px!important;padding:16px!important}
    .site-header .flat-site-navigation .brand{grid-column:1!important;justify-self:center!important;font-size:23px!important}
    .site-header .flat-site-navigation .main-nav{grid-column:1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
    .site-header .flat-site-navigation .main-nav>a{font-size:10px!important}
}

/* Publish 32: storefront header scrolls normally with the page. */
.site-header{position:static!important;top:auto!important;z-index:auto!important}

/* Publish 33: compact product search inside the visible navigation. */
.site-header .flat-site-navigation .header-search{grid-column:span 2;display:grid;grid-template-columns:minmax(90px,1fr) auto;align-items:center;width:100%;min-width:0;margin:0}
.site-header .flat-site-navigation .header-search input{width:100%;height:34px;min-width:0;padding:7px 10px;border:1px solid var(--line);border-right:0;border-radius:0;background:#fff;color:#171717;font-size:11px;outline:none}
.site-header .flat-site-navigation .header-search input:focus{border-color:#111}
.site-header .flat-site-navigation .header-search button{height:34px;padding:0 11px;border:1px solid #111;border-radius:0;background:#111;color:#fff;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}
.site-header .flat-site-navigation .header-search button:hover{background:#333}
@media(max-width:650px){
    .site-header .flat-site-navigation .header-search{grid-column:span 2}
}

/* Publish 34: balanced logo, links and search. */
.site-header .header-row.flat-site-navigation{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;align-items:center!important;gap:28px!important;width:min(calc(100% - 40px),1400px)!important;min-height:128px!important;margin:0 auto!important;padding:20px 0!important}
.site-header .flat-site-navigation .brand{position:static!important;grid-column:1!important;align-self:center!important;justify-self:start!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;color:#171717!important;font-family:Georgia,serif!important;font-size:24px!important;font-weight:700!important;line-height:1.1!important;letter-spacing:.12em!important;text-align:left!important;white-space:nowrap!important;transform:none!important}
.site-header .flat-site-navigation .main-nav{position:static!important;grid-column:2!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;align-items:center!important;gap:7px 10px!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
.site-header .flat-site-navigation .main-nav>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:35px!important;margin:0!important;padding:7px 4px!important;border:0!important;background:transparent!important;color:#222!important;font-family:Arial,sans-serif!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:0!important;text-align:center!important;text-transform:none!important;white-space:normal!important}
.site-header .flat-site-navigation .main-nav>a:hover{background:#f5f5f3!important}
.site-header .flat-site-navigation .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header .flat-site-navigation .header-search{grid-column:span 2!important;display:grid!important;grid-template-columns:minmax(0,1fr) 62px!important;align-items:center!important;width:100%!important;height:35px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #cfcfca!important;background:#fff!important}
.site-header .flat-site-navigation .header-search input{display:block!important;width:100%!important;height:33px!important;min-width:0!important;margin:0!important;padding:6px 9px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#171717!important;font-size:10px!important;line-height:1!important;outline:0!important}
.site-header .flat-site-navigation .header-search button{display:block!important;width:62px!important;height:35px!important;margin:-1px -1px -1px 0!important;padding:0 7px!important;border:0!important;border-radius:0!important;background:#111!important;color:#fff!important;font-size:8px!important;font-weight:800!important;line-height:1!important;letter-spacing:.04em!important;text-transform:uppercase!important}
.site-header .flat-site-navigation .main-nav>a.header-bag{min-height:35px!important;border-radius:999px!important;background:#111!important;color:#fff!important;font-size:10px!important;white-space:nowrap!important}
@media(max-width:1050px){
    .site-header .header-row.flat-site-navigation{grid-template-columns:205px minmax(0,1fr)!important;gap:18px!important}
    .site-header .flat-site-navigation .brand{font-size:20px!important;letter-spacing:.08em!important}
    .site-header .flat-site-navigation .main-nav{gap:5px!important}
    .site-header .flat-site-navigation .main-nav>a{font-size:9px!important;padding-inline:2px!important}
}
@media(max-width:700px){
    .site-header .header-row.flat-site-navigation{grid-template-columns:1fr!important;gap:14px!important;width:min(calc(100% - 28px),1400px)!important;padding:17px 0!important}
    .site-header .flat-site-navigation .brand{grid-column:1!important;justify-self:center!important;font-size:22px!important}
    .site-header .flat-site-navigation .main-nav{grid-column:1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
    .site-header .flat-site-navigation .main-nav>a{font-size:10px!important}
    .site-header .flat-site-navigation .header-search{grid-column:span 2!important}
}

/* Publish 35: marketplace-style two-level header. */
.announcement{background:#ece8df;color:#171717;font-size:10px;font-weight:700}
.site-header{position:static!important;border:0!important;background:#111!important;backdrop-filter:none!important}
.amazon-style-header{width:100%;background:#111;color:#fff}
.amazon-primary-row{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:22px;min-height:78px;padding:13px 0}
.amazon-primary-row .brand{position:static!important;display:block!important;grid-column:auto!important;margin:0!important;padding:0!important;color:#fff!important;font-family:Georgia,serif!important;font-size:23px!important;font-weight:700!important;line-height:1!important;letter-spacing:.1em!important;text-decoration:none!important;white-space:nowrap!important}
.amazon-primary-row .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.amazon-primary-row .header-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;height:42px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:5px!important;background:#fff!important}
.amazon-primary-row .header-search:focus-within{box-shadow:0 0 0 3px #b08d57}
.amazon-primary-row .header-search input{display:block!important;width:100%!important;height:42px!important;min-width:0!important;margin:0!important;padding:9px 13px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#171717!important;font-size:13px!important;outline:0!important}
.amazon-primary-row .header-search button{display:block!important;width:auto!important;height:42px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:0!important;background:#b08d57!important;color:#fff!important;font-size:10px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;cursor:pointer!important}
.amazon-primary-row .header-search button:hover{background:#967443!important}
.customer-quick-links{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}
.customer-quick-links>a{display:flex;flex-direction:column;justify-content:center;min-height:46px;padding:6px 9px;border:1px solid transparent;border-radius:3px;color:#fff;text-decoration:none}
.customer-quick-links>a:hover{border-color:#777}
.customer-quick-links small{color:#d5d5d5;font-size:9px;line-height:1.1}
.customer-quick-links a>span{font-size:11px;font-weight:800;line-height:1.25}
.customer-quick-links .customer-inbox-link span{color:#f0c987}
.customer-quick-links>a.header-bag{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;min-height:46px!important;padding:6px 11px!important;border:1px solid transparent!important;border-radius:3px!important;background:transparent!important;color:#fff!important;font-size:12px!important;font-weight:800!important}
.customer-quick-links .header-bag span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#b08d57;color:#fff;font-size:10px}
.amazon-category-row{width:100%;background:#262626;color:#fff}
.amazon-category-row .container{display:flex;align-items:center;gap:5px;min-height:39px;overflow-x:auto;scrollbar-width:none}
.amazon-category-row .container::-webkit-scrollbar{display:none}
.amazon-category-row a{display:flex;align-items:center;min-height:31px;padding:6px 10px;border:1px solid transparent;border-radius:3px;color:#fff;font-size:10px;font-weight:700;letter-spacing:.02em;text-decoration:none;white-space:nowrap}
.amazon-category-row a:hover{border-color:#aaa}
@media(max-width:980px){
    .amazon-primary-row{grid-template-columns:auto minmax(180px,1fr);gap:12px}
    .customer-quick-links{grid-column:1/-1;justify-content:center;border-top:1px solid #333;padding-top:8px}
}
@media(max-width:620px){
    .amazon-primary-row{grid-template-columns:1fr;padding:15px 0}
    .amazon-primary-row .brand{justify-self:center!important;font-size:22px!important}
    .amazon-primary-row .header-search{grid-row:2}
    .customer-quick-links{grid-column:1;grid-row:3;justify-content:flex-start;overflow-x:auto}
    .customer-quick-links>a{padding-inline:8px}
    .amazon-category-row .container{padding-block:3px}
}

/* Publish 36: Modern Moda light marketplace theme. */
.announcement{background:#111!important;color:#fff!important;border:0!important}
.site-header{background:#fff!important;border-bottom:1px solid #deded9!important;color:#171717!important}
.amazon-style-header{background:#fff!important;color:#171717!important}
.amazon-primary-row{min-height:86px!important}
.amazon-primary-row .brand{color:#171717!important;font-size:24px!important;letter-spacing:.13em!important}
.amazon-primary-row .header-search{border:1px solid #cfcac0!important;border-radius:0!important;background:#fff!important}
.amazon-primary-row .header-search:focus-within{box-shadow:0 0 0 2px #b08d57!important}
.amazon-primary-row .header-search button{background:#171717!important;color:#fff!important}
.amazon-primary-row .header-search button:hover{background:#b08d57!important}
.customer-quick-links>a{color:#171717!important}
.customer-quick-links>a:hover{border-color:#cfcac0!important;background:#f7f5f0!important}
.customer-quick-links small{color:#777!important}
.customer-quick-links .customer-inbox-link span{color:#8f1d1d!important}
.customer-quick-links>a.header-bag{border-color:#171717!important;border-radius:0!important;background:#171717!important;color:#fff!important}
.customer-quick-links .header-bag span{background:#fff!important;color:#171717!important}
.amazon-category-row{border-top:1px solid #e0ddd6!important;border-bottom:1px solid #e0ddd6!important;background:#f3f0e9!important;color:#171717!important}
.amazon-category-row a{color:#171717!important;font-size:10px!important;letter-spacing:.035em!important;text-transform:uppercase!important}
.amazon-category-row a:hover{border-color:#b9b3a7!important;background:#fff!important}
.amazon-category-row a.account-link-start{margin-left:auto;border-left:1px solid #cfcac0!important;border-radius:0!important;padding-left:18px!important}
.amazon-category-row a.customer-inbox-link{color:#8f1d1d!important}
@media(max-width:980px){
    .customer-quick-links{border-top-color:#e0ddd6!important}
}

/* Publish 37: compact storefront product controls. */
.product-card .product-form{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;margin:14px 0 0!important;padding:0!important}
.product-card .product-form .qty{display:block!important;width:58px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:6px 5px!important;border:1px solid #cfcac0!important;border-radius:0!important;background:#fff!important;color:#171717!important;font-size:13px!important;line-height:1!important;text-align:center!important}
.product-card .product-form .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:8px 14px!important;border:1px solid #171717!important;border-radius:0!important;background:#171717!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1.1!important;letter-spacing:.07em!important;text-transform:uppercase!important;box-shadow:none!important;transform:none!important}
.product-card .product-form .btn:hover{border-color:#b08d57!important;background:#b08d57!important;color:#fff!important;transform:none!important}
@media(max-width:480px){
    .product-card .product-form{grid-template-columns:52px minmax(0,1fr)!important;gap:7px!important}
    .product-card .product-form .qty{width:52px!important}
    .product-card .product-form .btn{padding-inline:9px!important;font-size:9px!important}
}

/* Publish 39: normalize storefront canvas and align the hero with the header. */
body:not(.admin-page){display:block!important;place-items:initial!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow-x:hidden!important;background:#fff!important;color:#171717!important}
.site-header .container,.hero{width:min(calc(100% - 36px),var(--container))!important;margin-right:auto!important;margin-left:auto!important}
.hero{display:grid!important;align-items:center!important;min-height:460px!important;padding:52px 0!important;background-position:center!important}
.hero .hero-content{width:100%!important;max-width:760px!important;margin:0!important;padding:0 48px!important}
.hero h1{max-width:720px!important;font-size:clamp(44px,6vw,72px)!important;line-height:1.02!important}
.hero p{max-width:520px!important;margin:18px 0 24px!important;font-size:16px!important}
.hero .btn{display:inline-flex!important;width:auto!important;min-height:44px!important;padding:10px 18px!important;border:1px solid #fff!important;border-radius:0!important;background:#fff!important;color:#171717!important;font-size:10px!important;font-weight:800!important;letter-spacing:.09em!important;box-shadow:none!important;transform:none!important}
.hero .btn:hover{border-color:#b08d57!important;background:#b08d57!important;color:#fff!important;transform:none!important}
@media(max-width:700px){
    .site-header .container,.hero{width:min(calc(100% - 24px),var(--container))!important}
    .hero{min-height:380px!important;padding:38px 0!important}
    .hero .hero-content{padding:0 24px!important}
    .hero h1{font-size:clamp(40px,13vw,58px)!important}
    .hero p{font-size:14px!important}
}

/* Publish 40: clearer storefront navigation type. */
.site-header .flat-site-navigation .main-nav>a{font-size:12px!important;font-weight:750!important}
.amazon-category-row a{font-size:12px!important;font-weight:750!important}
.customer-quick-links small{font-size:10px!important}
.customer-quick-links a>span{font-size:12px!important}
.customer-quick-links>a.header-bag{font-size:12px!important}
@media(max-width:1050px){
    .site-header .flat-site-navigation .main-nav>a,.amazon-category-row a{font-size:11px!important}
}
@media(max-width:700px){
    .site-header .flat-site-navigation .main-nav>a,.amazon-category-row a{font-size:11px!important}
}

/* Publish 41: larger navigation text. */
.site-header .flat-site-navigation .main-nav>a,.amazon-category-row a{font-size:14px!important}
.customer-quick-links small{font-size:11px!important}
.customer-quick-links a>span,.customer-quick-links>a.header-bag{font-size:14px!important}
@media(max-width:1050px){
    .site-header .flat-site-navigation .main-nav>a,.amazon-category-row a{font-size:13px!important}
    .customer-quick-links a>span,.customer-quick-links>a.header-bag{font-size:13px!important}
}
@media(max-width:700px){
    .site-header .flat-site-navigation .main-nav>a,.amazon-category-row a{font-size:12px!important}
    .customer-quick-links a>span,.customer-quick-links>a.header-bag{font-size:12px!important}
}

/* Publish 43: active promotion pricing. */
.product-price-original{margin-right:7px;color:#777!important;font-size:.78em!important;font-weight:500!important;text-decoration:line-through!important}
.product-price-sale{color:#991b1b!important;font-weight:800!important}
.promotion-total{color:#166534!important}

/* Publish 45: require variant choices before adding to the bag. */
#addToBagButton:disabled{border-color:#c9c9c5!important;background:#e7e7e3!important;color:#777!important;cursor:not-allowed!important;opacity:1!important}
.product-card .product-options-button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;margin:14px 0 0!important;padding:8px 14px!important;border:1px solid #171717!important;border-radius:0!important;background:#fff!important;color:#171717!important;font-size:10px!important;font-weight:800!important;letter-spacing:.07em!important;text-decoration:none!important}
.product-card .product-options-button:hover{background:#171717!important;color:#fff!important}

/* Publish 46: newsletter signup. */
.newsletter-signup{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);align-items:end;gap:36px;margin-bottom:48px;padding:36px 0;border-bottom:1px solid #deded9}
.newsletter-signup h2{max-width:650px;margin:0 0 10px;font-family:Georgia,serif;font-size:clamp(28px,4vw,44px);font-weight:400;line-height:1.08}
.newsletter-signup p{margin:0;color:#666}
.newsletter-signup form{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}
.newsletter-signup input{height:46px;min-width:0;padding:10px 13px;border:1px solid #999;border-right:0;border-radius:0;background:#fff;color:#171717;outline:0}
.newsletter-signup input:focus{border-color:#171717}
.newsletter-signup button{height:46px;padding:0 18px;border:1px solid #171717;border-radius:0;background:#171717;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.newsletter-signup button:hover{background:#b08d57;border-color:#b08d57}
.newsletter-signup .newsletter-message{grid-column:1/-1;margin-top:12px;font-weight:700}
.newsletter-message.is-success{color:#166534}.newsletter-message.is-error{color:#991b1b}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.newsletter-signup{grid-template-columns:1fr;gap:22px;padding:28px 0}.newsletter-signup form{grid-template-columns:1fr}.newsletter-signup input{border-right:1px solid #999}.newsletter-signup button{width:100%}}

/* Publish 55: newsletter invitation after login and registration choice. */
body.newsletter-popup-open{overflow:hidden}
.newsletter-popup-backdrop{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(17,17,17,.58);backdrop-filter:blur(3px)}
.newsletter-popup-backdrop.is-visible{display:flex}
.newsletter-popup-card{position:relative;width:min(100%,520px);padding:44px;background:#fff;border:1px solid #d8d2c8;box-shadow:0 24px 70px rgba(0,0,0,.2);text-align:center}
.newsletter-popup-card h2{margin:8px auto 16px;font-family:Georgia,serif;font-size:clamp(32px,5vw,48px);font-weight:400;line-height:1.05}
.newsletter-popup-card>p:not(.eyebrow){max-width:410px;margin:0 auto 26px;color:#666;line-height:1.65}
.newsletter-popup-card form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.newsletter-popup-card button{min-height:48px;padding:12px 18px;border:1px solid #171717;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.newsletter-popup-subscribe{background:#171717;color:#fff}
.newsletter-popup-subscribe:hover{background:#b08d57;border-color:#b08d57}
.newsletter-popup-later{background:#fff;color:#171717}
.newsletter-popup-card>small{display:block;margin-top:18px;color:#777}
.newsletter-popup-close{position:absolute;top:12px;right:14px;width:38px;min-height:38px!important;padding:0!important;border:0!important;background:transparent!important;color:#171717!important;font-size:28px!important;font-weight:400!important;line-height:1}
.registration-newsletter-choice{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:12px;padding:16px;border:1px solid #d8d2c8;background:#f8f6f2;cursor:pointer}
.registration-newsletter-choice input{width:18px;height:18px;margin:2px 0 0;accent-color:#171717}
.registration-newsletter-choice span{display:grid;gap:5px}
.registration-newsletter-choice small{color:#666;font-weight:400;line-height:1.5}
@media(max-width:560px){.newsletter-popup-card{padding:38px 22px 28px}.newsletter-popup-card form{grid-template-columns:1fr}}

/* Publish 58: simplified and logically ordered storefront navigation. */
.amazon-primary-row{grid-template-columns:auto minmax(260px,1fr) auto!important}
.customer-quick-links{min-width:max-content}
@media(max-width:900px){.amazon-category-row a.account-link-start{margin-left:0}.amazon-category-row .container{justify-content:flex-start}}

/* Publish 59: compact single-line navigation with visible logout. */
.amazon-primary-row{min-height:92px!important;padding:14px 0!important}
.amazon-category-row .container{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;width:min(calc(100% - 24px),1600px)!important;min-height:58px!important;padding:6px 0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
.amazon-category-row a{flex:0 0 auto!important;min-height:36px!important;padding:7px 9px!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important}
.amazon-category-row a.account-link-start{margin-left:8px!important;padding-left:14px!important}
.amazon-category-row a.logout-link{padding-right:4px!important}
@media(max-width:1100px){.amazon-category-row .container{justify-content:flex-start!important}.amazon-category-row a{padding-inline:7px!important;font-size:10px!important}.amazon-category-row a.account-link-start{margin-left:4px!important;padding-left:10px!important}}

/* Publish 60: remove inherited container margins from both header rows. */
.site-header .amazon-primary-row,.site-header .amazon-category-row .container{margin-top:0!important;margin-bottom:0!important}
.amazon-primary-row{min-height:72px!important;padding:9px 0!important}
.amazon-category-row .container{min-height:46px!important;padding:3px 0!important}
.amazon-category-row a{min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important}

/* Publish 61: only the compact navigation row remains sticky. */
.site-header{position:static!important;z-index:auto!important}
.amazon-category-row{position:relative!important;top:auto!important;z-index:1100!important;box-shadow:0 2px 8px rgba(17,17,17,.06)}
.amazon-category-row .container{margin:0 auto!important}
.amazon-category-row.is-fixed{position:fixed!important;top:0!important;right:0!important;left:0!important;width:100%!important}
.sticky-navigation-placeholder{display:block;width:100%;height:0}

/* Publish 49: admin newsletter product picker. */
body.admin-page .newsletter-product-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:420px;padding:10px;overflow:auto;border:1px solid #d8d8d3;background:#fafaf8}
body.admin-page .newsletter-product-choice{position:relative;display:grid;grid-template-columns:22px 72px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #e1e1dc;background:#fff;cursor:pointer}
body.admin-page .newsletter-product-choice:has(input:checked){border-color:#111;background:#f2efe8}
body.admin-page .newsletter-product-choice input{margin:0}
body.admin-page .newsletter-product-choice>img,body.admin-page .newsletter-product-placeholder{display:grid;place-items:center;width:72px;height:82px;border:1px solid #e1e1dc;background:#f3f1ec;object-fit:cover;color:#777;font-size:9px;text-align:center}
body.admin-page .newsletter-product-choice span{display:grid;gap:3px}
body.admin-page .newsletter-product-choice small{color:#777}
body.admin-page .newsletter-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.admin-page .newsletter-mode-grid label{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 12px;border:1px solid #d8d8d3;background:#fff;cursor:pointer}
body.admin-page .newsletter-mode-grid label:has(input:checked){border-color:#111;background:#f2efe8;font-weight:800}
body.admin-page [hidden]{display:none!important}
@media(max-width:700px){body.admin-page .newsletter-product-picker{grid-template-columns:1fr}}
@media(max-width:850px){body.admin-page .newsletter-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body.admin-page .newsletter-product-choice{grid-template-columns:20px 58px minmax(0,1fr)}body.admin-page .newsletter-product-choice>img,body.admin-page .newsletter-product-placeholder{width:58px;height:68px}}
/* Modern Moda wishlist page */
.wishlist-page {
    padding: 56px 0 80px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.wishlist-page *,
.wishlist-page *::before,
.wishlist-page *::after {
    box-sizing: border-box;
}

.wishlist-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line, #e7e7e7);
}

.wishlist-page .eyebrow {
    margin: 0 0 8px;
    color: #8b6b3f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.wishlist-page .page-title {
    margin: 0 0 8px;
    color: var(--ink, #111);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.05;
}

.wishlist-page .muted {
    margin: 0;
    color: var(--muted, #6b7280);
    font-size: 14px;
}

.wishlist-alert {
    margin-bottom: 26px;
    padding: 14px 18px;
    border: 1px solid #bfd3c4;
    background: #edf5ef;
    color: #245c31;
    font-size: 14px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.wishlist-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedad3;
    background: #fff;
}

.wishlist-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #eeeae3;
}

.wishlist-card-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.wishlist-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.wishlist-card:hover .wishlist-card-media img {
    transform: scale(1.025);
}

.wishlist-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #837e76;
    font-size: 13px;
}

.wishlist-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 8px 11px;
    background: var(--ink, #111);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wishlist-remove-form {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
}

.wishlist-remove {
    display: inline-flex;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dedad3;
    border-radius: 50%;
    background: #fff;
    color: #9b2525;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
}

.wishlist-remove:hover,
.wishlist-remove:focus-visible {
    border-color: var(--ink, #111);
    background: var(--ink, #111);
    color: #fff;
}

.wishlist-card-content {
    padding: 22px;
}

.wishlist-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #67635d;
    text-decoration: none;
}

.wishlist-stars {
    color: var(--ink, #111);
    font-size: 17px;
    letter-spacing: 1px;
}

.wishlist-rating small {
    font-size: 12px;
}

.wishlist-product-title {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

.wishlist-product-title a {
    color: var(--ink, #111);
    text-decoration: none;
}

.wishlist-product-title a:hover {
    color: #8b6b3f;
}

.wishlist-category {
    margin: 0 0 16px;
    color: #77726b;
    font-size: 14px;
}

.wishlist-price {
    margin: 0 0 8px;
    color: var(--ink, #111);
    font-size: 19px;
    font-weight: 700;
}

.wishlist-stock {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 600;
}

.wishlist-stock.is-available {
    color: #23623a;
}

.wishlist-stock.is-unavailable {
    color: #9b2525;
}

.wishlist-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 20px;
    border: 1px solid var(--ink, #111);
    border-radius: 0;
    background: var(--ink, #111);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.wishlist-button:hover,
.wishlist-button:focus-visible {
    background: #fff;
    color: var(--ink, #111);
}

.wishlist-button-outline {
    background: transparent;
    color: var(--ink, #111);
}

.wishlist-button-outline:hover,
.wishlist-button-outline:focus-visible {
    background: var(--ink, #111);
    color: #fff;
}

.wishlist-button-block {
    width: 100%;
}

.wishlist-empty {
    padding: 72px 24px;
    border: 1px solid #dedad3;
    background: #fff;
    text-align: center;
}

.wishlist-empty-icon {
    margin-bottom: 14px;
    color: #8b6b3f;
    font-size: 54px;
    line-height: 1;
}

.wishlist-empty h2 {
    margin: 0 0 12px;
    color: var(--ink, #111);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.wishlist-empty p {
    max-width: 440px;
    margin: 0 auto 26px;
    color: #6f6b65;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wishlist-page {
        padding: 36px 0 60px;
    }

    .wishlist-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .wishlist-page-header .wishlist-button {
        width: 100%;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .wishlist-card-content {
        padding: 18px;
    }
}


/* Modern Moda customer support page */
.support-page {
    padding: 56px 0 80px;
    background: #f7f5f1;
    color: #171717;
}

.support-page *,
.support-page *::before,
.support-page *::after {
    box-sizing: border-box;
}

.support-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid #d9d5ce;
}

.support-page-header h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.05;
}

.support-page-header > div > p:last-child,
.support-panel-heading > p:last-child {
    max-width: 620px;
    margin: 0;
    color: #6f6b65;
    line-height: 1.65;
}

.support-eyebrow {
    margin: 0 0 8px;
    color: #8b6b3f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.support-panel {
    min-width: 0;
    padding: 30px;
    border: 1px solid #dedad3;
    background: #fff;
}

.support-panel-heading {
    margin-bottom: 25px;
}

.support-panel-heading h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.support-field {
    min-width: 0;
}

.support-field-full {
    grid-column: 1 / -1;
}

.support-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.support-field label span,
.support-field small {
    color: #817c74;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.support-field input,
.support-field select,
.support-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #cbc6be;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #171717;
    font: inherit;
}

.support-field textarea {
    min-height: 150px;
    resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    border-color: #171717;
    box-shadow: 0 0 0 2px rgb(23 23 23 / 8%);
}

.support-field input[type="file"] {
    padding: 8px;
    background: #faf9f7;
}

.support-field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    border: 1px solid #171717;
    border-radius: 0;
    background: #fff;
    color: #171717;
    font-weight: 700;
    cursor: pointer;
}

.support-field small {
    display: block;
    margin-top: 7px;
}

.support-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border: 1px solid #171717;
    border-radius: 0;
    background: #171717;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.support-button:hover,
.support-button:focus-visible {
    background: #fff;
    color: #171717;
}

.support-button-outline {
    background: transparent;
    color: #171717;
}

.support-button-outline:hover,
.support-button-outline:focus-visible {
    background: #171717;
    color: #fff;
}

.support-button-block {
    width: 100%;
    margin-top: 22px;
}

.support-alert {
    margin-bottom: 24px;
    padding: 14px 17px;
    border: 1px solid;
    font-size: 14px;
}

.support-alert-error {
    border-color: #e0b8b8;
    background: #fbefef;
    color: #8c2525;
}

.support-history-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.support-ticket-count {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.support-ticket-list {
    border-top: 1px solid #dedad3;
}

.support-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 4px;
    border-bottom: 1px solid #dedad3;
    color: #171717;
    text-decoration: none;
}

.support-ticket-card:hover {
    background: #faf9f7;
}

.support-ticket-main {
    min-width: 0;
}

.support-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-bottom: 8px;
    color: #8b6b3f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.support-ticket-main h3 {
    margin: 0 0 7px;
    overflow-wrap: anywhere;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
}

.support-ticket-main p {
    margin: 0;
    color: #77726b;
    font-size: 12px;
}

.support-ticket-side {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 13px;
}

.support-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 6px 9px;
    border: 1px solid #cbc6be;
    background: #f5f3ef;
    color: #55514b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.support-status.alert-success,
.support-status.status-open {
    border-color: #b9d0bd;
    background: #edf5ef;
    color: #286039;
}

.support-status.alert-error,
.support-status.status-closed {
    border-color: #d7b9b9;
    background: #faeeee;
    color: #8b2929;
}

.support-ticket-arrow {
    font-size: 21px;
}

.support-empty {
    padding: 52px 20px;
    border: 1px dashed #d1ccc4;
    background: #faf9f7;
    text-align: center;
}

.support-empty > span {
    display: block;
    margin-bottom: 12px;
    color: #8b6b3f;
    font-size: 35px;
}

.support-empty h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.support-empty p {
    margin: 0;
    color: #77726b;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .support-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .support-page {
        padding: 36px 0 60px;
    }

    .support-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .support-page-header .support-button {
        width: 100%;
    }

    .support-panel {
        padding: 21px 17px;
    }

    .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-field-full {
        grid-column: auto;
    }

    .support-ticket-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-ticket-side {
        width: 100%;
        justify-content: space-between;
    }
}


/* Modern Moda recently viewed page */
.recently-viewed-page {
    padding: 56px 0 80px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.recently-viewed-page *,
.recently-viewed-page *::before,
.recently-viewed-page *::after {
    box-sizing: border-box;
}

.recently-viewed-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line, #e7e7e7);
}

.recently-viewed-eyebrow {
    margin: 0 0 8px;
    color: #8b6b3f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.recently-viewed-header h1 {
    margin: 0 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.05;
}

.recently-viewed-header > div > p:last-child {
    margin: 0;
    color: var(--muted, #6b7280);
}

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.recently-viewed-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedad3;
    background: #fff;
}

.recently-viewed-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.recently-viewed-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #eeeae3;
}

.recently-viewed-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.recently-viewed-card:hover .recently-viewed-media img {
    transform: scale(1.025);
}

.recently-viewed-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #837e76;
    font-size: 13px;
}

.recently-viewed-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 8px 11px;
    background: var(--ink, #111);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.recently-viewed-content {
    padding: 22px;
}

.recently-viewed-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #67635d;
    text-decoration: none;
}

.recently-viewed-stars {
    color: var(--ink, #111);
    font-size: 17px;
    letter-spacing: 1px;
}

.recently-viewed-rating small {
    font-size: 12px;
}

.recently-viewed-product-title {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

.recently-viewed-product-title a {
    color: var(--ink, #111);
    text-decoration: none;
}

.recently-viewed-product-title a:hover {
    color: #8b6b3f;
}

.recently-viewed-category {
    margin: 0 0 16px;
    color: #77726b;
    font-size: 14px;
}

.recently-viewed-price {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
}

.recently-viewed-stock {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 600;
}

.recently-viewed-stock.is-available {
    color: #23623a;
}

.recently-viewed-stock.is-unavailable {
    color: #9b2525;
}

.recently-viewed-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 20px;
    border: 1px solid var(--ink, #111);
    border-radius: 0;
    background: var(--ink, #111);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
}

.recently-viewed-button:hover,
.recently-viewed-button:focus-visible {
    background: #fff;
    color: var(--ink, #111);
}

.recently-viewed-button-outline {
    background: transparent;
    color: var(--ink, #111);
}

.recently-viewed-button-outline:hover,
.recently-viewed-button-outline:focus-visible {
    background: var(--ink, #111);
    color: #fff;
}

.recently-viewed-button-block {
    width: 100%;
}

.recently-viewed-empty {
    padding: 72px 24px;
    border: 1px solid #dedad3;
    background: #fff;
    text-align: center;
}

.recently-viewed-empty-icon {
    margin-bottom: 14px;
    color: #8b6b3f;
    font-size: 54px;
    line-height: 1;
}

.recently-viewed-empty h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.recently-viewed-empty p {
    max-width: 460px;
    margin: 0 auto 26px;
    color: #6f6b65;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .recently-viewed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .recently-viewed-page {
        padding: 36px 0 60px;
    }

    .recently-viewed-header {
        align-items: stretch;
        flex-direction: column;
    }

    .recently-viewed-header .recently-viewed-button {
        width: 100%;
    }

    .recently-viewed-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .recently-viewed-content {
        padding: 18px;
    }
}


/* Modern Moda storefront homepage */
.hero {
    position: relative;
    display: grid;
    width: min(calc(100% - 36px), var(--container, 1240px));
    min-height: clamp(460px, 65vw, 650px);
    margin: 0 auto;
    padding: 64px 0;
    overflow: hidden;
    align-items: end;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 58%), rgb(0 0 0 / 8%)),
        url('../images/hero-placeholder.jpg') center / cover no-repeat,
        #aaa7a2;
    color: #fff;
}

.hero .hero-content {
    width: 100%;
    max-width: none;
    padding-inline: clamp(28px, 5vw, 70px);
}

.hero .eyebrow {
    margin: 0 0 16px;
    color: #d4b277;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 400;
    line-height: .98;
}

.hero p:not(.eyebrow) {
    max-width: 550px;
    margin: 24px 0 30px;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.hero .btn,
#collection .btn,
.modal .btn,
.empty-state .btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.hero .btn-light {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.hero .btn:hover,
#collection .btn:hover,
.modal .btn:hover,
.empty-state .btn:hover {
    border-color: #111;
    background: #fff;
    color: #111;
    transform: none;
}

.hero .btn-light:hover {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

#collection {
    scroll-margin-top: 70px;
    padding: 72px 0 86px;
    background: #fff;
}

#collection .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line, #e7e7e7);
}

#collection .eyebrow {
    margin: 0 0 9px;
    color: #8b6b3f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#collection .section-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.05;
}

#collection .section-copy {
    max-width: 540px;
    margin: 0;
    color: var(--muted, #6b7280);
    line-height: 1.7;
}

#collection .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 20px;
}

#collection .product-card {
    position: relative;
    min-width: 0;
}

#collection .product-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

#collection .product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f0eee9;
}

#collection .product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

#collection .product-card:hover .product-media img {
    transform: scale(1.025);
}

#collection .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eeeae3, #d9d4cd);
}

#collection .product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 7px 10px;
    background: #fff;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#collection .product-rating-overlay {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    background: rgb(255 255 255 / 94%);
    color: #111;
    font-size: 12px;
}

#collection .product-wishlist-form {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    margin: 0;
}

#collection .wishlist-heart {
    display: inline-flex;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dedad3;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
}

#collection .wishlist-heart.active {
    color: #9b2525;
}

#collection .wishlist-heart:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

#collection .product-info {
    padding: 15px 2px 0;
}

#collection .product-card-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #68645e;
    font-size: 12px;
    text-decoration: none;
}

#collection .product-card-rating > span {
    color: #111;
    font-size: 16px;
    letter-spacing: 1px;
}

#collection .product-title {
    margin: 0 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

#collection .product-title a {
    color: #111;
    text-decoration: none;
}

#collection .product-title a:hover {
    color: #8b6b3f;
}

#collection .product-category {
    margin: 0 0 9px;
    color: var(--muted, #6b7280);
    font-size: 13px;
}

#collection .product-price {
    margin-bottom: 5px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

#collection .product-price-original {
    margin-right: 7px;
    color: #777;
    font-weight: 400;
    text-decoration: line-through;
}

#collection .product-price-sale {
    color: #9b2525;
}

#collection .product-stock {
    margin: 6px 0 0;
    color: #23623a;
    font-size: 12px;
    font-weight: 600;
}

#collection .product-stock.out {
    color: #9b2525;
}

#collection .product-form {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 9px;
    margin-top: 14px;
}

#collection .product-form .qty {
    width: 74px;
    min-width: 0;
    height: 46px;
    padding: 8px;
    border: 1px solid #bbb8b2;
    border-radius: 0;
    text-align: center;
}

#collection .btn-block {
    width: 100%;
}

#collection .product-options-button {
    margin-top: 14px;
    border-color: #111 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;
}

#collection .product-options-button:hover {
    background: #fff !important;
    color: #111 !important;
}

.section-soft {
    padding: 64px 0;
    background: var(--soft, #f7f7f5);
}

.section-soft .section-head {
    margin-bottom: 0;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(17 17 17 / 62%);
    backdrop-filter: blur(3px);
}

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

.modal {
    position: relative;
    width: min(100%, 480px);
    padding: 38px;
    border: 1px solid #d8d2c8;
    background: #fff;
    box-shadow: 0 24px 70px rgb(0 0 0 / 22%);
}

.modal h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
}

.modal .form-field {
    margin-bottom: 17px;
}

.modal-close {
    position: absolute;
    top: 11px;
    right: 13px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 28px;
    cursor: pointer;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1600;
    max-width: min(380px, calc(100vw - 44px));
    padding: 14px 18px;
    background: #111;
    color: #fff;
    box-shadow: 0 12px 35px rgb(0 0 0 / 18%);
    font-size: 14px;
}

@media (max-width: 1050px) {
    #collection .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .hero {
        width: min(calc(100% - 24px), var(--container, 1240px));
        min-height: 520px;
        padding: 48px 0;
    }

    #collection .section-head,
    .section-soft .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    #collection .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 470px;
    }

    .hero h1 {
        font-size: 46px;
    }

    #collection {
        padding: 52px 0 65px;
    }

    #collection .product-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .modal {
        padding: 34px 21px 24px;
    }
}

/* Modern Moda account card state correction */
.account-page .account-shortcut,
.account-page .account-shortcut:link,
.account-page .account-shortcut:visited,
.account-page .account-tool-grid > a,
.account-page .account-tool-grid > a:link,
.account-page .account-tool-grid > a:visited {
    border-color: #dedad3 !important;
    background: #fff !important;
    color: #111 !important;
    text-decoration: none !important;
}

.account-page .account-shortcut strong,
.account-page .account-shortcut:link strong,
.account-page .account-shortcut:visited strong,
.account-page .account-tool-grid > a strong,
.account-page .account-tool-grid > a:link strong,
.account-page .account-tool-grid > a:visited strong {
    color: #111 !important;
}

.account-page .account-shortcut p,
.account-page .account-shortcut:link p,
.account-page .account-shortcut:visited p,
.account-page .account-tool-grid > a p,
.account-page .account-tool-grid > a:link p,
.account-page .account-tool-grid > a:visited p {
    color: #77726b !important;
}

.account-page .account-shortcut:hover,
.account-page .account-shortcut:focus-visible,
.account-page .account-tool-grid > a:hover,
.account-page .account-tool-grid > a:focus-visible {
    border-color: #111 !important;
    background: #f8f6f2 !important;
    color: #111 !important;
    outline: 0 !important;
}

.account-page .account-shortcut:hover strong,
.account-page .account-shortcut:focus-visible strong,
.account-page .account-tool-grid > a:hover strong,
.account-page .account-tool-grid > a:focus-visible strong {
    color: #111 !important;
}

.account-page .account-shortcut:hover p,
.account-page .account-shortcut:focus-visible p,
.account-page .account-tool-grid > a:hover p,
.account-page .account-tool-grid > a:focus-visible p {
    color: #625e58 !important;
}

.account-page .account-tool-grid > a {
    position: relative;
    display: flex;
    min-height: 126px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 58px 24px 24px;
}

.account-page .account-tool-grid > a::after {
    position: absolute;
    top: 50%;
    right: 24px;
    color: #111;
    content: "→";
    font-size: 23px;
    line-height: 1;
    transform: translateY(-50%);
}

.account-page .account-tool-grid > a:hover::after,
.account-page .account-tool-grid > a:focus-visible::after {
    transform: translate(4px, -50%);
}

@media (max-width: 560px) {
    .account-page .account-tool-grid > a {
        min-height: 108px;
        padding: 19px 50px 19px 18px;
    }

    .account-page .account-tool-grid > a::after {
        right: 18px;
    }
}



/* Modern Moda customer rewards page */
.rewards-page {
    min-height: 70vh;
    padding: 48px 0 84px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.rewards-page *,
.rewards-page *::before,
.rewards-page *::after {
    box-sizing: border-box;
}

.rewards-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #d9d5ce;
}

.rewards-eyebrow {
    margin: 0 0 9px;
    color: #8b6b3f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.rewards-page-header h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 500;
    line-height: 1.04;
}

.rewards-page-header > div > p:last-child {
    margin: 0;
    color: var(--muted, #6b7280);
}

.rewards-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
}

.rewards-button:hover,
.rewards-button:focus-visible {
    background: #fff;
    color: #111 !important;
}

.rewards-button-outline {
    background: transparent;
    color: #111 !important;
}

.rewards-button-outline:hover,
.rewards-button-outline:focus-visible {
    background: #111;
    color: #fff !important;
}

.rewards-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 28px;
    border: 1px solid #dedad3;
    background: #dedad3;
}

.rewards-summary-card {
    display: flex;
    min-width: 0;
    min-height: 175px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    background: #fff;
}

.rewards-summary-card > span {
    color: #77726b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rewards-summary-card > strong {
    display: block;
    margin: 15px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 62px);
    font-weight: 500;
    line-height: 1;
}

.rewards-summary-card > small {
    color: #77726b;
    font-size: 12px;
}

.rewards-summary-primary {
    background: #111;
    color: #fff;
}

.rewards-summary-primary > span,
.rewards-summary-primary > small {
    color: #d5d2cc;
}

.rewards-panel {
    padding: 30px;
    border: 1px solid #dedad3;
    background: #fff;
}

.rewards-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dedad3;
}

.rewards-panel-header h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.rewards-activity-count {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.rewards-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.rewards-table {
    width: 100%;
    border-collapse: collapse;
}

.rewards-table th {
    padding: 12px 14px;
    border-bottom: 1px solid #111;
    color: #77726b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
}

.rewards-table td {
    padding: 17px 14px;
    border-bottom: 1px solid #e4e0da;
    vertical-align: top;
    font-size: 13px;
}

.rewards-table tbody tr:hover {
    background: #faf9f7;
}

.rewards-table td small {
    display: block;
    margin-top: 4px;
    color: #77726b;
    line-height: 1.45;
}

.rewards-table td a,
.rewards-table td a:visited {
    color: #111;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rewards-points {
    display: inline-flex;
    min-width: 56px;
    justify-content: center;
    padding: 6px 9px;
    border: 1px solid;
    font-size: 12px;
}

.rewards-points.is-positive {
    border-color: #b9d0bd;
    background: #edf5ef;
    color: #23623a;
}

.rewards-points.is-negative {
    border-color: #d7b9b9;
    background: #faeeee;
    color: #9b2525;
}

.rewards-empty {
    padding: 58px 22px;
    border: 1px dashed #d1ccc4;
    background: #faf9f7;
    text-align: center;
}

.rewards-empty-icon {
    margin-bottom: 13px;
    color: #9c783f;
    font-size: 46px;
}

.rewards-empty h3 {
    margin: 0 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.rewards-empty p {
    margin: 0 0 24px;
    color: #77726b;
}

@media (max-width: 760px) {
    .rewards-page {
        padding: 34px 0 60px;
    }

    .rewards-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .rewards-page-header .rewards-button {
        width: 100%;
    }

    .rewards-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .rewards-panel {
        padding: 21px 16px;
    }

    .rewards-table,
    .rewards-table tbody,
    .rewards-table tr,
    .rewards-table td {
        display: block;
        width: 100%;
    }

    .rewards-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .rewards-table tr {
        margin-bottom: 14px;
        padding: 5px 0;
        border: 1px solid #dedad3;
    }

    .rewards-table td {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 12px;
        padding: 11px 13px;
        border-bottom: 1px solid #ece8e2;
    }

    .rewards-table td:last-child {
        border-bottom: 0;
    }

    .rewards-table td::before {
        color: #77726b;
        content: attr(data-label);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .09em;
        text-transform: uppercase;
    }
}


/* Modern Moda gift-card balance page */
.gift-balance-page {
    min-height: 70vh;
    padding: 48px 0 84px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.gift-balance-page *,
.gift-balance-page *::before,
.gift-balance-page *::after {
    box-sizing: border-box;
}

.gift-balance-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #d9d5ce;
}

.gift-balance-eyebrow {
    margin: 0 0 9px;
    color: #8b6b3f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.gift-balance-header h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 500;
    line-height: 1.04;
}

.gift-balance-header > div > p:last-child {
    margin: 0;
    color: var(--muted, #6b7280);
}

.gift-balance-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.gift-balance-button:hover,
.gift-balance-button:focus-visible {
    background: #fff;
    color: #111 !important;
}

.gift-balance-button-outline {
    background: transparent;
    color: #111 !important;
}

.gift-balance-button-outline:hover,
.gift-balance-button-outline:focus-visible {
    background: #111;
    color: #fff !important;
}

.gift-balance-button-block {
    width: 100%;
}

.gift-balance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 28px;
    align-items: stretch;
}

.gift-balance-panel,
.gift-balance-result {
    min-width: 0;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid #dedad3;
    background: #fff;
}

.gift-balance-panel-heading {
    margin-bottom: 27px;
    padding-bottom: 21px;
    border-bottom: 1px solid #dedad3;
}

.gift-balance-panel-heading h2,
.gift-balance-result h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 500;
    line-height: 1.1;
}

.gift-balance-panel-heading > p:last-child,
.gift-balance-result > p:last-child {
    margin: 0;
    color: #77726b;
    line-height: 1.65;
}

.gift-balance-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #e0b8b8;
    background: #fbefef;
    color: #8c2525;
    font-size: 14px;
}

.gift-balance-form {
    display: grid;
    gap: 18px;
}

.gift-balance-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gift-balance-field input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 12px 15px;
    border: 1px solid #bbb8b2;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gift-balance-field input:focus {
    border-color: #111;
    box-shadow: 0 0 0 2px rgb(17 17 17 / 8%);
}

.gift-balance-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111;
    color: #fff;
}

.gift-balance-result .gift-balance-eyebrow {
    color: #c6a56d;
}

.gift-balance-result.is-placeholder {
    align-items: center;
    text-align: center;
}

.gift-balance-placeholder-icon {
    display: flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #5a5752;
    border-radius: 50%;
    color: #c6a56d;
    font-size: 34px;
}

.gift-balance-result.is-placeholder > p {
    max-width: 430px;
    color: #cac7c1;
}

.gift-balance-amount {
    display: block;
    margin: 22px 0 28px;
    overflow-wrap: anywhere;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 8vw, 78px);
    font-weight: 500;
    line-height: 1;
}

.gift-balance-details {
    display: grid;
    gap: 1px;
    margin: 0;
    background: #46433f;
}

.gift-balance-details > div {
    padding: 15px;
    background: #1c1c1c;
}

.gift-balance-details dt {
    margin-bottom: 5px;
    color: #aaa69f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gift-balance-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 13px;
}

@media (max-width: 800px) {
    .gift-balance-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gift-balance-page {
        padding: 34px 0 60px;
    }

    .gift-balance-header {
        align-items: stretch;
        flex-direction: column;
    }

    .gift-balance-header .gift-balance-button {
        width: 100%;
    }

    .gift-balance-panel,
    .gift-balance-result {
        padding: 25px 19px;
    }

    .gift-balance-result {
        min-height: 340px;
    }
}


/* Modern Moda customer registration page */
.registration-page {
    min-height: 70vh;
    padding: 48px 0 84px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.registration-page *,
.registration-page *::before,
.registration-page *::after {
    box-sizing: border-box;
}

.registration-container {
    width: min(calc(100% - 36px), 920px);
    margin-inline: auto;
}

.registration-header {
    margin-bottom: 28px;
    padding: clamp(30px, 5vw, 50px);
    background: #111;
    color: #fff;
    text-align: center;
}

.registration-eyebrow {
    margin: 0 0 10px;
    color: #c6a56d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.registration-header h1 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 7vw, 62px);
    font-weight: 400;
    line-height: 1.04;
}

.registration-header > p:last-child {
    max-width: 590px;
    margin: 0 auto;
    color: #d0cdc7;
    line-height: 1.7;
}

.registration-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid;
    font-size: 14px;
}

.registration-alert.is-error {
    border-color: #e0b8b8;
    background: #fbefef;
    color: #8c2525;
}

.registration-alert.is-success {
    border-color: #b9d0bd;
    background: #edf5ef;
    color: #245c31;
}

.registration-alert a,
.registration-alert a:visited {
    margin-left: 8px;
    color: inherit;
    font-weight: 800;
}

.registration-form {
    display: grid;
    gap: 20px;
}

.registration-section {
    padding: clamp(23px, 4vw, 34px);
    border: 1px solid #dedad3;
    background: #fff;
}

.registration-section-heading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dedad3;
}

.registration-section-heading > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.registration-section-heading h2 {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.1;
}

.registration-section-heading p {
    margin: 0;
    color: #77726b;
    font-size: 13px;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.registration-field {
    min-width: 0;
}

.registration-field-full {
    grid-column: 1 / -1;
}

.registration-field > label:not(.registration-newsletter-choice) {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.registration-field > label span {
    color: #817c74;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.registration-field > input {
    display: block;
    width: 100%;
    height: 49px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #c6c1ba;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #111;
    font: inherit;
}

.registration-field > input:focus {
    border-color: #111;
    box-shadow: 0 0 0 2px rgb(17 17 17 / 8%);
}

.registration-newsletter-choice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 17px;
    border: 1px solid #d8d2c8;
    background: #f8f6f2;
    cursor: pointer;
}

.registration-newsletter-choice input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #111;
}

.registration-newsletter-choice > span {
    display: grid;
    gap: 5px;
}

.registration-newsletter-choice strong {
    color: #111;
    font-size: 13px;
}

.registration-newsletter-choice small {
    color: #6f6b65;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.registration-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.registration-button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .09em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.registration-button:hover,
.registration-button:focus-visible {
    background: #fff;
    color: #111 !important;
}

.registration-button-outline {
    background: transparent;
    color: #111 !important;
}

.registration-button-outline:hover,
.registration-button-outline:focus-visible {
    background: #111;
    color: #fff !important;
}

@media (max-width: 650px) {
    .registration-page {
        padding: 30px 0 60px;
    }

    .registration-container {
        width: min(calc(100% - 24px), 920px);
    }

    .registration-header {
        padding: 31px 20px;
    }

    .registration-grid,
    .registration-actions {
        grid-template-columns: 1fr;
    }

    .registration-field-full {
        grid-column: auto;
    }
}


/* Modern Moda forgot-password page */
.password-recovery-page {
    min-height: 70vh;
    padding: 60px 0 90px;
    background: var(--soft, #f7f7f5);
    color: var(--ink, #111);
}

.password-recovery-page *,
.password-recovery-page *::before,
.password-recovery-page *::after {
    box-sizing: border-box;
}

.password-recovery-container {
    width: min(calc(100% - 30px), 540px);
    margin-inline: auto;
}

.password-recovery-card {
    padding: clamp(30px, 6vw, 48px);
    border: 1px solid #dedad3;
    background: #fff;
    box-shadow: 0 16px 45px rgb(17 17 17 / 8%);
}

.password-recovery-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid #d8d2c8;
    border-radius: 50%;
    background: #f8f6f2;
    color: #9c783f;
    font-size: 24px;
}

.password-recovery-header {
    margin-bottom: 27px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dedad3;
}

.password-recovery-eyebrow {
    margin: 0 0 9px;
    color: #8b6b3f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.password-recovery-header h1 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 7vw, 49px);
    font-weight: 500;
    line-height: 1.04;
}

.password-recovery-header > p:last-child {
    margin: 0;
    color: #6f6b65;
    line-height: 1.7;
}

.password-recovery-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid;
    font-size: 14px;
    line-height: 1.55;
}

.password-recovery-alert.is-error {
    border-color: #e0b8b8;
    background: #fbefef;
    color: #8c2525;
}

.password-recovery-alert.is-success {
    border-color: #b9d0bd;
    background: #edf5ef;
    color: #245c31;
}

.password-recovery-form {
    display: grid;
    gap: 12px;
}

.password-recovery-field {
    margin-bottom: 7px;
}

.password-recovery-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.password-recovery-field input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #c6c1ba;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #111;
    font: inherit;
}

.password-recovery-field input:focus {
    border-color: #111;
    box-shadow: 0 0 0 2px rgb(17 17 17 / 8%);
}

.password-recovery-button {
    display: inline-flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .09em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.password-recovery-button:hover,
.password-recovery-button:focus-visible {
    background: #fff;
    color: #111 !important;
}

.password-recovery-button-outline {
    background: transparent;
    color: #111 !important;
}

.password-recovery-button-outline:hover,
.password-recovery-button-outline:focus-visible {
    background: #111;
    color: #fff !important;
}

.password-recovery-note {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid #dedad3;
    color: #77726b;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 560px) {
    .password-recovery-page {
        padding: 32px 0 60px;
    }

    .password-recovery-card {
        padding: 28px 20px;
    }
}

/* Modern Moda responsive navigation: desktop row + phone hamburger */
.mobile-menu-toggle {
    display: none;
}

@media (min-width: 761px) {
    .amazon-category-row {
        display: block !important;
    }

    .amazon-category-row .container {
        display: flex !important;
        width: calc(100% - 32px) !important;
        min-width: 0 !important;
        max-width: 1760px !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        gap: 0 !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .amazon-category-row a:not(.category-bag) {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0;
        min-height: 58px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 10px clamp(7px, .75vw, 14px) !important;
        box-sizing: border-box;
        font-size: clamp(11px, .82vw, 15px) !important;
        line-height: 1.15 !important;
        text-align: center;
        white-space: normal !important;
    }

    .amazon-category-row .category-bag,
    .amazon-category-row .category-bag:link,
    .amazon-category-row .category-bag:visited {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 86px !important;
        min-height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 0 0 8px !important;
        padding: 8px 13px !important;
        border: 1px solid #111 !important;
        border-radius: 999px !important;
        background: #111 !important;
        color: #fff !important;
        box-shadow: none !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .amazon-category-row .category-bag > span {
        display: inline-grid !important;
        min-width: 22px !important;
        height: 22px !important;
        place-items: center !important;
        padding: 0 5px !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: #111 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }

    .amazon-category-row .category-bag:hover,
    .amazon-category-row .category-bag:focus-visible {
        border-color: #9a7a45 !important;
        background: #9a7a45 !important;
        color: #fff !important;
    }
}

@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .amazon-primary-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px 12px !important;
        align-items: center !important;
        padding: 14px 16px !important;
    }

    .amazon-primary-row .brand {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        min-width: 0;
        font-size: clamp(20px, 7vw, 27px) !important;
        white-space: nowrap;
    }

    .customer-quick-links {
        display: flex !important;
        grid-column: 1 !important;
        grid-row: 3 !important;
        min-width: 0;
        width: 100%;
        justify-content: flex-start !important;
    }

    .header-welcome-link {
        min-height: auto !important;
        align-items: flex-start !important;
        padding: 2px 0 !important;
    }

    .header-welcome-link > strong {
        max-width: 160px !important;
        font-size: 12px !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 3 !important;
        width: 46px;
        height: 46px;
        margin: 0;
        padding: 11px;
        border: 1px solid #111;
        border-radius: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #111;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-search {
        display: flex !important;
        grid-column: 1 / -1;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .header-search input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .header-search button {
        flex: 0 0 auto;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .amazon-category-row {
        display: none !important;
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-top: 1px solid #ded9d0;
        border-bottom: 1px solid #ded9d0;
        background: #f7f5f0;
        box-shadow: 0 16px 30px rgba(17, 17, 17, .08);
    }

    .amazon-category-row.is-open {
        display: block !important;
    }

    .amazon-category-row .container {
        display: grid !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .amazon-category-row a,
    .amazon-category-row .category-bag {
        display: flex !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 50px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        border: 0 !important;
        border-right: 1px solid #ded9d0 !important;
        border-bottom: 1px solid #ded9d0 !important;
        border-radius: 0 !important;
        background: #f7f5f0 !important;
        color: #111 !important;
        box-shadow: none !important;
        font-size: 12px !important;
        font-weight: 750 !important;
        line-height: 1.25 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .amazon-category-row a:nth-child(2n) {
        border-right: 0 !important;
    }

    .amazon-category-row a:hover,
    .amazon-category-row a:focus-visible,
    .amazon-category-row a.is-active,
    .amazon-category-row a[aria-current="page"] {
        background: #111 !important;
        color: #fff !important;
    }

    .amazon-category-row .customer-inbox-link.is-active,
    .amazon-category-row .customer-inbox-link[aria-current="page"] {
        background: #8f1d1d !important;
        color: #fff !important;
    }

    .amazon-category-row .account-link-start {
        margin-left: 0 !important;
        border-left: 0 !important;
    }

    .amazon-category-row .category-bag > span {
        display: inline-grid;
        min-width: 20px;
        height: 20px;
        margin-left: 6px;
        place-items: center;
        border-radius: 999px;
        background: #111;
        color: #fff;
    }
}


/* Modern Moda shopping bag page */
.shopping-bag-page{min-height:70vh;padding:48px 0 84px;background:var(--soft,#f7f7f5);color:var(--ink,#111)}
.shopping-bag-page *,.shopping-bag-page *::before,.shopping-bag-page *::after{box-sizing:border-box}
.shopping-bag-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #d9d5ce}
.shopping-bag-eyebrow{margin:0 0 9px;color:#8b6b3f;font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.shopping-bag-header h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,6vw,58px);font-weight:500;line-height:1.04}
.shopping-bag-button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:13px 20px;border:1px solid #111;border-radius:0;background:#111;color:#fff!important;font:inherit;font-size:11px;font-weight:800;line-height:1;letter-spacing:.09em;text-align:center;text-decoration:none!important;text-transform:uppercase;cursor:pointer;transition:background-color 160ms ease,color 160ms ease}
.shopping-bag-button:hover,.shopping-bag-button:focus-visible{background:#fff;color:#111!important}
.shopping-bag-button-outline{background:transparent;color:#111!important}
.shopping-bag-button-outline:hover,.shopping-bag-button-outline:focus-visible{background:#111;color:#fff!important}
.shopping-bag-button-block{width:100%}
.shopping-bag-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:start}
.shopping-bag-list{display:grid;gap:1px;border:1px solid #dedad3;background:#dedad3}
.shopping-bag-item{display:grid;grid-template-columns:125px minmax(0,1fr) auto;gap:20px;align-items:center;min-width:0;padding:20px;background:#fff}
.shopping-bag-image-link{display:block;width:125px;height:158px;overflow:hidden;background:#eeeae3}
.shopping-bag-image-link img{width:100%;height:100%;object-fit:cover}
.shopping-bag-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#eeeae3,#d9d4cd)}
.shopping-bag-item-content{min-width:0}
.shopping-bag-item-content h2{margin:0 0 7px;font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:600;line-height:1.25}
.shopping-bag-item-content h2 a,.shopping-bag-item-content h2 a:visited{color:#111;text-decoration:none}
.shopping-bag-meta{display:grid;gap:3px;margin-bottom:12px;color:#77726b;font-size:12px}
.shopping-bag-unit-price{margin:0 0 13px;font-size:13px;font-weight:700}
.shopping-bag-price-original{margin-right:6px;color:#777;font-weight:400;text-decoration:line-through}
.shopping-bag-price-sale{color:#9b2525}
.shopping-bag-controls{display:flex;align-items:center;gap:13px}
.shopping-bag-controls label{color:#77726b;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.shopping-bag-quantity{width:72px;height:42px;padding:8px;border:1px solid #bbb8b2;border-radius:0;background:#fff;color:#111;text-align:center}
.shopping-bag-remove{padding:0;border:0;background:transparent;color:#8c2525;font:inherit;font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.shopping-bag-line-total{align-self:start;white-space:nowrap;font-size:17px}
.shopping-bag-summary{position:sticky;top:62px;padding:27px;border:1px solid #dedad3;background:#fff}
.shopping-bag-summary h2{margin:0 0 18px;font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500}
.shopping-bag-summary-line{display:flex;justify-content:space-between;gap:18px;padding:9px 0;font-size:13px}
.shopping-bag-summary-line.is-discount strong{color:#23623a}
.shopping-bag-summary-total{margin-top:10px;padding-top:18px;border-top:1px solid #111;font-size:19px;font-weight:800}
.shopping-bag-adjustment{margin-top:19px;padding-top:19px;border-top:1px solid #dedad3}
.shopping-bag-adjustment label{display:block;margin-bottom:8px;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.shopping-bag-adjustment-row{display:grid;grid-template-columns:minmax(0,1fr) auto}
.shopping-bag-adjustment-row input{width:100%;min-width:0;height:43px;padding:10px 12px;border:1px solid #bbb8b2;border-right:0;border-radius:0;background:#fff;color:#111;font:inherit}
.shopping-bag-adjustment-row button{min-width:76px;height:43px;padding:0 12px;border:1px solid #111;border-radius:0;background:#111;color:#fff;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}
.shopping-bag-adjustment-row button:hover{background:#fff;color:#111}
.shopping-bag-remove-adjustment{margin-top:8px;padding:0;border:0;background:transparent;color:#8c2525;font:inherit;font-size:11px;font-weight:700;text-decoration:underline;cursor:pointer}
.shopping-bag-adjustment-note{margin:8px 0 0;color:#77726b;font-size:11px;line-height:1.5}
.shopping-bag-actions{display:grid;gap:10px;margin-top:22px}
.shopping-bag-security{margin:13px 0 0;color:#77726b;font-size:11px;text-align:center}
.shopping-bag-empty{padding:72px 24px;border:1px solid #dedad3;background:#fff;text-align:center}
.shopping-bag-empty-icon{margin-bottom:14px;color:#8b6b3f;font-size:50px}
.shopping-bag-empty h2{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}
.shopping-bag-empty p{margin:0 0 25px;color:#77726b}
.shopping-bag-alert{margin-bottom:20px;padding:14px 16px;border:1px solid #b9d0bd;background:#edf5ef;color:#245c31;font-size:13px}

/* Compatibility with the existing cart.php markup. */
.shopping-bag-page .page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #d9d5ce}
.shopping-bag-page .page-header .eyebrow{margin:0 0 9px;color:#8b6b3f;font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.shopping-bag-page .page-header .page-title{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,6vw,58px);font-weight:500;line-height:1.04}
.shopping-bag-page .btn{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:13px 20px;border:1px solid #111!important;border-radius:0!important;background:#111!important;color:#fff!important;font-size:11px;font-weight:800;line-height:1;letter-spacing:.09em;text-align:center;text-decoration:none!important;text-transform:uppercase;transform:none!important}
.shopping-bag-page .btn:hover{background:#fff!important;color:#111!important}
.shopping-bag-page .btn-outline{background:transparent!important;color:#111!important}
.shopping-bag-page .btn-outline:hover{background:#111!important;color:#fff!important}
.shopping-bag-page .btn-block{width:100%}
.shopping-bag-page .cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:start}
.shopping-bag-page .cart-list{display:grid;gap:1px;border:1px solid #dedad3;background:#dedad3}
.shopping-bag-page .cart-item{display:grid;grid-template-columns:125px minmax(0,1fr) auto;gap:20px;align-items:center;min-width:0;padding:20px;background:#fff}
.shopping-bag-page .cart-item>img,.shopping-bag-page .cart-item>.image-placeholder{width:125px;height:158px;object-fit:cover;background:#eeeae3}
.shopping-bag-page .cart-item h3{margin:0 0 7px;font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:600;line-height:1.25}
.shopping-bag-page .cart-meta{margin-bottom:12px;color:#77726b;font-size:12px;line-height:1.55}
.shopping-bag-page .cart-controls{display:flex;align-items:center;gap:13px;margin-top:13px}
.shopping-bag-page .cart-controls .qty{width:72px;height:42px;padding:8px;border:1px solid #bbb8b2;border-radius:0;text-align:center}
.shopping-bag-page .cart-controls a,.shopping-bag-page .cart-controls a:visited{color:#8c2525;font-size:11px;font-weight:800;text-underline-offset:3px}
.shopping-bag-page .cart-item-price{align-self:start;white-space:nowrap;font-size:17px}
.shopping-bag-page .order-summary{position:sticky;top:62px;padding:27px;border:1px solid #dedad3;background:#fff;box-shadow:none}
.shopping-bag-page .order-summary>.eyebrow{margin:0 0 15px;color:#8b6b3f;font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.shopping-bag-page .summary-line{display:flex;justify-content:space-between;gap:18px;padding:9px 0;font-size:13px}
.shopping-bag-page .summary-line strong{color:#23623a}
.shopping-bag-page .summary-total{margin-top:10px;padding-top:18px;border-top:1px solid #111;font-size:19px;font-weight:800}
.shopping-bag-page .order-summary>div:not(.summary-line){margin-top:19px;padding-top:19px;border-top:1px solid #dedad3}
.shopping-bag-page .order-summary>div:not(.summary-line)>label{display:block;margin-bottom:8px;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.shopping-bag-page .order-summary>div:not(.summary-line)>div{display:grid;grid-template-columns:minmax(0,1fr) auto}
.shopping-bag-page .order-summary>div:not(.summary-line)>div .input{height:43px;min-width:0;border:1px solid #bbb8b2;border-right:0;border-radius:0}
.shopping-bag-page .order-summary>div:not(.summary-line)>div .btn{width:auto;min-width:76px;height:43px;min-height:43px;padding:0 12px}
.shopping-bag-page .order-summary>div:not(.summary-line)>button:not(.btn){margin-top:8px;padding:0;border:0;background:transparent;color:#8c2525;font:inherit;font-size:11px;font-weight:700;text-decoration:underline;cursor:pointer}
.shopping-bag-page .order-summary>.btn{margin-top:10px}
.shopping-bag-page .order-summary>.muted{margin:13px 0 0;color:#77726b;font-size:11px;text-align:center}
.shopping-bag-page .empty-state{padding:72px 24px;border:1px solid #dedad3;background:#fff;text-align:center}
.shopping-bag-page .empty-state h2{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}
.shopping-bag-page .empty-state p{margin:0 0 25px;color:#77726b}
@media(max-width:980px){.shopping-bag-layout,.shopping-bag-page .cart-layout{grid-template-columns:1fr}.shopping-bag-summary,.shopping-bag-page .order-summary{position:static}}
@media(max-width:640px){.shopping-bag-page{padding:34px 0 60px}.shopping-bag-header,.shopping-bag-page .page-header{align-items:stretch;flex-direction:column}.shopping-bag-header .shopping-bag-button,.shopping-bag-page .page-header .btn{width:100%}.shopping-bag-item,.shopping-bag-page .cart-item{grid-template-columns:92px minmax(0,1fr);gap:15px;padding:15px}.shopping-bag-image-link{width:92px;height:118px}.shopping-bag-page .cart-item>img,.shopping-bag-page .cart-item>.image-placeholder{width:92px;height:118px}.shopping-bag-line-total,.shopping-bag-page .cart-item-price{grid-column:2;align-self:auto}.shopping-bag-controls,.shopping-bag-page .cart-controls{align-items:flex-start;flex-direction:column;gap:8px}.shopping-bag-summary,.shopping-bag-page .order-summary{padding:22px 17px}}


/* Live shopping-bag total updates */
.shopping-bag-page.is-updating .cart-list,
.shopping-bag-page.is-updating .order-summary {
    opacity: .62;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.cart-update-status {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2100;
    max-width: min(380px, calc(100vw - 44px));
    padding: 14px 18px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 14px 38px rgb(0 0 0 / 20%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cart-update-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-update-status.is-error {
    background: #8c2525;
}

@media (max-width: 560px) {
    .cart-update-status {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
        text-align: center;
    }
}


/* Modern Moda secure checkout page */
.checkout-page{min-height:70vh;padding:48px 0 84px;background:var(--soft,#f7f7f5);color:var(--ink,#111)}
.checkout-page *,.checkout-page *::before,.checkout-page *::after{box-sizing:border-box}
.checkout-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #d9d5ce}
.checkout-eyebrow{margin:0 0 9px;color:#8b6b3f;font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.checkout-page-header h1{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,6vw,58px);font-weight:500;line-height:1.04}
.checkout-page-header>div>p:last-child{margin:0;color:#77726b}
.checkout-button{display:inline-flex;min-height:47px;align-items:center;justify-content:center;padding:13px 20px;border:1px solid #111;border-radius:0;background:#111;color:#fff!important;font:inherit;font-size:11px;font-weight:800;line-height:1;letter-spacing:.09em;text-align:center;text-decoration:none!important;text-transform:uppercase;cursor:pointer;transition:background-color 160ms ease,color 160ms ease}
.checkout-button:hover,.checkout-button:focus-visible{background:#fff;color:#111!important}
.checkout-button-outline{background:transparent;color:#111!important}
.checkout-button-outline:hover,.checkout-button-outline:focus-visible{background:#111;color:#fff!important}
.checkout-button-block{width:100%}
.checkout-button:disabled{border-color:#c9c6c0;background:#dedbd5;color:#777!important;cursor:not-allowed}
.checkout-warning{margin-bottom:24px;padding:16px 18px;border:1px solid #e0c28d;background:#fff8e8;color:#79551a;font-size:13px}
.checkout-warning ul{margin:9px 0 0;padding-left:20px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}
.checkout-main{display:grid;gap:22px;min-width:0}
.checkout-panel{min-width:0;padding:29px;border:1px solid #dedad3;background:#fff}
.checkout-panel-header{display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px;align-items:start;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #dedad3}
.checkout-panel-header>span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#111;color:#fff;font-size:10px;font-weight:800}
.checkout-panel-header h2,.checkout-summary>h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;line-height:1.1}
.checkout-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid #e2ded7;background:#e2ded7}
.checkout-info-item{min-width:0;padding:18px;background:#fff}
.checkout-info-full{grid-column:1/-1}
.checkout-info-item>span{display:block;margin-bottom:7px;color:#77726b;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.checkout-info-item>strong{display:block;overflow-wrap:anywhere;font-size:13px}
.checkout-info-item address{margin:0 0 12px;font-size:13px;font-style:normal;line-height:1.65}
.checkout-info-item a,.checkout-info-item a:visited{color:#111;font-size:11px;font-weight:800;text-underline-offset:3px}
.checkout-payment-form{display:grid;gap:16px}
.checkout-security-note{margin:14px 0 0;color:#77726b;font-size:11px;line-height:1.55;text-align:center}
.checkout-summary{position:sticky;top:62px}
.checkout-summary>h2{margin-bottom:21px}
.checkout-products{display:grid;gap:1px;margin-bottom:18px;border:1px solid #e2ded7;background:#e2ded7}
.checkout-product{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:13px;align-items:start;min-width:0;padding:13px;background:#fff}
.checkout-product>img,.checkout-product-placeholder{width:72px;height:91px;object-fit:cover;background:#eeeae3}
.checkout-product-content{min-width:0}
.checkout-product-content h3{margin:0 0 5px;font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:600;line-height:1.25}
.checkout-product-content p{margin:0 0 5px;color:#77726b;font-size:11px;line-height:1.5}
.checkout-product-unit-price{font-size:11px;font-weight:700}
.checkout-product-unit-price>span{margin-right:5px;color:#777;font-weight:400;text-decoration:line-through}
.checkout-product-total{white-space:nowrap;font-size:13px}
.checkout-summary-line{display:flex;justify-content:space-between;gap:18px;padding:9px 0;font-size:13px}
.checkout-summary-line.is-discount strong{color:#23623a}
.checkout-summary-total{margin-top:9px;padding-top:17px;border-top:1px solid #111;font-size:19px;font-weight:800}
.checkout-tax-note{margin:17px 0;padding:15px 0;border-top:1px solid #dedad3;border-bottom:1px solid #dedad3;color:#77726b;font-size:11px;line-height:1.55}
@media(max-width:980px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:640px){.checkout-page{padding:34px 0 60px}.checkout-page-header{align-items:stretch;flex-direction:column}.checkout-page-header .checkout-button{width:100%}.checkout-panel{padding:22px 16px}.checkout-info-grid{grid-template-columns:1fr}.checkout-info-full{grid-column:auto}.checkout-product{grid-template-columns:62px minmax(0,1fr)}.checkout-product>img,.checkout-product-placeholder{width:62px;height:80px}.checkout-product-total{grid-column:2}}

/* Modern Moda: payment success page */
.payment-success-page {
    padding: clamp(48px, 8vw, 104px) 0;
    background: #f7f5f0;
}

.payment-success-container {
    max-width: 1040px;
}

.payment-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px);
    border: 1px solid #ddd7cc;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 60px rgba(17, 17, 17, .07);
}

.payment-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    border: 1px solid #9a7a45;
    border-radius: 50%;
    place-items: center;
    color: #9a7a45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1;
}

.payment-success-card.is-error .payment-success-icon {
    border-color: #9b2525;
    color: #9b2525;
}

.payment-success-card .eyebrow {
    margin-bottom: 14px;
    color: #9a7a45;
}

.payment-success-card.is-error .eyebrow {
    color: #9b2525;
}

.payment-success-card h1 {
    max-width: 650px;
    margin: 0 auto 18px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.08;
}

.payment-success-order-number {
    margin: 24px 0 12px;
    color: #111;
    font-size: 18px;
    letter-spacing: .04em;
}

.payment-success-copy {
    max-width: 570px;
    margin: 0 auto;
    color: #6f6a62;
    font-size: 17px;
    line-height: 1.7;
}

.payment-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
}

.payment-success-actions .btn {
    min-width: 150px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    box-shadow: none;
}

.payment-success-page .payment-success-actions .btn:hover {
    border-color: #9a7a45;
    background: #9a7a45;
    color: #fff;
}

.payment-success-page .payment-success-actions .btn-outline {
    border: 1px solid #111;
    background: #fff;
    color: #111;
}

.payment-success-page .payment-success-actions .btn-outline:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.payment-success-shop-link {
    padding: 12px 4px;
    border-bottom: 1px solid currentColor;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.payment-success-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
    margin: 20px auto 0;
    border: 1px solid #ddd7cc;
    background: #fff;
}

.payment-success-assurance > div {
    padding: 22px;
    text-align: center;
}

.payment-success-assurance > div + div {
    border-left: 1px solid #ddd7cc;
}

.payment-success-assurance strong,
.payment-success-assurance span {
    display: block;
}

.payment-success-assurance strong {
    margin-bottom: 5px;
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.payment-success-assurance span {
    color: #777168;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .payment-success-page {
        padding: 28px 0 48px;
    }

    .payment-success-card {
        padding: 34px 20px;
    }

    .payment-success-actions {
        flex-direction: column;
    }

    .payment-success-actions .btn,
    .payment-success-shop-link {
        width: 100%;
    }

    .payment-success-assurance {
        grid-template-columns: 1fr;
    }

    .payment-success-assurance > div + div {
        border-top: 1px solid #ddd7cc;
        border-left: 0;
    }
}



/* Modern Moda: product detail page */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 720px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.gallery-thumbnail {
    width: 82px;
    height: 104px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ded9d0;
    background: #fff;
    cursor: pointer;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: #111;
}

.gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #f2efe9;
}

.product-main-image > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    max-height: 780px;
    object-fit: cover;
}

.product-main-image .product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
}

.main-image-rating {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .94);
    color: #111;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
}

.main-image-rating small {
    color: #6f6a62;
}

.featured-review-card {
    display: block;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #ded9d0;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.featured-review-stars,
.product-card-rating span {
    color: #9a7a45;
    letter-spacing: .08em;
}

.featured-review-card blockquote {
    margin: 14px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.5;
}

.featured-review-author {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #6f6a62;
    font-size: 14px;
}

.featured-review-author span {
    color: #287245;
    font-weight: 700;
}

.product-detail-layout > aside.panel {
    position: sticky;
    top: 92px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid #ded9d0;
    background: #fff;
    box-shadow: 0 18px 46px rgba(17, 17, 17, .06);
}

.product-detail-layout > aside.panel h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.08;
}

#productPrice {
    margin: 0 0 18px;
    color: #111;
    font-size: 27px;
    font-weight: 800;
}

#productPrice span:first-child:not(:last-child) {
    margin-right: 10px;
    color: #8a857d;
    font-size: 18px;
    font-weight: 500;
    text-decoration: line-through;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 26px 0;
    border-top: 1px solid #e5e0d8;
    border-left: 1px solid #e5e0d8;
}

.detail-item {
    padding: 16px;
    border-right: 1px solid #e5e0d8;
    border-bottom: 1px solid #e5e0d8;
}

.detail-item.full {
    grid-column: 1 / -1;
}

.detail-label {
    margin-bottom: 5px;
    color: #8b6e3f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.variant-group {
    min-width: 0;
    margin: 24px 0;
    padding: 0;
    border: 0;
}

.variant-group legend {
    width: 100%;
    margin-bottom: 12px;
    color: #111;
    font-weight: 800;
}

.variant-group legend span {
    color: #756f66;
    font-weight: 500;
}

.color-options,
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch,
.size-option {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #cec8bd;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.color-swatch:hover,
.size-option:hover,
.color-swatch.selected,
.size-option.selected {
    border-color: #111;
    background: #111;
    color: #fff;
}

.color-swatch:disabled,
.size-option:disabled {
    opacity: .35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.swatch-circle {
    width: 20px;
    height: 20px;
    border: 1px solid #bdb7ad;
    border-radius: 50%;
    background: var(--swatch-color, #e5e1d9);
}

.variant-message {
    min-height: 24px;
    margin: -8px 0 18px;
    color: #756f66;
    font-size: 14px;
}

.product-detail-layout .form-field input[type="number"] {
    width: 110px;
}

.product-detail-layout .btn,
#reviews .btn {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    box-shadow: none;
}

.product-detail-layout .btn:hover,
#reviews .btn:hover {
    border-color: #9a7a45;
    background: #9a7a45;
    color: #fff;
}

.product-detail-layout .btn-outline,
#reviews .btn-outline {
    background: #fff;
    color: #111;
}

.product-detail-layout .btn-outline:hover,
#reviews .btn-outline:hover {
    background: #111;
    color: #fff;
}

.product-detail-layout .btn:disabled {
    border-color: #d5d0c7;
    background: #d5d0c7;
    color: #777168;
    cursor: not-allowed;
}

#reviews {
    border-top: 1px solid #ded9d0;
    background: #f7f5f0;
}

#reviews .panel {
    border: 1px solid #ded9d0;
    background: #fff;
}

#reviews textarea.input {
    min-height: 150px;
    resize: vertical;
}

.review-card {
    padding: 24px 0;
    border-bottom: 1px solid #e5e0d8;
}

.review-card:last-child {
    border-bottom: 0;
}

@media (max-width: 980px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-layout > aside.panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-thumbnails {
        order: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
    }

    .gallery-thumbnail {
        flex: 0 0 72px;
        width: 72px;
        height: 90px;
    }

    .product-main-image,
    .product-main-image > img {
        min-height: 440px;
    }

    .main-image-rating {
        right: 10px;
        bottom: 10px;
    }

    .main-image-rating small {
        display: none;
    }

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

    .detail-item.full {
        grid-column: auto;
    }
}

/* Product page: Back to Store button */
.product-back-button {
    border: 1px solid #111 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
}

.product-back-button:hover {
    border-color: #111 !important;
    background: #111 !important;
    color: #fff !important;
}

/* Modern Moda: customer support conversation */
.support-page {
    padding: clamp(38px, 6vw, 76px) 0;
    background: #f7f5f0;
}

.support-page .container {
    max-width: 1080px;
}

.support-page .page-header {
    display: flex;
    gap: 24px;
    min-height: 0 !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    padding: 26px 30px !important;
    border: 1px solid #dcd6cb;
    background: #fff !important;
    color: #111 !important;
}

.support-page .page-title {
    max-width: 760px;
    margin: 4px 0 8px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.08;
}

.support-page .page-header .eyebrow {
    color: #9a7a45 !important;
}

.support-page .page-header .muted {
    color: #6f6a62 !important;
}

.support-page .page-header .btn,
.support-page .support-message .btn,
.support-page form .btn {
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.support-page .page-header .btn-outline,
.support-page .support-message .btn-outline {
    background: #fff !important;
    color: #111 !important;
}

.support-page .page-header .btn-outline {
    flex: 0 0 auto;
    min-width: 150px;
}

.support-page .page-header .btn:hover,
.support-page .support-message .btn:hover,
.support-page form .btn:hover {
    border-color: #9a7a45 !important;
    background: #9a7a45 !important;
    color: #fff !important;
}

.support-page > .container > .alert {
    margin-bottom: 24px;
    padding: 15px 18px;
    border: 1px solid #dcd6cb;
    border-left: 4px solid #9a7a45;
    background: #fff;
    color: #514d46;
}

.support-page > .container > .panel {
    margin-top: 22px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #dcd6cb;
    background: #fff;
    box-shadow: 0 16px 44px rgba(17, 17, 17, .05);
}

.support-page > .container > .panel:first-of-type {
    padding: 24px !important;
}

.support-page > .container > .panel:first-of-type > [data-mm-style="mm-u-0053"] {
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    padding: 0 !important;
}

.support-message {
    width: min(72%, 640px);
    min-height: 0 !important;
    margin: 0 0 0 auto;
    padding: 18px 20px !important;
    border: 1px solid #cfc5b5;
    background: #f3eee5;
    color: #111;
}

.support-message.is-admin {
    margin-right: auto;
    margin-left: 0;
    border-color: #d8d1c5;
    background: #f4f0e8;
    color: #111;
}

.support-message:last-child {
    margin-bottom: 0;
}

.support-message > div:first-child {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d1c5;
}

.support-message.is-admin > div:first-child {
    border-bottom-color: #d8d1c5;
}

.support-message > div:first-child strong {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.support-message .muted {
    color: #777168;
    font-size: 12px;
}

.support-message.is-admin .muted {
    color: #777168;
}

.support-message > div:nth-child(2) {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.7;
}

.support-message > div:last-child:not(:nth-child(2)) {
    margin-top: 16px;
}

.support-message .btn {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12px;
}

.support-message:not(.is-admin) .btn-outline {
    border-color: #111 !important;
    background: #fff !important;
    color: #111 !important;
}

.support-page .panel .eyebrow + h2 {
    margin: 5px 0 24px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
}

.support-page .form-field {
    margin-bottom: 20px;
}

.support-page .form-field label {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.support-page .textarea,
.support-page .input[type="file"] {
    width: 100%;
    border: 1px solid #cbc4b8;
    border-radius: 0;
    background: #fff;
    color: #111;
}

.support-page .textarea {
    min-height: 160px;
    padding: 15px;
    resize: vertical;
}

.support-page .textarea:focus,
.support-page .input:focus {
    border-color: #111;
    outline: 2px solid rgba(154, 122, 69, .18);
    outline-offset: 1px;
}

.support-page .input[type="file"] {
    padding: 10px;
}

.support-page .input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    border: 0;
    background: #eee9e0;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 700px) {
    .support-page .page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .support-page .page-header .btn {
        width: 100%;
    }

    .support-message,
    .support-message.is-admin {
        width: 100%;
    }

    .support-message > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}


/* Mobile header and navigation */
@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .amazon-primary-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
        align-items: center;
        padding: 16px;
    }

    .amazon-primary-row .brand {
        min-width: 0;
        font-size: 25px;
        white-space: nowrap;
    }

    .header-search {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }

    .header-search input {
        width: 100%;
        min-width: 0;
    }

    .header-search button {
        flex: 0 0 auto;
        padding: 0 16px;
    }

    .customer-quick-links {
        grid-column: 2;
        grid-row: 1;
    }

    .amazon-category-row {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .amazon-category-row::-webkit-scrollbar {
        display: none;
    }

    .amazon-category-row .container {
        display: flex;
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0 12px;
    }

    .amazon-category-row a {
        flex: 0 0 auto;
        padding: 15px 13px;
        font-size: 13px;
        white-space: nowrap;
    }

    .amazon-category-row .account-link-start {
        margin-left: 8px;
        border-left: 1px solid #d8d1c5;
    }
}

/* Modern Moda: customer gift-card wallet */
.my-gift-cards-page .account-content {
    min-width: 0;
}

.my-gift-cards-header {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid #d8d1c5;
    background: #fff;
}

.my-gift-cards-header h1,
.gift-wallet-save-card h2,
.gift-wallet-empty h2 {
    margin: 5px 0 10px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.my-gift-cards-header h1 {
    font-size: clamp(34px, 5vw, 54px);
}

.my-gift-cards-header p:last-child,
.gift-wallet-save-card p {
    margin: 0;
    color: #706a62;
}

.gift-wallet-save-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #d8d1c5;
    background: #f7f5f0;
}

.gift-wallet-save-card h2 {
    font-size: 30px;
}

.gift-wallet-save-form {
    display: flex;
    gap: 10px;
}

.gift-wallet-save-form .input {
    min-width: 0;
    flex: 1 1 auto;
    text-transform: uppercase;
}

.gift-wallet-primary-button,
.gift-wallet-outline-button,
.gift-wallet-remove-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.gift-wallet-outline-button {
    background: #fff;
    color: #111;
}

.gift-wallet-remove-button {
    border-color: transparent;
    background: transparent;
    color: #8f1d1d;
}

.gift-wallet-primary-button:hover,
.gift-wallet-outline-button:hover {
    border-color: #9a7a45;
    background: #9a7a45;
    color: #fff;
}

.gift-wallet-remove-button:hover {
    border-color: #8f1d1d;
    background: #fff;
}

.gift-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gift-wallet-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8d1c5;
    background: #fff;
}

.gift-wallet-card-face {
    display: flex;
    min-height: 230px;
    padding: 28px;
    background: linear-gradient(145deg, #111 0%, #29241e 100%);
    color: #fff;
    flex-direction: column;
    justify-content: space-between;
}

.gift-wallet-card-face span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gift-wallet-card-face strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 400;
}

.gift-wallet-card-face small {
    color: #d5c19a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
}

.gift-wallet-card.is-unavailable .gift-wallet-card-face {
    background: #6e6a64;
}

.gift-wallet-card-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e1dbd1;
}

.gift-wallet-card-details > div {
    min-width: 0;
    padding: 16px;
}

.gift-wallet-card-details > div + div {
    border-left: 1px solid #e1dbd1;
}

.gift-wallet-card-details span,
.gift-wallet-card-details strong {
    display: block;
}

.gift-wallet-card-details span {
    margin-bottom: 5px;
    color: #777168;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gift-wallet-card-details strong {
    overflow-wrap: anywhere;
    color: #111;
    font-size: 13px;
}

.gift-wallet-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
}

.gift-wallet-actions form {
    margin: 0;
}

.gift-wallet-empty {
    border: 1px solid #d8d1c5;
    background: #fff;
}

@media (max-width: 900px) {
    .gift-wallet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .my-gift-cards-header,
    .gift-wallet-save-card {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .gift-wallet-save-form {
        flex-direction: column;
    }

    .gift-wallet-primary-button,
    .gift-wallet-outline-button {
        width: 100%;
    }

    .gift-wallet-card-details {
        grid-template-columns: 1fr;
    }

    .gift-wallet-card-details > div + div {
        border-top: 1px solid #e1dbd1;
        border-left: 0;
    }

    .gift-wallet-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
/* Gift-card totals shown during checkout. */
.checkout-summary .checkout-gift-card-line {
    color: #7a5a2b;
}

.checkout-summary .checkout-balance-line {
    margin-top: -1px;
    padding-top: 0;
    border-top: 0;
    color: #77726b;
    font-size: .82rem;
}

.checkout-summary .checkout-balance-line strong {
    color: #5e594f;
    font-size: .88rem;
}

/* Admin site traffic monitor. */
.traffic-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.traffic-kpis article,
.traffic-card {
    border: 1px solid #ddd7ce;
    background: #fff;
}

.traffic-kpis article {
    min-height: 145px;
    padding: 22px;
}

.traffic-kpis span,
.traffic-kpis small {
    display: block;
    color: #746f67;
}

.traffic-kpis strong {
    display: block;
    margin: 10px 0 8px;
    color: #111;
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.traffic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.traffic-grid-wide {
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr);
}

.traffic-card {
    padding: 24px;
}

.traffic-card > header {
    margin-bottom: 20px;
}

.traffic-card h2 {
    margin: 4px 0 0;
}

.traffic-chart {
    display: flex;
    min-height: 245px;
    align-items: flex-end;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 2px 2px;
}

.traffic-chart-column {
    display: grid;
    min-width: 38px;
    flex: 1;
    grid-template-rows: 22px 170px 25px;
    gap: 6px;
    text-align: center;
}

.traffic-chart-column > div {
    display: flex;
    align-items: flex-end;
    background: #f4f1eb;
}

.traffic-chart-column > div span {
    display: block;
    width: 100%;
    min-height: 5px;
    background: #a58450;
}

.traffic-chart-column small {
    color: #77726b;
    font-size: 10px;
    white-space: nowrap;
}

.traffic-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #ece8e1;
}

.traffic-list > div:last-child {
    border-bottom: 0;
}

.traffic-list strong {
    min-width: 42px;
    padding: 5px 9px;
    background: #f4f1eb;
    text-align: center;
}

.traffic-recent {
    margin-bottom: 24px;
}

.traffic-empty {
    color: #77726b;
}

.traffic-customer-email {
    display: block;
    margin-top: 3px;
    color: #77726b;
    font-size: 11px;
    font-weight: 500;
    word-break: break-word;
}

@media (max-width: 1100px) {
    .traffic-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .traffic-grid,
    .traffic-grid-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .traffic-kpis {
        grid-template-columns: 1fr;
    }

    .traffic-card {
        padding: 16px;
    }
}
.pwa-install-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 18px;
    z-index: 9999;

    background: #111;
    color: #fff;

    padding: 14px 16px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 14px;

    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.pwa-install-bar[hidden] {
    display: none;
}

.pwa-install-bar div {
    flex: 1;
}

.pwa-install-bar strong,
.pwa-install-bar span {
    display: block;
}

.pwa-install-bar span {
    font-size: 13px;
    opacity: .8;
    margin-top: 2px;
}

.pwa-install-bar button {
    border: 0;
    cursor: pointer;
}

#pwaInstallButton {
    background: #fff;
    color: #111;
    padding: 10px 14px;
    border-radius: 9px;
    font-weight: 700;
}

#pwaInstallClose {
    background: transparent;
    color: #fff;
    font-size: 22px;
}

.pwa-ios-help {
    position: fixed;
    inset: 0;
    z-index: 10000;

    background: rgba(0,0,0,.55);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.pwa-ios-help[hidden] {
    display: none;
}

.pwa-ios-card {
    position: relative;

    width: 100%;
    max-width: 360px;

    background: #fff;
    color: #111;

    padding: 28px;
    border-radius: 18px;

    text-align: center;
}

.pwa-ios-card strong {
    font-size: 21px;
}

.pwa-ios-card p {
    line-height: 1.6;
    margin: 15px 0 20px;
}

#pwaIosDone {
    border: 0;
    background: #111;
    color: #fff;
    padding: 11px 24px;
    border-radius: 9px;
    font-weight: 700;
}

.pwa-ios-close {
    position: absolute;
    right: 12px;
    top: 8px;

    background: transparent;
    border: 0;

    font-size: 25px;
    cursor: pointer;
}
.pwa-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 78px;
    }

    .pwa-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;

        display: grid;
        grid-template-columns: repeat(4, 1fr);

        background: rgba(255,255,255,.96);
        border-top: 1px solid rgba(0,0,0,.1);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        padding-bottom: env(safe-area-inset-bottom);
    }

    .pwa-nav-item {
        min-height: 62px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        color: #111;
        text-decoration: none;

        font-size: 11px;
        font-weight: 600;
    }

    .pwa-nav-icon {
        font-size: 21px;
        line-height: 1;
    }

    .pwa-nav-item:active {
        background: #f2f2f2;
    }
}
cat >> assets/css/site.css <<'EOF'

/* ==========================================================
   ModernModa PWA Account
========================================================== */

.pwa-account-hero,
.pwa-account-menu {
    display: none;
}

@media (max-width: 768px) {

    .pwa-account-hero {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #111;
        color: #fff;
        margin: 0 0 18px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .pwa-account-avatar {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        color: #111;
        font-family: Georgia, serif;
        font-size: 30px;
        font-weight: 700;
    }

    .pwa-account-identity {
        min-width: 0;
    }

    .pwa-account-identity small {
        display: block;
        margin-bottom: 3px;
        opacity: .7;
        font-size: 12px;
    }

    .pwa-account-identity h1 {
        margin: 0;
        color: #fff;
        font-size: 23px;
        line-height: 1.2;
    }

    .pwa-account-identity p {
        margin: 5px 0 0;
        opacity: .8;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .pwa-account-menu {
        display: block;
        background: #fff;
        border: 1px solid rgba(0,0,0,.08);
        border-radius: 18px;
        overflow: hidden;
        margin-bottom: 22px;
    }

    .pwa-account-menu > a {
        display: grid;
        grid-template-columns: 42px 1fr 20px;
        align-items: center;
        gap: 10px;
        padding: 15px 16px;
        color: #111;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,.07);
    }

    .pwa-account-menu > a:last-child {
        border-bottom: 0;
    }

    .pwa-account-menu-icon {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f3f3f3;
        border-radius: 11px;
        font-size: 20px;
    }

    .pwa-account-menu strong,
    .pwa-account-menu small {
        display: block;
    }

    .pwa-account-menu strong {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .pwa-account-menu small {
        color: #777;
        font-size: 11px;
    }

    .pwa-account-arrow {
        color: #999;
        font-size: 25px;
        text-align: right;
    }

    .pwa-account-signout strong {
        color: #a52a2a;
    }
}

EOF

/* ==========================================================
   ModernModa PWA Orders
========================================================== */

@media (max-width: 768px) {

    .orders-page .page-header {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .orders-page .page-title {
        font-size: 28px;
    }

    .orders-summary-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .orders-summary-card {
        border-radius: 16px;
        padding: 16px;
    }

    .orders-summary-card strong {
        font-size: 23px;
    }

    .orders-status-tabs {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .orders-status-tabs::-webkit-scrollbar {
        display: none;
    }

    .orders-status-tabs a {
        flex: 0 0 auto;
        border-radius: 20px;
        padding: 9px 14px;
        white-space: nowrap;
    }

    .orders-filter-panel {
        border-radius: 18px;
        padding: 18px;
    }

    .orders-filter-grid {
        grid-template-columns: 1fr;
    }

    .order-history-card {
        border-radius: 18px;
        overflow: hidden;
        padding: 18px;
        box-shadow: 0 4px 18px rgba(0,0,0,.06);
    }

    .order-history-head {
        display: block;
    }

    .order-history-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 14px;
    }

    .order-history-summary strong {
        font-size: 21px;
    }

    .order-history-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 16px;
    }

    .order-history-actions .btn,
    .order-history-actions form,
    .order-history-actions form button {
        width: 100%;
    }

    .order-history-actions form {
        margin: 0;
    }
}

/* ==========================================================
   ModernModa PWA Cart
========================================================== */

@media (max-width: 768px) {

    .cart-page,
    .cart-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cart-layout,
    .cart-grid {
        display: block;
    }

    .cart-item,
    .cart-row {
        border-radius: 18px;
        padding: 14px;
        margin-bottom: 12px;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,.05);
    }

    .cart-item img,
    .cart-product-image {
        border-radius: 14px;
        max-width: 100px;
        height: auto;
    }

    .cart-summary,
    .cart-totals {
        position: static;
        margin-top: 18px;
        border-radius: 18px;
        padding: 18px;
        background: #fff;
        box-shadow: 0 4px 18px rgba(0,0,0,.06);
    }

    .cart-summary .btn,
    .cart-totals .btn,
    .checkout-button,
    .proceed-checkout {
        width: 100%;
        min-height: 48px;
        border-radius: 12px;
        font-weight: 700;
    }

    .cart-quantity input,
    .quantity-input {
        min-height: 42px;
        border-radius: 10px;
    }
}

/* ==========================================================
   ModernModa PWA Checkout
========================================================== */

@media (max-width: 768px) {

    .checkout-page,
    .checkout-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .checkout-layout,
    .checkout-grid {
        display: block;
    }

    .checkout-section,
    .checkout-panel,
    .checkout-summary {
        border-radius: 18px;
        padding: 18px;
        margin-bottom: 14px;
        background: #fff;
        box-shadow: 0 4px 18px rgba(0,0,0,.05);
    }

    .checkout-page input,
    .checkout-page select,
    .checkout-page textarea {
        width: 100%;
        min-height: 46px;
        border-radius: 10px;
        font-size: 16px;
    }

    .checkout-submit,
    .place-order-button,
    button[name="place_order"] {
        width: 100%;
        min-height: 52px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 16px;
    }
}

/* ==========================================================
   PWA Bottom Nav Active State
========================================================== */

@media (max-width: 768px) {

    .pwa-nav-item {
        position: relative;
        opacity: .65;
        transition:
            opacity .2s ease,
            transform .2s ease;
    }

    .pwa-nav-item.active {
        opacity: 1;
        font-weight: 800;
    }

    .pwa-nav-item.active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: #111;
    }

    .pwa-nav-item.active .pwa-nav-icon {
        transform: translateY(-1px);
    }
}
/* ==========================================================
   PWA Cart Badge
========================================================== */

.pwa-cart-icon {
    position: relative;
}

.pwa-cart-badge {
    position: absolute;
    top: -9px;
    right: -13px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #111;
    color: #fff;

    border: 2px solid #fff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================
   ModernModa PWA Product Detail
========================================================== */

@media (max-width: 768px) {

    .product-page,
    .product-detail,
    .product-container {
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 92px;
    }

    .product-detail-grid,
    .product-layout {
        display: block;
    }

    .product-detail-image,
    .product-main-image {
        width: 100%;
        border-radius: 18px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .product-detail-info,
    .product-info {
        padding: 0;
    }

    .product-detail-title,
    .product-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .product-detail-price,
    .product-price {
        font-size: 24px;
        font-weight: 800;
        margin: 10px 0;
    }

    .pwa-product-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(62px + env(safe-area-inset-bottom));
        z-index: 9985;

        display: flex;
        align-items: center;
        gap: 12px;

        background: rgba(255,255,255,.97);
        border-top: 1px solid rgba(0,0,0,.08);

        padding: 10px 14px;

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .pwa-product-sticky-price {
        flex: 1;
        font-size: 17px;
        font-weight: 800;
    }

    .pwa-product-sticky button {
        min-height: 46px;
        padding: 0 22px;

        border: 0;
        border-radius: 12px;

        background: #111;
        color: #fff;

        font-size: 14px;
        font-weight: 800;
    }
}

/* ==========================================================
   ModernModa PWA Home
========================================================== */

@media (max-width: 768px) {

    /* Overall mobile spacing */

    .store-page,
    .shop-page,
    .home-page,
    main {
        padding-bottom: 85px;
    }


    /* Hero */

    .hero,
    .store-hero,
    .home-hero {
        border-radius: 0 0 22px 22px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .hero-content,
    .store-hero-content,
    .home-hero-content {
        padding: 28px 18px;
    }

    .hero h1,
    .store-hero h1,
    .home-hero h1 {
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.05;
    }

    .hero p,
    .store-hero p,
    .home-hero p {
        font-size: 14px;
        line-height: 1.5;
    }


    /* Categories */

    .category-grid,
    .categories-grid,
    .category-list {
        display: flex;
        gap: 12px;

        overflow-x: auto;
        scroll-snap-type: x mandatory;

        padding: 4px 14px 12px;

        scrollbar-width: none;
    }

    .category-grid::-webkit-scrollbar,
    .categories-grid::-webkit-scrollbar,
    .category-list::-webkit-scrollbar {
        display: none;
    }

    .category-card,
    .category-item {
        flex: 0 0 125px;
        scroll-snap-align: start;

        border-radius: 16px;
        overflow: hidden;
    }


    /* Product grid */

    .product-grid,
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;

        padding-left: 12px;
        padding-right: 12px;
    }


    /* Product cards */

    .product-card {
        border-radius: 16px;
        overflow: hidden;

        background: #fff;

        box-shadow: 0 3px 14px rgba(0,0,0,.05);
    }

    .product-card img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .product-card-content,
    .product-card-body {
        padding: 12px;
    }

    .product-card h2,
    .product-card h3,
    .product-card-title {
        font-size: 14px;
        line-height: 1.3;

        margin: 0 0 5px;

        overflow: hidden;
        display: -webkit-box;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .product-price,
    .product-card-price {
        font-size: 15px;
        font-weight: 800;
    }


    /* Product buttons */

    .product-card button,
    .product-card .btn {
        min-height: 42px;
        width: 100%;

        border-radius: 10px;

        font-size: 13px;
        font-weight: 700;
    }


    /* Section titles */

    .section-title,
    .collection-title {
        padding-left: 14px;
        padding-right: 14px;

        font-size: 22px;
    }


    /* Search */

    .header-search {
        width: 100%;
    }

    .header-search input {
        min-height: 44px;
        font-size: 16px;
        border-radius: 12px;
    }

}

/* ==========================================================
   ModernModa PWA Launch Screen
========================================================== */

.pwa-splash {
    position: fixed;
    inset: 0;
    z-index: 20000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    opacity: 0;
    transition: opacity .35s ease;
}

.pwa-splash[hidden] {
    display: none;
}

.pwa-splash.show {
    opacity: 1;
}

.pwa-splash-logo {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border: 2px solid rgba(255,255,255,.9);
    border-radius: 26px;

    font-family: Georgia, serif;
    font-size: 62px;
    font-weight: 700;
}

.pwa-splash-name {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .22em;
}

.pwa-splash-subtitle {
    margin-top: 9px;

    font-size: 12px;
    letter-spacing: .12em;

    opacity: .65;
}

/* ==========================================================
   ModernModa PWA Update Bar
========================================================== */

.pwa-update-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 9998;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    background: #111;
    color: #fff;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.pwa-update-bar[hidden] {
    display: none;
}

.pwa-update-bar div {
    flex: 1;
}

.pwa-update-bar strong,
.pwa-update-bar span {
    display: block;
}

.pwa-update-bar span {
    margin-top: 2px;

    font-size: 12px;
    opacity: .75;
}

#pwaUpdateButton {
    border: 0;

    padding: 10px 14px;

    border-radius: 9px;

    background: #fff;
    color: #111;

    font-weight: 800;
    cursor: pointer;
}

#pwaUpdateClose {
    border: 0;
    background: transparent;
    color: #fff;

    font-size: 22px;
    cursor: pointer;
}
/* ==========================================================
   ModernModa PWA Notifications
========================================================== */

.pwa-notification-card {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 9997;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    background: #111;
    color: #fff;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.pwa-notification-card[hidden] {
    display: none;
}

.pwa-notification-card div {
    flex: 1;
}

.pwa-notification-card strong,
.pwa-notification-card span {
    display: block;
}

.pwa-notification-card span {
    margin-top: 3px;
    font-size: 12px;
    opacity: .75;
}

#pwaEnableNotifications {
    border: 0;
    padding: 10px 14px;

    background: #fff;
    color: #111;

    border-radius: 9px;

    font-weight: 800;
}

#pwaNotificationClose {
    border: 0;
    background: transparent;
    color: #fff;

    font-size: 22px;
}
/* ==========================================================
   ModernModa Notifications Page
========================================================== */

.notifications-page {
    padding: 34px 18px 110px;
}

.notifications-container {
    width: min(900px, 100%);
    margin: 0 auto;
}

.notifications-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.notifications-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
}

.notifications-header h1 {
    margin: 0;
    font-size: 34px;
}

.notifications-subtitle {
    margin: 6px 0 0;
    color: #666;
}

.notifications-mark-all {
    border: 1px solid #111;
    background: #fff;
    color: #111;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
}

.notification-card.is-unread {
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

.notification-card.is-read {
    opacity: .72;
}

.notification-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    border-radius: 12px;
    font-size: 20px;
}

.notification-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-card-title-row h2 {
    margin: 0;
    font-size: 16px;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
}

.notification-card-content p {
    margin: 7px 0 12px;
    color: #555;
    line-height: 1.5;
}

.notification-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 12px;
    color: #888;
}

.notification-open-link,
.notification-read-link {
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.notifications-empty {
    text-align: center;
    background: #fff;
    padding: 50px 24px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.08);
}

.notifications-empty-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.notifications-empty h2 {
    margin: 0 0 8px;
}

.notifications-empty p {
    margin: 0 auto 20px;
    max-width: 480px;
    color: #666;
}

.notifications-shop-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {

    .notifications-page {
        padding: 20px 12px 100px;
    }

    .notifications-header {
        display: block;
    }

    .notifications-header h1 {
        font-size: 28px;
    }

    .notifications-mark-all {
        margin-top: 14px;
        width: 100%;
    }

    .notification-card {
        grid-template-columns: 42px 1fr;
        padding: 15px;
    }

    .notification-card-icon {
        width: 40px;
        height: 40px;
    }
}

/* Notification bell */

.header-notification-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    text-decoration: none;
    color: inherit;
}

.header-notification-icon {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

.header-notification-badge {
    position: absolute !important;
    top: 0;
    right: 0;

    display: flex !important;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    border-radius: 999px;
    background: #111;
    color: #fff;
    border: 2px solid #fff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================
   ModernModa New Notification Bell Pulse
========================================================== */

.header-notification-link.has-new-notification {
    animation: modernModaBellPulse .4s ease-in-out 3;
}

@keyframes modernModaBellPulse {

    0% {
        transform: scale(1) rotate(0deg);
    }

    30% {
        transform: scale(1.12) rotate(-8deg);
    }

    60% {
        transform: scale(1.12) rotate(8deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .header-notification-link.has-new-notification {
        animation: none;
    }
}

/* ==========================================================
   ModernModa Notification Center v12
========================================================== */
.notifications-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.notifications-clear-read {
    border: 1px solid rgba(0,0,0,.16);
    background: #f6f6f6;
    color: #333;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.notification-category {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f2f2f2;
    color: #666;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.notification-delete-form {
    display: inline;
    margin: 0;
}

.notification-delete-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #8a3b3b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.notification-card.is-unread {
    border-color: rgba(0,0,0,.16);
}

@media (max-width: 768px) {
    .notifications-header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin-top: 14px;
    }

    .notifications-header-actions form:only-child {
        grid-column: 1 / -1;
    }

    .notifications-mark-all,
    .notifications-clear-read {
        width: 100%;
        margin-top: 0;
    }
}


/* ==========================================================
   ModernModa PWA — Notification Preferences
========================================================== */

.pwa-preferences-page {
    padding: 32px 16px 110px;
}

.pwa-preferences-shell {
    width: min(860px, 100%);
    margin: 0 auto;
}

.pwa-preferences-heading {
    margin-bottom: 22px;
}

.pwa-preferences-heading h1 {
    margin: 4px 0 8px;
}

.pwa-preferences-heading > p:last-child {
    margin: 0;
    color: #666;
}

.pwa-preferences-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 12px;
    background: #f7f7f7;
    font-weight: 700;
}

.pwa-device-status-card,
.pwa-preferences-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.pwa-device-status-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 22px;
    align-items: center;
    padding: 18px;
    margin-bottom: 16px;
}

.pwa-device-status-card strong,
.pwa-device-status-card span {
    display: block;
}

#pwaDevicePushStatus {
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

#pwaDevicePushStatus.is-enabled {
    color: #166534;
    font-weight: 700;
}

.pwa-device-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.pwa-device-message {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 1.4em;
    color: #166534;
    font-size: 13px;
}

.pwa-device-message.is-error {
    color: #991b1b;
}

.pwa-preferences-card {
    padding: 8px 18px 20px;
}

.pwa-preference-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 2px;
    cursor: pointer;
}

.pwa-preference-row input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #111;
}

.pwa-preference-row strong,
.pwa-preference-row small {
    display: block;
}

.pwa-preference-row small {
    margin-top: 4px;
    color: #666;
    line-height: 1.45;
}

.pwa-preference-master {
    background: #fafafa;
    margin: 8px -8px 0;
    padding: 16px 10px;
    border-radius: 12px;
}

.pwa-preference-divider {
    height: 1px;
    background: rgba(0, 0, 0, .08);
}

.pwa-preferences-save {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
}

.pwa-preferences-note {
    margin: 14px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.notifications-preferences-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #111;
    border-radius: 10px;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 700px) {
    .pwa-preferences-page {
        padding: 20px 12px 100px;
    }

    .pwa-device-status-card {
        grid-template-columns: 1fr;
    }

    .pwa-device-actions {
        justify-content: stretch;
    }

    .pwa-device-actions .btn {
        flex: 1 1 100%;
    }
}

/* ========================================================================== 
   MODERNMODA FINAL PWA APP UI — mobile-first luxury storefront
   ========================================================================== */
:root{
  --mm-app-black:#080808;
  --mm-app-ink:#111;
  --mm-app-muted:#6f6f73;
  --mm-app-line:#e7e7e7;
  --mm-app-soft:#f6f6f7;
  --mm-app-gold:#c8953f;
  --mm-app-radius:18px;
  --mm-app-shadow:0 10px 30px rgba(0,0,0,.08);
}
html{scroll-behavior:smooth;background:#fff}
body{background:#fff;color:var(--mm-app-ink)}

/* Header */
.announcement{background:#050505;color:#fff;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;padding:9px 16px;text-align:center}
.site-header{position:sticky;top:0;z-index:800;background:#fff;border-bottom:1px solid var(--mm-app-line)}
.amazon-style-header{background:#fff}
.amazon-primary-row{min-height:68px;display:grid;grid-template-columns:auto minmax(220px,1fr) auto auto;gap:18px;align-items:center}
.brand{font-family:Georgia,'Times New Roman',serif;font-size:24px;font-weight:800;letter-spacing:.08em;color:#0a0a0a;text-decoration:none;white-space:nowrap}
.header-search{max-width:620px;justify-self:center;width:100%;display:flex;border:1px solid #d8d8d8;border-radius:999px;overflow:hidden;background:#f7f7f7}
.header-search input{border:0!important;background:transparent!important;min-height:44px;padding:0 18px!important}
.header-search button{border:0;background:#111;color:#fff;padding:0 22px;font-weight:800;letter-spacing:.04em}
.customer-quick-links{display:flex;align-items:center;gap:10px}
.header-welcome-link{color:#111;text-decoration:none;display:flex;flex-direction:column;line-height:1.05;font-size:11px}
.header-welcome-link strong{font-size:13px}
.header-notification-link{background:#f5f5f5;border:1px solid #e3e3e3}
.amazon-category-row{background:#fff;border-bottom:1px solid #ececec}
.amazon-category-row .container{display:flex;justify-content:center;gap:26px;overflow:auto;scrollbar-width:none}
.amazon-category-row a{padding:12px 0;color:#444;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;border-bottom:2px solid transparent}
.amazon-category-row a.is-active{color:#000;border-bottom-color:#000}

/* Home hero */
.hero{position:relative;min-height:500px;background:linear-gradient(90deg,#111 0 48%,#34312f 48% 100%);overflow:hidden;color:#fff}
.hero:after{content:'';position:absolute;right:0;top:0;bottom:0;width:52%;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,0));pointer-events:none}
.hero-content{position:relative;z-index:1;min-height:500px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:1180px}
.hero .eyebrow{color:#d7a757;letter-spacing:.22em;font-weight:800}
.hero h1{max-width:620px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,6vw,82px);line-height:.95;margin:14px 0 22px}
.hero p:not(.eyebrow){max-width:560px;font-size:18px;color:#e6e6e6;line-height:1.6}
.hero .btn{background:var(--mm-app-gold)!important;border-color:var(--mm-app-gold)!important;color:#111!important;border-radius:8px!important;text-transform:uppercase;letter-spacing:.08em;font-weight:900;padding:14px 22px;margin-top:8px}

/* Category rail */
.pwa-category-strip{background:#fff;border-bottom:1px solid #ececec;padding:24px 0 18px}
.pwa-category-strip-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.pwa-category-strip-head strong{text-transform:uppercase;font-size:14px;letter-spacing:.05em}
.pwa-category-strip-head a{font-size:13px;color:#111;text-decoration:none}
.pwa-category-scroll{display:flex;gap:22px;overflow-x:auto;padding:0 2px 5px;scrollbar-width:none}
.pwa-category-chip{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:72px;color:#111;text-decoration:none;font-size:12px;font-weight:700}
.pwa-category-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#f0efed;border:1px solid #e4e2df;font-family:Georgia,serif;font-size:22px;font-weight:800;box-shadow:inset 0 0 0 5px #fafafa}

/* Collections / product grid */
.section{padding:42px 0}
.section-head{align-items:end;border-bottom:1px solid #ededed;padding-bottom:18px;margin-bottom:24px}
.section-title{font-family:Georgia,'Times New Roman',serif;font-size:38px;letter-spacing:-.02em}
.section-copy{color:#727272;max-width:520px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.product-card{border:1px solid #ececec!important;border-radius:16px!important;background:#fff!important;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.045);transition:transform .2s ease,box-shadow .2s ease;position:relative}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--mm-app-shadow)}
.product-media{aspect-ratio:4/5;background:#f4f4f4;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.product-card:hover .product-media img{transform:scale(1.025)}
.product-info{padding:15px 15px 17px}
.product-title{font-size:15px;line-height:1.25;margin:7px 0 4px}
.product-category{font-size:12px;color:#858585;margin:0 0 8px}
.product-price{font-size:16px;font-weight:900}
.product-stock{font-size:11px;color:#2d7d45;margin:6px 0 12px}
.product-card-rating{font-size:11px}
.product-card .btn{border-radius:8px!important;min-height:42px;font-weight:800}
.wishlist-heart{width:36px;height:36px;border-radius:50%!important;background:rgba(255,255,255,.94)!important;box-shadow:0 2px 10px rgba(0,0,0,.12)}

/* Account / orders / notifications */
.account-page,.orders-page,.notifications-page,.pwa-preferences-page{background:#f7f7f8;min-height:70vh}
.account-container,.orders-container,.notifications-container,.pwa-preferences-container{max-width:980px}
.pwa-account-hero{background:#fff;border:1px solid #e9e9e9;border-radius:20px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.pwa-account-avatar{background:#111!important;color:#fff!important;box-shadow:none!important}
.pwa-account-menu{background:#fff;border:1px solid #e9e9e9;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.035)}
.pwa-account-menu>a{border-bottom:1px solid #eeeeee!important;padding:16px 18px!important}
.pwa-account-menu>a:last-child{border-bottom:0!important}
.pwa-account-menu-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f4f4f4;font-size:16px}
.account-summary-grid{gap:14px}
.account-summary-card{border-radius:16px!important;border:1px solid #e9e9e9!important;box-shadow:none!important}
.orders-filter-panel,.order-history-card,.notification-card,.notifications-empty,.pwa-device-status-card,.pwa-preferences-card{border-radius:18px!important;border:1px solid #e9e9e9!important;background:#fff!important;box-shadow:0 6px 20px rgba(0,0,0,.035)!important}
.order-history-card{padding:20px!important}
.order-status{border-radius:999px!important;padding:6px 10px!important;font-size:11px!important}
.notification-card{transition:transform .15s ease}
.notification-card.is-unread{border-left:4px solid #111!important}
.notification-card:hover{transform:translateY(-1px)}

/* Forms / buttons */
.input,.select,input[type=text],input[type=email],input[type=password],input[type=tel],textarea,select{border-radius:10px!important;border-color:#dcdcdc!important;background:#fff}
.btn,button{transition:transform .12s ease,opacity .12s ease}
.btn:active,button:active{transform:scale(.98)}
.btn:not(.btn-outline),.notifications-shop-button,.pwa-preferences-save{background:#111!important;border-color:#111!important;color:#fff!important}
.btn-outline{background:#fff!important;color:#111!important;border-color:#cfcfcf!important}

/* Desktop footer remains elegant */
.site-footer{background:#0a0a0a;color:#ddd}
.site-footer a{color:#eee}

/* Bottom app navigation */
.pwa-bottom-nav{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #ddd!important;box-shadow:0 -6px 22px rgba(0,0,0,.06)!important;grid-template-columns:repeat(5,1fr)!important}
.pwa-nav-item{color:#6f6f73!important;font-size:10px!important;font-weight:700!important;gap:3px!important;min-width:0}
.pwa-nav-item.active{color:#111!important}
.pwa-nav-icon{font-size:20px!important;min-height:22px;display:grid;place-items:center;position:relative}
.pwa-nav-item.active:before{content:'';position:absolute;top:0;width:28px;height:3px;border-radius:0 0 3px 3px;background:#111}
.pwa-grid-icon{width:18px;height:18px;display:grid!important;grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);gap:3px}
.pwa-grid-icon:before,.pwa-grid-icon:after{content:'';display:block;width:6px;height:6px;background:#111;box-shadow:9px 0 #111,0 9px #111,9px 9px #111}
.pwa-grid-icon:after{display:none}
.pwa-cart-glyph{font-size:23px;transform:rotate(180deg);display:inline-block}

@media (max-width:900px){
  body{padding-bottom:76px}
  .announcement{font-size:9px;padding:8px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .site-header{top:0}
  .amazon-primary-row{min-height:56px;display:grid!important;grid-template-columns:44px 1fr 44px!important;gap:8px;padding:0 12px!important;position:relative}
  .mobile-menu-toggle{display:flex!important;grid-column:1;grid-row:1;width:38px;height:38px;border:0!important;background:transparent!important;padding:9px!important;align-items:center;justify-content:center;flex-direction:column;gap:4px}
  .mobile-menu-toggle span{width:20px;height:2px;background:#111;border-radius:2px}
  .brand{grid-column:2;grid-row:1;text-align:center;font-size:18px;letter-spacing:.06em;overflow:hidden;text-overflow:ellipsis}
  .customer-quick-links{grid-column:3;grid-row:1;justify-content:flex-end}
  .header-welcome-link{display:none!important}
  .header-notification-link{width:38px!important;height:38px!important;border:0!important;background:transparent!important}
  .header-notification-icon{font-size:18px!important}
  .header-search{grid-column:1/-1;grid-row:2;margin:0 0 10px;max-width:none;border-radius:10px;background:#f3f3f3}
  .header-search input{min-height:42px!important;font-size:15px}
  .header-search button{padding:0 16px;font-size:11px}
  .amazon-category-row{position:fixed!important;top:0;bottom:0;left:0;width:min(84vw,340px);height:100dvh;z-index:1200;transform:translateX(-105%);transition:transform .25s ease;background:#fff;box-shadow:20px 0 50px rgba(0,0,0,.2);padding-top:max(74px,env(safe-area-inset-top));overflow-y:auto}
  .amazon-category-row.is-open,.amazon-category-row.open{transform:translateX(0)}
  .amazon-category-row .container{display:flex!important;flex-direction:column!important;gap:0!important;align-items:stretch!important;padding:0 22px 30px}
  .amazon-category-row a{font-size:15px!important;padding:15px 2px!important;border-bottom:1px solid #eee!important}
  .hero{min-height:390px;background:linear-gradient(145deg,#101010 0%,#34312f 100%)}
  .hero-content{min-height:390px;padding:54px 22px 64px!important;align-items:flex-start!important;text-align:left!important}
  .hero .eyebrow{font-size:11px}
  .hero h1{font-size:48px!important;max-width:320px;margin:11px 0 18px!important}
  .hero p:not(.eyebrow){font-size:15px!important;max-width:330px;line-height:1.5}
  .hero .btn{padding:12px 18px!important;font-size:11px!important}
  .pwa-category-strip{padding:18px 0 13px}
  .pwa-category-strip .container{padding-left:16px!important;padding-right:0!important}
  .pwa-category-strip-head{padding-right:16px;margin-bottom:12px}
  .pwa-category-scroll{gap:14px;padding-right:16px}
  .pwa-category-chip{min-width:62px;font-size:10px}
  .pwa-category-icon{width:58px;height:58px;font-size:19px}
  .section{padding:26px 0}
  .section .container{padding-left:14px!important;padding-right:14px!important}
  .section-head{display:flex!important;align-items:end!important;margin-bottom:16px;padding-bottom:12px}
  .section-head>div{min-width:0}
  .section-title{font-size:24px!important}
  .section-copy{display:none}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card{border-radius:10px!important;box-shadow:none!important}
  .product-media{aspect-ratio:1/1.15}
  .product-info{padding:10px!important}
  .product-card-rating{display:none!important}
  .product-title{font-size:13px!important;margin:3px 0!important}
  .product-category{font-size:10px!important;margin-bottom:5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-price{font-size:14px!important}
  .product-stock{font-size:10px!important;margin:4px 0 8px!important}
  .product-form .qty{display:none!important}
  .product-card .btn{min-height:36px!important;font-size:10px!important;padding:7px!important}
  .product-badge{font-size:9px!important;padding:5px 7px!important}
  .wishlist-heart{width:31px!important;height:31px!important;font-size:17px!important}
  .section-soft{display:none}
  .site-footer{display:none!important}
  .pwa-bottom-nav{display:grid!important;position:fixed!important;left:0;right:0;bottom:0;z-index:1100;min-height:64px;padding:4px 4px max(5px,env(safe-area-inset-bottom))!important}
  .account-page,.orders-page,.notifications-page,.pwa-preferences-page{padding-top:16px!important}
  .account-container,.orders-container,.notifications-container,.pwa-preferences-container{padding:0 12px!important}
  .pwa-account-hero{padding:18px!important;border-radius:16px!important}
  .pwa-account-avatar{width:54px!important;height:54px!important;font-size:22px!important}
  .pwa-account-identity h1{font-size:20px!important}
  .pwa-account-menu{margin-top:12px!important;border-radius:14px!important}
  .pwa-account-menu>a{padding:13px 14px!important}
  .pwa-account-menu small{font-size:11px!important}
  .account-summary-grid{grid-template-columns:repeat(2,1fr)!important;margin-top:14px!important}
  .account-summary-card{padding:14px!important}
  .orders-filter-panel{padding:14px!important}
  .orders-filter-heading h2{font-size:18px!important}
  .orders-filter-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .orders-filter-submit{grid-column:1/-1}
  .order-history-card{padding:14px!important;border-radius:14px!important}
  .order-history-head{gap:10px!important}
  .order-history-head h2{font-size:15px!important}
  .order-history-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  .order-history-actions .btn,.order-history-actions form,.order-history-actions form button{width:100%!important}
  .notification-card{grid-template-columns:40px 1fr!important;padding:14px!important;border-radius:14px!important}
  .notifications-header{align-items:flex-start!important}
}

@media (max-width:420px){
  .hero h1{font-size:42px!important}
  .product-grid{gap:8px!important}
  .orders-filter-grid{grid-template-columns:1fr!important}
  .orders-filter-submit{grid-column:auto}
}

/* Final UI: wishlist, detail and profile pages */
.page-shell{background:#f7f7f8;min-height:70vh;padding:34px 0 90px}
.page-head,.page-header,.wishlist-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.page-title{font-family:Georgia,'Times New Roman',serif;font-size:36px;line-height:1.05;margin:0}
.panel,.card,.kpi,.shipment,.tracking,.wishlist-card,.wishlist-empty{background:#fff!important;border:1px solid #e8e8e8!important;border-radius:18px!important;box-shadow:0 6px 22px rgba(0,0,0,.035)!important}
.panel,.card{padding:22px!important}
.wishlist-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.wishlist-card{overflow:hidden!important}
.wishlist-card-media{background:#f2f2f2!important;aspect-ratio:4/5!important}
.wishlist-card-media img{width:100%!important;height:100%!important;object-fit:cover!important}
.wishlist-card-content{padding:14px!important}
.wishlist-product-title{font-size:15px!important;margin:6px 0!important}
.wishlist-price{font-size:16px!important;font-weight:900!important}
.wishlist-button{border-radius:8px!important;background:#111!important;color:#fff!important;border:1px solid #111!important}
.wishlist-button-outline{background:#fff!important;color:#111!important;border-color:#ccc!important}
.items{width:100%;border-collapse:collapse}
.items th,.items td{padding:12px 8px;border-bottom:1px solid #eee;text-align:left}
.progress{border-radius:999px!important;overflow:hidden}
.timeline{border-left:2px solid #ececec;padding-left:18px}

@media(max-width:900px){
 .page-shell{padding:16px 0 86px!important}
 .page-shell>.container{padding-left:12px!important;padding-right:12px!important}
 .page-head,.page-header,.wishlist-page-header{align-items:flex-start!important;margin-bottom:14px!important}
 .page-title{font-size:26px!important}
 .panel,.card{padding:15px!important;border-radius:14px!important}
 .wishlist-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
 .wishlist-card{border-radius:12px!important;box-shadow:none!important}
 .wishlist-card-content{padding:10px!important}
 .wishlist-rating{display:none!important}
 .wishlist-product-title{font-size:13px!important}
 .wishlist-category,.wishlist-stock{font-size:10px!important}
 .wishlist-price{font-size:14px!important}
 .grid{grid-template-columns:1fr!important;gap:10px!important}
 .kpi{padding:14px!important;border-radius:14px!important}
 .items{font-size:12px!important}
 .items th,.items td{padding:9px 5px!important}
 .tracking-grid{grid-template-columns:1fr!important}
 .shipment,.tracking{border-radius:14px!important;padding:14px!important}
 .form-grid{grid-template-columns:1fr!important}
 .form-field.full{grid-column:auto!important}
}


/* ==========================================================
   ModernModa Final PWA Bottom Navigation
   Home | Categories | Search | Account | Bag
========================================================== */
@media (max-width: 900px) {
    .pwa-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1400 !important;
        min-height: 72px !important;
        padding: 6px 8px max(7px, env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, .98) !important;
        border-top: 1px solid rgba(0, 0, 0, .10) !important;
        box-shadow: 0 -8px 28px rgba(0, 0, 0, .07) !important;
        backdrop-filter: blur(18px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
    }

    .pwa-nav-item {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 4px 1px 2px !important;
        color: #6f6f73 !important;
        text-decoration: none !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
        -webkit-tap-highlight-color: transparent;
    }

    .pwa-nav-item::before {
        display: none !important;
    }

    .pwa-nav-item.active {
        color: #050505 !important;
        font-weight: 700 !important;
    }

    .pwa-nav-icon {
        position: relative !important;
        display: grid !important;
        place-items: center !important;
        width: 27px !important;
        height: 27px !important;
        min-height: 27px !important;
        font-size: 0 !important;
        line-height: 1 !important;
        color: currentColor !important;
    }

    .pwa-nav-icon svg {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        overflow: visible !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.9 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .pwa-nav-item.active .pwa-nav-icon svg {
        stroke-width: 2.15 !important;
    }

    .pwa-account-icon svg circle {
        fill: currentColor !important;
        stroke: currentColor !important;
    }

    .pwa-nav-item.active .pwa-account-icon svg path {
        fill: currentColor !important;
        stroke: currentColor !important;
    }

    .pwa-nav-label {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .pwa-cart-badge {
        position: absolute !important;
        top: -5px !important;
        right: -8px !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        border: 2px solid #fff !important;
        border-radius: 999px !important;
        background: #050505 !important;
        color: #fff !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    }
}


/* ==========================================================
   ModernModa PWA mobile menu containment + dynamic hero
========================================================== */
.hero {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 44%, rgba(0,0,0,.16) 100%),
        var(--mm-home-hero-image, url('../images/hero-fallback.jpg')) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
.hero::after { display: none !important; }

@media (max-width: 900px) {
    body .amazon-category-row {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: min(84vw, 340px) !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: max(74px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #fff !important;
        box-shadow: 20px 0 50px rgba(0,0,0,.20) !important;
        transform: translate3d(-110%,0,0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform .24s ease, opacity .18s ease, visibility 0s linear .24s !important;
        z-index: 1600 !important;
    }
    body .amazon-category-row.is-open,
    body .amazon-category-row.open {
        transform: translate3d(0,0,0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: transform .24s ease, opacity .18s ease !important;
    }
    body .amazon-category-row > .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 22px 30px !important;
    }
    body .amazon-category-row a {
        display: block !important;
        width: 100% !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 15px 2px !important;
        border: 0 !important;
        border-bottom: 1px solid #eee !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 15px !important;
        font-weight: 750 !important;
        line-height: 20px !important;
        text-align: left !important;
        text-decoration: none !important;
    }
    .hero {
        width: calc(100% - 24px) !important;
        min-height: 430px !important;
        margin: 12px auto 0 !important;
        border-radius: 0 0 24px 24px !important;
        background-image:
            linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.47) 52%, rgba(0,0,0,.10) 100%),
            var(--mm-home-hero-image, url('../images/hero-fallback.jpg')) !important;
        background-position: center top !important;
    }
    .hero .hero-content {
        min-height: 430px !important;
        padding: 54px 24px 58px !important;
    }
    .hero h1 {
        max-width: 310px !important;
        font-size: clamp(43px,12vw,56px) !important;
        line-height: .98 !important;
        text-shadow: 0 2px 14px rgba(0,0,0,.20);
    }
    .hero p:not(.eyebrow) {
        max-width: 315px !important;
        color: rgba(255,255,255,.94) !important;
    }
}

/* ==========================================================
   ModernModa PWA mobile top-space fix
   Keep the installed app compact and place the hero directly
   below the iOS safe area / browser chrome.
========================================================== */
@media (max-width: 900px) {
    html,
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body > main,
    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
        min-height: 0 !important;
    }

    .site-header,
    .site-header .amazon-style-header,
    .site-header .amazon-primary-row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .hero {
        margin-top: 0 !important;
    }
}

/* Installed iPhone/Android PWA: the bottom app bar is the primary
   navigation, so remove the desktop storefront header completely. */
@media (display-mode: standalone) and (max-width: 900px) {
    .announcement,
    .site-header {
        display: none !important;
    }

    body > main,
    main {
        margin: 0 !important;
        padding-top: 0 !important;
    }

    main > .hero:first-child,
    .hero:first-child {
        margin-top: 0 !important;
    }
}


/* ==========================================================
   ModernModa FINAL home-only hero + mobile top-space reset
   Hero belongs only to index.php. Inner pages never reserve hero space.
========================================================== */
body.mm-inner-page .hero,
body.mm-inner-page .home-hero,
body.mm-inner-page .store-hero {
    display: none !important;
}

@media (max-width: 900px) {
    body.mm-home-page {
        margin: 0 !important;
        padding-top: 0 !important;
    }

    body.mm-home-page > .announcement,
    body.mm-home-page > .site-header,
    body.mm-home-page .site-header {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    body.mm-home-page > main,
    body.mm-home-page main {
        display: block !important;
        position: static !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 0 calc(78px + env(safe-area-inset-bottom)) !important;
        transform: none !important;
    }

    body.mm-home-page main > .hero:first-child,
    body.mm-home-page .hero {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: calc(100% - 24px) !important;
        min-height: 430px !important;
        margin: 0 auto 0 !important;
        padding: 0 !important;
        transform: none !important;
        clear: both !important;
    }

    body.mm-home-page .hero .hero-content {
        min-height: 430px !important;
        margin: 0 !important;
        padding: 46px 24px 56px !important;
    }

    body.mm-inner-page > main,
    body.mm-inner-page main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


/* ==========================================================
   ModernModa PWA first-paint / white-flash guard
========================================================== */
@media (max-width: 900px) {
    body.mm-home-page {
        overflow-anchor: none !important;
    }

    body.mm-home-page main {
        min-height: 0 !important;
        contain: layout style !important;
    }

    body.mm-home-page .hero {
        content-visibility: visible !important;
        background-color: #1c1b1a !important;
    }
}
\n\n/* ==========================================================\n   ModernModa PWA global navigation flash fix\n========================================================== */\nhtml {\n    scroll-behavior: auto !important;\n}\n\n/* Old cached pages may still contain the custom splash node.\n   Never allow it to render. iOS/Android provide the native PWA\n   launch screen already. */\n#pwaSplash,\n.pwa-splash {\n    display: none !important;\n    visibility: hidden !important;\n    opacity: 0 !important;\n    pointer-events: none !important;\n}\n\n@media (display-mode: standalone) and (max-width: 900px) {\n    html,\n    body {\n        min-height: 100%;\n        margin: 0 !important;\n        padding-top: 0 !important;\n        overscroll-behavior-y: none;\n    }\n\n    body > main,\n    main {\n        margin-top: 0 !important;\n    }\n}\n
/* ==========================================================
   ModernModa PWA mobile search — no hidden-header scrolling
========================================================== */
.pwa-mobile-search[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .pwa-mobile-search {
        position: fixed;
        inset: 0;
        z-index: 1300;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 0 0 calc(72px + env(safe-area-inset-bottom));
        background: rgba(0, 0, 0, .20);
        overflow: hidden;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .pwa-mobile-search-panel {
        width: 100%;
        max-height: min(66vh, 650px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px 18px 26px;
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -12px 36px rgba(0,0,0,.16);
    }

    .pwa-mobile-search-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 0 2px 16px;
    }

    .pwa-mobile-search-head strong {
        font-size: 20px;
        font-weight: 850;
        letter-spacing: -.02em;
    }

    #pwaMobileSearchClose {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: #f1f1f1;
        color: #111;
        font-size: 25px;
        line-height: 1;
    }

    .pwa-mobile-search-form {
        display: grid;
        grid-template-columns: 22px minmax(0,1fr) auto;
        align-items: center;
        gap: 9px;
        width: 100%;
        padding: 6px 7px 6px 13px;
        border: 1px solid #d8d8d8;
        border-radius: 14px;
        background: #f6f6f6;
    }

    .pwa-mobile-search-form svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        color: #777;
    }

    .pwa-mobile-search-form input {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: none;
        background: transparent !important;
        font-size: 17px;
    }

    .pwa-mobile-search-form button {
        min-height: 40px;
        padding: 0 15px;
        border: 0;
        border-radius: 10px;
        background: #111;
        color: #fff;
        font-weight: 800;
    }

    .pwa-mobile-search-links {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
        margin-top: 18px;
    }

    .pwa-mobile-search-links a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 0 14px;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        background: #fff;
        color: #111;
        font-size: 14px;
        font-weight: 750;
        text-decoration: none;
    }

    body.pwa-search-open {
        overflow: hidden !important;
    }

    /* Keep the real app navigation above the search sheet. */
    .pwa-bottom-nav {
        z-index: 1400 !important;
    }

    @media (display-mode: standalone) {
        #headerProductSearch,
        .site-header .header-search {
            visibility: hidden !important;
            pointer-events: none !important;
        }
    }
}


/* ==========================================================
   ModernModa PWA v12 — compact app header + deterministic search state
   The desktop search/nav are replaced on mobile, but the brand and bell
   remain visible. Search is CLOSED unless .is-open is explicitly applied.
========================================================== */
.pwa-mobile-search,
.pwa-mobile-search[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    /* Keep a real compact header on the phone instead of deleting it. */
    body.mm-home-page > .site-header,
    body.mm-home-page .site-header,
    body.mm-inner-page > .site-header,
    body.mm-inner-page .site-header,
    .site-header {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1500 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 58px !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        background: rgba(255,255,255,.97) !important;
        color: #111 !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }

    .site-header .amazon-style-header,
    .site-header .amazon-primary-row {
        display: grid !important;
        position: relative !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-height: 58px !important;
        height: 58px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .site-header .brand {
        display: block !important;
        position: static !important;
        grid-column: 1 !important;
        justify-self: start !important;
        width: auto !important;
        max-width: calc(100vw - 90px) !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        color: #111 !important;
        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: .10em !important;
        text-overflow: ellipsis !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    /* Desktop-only header controls stay out of the phone header. */
    .site-header .header-search,
    .site-header .header-welcome-link,
    .site-header .mobile-menu-toggle {
        display: none !important;
    }

    .site-header .customer-quick-links {
        display: flex !important;
        position: static !important;
        grid-column: 2 !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .header-notification-link {
        position: relative !important;
        display: grid !important;
        place-items: center !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f5f5f5 !important;
        color: #111 !important;
        text-decoration: none !important;
    }

    .site-header .header-notification-icon {
        display: block !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .site-header .header-notification-badge {
        position: absolute !important;
        top: -2px !important;
        right: -2px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        border: 2px solid #fff !important;
        border-radius: 999px !important;
        background: #111 !important;
        color: #fff !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    /* Category drawer remains controlled from the bottom Categories button. */
    #mobileShopNavigation:not(.is-open):not(.open) {
        display: none !important;
    }

    /* Search is impossible to appear by default. */
    .pwa-mobile-search,
    .pwa-mobile-search[hidden] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .pwa-mobile-search.is-open:not([hidden]) {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1350 !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 0 calc(72px + env(safe-area-inset-bottom)) !important;
        background: rgba(0,0,0,.24) !important;
        overflow: hidden !important;
    }

    .pwa-mobile-search.is-open .pwa-mobile-search-panel {
        width: 100% !important;
        max-height: min(66vh,650px) !important;
        overflow-y: auto !important;
        padding: 20px 18px 26px !important;
        border-radius: 24px 24px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -12px 36px rgba(0,0,0,.16) !important;
    }

    #pwaMobileSearchClose {
        position: relative !important;
        z-index: 2 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    /* Header occupies real 58px; content follows immediately. */
    body.mm-home-page > main,
    body.mm-home-page main,
    body.mm-inner-page > main,
    body.mm-inner-page main {
        margin-top: 0 !important;
    }

    body.mm-home-page .hero {
        margin-top: 0 !important;
    }
}

/* ==========================================================
   ModernModa PWA v13 — restore luxury Search bottom sheet
   Keeps v12 behavior: CLOSED by default; opens only on Search tap.
========================================================== */
@media (max-width: 900px) {
    .pwa-mobile-search.is-open:not([hidden]) {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1350 !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 0 calc(72px + env(safe-area-inset-bottom)) !important;
        background: rgba(0, 0, 0, .18) !important;
        overflow: hidden !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
    }

    .pwa-mobile-search.is-open .pwa-mobile-search-panel {
        width: 100% !important;
        max-height: min(62vh, 620px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 24px 20px 28px !important;
        border-radius: 28px 28px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -14px 38px rgba(0,0,0,.14) !important;
    }

    .pwa-mobile-search-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        padding: 0 2px 18px !important;
    }

    .pwa-mobile-search-head strong {
        color: #111 !important;
        font-size: 24px !important;
        font-weight: 850 !important;
        line-height: 1.05 !important;
        letter-spacing: -.025em !important;
    }

    #pwaMobileSearchClose {
        display: grid !important;
        place-items: center !important;
        flex: 0 0 46px !important;
        width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 0 3px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f1f1f1 !important;
        color: #111 !important;
        font-size: 31px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
    }

    .pwa-mobile-search-form {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 64px !important;
        padding: 7px 8px 7px 16px !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 18px !important;
        background: #f7f7f7 !important;
        box-sizing: border-box !important;
    }

    .pwa-mobile-search-form svg {
        width: 25px !important;
        height: 25px !important;
        color: #7c7c7c !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
    }

    .pwa-mobile-search-form input {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        box-shadow: none !important;
    }

    .pwa-mobile-search-form input::placeholder {
        color: #aaa !important;
        opacity: 1 !important;
    }

    .pwa-mobile-search-form button {
        min-width: 95px !important;
        min-height: 50px !important;
        padding: 0 18px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #111 !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .pwa-mobile-search-links {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .pwa-mobile-search-links a {
        display: flex !important;
        align-items: center !important;
        min-height: 58px !important;
        padding: 0 17px !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 15px !important;
        background: #fff !important;
        color: #111 !important;
        font-size: 16px !important;
        font-weight: 750 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .pwa-bottom-nav {
        z-index: 1400 !important;
    }
}


/* ==========================================================
   ModernModa PWA v14 — reliable Search nav button
========================================================== */
@media (max-width: 900px) {
    .pwa-bottom-nav .pwa-nav-button {
        appearance: none !important;
        -webkit-appearance: none !important;
        border: 0 !important;
        background: transparent !important;
        font: inherit !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    #pwaSearchNav {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 2 !important;
    }
}


/* ==========================================================
   ModernModa PWA v15 — simplified app navigation
   Home | Search | Bell | Account | Bag
========================================================== */
@media (max-width: 900px) {
    /* The PWA uses one notification bell: the bottom navigation bell. */
    .site-header .header-notification-link {
        display: none !important;
    }

    .pwa-notification-nav {
        position: relative !important;
        overflow: visible !important;
    }

    .pwa-notification-nav .pwa-nav-icon {
        width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 auto !important;
    }

    .pwa-notification-nav .pwa-nav-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .pwa-notification-badge {
        position: absolute !important;
        top: -6px !important;
        right: -9px !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        border: 2px solid #fff !important;
        border-radius: 999px !important;
        background: #111 !important;
        color: #fff !important;
        font-size: 9px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }

    .pwa-notification-nav.has-new-notification .pwa-notification-icon {
        animation: mmPwaBellPulse .55s ease-in-out 2 !important;
        transform-origin: 50% 10% !important;
    }

    @keyframes mmPwaBellPulse {
        0%, 100% { transform: rotate(0deg) scale(1); }
        25% { transform: rotate(-10deg) scale(1.07); }
        75% { transform: rotate(10deg) scale(1.07); }
    }
}
/* ModernModa v17 - Admin controlled Home catalog */
.pwa-home-catalog{padding:34px 0 26px;background:#fff}.pwa-home-catalog-head{margin-bottom:18px}.pwa-home-catalog-head h2{margin:2px 0 0;font-size:clamp(24px,3vw,34px)}.pwa-home-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px}.pwa-home-category-card{display:flex;flex-direction:column;gap:9px;color:#111;text-decoration:none}.pwa-home-category-image{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:18px;background:#f3f3f3}.pwa-home-category-image img{width:100%;height:100%;display:block;object-fit:cover}.pwa-home-category-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:34px;font-weight:800;background:linear-gradient(145deg,#f6f6f6,#e7e7e7)}.pwa-home-category-card strong{text-align:center;font-size:14px}@media(max-width:900px){.pwa-home-catalog{padding:24px 0 18px}.pwa-home-catalog-grid{display:flex;gap:12px;overflow-x:auto;padding:0 2px 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}.pwa-home-catalog-grid::-webkit-scrollbar{display:none}.pwa-home-category-card{flex:0 0 104px;scroll-snap-align:start}.pwa-home-category-image{border-radius:50%}}
\n\n/* ==========================================================\n   ModernModa v19 - Home catalog placement + icon fallback\n========================================================== */\n.pwa-home-category-icon {\n    display: grid !important;\n    place-items: center !important;\n    background: #f7f5f1 !important;\n    color: #111 !important;\n}\n\n.pwa-home-category-icon svg {\n    width: 46% !important;\n    height: 46% !important;\n    fill: none !important;\n    stroke: currentColor !important;\n    stroke-width: 1.65 !important;\n    stroke-linecap: round !important;\n    stroke-linejoin: round !important;\n}\n\nbody.mm-home-page main > .hero + .pwa-home-catalog {\n    margin-top: 0 !important;\n}\n\n@media (max-width: 900px) {\n    body.mm-home-page main > .pwa-home-catalog {\n        position: static !important;\n        order: initial !important;\n        transform: none !important;\n        margin: 0 !important;\n        padding: 24px 0 18px !important;\n    }\n\n    .pwa-home-category-image {\n        border: 1px solid rgba(0,0,0,.10) !important;\n        box-shadow: inset 0 0 0 5px #fff !important;\n    }\n\n    .pwa-home-category-card strong {\n        font-size: 13px !important;\n        font-weight: 700 !important;\n    }\n}\n
/* ==========================================================
   ModernModa v20 - Home category letter circles
   Admin controls category visibility/order; Home always uses
   the first letter for the classic circular catalog style.
========================================================== */
.pwa-home-category-image {
    border: 2px solid #deddda !important;
    border-radius: 50% !important;
    background: #f7f6f4 !important;
    padding: 7px !important;
    box-sizing: border-box !important;
}

.pwa-home-category-placeholder.pwa-home-category-letter {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #efeeec !important;
    color: #111 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(38px, 6vw, 58px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.pwa-home-category-card strong {
    margin-top: 7px !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

@media (max-width: 900px) {
    .pwa-home-category-card {
        flex: 0 0 106px !important;
    }

    .pwa-home-category-image {
        width: 88px !important;
        height: 88px !important;
        margin: 0 auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .pwa-home-category-placeholder.pwa-home-category-letter {
        font-size: 38px !important;
    }

    .pwa-home-category-card strong {
        font-size: 14px !important;
        text-align: center !important;
    }
}

/* ==========================================================
   ModernModa v21 - Exact classic letter-circle category strip
   Visual target: large serif initial, pale inner circle,
   thin double-ring look, bold label, horizontal mobile rail.
========================================================== */
body.mm-home-page .pwa-home-catalog {
    background: #fff !important;
    padding: 28px 0 34px !important;
    overflow: hidden !important;
}

body.mm-home-page .pwa-home-catalog > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 28px !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.mm-home-page .pwa-home-catalog-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 28px 22px 0 !important;
}

body.mm-home-page .pwa-home-catalog-head h2 {
    margin: 0 !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.mm-home-page .pwa-home-catalog-head a {
    flex: 0 0 auto !important;
    color: #111 !important;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

body.mm-home-page .pwa-home-catalog-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 28px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 28px 8px 0 !important;
    margin: 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
}

body.mm-home-page .pwa-home-catalog-grid::-webkit-scrollbar {
    display: none !important;
}

body.mm-home-page .pwa-home-category-card {
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    color: #111 !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
}

body.mm-home-page .pwa-home-category-image {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 6px !important;
    overflow: hidden !important;
    border: 1px solid #deddd9 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.mm-home-page .pwa-home-category-placeholder.pwa-home-category-letter {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f1f0ee !important;
    color: #111 !important;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

body.mm-home-page .pwa-home-category-card strong {
    display: block !important;
    width: max-content !important;
    max-width: 118px !important;
    margin: 0 !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

@media (min-width: 700px) {
    body.mm-home-page .pwa-home-catalog {
        padding: 42px 0 48px !important;
    }

    body.mm-home-page .pwa-home-catalog > .container {
        padding-left: clamp(46px, 5vw, 92px) !important;
    }

    body.mm-home-page .pwa-home-catalog-head {
        margin-right: clamp(46px, 5vw, 92px) !important;
        margin-bottom: 30px !important;
    }

    body.mm-home-page .pwa-home-catalog-head h2,
    body.mm-home-page .pwa-home-catalog-head a {
        font-size: 28px !important;
    }

    body.mm-home-page .pwa-home-catalog-grid {
        gap: clamp(42px, 5vw, 72px) !important;
        padding-right: clamp(46px, 5vw, 92px) !important;
    }

    body.mm-home-page .pwa-home-category-card {
        flex-basis: 132px !important;
        width: 132px !important;
        min-width: 132px !important;
        gap: 16px !important;
    }

    body.mm-home-page .pwa-home-category-image {
        width: 126px !important;
        height: 126px !important;
        min-width: 126px !important;
        min-height: 126px !important;
        padding: 8px !important;
    }

    body.mm-home-page .pwa-home-category-placeholder.pwa-home-category-letter {
        font-size: 52px !important;
    }

    body.mm-home-page .pwa-home-category-card strong {
        max-width: 160px !important;
        font-size: 20px !important;
    }
}

/* ==========================================================
   ModernModa v35 — Favorite selected-state fix
   Selected favorite stays white with a red heart.
   ========================================================== */
#collection .wishlist-heart,
#collection .wishlist-heart:focus,
#collection .wishlist-heart:active {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#collection .wishlist-heart.active,
#collection .wishlist-heart.active:hover,
#collection .wishlist-heart.active:focus,
#collection .wishlist-heart.active:active {
    background: #fff !important;
    color: #9b2525 !important;
    border-color: #9b2525 !important;
    box-shadow: 0 3px 12px rgb(0 0 0 / 8%) !important;
}

@media (hover: none) {
    #collection .wishlist-heart:hover {
        background: #fff !important;
        color: #111 !important;
        border-color: #dedad3 !important;
    }

    #collection .wishlist-heart.active:hover {
        background: #fff !important;
        color: #9b2525 !important;
        border-color: #9b2525 !important;
    }
}

/* ==========================================================
   ModernModa — Shop by Category half-size override
   ========================================================== */
@media (min-width: 901px) {
    body.mm-home-page .pwa-home-catalog-grid {
        gap: 22px !important;
    }

    body.mm-home-page .pwa-home-category-card {
        flex-basis: 72px !important;
        width: 72px !important;
        min-width: 72px !important;
        gap: 8px !important;
    }

    body.mm-home-page .pwa-home-category-image {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        padding: 4px !important;
    }

    body.mm-home-page
    .pwa-home-category-placeholder.pwa-home-category-letter {
        font-size: 28px !important;
    }

    body.mm-home-page .pwa-home-category-card strong {
        max-width: 90px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }
}

@media (max-width: 900px) {
    body.mm-home-page .pwa-home-category-card {
        flex-basis: 64px !important;
        width: 64px !important;
        min-width: 64px !important;
        gap: 7px !important;
    }

    body.mm-home-page .pwa-home-category-image {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        padding: 4px !important;
    }

    body.mm-home-page
    .pwa-home-category-placeholder.pwa-home-category-letter {
        font-size: 24px !important;
    }

    body.mm-home-page .pwa-home-category-card strong {
        max-width: 74px !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
    }
}

