/* ============================================================
   B2B Shop — Emerald + White Theme
   Distinct, refined, B2B-confident.
   ============================================================ */

:root {
    /* Primary palette */
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    /* Neutral */
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;
    --ink-50:  #f8fafc;
    --white:   #ffffff;

    /* Accents */
    --gold:  #f59e0b;
    --rose:  #e11d48;
    --sky:   #0ea5e9;

    /* System */
    --primary:        var(--emerald-600);
    --primary-hover:  var(--emerald-700);
    --primary-soft:   var(--emerald-50);
    --text:           var(--ink-800);
    --text-muted:     var(--ink-500);
    --border:         var(--ink-200);
    --bg:             var(--white);
    --bg-soft:        var(--ink-50);

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:    0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05);
    --shadow-emerald: 0 8px 24px rgba(16, 185, 129, 0.22);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: 2.4rem; line-height: 1.1; }
h2 { font-size: 1.6rem; line-height: 1.2; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}
.topbar {
    background: var(--ink-900);
    color: var(--ink-300);
    font-size: 13px;
    padding: 8px 0;
}
.topbar a { color: var(--ink-300); }
.topbar a:hover { color: var(--emerald-400); }
.brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 1.45rem; font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}
.brand-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    border-radius: 10px;
    display: grid; place-items: center;
    color: white; font-weight: 800; font-size: 18px;
    box-shadow: var(--shadow-emerald);
}
.nav-link {
    color: var(--ink-700);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}
.nav-link:hover { background: var(--primary-soft); color: var(--primary-hover); }
.nav-link.active { background: var(--primary-soft); color: var(--primary-hover); }

.search-form { position: relative; min-width: 320px; }
.search-form input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--ink-50);
    font-family: inherit; font-size: 14px;
    transition: all .15s ease;
}
.search-form input:focus {
    outline: none;
    border-color: var(--emerald-400);
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.search-form button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px;
    border: 0; background: var(--primary); color: white;
    border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    transition: background .15s ease;
}
.search-form button:hover { background: var(--primary-hover); }

.cart-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink-900); color: white;
    padding: 8px 16px; border-radius: 999px;
    font-weight: 600; font-size: 14px;
    transition: transform .15s ease, background .15s ease;
}
.cart-pill:hover { background: var(--emerald-600); color: white; transform: translateY(-1px); }
.cart-pill .cart-count {
    background: var(--emerald-400);
    color: var(--ink-900);
    padding: 1px 8px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 400px at 80% 20%, rgba(16, 185, 129, 0.08), transparent),
        linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%);
    padding: 56px 0 32px;
    border-bottom: 1px solid var(--border);
}
.hero .eyebrow {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--emerald-800);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.hero h1 { font-size: 3rem; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--primary); font-style: italic; }
.hero .sub { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; }

/* ---------- Filter sidebar ---------- */
.filter-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
}
.filter-card h4 {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-500);
    margin-bottom: 12px;
    font-weight: 700;
}
.filter-card .form-control,
.filter-card .form-select {
    border-color: var(--border);
    font-size: 14px;
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 10px;
    color: var(--ink-700);
    border-radius: var(--radius-sm);
    font-size: 14px;
}
.cat-list li a:hover { background: var(--primary-soft); color: var(--emerald-800); }
.cat-list li a.active { background: var(--primary); color: white; font-weight: 600; }
.cat-list li a.active .badge-count { background: rgba(255, 255, 255, 0.25); color: white; }
.badge-count {
    background: var(--ink-100); color: var(--ink-600);
    padding: 1px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
}

/* ---------- Product card ---------- */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.product-card .pc-image {
    aspect-ratio: 4 / 3;
    background: var(--ink-50);
    position: relative;
    overflow: hidden;
}
.product-card .pc-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .pc-image img { transform: scale(1.04); }
.product-card .pc-featured {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: white;
    padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .04em;
}
.product-card .pc-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card .pc-vendor {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: .08em; color: var(--ink-500); font-weight: 600;
    margin-bottom: 4px;
}
.product-card .pc-title {
    font-size: 15px; font-weight: 600;
    color: var(--ink-900); line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .pc-title a { color: inherit; }
.product-card .pc-title a:hover { color: var(--primary); }
.product-card .pc-meta {
    display: flex; align-items: baseline; gap: 8px;
    margin-top: auto; margin-bottom: 10px;
}
.product-card .pc-price { font-size: 18px; font-weight: 700; color: var(--emerald-700); font-family: var(--font-display); }
.product-card .pc-compare { font-size: 13px; color: var(--ink-400); text-decoration: line-through; }
.product-card .pc-moq {
    font-size: 11px; color: var(--ink-500);
    background: var(--ink-50); padding: 2px 8px;
    border-radius: 999px;
}
.product-card .pc-button {
    width: 100%;
    background: var(--ink-900); color: white;
    border: 0; padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600; font-size: 13px;
    cursor: pointer;
    transition: background .15s ease;
}
.product-card .pc-button:hover { background: var(--primary); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: 10px 18px; transition: all .15s ease; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: white; }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-hover); border-color: var(--primary-hover); color: white; box-shadow: var(--shadow-emerald); }
.btn-dark { background: var(--ink-900); border-color: var(--ink-900); color: white; }
.btn-dark:hover { background: var(--ink-800); border-color: var(--ink-800); color: white; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); color: white; }
.btn-soft { background: var(--primary-soft); color: var(--emerald-800); border-color: transparent; }
.btn-soft:hover { background: var(--emerald-100); color: var(--emerald-900); }

/* ---------- Product detail ---------- */
.pdp-gallery { position: relative; background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pdp-main { aspect-ratio: 1 / 1; background: var(--ink-50); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 8px; padding: 8px; flex-wrap: wrap; }
.pdp-thumbs .thumb {
    width: 64px; height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--ink-50);
}
.pdp-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs .thumb.active { border-color: var(--primary); }

.pdp-info .vendor-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-soft); color: var(--emerald-800);
    padding: 5px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    margin-bottom: 14px;
}
.pdp-info h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: 12px; }
.pdp-price {
    display: flex; align-items: baseline; gap: 12px; margin: 18px 0;
}
.pdp-price .price { font-family: var(--font-display); font-size: 2rem; color: var(--emerald-700); font-weight: 700; }
.pdp-price .compare { color: var(--ink-400); text-decoration: line-through; font-size: 1.1rem; }
.pdp-price .save {
    background: var(--rose); color: white;
    padding: 3px 10px; border-radius: var(--radius-sm);
    font-size: 12px; font-weight: 700;
}
.pdp-short { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.pdp-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
    background: var(--ink-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin: 18px 0;
    font-size: 14px;
}
.pdp-meta dt { color: var(--ink-500); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.pdp-meta dd { margin: 0; color: var(--ink-800); font-weight: 600; }

.qty-control {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-control button {
    background: var(--white); border: 0;
    width: 38px; height: 42px;
    font-size: 18px; font-weight: 600;
    color: var(--ink-700); cursor: pointer;
}
.qty-control button:hover { background: var(--ink-50); color: var(--primary); }
.qty-control input {
    border: 0; width: 60px; height: 42px;
    text-align: center; font-size: 15px; font-weight: 600;
    outline: none; background: transparent;
}

/* ---------- Cart / Checkout ---------- */
.cart-table { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table table { width: 100%; margin: 0; }
.cart-table th { background: var(--ink-50); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-600); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--ink-100); }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--ink-50); }

.summary-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    position: sticky; top: 90px;
}
.summary-card h3 { margin-bottom: 18px; font-size: 1.15rem; }
.summary-line {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 14px; color: var(--ink-700);
}
.summary-line.total {
    border-top: 1px solid var(--border);
    margin-top: 10px; padding-top: 14px;
    font-weight: 700; font-size: 17px;
    color: var(--ink-900);
}
.summary-line.total .amt { color: var(--emerald-700); font-family: var(--font-display); }

/* ---------- Forms ---------- */
.form-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
}
.form-label { font-weight: 600; color: var(--ink-700); margin-bottom: 6px; font-size: 14px; }
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border);
    padding: 10px 14px;
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* ---------- Auth pages ---------- */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-soft);
}
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-side {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
    color: white;
    padding: 60px 50px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-side::before {
    content: ''; position: absolute;
    top: -40%; right: -20%;
    width: 80%; height: 140%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
}
.auth-side .brand-block { position: relative; z-index: 2; }
.auth-side .quote { position: relative; z-index: 2; }
.auth-side h2 { color: white; font-size: 2rem; line-height: 1.2; }
.auth-form-wrap { padding: 40px; display: flex; align-items: center; justify-content: center; }
.auth-form-box { width: 100%; max-width: 440px; background: white; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-form-box h3 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-form-box .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- Pagination ---------- */
.pagination { gap: 4px; }
.page-link { color: var(--ink-700); border-color: var(--border); border-radius: var(--radius-sm) !important; padding: 8px 14px; }
.page-link:hover { background: var(--primary-soft); color: var(--primary-hover); border-color: var(--emerald-200); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: white; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 1.4rem; }
.section-head .meta { color: var(--text-muted); font-size: 14px; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; background: white; border-radius: var(--radius); border: 1px dashed var(--border); }
.empty-state .icon { font-size: 48px; color: var(--ink-300); margin-bottom: 12px; }
.empty-state h4 { color: var(--ink-700); margin-bottom: 6px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-900);
    color: var(--ink-300);
    padding: 50px 0 20px;
    margin-top: 60px;
}
.site-footer h5 { color: white; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: var(--ink-400); display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--emerald-400); }
.site-footer .copyright { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px; margin-top: 30px; font-size: 13px; color: var(--ink-500); }

/* ---------- Admin / Vendor panel ---------- */
.app-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.app-sidebar {
    background: var(--ink-900);
    color: var(--ink-300);
    padding: 24px 16px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.app-sidebar .brand { color: white; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px; }
.app-nav { list-style: none; padding: 0; margin: 0; }
.app-nav li a {
    display: flex; align-items: center; gap: 12px;
    color: var(--ink-400);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    transition: all .15s ease;
}
.app-nav li a:hover { background: rgba(255,255,255,0.05); color: white; }
.app-nav li a.active {
    background: var(--emerald-600);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.app-nav li a i { width: 18px; text-align: center; }
.app-nav .nav-section { padding: 18px 12px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-500); }
.app-nav .pending-pill {
    margin-left: auto;
    background: var(--gold); color: white;
    padding: 1px 7px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}

.app-main { background: var(--bg-soft); }
.app-topbar {
    background: white;
    padding: 14px 28px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 10;
}
.app-topbar h2 { margin: 0; font-size: 1.25rem; }
.app-content { padding: 28px; }

/* Stat tile */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-tile {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px;
    position: relative; overflow: hidden;
}
.stat-tile::after {
    content: ''; position: absolute;
    right: -20px; bottom: -20px;
    width: 80px; height: 80px;
    background: var(--primary-soft);
    border-radius: 50%;
    opacity: .5;
}
.stat-tile .stat-label { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat-tile .stat-value { font-family: var(--font-display); font-size: 2rem; color: var(--ink-900); font-weight: 700; line-height: 1.1; margin-top: 4px; }
.stat-tile .stat-icon { position: absolute; right: 14px; top: 14px; color: var(--emerald-500); font-size: 20px; }

/* Tables in admin */
.data-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.data-card .data-head {
    padding: 16px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.data-card .data-head h3 { margin: 0; font-size: 1.05rem; }
.data-table { width: 100%; margin: 0; }
.data-table th { background: var(--ink-50); padding: 12px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-600); text-align: left; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--ink-100); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--ink-50); }

.action-btns { display: inline-flex; gap: 6px; }
.action-btns .btn { padding: 5px 10px; font-size: 12px; }

/* Misc */
.muted { color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.breadcrumb-bar { background: white; padding: 14px 0; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.breadcrumb { margin: 0; font-size: 13px; color: var(--ink-500); }
.breadcrumb a { color: var(--ink-700); font-weight: 500; }
.breadcrumb-item.active { color: var(--ink-900); font-weight: 600; }

/* Login pages — admin/vendor */
.panel-login {
    min-height: 100vh;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.panel-login::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06), transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06), transparent 50%);
}
.panel-login-card {
    background: white;
    width: 100%; max-width: 420px;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative; z-index: 1;
}
.panel-login-card .brand { justify-content: center; margin-bottom: 12px; }
.panel-login-card h3 { text-align: center; margin-bottom: 6px; }
.panel-login-card .sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }

/* Responsive */
@media (max-width: 991px) {
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar { position: relative; height: auto; padding: 18px; }
    .search-form { min-width: 200px; }
    h1, .hero h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card .pc-body { padding: 10px; }
    .hero { padding: 30px 0 20px; }
    .pdp-meta { grid-template-columns: 1fr; }
}
