:root {
    --color-primary: #0e7a3d;
    --color-secondary: #15a34a;
    --color-soft-green: #eaf8ef;
    --color-text: #1f2937;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-accent: #ffb703;
    --color-border: rgba(31, 41, 55, 0.08);
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 14px 34px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

main {
    min-height: 70vh;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 40px 0 72px;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--color-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 12px;
    line-height: 1.1;
}

h1,
.hero-copy h1,
.success-card h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

p {
    margin: 0 0 12px;
    color: rgba(31, 41, 55, 0.76);
    line-height: 1.7;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: var(--shadow-card);
}

.button-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.button-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: rgba(14, 122, 61, 0.2);
}

.button-whatsapp {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-white);
}

.button-block {
    width: 100%;
}

.topbar {
    background: #0b1220;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.topbar a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.topbar-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 0;
    backdrop-filter: blur(14px);
    background: rgba(11, 18, 32, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-inner,
.header-actions,
.hero-actions,
.section-heading,
.announcement-inner,
.hero-stats,
.price-row,
.summary-line,
.card-title-row,
.admin-topbar,
.admin-topbar-actions,
.analytics-item,
.summary-product {
    display: flex;
    align-items: center;
}

.header-inner {
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.header-search {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    order: 3;
}

.header-search input[type="search"] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.header-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.header-search .button {
    padding: 10px 16px;
}

.brand {
    order: 1;
}

.header-actions {
    order: 2;
    margin-left: auto;
}

.header-inner,
.section-heading,
.announcement-inner,
.card-title-row,
.admin-topbar {
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark,
.admin-brand span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #111827;
    font-weight: 800;
}

.brand strong {
    color: rgba(255, 255, 255, 0.95);
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
    order: 4;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
}

.main-nav a.active,
.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
}

.header-actions {
    gap: 12px;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 1;
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 800;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1;
}

.mobile-nav-toggle {
    display: inline-flex;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    order: 2;
}

.hero-section {
    padding: 34px 0 36px;
}

.hero-stack {
    display: grid;
    gap: 18px;
}

.category-strip {
    display: flex;
    gap: 12px;
    align-items: center;
    overflow-x: auto;
    padding: 10px 4px;
    scroll-snap-type: x mandatory;
}

.category-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    scroll-snap-align: start;
}

.category-chip img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--color-soft-green);
}

.category-chip span {
    font-weight: 800;
    font-size: 13px;
    color: rgba(31, 41, 55, 0.85);
    white-space: nowrap;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.category-strip {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-grid,
.promo-banner-grid,
.campaign-grid,
.checkout-layout,
.product-detail-grid,
.footer-grid,
.admin-panel-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
}

.hero-copy,
.hero-slider,
.filter-card,
.product-detail-card,
.summary-card,
.cart-card,
.form-card,
.metric-card,
.admin-panel-card,
.admin-login-card,
.success-card,
.empty-state,
.trust-strip,
.whatsapp-panel {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: 40px;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-stats {
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stats div {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--color-soft-green);
}

.hero-stats strong {
    display: block;
    font-size: 1.15rem;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-slider-full {
    min-height: 280px;
    border-radius: var(--radius-xl);
}

.hero-slider-full .hero-card img {
    min-height: 280px;
}

.hero-overlay-wide {
    inset: auto 16px 16px 16px;
    max-width: 560px;
}

.hero-features {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-features article {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 4px;
}

.hero-features strong {
    color: var(--color-primary);
    font-weight: 800;
}

.hero-features span {
    color: rgba(31, 41, 55, 0.65);
    font-size: 13px;
}
.hero-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-card.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-card img,
.promo-banner img,
.campaign-card img,
.category-banner img,
.banner-admin-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: auto 24px 24px 24px;
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 22px;
    backdrop-filter: blur(16px);
}

.hero-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: var(--color-primary);
}

.announcement-strip {
    padding-bottom: 24px;
}

.announcement-inner {
    padding: 16px 22px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 999px;
}

.announcement-inner span,
.announcement-inner a {
    color: var(--color-white);
}

.section-heading {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}

.section-heading.no-border {
    border-bottom: none;
    padding-bottom: 0;
}

.section-link {
    color: var(--color-primary);
    font-weight: 700;
}

.category-grid,
.product-grid,
.trust-strip-grid,
.banner-admin-grid,
.admin-metrics-grid {
    display: grid;
    gap: 20px;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
    background: linear-gradient(180deg, #ffffff, #f4fbf6);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.category-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.category-card div {
    padding: 22px;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 404px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.product-card-image {
    position: relative;
    display: block;
}

.product-card-image img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    background: linear-gradient(180deg, #f7fcf8, #eef8f1);
}

.discount-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: var(--color-text);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}

.product-card-body {
    padding: 14px 14px 10px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.product-category,
.stock-copy {
    font-size: 13px;
    color: rgba(31, 41, 55, 0.56);
}

.organic-pill {
    display: inline-flex;
    align-items: center;
    background: var(--color-soft-green);
    border: 1px solid rgba(14, 122, 61, 0.25);
    color: var(--color-primary);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    flex: 0 0 auto;
    margin-bottom: 10px;
}

.product-title {
    margin: 0;
    min-height: 44px;
}

.product-title a {
    display: grid;
    gap: 2px;
    color: inherit;
}

.product-name-hi {
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: 15px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name-en {
    font-weight: 800;
    color: rgba(31, 41, 55, 0.7);
    font-size: 12.5px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-copy {
    min-height: 48px;
}

.variant-row,
.price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-row {
    gap: 10px;
    margin: 8px 0 6px;
}

.price-row strong,
.price-display strong,
.summary-line strong,
.summary-product strong {
    font-size: 1.05rem;
}

.price-row span,
.price-display span {
    color: rgba(31, 41, 55, 0.45);
    text-decoration: line-through;
}

.card-actions,
.product-card-form {
    display: grid;
    gap: 10px;
}

.product-card-form {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.product-card-form .variant-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-card-form .variant-pills::-webkit-scrollbar {
    display: none;
}

.product-card-add {
    margin-top: 4px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 900;
}

.variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 2px;
}

.variant-pill {
    border: 1px solid rgba(31, 41, 55, 0.12);
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    color: rgba(31, 41, 55, 0.8);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.variant-pill.is-active {
    border-color: rgba(14, 122, 61, 0.35);
    background: var(--color-soft-green);
    color: var(--color-primary);
}

.variant-pill:active {
    transform: scale(0.98);
}


.qty-input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 55, 0.12);
    background: #fcfdfd;
}

.promo-banner-grid,
.campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promo-banner,
.campaign-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.promo-banner-copy,
.campaign-card-copy {
    position: absolute;
    inset: auto 20px 20px 20px;
    background: rgba(255, 255, 255, 0.92);
    padding: 20px;
    border-radius: 20px;
}

.trust-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip {
    padding: 22px;
    min-height: 150px;
}

.why-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-card {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.why-card h3 {
    margin-bottom: 8px;
}

.whatsapp-panel,
.success-card,
.empty-state.large {
    padding: 36px;
}

.page-hero.compact {
    padding: 46px 0 10px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}

.filter-card,
.summary-card,
.cart-card,
.form-card {
    padding: 24px;
}

.filter-form,
.coupon-form,
.checkout-form,
.admin-login-form {
    display: grid;
    gap: 16px;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-detail-grid {
    grid-template-columns: 1fr 1fr;
}

.product-gallery,
.category-banner {
    overflow: hidden;
    border-radius: var(--radius-xl);
    position: relative;
}

.product-gallery-main {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.product-gallery-thumbs img {
    border-radius: 18px;
    height: 120px;
    object-fit: cover;
}

.product-detail-card {
    padding: 30px;
}

.price-display {
    margin: 20px 0;
    padding: 18px 20px;
    background: var(--color-soft-green);
    border-radius: 18px;
}

.price-display small {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-accent);
    font-weight: 800;
}

.detail-form,
.product-info-list,
.detail-list {
    display: grid;
    gap: 16px;
}

.product-info-list article,
.summary-note {
    padding: 18px;
    border-radius: 18px;
    background: #f9fbfa;
}

.checkout-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.cart-table,
.table-wrap table,
.form-grid {
    width: 100%;
}

.cart-table {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1.4fr 100px 100px 100px;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: #fbfcfc;
    border: 1px solid var(--color-border);
}

.cart-item img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 18px;
}

.summary-card {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.summary-line.total {
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.summary-product {
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.summary-product span {
    display: block;
    color: rgba(31, 41, 55, 0.55);
    margin-top: 4px;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
    grid-column: 1 / -1;
}

.category-banner {
    min-height: 360px;
    margin: 20px auto 0;
    width: min(1180px, calc(100% - 32px));
    box-shadow: var(--shadow-soft);
}

.category-banner-copy {
    position: absolute;
    inset: auto 24px 24px 24px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
}

.flash-stack {
    display: grid;
    gap: 12px;
    padding-top: 12px;
}

.flash {
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.flash-success {
    background: #ecfdf3;
    color: #166534;
}

.flash-error {
    background: #fef2f2;
    color: #b91c1c;
}

.site-footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b1220;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.98);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.74);
}

.footer-subscribe input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}
.footer-top {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.1fr 1fr;
    padding-bottom: 34px;
}

.footer-brand h3 {
    font-size: 1.6rem;
}

.footer-contact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-contact a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
}

.footer-columns {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.footer-subscribe {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    flex-wrap: wrap;
}

.footer-subscribe input {
    flex: 1 1 220px;
    border-radius: 999px;
}

.footer-mini {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.mobile-cartbar {
    display: none;
}

.has-mobile-cartbar main {
    padding-bottom: 96px;
}

.mobile-cartbar-left,
.mobile-cartbar-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mobile-cartbar-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mobile-cartbar-right {
    font-weight: 900;
    gap: 10px;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.admin-shell {
    background: #f3f7f4;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 26px 20px;
    background: linear-gradient(180deg, #0f3a22, #0e7a3d);
    color: var(--color-white);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.admin-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.admin-nav a.active,
.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.admin-main {
    padding: 28px;
}

.admin-topbar {
    margin-bottom: 24px;
    gap: 18px;
}

.admin-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--color-soft-green);
    color: var(--color-primary);
    font-weight: 700;
}

.admin-content {
    display: grid;
    gap: 24px;
}

.admin-metrics-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card,
.admin-panel-card {
    padding: 22px;
}

.metric-card span {
    display: block;
    margin-bottom: 12px;
    color: rgba(31, 41, 55, 0.56);
}

.metric-card strong {
    font-size: 1.45rem;
}

.admin-panel-grid {
    grid-template-columns: 1.3fr 0.9fr;
}

.admin-categories-grid {
    align-items: start;
}

.admin-products-grid {
    align-items: start;
}

.admin-variants-table {
    margin-top: 24px;
}

.table-wrap {
    overflow: auto;
}

table {
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
    vertical-align: top;
}

.table-subcopy {
    display: block;
    margin-top: 6px;
    color: rgba(31, 41, 55, 0.58);
    font-size: 13px;
    line-height: 1.5;
}

.table-actions,
.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-form-actions {
    margin-top: 18px;
}

.admin-export-actions {
    margin-top: 18px;
}

.admin-table-button {
    padding: 10px 14px;
}

.admin-inline-note {
    text-align: left;
    margin-bottom: 18px;
}

.table-flag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-table-thumb {
    width: 96px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(31, 41, 55, 0.08);
}

.admin-order-detail {
    display: grid;
    gap: 24px;
}

.admin-order-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

.admin-order-card {
    box-shadow: none;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: #fbfcfc;
}

.admin-info-list {
    display: grid;
    gap: 12px;
}

.admin-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.admin-info-list span {
    color: rgba(31, 41, 55, 0.56);
}

.analytics-list {
    display: grid;
    gap: 12px;
}

.analytics-item {
    justify-content: space-between;
    padding: 16px;
    border-radius: 16px;
    background: #f9fbfa;
}

.analytics-item span {
    display: block;
    color: rgba(31, 41, 55, 0.56);
}

.admin-module-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
}

.admin-module-row small {
    display: block;
    margin-top: 4px;
    color: rgba(31, 41, 55, 0.58);
}

.admin-module-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.banner-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.banner-admin-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.banner-admin-card img {
    height: 180px;
}

.banner-admin-card div {
    padding: 16px;
}

.badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-success {
    background: #ecfdf3;
    color: #15803d;
}

.badge-info {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-warning {
    background: #fff7ed;
    color: #c2410c;
}

.location-modal-open {
    overflow: hidden;
}

.location-modal[hidden] {
    display: none;
}

.location-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.location-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.52);
}

.location-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 24px));
    margin: 8vh auto 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.location-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(31, 41, 55, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: rgba(31, 41, 55, 0.86);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.location-actions,
.location-manual {
    margin-top: 18px;
}

.location-manual {
    display: grid;
    gap: 14px;
}

.location-manual label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.location-manual input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.12);
    background: #ffffff;
}

.location-status {
    min-height: 48px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: rgba(31, 41, 55, 0.78);
    font-weight: 700;
    line-height: 1.5;
}

.location-status.is-success {
    background: #ecfdf3;
    color: #15803d;
}

.location-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.location-status.is-loading {
    background: #eff6ff;
    color: #1d4ed8;
}

.location-supported-note {
    display: block;
    margin-top: 12px;
    color: rgba(31, 41, 55, 0.56);
}

.badge-danger {
    background: #fef2f2;
    color: #b91c1c;
}

.badge-primary {
    background: #dcfce7;
    color: #166534;
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background: radial-gradient(circle at top left, rgba(21, 163, 74, 0.18), transparent 35%), #f8fafc;
}

.admin-login-card {
    width: min(520px, 100%);
    padding: 36px;
}

.admin-login-note {
    margin-top: 16px;
    font-size: 14px;
}

.success-wrap {
    padding-top: 48px;
}

.success-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.empty-state {
    text-align: center;
    padding: 26px;
}

@media (max-width: 1100px) {
    .hero-grid,
    .product-grid,
    .category-grid,
    .trust-strip-grid,
    .hero-features,
    .admin-order-grid,
    .why-grid,
    .admin-metrics-grid,
    .banner-admin-grid,
    .product-detail-grid,
    .checkout-layout,
    .shop-layout,
    .footer-grid,
    .footer-top,
    .footer-columns,
    .promo-banner-grid,
    .campaign-grid,
    .admin-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }
}

@media (max-width: 760px) {
    .product-card {
        height: 442px;
    }

    .topbar {
        background: var(--color-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-header {
        background: var(--color-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 10px 0 12px;
        backdrop-filter: none;
    }

    .header-search input[type="search"] {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(255, 255, 255, 0.5);
        color: rgba(17, 24, 39, 0.92);
    }

    .header-search input[type="search"]::placeholder {
        color: rgba(17, 24, 39, 0.55);
    }

    .header-search .button {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 14px;
        background: rgba(11, 18, 32, 0.85);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .header-actions {
        gap: 10px;
    }

    .icon-link,
    .cart-link {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(255, 255, 255, 0.7);
        color: rgba(17, 24, 39, 0.88);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
        justify-content: center;
        gap: 0;
    }

    .cart-text {
        display: none;
    }

    .cart-count {
        position: absolute;
        top: -7px;
        right: -7px;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 999px;
        background: #ef4444;
        color: var(--color-white);
        font-size: 11px;
        border: 2px solid rgba(255, 255, 255, 0.95);
    }

    .mobile-nav-toggle {
        display: inline-flex;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.92);
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        padding: 16px;
        border-radius: 20px;
        background: rgba(11, 18, 32, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        max-height: min(420px, calc(100vh - 190px));
        overflow: auto;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.86);
        white-space: nowrap;
    }

    .main-nav a.active,
    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.98);
    }

    .main-nav.is-open {
        display: flex;
    }

    .header-actions .button-whatsapp {
        display: none;
    }

    .hero-grid,
    .admin-order-grid,
    .product-detail-grid,
    .checkout-layout,
    .shop-layout,
    .footer-grid,
    .promo-banner-grid,
    .campaign-grid,
    .admin-metrics-grid,
    .banner-admin-grid,
    .success-grid,
    .admin-panel-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-features,
    .why-grid,
    .footer-top,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-overlay,
    .summary-card,
    .cart-card,
    .form-card,
    .admin-main,
    .success-card,
    .whatsapp-panel {
        padding: 22px;
    }

    .hero-slider {
        min-height: 420px;
    }

    .hero-slider-full {
        min-height: 240px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }

    .mobile-cartbar {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 16px;
        border-radius: 18px;
        background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
        color: var(--color-white);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    }

    .mobile-cartbar-right {
        padding: 12px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
    }
}

@media (min-width: 900px) {
    .mobile-nav-toggle {
        display: none;
    }

    .header-inner {
        flex-wrap: nowrap;
    }

    .brand {
        order: 0;
    }

    .header-search {
        flex: 1 1 420px;
        order: 1;
    }

    .main-nav {
        width: auto;
        order: 2;
        gap: 10px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        padding: 8px 10px;
        white-space: nowrap;
    }

    .header-actions {
        order: 3;
    }
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
