/* ===== EDITORIAL LAYOUT — ZARA/SSENSE inspired ===== */

/* ===== CSS Variables ===== */
:root {
    --shop-primary: #1a1a1a;
    --shop-primary-dark: #000000;
    --shop-primary-light: #f5f5f5;
    --shop-accent: #c8a96e;
    --shop-bg: #ffffff;
    --shop-text: #1a1a1a;
    --shop-muted: #777777;
    --shop-border: #e5e5e5;
    --shop-card-shadow: none;
    --shop-card-shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
    --shop-radius: 0px;
    --shop-transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== Dark Theme ===== */
[data-theme="dark"] {
    --shop-bg: #0a0a0a;
    --shop-text: #e8e8e8;
    --shop-muted: #999999;
    --shop-border: rgba(255,255,255,0.1);
    --shop-primary: #e8e8e8;
    --shop-primary-dark: #ffffff;
    --shop-primary-light: rgba(255,255,255,0.06);
    --shop-card-shadow-hover: 0 8px 30px rgba(0,0,0,0.3);
}
[data-theme="dark"] .shop-navbar { background: rgba(10,10,10,0.95); border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .editorial-offcanvas { background: #0a0a0a; color: #e8e8e8; }
[data-theme="dark"] .editorial-offcanvas .btn-close { filter: invert(1); }
[data-theme="dark"] .editorial-menu-link { color: #e8e8e8; border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .editorial-hero { background-color: #111; }
[data-theme="dark"] .editorial-hero::before { background: rgba(0,0,0,0.6); }
[data-theme="dark"] .editorial-cat-item { background: #151515; }
[data-theme="dark"] .editorial-product-placeholder { background: #151515; }
[data-theme="dark"] .editorial-browse-info a { color: #e8e8e8; }
[data-theme="dark"] .editorial-pill { border-color: rgba(255,255,255,0.15); color: #999; }
[data-theme="dark"] .editorial-pill.active { background: #e8e8e8; color: #0a0a0a; border-color: #e8e8e8; }
[data-theme="dark"] .editorial-trust { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .editorial-review { border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .shop-footer { background: #050505; border-top-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .editorial-footer-links a { color: #999; }
[data-theme="dark"] .editorial-footer-social { color: #999; }
[data-theme="dark"] .cart-dropdown { background: #151515; }
[data-theme="dark"] .cart-dropdown .bg-light { background: #0a0a0a !important; }
[data-theme="dark"] .cart-dropdown-line:hover { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .bg-light { background-color: #151515 !important; }
[data-theme="dark"] .text-dark, [data-theme="dark"] .text-body { color: #e8e8e8 !important; }
[data-theme="dark"] .form-control { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #e8e8e8; }
[data-theme="dark"] .card { background: #151515; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] hr { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .btn-outline-secondary { color: #999; border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .btn-outline-secondary:hover { background: rgba(255,255,255,0.06); color: #e8e8e8; }
[data-theme="dark"] .shop-toast { background: rgba(255,255,255,0.12); }
[data-theme="dark"] .checkout-input { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #e8e8e8; }
[data-theme="dark"] .checkout-address-card { border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .basket-item-card { background: #151515; }
[data-theme="dark"] .login-register .card { background: #151515; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .dropdown-menu { background: #151515; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .dropdown-item { color: #999; }
[data-theme="dark"] .dropdown-item:hover { background: rgba(255,255,255,0.06); color: #e8e8e8; }
[data-theme="dark"] .dropdown-divider { border-color: rgba(255,255,255,0.08); }

/* Theme toggle */
.shop-theme-toggle {
    background: none; border: none; color: var(--shop-muted); cursor: pointer;
    padding: 0.5rem; display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.shop-theme-toggle:hover { color: var(--shop-text); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--shop-text);
    background: var(--shop-bg);
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Navbar — Ultra minimal, centered brand ===== */
.shop-navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--shop-border);
    padding: 0.8rem 0;
    z-index: 1030;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.shop-navbar.scrolled { padding: 0.5rem 0; }

.shop-navbar .container-fluid {
    display: flex; align-items: center; justify-content: space-between;
}

.nav-left, .nav-right { flex: 1; }
.nav-right { display: flex; justify-content: flex-end; }

.editorial-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--shop-text);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    flex: 0 0 auto;
}
.editorial-brand:hover { color: var(--shop-text); }

.editorial-hamburger {
    color: var(--shop-text); border: none; background: none; padding: 0;
    transition: opacity var(--shop-transition);
}
.editorial-hamburger:hover { opacity: 0.5; }
.editorial-hamburger svg { stroke: var(--shop-text); }

.nav-icon-link {
    color: var(--shop-muted); text-decoration: none; font-size: 1.1rem;
    transition: color var(--shop-transition); background: none; border: none; padding: 0; cursor: pointer;
}
.nav-icon-link:hover { color: var(--shop-text); }
.nav-icon-link.dropdown-toggle::after { display: none; }

.cart-link .bi-bag { font-size: 1.15rem; }
.cart-badge {
    position: absolute; top: -4px; right: -8px;
    background: var(--shop-text); color: var(--shop-bg);
    font-size: 0.55rem; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ===== Offcanvas Menu ===== */
.editorial-offcanvas {
    max-width: 360px;
    font-family: 'Inter', sans-serif;
}
.editorial-menu-link {
    display: block; padding: 0.9rem 0;
    font-size: 1.1rem; font-weight: 400; letter-spacing: 0.04em;
    color: var(--shop-text); text-decoration: none;
    border-bottom: 1px solid var(--shop-border);
    transition: opacity var(--shop-transition);
}
.editorial-menu-link:hover { opacity: 0.5; }
.editorial-menu-link.small { font-size: 0.85rem; }

/* ===== Hero — Full-bleed editorial ===== */
.editorial-hero {
    width: 100%; min-height: 75vh;
    background: var(--shop-primary-light);
    background-image: url('../img/hero.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.editorial-hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.editorial-hero-overlay {
    text-align: center; padding: 3rem 2rem;
    animation: fadeIn 1.2s ease-out both;
    position: relative; z-index: 2;
}
.editorial-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 1rem;
    color: #ffffff; line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.editorial-hero-sub {
    font-size: 1rem; color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em; margin-bottom: 2rem;
    font-weight: 300;
}
.editorial-hero-cta {
    display: inline-block; padding: 0.8rem 3rem;
    border: 1.5px solid #ffffff; color: #ffffff;
    text-decoration: none; font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: all var(--shop-transition);
}
.editorial-hero-cta:hover {
    background: #ffffff; color: #1a1a1a;
}

/* ===== Categories — Asymmetric grid ===== */
.editorial-categories { padding: 4rem 0; }
.editorial-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: 500px;
}
.editorial-cat-item {
    background: var(--shop-primary-light);
    display: flex; align-items: flex-end;
    padding: 2rem; text-decoration: none;
    transition: opacity var(--shop-transition);
    position: relative; overflow: hidden;
}
.editorial-cat-item:hover { opacity: 0.85; }
.editorial-cat-large {
    grid-row: span 2;
}
.editorial-cat-content { position: relative; z-index: 1; }
.editorial-cat-name {
    display: block; font-family: 'Playfair Display', serif;
    font-size: 1.4rem; color: var(--shop-text);
    letter-spacing: 0.04em; margin-bottom: 0.3rem;
}
.editorial-cat-count {
    font-size: 0.75rem; color: var(--shop-muted);
    letter-spacing: 0.08em; text-transform: uppercase;
}

/* ===== Products — 2-column editorial grid ===== */
.editorial-products { padding: 4rem 0; }
.editorial-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 400;
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 2.5rem; color: var(--shop-text);
}

.editorial-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
}
.editorial-product-item { position: relative; }
.editorial-product-link { display: block; overflow: hidden; }
.editorial-product-img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    transition: transform 0.6s ease;
}
.editorial-product-item:hover .editorial-product-img {
    transform: scale(1.03);
}
.editorial-product-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: var(--shop-primary-light); color: var(--shop-muted); font-size: 3rem;
}
.editorial-product-info {
    padding: 0.8rem 0 0;
    display: flex; justify-content: space-between; align-items: baseline;
}
.editorial-product-name {
    font-size: 0.88rem; font-weight: 400; color: var(--shop-text);
    text-decoration: none; letter-spacing: 0.02em;
    transition: opacity var(--shop-transition);
}
.editorial-product-name:hover { opacity: 0.5; }
.editorial-product-price {
    font-size: 0.85rem; font-weight: 500; color: var(--shop-muted);
}

.editorial-add-btn {
    position: absolute; bottom: 3.5rem; right: 0.5rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--shop-bg); border: 1px solid var(--shop-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--shop-text); font-size: 1rem;
    transition: all var(--shop-transition);
    opacity: 0; cursor: pointer;
}
.editorial-product-item:hover .editorial-add-btn,
.editorial-browse-item:hover .editorial-add-btn { opacity: 1; }
.editorial-add-btn:hover {
    background: var(--shop-text); color: var(--shop-bg); border-color: var(--shop-text);
}
.editorial-variant-btn { text-decoration: none; }

.editorial-view-all {
    display: inline-block; color: var(--shop-text);
    text-decoration: none; font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-bottom: 1px solid var(--shop-text);
    padding-bottom: 0.2rem;
    transition: opacity var(--shop-transition);
}
.editorial-view-all:hover { opacity: 0.5; }

/* ===== Trust strip — horizontal ===== */
.editorial-trust {
    padding: 3rem 0; margin-top: 2rem;
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}
.editorial-trust-row {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem;
}
.editorial-trust-item {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.8rem; color: var(--shop-muted);
    letter-spacing: 0.04em;
}
.editorial-trust-item i { font-size: 1.2rem; }

/* ===== Browse — Category pills + 2-col grid ===== */
.editorial-cat-pills {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    padding-bottom: 1rem;
}
.editorial-pill {
    display: inline-block; padding: 0.4rem 1.2rem;
    border: 1px solid var(--shop-border); border-radius: 0;
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none;
    color: var(--shop-muted);
    transition: all var(--shop-transition);
}
.editorial-pill:hover, .editorial-pill.active {
    background: var(--shop-text); color: var(--shop-bg);
    border-color: var(--shop-text);
}

.editorial-browse-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
}
.editorial-browse-item { position: relative; }
.editorial-browse-link { display: block; overflow: hidden; }
.editorial-browse-img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    transition: transform 0.6s ease;
}
.editorial-browse-item:hover .editorial-browse-img { transform: scale(1.03); }
.editorial-browse-info {
    padding: 0.7rem 0 0;
    display: flex; justify-content: space-between; align-items: baseline;
}
.editorial-browse-name {
    font-size: 0.85rem; color: var(--shop-text); text-decoration: none;
    letter-spacing: 0.02em; transition: opacity var(--shop-transition);
}
.editorial-browse-name:hover { opacity: 0.5; }
.editorial-browse-price {
    font-size: 0.82rem; font-weight: 500; color: var(--shop-muted);
}

.editorial-pagination .page-link {
    border: none; border-radius: 0; color: var(--shop-muted);
    font-size: 0.85rem; padding: 0.5rem 0.8rem;
}
.editorial-pagination .page-item.active .page-link {
    background: var(--shop-text); color: var(--shop-bg);
}

/* ===== Detail — Full-width hero image, centered info ===== */
.editorial-detail-hero {
    width: 100%; max-height: 65vh; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
}
.editorial-detail-hero-img {
    width: 100%; max-height: 65vh; object-fit: cover;
}
.editorial-detail-thumbs {
    display: flex; gap: 0.5rem; justify-content: center;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.editorial-detail-thumb {
    width: 70px; height: 70px; object-fit: cover;
    border: 1px solid var(--shop-border); cursor: pointer;
    transition: border-color var(--shop-transition);
}
.editorial-detail-thumb:hover { border-color: var(--shop-text); }

.editorial-detail-info {
    max-width: 560px; margin: 0 auto; text-align: center;
    padding: 0 1rem 3rem;
}
.editorial-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 400;
    letter-spacing: 0.04em; margin-bottom: 0.8rem;
}
.editorial-detail-price {
    font-size: 1.3rem; font-weight: 500; color: var(--shop-muted);
    margin-bottom: 1.5rem;
}
.editorial-detail-desc {
    color: var(--shop-muted); line-height: 1.8;
    font-size: 0.92rem; margin-bottom: 2rem;
    text-align: left;
}
.editorial-detail-form { margin-bottom: 1.5rem; }
.editorial-detail-cta {
    letter-spacing: 0.08em; text-transform: uppercase;
    font-size: 0.82rem; padding: 0.7rem 2.5rem;
}
.editorial-detail-attrs {
    margin-top: 2rem; text-align: left;
    border-top: 1px solid var(--shop-border); padding-top: 1.5rem;
}
.editorial-attr-table { font-size: 0.88rem; }

.editorial-detail-reviews {
    max-width: 560px; margin: 0 auto; padding: 0 1rem 2rem;
}
.editorial-review {
    padding: 1.2rem 0; border-bottom: 1px solid var(--shop-border);
}

/* ===== Footer — Minimal editorial ===== */
.shop-footer {
    background: var(--shop-primary-light);
    border-top: 1px solid var(--shop-border);
}
.editorial-footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--shop-text);
}
.editorial-footer-links {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.editorial-footer-links a {
    color: var(--shop-muted); text-decoration: none;
    font-size: 0.8rem; letter-spacing: 0.04em;
    transition: color var(--shop-transition);
}
.editorial-footer-links a:hover { color: var(--shop-text); }
.editorial-footer-social {
    color: var(--shop-muted); font-size: 1.1rem;
    transition: color var(--shop-transition);
}
.editorial-footer-social:hover { color: var(--shop-text); }

/* ===== Buttons ===== */
.btn-primary, .btn-outline-primary {
    color: var(--shop-text); background: transparent;
    border: 1.5px solid var(--shop-text); border-radius: 0;
    font-weight: 500; font-size: 0.82rem; letter-spacing: 0.06em;
    padding: 0.5rem 1.5rem; text-transform: uppercase;
    transition: all var(--shop-transition);
}
.btn-primary:hover, .btn-outline-primary:hover {
    background: var(--shop-text); color: var(--shop-bg);
    border-color: var(--shop-text);
    transform: none; box-shadow: none;
}
.btn-primary:focus, .btn-outline-primary:focus {
    box-shadow: 0 0 0 2px rgba(26,26,26,0.15);
}
.add-to-basket-form .btn-primary {
    background: var(--shop-text); color: var(--shop-bg); border-color: var(--shop-text);
}
.add-to-basket-form .btn-primary:hover {
    background: transparent; color: var(--shop-text);
}

/* ===== Product Cards (fallback for other pages) ===== */
.product-card {
    border-radius: 0; overflow: hidden;
    transition: all var(--shop-transition);
    border: 1px solid transparent; background: var(--shop-bg);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shop-card-shadow-hover); }
.product-card-img { height: 300px; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card .card-body { padding: 1rem; }
.product-card .card-title a {
    font-weight: 400; font-size: 0.88rem; letter-spacing: 0.02em;
    transition: opacity var(--shop-transition); color: var(--shop-text); text-decoration: none;
}
.product-card .card-title a:hover { opacity: 0.5; }
.product-price { font-size: 1rem; font-weight: 500; color: var(--shop-muted); }
.product-price-detail { font-size: 1.3rem; font-weight: 500; color: var(--shop-muted); }

/* ===== Cart Dropdown ===== */
.cart-dropdown {
    right: 0 !important; left: auto !important; width: 320px;
    border: 1px solid var(--shop-border); border-radius: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    animation: cartDropIn 0.2s ease-out; overflow: hidden;
}
@keyframes cartDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.cart-dropdown-items { max-height: 280px; overflow-y: auto; }
.cart-dropdown-items::-webkit-scrollbar { width: 3px; }
.cart-dropdown-items::-webkit-scrollbar-thumb { background: var(--shop-border); }
.cart-dropdown-line { transition: background 0.15s; will-change: opacity, transform, height; }
.cart-dropdown-line:hover { background: #f9f9f9; }
.cart-remove-btn { opacity: 0.3; transition: opacity 0.2s; }
.cart-remove-btn:hover { opacity: 1; color: #c00 !important; }

/* Quick add */
.quick-add-btn {
    border-radius: 0; font-weight: 500; font-size: 0.78rem; padding: 0.35rem 0.75rem;
}

/* ===== Toast ===== */
.shop-toast {
    background: rgba(26,26,26,0.92); backdrop-filter: blur(8px);
    border: none; border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    font-size: 0.82rem; color: #fff; max-width: 280px;
    animation: toastIn 0.3s ease-out;
}
.shop-toast.hiding { animation: toastOut 0.3s ease-in forwards; }
.shop-toast .toast-body { padding: 0.6rem 1rem; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
    from { opacity: 1; }
    to { opacity: 0; transform: translateY(-8px); }
}

/* ===== Section titles ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 400;
    letter-spacing: 0.04em; color: var(--shop-text); margin-bottom: 0.3rem;
}
.section-subtitle { color: var(--shop-muted); font-size: 0.9rem; margin-bottom: 2rem; }

/* ===== Category Cards (fallback) ===== */
.category-card {
    border-radius: 0; transition: all var(--shop-transition);
    cursor: pointer; border: 1px solid var(--shop-border); background: var(--shop-bg);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shop-card-shadow-hover); }
.category-icon { font-size: 2.2rem; color: var(--shop-text); display: block; }
.category-count {
    font-size: 0.7rem; color: var(--shop-muted); background: var(--shop-primary-light);
    padding: 2px 10px; display: inline-block; letter-spacing: 0.04em;
}

/* ===== Feature cards (fallback) ===== */
.feature-card {
    padding: 2rem 1.5rem; border-radius: 0;
    transition: all var(--shop-transition);
    text-align: center; background: var(--shop-bg); border: 1px solid var(--shop-border);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shop-card-shadow-hover); }
.feature-icon-wrap {
    width: 56px; height: 56px; border-radius: 0;
    background: var(--shop-primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.feature-icon-wrap i { font-size: 1.4rem; color: var(--shop-text); }
.feature-icon { font-size: 2rem; color: var(--shop-text); display: block; }

/* ===== CTA Banner (fallback) ===== */
.cta-banner {
    background: var(--shop-text); border-radius: 0;
    padding: 3rem 2rem; color: var(--shop-bg); position: relative; overflow: hidden;
}
.cta-banner h2 { color: var(--shop-bg); }
.cta-banner .btn-light {
    background: var(--shop-bg); color: var(--shop-text);
    border: none; border-radius: 0; font-weight: 500; padding: 0.7rem 2rem;
    letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem;
}
.cta-banner .btn-light:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ===== Quantity ===== */
.qty-btn { border-color: var(--shop-border); border-radius: 0; }
.qty-input { border-color: var(--shop-border); max-width: 50px; border-radius: 0; }
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== Forms ===== */
.product-description { color: var(--shop-muted); line-height: 1.8; }
.form-control:focus { border-color: var(--shop-text); box-shadow: 0 0 0 2px rgba(26,26,26,0.08); }

/* ===== Oscar overrides ===== */
.page-header { border-bottom: none; }
.account-profile .page-header h1 { font-size: 1.5rem; }
.basket-title { font-weight: 700; }
.login-register .card { border-radius: 0; border: 1px solid var(--shop-border); }

/* ===== Checkout ===== */
.container.page { max-width: 720px; }
.container.page .sub-header { border: none; }
.container.page .sub-header h1,
.container.page .sub-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400; font-size: 1.3rem; color: var(--shop-text); margin-bottom: 1rem;
}
.card.card-body.bg-light, .card-body.bg-light {
    background: #fff !important; border: 1px solid var(--shop-border) !important;
    border-radius: 0 !important; padding: 1.5rem !important; box-shadow: none;
}
.form-group.row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group.row > .col-sm-4, .form-group.row > .col-sm-7,
.form-group.row > .col-sm-8, .form-group.row > .offset-sm-4.col-sm-8,
.form-group.row > [class*="col-sm-"] {
    max-width: 100% !important; flex: 0 0 100% !important; width: 100% !important;
    padding-left: 0; padding-right: 0;
}
.form-group.row > .offset-sm-4 { margin-left: 0 !important; }
label.col-form-label { font-size: 0.82rem; font-weight: 500; color: var(--shop-text); padding-bottom: 0.2rem; }

.checkout-steps { padding: 0.5rem 0; }
.checkout-step { display: flex; align-items: center; gap: 0.5rem; }
.checkout-step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--shop-border); color: var(--shop-muted);
    font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.checkout-step.active .checkout-step-num { background: var(--shop-text); color: var(--shop-bg); }
.checkout-step.done .checkout-step-num { background: #10b981; color: #fff; }
.checkout-step-label { font-size: 0.8rem; font-weight: 500; color: var(--shop-muted); }
.checkout-step.active .checkout-step-label { color: var(--shop-text); }
.checkout-step-line { width: 40px; height: 1px; background: var(--shop-border); margin: 0 0.5rem; }

.checkout-label { font-size: 0.82rem; font-weight: 500; color: var(--shop-text); margin-bottom: 0.3rem; }
.checkout-input {
    border-radius: 0; border: 1px solid var(--shop-border);
    padding: 0.55rem 0.85rem; font-size: 0.88rem;
}
.checkout-input:focus { border-color: var(--shop-text); box-shadow: 0 0 0 2px rgba(26,26,26,0.06); }
.checkout-address-card { border-radius: 0; border: 1px solid var(--shop-border); }
.checkout-address-card:hover { border-color: var(--shop-text); }

#new_shipping_address .btn-primary.btn-lg {
    background: var(--shop-text); border-color: var(--shop-text); color: var(--shop-bg);
    border-radius: 0; font-weight: 500; font-size: 0.88rem; letter-spacing: 0.06em;
}
#new_shipping_address .btn-primary.btn-lg:hover {
    background: transparent; color: var(--shop-text);
}

.basket-item-card { transition: all var(--shop-transition); }
.basket-item-card:hover { box-shadow: var(--shop-card-shadow-hover); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .editorial-hero { min-height: 60vh; }
    .editorial-hero-title { letter-spacing: 0.06em; }
    .editorial-cat-grid { grid-template-columns: 1fr; min-height: auto; }
    .editorial-cat-large { grid-row: span 1; }
    .editorial-product-grid { gap: 1rem 0.5rem; }
    .editorial-browse-grid { gap: 1rem 0.5rem; }
    .editorial-trust-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .editorial-footer-inner .row { text-align: center; }
    .editorial-detail-title { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .editorial-product-grid { grid-template-columns: 1fr; }
    .editorial-browse-grid { grid-template-columns: 1fr; }
    .editorial-cat-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
    .editorial-pill { white-space: nowrap; }
}

@media (max-width: 991.98px) {
    .cart-hover-wrapper .cart-dropdown {
        position: static !important; box-shadow: none !important;
        width: 100% !important; border: 1px solid var(--shop-border); margin-top: 0.5rem;
    }
}

.pdp-cart-link { display: none; }
@media (max-width: 991.98px) {
    .pdp-cart-link { display: block; margin-top: 0.75rem; }
}
