:root {
    --bg: #faf7f2;
    --bg-dark: #1a1410;
    --surface: #ffffff;
    --text: #2c2218;
    --text-muted: #6b5d4f;
    --accent: #c45c26;
    --accent-dark: #9a4518;
    --accent-soft: #f3e4d8;
    --border: #e8dfd4;
    --success: #2d6a4f;
    --error: #b91c1c;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(44, 34, 24, 0.08);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--accent-soft);
    border-radius: 10px;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-ico {
    font-size: 0.8rem;
    opacity: 0.55;
    margin-right: 0.35rem;
}

.main-nav a.active .nav-ico,
.main-nav a:hover .nav-ico { opacity: 1; color: var(--accent); }

@media (min-width: 641px) {
    .nav-ico { display: none; }
}

.cart-btn i { font-size: 1.05rem; }

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    font-size: 1.1rem;
}

.menu-toggle span { display: none; }

.stat-icon {
    display: block;
    color: var(--accent);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.contact-card span:not(.card-icon) {
    display: block;
}

.footer-h {
    margin-right: 0.35rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-contact i {
    color: #f5c49a;
    margin-top: 0.2rem;
    width: 14px;
    flex-shrink: 0;
}

.footer-col a i {
    margin-right: 0.4rem;
    opacity: 0.45;
    font-size: 0.65rem;
}

.footer-tag i {
    margin: 0 0.25rem;
    opacity: 0.5;
    font-size: 0.75rem;
}

.product-meta i { opacity: 0.5; margin-right: 0.15rem; }

.badge i { margin-right: 0.2rem; }

.btn i { margin-right: 0.35rem; }
.btn i:only-child { margin-right: 0; }

.product-trust span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.product-trust i {
    color: var(--accent);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-left: 0;
}

.about-list li::before { display: none; }

.about-list i {
    color: var(--accent);
    margin-top: 0.25rem;
    font-size: 0.85rem;
    width: 16px;
    flex-shrink: 0;
}

.empty-icon {
    font-size: 2.5rem;
    color: var(--border);
    margin-bottom: 1rem;
    display: block;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.btn-icon:hover {
    background: #fee2e2;
    color: var(--error);
}

.payment-info-box h3 i,
.checkout-form h3 i,
.product-detail-desc h2 i {
    margin-right: 0.4rem;
    opacity: 0.75;
}

.payment-note i { margin-right: 0.35rem; opacity: 0.7; }

.slide-tag i { margin-right: 0.35rem; }

.slider-btn i { font-size: 0.85rem; }

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.success-icon i { font-size: 2rem; }

.copy-text.copied::after {
    content: ' \f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #86efac;
    margin-left: 0.35rem;
}
.logo-text span { color: var(--accent); font-weight: 600; }

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active { color: var(--accent); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
}

.cart-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: min(85vh, 620px);
    overflow: hidden;
    background: var(--bg-dark);
}

.slider-track { height: 100%; position: relative; }

.slide {
    position: absolute;
    inset: 0;
    background: var(--bg-dark) center/cover no-repeat;
    background-image: var(--slide-bg);
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26,20,16,0.88) 0%, rgba(26,20,16,0.45) 55%, rgba(26,20,16,0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 560px;
    padding: 2rem 0;
}

.slide-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5c49a;
    margin-bottom: 1rem;
}

.slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.1rem;
    opacity: 0.88;
    margin-bottom: 1.75rem;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

.slider-btn:hover { background: rgba(255,255,255,0.25); }

.slider-dots { display: flex; gap: 0.5rem; }

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(196, 92, 38, 0.35);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: none;
}

.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Stats */
.stats-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--accent);
}

.stat span { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.section { padding: 4.5rem 0; }

.section-head {
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.section-head p { color: var(--text-muted); }

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--accent-soft);
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-body { padding: 1.25rem; }

.product-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.product-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-dark);
}

.add-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.qty-input {
    width: 52px;
    padding: 0.4rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-family: var(--font);
}

/* About */
.about-section { background: var(--surface); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-visual {
    background: linear-gradient(145deg, var(--accent-soft), #e8d5c4);
    border-radius: var(--radius-lg);
    padding: 3rem;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.about-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-year {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-list {
    list-style: none;
    margin-top: 1.25rem;
}

.about-list li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-muted);
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 1rem;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.contact-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-card strong { font-size: 1rem; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.75);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}

.footer-logo { color: #fff; margin-bottom: 1rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: #f5c49a; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-tag { color: rgba(255,255,255,0.4); }

/* Page header */
.page-header {
    padding: 2.5rem 0 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.breadcrumb a { color: var(--text-muted); }

/* Cart */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.cart-table-wrap {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cart-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: var(--bg);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--accent-soft);
}

.cart-product span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-actions {
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
}

.cart-summary,
.checkout-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.cart-summary h3,
.checkout-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.summary-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.75rem 0 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.empty-state p { margin-bottom: 1.5rem; color: var(--text-muted); }

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.payment-info-box {
    background: linear-gradient(135deg, #2c2218, #4a3728);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.payment-info-box h3 { margin-bottom: 1rem; font-size: 1.1rem; }

.payment-info-box dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    font-size: 0.95rem;
}

.payment-info-box dt { opacity: 0.65; }
.payment-info-box dd strong { color: #f5c49a; font-size: 1.15rem; }

.payment-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
}

.checkout-form,
.checkout-form-wrap .admin-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.checkout-form h3 { margin-bottom: 1.25rem; }

.form-row {
    margin-bottom: 1.1rem;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    background: var(--bg);
    transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.checkout-items {
    list-style: none;
    margin-bottom: 1rem;
}

.checkout-items li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

/* Success */
.success-section { padding: 5rem 0; }

.success-box {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.order-code {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--accent);
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Flash */
.flash {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}

.flash-success { background: var(--success); color: #fff; }
.flash-error { background: var(--error); color: #fff; }

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.copy-text { cursor: pointer; }
.copy-text:hover { text-decoration: underline; }

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}
.product-card h3 a:hover { color: var(--accent); }

.product-img-link { display: block; color: inherit; }

.product-actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.product-footer .add-form { margin: 0; }

/* Product detail */
.product-detail-section { padding-top: 1rem; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-gallery {
    position: relative;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border);
}

.product-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-detail {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.product-meta-lg {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.product-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.product-specs div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-specs dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
}

.product-specs dd {
    font-weight: 500;
}

.product-detail-form {
    margin-bottom: 1.25rem;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.qty-row label { font-weight: 600; font-size: 0.9rem; }

.qty-input-lg {
    width: 80px;
    padding: 0.6rem;
    font-size: 1rem;
}

.product-trust {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.out-of-stock {
    color: var(--error);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-desc {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 800px;
}

.product-detail-desc h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.product-detail-desc p {
    color: var(--text-muted);
    line-height: 1.8;
}

.related-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
    .product-grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid,
    .contact-grid,
    .cart-layout,
    .checkout-layout,
    .product-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cart-summary,
    .checkout-summary { position: static; }
}

@media (max-width: 640px) {
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        transition: 0.3s;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        display: flex;
        align-items: center;
    }

    .menu-toggle { display: flex; }
    .form-row.two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table tr { display: block; margin-bottom: 1rem; border-bottom: 2px solid var(--border); }
    .cart-table td { display: block; border: none; padding: 0.5rem 1rem; }
    .success-actions { flex-direction: column; }
    .success-actions .btn { width: 100%; }
}
