:root {
    --primary: #0f4c81;
    --primary-dark: #0b3a63;
    --accent: #f59e0b;
    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --surface: #f5f6f8;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.topbar {
    background: var(--dark);
    color: #d1d5db;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    gap: 12px;
}

.topbar-links {
    display: flex;
    gap: 12px;
}

.topbar-links a {
    color: #9ca3af;
    font-weight: 600;
}

.topbar-links a.is-active,
.topbar-links a:hover {
    color: var(--white);
}

.header-main {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.header-search {
    flex: 1;
    display: flex;
    max-width: 560px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s;
}

.header-search:focus-within {
    border-color: var(--primary);
}

.header-search input {
    flex: 1;
    border: 0;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.header-search button {
    border: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.header-action:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.2s;
}

.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
}

.nav-list a {
    display: block;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bfdbfe;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 17px;
    color: #dbeafe;
    margin: 0 0 28px;
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    transition: background 0.15s;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background: #d97706;
}

.hero-visual {
    margin-left: auto;
    flex-shrink: 0;
}

.hero-card {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 440px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-media {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(11, 58, 99, 0.82) 0%, rgba(11, 58, 99, 0.35) 55%, rgba(11, 58, 99, 0) 85%);
}

.hero-slide-content {
    max-width: 560px;
    color: var(--white);
}

.hero-slide-content .hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bfdbfe;
    margin-bottom: 12px;
}

.hero-slide-content h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-slide-content p {
    font-size: 16px;
    color: #dbeafe;
    margin: 0 0 24px;
    max-width: 480px;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(17, 24, 39, 0.35);
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s;
}

.hero-slider-arrow:hover {
    background: rgba(17, 24, 39, 0.6);
}

.hero-slider-prev {
    left: 18px;
}

.hero-slider-next {
    right: 18px;
}

.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.hero-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    padding: 0;
    cursor: pointer;
}

.hero-slider-dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
}

.advantages {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.advantage {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--primary);
}

.advantage div {
    display: flex;
    flex-direction: column;
}

.advantage strong {
    font-size: 14px;
    color: var(--dark);
}

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

.section {
    padding: 48px 0;
}

.section-alt {
    background: var(--surface);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 24px;
    margin: 0;
    letter-spacing: -0.01em;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-icon {
    color: var(--primary);
}

.category-name {
    font-size: 14px;
    font-weight: 600;
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
}

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-placeholder {
    color: #cbd5e1;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

.product-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.product-title a:hover {
    color: var(--primary);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.product-price del {
    font-size: 13px;
    color: var(--muted);
}

.product-price strong {
    font-size: 17px;
    color: var(--dark);
}

.empty-state {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    background: var(--white);
}

.site-footer {
    background: var(--dark);
    color: #d1d5db;
    margin-top: 48px;
}

.footer-newsletter {
    background: var(--primary);
    color: var(--white);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
    flex-wrap: wrap;
}

.newsletter-inner h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.newsletter-inner p {
    margin: 0;
    font-size: 14px;
    color: #dbeafe;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 440px;
    min-width: 260px;
}

.newsletter-form input {
    flex: 1;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 14px;
    min-width: 0;
}

.newsletter-form button {
    border: 0;
    border-radius: var(--radius);
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    padding: 0 22px;
    cursor: pointer;
}

.footer-main {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 10px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 18px 0;
    font-size: 13px;
    color: #9ca3af;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .hero-visual {
        display: none;
    }

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

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 12px;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list a {
        border-bottom: 1px solid var(--border);
    }

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

    .hero-inner {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .hero-slider-track {
        height: 320px;
    }

    .hero-slide-content h1 {
        font-size: 26px;
    }

    .hero-slide-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .header-action span {
        display: none;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.header-action-cart {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--accent);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

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

.breadcrumb-bar a {
    color: var(--muted);
}

.breadcrumb-bar a:hover {
    color: var(--primary);
}

.breadcrumb-bar .current {
    color: var(--text);
    font-weight: 600;
}

.listing-banner img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.listing-head {
    margin-bottom: 16px;
}

.listing-head h1 {
    font-size: 26px;
    margin: 0 0 6px;
}

.listing-description {
    color: var(--muted);
    font-size: 14px;
}

.subcategory-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 8px;
}

.subcategory-chip {
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.subcategory-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.subcategory-chip span {
    color: var(--muted);
    font-weight: 400;
}

.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding-bottom: 56px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 16px;
}

.filter-sidebar-inner {
    position: sticky;
    top: 16px;
}

.filter-sidebar-head {
    display: none;
}

.filter-block {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.filter-block:first-child {
    padding-top: 0;
}

.filter-block h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0 0 12px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 5px 0;
    cursor: pointer;
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.filter-price-inputs {
    display: flex;
    gap: 8px;
}

.filter-price-inputs input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
}

.filter-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.swatch-check {
    cursor: pointer;
}

.swatch-check input {
    display: none;
}

.swatch-dot {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.swatch-check input:checked + .swatch-dot {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.15);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    text-align: center;
    display: inline-block;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.listing-count {
    font-size: 14px;
    color: var(--muted);
}

.sort-select {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
}

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

.pagination-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
}

.page-link.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.filter-close {
    display: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 28px 0 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.product-placeholder-lg {
    color: #cbd5e1;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 68px;
    height: 68px;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.gallery-thumb-video {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    flex-direction: column;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-brand-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.product-detail-title {
    font-size: 26px;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.product-rating-link {
    color: var(--muted);
}

.stars {
    color: var(--accent);
    letter-spacing: 1px;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.product-detail-price del {
    font-size: 16px;
    color: var(--muted);
}

.product-detail-price strong {
    font-size: 30px;
    color: var(--dark);
}

.vat-note {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto;
}

.variant-picker {
    margin-bottom: 20px;
}

.variant-group {
    margin-bottom: 14px;
}

.variant-group-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.variant-option:hover {
    border-color: var(--primary);
}

.variant-option.is-selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.variant-hint {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin: 6px 0 0;
}

.product-stock-info {
    margin-bottom: 18px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.stock-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.stock-badge.in-stock {
    background: #ecfdf5;
    color: #047857;
}

.stock-badge.in-stock .dot {
    background: #10b981;
}

.stock-badge.out-stock {
    background: #fef2f2;
    color: #b91c1c;
}

.stock-badge.out-stock .dot {
    background: #ef4444;
}

.product-addons {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.product-addons h3 {
    font-size: 14px;
    margin: 0 0 12px;
}

.addon-group {
    margin-bottom: 12px;
}

.addon-group-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.addon-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 4px 0;
}

.addon-price {
    color: var(--muted);
    margin-left: auto;
}

.add-to-cart-form {
    margin-bottom: 20px;
}

.add-to-cart-row {
    display: flex;
    gap: 12px;
}

.qty-picker {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 48px;
    border: 0;
    background: var(--surface);
    font-size: 18px;
    cursor: pointer;
}

.qty-input {
    width: 48px;
    height: 48px;
    border: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.btn-add-cart {
    flex: 1;
    font-size: 15px;
}

.product-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.product-highlights li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

.product-tabs {
    padding: 20px 0 56px;
}

.product-tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: 0;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.tab-btn.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.product-tab-panel {
    display: none;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

.product-tab-panel.is-active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spec-table th, .spec-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    text-align: left;
}

.spec-table th {
    width: 40%;
    color: var(--muted);
    font-weight: 600;
}

.alert-box {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding-bottom: 56px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cart-item-media {
    width: 72px;
    height: 72px;
    background: var(--surface);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
}

.cart-item-variant, .cart-item-qty {
    font-size: 13px;
    color: var(--muted);
}

.cart-item-warning {
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
}

.cart-item-warning-low {
    color: #b45309;
}

.cart-item-qty-form {
    margin-top: 4px;
}

.qty-picker-sm {
    width: fit-content;
}

.qty-picker-sm .qty-btn {
    width: 32px;
    height: 36px;
    font-size: 16px;
}

.qty-picker-sm .qty-input {
    width: 40px;
    height: 36px;
    font-size: 13px;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-item-remove-form {
    margin-top: 6px;
}

.cart-item-remove {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.cart-item-remove:hover {
    color: #b91c1c;
}

.cart-item-price {
    font-weight: 700;
    font-size: 15px;
}

.cart-summary {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    height: fit-content;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 8px;
}

.page-content-single {
    padding-bottom: 56px;
}

.page-content-single h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

.page-body {
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .product-grid-listing {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cart-layout {
        grid-template-columns: 1fr;
    }
}

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

    .filter-toggle {
        display: flex;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 88%;
        max-width: 340px;
        background: var(--white);
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
    }

    .filter-sidebar.is-open {
        transform: translateX(0);
    }

    .filter-sidebar-inner {
        position: static;
        padding: 16px;
    }

    .filter-sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

    .filter-close {
        display: block;
        background: none;
        border: 0;
        font-size: 22px;
        cursor: pointer;
    }

    .product-grid-listing {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .add-to-cart-row {
        flex-direction: column;
    }

    .qty-picker {
        width: 100%;
        justify-content: center;
    }
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

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

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
}

.form-check input {
    margin-top: 3px;
}

.form-actions {
    margin-top: 8px;
}

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

.auth-wrapper {
    max-width: 480px;
    margin: 48px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin: 0 0 6px;
    font-size: 24px;
}

.auth-card .auth-subtitle {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 14px;
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
}

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding: 32px 0 60px;
    align-items: start;
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.account-sidebar-header {
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.account-sidebar-header strong {
    display: block;
}

.account-sidebar-header span {
    font-size: 13px;
    color: var(--muted);
}

.account-nav {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.account-nav a,
.account-nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 11px 18px;
    font-size: 14px;
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    color: var(--text);
}

.account-nav a.is-active,
.account-nav a:hover {
    background: var(--surface);
    color: var(--primary);
    font-weight: 600;
}

.account-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.account-content h1 {
    margin-top: 0;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.account-stat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
}

.account-stat-card strong {
    display: block;
    font-size: 28px;
    color: var(--primary);
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.address-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    position: relative;
}

.address-card-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.address-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.address-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    font-size: 13px;
}

.address-card-actions a,
.address-card-actions button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--primary);
    font-family: inherit;
    cursor: pointer;
    font-size: 13px;
}

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

.orders-table th,
.orders-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}

.order-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--border);
}

.order-timeline li {
    padding: 0 0 18px 18px;
    position: relative;
    font-size: 14px;
}

.order-timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    padding: 28px 0 60px;
    align-items: start;
}

.checkout-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-section h2 {
    margin-top: 0;
    font-size: 18px;
}

.address-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.address-option strong {
    display: block;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.bank-info-box {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 12px;
    background: var(--surface);
    display: none;
}

.bank-info-box.is-visible {
    display: block;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    gap: 10px;
}

.bank-info-row:last-child {
    border-bottom: 0;
}

.copy-btn {
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
}

.checkout-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: 20px;
}

.checkout-summary h2 {
    margin-top: 0;
    font-size: 18px;
}

.checkout-summary-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.checkout-summary-item img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.checkout-summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 17px;
    font-weight: 700;
}

.checkout-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}

.success-box {
    max-width: 640px;
    margin: 48px auto;
    padding: 0 20px 60px;
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.success-icon.is-failed {
    background: #fef2f2;
    color: #b91c1c;
}

.track-form {
    max-width: 460px;
    margin: 0 auto 32px;
}

@media (max-width: 900px) {
    .account-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

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

    .checkout-summary {
        position: static;
    }
}
