/* =================================================================
   SaleStorm-Italy — Amiami Theme
   White bg · Orange #ff6600 · 3-col layout · Left sidebar nav
================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    color: #333;
    background: #fff;
    line-height: 1.4;
}

a { color: #333; text-decoration: none; }
a:hover { color: #ff6600; text-decoration: underline; }
img { border: 0; vertical-align: middle; max-width: 100%; }

/* ── LANGUAGE DROPDOWN ───────────────────────────────────── */
.lang-drop-wrap { position: relative; }
.lang-drop-btn  { cursor: pointer; background: #fff; }
.lang-drop-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 2px solid #ff6600;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 999;
    min-width: 110px;
    border-radius: 0 0 3px 3px;
}
.lang-drop-wrap:hover .lang-drop-menu,
.lang-drop-wrap.open  .lang-drop-menu { display: block; }
.lang-drop-item {
    display: block;
    padding: 7px 12px;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}
.lang-drop-item:last-child { border-bottom: none; }
.lang-drop-item:hover { background: #fff8f4; color: #ff6600; text-decoration: none; }
.lang-drop-item.active { color: #ff6600; font-weight: bold; }

/* ── SITE HEADER ─────────────────────────────────────────── */
#site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}
#site-header .hdr-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 12px;
    display: flex; align-items: center; gap: 14px;
}

/* Logo */
#logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex; align-items: center;
}
#logo img { max-height: 44px; display: block; }

/* Search — [All ▼][___text___][🔍 Search] */
#search-form {
    flex: 1;
    display: flex;
    border: 2px solid #ff6600;
    border-radius: 3px;
    overflow: hidden;
    height: 36px;
}
#search-form select {
    border: none; border-right: 1px solid #ddd;
    padding: 0 6px; font-size: 11px; color: #333;
    background: #f5f5f5; outline: none;
    min-width: 80px; max-width: 130px; cursor: pointer;
}
#search-form input[type=text] {
    flex: 1; border: none; padding: 0 10px;
    font-size: 13px; outline: none; color: #333;
}
#search-form button {
    background: #ff6600; color: #fff; border: none;
    padding: 0 18px; font-size: 12px; font-weight: bold;
    cursor: pointer; white-space: nowrap;
}
#search-form button:hover { background: #e05500; }

/* Header right icons */
#hdr-icons {
    display: flex; gap: 6px; align-items: center; flex-shrink: 0;
}
.hdr-btn {
    display: flex; flex-direction: column; align-items: center;
    font-size: 10px; color: #555; gap: 2px;
    padding: 4px 8px; cursor: pointer; text-decoration: none;
    border: 1px solid #ddd; border-radius: 3px; min-width: 52px;
}
.hdr-btn i { font-size: 18px; color: #555; }
.hdr-btn:hover { border-color: #ff6600; color: #ff6600; text-decoration: none; }
.hdr-btn:hover i { color: #ff6600; }
.cart-wrap { position: relative; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: #ff6600; color: #fff; font-size: 9px; font-weight: bold;
    min-width: 15px; height: 15px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
}

/* Minicart (reused from frontend/widgets/MiniCartWidget) */
.hdr-btn.cart-wrap { padding: 4px 8px; }
.hm-minicart-trigger {
    cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hm-minicart-trigger .item-icon {
    position: relative; display: block; font-size: 18px; line-height: 1;
}
.hm-minicart-trigger .item-icon::before { content: "\1F6D2"; color: #555; }
.hm-minicart-trigger:hover .item-icon::before { color: #ff6600; }
.hm-minicart-trigger .item-text {
    font-size: 10px; color: #555; display: flex; align-items: center; gap: 3px;
}
.hm-minicart-trigger .cart-item-count {
    background: #ff6600; color: #fff; font-size: 9px; font-weight: bold;
    min-width: 15px; height: 15px; border-radius: 8px; padding: 0 3px;
    display: inline-flex; align-items: center; justify-content: center;
}
.minicart {
    display: none;
    position: absolute; right: 0; top: calc(100% + 4px);
    background: #fff; border: 1px solid #ddd; border-top: 2px solid #ff6600;
    box-shadow: 0 4px 12px rgba(0,0,0,.12); z-index: 999; width: 300px;
    text-align: left;
}
.cart-wrap { position: relative; }
.minicart-product-list { list-style: none; max-height: 260px; overflow-y: auto; }
.minicart-product-list li {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.minicart-product-image { flex-shrink: 0; width: 40px; height: 40px; display: block; border: 1px solid #eee; }
.minicart-product-image img { width: 100%; height: 100%; object-fit: contain; }
.minicart-product-details { flex: 1; min-width: 0; }
.minicart-product-details h6 { font-size: 11px; margin-bottom: 2px; }
.minicart-product-details h6 a { color: #333; }
.minicart-product-details span { font-size: 11px; color: #777; }
.minicart .close { background: none; border: none; color: #999; cursor: pointer; font-size: 12px; }
.minicart-total { padding: 8px 10px; font-size: 12px; font-weight: bold; border-top: 1px solid #eee; }
.minicart-total span { color: #ff6600; }
.minicart-button { display: flex; gap: 6px; padding: 8px 10px; }
.minicart-button .li-button {
    flex: 1; text-align: center; padding: 7px 0; font-size: 11px; font-weight: bold;
    background: #ff6600; color: #fff; border-radius: 3px;
}
.minicart-button .li-button-dark { background: #333; }
.minicart-button .li-button:hover { opacity: .9; color: #fff; text-decoration: none; }

/* ── SUB-NAV BAR ─────────────────────────────────────────── */
#sub-nav {
    background: #fff;
    border-bottom: 2px solid #ff6600;
    padding: 0;
}
#sub-nav .sn-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 12px;
    display: flex; align-items: center; gap: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.sn-link {
    font-size: 12px; font-weight: bold; color: #333;
    padding: 7px 14px; border-right: 1px solid #eee;
    display: flex; align-items: center; gap: 4px; cursor: pointer;
    flex-shrink: 0; white-space: nowrap;
}
.sn-link:hover { color: #ff6600; text-decoration: none; background: #fff8f4; }
.sn-link.active { color: #ff6600; background: #fff8f4; }
.sn-link i { font-size: 13px; }
.sn-link.sn-logout-btn { background: none; border: none; border-right: 1px solid #eee; }

/* ── 3-COLUMN PAGE LAYOUT ────────────────────────────────── */
#page-body {
    max-width: 1280px; margin: 0 auto; padding: 8px 12px;
    display: grid;
    grid-template-columns: 200px 1fr 160px;
    gap: 8px;
    align-items: start;
}

/* ── LEFT SIDEBAR ────────────────────────────────────────── */
#left-col { flex-shrink: 0; }

/* Mobile category toggle — hidden on desktop, shown ≤640px (see media query below) */
#mobile-cat-toggle {
    display: none;
    width: calc(100% - 24px);
    max-width: 1280px;
    margin: 8px auto 0;
    align-items: center; gap: 6px;
    background: #ff6600; color: #fff; border: none;
    padding: 10px 14px; font-size: 13px; font-weight: bold;
    cursor: pointer;
}
#mobile-cat-toggle.open { background: #e05500; }

.cat-panel {
    border: 1px solid #ddd; background: #fff; margin-bottom: 8px;
}
.cat-panel-hd {
    background: #ff6600; color: #fff;
    font-size: 11px; font-weight: bold;
    padding: 6px 10px; letter-spacing: .3px;
}
.cat-panel-empty { padding: 10px; font-size: 11px; color: #999; }
/* Category row = flex wrapper: link + toggle button */
.cat-row {
    display: flex; align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
}
.cat-row:last-of-type { border-bottom: none; }

.cat-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; flex: 1;
    color: #333; text-decoration: none; font-size: 12px;
}
.cat-item:hover { background: #fff8f4; color: #ff6600; text-decoration: none; }
.cat-item.active { color: #ff6600; font-weight: bold; }
.cat-item i { font-size: 18px; color: #666; flex-shrink: 0; width: 22px; text-align: center; }
.cat-item:hover i { color: #ff6600; }
.cat-item .ci-label { flex: 1; line-height: 1.2; }

/* Toggle arrow button */
.ci-toggle {
    background: none; border: none; border-left: 1px solid #f0f0f0;
    padding: 0 10px; color: #bbb; font-size: 14px;
    cursor: pointer; line-height: 1; transition: transform .2s, color .15s;
    flex-shrink: 0;
}
.ci-toggle:hover { color: #ff6600; background: #fff8f4; }
.cat-row.open .ci-toggle { transform: rotate(90deg); color: #ff6600; }

/* Submenu */
.cat-sub {
    display: none;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.cat-row.open + .cat-sub { display: block; }
.cat-sub a {
    display: block; padding: 5px 10px 5px 38px;
    font-size: 11px; color: #555; border-bottom: 1px dotted #eee;
}
.cat-sub a:hover { color: #ff6600; text-decoration: none; background: #fff8f4; }
.cat-sub a:last-child { border-bottom: none; }

/* Second-level accordion row */
.cat-sub-row {
    display: flex; align-items: center;
    border-bottom: 1px dotted #eee;
}
.cat-sub-link {
    padding: 5px 2px 5px 38px;
    font-size: 11px; color: #555; text-decoration: none;
}
.cat-sub-link:hover { color: #ff6600; }
.cat-sub-row .ci-toggle { border-left: none; padding: 0 6px; font-size: 12px; }

/* Third-level list */
.cat-sub2 {
    display: none;
    background: #f0f0f0;
}
.cat-sub2 a {
    display: block; padding: 5px 10px 5px 50px;
    font-size: 11px; color: #777; border-bottom: 1px dotted #e8e8e8; text-decoration: none;
}
.cat-sub2 a:hover { color: #ff6600; background: #fff8f4; text-decoration: none; }
.cat-sub2 a:last-child { border-bottom: none; }

.sb-links { border: 1px solid #ddd; background: #fff; margin-bottom: 8px; }
.sb-link {
    display: block; padding: 7px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 11px; color: #333;
}
.sb-link:hover { color: #ff6600; text-decoration: none; background: #fff8f4; }
.sb-link:last-child { border-bottom: none; }

/* ── MAIN CONTENT (center) ───────────────────────────────── */
#main-col {}

/* Section heading — "Ranking / New Items" */
.sec-title {
    font-size: 14px; font-weight: bold; color: #333;
    margin-bottom: 6px;
    display: flex; align-items: center; justify-content: space-between;
}
.sec-title .more-link { font-size: 11px; color: #ff6600; font-weight: normal; }
.sec-title .more-link:hover { text-decoration: underline; }

/* Tabs — "All Items | New Items | Bestseller …" */
.item-tabs {
    display: flex; border-bottom: 2px solid #ff6600; margin-bottom: 10px;
    gap: 0;
}
.item-tab {
    padding: 6px 14px; font-size: 12px; font-weight: bold;
    color: #555; cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; text-decoration: none; display: inline-block;
}
.item-tab.on { color: #ff6600; border-bottom-color: #ff6600; }
.item-tab:hover:not(.on) { color: #ff6600; text-decoration: none; }

/* ── PRODUCT GRID ────────────────────────────────────────── */
.pgrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.pcard {
    border: 1px solid #ddd; background: #fff;
    display: flex; flex-direction: column;
    transition: border-color .15s, box-shadow .15s;
    overflow: hidden;
}
.pcard:hover { border-color: #ff6600; box-shadow: 0 1px 6px rgba(255,102,0,.2); }

.pcard-img {
    position: relative; background: #fafafa;
    aspect-ratio: 1/1; overflow: hidden;
}
.pcard-img a { display: block; width: 100%; height: 100%; }
.pcard-img img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 5px; transition: transform .25s;
}
.pcard:hover .pcard-img img { transform: scale(1.05); }

.pcard-badge {
    position: absolute; top: 3px; left: 3px;
    font-size: 9px; font-weight: bold; padding: 1px 4px;
    border-radius: 1px; text-transform: uppercase;
}
.b-new  { background: #ff6600; color: #fff; }
.b-sale { background: #cc0000; color: #fff; }

.pcard-body { padding: 5px 6px 6px; flex: 1; display: flex; flex-direction: column; }
.pcard-sku  { font-size: 9px; color: #aaa; margin-bottom: 2px; }
.pcard-name {
    font-size: 11px; color: #333; line-height: 1.3; flex: 1;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 4px;
}
.pcard-name a { color: #333; }
.pcard-name a:hover { color: #ff6600; text-decoration: none; }
.pcard-price { font-size: 13px; font-weight: bold; color: #ff6600; line-height: 1; }

.pcard-btn {
    display: block; width: 100%; background: #ff6600; color: #fff; border: none;
    padding: 5px 0; font-size: 10px; font-weight: bold; text-align: center;
    cursor: pointer; letter-spacing: .2px; transition: background .15s;
}
.pcard-btn:hover { background: #e05500; }
.pcard-btn:disabled { background: #ccc; cursor: default; }

/* ── RIGHT SIDEBAR (promo banners) ───────────────────────── */
#right-col {}
.promo-tile {
    border: 1px solid #ddd; margin-bottom: 6px;
    padding: 12px 8px; text-align: center; background: #fff;
    font-size: 11px; font-weight: bold; color: #333;
    cursor: pointer;
}
.promo-tile:hover { border-color: #ff6600; color: #ff6600; }
.promo-tile i { font-size: 28px; display: block; margin-bottom: 6px; color: #ff6600; }

/* ── MISC ────────────────────────────────────────────────── */
.flash-ok  { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; padding: 7px 12px; font-size: 12px; margin-bottom: 8px; }
.flash-err { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; padding: 7px 12px; font-size: 12px; margin-bottom: 8px; }
.flash-warning { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; padding: 7px 12px; font-size: 12px; margin-bottom: 8px; }

.breadcrumb-bar {
    background: #fff; border-bottom: 1px solid #eee;
    padding: 5px 12px; font-size: 11px; color: #999; margin-bottom: 0;
    max-width: 1280px; margin: 0 auto;
}
.breadcrumb-bar a { color: #666; }
.breadcrumb-bar a:hover { color: #ff6600; text-decoration: none; }
.bc-sep { margin: 0 4px; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 2px; margin: 12px 0; flex-wrap: wrap; list-style: none; }
.pager li { list-style: none; }
.pager a, .pager span {
    display: inline-block; padding: 4px 9px; border: 1px solid #ddd;
    font-size: 11px; color: #333; background: #fff;
}
.pager a:hover { border-color: #ff6600; color: #ff6600; background: #fff8f4; text-decoration: none; }
.pager .active { background: #ff6600; color: #fff; border-color: #ff6600; font-weight: bold; }
.pager .disabled { color: #ccc; }

/* ── FOOTER ──────────────────────────────────────────────── */
#site-footer {
    background: #333; color: #aaa; margin-top: 20px;
    padding: 20px 0 0; font-size: 11px; border-top: 3px solid #ff6600;
}
#site-footer .ft-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 12px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px;
}
#site-footer h6 {
    font-size: 11px; font-weight: bold; color: #fff;
    text-transform: uppercase; border-bottom: 1px solid #555;
    padding-bottom: 4px; margin-bottom: 8px;
}
#site-footer ul { list-style: none; }
#site-footer ul li { padding: 2px 0; }
#site-footer ul li a { color: #aaa; }
#site-footer ul li a:hover { color: #ff6600; text-decoration: none; }
#site-footer p { color: #aaa; margin-bottom: 6px; line-height: 1.6; }
.ft-bottom {
    background: #222; margin-top: 16px; padding: 8px 12px;
    text-align: center; font-size: 10px; color: #666;
    border-top: 1px solid #444;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-block; border: none; background: #ff6600; color: #fff;
    padding: 8px 18px; font-size: 12px; font-weight: bold; letter-spacing: .2px;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: background .15s;
}
.btn:hover { background: #e05500; color: #fff; text-decoration: none; }
.btn-primary { background: #ff6600; color: #fff; border-color: #ff6600; }
.btn-primary:hover { background: #e05500; border-color: #e05500; }
.btn-secondary { background: #fff; color: #333; border: 1px solid #ccc; }
.btn-secondary:hover { background: #f5f5f5; color: #333; border-color: #999; }

/* ── PAGE HEADING ────────────────────────────────────────── */
.page-h1 { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 10px; }

/* ── CART TABLE ──────────────────────────────────────────── */
.cart-table { border: 1px solid #ddd; background: #fff; margin-bottom: 10px; }
.cart-table-hd, .cart-row {
    display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 32px;
    gap: 8px; align-items: center; padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.cart-table-hd { background: #f5f5f5; font-size: 11px; font-weight: bold; color: #666; text-transform: uppercase; }
.cart-row:last-child { border-bottom: none; }
.cart-col-prod { display: flex; align-items: center; gap: 8px; }
.cart-thumb { flex-shrink: 0; width: 46px; height: 46px; display: block; border: 1px solid #eee; background: #fafafa; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-name { font-size: 12px; color: #333; }
.cart-name:hover { color: #ff6600; }
.cart-col-price, .cart-col-sub { font-size: 12px; color: #333; }
.qty-input { width: 56px; font-size: 12px; padding: 4px; border: 1px solid #ccc; }
.cart-remove-btn { background: none; border: none; color: #999; cursor: pointer; font-size: 14px; padding: 4px; }
.cart-remove-btn:hover { color: #cc0000; }
.cart-actions { text-align: right; margin-bottom: 14px; }

/* ── ORDER SUMMARY BOX ──────────────────────────────────────── */
.order-summary { border: 1px solid #ddd; background: #fff; padding: 12px; max-width: 340px; margin-left: auto; }
.order-summary-hd { font-size: 12px; font-weight: bold; color: #333; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #eee; }
.order-summary-row {
    display: flex; justify-content: space-between; font-size: 12px; color: #555;
    padding: 4px 0;
}
.order-summary-total { border-top: 1px solid #eee; margin-top: 4px; padding-top: 8px; font-weight: bold; font-size: 13px; color: #333; }

/* ── CHECKOUT FORM ───────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 14px; align-items: start; }
.checkout-form-col {}
.checkout-summary-col {}
.checkout-box { border: 1px solid #ddd; background: #fff; margin-bottom: 10px; }
.checkout-box-hd { background: #ff6600; color: #fff; font-size: 12px; font-weight: bold; padding: 7px 10px; }
.checkout-box-body { padding: 12px; }
.cf-row { display: grid; gap: 10px; }
.cf-row-2 { grid-template-columns: 1fr 1fr; }
.cf-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.cf-terms { margin: 10px 0; font-size: 12px; }
.terms-box { border: 1px solid #ddd; background: #fafafa; padding: 10px; margin-top: 8px; font-size: 11px; max-height: 200px; overflow-y: auto; }

.form-group { margin-bottom: 10px; }
.control-label { display: block; font-size: 11px; font-weight: bold; color: #555; margin-bottom: 3px; }
.form-control {
    width: 100%; font-size: 12px; padding: 6px 8px; border: 1px solid #ccc;
    background: #fff; color: #333;
}
.form-control:focus { outline: none; border-color: #ff6600; box-shadow: none; }
.help-block { font-size: 11px; color: #cc0000; margin-top: 3px; }
.has-error .form-control { border-color: #cc0000; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }
.checkbox label { font-size: 12px; display: flex; align-items: center; gap: 6px; font-weight: normal; }

/* ── AUTH / ACCOUNT CARDS ────────────────────────────────── */
.auth-card {
    border: 1px solid #ddd; background: #fff; max-width: 420px; margin: 20px auto;
    padding: 20px;
}
.auth-card h1 { font-size: 16px; margin-bottom: 12px; }
.account-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.account-table th, .account-table td {
    border-bottom: 1px solid #eee; padding: 8px 6px; font-size: 12px; text-align: left;
}
.account-table th { background: #f5f5f5; font-weight: bold; color: #555; }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-view { display: grid; grid-template-columns: 380px 1fr; gap: 20px; margin-bottom: 16px; }
.pv-gallery {}
.product-gallery-main {
    border: 1px solid #ddd; background: #fafafa; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-gallery-thumbs { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.product-gallery-thumbs img {
    width: 56px; height: 56px; object-fit: contain; padding: 3px;
    border: 1px solid #ddd; background: #fafafa; cursor: pointer;
}
.product-gallery-thumbs img.active, .product-gallery-thumbs img:hover { border-color: #ff6600; }
.pv-info {}
.pv-title { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 4px; }
.pv-cat { font-size: 11px; color: #999; margin-bottom: 4px; }
.pv-price { font-size: 22px; font-weight: bold; color: #ff6600; margin: 8px 0; }
.pv-desc { font-size: 12px; color: #555; line-height: 1.6; margin-bottom: 10px; }
.pv-avail { font-size: 12px; color: #555; margin-bottom: 12px; }
.pv-avail p { margin-bottom: 4px; }
.pv-buy-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pv-qty-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #555; }
.qty-stepper { width: 56px; font-size: 12px; padding: 5px; border: 1px solid #ccc; }
.pv-tabs-box { border: 1px solid #ddd; background: #fff; margin-top: 16px; }
.pv-tabs-hd { background: #f5f5f5; font-size: 12px; font-weight: bold; color: #333; padding: 8px 12px; border-bottom: 1px solid #ddd; }
.pv-tabs-body { padding: 12px; font-size: 12px; color: #555; line-height: 1.6; }

/* ── SEO CONTENT PAGES (about, vacuum-cleaner, arcade-retrogaming, ...) ── */
/* Long-form reading content — deliberately larger/roomier than the site's
   dense 11-12px product-grid sizing, which doesn't suit paragraphs of text. */
.content-page { padding: 40px 0 24px; }
.content-page h1 {
    font-size: 36px; font-weight: 800; color: #222; line-height: 1.15;
    margin-bottom: 18px;
}
.content-page h2 {
    font-size: 28px; font-weight: 800; color: #222; line-height: 1.15;
    margin: 32px 0 16px;
}
.content-page p {
    font-size: 16px; color: #444; line-height: 1.75; margin-bottom: 18px;
    max-width: 68ch;
}
.content-page ul, .content-page ol {
    margin: 0 0 22px 22px; font-size: 16px; color: #444; line-height: 1.75;
    max-width: 68ch;
}
.content-page li { margin-bottom: 8px; }
.content-page a.inline-link {
    color: #ff6600; font-weight: 700; text-decoration: none;
    border-bottom: 2px solid transparent; transition: border-color .15s;
}
.content-page a.inline-link:hover { border-color: #ff6600; text-decoration: none; }
.content-hero-text h2 {
    font-size: 24px; font-weight: 700; margin: 20px 0 12px; color: #ff6600;
}
.content-hero, .content-section {
    display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 40px;
}
.content-hero-text, .content-section-text { flex: 1; min-width: 280px; }
.content-hero-img, .content-section-img {
    flex: 0 0 360px; max-width: 100%;
    position: relative; padding: 18px 0 0 18px;
}
.content-hero-img::after, .content-section-img::after {
    content: ""; position: absolute; left: 0; top: 0;
    width: calc(100% - 18px); height: calc(100% - 18px);
    border: 5px solid #ff6600; z-index: 0;
}
.content-hero-img img, .content-section-img img {
    position: relative; z-index: 1;
    width: 100%; display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* Stat tiles (about page) */
.stat-tiles { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0 30px; }
.stat-tile { border: 1px solid #ddd; padding: 16px 20px; text-align: center; min-width: 140px; }
.stat-tile .stat-num { font-size: 26px; font-weight: 800; color: #ff6600; }
.stat-tile .stat-label { font-size: 11px; color: #777; text-transform: uppercase; margin-top: 4px; }

/* ── SHARED WIDGET MODALS (frontend/widgets/*, still Bootstrap4-styled) ── */
.modal .close {
    background: none; border: none; cursor: pointer;
    font-size: 22px; line-height: 1; color: #999; opacity: 1;
    padding: 4px 8px; margin: -4px -8px -4px auto; transition: color .15s;
}
.modal .close:hover { color: #ff6600; }

/* ── COOKIE CONSENT (frontend/components/CookieConsentCustom) ──────────── */
.cc-window, .cookie-consent-custom {
    background: #333 !important; color: #eee !important;
}
.cc-window a.cc-link, .cookie-consent-custom a { color: #ff9d5c !important; }
.cc-window .cc-btn, .cookie-consent-custom button {
    background: #ff6600 !important; color: #fff !important; border-radius: 3px !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1000px) {
    #page-body { grid-template-columns: 180px 1fr; }
    #right-col  { display: none; }
    .pgrid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 640px) {
    #page-body { grid-template-columns: 1fr; }
    #left-col   { display: none; }
    #left-col.mobile-open { display: block; width: 100%; margin-bottom: 8px; }
    #mobile-cat-toggle { display: flex; }
    .pgrid { grid-template-columns: repeat(2,1fr); }
    /* Search bar was squeezed to near-zero width between the logo and header
       icons (both flex-shrink:0) — give it its own full-width row instead. */
    #site-header .hdr-inner { flex-wrap: wrap; }
    #search-form { order: 3; flex: 1 1 100%; }
    #search-form select { display: none; }
    #site-footer .ft-inner { grid-template-columns: 1fr 1fr; }
    .checkout-grid, .product-view { grid-template-columns: 1fr; }
    .cf-row-2, .cf-row-3 { grid-template-columns: 1fr; }
    .cart-table-hd { display: none; }
    .cart-row { grid-template-columns: 1fr; }
    .order-summary { max-width: none; }
    .content-hero, .content-section { flex-direction: column; }
}
