:root {
    --navy: #06192f;
    --deep: #0b1020;
    --electric: #008fd3;
    --aqua: #16c7c4;
    --warm: #f4a640;
    --ink: #172033;
    --muted: #65738a;
    --line: #dfe7f1;
    --soft: #f3f7fb;
    --paper: #ffffff;
    --danger: #c73535;
    --success: #177c55;
    --shadow: 0 14px 38px rgba(6, 25, 47, .12);
    --radius: 8px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .78rem .9rem;
    background: #fff;
    color: var(--ink);
    outline: none;
}

code {
    padding: .12rem .28rem;
    border-radius: 4px;
    background: #eef4f9;
    color: var(--navy);
    font-size: .92em;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--electric);
    box-shadow: 0 0 0 3px rgba(0, 143, 211, .13);
}

label {
    display: grid;
    gap: .45rem;
    font-size: .86rem;
    font-weight: 750;
    color: var(--ink);
}

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

th,
td {
    padding: .85rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: .74rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: #f8fbfe;
}

td small {
    display: block;
    color: var(--muted);
    margin-top: .25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: .45rem;
    padding: .72rem 1.05rem;
    border: 1px solid var(--electric);
    border-radius: var(--radius);
    background: var(--electric);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 143, 211, .2);
}

.button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button.secondary {
    background: #fff;
    color: var(--navy);
    border-color: var(--line);
}

.button.ghost-light {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}

.button.light {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.button.small {
    min-height: 34px;
    padding: .45rem .68rem;
    font-size: .82rem;
}

.button.ghost {
    background: transparent;
    color: var(--navy);
}

.button.danger,
.button.small.danger {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.button-row,
.quick-actions,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
}

.flash {
    width: min(1180px, calc(100% - 2rem));
    margin: 1rem auto;
    padding: .9rem 1rem;
    border-radius: var(--radius);
    font-weight: 750;
}

.flash.success {
    background: #e9f8f1;
    color: var(--success);
    border: 1px solid #bfe8d4;
}

.flash.error {
    background: #fff0f0;
    color: var(--danger);
    border: 1px solid #ffd0d0;
}

.promo-stack {
    position: relative;
    z-index: 20;
}

.top-promo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 38px;
    padding: .45rem 1rem;
    background: var(--promo-bg);
    color: var(--promo-fg);
    font-size: .84rem;
    font-weight: 850;
    text-align: center;
}

.top-promo a {
    border: 1px solid currentColor;
    padding: .22rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 19;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(223, 231, 241, .85);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1360px, calc(100% - 2rem));
    min-height: 84px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(220px, 440px) 1fr auto;
    gap: 1rem;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: max-content;
}

.header-wordmark {
    padding: .42rem 0;
}

.header-wordmark .brand-text {
    padding-left: .75rem;
    border-left: 4px solid var(--aqua);
}

.header-wordmark strong {
    color: var(--navy);
}

.header-wordmark em {
    color: var(--electric);
}

.brand img {
    width: auto;
    height: 54px;
    object-fit: contain;
}

.brand-logo-image {
    width: 128px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius);
    background: var(--deep);
    box-shadow: 0 8px 22px rgba(6, 25, 47, .18);
}

.footer-logo-image {
    width: clamp(230px, 22vw, 330px);
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    background: var(--deep);
}

.footer-brand .footer-logo-image {
    width: clamp(230px, 22vw, 330px);
    height: auto;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--electric) 55%, var(--aqua));
    font-weight: 950;
}

.brand-text {
    display: grid;
    line-height: 1.02;
}

.brand-text strong {
    font-size: .96rem;
    letter-spacing: .04em;
}

.brand-text em {
    font-size: .84rem;
    font-style: normal;
    color: var(--electric);
    font-weight: 900;
    letter-spacing: .04em;
}

.header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.header-search input {
    border-radius: var(--radius) 0 0 var(--radius);
}

.header-search button {
    height: 100%;
    border: 1px solid var(--navy);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 .9rem;
    color: #fff;
    background: var(--navy);
    font-weight: 850;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: .85rem;
    font-size: .76rem;
    font-weight: 900;
    color: var(--navy);
}

.desktop-nav a {
    white-space: nowrap;
    padding: .4rem .25rem;
}

.desktop-nav a:hover {
    color: var(--electric);
}

.header-actions {
    display: flex;
    gap: .65rem;
    align-items: center;
    justify-content: flex-end;
}

.language-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 74px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.language-switch a {
    display: grid;
    min-height: 30px;
    place-items: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 950;
}

.language-switch a.is-active {
    color: #fff;
    background: var(--navy);
}

.account-link,
.cart-link {
    font-weight: 850;
    color: var(--navy);
    white-space: nowrap;
}

.cart-link span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: var(--warm);
    color: var(--deep);
    margin-left: .25rem;
    font-size: .78rem;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    place-items: center;
    gap: 4px;
    padding: .65rem;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
}

.mobile-panel {
    display: none;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.mobile-panel.is-open {
    display: grid;
    gap: .55rem;
}

.mobile-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
}

.mobile-panel a {
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 850;
    background: #fff;
}

.mobile-language-switch {
    width: 100%;
}

.mobile-panel .language-switch a {
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-panel .language-switch a.is-active {
    color: #fff;
    background: var(--navy);
}

.hero {
    position: relative;
    min-height: clamp(560px, 72vh, 760px);
    overflow: hidden;
    background: var(--deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transition: opacity .5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 25, 47, .9), rgba(6, 25, 47, .58) 46%, rgba(6, 25, 47, .18)),
        linear-gradient(0deg, rgba(6, 25, 47, .42), rgba(6, 25, 47, .08));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    color: #fff;
}

.hero-slide-primary .hero-content {
    width: min(1080px, calc(100% - 5rem));
    padding-inline: clamp(1rem, 3vw, 2.6rem);
}

.hero-logo {
    width: clamp(150px, 18vw, 245px);
    height: auto;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.hero-right .hero-content {
    text-align: right;
}

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

.hero-content h1 {
    max-width: 790px;
    margin: .5rem 0 1rem;
    font-size: clamp(2.6rem, 6.2vw, 6.8rem);
    line-height: .92;
    letter-spacing: 0;
}

.hero-slide-primary .hero-content h1 {
    max-width: 720px;
    font-size: clamp(2.45rem, 5.4vw, 5.95rem);
}

.hero-center .hero-content h1 {
    margin-left: auto;
    margin-right: auto;
}

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

.hero-content > p:not(.eyebrow) {
    max-width: 650px;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: rgba(255, 255, 255, .88);
}

.eyebrow {
    margin: 0;
    color: var(--electric);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero .eyebrow,
.wholesale-section .eyebrow {
    color: var(--aqua);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    z-index: 2;
    display: flex;
    gap: .6rem;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 42px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: var(--aqua);
}

.ticker {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    background: #07111f;
    border-top: 3px solid var(--aqua);
    border-bottom: 3px solid var(--warm);
}

.ticker-lane {
    position: absolute;
    left: -3vw;
    width: 106vw;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .2);
}

.ticker-lane-blue {
    top: 8px;
    z-index: 2;
    background: linear-gradient(90deg, #005ecb, #0f8dff 50%, #006be8);
    transform: rotate(-1.7deg);
}

.ticker-lane-dark {
    top: 42px;
    z-index: 1;
    background: #08111f;
    transform: rotate(1.15deg);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-slide 34s linear infinite;
}

.ticker-track-reverse {
    animation-name: ticker-slide-reverse;
    animation-duration: 38s;
}

.ticker span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 2.35rem;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .32);
}

.ticker span::after {
    content: "/";
    position: absolute;
    right: .65rem;
    color: #e7d7a2;
    font-size: 1.1rem;
    font-weight: 950;
    transform: skewX(-12deg);
}

@keyframes ticker-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

@keyframes ticker-slide-reverse {
    from { transform: translateX(-33.333%); }
    to { transform: translateX(0); }
}

.section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.6rem 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-heading h1,
.section-heading h2,
.shop-hero h1 {
    margin: .25rem 0 .35rem;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

.section-heading p,
.shop-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.category-grid,
.product-grid,
.why-grid {
    display: grid;
    gap: 1rem;
}

.retail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .35s ease;
    opacity: .78;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 25, 47, .88), rgba(6, 25, 47, .08) 58%);
}

.category-card span,
.category-card strong {
    position: absolute;
    left: 1rem;
    z-index: 1;
    color: #fff;
}

.category-card span {
    bottom: 2.75rem;
    font-weight: 950;
    font-size: 1.22rem;
}

.category-card strong {
    bottom: 1rem;
    color: var(--aqua);
}

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

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

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

.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 143, 211, .35);
}

.product-card-media {
    position: relative;
    aspect-ratio: 4 / 4.6;
    background: var(--soft);
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

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

.sale-type,
.stock-ribbon {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .26rem .48rem;
    border-radius: 999px;
    background: rgba(6, 25, 47, .88);
    color: #fff;
    font-size: .68rem;
    font-weight: 950;
}

.stock-ribbon {
    left: auto;
    right: .75rem;
    background: var(--danger);
}

.product-card-body {
    display: grid;
    gap: .55rem;
    padding: 1rem;
}

.product-meta,
.stock-line,
.sku-line {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.product-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.22;
}

.product-card h3 span,
.product-info h1 span {
    display: block;
    margin-top: .22rem;
    color: var(--muted);
    font-weight: 650;
    font-size: .88em;
}

.price-row,
.detail-price {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
}

.save-badge {
    padding: .25rem .48rem;
    border-radius: 999px;
    background: #fff2dd;
    color: #8b4e00;
    font-weight: 850;
    font-size: .78rem;
}

.mini-cart-form {
    display: flex;
    gap: .5rem;
    margin-top: .25rem;
}

.deal-band,
.newsletter-band {
    width: 100%;
    max-width: none;
    padding: 4.3rem max(1rem, calc((100% - 1180px) / 2));
    background: var(--soft);
}

.deal-band {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 1.5rem;
    align-items: start;
}

.deal-copy h2,
.why-card h2,
.newsletter-band h2 {
    margin: .25rem 0 .6rem;
    font-size: clamp(1.9rem, 3.5vw, 3.4rem);
    line-height: 1;
}

.deal-copy p,
.why-card p {
    color: var(--muted);
}

.wholesale-section {
    width: 100%;
    max-width: none;
    padding: 4.8rem max(1rem, calc((100% - 1180px) / 2));
    background:
        linear-gradient(115deg, rgba(6, 25, 47, .96), rgba(6, 25, 47, .86)),
        url("https://images.unsplash.com/photo-1586528116493-a029325540fa?auto=format&fit=crop&w=1800&q=80") center / cover;
    color: #fff;
}

.light-heading h2,
.light-heading p {
    color: #fff;
}

.wholesale-layout {
    display: grid;
    grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
    gap: 1.2rem;
    align-items: start;
}

.wholesale-panel {
    min-height: 320px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
}

.wholesale-panel h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.wholesale-panel p {
    color: rgba(255, 255, 255, .78);
}

.wholesale-panel a {
    color: var(--aqua);
    font-weight: 900;
}

.wholesale-section .product-card {
    color: var(--ink);
}

.why-section {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 1rem;
}

.why-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--navy);
    color: #fff;
}

.why-card p {
    color: rgba(255, 255, 255, .78);
}

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

.why-grid article {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.why-grid strong,
.why-grid span {
    display: block;
}

.why-grid span {
    margin-top: .35rem;
    color: var(--muted);
}

.newsletter-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.newsletter-band form {
    display: grid;
    grid-template-columns: minmax(220px, 360px) auto;
    gap: .7rem;
}

.location-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 1.2rem;
    align-items: stretch;
}

.location-copy {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.location-copy h2 {
    margin: .35rem 0 1rem;
}

.map-frame {
    min-height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.site-footer {
    background: var(--deep);
    color: #fff;
    padding: 3.5rem max(1rem, calc((100% - 1180px) / 2)) 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 1.3rem;
}

.footer-grid h3 {
    margin: 0 0 .75rem;
    color: var(--aqua);
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 .45rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .62);
    font-size: .86rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1rem;
    border-radius: 999px;
    background: #18a85f;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(24, 168, 95, .35);
}

.shop-hero {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.shop-shell {
    width: min(1360px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
    padding-bottom: 4rem;
}

.filters {
    position: sticky;
    top: 104px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.filters form,
.checkout-form,
.admin-form,
.status-detail-form {
    display: grid;
    gap: 1rem;
}

.filter-heading,
.result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.filter-heading h2,
.result-bar p {
    margin: 0;
}

.two-fields,
.three-fields,
.form-grid {
    display: grid;
    gap: 1rem;
}

.two-fields,
.form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-fields,
.form-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-row,
.mini-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .55rem;
}

.check-row input,
.mini-check input {
    width: auto;
}

.result-bar {
    margin-bottom: 1rem;
    padding: .95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.result-chips {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
}

.result-chips span {
    padding: .25rem .48rem;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
}

.empty-state,
.success-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}

.product-detail {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 2rem;
    padding: 3rem 0 4rem;
}

.gallery-main {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--soft);
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-main:hover img {
    transform: scale(1.5);
    transform-origin: center;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .65rem;
    margin-top: .75rem;
}

.gallery-thumbs button {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-info h1 {
    margin: .4rem 0 .75rem;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1;
}

.detail-price strong {
    font-size: 2rem;
}

.stock-good {
    color: var(--success);
    font-weight: 900;
}

.stock-out {
    color: var(--danger);
    font-weight: 900;
}

.detail-cart {
    display: grid;
    gap: .85rem;
    margin: 1rem 0;
}

.whatsapp-question {
    display: inline-block;
    margin: .35rem 0 1rem;
    color: var(--success);
    font-weight: 900;
}

.description-tabs {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.cart-page,
.checkout-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.25rem;
    align-items: start;
}

.cart-lines {
    display: grid;
    gap: .85rem;
}

.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 90px 100px auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.cart-line img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-line h2 {
    margin: 0;
    font-size: 1rem;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-weight: 850;
    cursor: pointer;
}

.cart-summary {
    display: grid;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 26px rgba(6, 25, 47, .08);
}

.cart-summary h2,
.cart-summary h3 {
    margin: 0;
}

.cart-summary div:not(.coupon-box):not(.coupon-row) {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.summary-total {
    padding-top: .8rem;
    border-top: 1px solid var(--line);
    font-size: 1.15rem;
}

.coupon-box {
    display: grid;
    gap: .45rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.coupon-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
}

.radio-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .9rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .65rem;
}

.radio-card input {
    width: auto;
}

.paypal-panel {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid rgba(0, 143, 211, .24);
    border-radius: var(--radius);
    background: #f3fbff;
}

.paypal-panel h2,
.paypal-panel p {
    margin: 0;
}

#paypal-button-container {
    min-height: 46px;
}

.payment-status {
    padding: .65rem .75rem;
    border-radius: var(--radius);
    background: #fff;
    color: var(--muted);
    font-weight: 750;
}

.payment-status:empty {
    display: none;
}

.payment-status[data-state="success"] {
    color: var(--success);
}

.payment-status[data-state="error"] {
    color: var(--danger);
}

.payment-status[data-state="working"] {
    color: var(--electric);
}

.order-recap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.order-recap span,
.order-recap strong {
    display: block;
}

.order-recap span {
    color: var(--muted);
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        linear-gradient(115deg, rgba(6, 25, 47, .94), rgba(0, 143, 211, .72)),
        url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.login-card {
    width: min(440px, 100%);
    display: grid;
    gap: 1rem;
    padding: 1.3rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.login-card h1 {
    margin: 0;
}

.demo-login {
    margin: 0;
    padding: .8rem;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--muted);
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background: #eef4f9;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    background: var(--deep);
    color: #fff;
}

.admin-brand {
    margin-bottom: 1.3rem;
}

.admin-sidebar nav {
    display: grid;
    gap: .35rem;
}

.admin-sidebar nav a {
    padding: .72rem .8rem;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.admin-shell {
    min-width: 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-topbar p,
.admin-topbar h1 {
    margin: 0;
}

.admin-topbar p {
    color: var(--muted);
    font-size: .84rem;
}

.admin-topbar h1 {
    font-size: 1.7rem;
}

.admin-user {
    display: flex;
    gap: .7rem;
    align-items: center;
}

.admin-main {
    padding: 1.4rem;
    display: grid;
    gap: 1.2rem;
}

.admin-card,
.metric-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(6, 25, 47, .06);
}

.admin-card {
    padding: 1rem;
}

.admin-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.admin-card-heading h2,
.admin-card-heading p {
    margin: 0;
}

.admin-card-heading p {
    color: var(--muted);
}

.admin-grid {
    display: grid;
    gap: 1rem;
}

.metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
    padding: 1rem;
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 950;
}

.metric-card strong {
    display: block;
    margin-top: .45rem;
    font-size: 1.8rem;
    color: var(--navy);
}

.two-admin-columns {
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: start;
}

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

.check-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.check-grid label {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: .4rem;
}

.check-grid input {
    width: auto;
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: .65rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.setting-toggle input {
    width: auto;
}

.admin-subsection {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.admin-subsection h2 {
    margin: 0;
    font-size: 1.05rem;
}

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

.admin-thumb {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--soft);
}

.admin-product-cell {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.table-actions form,
.status-form,
.adjust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}

.status-form select {
    width: 145px;
    padding: .45rem;
}

.inline-inventory {
    display: grid;
    grid-template-columns: 90px 90px;
    gap: .4rem;
}

.inline-inventory input,
.adjust-row button {
    min-width: 0;
}

.row-alert {
    background: #fff4f4;
}

.row-warn {
    background: #fff9ec;
}

.image-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1rem;
}

.drop-zone {
    padding: 1rem;
    border: 1px dashed var(--electric);
    border-radius: var(--radius);
    background: #f0f9ff;
}

.image-preview-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
}

.image-preview-box img,
.hero-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-stack {
    display: grid;
    gap: .85rem;
}

.admin-line-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: end;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-mini-form {
    display: grid;
    grid-template-columns: repeat(6, minmax(90px, 1fr)) auto;
    gap: .65rem;
    align-items: end;
}

.ticker-admin-form {
    grid-template-columns: minmax(220px, 1fr) 90px 100px auto;
}

.hero-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-hero-form {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.hero-admin-preview {
    height: 170px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
}

.order-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: grid;
    }

    .account-link {
        display: none;
    }

    .retail-grid,
    .product-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

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

@media (max-width: 860px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: 72px;
    }

    .header-search {
        display: none;
    }

    .brand-text strong {
        font-size: .82rem;
    }

    .brand-text em {
        font-size: .74rem;
    }

    .brand-logo-image {
        width: 96px;
        height: 58px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-slide-primary .hero-content {
        width: min(100%, calc(100% - 2rem));
        padding-inline: 0;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 12vw, 4.8rem);
    }

    .hero-slide-primary .hero-content h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 11vw, 4.4rem);
    }

    .ticker {
        min-height: 74px;
    }

    .ticker-lane-blue {
        top: 7px;
    }

    .ticker-lane-dark {
        top: 38px;
    }

    .ticker span {
        min-height: 30px;
        padding: 0 1.65rem;
        font-size: .74rem;
    }

    .section-heading,
    .newsletter-band,
    .footer-bottom,
    .filter-heading,
    .result-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .retail-grid,
    .product-grid,
    .compact-grid,
    .why-grid,
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deal-band,
    .wholesale-layout,
    .why-section,
    .location-section,
    .shop-shell,
    .product-detail,
    .cart-layout,
    .checkout-layout,
    .footer-grid,
    .two-admin-columns,
    .order-admin-layout,
    .image-admin-grid,
    .hero-admin-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

    .cart-line {
        grid-template-columns: 74px 1fr;
    }

    .cart-line img {
        width: 74px;
        height: 74px;
    }

    .form-grid,
    .form-grid.two-col,
    .form-grid.three-col,
    .two-fields,
    .three-fields,
    .newsletter-band form {
        grid-template-columns: 1fr;
    }

    .admin-mini-form,
    .ticker-admin-form {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .top-promo {
        flex-direction: column;
        gap: .25rem;
        padding: .55rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .cart-link {
        font-size: .88rem;
    }

    .header-wordmark .brand-text {
        padding-left: .55rem;
    }

    .hero {
        min-height: 590px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .footer-brand .footer-logo-image {
        width: min(290px, 100%);
    }

    .retail-grid,
    .product-grid,
    .compact-grid,
    .why-grid,
    .metrics-grid,
    .order-recap {
        grid-template-columns: 1fr;
    }

    .category-card,
    .category-card img {
        min-height: 220px;
    }

    .mini-cart-form {
        flex-direction: column;
    }

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

    .admin-topbar,
    .admin-card-heading {
        flex-direction: column;
        align-items: stretch;
    }
}
