:root{--bg:#0b1220;--panel:#121c31;--panel2:#fff;--text:#e7edf9;--muted:#97a5c0;--primary:#2563eb;--primary2:#1d4ed8;--border:#dbe4f0;--soft:#f5f7fb;--danger:#b91c1c;--success:#166534;--store-primary:#2563eb;--store-secondary:#0f172a;--store-accent:#1d4ed8;--store-background:#f3f6fb;--store-surface:#ffffff;--store-text:#162033;--store-muted:#64748b;--store-button-bg:#2563eb;--store-button-text:#ffffff;--store-link:#2563eb;--store-success:#166534;--store-offer:#b91c1c;--store-font:Arial,Helvetica,sans-serif;--store-font-heading:Arial,Helvetica,sans-serif;--store-container:1180px;--store-radius-card:18px;--store-radius-button:12px;--store-shadow-card:0 4px 16px rgba(15,23,42,.06);--store-shadow-hover:0 8px 28px rgba(15,23,42,.10);--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:40px;--section-gap:32px;--card-padding:18px;--product-image-ratio:1/1;--product-image-fit:contain;--product-image-bg:#f8fbff;--product-title-lines:2;--product-title-size:14px;--product-price-size:24px;--product-price-color:#0f172a}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f3f6fb;color:#162033}a{text-decoration:none;color:var(--primary)}.container{max-width:1180px;margin:0 auto;padding:24px}.topbar{background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff}.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:22px;font-weight:700;color:#fff}.nav{display:flex;gap:16px;flex-wrap:wrap}.nav a{color:#fff;opacity:.94}.hero{padding:48px 0;background:linear-gradient(180deg,#0f172a 0%,#1e3a8a 100%);color:#fff}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center}.hero-card,.card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.08)}.hero-panel{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:24px;padding:24px}.grid{display:grid;gap:20px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-1{grid-template-columns:1fr}.section-title{font-size:26px;margin:0 0 12px}.muted{color:#64748b}.btn{display:inline-block;background:var(--primary);color:#fff;border:none;border-radius:12px;padding:12px 18px;cursor:pointer;font-weight:700}.btn-outline{background:#fff;color:var(--primary);border:1px solid var(--primary)}.btn-dark{background:#0f172a}.btn-small{padding:8px 12px;border-radius:10px;min-height:38px}.product-card{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;background:#fff;border-radius:18px;overflow:visible;border:1px solid #e8eef7;box-shadow:0 4px 16px rgba(15,23,42,.06)}.product-image{height:180px;background:linear-gradient(135deg,#dbeafe,#eff6ff);display:flex;align-items:center;justify-content:center}select,input,textarea{padding:12px 14px;border:1px solid #d7e0ef;border-radius:12px;font-size:14px;background:#fff;width:100%}label{font-size:13px;font-weight:600;color:#475569;display:block;margin-bottom:4px}.field{margin-bottom:8px}.actions{display:flex;align-items:center;gap:12px}.table{width:100%;border-collapse:collapse;font-size:14px}.table th{background:#f8fbff;font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:10px 12px}.table td{padding:10px 12px;border-bottom:1px solid #e8eef7}.table-striped tbody tr:nth-child(odd){background:#fcfdff}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:700}.tag{display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:700;background:rgba(255,255,255,.14)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:10px;border:1px solid #d7e0ef;background:#fff;cursor:pointer}

.list-toolbar{
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.list-toolbar-controls{
    justify-content:flex-end;
    align-items:center;
    gap:12px;
    flex-wrap:nowrap;
}

.list-toolbar-controls > .btn{
    flex:0 0 auto;
    white-space:nowrap;
}

.searchbar-inline{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
    min-width:min(100%,440px);
}

.searchbar-inline input{
    flex:1 1 320px;
    min-width:240px;
}

.searchbar-inline .btn{
    flex:0 0 auto;
    white-space:nowrap;
}

.searchbar-inline select{
    flex:0 0 170px;
    min-width:140px;
    padding:12px 14px;
    border:1px solid #d7e0ef;
    border-radius:12px;
    font-size:14px;
    background:#fff;
}

.table-row-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
    white-space:nowrap;
}

.table-row-actions .inline-form{
    display:inline-flex;
    margin:0;
}

.table-row-actions .btn{
    min-width:84px;
    text-align:center;
}

.order-items-grid,
.order-item-row{
    display:grid;
    grid-template-columns:minmax(220px, 2fr) minmax(100px, .7fr) minmax(140px, .9fr) minmax(190px, 1fr) auto;
    gap:10px;
    align-items:center;
}

.order-items-grid{
    margin-bottom:10px;
}

.order-items-head{
    font-size:13px;
    font-weight:700;
    color:#475569;
}

.order-item-row input,
.order-item-row select{
    width:100%;
    padding:12px 14px;
    border:1px solid #d7e0ef;
    border-radius:12px;
    font-size:14px;
    background:#fff;
}

@media(max-width:900px){
    .list-toolbar,
    .list-toolbar-controls{
        align-items:stretch;
    }

    .list-toolbar-controls{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    .searchbar-inline{
        width:100%;
        min-width:0;
        flex-wrap:wrap;
    }

    .searchbar-inline input{
        min-width:0;
        flex:1 1 auto;
    }

    .searchbar-inline select{
        flex:1 1 auto;
        min-width:0;
    }

    .table-row-actions{
        flex-wrap:wrap;
        white-space:normal;
    }

    .order-items-grid{
        display:none;
    }

    .order-item-row{
        grid-template-columns:1fr;
    }
}
.product-image-media{width:100%;height:180px;object-fit:cover;display:block}.product-card-compact .product-image{height:90px;font-size:22px}.product-card-compact .product-image-media{height:90px}.product-card-compact .product-body{padding:12px 14px 10px;flex:1;display:flex;flex-direction:column;gap:6px}.product-card-compact .price{font-size:14px}.product-card-compact h3{font-size:12px}.product-card-compact .product-media{aspect-ratio:1/1}.product-card-compact .product-media__placeholder-text{font-size:10px}.product-card-compact .product-media__placeholder svg{width:28px;height:28px}.product-media{position:relative;width:100%;min-height:0;overflow:hidden;background:var(--product-image-bg,#eff6ff);aspect-ratio:var(--product-image-ratio,1/1)}.product-media.product-media--detail{aspect-ratio:auto;border-radius:16px;min-height:300px}.product-media__img{display:block;width:100%;height:100%;object-fit:var(--product-image-fit,contain);object-position:center}.product-media__placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--product-image-bg,#eff6ff);z-index:1}.product-media__placeholder-text{font-size:12px;color:#64748b}.product-media.is-missing .product-media__img{display:none}.product-media.is-missing .product-media__placeholder{display:flex}.product-media:not(.is-missing) .product-media__placeholder{display:none}.product-card__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:var(--product-title-size,14px);margin:0;line-height:1.35;color:var(--product-title-color,#182238)}.product-card__desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card__price{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-card__price-old{font-size:13px;color:#94a3b8;text-decoration:line-through}.product-card--carousel{min-width:220px;flex:0 0 auto}.cart-item{grid-template-columns:1fr auto auto auto}.table select{padding:8px;border-radius:10px;border:1px solid #d7e0ef}code{display:block;background:#0f172a;color:#e2e8f0;padding:12px 16px;border-radius:12px;font-size:13px;overflow-x:auto}
.storefront-message-strip{background:#0f172a;color:#fff}.storefront-message-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:12px;padding-bottom:12px;font-size:13px}.storefront-message-grid span{display:block;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.09);text-align:center}.storefront-topbar{position:sticky;top:0;z-index:20}.storefront-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.storefront-brand{display:flex;align-items:center;gap:14px}.storefront-brand-logo,.storefront-footer-logo{width:52px;height:52px;object-fit:contain;border-radius:16px;background:#fff;padding:6px}.storefront-category-nav{background:#fff;border-bottom:1px solid #e2e8f0}.storefront-chip-list{display:flex;flex-wrap:wrap;gap:10px;padding-top:16px;padding-bottom:16px}.storefront-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:700;font-size:13px}.storefront-hero{padding-top:56px}.storefront-hero-title{font-size:44px;line-height:1.08;margin:12px 0}.storefront-hero-copy{font-size:18px;line-height:1.7;max-width:640px}.storefront-slot{padding-top:12px;padding-bottom:12px}.storefront-block+.storefront-block{margin-top:20px}.storefront-banner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.storefront-banner-card{display:block;overflow:hidden;border-radius:24px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 18px 40px rgba(15,23,42,.08)}.storefront-banner-card img{width:100%;height:220px;object-fit:cover;display:block}.storefront-banner-copy{padding:18px;display:flex;flex-direction:column;gap:8px;color:#162033}.storefront-banner-copy strong{font-size:18px}.storefront-circle-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.storefront-circle-card{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;color:#162033}.storefront-circle-media{width:132px;height:132px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:28px;font-weight:800}
.storefront-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}@media(max-width:1023px){.storefront-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.storefront-message-grid,.storefront-banner-grid,.storefront-circle-grid,.storefront-footer-grid{grid-template-columns:1fr}.storefront-topbar-inner{flex-direction:column;align-items:flex-start}.storefront-circle-media{width:108px;height:108px}}
.storefront-headline-bar{background:#5b5d3f;color:#fff}.storefront-headline-track{display:flex;align-items:center;justify-content:center;min-height:54px;font-size:15px;font-weight:700;letter-spacing:.01em;text-align:center}.storefront-headline-text{display:inline-block;transition:opacity .22s ease,transform .22s ease}.storefront-headline-text.is-leaving{opacity:0;transform:translateY(-6px)}.storefront-header-shell{background:#fff;border-bottom:1px solid #ece8df}.storefront-header-main{display:grid;grid-template-columns:260px minmax(320px,1fr) auto;gap:24px;align-items:center;padding-top:26px;padding-bottom:26px}.storefront-brand{display:flex;align-items:center;gap:14px;color:#1d1d1d}.storefront-brand-logo{width:118px;height:78px;object-fit:contain;border-radius:0;background:transparent;padding:0}.storefront-brand-copy strong{display:block;font-size:26px;line-height:1.05;letter-spacing:-.02em}.storefront-search{display:flex;align-items:center;background:#f3f1ec;border:1px solid #ece8df;border-radius:999px;padding:8px 10px;min-height:58px}.storefront-search input{flex:1;border:0;background:transparent;padding:0 16px;font-size:15px;outline:none}.storefront-search button{border:0;background:#fff;color:#6a6248;border-radius:999px;padding:10px 18px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(15,23,42,.08)}.storefront-header-actions{display:flex;align-items:center;gap:14px;justify-self:end}.storefront-action-link{display:flex;flex-direction:column;gap:2px;color:#1d1d1d;padding:8px 4px;white-space:nowrap}.storefront-action-link small{font-size:12px;color:#6b7280}.storefront-action-link strong{font-size:15px}.storefront-support{position:relative}.storefront-support-trigger{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#1d1d1d;cursor:pointer;padding:8px 4px}.storefront-support-trigger small{display:block;font-size:12px;color:#6b7280;text-align:left}.storefront-support-trigger strong{display:block;font-size:15px}.storefront-support-panel{position:absolute;top:calc(100% + 6px);right:0;width:320px;background:#fff;border-top:4px solid var(--primary);border-radius:16px;box-shadow:0 18px 36px rgba(15,23,42,.16);padding:14px 20px;display:none;z-index:50}
@media(max-width:1100px){.storefront-header-main{grid-template-columns:1fr;justify-items:start}.storefront-header-actions{justify-self:stretch;flex-wrap:wrap}.storefront-search{width:100%}.storefront-main-nav{gap:16px}.storefront-mega-panel{width:min(92vw,340px)}}
@media(max-width:760px){.storefront-headline-track{font-size:13px;min-height:46px}.storefront-brand-logo{width:92px;height:64px}.storefront-brand-copy strong{font-size:22px}.storefront-nav-row{flex-direction:column;align-items:flex-start}.storefront-main-nav{gap:12px}.storefront-search button{padding:10px 14px}.storefront-header-actions{gap:10px}.storefront-action-link strong,.storefront-support-trigger strong{font-size:14px}}
:root{--secondary:#0f172a;--storefront-accent:#1d4ed8;--storefront-topline:#0f172a;--storefront-surface:#f3f1ec;--storefront-border:#ece8df}
.storefront-headline-bar{background:var(--storefront-topline);color:#fff}
.storefront-brand-copy strong,.storefront-action-link strong,.storefront-support-trigger strong,.storefront-main-nav a,.storefront-mega-menu summary,.storefront-support-item span{color:var(--secondary)}
.storefront-search{background:var(--storefront-surface);border-color:var(--storefront-border)}
.storefront-search button{background:var(--primary);color:#fff}
.storefront-support-icon{border-color:var(--storefront-accent);color:var(--storefront-accent)}
.storefront-support-panel{border-top-color:var(--secondary)}
.storefront-burger span{background:var(--secondary)}
.storefront-footer{background:var(--secondary)}
.storefront-footer-links a:hover,.storefront-main-nav a:hover,.storefront-tree-list a:hover,.storefront-action-link:hover{color:var(--storefront-accent)}

.storefront-headline-bar .container,
.storefront-header-shell .container,
.storefront-nav-shell .container{max-width:1340px}
.storefront-headline-bar{background:var(--storefront-topline);color:#fff}
.storefront-headline-track{min-height:34px;font-size:13px;font-weight:600;letter-spacing:.01em}
.storefront-header-shell{background:#fff;border-bottom:1px solid #ebe8e1}
.storefront-header-main{display:grid;grid-template-columns:minmax(360px,420px) minmax(320px,1fr) auto;gap:28px;align-items:center;padding-top:22px;padding-bottom:22px}
.storefront-header-main .storefront-brand{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;color:#1f2937;min-width:0}
.storefront-brand-media{width:96px;height:78px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.storefront-brand-logo{width:100%;height:100%;object-fit:contain;background:transparent;padding:0;border-radius:0}
.storefront-brand-fallback{width:78px;height:78px;border-radius:24px;background:linear-gradient(135deg,var(--storefront-accent),var(--secondary));color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;letter-spacing:.06em;box-shadow:0 16px 30px rgba(15,23,42,.15)}
.storefront-brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.storefront-brand-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:clamp(1rem,1.1vw + .4rem,1.55rem);line-height:.95;font-weight:800;letter-spacing:-.04em;color:var(--secondary);text-transform:uppercase;text-wrap:balance;max-width:260px}
.storefront-search{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 8px 6px 14px;border-radius:999px;background:#f2f0ea;border:1px solid #ebe6dc;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.storefront-search-leading{width:22px;height:22px;color:#8a7e60;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.storefront-search-leading svg,.storefront-search button svg,.storefront-header-icon svg{width:20px;height:20px;display:block}
.storefront-search input{flex:1;min-width:0;border:0;background:transparent;padding:0;font-size:15px;color:#1f2937;outline:none}
.storefront-search input::placeholder{color:#7b7f86}
.storefront-search button{width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#867750;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(15,23,42,.08);cursor:pointer;flex:0 0 auto}
.storefront-header-actions{display:flex;align-items:center;gap:16px;justify-self:end;flex-wrap:nowrap}
.storefront-header-card{display:flex;align-items:center;gap:10px;color:var(--secondary);position:relative}
.storefront-header-icon{width:34px;height:34px;border-radius:50%;border:1px solid #c9bea4;display:flex;align-items:center;justify-content:center;color:#7a6b46;flex:0 0 auto;background:#fff}
.storefront-header-copy{display:flex;flex-direction:column;gap:1px;line-height:1.05}
.storefront-header-copy small{font-size:12px;color:#6b7280}
.storefront-header-copy strong{font-size:15px;font-weight:800;color:var(--secondary)}
.storefront-business-card{max-width:240px;align-items:center}
.storefront-business-main{display:flex;align-items:center;gap:10px;color:inherit;min-width:0}
.storefront-business-card .storefront-header-copy{min-width:0;max-width:188px}
.storefront-business-card .storefront-header-copy small,.storefront-business-card .storefront-header-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.storefront-business-link{color:inherit;display:block;max-width:100%}
.storefront-business-logoff{display:inline-flex;align-items:center;margin-top:3px;font-size:12px;font-weight:700;color:var(--storefront-accent)}
.storefront-business-logoff:hover{text-decoration:underline}
.storefront-account-card{max-width:300px;align-items:center}
.storefront-account-main{display:flex;align-items:center;gap:10px;color:inherit;min-width:0}
.storefront-account-card .storefront-header-copy{min-width:0;max-width:228px}
.storefront-account-card .storefront-header-copy small,.storefront-account-card .storefront-header-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.storefront-account-link{color:inherit;display:block;max-width:100%}
.storefront-account-logoff{display:inline-flex;align-items:center;margin-top:3px;font-size:12px;font-weight:700;color:var(--storefront-accent)}
.storefront-account-logoff:hover{text-decoration:underline}
.storefront-support{position:relative}
.storefront-support-trigger,.storefront-account-card,.storefront-cart-card{padding:6px 2px;background:transparent;border:0;text-align:left;cursor:pointer}
.storefront-support-trigger:hover .storefront-header-copy strong,.storefront-account-card:hover .storefront-header-copy strong{color:var(--storefront-accent)}
.storefront-support-panel{position:absolute;top:calc(100% + 8px);right:0;width:320px;background:#fff;border-top:4px solid var(--secondary);border-radius:0 0 18px 18px;box-shadow:0 18px 36px rgba(15,23,42,.16);padding:10px 22px;display:none;z-index:50}
.storefront-support:hover .storefront-support-panel,.storefront-support:focus-within .storefront-support-panel{display:block}
.storefront-support-item{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid #ede9df;color:inherit}
.storefront-support-item:last-child{border-bottom:0}
.storefront-support-item-icon{width:32px;height:32px;border-radius:10px;background:#f3efe5;color:#6f6446;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex:0 0 auto}
.storefront-support-item-copy{display:flex;flex-direction:column;gap:4px}
.storefront-support-item-copy small{font-size:12px;color:#6b7280}
.storefront-support-item-copy strong{font-size:15px;color:var(--secondary);line-height:1.3}
.storefront-support-empty{padding:16px 0;color:#6b7280;font-size:14px}
.storefront-cart-card{width:40px;height:40px;justify-content:center;padding:0;flex:0 0 auto}
.storefront-cart-badge{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#6f6a46;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 12px rgba(15,23,42,.12)}
.storefront-nav-shell{background:#fff;border-top:1px solid #f0ede5;border-bottom:1px solid #ece7dc}
.storefront-nav-row{display:flex;align-items:center;gap:28px;padding-top:14px;padding-bottom:14px}
.storefront-mega-menu{position:relative;min-width:0;flex:0 0 auto}
.storefront-mega-menu summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;color:var(--secondary);font-size:16px;font-weight:800}
.storefront-mega-menu summary::-webkit-details-marker{display:none}
.storefront-burger{display:inline-flex;flex-direction:column;gap:4px}
.storefront-burger span{display:block;width:20px;height:2px;background:var(--secondary);border-radius:2px}
.storefront-mega-panel{position:absolute;top:calc(100% + 14px);left:0;width:360px;max-height:72vh;overflow:auto;background:#fff;border:1px solid #ece8df;border-radius:18px;box-shadow:0 26px 48px rgba(15,23,42,.14);padding:18px 22px;z-index:45}
.storefront-tree-list{margin:0;padding-left:18px;display:grid;gap:8px}
.storefront-tree-list>li>a{font-weight:800;color:var(--secondary)}
.storefront-tree-list li{color:#4b5563}
.storefront-tree-list li a{display:inline-block;padding:2px 0}
.storefront-tree-list .storefront-tree-list{margin-top:6px;padding-left:16px}
.storefront-main-nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.storefront-main-nav a{font-size:14px;font-weight:800;color:var(--secondary);letter-spacing:.01em;text-transform:uppercase;white-space:nowrap}
.storefront-footer-links a:hover,.storefront-main-nav a:hover,.storefront-tree-list a:hover,.storefront-header-card:hover{color:var(--storefront-accent)}

@media(max-width:1180px){
  .storefront-header-main{grid-template-columns:1fr;gap:18px}
  .storefront-header-actions{justify-self:start;flex-wrap:wrap}
  .storefront-search{width:100%}
  .storefront-header-main .storefront-brand{grid-template-columns:88px minmax(0,1fr)}
  .storefront-brand-media{width:88px;height:70px}
  .storefront-brand-copy strong{max-width:none}
}

@media(max-width:760px){
  .storefront-header-main{padding-top:16px;padding-bottom:16px}
  .storefront-header-main .storefront-brand{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .storefront-brand-media{width:72px;height:58px}
  .storefront-brand-copy strong{font-size:clamp(.95rem,4.2vw,1.2rem);line-height:1;-webkit-line-clamp:4}
  .storefront-nav-row{flex-direction:column;align-items:flex-start;gap:14px}
  .storefront-main-nav{gap:14px}
  .storefront-main-nav a{font-size:13px}
  .storefront-support-panel{width:min(92vw,320px)}
}
.storefront-color-input{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border:1px solid #d7e0ef;border-radius:14px;background:#fff}
.storefront-color-control{width:64px !important;height:38px;padding:0 !important;border:0 !important;border-radius:10px;cursor:pointer;background:transparent}
.storefront-color-chip{width:28px;height:28px;border-radius:50%;border:2px solid rgba(15,23,42,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.storefront-color-code{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f8fbff;color:#334155;font-size:12px;font-weight:700;letter-spacing:.04em}
.storefront-theme-preview{padding:18px;border-radius:18px;background:#f8fbff;border:1px solid #dbe4f0}
.storefront-theme-preview-bar{display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:16px;text-align:center;font-weight:700;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.storefront-theme-preview-footer{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:18px;align-items:start}
.storefront-theme-preview-footer-brand{display:grid;gap:8px}
.storefront-theme-preview-footer-brand strong{font-size:1.25em;color:inherit}
.storefront-theme-preview-footer-links{display:grid;gap:10px;justify-items:start}
.storefront-footer,.storefront-footer a,.storefront-footer strong{color:inherit;font-size:13px;line-height:1.5}
.storefront-footer-links a{color:inherit;opacity:.92}
.storefront-footer-links a:hover{opacity:1}.storefront-footer__bottom a{color:inherit;text-decoration:none}.storefront-footer__bottom a:hover{color:#fff}
@media(max-width:900px){
  .storefront-theme-preview-footer{grid-template-columns:1fr}
}
.storefront-search-results{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 30px rgba(15,23,42,.12);max-height:400px;overflow:auto;z-index:50;margin-top:6px}.storefront-search-item{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #f1f5f9;color:inherit;text-decoration:none}.storefront-search-item:last-child{border-bottom:0}.storefront-search-item:hover{background:#f8fbff}
.brand-carousel{margin-top:20px}.brand-carousel__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.brand-carousel__title{font-size:26px;margin:0}.brand-carousel__controls{display:flex;gap:8px;flex-shrink:0}.brand-carousel__button{width:40px;height:40px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;color:#334155;line-height:1;transition:box-shadow .2s,border-color .2s;padding:0;flex-shrink:0;box-shadow:0 1px 4px rgba(15,23,42,.06)}.brand-carousel__button:hover:not(:disabled){box-shadow:0 2px 8px rgba(0,0,0,.12);border-color:#94a3b8}.brand-carousel__button:disabled{opacity:.25;cursor:default;border-color:#e2e8f0;box-shadow:none}.brand-carousel__viewport{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;-ms-overflow-style:none;width:100%}.brand-carousel__viewport::-webkit-scrollbar{display:none}.brand-carousel__track{display:flex;align-items:stretch;gap:12px;flex-wrap:nowrap;width:max-content;min-width:100%}.brand-carousel__item{flex:0 0 auto;width:145px;scroll-snap-align:start;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 10px;border-radius:14px;background:#fff;border:1px solid #e8eef5;transition:box-shadow .2s,border-color .2s;min-height:100px}.brand-carousel__item:hover{border-color:#d0d8e6;box-shadow:0 2px 10px rgba(15,23,42,.06)}.brand-carousel__item:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.brand-carousel__media{display:flex;align-items:center;justify-content:center;width:100%;height:52px;flex-shrink:0}.brand-carousel__logo{width:auto;height:auto;max-width:100%;max-height:48px;object-fit:contain;display:block}.brand-carousel__initials{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#f1f5f9;font-weight:700;font-size:18px;color:#64748b;letter-spacing:.02em}.brand-carousel__name{font-size:12px;font-weight:600;color:#334155;line-height:1.25;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;text-overflow:ellipsis;min-height:30px}.brand-carousel__status{text-align:center;font-size:12px;color:#94a3b8;margin-top:8px;min-height:18px}.brand-carousel--static .brand-carousel__controls{display:none}.brand-carousel--static .brand-carousel__viewport{overflow-x:visible}.brand-carousel--static .brand-carousel__track{justify-content:center}.brand-carousel--static .brand-carousel__status{display:none}.brand-carousel__track .product-card{flex:0 0 auto;width:190px;scroll-snap-align:start}@media(max-width:768px){.brand-carousel__track .product-card{width:165px}}@media(max-width:430px){.brand-carousel__track .product-card{width:148px}}@media(max-width:1024px){.brand-carousel__item{width:135px}}@media(max-width:768px){.brand-carousel__item{width:125px}}@media(max-width:480px){.brand-carousel__item{width:115px}}.product-card__badge{pointer-events:none}.product-card__cat{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--primary,#db2777);font-weight:700}.product-card__brand{font-size:12px;color:#94a3b8}.product-card--unavailable{opacity:.85}.product-card--unavailable .product-card__footer .btn{background:#fff;color:var(--primary,#db2777);border:1px solid var(--primary,#db2777)}.product-card--unavailable .product-card__footer .btn:hover{background:#fdf2f8}.product-card__stockout{display:inline-flex;width:fit-content;margin-top:6px;padding:3px 7px;border-radius:999px;background:#fff0f3;color:#b4234d;font-size:10px;font-weight:700}.product-card__footer{padding:0 14px 14px;margin-top:auto;width:100%}.product-card__footer .btn{width:100%;text-align:center;min-height:40px;display:flex;align-items:center;justify-content:center;background:var(--primary,#db2777);border-color:var(--primary,#db2777)}.product-card__footer .btn-outline{background:#fff;color:var(--primary,#db2777);border:1px solid var(--primary,#db2777)}.product-body{flex:1;display:flex;flex-direction:column;gap:6px}.product-card .price{font-size:var(--product-price-size,24px);font-weight:800;color:var(--product-price-color,#0f172a)}.product-card--unavailable .product-media{opacity:.7}.catalog-recent-carousel{position:relative}.catalog-recent-carousel__viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;padding:4px 0;width:100%}.catalog-recent-carousel__viewport::-webkit-scrollbar{display:none}.catalog-recent-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px) / 6);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory}.catalog-recent-carousel__track .product-card{scroll-snap-align:start}.catalog-recent-carousel__arrow{width:40px;height:40px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;color:#334155;line-height:1;transition:box-shadow .2s;padding:0;flex-shrink:0;box-shadow:0 1px 4px rgba(15,23,42,.06)}.catalog-recent-carousel__arrow:hover{box-shadow:0 2px 8px rgba(0,0,0,.12)}.catalog-recent-carousel__arrow:disabled{opacity:.25;cursor:default;box-shadow:none}@media(max-width:1023px){.catalog-recent-carousel__track{grid-auto-columns:calc((100% - 36px) / 3)}}@media(max-width:600px){.catalog-recent-carousel__track{grid-auto-columns:calc((100% - 12px) / 2)}}@media(max-width:430px){.catalog-recent-carousel__track .product-card{width:148px;flex:0 0 148px}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:360px){.grid-4{grid-template-columns:1fr}}.catalog-whatsapp-fab{position:fixed!important;right:20px!important;bottom:20px!important;left:auto!important;width:56px!important;min-width:56px!important;max-width:56px!important;height:56px!important;min-height:56px!important;max-height:56px!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:0!important;border:0;border-radius:50%;background:#25d366;color:#fff;box-sizing:border-box!important;overflow:visible;text-decoration:none;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.14);z-index:1040;line-height:1;transition:transform .16s ease,box-shadow .16s ease}.catalog-whatsapp-fab--right{right:20px!important;left:auto!important}.catalog-whatsapp-fab--left{left:20px!important;right:auto!important}.catalog-whatsapp-fab:hover{transform:translateY(-2px) scale(1.04);text-decoration:none}.catalog-whatsapp-fab:active{transform:scale(.96)}.catalog-whatsapp-fab:focus-visible{outline:3px solid rgba(37,211,102,.35);outline-offset:4px}.catalog-whatsapp-fab__icon{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;display:block;flex:0 0 30px;margin:0!important;padding:0!important;line-height:0}.catalog-whatsapp-fab__icon svg{display:block!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;margin:0!important;padding:0!important;object-fit:contain;box-sizing:border-box!important}.catalog-whatsapp-fab__tooltip{position:absolute;top:50%;right:calc(100% + 10px);display:block;width:max-content;max-width:180px;margin:0;padding:8px 10px;border-radius:6px;background:#20242a;color:#fff;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-50%) translateX(4px);transition:opacity .15s ease,visibility .15s ease,transform .15s ease;z-index:1}.catalog-whatsapp-fab--left .catalog-whatsapp-fab__tooltip{right:auto;left:calc(100% + 10px);transform:translateY(-50%) translateX(-4px)}.catalog-whatsapp-fab:hover .catalog-whatsapp-fab__tooltip,.catalog-whatsapp-fab:focus-visible .catalog-whatsapp-fab__tooltip{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}@media(max-width:768px){.catalog-whatsapp-fab{right:16px!important;bottom:16px!important;width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;min-height:54px!important;max-height:54px!important}.catalog-whatsapp-fab--left{left:16px!important;right:auto!important}.catalog-whatsapp-fab--right{right:16px!important;left:auto!important}.catalog-whatsapp-fab__tooltip{display:none!important}}@media(prefers-reduced-motion:reduce){.catalog-whatsapp-fab,.catalog-whatsapp-fab__tooltip{transition:none}}

/* ===== SHARED CRUD COMPONENTS ===== */
.crud-page{width:min(calc(100% - 48px), 1280px);margin:28px auto;padding-bottom:48px}
.crud-card{background:#fff;border:1px solid #e4eaf2;border-radius:14px;box-shadow:0 8px 24px rgba(15,35,70,.06);overflow:hidden;padding:24px}
.crud-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.crud-heading{flex:1;min-width:0}
.crud-heading h1{font-size:22px;font-weight:700;color:#0f172a;margin:0;line-height:1.2}
.crud-heading p{font-size:13px;color:#64748b;margin:4px 0 0}
.crud-heading .btn{margin-top:0;white-space:nowrap;flex-shrink:0}
/* mobile fix: botao primario no header */
.crud-page-header .btn:last-child{white-space:nowrap;flex-shrink:0}
.crud-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.crud-toolbar form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.crud-toolbar input[type=text],.crud-toolbar input[type=search]{padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;width:340px;max-width:100%;height:40px;box-sizing:border-box}
.crud-toolbar select{padding:7px 10px;border:1px solid #d1d5db;border-radius:7px;font-size:13px;background:#fff;height:38px;box-sizing:border-box}
.crud-filters{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.crud-filters .lbl{font-size:12px;color:#64748b;margin-right:2px}
.crud-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 8px;font-size:13px;color:#64748b}
.crud-summary select{padding:5px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;background:#fff}
.crud-table-wrapper{width:100%;overflow-x:auto}
.crud-table{width:100%;border-collapse:collapse;min-width:680px}
.crud-table thead th{padding:12px 14px;background:#f8fafc;color:#475569;font-size:11px;font-weight:700;text-align:left;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.crud-table tbody td{padding:12px 14px;font-size:13px;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155}
.crud-table tbody tr{cursor:pointer;transition:background .1s}
.crud-table tbody tr:hover{background:#f8fbff}
.crud-table tbody tr:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
/* badges shared */
.status-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;min-height:24px;line-height:16px}
.status-badge--active,.status-badge--ativo{background:#dcfce7;color:#059669}
.status-badge--inactive,.status-badge--inativo{background:#fee2e2;color:#991b1b}
.status-badge--open{background:#eff6ff;color:#1d4ed8}
.status-badge--paid{background:#f0fdf4;color:#059669}
.status-badge--separated{background:#fef9c3;color:#a16207}
.status-badge--sent{background:#f3e8ff;color:#7c3aed}
.status-badge--finished{background:#f1f5f9;color:#475569}
.status-badge--cancelled{background:#fef2f2;color:#dc2626}
.origin-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:#f1f5f9;color:#475569}
/* buttons */
.crud-btn-edit{display:inline-flex;align-items:center;justify-content:center;min-width:70px;min-height:34px;padding:6px 12px;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;background:#fff;color:#2563eb;border:1px solid #2563eb;transition:.1s}
.crud-btn-edit:hover{background:#eff6ff}
.crud-btn-delete{display:inline-flex;align-items:center;justify-content:center;min-width:70px;min-height:34px;padding:6px 12px;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;background:#fff;color:#b91c1c;border:1px solid #fecaca;transition:.1s}
.crud-btn-delete:hover{background:#fef2f2;border-color:#fca5a5}
.crud-btn-delete:disabled{opacity:.4;cursor:not-allowed}
/* pagination */
.crud-pagination{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:20px}
.crud-pagination a,.crud-pagination span{padding:7px 11px;font-size:13px;border-radius:6px;text-decoration:none;color:#475569;border:1px solid #e2e8f0;transition:.1s}
.crud-pagination a:hover{background:#f1f5f9}
.crud-pagination strong{background:#2563eb;color:#fff;padding:7px 11px;border-radius:6px;font-size:13px;border:1px solid #2563eb}
.crud-pagination .muted{color:#cbd5e1;border-color:#f1f5f9;cursor:default}
/* empty state */
.crud-empty{padding:40px;text-align:center;color:#64748b}
.crud-empty p{margin:4px 0 12px;font-size:14px}
.crud-empty .muted{font-size:13px}
.crud-empty-actions{display:flex;gap:8px;justify-content:center;margin-top:12px}
/* mobile */
@media(max-width:768px){
    .crud-page{width:calc(100% - 24px);margin:16px auto}
    .crud-page-header{flex-direction:column}
    .crud-page-header .btn{width:100%}
    .crud-toolbar form{flex-direction:column;width:100%}
    .crud-toolbar input[type=text],.crud-toolbar input[type=search]{width:100%}
    .crud-filters{flex-direction:column;align-items:stretch}
}

/* ===== CRUD FIXES ===== */
.crud-page input[type=text],.crud-page input[type=search],.crud-page input[type=date],
.crud-page select,.admin-page input[type=text],.admin-page input[type=search],.admin-page input[type=date],
.admin-page select{width:auto}
.crud-page input.crud-search-field,.crud-toolbar input[type=text],.crud-toolbar input[type=search]{width:min(100%,420px)}
.crud-page input[type=date],.admin-page input[type=date]{width:160px}
.crud-page select,.admin-page select{width:auto;min-width:100px}
.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%}
.metric-card{min-width:0;min-height:108px;padding:18px 20px;background:#fff;border:1px solid #e0e7f0;border-radius:14px;box-shadow:0 6px 18px rgba(15,35,70,.05);box-sizing:border-box;display:flex;flex-direction:column;gap:4px}
.metric-card__label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-weight:600}
.metric-card__value{font-size:26px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}
.metric-card__value--green{color:#059669}
.metric-card__value--amber{color:#a16207}
.metric-card__value--red{color:#dc2626}
.metric-card__value--purple{color:#6366f1}
.metric-card__detail{font-size:12px;color:#94a3b8}
@media(max-width:1024px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.metrics-grid{grid-template-columns:1fr}}
.page-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.analytics-tabs{display:flex;gap:0;border-bottom:2px solid #e2e8f0;margin-bottom:20px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.analytics-tab{padding:10px 16px;font-size:13px;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap;transition:.15s;background:0;border-top:0;border-left:0;border-right:0;border-radius:0}
.analytics-tab:hover{color:#2563eb}
.analytics-tab.active,.analytics-tab.is-active{color:#2563eb;border-bottom-color:#2563eb;font-weight:600}
.analytics-tab-content{display:none}
.analytics-tab-content.active{display:block}
.empty-state{padding:44px 24px;text-align:center}
.empty-state__title{margin:0;font-size:18px;color:#172033}
.empty-state__description{max-width:560px;margin:8px auto 0;color:#65758f;line-height:1.5}
.empty-state__actions{display:flex;gap:10px;justify-content:center;margin-top:14px}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.dash-list-card{padding:18px}
.dash-list-card h2{font-size:14px;font-weight:700;margin:0 0 12px;text-transform:uppercase;color:#64748b}
@media(max-width:768px){.dash-grid{grid-template-columns:1fr}.page-actions{width:100%}.page-actions .btn{width:100%}}
.prod-stock-ok{background:#dcfce7;color:#059669}.prod-stock-low{background:#fef9c3;color:#a16207}.prod-stock-zero{background:#f1f5f9;color:#475569}.prod-stock-neg{background:#fef2f2;color:#dc2626}

/* ===== ALERTS (validacao / sucesso / aviso) ===== */
.alert{padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.45;margin-bottom:16px;border:1px solid transparent;font-weight:600}
.alert-success{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.alert-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}
.alert-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}
.alert a{color:inherit;font-weight:700;text-decoration:underline}
