:root {
    --green: #2f8f6b;
    --green-dark: #1f6b50;
    --gold: #d7a74a;
    --ink: #0b1a2a;
    --muted: #63748a;
    --bg: #f4f7fb;
    --card: #ffffff;
    --shadow: 0 12px 24px rgba(11, 26, 42, 0.08);
    --shadow-soft: 0 8px 18px rgba(11, 26, 42, 0.06);
    --nav: #0f2940;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --border: #e3ecf3;
    --text-lg: 20px;
    --text-md: 15px;
    --text-sm: 13px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f2f6fb 0%, #f7faf9 70%);
    line-height: 1.55;
}

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

p {
    margin: 0;
}

h1, h2, h3, h4 {
    margin: 0;
}

h1 {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 24px;
    line-height: 1.25;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
}

.muted {
    color: var(--muted);
    font-size: var(--text-sm);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 7vw;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}


.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-title {
    font-weight: 700;
    font-size: 16px;
}

.brand-tag {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.search {
    flex: 1;
    display: flex;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.search input {
    border: none;
    padding: 12px 18px;
    flex: 1;
    outline: none;
    font-size: var(--text-md);
}

.search button {
    border: none;
    background: var(--green);
    color: #fff;
    padding: 0 18px;
    font-weight: 600;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 12px;
    font-weight: 600;
    align-items: center;
}

.header-actions a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.header-actions a:hover {
    border-color: var(--border);
}

.account-menu,
.account-trigger,
.account-dropdown {
    display: none;
}

.content-hero {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 22px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.content-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 8px;
}

.content-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 12px;
}

.top-nav {
    display: flex;
    gap: 22px;
    padding: 10px 7vw;
    background: var(--green);
    color: #fff;
    font-weight: 600;
}

.top-nav a {
    color: #e7f0f8;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 14px;
}

.top-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page {
    padding: 28px 7vw 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
}

.hero-card {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}

.hero-card a {
    color: var(--green-dark);
    font-weight: 600;
}

.hero-subcard {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.hero-subcard h4 {
    margin: 0 0 8px;
}

.eyebrow {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.trust-row {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.trust-row span {
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4f8;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 16px;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-section {
    margin-top: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.category-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 16px;
    display: grid;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(11, 26, 42, 0.12);
}

.category-image {
    height: 140px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image {
    background: #f1f5f9;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
}

.product-image img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
}

.image-placeholder {
    color: var(--muted);
    font-size: 14px;
}

.product-body h3 {
    margin: 0;
    font-size: 18px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    color: var(--green);
    font-weight: 700;
    font-size: 20px;
}

.price-old {
    text-decoration: line-through;
    color: #9aa6b2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--green);
    color: var(--green-dark);
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.btn.primary {
    background: var(--green);
    color: #fff;
}

.btn.primary:disabled {
    background: #c7d2de;
    border-color: #c7d2de;
    color: #6b7a8c;
    cursor: not-allowed;
}

.btn.primary[disabled] {
    background: #c7d2de;
    border-color: #c7d2de;
    color: #6b7a8c;
    cursor: not-allowed;
}

.btn.primary.is-disabled {
    background: #c7d2de;
    border-color: #c7d2de;
    color: #6b7a8c;
    cursor: not-allowed;
}

.form-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.form-card form {
    display: grid;
    gap: 12px;
}

.form-card input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #dbe7e2;
}

.cart-list {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.cart-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-info {
    display: grid;
    gap: 4px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-qty .btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    padding: 0;
}

.qty {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

.cart-price,
.cart-line {
    display: grid;
    gap: 4px;
}

.cart-total {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    font-weight: 700;
}

.cart-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.checkout-highlight {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #eef6fb;
    color: var(--ink);
}

.checkout-highlight span {
    color: var(--green);
    font-weight: 700;
}
.site-footer {
    margin-top: 60px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 48px 7vw 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-grid h4 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-grid li {
    color: var(--muted);
    font-size: 14px;
}

.footer-grid li span {
    color: var(--ink);
    font-weight: 600;
    margin-right: 6px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-contact {
    margin-top: 8px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.footer-support {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-support strong {
    font-size: 16px;
    color: var(--green);
    display: block;
}

.footer-support span {
    font-size: 12px;
    color: var(--muted);
}

.store-list {
    display: grid;
    gap: 16px;
}

.store-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.store-card-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.flash-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.flash {
    background: #fff4d1;
    color: #7a5a10;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #f6e1a0;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.inventory-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.inventory-panel {
    background: #fff;
    padding: 24px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.inventory-list {
    display: grid;
    gap: 12px;
}

.inventory-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inventory-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f0f5f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    padding: 6px;
}

.inventory-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.badge.new {
    background: var(--green);
}

.badge.hot {
    background: #f35e7a;
}

.store-hero {
    border-radius: 24px;
    padding: 36px;
    color: #fff;
    background-size: cover;
    background-position: center;
    margin-bottom: 28px;
}

.store-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 24px;
    align-items: center;
}

.store-crumbs {
    margin-bottom: 12px;
}

.store-banner {
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    background-size: cover;
    background-position: center;
    margin-bottom: 28px;
}

.store-banner-inner {
    display: grid;
    grid-template-columns: 120px 2fr 1.6fr 1fr;
    gap: 20px;
    align-items: center;
}

.store-banner-meta {
    background: rgba(255, 255, 255, 0.16);
    padding: 14px;
    border-radius: var(--radius-md);
}

.store-social .social-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.store-social span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.store-products {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.store-sidebar .soft {
    background: #eef6fb;
    border: 1px solid #e4eef6;
}

.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.sort-pill {
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--muted);
    font-size: 13px;
}

.accent {
    color: var(--green);
}

.store-logo img {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    object-fit: cover;
}

.store-meta {
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 16px;
}

.product-shell {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.product-media {
    display: grid;
    gap: 14px;
}

.product-gallery {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.product-gallery img {
    width: 100%;
    height: 360px;
    object-fit: contain;
}

.product-meta {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 14px;
}

.product-side {
    display: grid;
    gap: 16px;
}

.vendor-card,
.side-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.rating-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.stars {
    color: #f2b43c;
    letter-spacing: 1px;
}

.meta-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid #eef3f1;
    padding-top: 12px;
}

.side-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef3f1;
}

.side-item:last-child {
    border-bottom: none;
}

.side-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb-row img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border);
    background: #f1f5f9;
}

.size-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-option {
    border: 1px solid #dbe7e2;
    border-radius: 10px;
    padding: 6px 12px;
    background: #fff;
    cursor: pointer;
}

.breadcrumb {
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--green);
    font-weight: 600;
}

@media (max-width: 960px) {
    .hero,
    .store-hero-content,
    .product-shell {
        grid-template-columns: 1fr;
    }

    .store-banner-inner,
    .store-products {
        grid-template-columns: 1fr;
    }

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

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
