﻿:root {
    --bg: #f7f5f1;
    --surface: #ffffff;
    --text: #17202a;
    --muted: #667085;
    --primary: #c46b16;
    --primary-dark: #92400e;
    --line: #e7e0d6;
    --success: #1f9d60;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(39, 31, 23, 0.08);
    --soft-shadow: 0 8px 26px rgba(39, 31, 23, 0.055);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(230, 167, 84, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 96% 8%, rgba(117, 153, 174, 0.16) 0%, transparent 29%),
        linear-gradient(180deg, #fbfaf7 0%, #f4f1eb 100%),
        var(--bg);
}

html.storefront-root {
    font-size: 93.75%;
}

html.storefront-root body {
    line-height: 1.5;
}

html.storefront-root .logo {
    font-size: 1.28rem;
}

html.storefront-root .auth-card h1 {
    font-size: 1.35rem;
}

html.storefront-root .auth-form label {
    font-size: 0.84rem;
}

html.storefront-root .auth-alert,
html.storefront-root .auth-success {
    font-size: 0.86rem;
}

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

.container {
    width: min(1280px, calc(100% - 56px));
    margin: 0 auto;
}

.topbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 78px;
    padding: 10px 0;
}

.nav-wrap > * {
    flex: 0 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 190px;
    height: 42px;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    text-transform: lowercase;
    letter-spacing: -0.03em;
}

.logo .site-brand-image {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.logo span {
    color: var(--primary);
}

.search-box {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 260px;
    margin: 0;
    height: 48px;
    border: 1px solid #ded6cc;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.search-box input {
    width: 100%;
    border: 0;
    min-width: 0;
    padding: 0 22px;
    outline: none;
    font: inherit;
}

.search-box button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    height: 100%;
    min-width: 92px;
    padding: 0 24px;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

.user-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    height: 48px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.user-nav a:not(.cart-btn) {
    display: inline-flex;
    align-items: center;
    height: 48px;
    line-height: 1;
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background: #111827;
    color: #fff;
    padding: 0 18px;
    border-radius: 999px;
}

.category-bar {
    border-top: 1px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 25;
}

.category-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
    min-height: 64px;
    padding: 12px 0;
}

.category-item {
    position: relative;
    flex: 0 0 auto;
}

.category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid #e4ddd4;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.88rem;
    font-weight: 600;
}

.category-link:hover {
    border-color: #fed7aa;
    background: #fff7ed;
    color: var(--primary-dark);
}

.category-link.active {
    background: #111827;
    color: #fff;
}

.category-caret {
    position: relative;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: -2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.7;
    transform: rotate(45deg);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.category-item:hover .category-caret,
.category-item:focus-within .category-caret {
    opacity: 1;
    transform: rotate(225deg);
}

.category-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: max-content;
    min-width: 240px;
    max-width: 360px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.category-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.category-item:hover .category-dropdown,
.category-item:focus-within .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-dropdown strong {
    display: block;
    margin: 2px 4px 4px;
    color: #111827;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.category-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    min-height: 38px;
    padding: 9px 11px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.category-dropdown a:hover,
.category-dropdown a.active {
    background: #fff7ed;
    color: var(--primary-dark);
}

.hero {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 24px;
}

.hero-single {
    grid-template-columns: 1fr;
}

.hero-content,
.hero-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
}

.hero-content.has-slider {
    position: relative;
    overflow: hidden;
    min-height: 310px;
}

.hero-slider {
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.hero-dots {
    position: absolute;
    left: 28px;
    bottom: 20px;
    display: flex;
    gap: 7px;
}

.hero-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d5db;
}

.hero-dots span.active {
    width: 22px;
    border-radius: 999px;
    background: var(--primary);
}


.eyebrow {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(1.9rem, 3vw, 3.15rem);
    line-height: 1.15;
}

.hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
}

.btn {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
}

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

.btn-ghost {
    background: #fff4e5;
    color: #9a3412;
}

.hero-card {
    background:
        linear-gradient(145deg, rgba(23, 32, 42, 0.96), rgba(44, 37, 30, 0.96)),
        radial-gradient(circle at 85% 10%, rgba(196, 107, 22, 0.42), transparent 34%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card p {
    color: #fbbf24;
    margin: 0 0 8px;
    font-weight: 700;
}

.hero-card h3 {
    font-size: 1.45rem;
    margin: 0;
}

.hero-card span {
    margin-top: 10px;
    color: #cbd5e1;
}

.features {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.features article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--soft-shadow);
}

.features h4 {
    margin: 0;
}

.features p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.filter-panel {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 20px;
}

.filter-panel form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 16px;
    align-items: end;
}

.filter-panel label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.86rem;
    font-weight: 800;
}

.filter-panel select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    font: inherit;
}

.product-section {
    margin-top: 38px;
}

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

.section-head h2 {
    margin: 0;
    font-size: 1.48rem;
    letter-spacing: -0.02em;
}

.section-head-rich p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.sort-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sort-box select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    font: inherit;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--soft-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    border-color: #d7cabc;
    box-shadow: 0 20px 48px rgba(39, 31, 23, 0.11);
    transform: translateY(-3px);
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 999px;
    z-index: 1;
}

.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 2;
}

.favorite-btn:hover {
    color: #dc2626;
}

.favorite-btn.is-active {
    background: #fee2e2;
    color: #dc2626;
}

.favorite-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.stock-notify-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    flex: 1 1 100%;
}

.stock-notify-form input[type="email"] {
    width: 100%;
    border: 1px solid #d7dee8;
    border-radius: 9px;
    padding: 9px 10px;
    font: inherit;
    font-size: 0.82rem;
    outline: none;
}

.stock-notify-form input[type="email"]:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.stock-empty-btn {
    background: #9ca3af;
    cursor: not-allowed;
}

.notify-btn {
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
}

.product-image {
    height: 190px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #4b5563;
    background: linear-gradient(135deg, #ece7df, #faf8f3);
}

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

.product-body {
    padding: 18px;
}

.condition {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    padding: 4px 9px;
    margin: 0;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.product-body h3 {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.42;
}

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

.price-row strong {
    font-size: 1.1rem;
}

.price-row small {
    color: #9ca3af;
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 16px;
}

.card-cart-form {
    margin: 0;
}

.add-cart {
    margin-top: 10px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    padding: 11px;
    font-weight: 700;
    cursor: pointer;
}

.add-cart:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.product-actions .add-cart {
    margin-top: 0;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: #111827;
    padding: 0 16px;
    font-weight: 800;
}

.detail-btn:hover {
    border-color: #111827;
}

.promo-banner {
    margin: 44px auto 0;
    background: linear-gradient(120deg, #fff1dd, #ffe4b8);
    border: 1px solid #fcd9a3;
    border-radius: 22px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.promo-banner h3 {
    margin: 0;
}

.promo-banner p {
    margin: 6px 0 0;
    color: #7c2d12;
}

.footer {
    margin-top: 54px;
    background: #0f172a;
    color: #e2e8f0;
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer h4,
.footer h5 {
    margin-top: 0;
}

.footer a {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

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

.footer-contact a {
    color: #fbbf24;
    font-weight: 700;
}

.contact-page {
    padding: 30px 0 46px;
}

.content-page {
    padding: 40px 0 58px;
}

.content-hero {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.content-hero h1 {
    max-width: 760px;
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.content-hero p:last-child {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.content-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 22px;
}

.content-card h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.content-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-hero,
.contact-card,
.contact-address {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-hero {
    padding: 28px;
}

.contact-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-hero p {
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.contact-card {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.contact-card span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-card strong {
    font-size: 1.12rem;
}

.contact-address {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    margin-top: 16px;
    padding: 22px;
}

.contact-address h2 {
    margin-top: 0;
}

.contact-address p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-social a {
    display: inline-flex;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    padding: 9px 12px;
    font-weight: 800;
}

.contact-with-form {
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 9px;
}

.contact-form h2 {
    margin-bottom: 4px;
}

.contact-form label {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    justify-self: start;
    border: 0;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding: 14px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(430px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.auth-card h1 {
    margin: 22px 0 8px;
}

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

.auth-form {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.auth-form label {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 11px 12px;
    font: inherit;
}

.auth-submit {
    margin-top: 8px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    padding: 12px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.auth-alert {
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-success {
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    background: #dcfce7;
    color: #166534;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-help a {
    color: var(--primary-dark);
    font-weight: 800;
}

.auth-help {
    margin: 12px 0 0;
    text-align: right;
}

.auth-switch {
    margin-bottom: 0;
    text-align: center;
}

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

.profile-page {
    padding: 38px 0 56px;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.profile-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.profile-card h1 {
    margin: 6px 0 8px;
}

.profile-date {
    height: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    padding: 7px 11px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.profile-info div {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f9fafb;
    padding: 14px;
}

.profile-info span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.profile-info strong {
    overflow-wrap: anywhere;
}

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

.profile-section {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 13px;
}

.profile-section h2 {
    margin: 0 0 10px;
    font-size: 0.98rem;
}

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

.profile-form-grid label,
.profile-form-full label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 700;
}

.profile-form-grid input,
.profile-form-full textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px 11px;
    font: inherit;
    background: #fff;
}

.profile-form-grid input:disabled {
    background: #f3f4f6;
    color: var(--muted);
}

.profile-form-full {
    margin-top: 12px;
}

.profile-form-full textarea {
    resize: vertical;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.section-title-row h2 {
    margin: 0;
}

.same-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 700;
}

.same-address input {
    width: auto;
}

.is-hidden {
    display: none;
}

.profile-submit {
    justify-self: end;
    min-width: 180px;
}

.profile-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.detail-page {
    padding: 22px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 14px;
}

.detail-gallery,
.detail-summary,
.detail-description,
.detail-empty {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 15px;
}

.main-photo {
    aspect-ratio: 4 / 3;
    max-height: 380px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    color: #4b5563;
    font-weight: 800;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: 9px;
    object-fit: cover;
}

.detail-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-meta span,
.detail-options span {
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    padding: 7px 10px;
    font-size: 0.84rem;
    font-weight: 800;
}

.detail-summary h1 {
    margin: 12px 0 8px;
    font-size: clamp(1.32rem, 2.4vw, 1.9rem);
    line-height: 1.18;
}

.detail-price {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin: 12px 0;
}

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

.detail-price small {
    color: #9ca3af;
    text-decoration: line-through;
}

.stock-line {
    border-radius: 10px;
    padding: 9px 11px;
    font-weight: 800;
}

.stock-ok {
    background: #dcfce7;
    color: #166534;
}

.stock-off {
    background: #fee2e2;
    color: #991b1b;
}

.detail-options {
    margin-top: 13px;
}

.detail-options h2,
.detail-description h2 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.detail-options > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-choice-list label {
    cursor: pointer;
}

.variation-choice-list input {
    position: absolute;
    opacity: 0;
}

.variation-choice-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 9px 13px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.variation-choice-list span::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
}

.variation-choice-list input:checked + span {
    border-color: #e67a00;
    background: linear-gradient(135deg, #e67a00, #111827);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(230, 122, 0, 0.28);
}

.variation-choice-list input:checked + span::before {
    border-color: #fff;
    background: #fff;
    box-shadow: inset 0 0 0 4px #e67a00;
}

.variation-choice-list input:focus-visible + span {
    outline: 3px solid rgba(230, 122, 0, 0.25);
    outline-offset: 2px;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
}

.detail-actions form {
    margin: 0;
}

.detail-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: #111827;
    padding: 10px 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.detail-favorite.is-active {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

.detail-cart {
    margin-top: 0;
    min-height: 46px;
}

.detail-cart:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.main-photo {
    border: 0;
    width: 100%;
    max-height: 380px;
    cursor: zoom-in;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumb-btn {
    width: 74px;
    height: 74px;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
}

.thumb-btn.active {
    border-color: var(--accent);
}

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

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(8, 15, 31, 0.82);
    padding: 24px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox img {
    max-width: min(960px, 92vw);
    max-height: 86vh;
    border-radius: 18px;
    background: #fff;
    object-fit: contain;
}

.image-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
}

.detail-service {
    display: grid;
    gap: 8px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 0.86rem;
}

.detail-service p {
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.side-similar {
    border-top: 1px solid var(--line);
    margin-top: 13px;
    padding-top: 12px;
}

.side-similar h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.side-similar-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    margin-bottom: 8px;
}

.side-similar-image {
    width: 72px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 800;
}

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

.side-similar-item strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.25;
}

.side-similar-item small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.detail-description {
    margin-top: 14px;
}

.detail-description p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.detail-empty {
    text-align: center;
}

.detail-empty p {
    color: var(--muted);
}

.favorites-page {
    padding: 38px 0 56px;
}

.favorites-grid {
    display: grid;
    gap: 12px;
}

.favorite-item {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.favorite-image {
    display: grid;
    place-items: center;
    min-height: 124px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    color: #4b5563;
    font-weight: 800;
}

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

.favorite-item h2 {
    margin: 6px 0;
    font-size: 1rem;
}

.badge-inline {
    display: inline-flex;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    padding: 5px 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.favorite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.favorite-actions form {
    margin: 0;
}

.remove-favorite {
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.empty-favorites {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f9fafb;
    padding: 22px;
    text-align: center;
}

.empty-favorites p {
    color: var(--muted);
}

.cart-page {
    padding: 38px 0 56px;
}

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

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

.cart-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 120px 120px auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 16px;
    box-shadow: var(--soft-shadow);
}

.cart-image {
    width: 108px;
    height: 90px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 800;
}

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

.cart-info h2 {
    margin: 5px 0;
    font-size: 0.96rem;
}

.cart-info span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-quantity {
    display: grid;
    gap: 6px;
}

.cart-quantity label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.cart-quantity input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    font: inherit;
}

.cart-quantity button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    font-weight: 800;
    cursor: pointer;
}

.cart-price strong,
.cart-price small {
    display: block;
}

.cart-price small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.cart-summary {
    position: sticky;
    top: 90px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 22px;
}

.cart-summary h2 {
    margin: 0 0 12px;
}

.cart-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.cart-summary span {
    color: var(--muted);
    font-weight: 700;
}

.summary-total strong {
    font-size: 1.2rem;
}

.checkout-btn {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 6px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    padding: 0 11px;
    font-size: 0.86rem;
    font-weight: 800;
}

.pagination a.active {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.checkout-page {
    padding: 38px 0 58px;
}

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

.checkout-main {
    display: grid;
    gap: 18px;
}

.checkout-card,
.success-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 24px;
}

.checkout-card h2,
.success-card h1 {
    margin: 0 0 12px;
}

.checkout-card label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 850;
}

.checkout-card input[type="text"],
.checkout-card textarea {
    width: 100%;
    border: 1px solid #d7dee8;
    border-radius: 11px;
    background: #fff;
    padding: 11px 12px;
    color: #0f172a;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.checkout-card input[type="text"]:focus,
.checkout-card textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.checkout-card textarea {
    resize: vertical;
}

.checkout-card .form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.address-preview {
    display: grid;
    gap: 12px;
}

.address-preview span,
.muted-text {
    color: var(--muted);
    font-weight: 700;
}

.address-preview p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.address-preview a {
    color: #0f172a;
    font-weight: 800;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.payment-option:has(input:checked) {
    border-color: #0f766e;
    background: linear-gradient(135deg, #f0fdfa, #ffffff);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

.payment-option input {
    margin-top: 5px;
}

.payment-option span,
.payment-option small,
.payment-option em {
    display: block;
}

.payment-option small {
    margin-top: 3px;
    color: var(--muted);
    font-weight: 700;
}

.payment-option em {
    margin-top: 6px;
    color: #047857;
    font-style: normal;
    font-weight: 900;
}

.payment-note {
    margin-top: 12px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    padding: 12px;
}

.payment-note p {
    margin: 6px 0 0;
    color: #7c2d12;
    line-height: 1.55;
}

.checkout-summary button {
    width: 100%;
    border: 0;
}

.checkout-summary button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.checkout-summary {
    min-width: 0;
}

.checkout-summary .summary-product {
    align-items: flex-start;
}

.checkout-summary .summary-product span {
    max-width: 190px;
}

.checkout-summary .summary-product strong,
.checkout-summary .summary-total strong {
    color: #0f172a;
    white-space: nowrap;
}

.success-card {
    width: min(760px, 100%);
    margin: 34px auto 0;
    text-align: center;
}

.success-mark {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 2rem;
    font-weight: 900;
}

.success-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.success-details div {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
}

.success-details span,
.success-details strong {
    display: block;
}

.success-details span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.orders-page {
    padding: 22px 0;
}

.customer-orders {
    display: grid;
    gap: 12px;
}

.customer-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px 130px auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 13px;
}

.order-status-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.order-status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.order-status-pill.status-beklemede {
    background: #fff7ed;
    color: #c2410c;
}

.order-status-pill.status-hazirlaniyor {
    background: #eff6ff;
    color: #1d4ed8;
}

.order-status-pill.status-kargoda {
    background: #eef2ff;
    color: #4f46e5;
}

.order-status-pill.status-tamamlandi {
    background: #dcfce7;
    color: #15803d;
}

.order-status-pill.status-iptal {
    background: #fee2e2;
    color: #b91c1c;
}

.customer-order-card h2 {
    margin: 7px 0 3px;
    font-size: 1.05rem;
}

.customer-order-card p {
    margin: 4px 0 0;
    color: var(--muted);
}

.customer-order-card span:not(.order-status-pill) {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.customer-order-detail-btn {
    min-height: 42px;
}

.order-detail-page {
    padding: 22px 0 40px;
}

.customer-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px 160px 160px;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.94)),
        #111827;
    color: #fff;
    box-shadow: var(--shadow);
    padding: 16px;
}

.customer-detail-hero h2 {
    margin: 10px 0 4px;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.customer-detail-hero p {
    margin: 4px 0 0;
    color: #cbd5e1;
}

.customer-detail-hero span:not(.badge-inline) {
    display: block;
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 800;
}

.customer-detail-hero strong {
    display: block;
    margin-top: 6px;
    font-size: 1.1rem;
}

.customer-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 14px;
    align-items: start;
    margin-top: 16px;
}

.customer-detail-main {
    display: grid;
    gap: 12px;
}

.customer-detail-items {
    display: grid;
    gap: 10px;
}

.customer-detail-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px;
}

.customer-detail-image {
    width: 92px;
    height: 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 800;
}

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

.customer-detail-item h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.customer-detail-item p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

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

.customer-address-grid p {
    color: #374151;
    line-height: 1.55;
}

.customer-detail-summary .detail-bank-note {
    display: block;
    border-bottom: 0;
}

.customer-detail-summary .detail-bank-note p {
    margin: 6px 0 0;
}

.delivery-customer-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.delivery-customer-box div {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
}

.delivery-customer-box span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.delivery-customer-box strong {
    display: block;
    margin-top: 5px;
}

.delivery-customer-box p {
    margin: 5px 0 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    body {
        font-size: 0.96rem;
    }

    .container {
        width: min(100% - 28px, 760px);
    }

    .hero {
        margin-top: 22px;
        gap: 18px;
    }

    .hero-content,
    .hero-card {
        padding: 26px;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 12px;
        padding: 14px 0;
    }

    .logo {
        flex-basis: auto;
    }

    .search-box {
        min-width: 0;
    }

    .user-nav {
        height: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .category-scroll {
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
    }

    .category-dropdown {
        position: static;
        min-width: 210px;
        max-width: none;
        margin-top: 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 12px;
        padding: 7px;
    }

    .category-dropdown strong {
        display: none;
    }

    .category-item.has-children {
        align-self: flex-start;
    }

    .category-dropdown::before {
        display: none;
    }

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

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

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

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

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

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

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

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

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

    .customer-detail-hero,
    .customer-detail-layout,
    .customer-address-grid,
    .delivery-customer-box {
        grid-template-columns: 1fr;
    }

    .customer-order-card {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 560px);
    }

    .hero-content,
    .hero-card,
    .filter-panel,
    .profile-card,
    .checkout-card,
    .success-card,
    .cart-summary {
        border-radius: 18px;
        padding: 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-section {
        margin-top: 30px;
    }

    .product-image {
        height: 210px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .promo-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .profile-head,
    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .profile-submit {
        justify-self: stretch;
    }

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

    .favorite-item {
        grid-template-columns: 1fr;
    }

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

    .success-details {
        grid-template-columns: 1fr;
    }

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

    .customer-detail-image {
        width: 100%;
        height: 180px;
    }

    .cart-image {
        width: 100%;
        height: 180px;
    }

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

/* Storefront 2026 refresh */
:root {
    --bg: #f3efe7;
    --surface: #fffdf8;
    --surface-2: #f9f4eb;
    --text: #18212d;
    --muted: #6f7887;
    --primary: #b85f10;
    --primary-dark: #7c3d09;
    --ink: #111827;
    --green: #0f766e;
    --line: #e5d9c9;
    --radius: 28px;
    --shadow: 0 24px 70px rgba(32, 24, 15, 0.10);
    --soft-shadow: 0 12px 34px rgba(32, 24, 15, 0.065);
}

body {
    font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
    font-size: 0.9rem;
    background:
        radial-gradient(circle at 12% -8%, rgba(184, 95, 16, 0.22) 0%, transparent 34%),
        radial-gradient(circle at 93% 0%, rgba(15, 118, 110, 0.15) 0%, transparent 32%),
        linear-gradient(180deg, #fffaf0 0%, #f3efe7 44%, #f8f6f1 100%);
}

.container {
    width: min(1440px, calc(100% - 72px));
}

.storefront-topbar,
.topbar {
    background: rgba(255, 253, 248, 0.82);
    backdrop-filter: blur(22px);
    box-shadow: 0 10px 40px rgba(17, 24, 39, 0.04);
}

.nav-wrap {
    min-height: 86px;
    gap: 28px;
}

.logo {
    flex: 0 0 214px;
    height: auto;
    font-size: 1.38rem;
    letter-spacing: -0.055em;
}

.logo strong {
    font-weight: 900;
}

.logo span {
    margin-left: 2px;
    color: var(--primary);
    font-weight: 900;
}

.search-box {
    height: 54px;
    border: 1px solid rgba(24, 33, 45, 0.10);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.045);
}

.search-box input {
    padding: 0 20px;
    font-size: 0.92rem;
}

.search-box button {
    min-width: 108px;
    background: linear-gradient(135deg, var(--primary), #dc7c19);
    font-weight: 900;
}

.user-nav {
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 800;
}

.user-nav a:not(.cart-btn) {
    height: 42px;
    border-radius: 999px;
    padding: 0 10px;
    color: #344054;
}

.user-nav a:not(.cart-btn):hover {
    background: #fff4e5;
    color: var(--primary-dark);
}

.cart-btn {
    height: 46px;
    gap: 8px;
    background: #111827;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.18);
}

.cart-btn span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 0.78rem;
}

.category-bar {
    background: rgba(255, 253, 248, 0.75);
}

.category-scroll {
    min-height: 62px;
    gap: 10px;
}

.category-link {
    min-height: 38px;
    border-color: rgba(24, 33, 45, 0.10);
    background: rgba(255, 255, 255, 0.72);
    padding: 9px 15px;
    font-size: 0.84rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.035);
}

.category-link.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.category-dropdown {
    border-radius: 20px;
    box-shadow: 0 24px 58px rgba(17, 24, 39, 0.16);
}

.hero {
    margin-top: 34px;
    grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.7fr);
    gap: 24px;
}

.hero-content,
.hero-card {
    border: 1px solid rgba(24, 33, 45, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-content {
    position: relative;
    overflow: hidden;
    min-height: 386px;
    padding: 46px;
    background:
        linear-gradient(120deg, rgba(255, 253, 248, 0.96), rgba(255, 247, 237, 0.90)),
        radial-gradient(circle at 92% 12%, rgba(184, 95, 16, 0.18), transparent 32%);
}

.hero-content::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 46px solid rgba(15, 118, 110, 0.08);
    pointer-events: none;
}

.hero-content.has-slider {
    min-height: 386px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    background: #fff4e5;
    color: var(--primary-dark);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.hero h1 {
    max-width: 800px;
    margin: 18px 0 16px;
    font-size: clamp(2.25rem, 4vw, 4.65rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero p {
    max-width: 720px;
    color: #596474;
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 900;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #de8120);
    box-shadow: 0 14px 28px rgba(184, 95, 16, 0.20);
}

.btn-ghost {
    background: #fff;
    color: #7c3d09;
    border: 1px solid rgba(184, 95, 16, 0.20);
}

.hero-proof {
    position: absolute;
    left: 46px;
    right: 46px;
    bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 2;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(24, 33, 45, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    padding: 8px 12px;
    color: #344054;
    font-size: 0.8rem;
    font-weight: 900;
}

.hero-card {
    min-height: 386px;
    padding: 34px;
    background:
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.34), transparent 30%),
        linear-gradient(145deg, #121826, #1c2433 58%, #0f766e);
}

.hero-card p {
    color: #fcd34d;
    font-size: 0.86rem;
    font-weight: 900;
}

.hero-card h3 {
    margin-top: 6px;
    font-size: clamp(1.7rem, 2.3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-card span {
    max-width: 340px;
    color: #dbe5ef;
    line-height: 1.7;
}

.features {
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.features article {
    position: relative;
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 253, 248, 0.82);
    box-shadow: var(--soft-shadow);
}

.features article span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
}

.features h4 {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.filter-panel {
    margin-top: 28px;
    border: 1px solid rgba(24, 33, 45, 0.08);
    border-radius: 28px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--shadow);
    padding: 18px;
}

.filter-panel form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 14px;
}

.filter-panel label {
    color: #5b6573;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.filter-panel select {
    min-height: 46px;
    border-color: rgba(24, 33, 45, 0.10);
    border-radius: 14px;
    font-weight: 700;
}

.product-section {
    margin-top: 54px;
}

.section-head {
    margin-bottom: 22px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-head h2 {
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    letter-spacing: -0.055em;
}

.section-head-rich p {
    max-width: 560px;
    font-size: 0.92rem;
}

.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    border: 1px solid rgba(24, 33, 45, 0.08);
    border-radius: 28px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(184, 95, 16, 0.24);
    box-shadow: 0 28px 68px rgba(32, 24, 15, 0.14);
    transform: translateY(-5px);
}

.product-media {
    position: relative;
    padding: 12px 12px 0;
}

.product-image {
    height: 230px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ede3d4, #fff8ed);
}

.product-image span {
    color: #667085;
    font-weight: 900;
}

.badge {
    top: 24px;
    left: 24px;
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(12px);
    font-size: 0.72rem;
    font-weight: 900;
}

.product-media .condition {
    position: absolute;
    left: 24px;
    bottom: 14px;
    z-index: 2;
    border: 0;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.10);
}

.condition-new {
    background: #ecfdf3;
    color: #087443;
}

.condition-used {
    background: #eff6ff;
    color: #1d4ed8;
}

.favorite-btn {
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.10);
}

.product-body {
    padding: 18px 18px 20px;
}

.product-body h3 {
    min-height: 46px;
    margin: 4px 0 12px;
    font-size: 1.02rem;
    line-height: 1.45;
    letter-spacing: -0.025em;
}

.price-row strong {
    color: #111827;
    font-size: 1.22rem;
    letter-spacing: -0.035em;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.product-meta-row span {
    display: inline-flex;
    border-radius: 999px;
    background: #f5f1e9;
    padding: 6px 9px;
    color: #667085;
    font-size: 0.74rem;
    font-weight: 900;
}

.product-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    margin-top: 18px;
}

.add-cart,
.detail-btn {
    min-height: 42px;
    border-radius: 14px;
    font-size: 0.83rem;
    font-weight: 900;
}

.add-cart {
    background: #111827;
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.14);
}

.add-cart:hover {
    background: #0f766e;
}

.detail-btn {
    border-color: rgba(24, 33, 45, 0.10);
    padding: 0 15px;
}

.stock-notify-form {
    gap: 8px;
}

.stock-notify-form input[type="email"] {
    border-radius: 14px;
}

.product-card.is-out .product-image {
    filter: grayscale(0.28);
    opacity: 0.82;
}

.promo-banner {
    margin-top: 58px;
    border: 1px solid rgba(24, 33, 45, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.20), transparent 26%),
        linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    padding: 32px;
    box-shadow: var(--shadow);
}

.promo-banner span {
    display: inline-flex;
    color: #fcd34d;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.promo-banner h3 {
    margin-top: 8px;
    font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.footer {
    margin-top: 64px;
    background: #111827;
}

.pagination {
    margin-top: 34px;
}

@media (max-width: 1180px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .hero-card {
        min-height: 260px;
    }
}

@media (max-width: 980px) {
    .container {
        width: min(100% - 32px, 820px);
    }

    .nav-wrap {
        gap: 14px;
    }

    .hero-content,
    .hero-card {
        border-radius: 26px;
        padding: 28px;
    }

    .hero-proof {
        position: static;
        margin-top: 28px;
    }

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

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 560px);
    }

    .logo {
        font-size: 1.25rem;
    }

    .search-box {
        height: 50px;
        border-radius: 16px;
    }

    .user-nav a:not(.cart-btn) {
        height: 38px;
        padding: 0 8px;
    }

    .hero {
        margin-top: 18px;
    }

    .hero h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .hero-content,
    .hero-card,
    .filter-panel {
        border-radius: 22px;
        padding: 20px;
    }

    .filter-panel form,
    .features,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 235px;
    }

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

    .detail-btn {
        min-height: 42px;
    }
}
