/* Storefront design system — resources/views/front/*. Matches Figma "moin shop" file,
   page "site" (sections 00–08: shared components, Home, Catalog, PDP, Cart & Checkout).
   Brand red (#eb1e25) reused from --pk-stat-accent-red / --vk-red so all three surfaces
   (admin, vendor, storefront) share one brand color. */
:root {
    --store-red: #eb1e25;
    --store-red-hover: #c81119;
    --store-red-bg: #fdecec;
    --store-ink: #282d30;
    --store-muted: #6e7578;
    --store-border: #e4e7eb;
    --store-bg: #f5f6f8;
    --store-card-bg: #ffffff;
    --store-dark: #282d30;
    --store-dark-ink: #cfd3d8;
    --store-green: #1a9d5c;
    --store-radius: 10px;
}

* { box-sizing: border-box; }

body.store-body {
    background: #fff;
    color: var(--store-ink);
    font-family: "dana-fanum", Tahoma, sans-serif;
    direction: rtl;
    margin: 0;
}

@font-face {
    font-family: "dana-fanum";
    src: url("/front/assets/fonts/dana-fanum-regular.woff") format("woff");
    font-weight: 400;
}
@font-face {
    font-family: "dana-fanum";
    src: url("/front/assets/fonts/dana-fanum-medium.woff") format("woff");
    font-weight: 500;
}
@font-face {
    font-family: "dana-fanum";
    src: url("/front/assets/fonts/dana-fanum-bold.woff") format("woff");
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* Mirrors Bootstrap 5's .container breakpoints so every existing store-container
   usage gets real Bootstrap responsive steps without touching each template. */
.store-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 576px) { .store-container { max-width: 540px; } }
@media (min-width: 768px) { .store-container { max-width: 720px; } }
@media (min-width: 992px) { .store-container { max-width: 960px; } }
@media (min-width: 1200px) { .store-container { max-width: 1140px; } }
@media (min-width: 1400px) { .store-container { max-width: 1320px; } }

/* ---- header ---------------------------------------------------------- */
.store-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}
.store-logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.store-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--store-red); display: inline-block; }
.store-search {
    flex: 1;
    max-width: 640px;
    position: relative;
}
.store-search input {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--store-border);
    background: var(--store-bg);
    padding: 0 44px 0 16px;
    font-size: 14px;
    font-family: inherit;
}
.store-search input:focus { outline: none; border-color: var(--store-red); background: #fff; }
.store-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--store-muted);
    cursor: pointer;
    font-size: 16px;
}
.store-header-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.store-header-link { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--store-ink); }
.store-cart-link { position: relative; display: flex; align-items: center; gap: 8px; }
.store-cart-badge {
    background: var(--store-red);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.store-header-navbar { padding: 0; border-top: 1px solid var(--store-border); }
.store-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}
.store-header-nav .navbar-toggler {
    border-color: var(--store-border);
    padding: 6px 10px;
    font-size: 15px;
}
.store-header-nav .navbar-toggler:focus { box-shadow: none; }
.store-header-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}
.store-header-nav-links .support {
    margin-inline-start: auto;
    font-size: 12.5px;
    color: var(--store-muted);
}
.store-header-nav-links a { font-size: 14px; font-weight: 500; }
.store-header-nav-links a:hover { color: var(--store-red); }
@media (max-width: 991px) {
    .store-header-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0 4px;
    }
    .store-header-nav-links .support { margin-inline-start: 0; }
}
.store-all-categories-btn {
    background: var(--store-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.store-categories-menu { position: relative; }

/* ---- mega-menu (category dropdown) --------------------------------------- */
.store-mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 20;
    overflow: hidden;
}
.store-mega-menu.open { display: flex; }
.store-mega-col {
    width: 240px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
}
/* Blade leaves whitespace-only text nodes inside a column when its @foreach
   renders zero items, so :empty never matches — check for real children instead. */
.store-mega-col:not(:has(.store-mega-item, .store-mega-panel)) { display: none; }
.store-mega-col + .store-mega-col { border-inline-start: 1px solid var(--store-border); }
.store-mega-col#megaCol1 { background: var(--store-bg); }
.store-mega-panel { display: none; }
.store-mega-panel.active { display: block; }
.store-mega-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--store-ink);
}
.store-mega-item i { font-size: 11px; color: var(--store-muted); }
.store-mega-item:hover, .store-mega-item.active { background: #fff; color: var(--store-red); }
.store-mega-item:hover i, .store-mega-item.active i { color: var(--store-red); }
#megaCol1 .store-mega-item.active { background: var(--store-card-bg); }
#megaCol2 .store-mega-item:hover, #megaCol2 .store-mega-item.active,
#megaCol3 .store-mega-item:hover { background: var(--store-bg); }

/* ---- buttons ---------------------------------------------------------- */
.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.store-btn-primary { background: var(--store-red); color: #fff; }
.store-btn-primary:hover { background: var(--store-red-hover); color: #fff; }
.store-btn-outline { background: #fff; color: var(--store-ink); border-color: var(--store-border); }
.store-btn-outline:hover { border-color: var(--store-red); color: var(--store-red); }
.store-btn-block { width: 100%; }
.store-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.store-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- cards / product card --------------------------------------------- */
.store-card {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 20px;
}
.store-section-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}
.store-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.store-section-head .more { font-size: 13px; color: var(--store-red); font-weight: 600; }

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.store-product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* pages migrated to Bootstrap's row/row-cols markup pair this class with .row
   row-cols-*. Bootstrap's own row-cols is flex + percentage width, which
   doesn't leave room for a real `gap` (and its padding-based gutter lands
   *inside* .product-card's own border, so cards touch either way). CSS Grid's
   `gap` subtracts cleanly from column width with no overflow math needed, so
   these grids run on `display:grid` — the row-cols-* classes stay as plain
   breakpoint markers matching Bootstrap's own breakpoints. */
.store-product-grid.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
/* Bootstrap's own row-cols-* > * rule still sets a percentage `width` (flex
   sizing); under display:grid that stacks with grid-template-columns and
   halves/quarters the card twice over. Grid's own stretch sizing is what we
   want, so cancel Bootstrap's width here. */
.store-product-grid.row > * { width: auto; }
@media (min-width: 768px) { .store-product-grid.row.row-cols-md-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) {
    .store-product-grid.row.row-cols-lg-4 { grid-template-columns: repeat(4, 1fr); }
    .store-product-grid.row.row-cols-lg-5 { grid-template-columns: repeat(5, 1fr); }
}
.product-card {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card-img {
    aspect-ratio: 1;
    background: #f0f1f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--store-muted);
    font-size: 12px;
    overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-brand { font-size: 11.5px; color: var(--store-muted); }
.product-card-title {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.product-card-price-row { margin-top: auto; }
.product-card-old-price { font-size: 11.5px; color: var(--store-muted); text-decoration: line-through; }
.product-card-price { font-size: 15px; font-weight: 700; color: var(--store-ink); }
.product-card .store-btn { width: 100%; margin-top: 8px; height: 38px; font-size: 13px; }

/* ---- badges ------------------------------------------------------------ */
.store-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
}
.store-badge-discount { background: var(--store-red-bg); color: var(--store-red); }
.store-badge-success { background: #e9f8ef; color: var(--store-green); }

/* ---- category grid ------------------------------------------------------ */
.store-category-item {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 20px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}
.store-category-item .icon {
    width: 80px;
    height: 80px;
    color: var(--store-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.store-category-item .icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.store-category-grid.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.store-category-grid.row > * { width: auto; }
@media (min-width: 768px) { .store-category-grid.row.row-cols-md-6 { grid-template-columns: repeat(6, 1fr); } }

/* ---- hero / vehicle-search widget --------------------------------------- */
.store-hero {
    border-radius: var(--store-radius);
    margin: 24px 0;
    overflow: hidden;
}
.store-hero a { display: block; line-height: 0; }
.store-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--store-radius);
}

.store-vehicle-finder {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 24px;
    margin: 24px 0;
}
.store-vehicle-finder h3 { font-size: 18px; margin: 0 0 4px; text-align: center; }
.store-vehicle-finder .sub { text-align: center; color: var(--store-muted); font-size: 13.5px; margin: 0 0 18px; }
.store-vehicle-finder-row { display: flex; gap: 12px; }
.store-vehicle-finder-row select,
.store-vehicle-finder-row .store-btn { flex: 1; }
.store-select {
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--store-border);
    padding: 0 14px;
    font-family: inherit;
    font-size: 13.5px;
    background: #fff;
    width: 100%;
}

/* ---- listing (category / search) ------------------------------------------ */
.store-listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.store-listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--store-muted);
}
.store-sort-tabs { display: flex; gap: 6px; }
.store-sort-tabs a {
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--store-muted);
}
.store-sort-tabs a.active { background: var(--store-red); color: #fff; font-weight: 600; }
.store-filter-sidebar {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 20px;
}
.store-filter-sidebar h4 { font-size: 14px; margin: 0 0 14px; display: flex; justify-content: space-between; }
.store-filter-sidebar h4 a { color: var(--store-red); font-size: 12px; font-weight: 500; }
.store-filter-group { margin-bottom: 20px; }
.store-filter-group .label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.store-filter-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; color: var(--store-ink); }
.store-filter-price-row { display: flex; gap: 8px; }
.store-filter-price-row input { width: 100%; height: 38px; border-radius: 6px; border: 1px solid var(--store-border); padding: 0 10px; font-family: inherit; font-size: 12.5px; }
.store-pagination { display: flex; gap: 6px; justify-content: center; margin: 28px 0; }
.store-pagination a, .store-pagination span {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--store-border);
    font-size: 13px;
    color: var(--store-ink);
    background: #fff;
}
.store-pagination .active { background: var(--store-red); border-color: var(--store-red); color: #fff; }
.store-empty { text-align: center; padding: 60px 0; color: var(--store-muted); }

/* ---- breadcrumb ---------------------------------------------------------- */
.store-breadcrumb { font-size: 12.5px; color: var(--store-muted); padding: 16px 0; display: flex; gap: 6px; align-items: center; }
.store-breadcrumb a:hover { color: var(--store-red); }

/* ---- footer --------------------------------------------------------------- */
.store-footer { background: var(--store-dark); color: var(--store-dark-ink); margin-top: 48px; }
.store-footer-top {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    row-gap: 28px;
}
.store-footer-col.brand { min-width: 220px; }
.store-footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.store-footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.store-footer-col ul li a:hover { color: #fff; }
.store-footer-col.brand p { font-size: 13px; line-height: 1.8; margin-top: 8px; }
.store-footer-newsletter { display: flex; gap: 0; margin-top: 14px; }
.store-footer-newsletter input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border-radius: 8px 0 0 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 0 12px;
    font-family: inherit;
}
.store-footer-newsletter button {
    height: 42px;
    border-radius: 0 8px 8px 0;
    background: var(--store-red);
    color: #fff;
    border: none;
    padding: 0 18px;
    font-weight: 600;
    cursor: pointer;
}
.store-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 12px;
    color: #8a8f94;
}

/* ---- forms ---------------------------------------------------------------- */
.store-field-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.store-field {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--store-border);
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
}
.store-field:focus { outline: none; border-color: var(--store-red); }
textarea.store-field { height: auto; padding: 12px 14px; }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 992px) {
    .store-product-grid { grid-template-columns: repeat(3, 1fr); }
    .store-product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .store-product-grid, .store-product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .store-header-top { flex-wrap: wrap; row-gap: 10px; }
    .store-search { order: 3; max-width: none; flex-basis: 100%; }
}
@media (max-width: 780px) {
    .store-mega-menu { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; border-radius: 0; flex-direction: column; overflow-y: auto; }
    .store-mega-col { width: 100%; max-height: none; }
    .store-mega-col + .store-mega-col { border-inline-start: none; border-top: 1px solid var(--store-border); }
}

/* ---- product detail page --------------------------------------------------- */
.store-pdp-layout { display: grid; grid-template-columns: 420px 1fr 320px; gap: 32px; margin-bottom: 32px; }
.store-pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.store-pdp-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.store-pdp-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--store-muted); margin-bottom: 20px; }
.store-pdp-gallery-main {
    aspect-ratio: 4/3;
    background: #f0f1f3;
    border-radius: var(--store-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}
.store-pdp-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.store-pdp-thumbs { display: flex; gap: 10px; }
.store-pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 2px solid var(--store-border);
    overflow: hidden;
    cursor: pointer;
    background: #f0f1f3;
}
.store-pdp-thumb.active { border-color: var(--store-red); }
.store-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.store-specs-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.store-specs-table td { padding: 12px 0; border-bottom: 1px solid var(--store-border); font-size: 13.5px; }
.store-specs-table td:first-child { color: var(--store-muted); width: 160px; }
.store-specs-table td:last-child { font-weight: 500; }

.store-buybox { background: var(--store-card-bg); border: 1px solid var(--store-border); border-radius: var(--store-radius); padding: 20px; align-self: start; }
.store-buybox-vendor { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--store-muted); margin-bottom: 14px; }
.store-buybox-vendor .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--store-green); display: inline-block; }
.store-buybox-old-price { font-size: 13px; color: var(--store-muted); text-decoration: line-through; }
.store-buybox-price { font-size: 24px; font-weight: 700; margin: 4px 0 12px; }
.store-buybox-perk { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.store-buybox-perk i { color: var(--store-green); }
.store-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    height: 44px;
    padding: 0 14px;
    margin: 16px 0 12px;
}
.store-qty button { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--store-ink); }
.store-qty input { width: 40px; text-align: center; border: none; font-family: inherit; font-size: 14px; }

.store-pdp-section { margin-bottom: 32px; }
.store-pdp-section h3 { font-size: 17px; margin: 0 0 14px; }
.store-pdp-description { margin-bottom: 32px; }
.store-pdp-description h3 { font-size: 17px; margin: 0 0 14px; }

@media (max-width: 992px) {
    .store-pdp-layout { grid-template-columns: 1fr; }
}

/* ---- cart / checkout steps ---------------------------------------------- */
.store-steps { display: flex; align-items: center; gap: 10px; padding: 20px 0; font-size: 13px; color: var(--store-muted); }
.store-steps .step { display: flex; align-items: center; gap: 8px; }
.store-steps .num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--store-border); color: var(--store-muted);
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.store-steps .step.active .num { background: var(--store-red); color: #fff; }
.store-steps .step.active { color: var(--store-ink); font-weight: 600; }
.store-steps .sep { color: var(--store-border); }

.store-cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.store-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 18px;
    margin-bottom: 14px;
}
.store-cart-item-img { width: 84px; height: 84px; border-radius: 8px; background: #f0f1f3; flex-shrink: 0; overflow: hidden; }
.store-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.store-cart-item-info { flex: 1; }
.store-cart-item-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.store-cart-item-meta { font-size: 12px; color: var(--store-muted); }
.store-cart-qty {
    display: flex; align-items: center; border: 1px solid var(--store-border); border-radius: 8px; overflow: hidden;
}
.store-cart-qty button { background: #fff; border: none; width: 30px; height: 34px; cursor: pointer; font-size: 15px; }
.store-cart-qty input { width: 36px; text-align: center; border: none; font-family: inherit; font-size: 13px; }
.store-cart-item-price { font-weight: 700; font-size: 14px; min-width: 110px; text-align: left; }
.store-cart-item-remove { color: var(--store-red); font-size: 13px; }

.store-summary-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 12px; color: var(--store-muted); }
.store-summary-row.total { font-size: 16px; font-weight: 700; color: var(--store-ink); border-top: 1px solid var(--store-border); padding-top: 14px; margin-top: 4px; }
.store-summary-row .save { color: var(--store-green); }

.store-address-card {
    display: block;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
}
.store-address-card.selected { border-color: var(--store-red); background: var(--store-red-bg); }
.store-address-card .name { font-weight: 600; margin-bottom: 6px; }
.store-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 14px 16px;
    margin-bottom: 10px;
    font-size: 13.5px;
    cursor: pointer;
}
.store-payment-option.selected { border-color: var(--store-red); background: var(--store-red-bg); }

/* ---- account section ---------------------------------------------------- */
.store-account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.store-account-sidebar {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    padding: 24px 20px;
    text-align: center;
}
.store-account-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--store-red-bg); color: var(--store-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; margin: 0 auto 12px;
}
.store-account-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.store-account-phone { font-size: 12.5px; color: var(--store-muted); direction: ltr; }
.store-account-nav { list-style: none; margin: 20px 0 0; padding: 12px 0 0; border-top: 1px solid var(--store-border); text-align: right; }
.store-account-nav li + li { margin-top: 4px; }
.store-account-nav a, .store-account-nav button {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px; font-size: 13.5px;
    color: var(--store-ink); width: 100%; text-align: right;
    background: none; border: none; cursor: pointer; font-family: inherit;
    text-decoration: none;
}
.store-account-nav i { width: 16px; text-align: center; color: var(--store-muted); }
.store-account-nav a.active { background: var(--store-red); color: #fff; font-weight: 600; }
.store-account-nav a.active i { color: #fff; }
.store-account-nav a:hover:not(.active), .store-account-nav button:hover { background: var(--store-bg); }

.store-status-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.store-status-tabs a {
    padding: 7px 14px; border-radius: 6px; font-size: 13px; color: var(--store-muted);
    border: 1px solid var(--store-border);
}
.store-status-tabs a.active { background: var(--store-red); color: #fff; font-weight: 600; border-color: var(--store-red); }

.store-order-card {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    margin-bottom: 14px;
}
.store-order-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-order-card-title { font-weight: 700; font-size: 14px; }
.store-order-card-date { font-size: 12px; color: var(--store-muted); }
.store-order-card-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-order-card-actions { display: flex; gap: 8px; }
.store-order-card-total { font-weight: 700; font-size: 13.5px; }

/* ---- wishlist heart toggle (on .product-card) --------------------------- */
.product-card { position: relative; }
.product-card-wishlist-btn {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.9); border: 1px solid var(--store-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--store-muted); cursor: pointer;
}
.product-card-wishlist-btn.active, .product-card-wishlist-btn:hover { color: var(--store-red); border-color: var(--store-red); }

@media (max-width: 992px) {
    .store-cart-layout { grid-template-columns: 1fr; }
    .store-account-layout { grid-template-columns: 1fr; }
}

/* ---- magazine / blog ---------------------------------------------------- */
.store-blog-card {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.store-blog-card-img { aspect-ratio: 16/9; background: #f4f7f9; overflow: hidden; }
.store-blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.store-blog-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.store-blog-card-tag {
    align-self: flex-start;
    background: var(--store-red-bg); color: var(--store-red);
    font-size: 10.5px; font-weight: 400;
    border-radius: 6px; padding: 4px 12px;
}
.store-blog-card-title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.store-blog-card-excerpt {
    font-size: 12.5px; color: var(--store-muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.store-blog-card-meta { display: flex; gap: 12px; font-size: 10.5px; color: var(--store-muted); margin-top: auto; }
.store-blog-post-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--store-muted); }
.store-blog-post-cover { aspect-ratio: 21/8; background: #f4f7f9; border-radius: 16px; overflow: hidden; margin: 28px 0; }
.store-blog-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.store-blog-post-col { max-width: 880px; margin: 0 auto; }
.store-blog-post-body { font-size: 16px; line-height: 2; color: var(--store-ink); }
.store-blog-post-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.store-blog-post-tag { background: #f4f7f9; color: var(--store-muted); font-size: 13px; border-radius: 8px; padding: 7px 14px; }
.store-blog-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.store-blog-tabs a { background: #f4f7f9; color: var(--store-muted); font-size: 13px; font-weight: 500; border-radius: 8px; padding: 10px 20px; }
.store-blog-tabs a.active { background: var(--store-red); color: #fff; }
.store-blog-grid.row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}
.store-blog-grid.row > * { width: auto; }
@media (min-width: 768px) { .store-blog-grid.row.row-cols-md-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
    .store-blog-grid.row.row-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
    .store-blog-grid.row.row-cols-lg-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- page hero (contact / about / blog-style pages) ----------------------------- */
.store-page-hero { background: #f4f7f9; padding: 28px 0 36px; text-align: center; }
.store-page-hero .store-breadcrumb { justify-content: center; }
.store-page-hero h1 { font-size: 39px; font-weight: 700; margin: 6px 0 14px; }
.store-page-hero p { font-size: 20px; line-height: 1.6; color: var(--store-muted); max-width: 760px; margin: 0 auto; }
.store-page-hero .store-blog-card-tag { display: inline-block; margin-bottom: 12px; }

/* ---- contact page --------------------------------------------------------- */
.store-contact-layout { margin: 28px 0; row-gap: 20px; }
.store-contact-info-card { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.store-contact-info-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--store-red-bg); color: var(--store-red);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.store-contact-info-label { font-size: 13px; color: var(--store-muted); margin-bottom: 3px; }
.store-contact-info-value { font-size: 14px; font-weight: 600; }
.store-contact-map {
    height: 190px; border-radius: var(--store-radius); background: #f0f1f3;
    border: 1px solid var(--store-border);
    display: flex; align-items: center; justify-content: center; color: var(--store-muted); font-size: 22px;
}
.store-form-row-2 { row-gap: 16px; }
.store-form-row { margin-top: 18px; }
.store-contact-layout form > .store-form-row-2:first-child,
.store-contact-layout form > .store-form-row:first-child { margin-top: 0; }

/* ---- faq ------------------------------------------------------------------ */
.store-faq { max-width: 900px; margin: 44px auto 0; }
.store-faq-title { font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 24px; }
.store-faq-item { padding: 18px 0; border-bottom: 1px solid var(--store-border); }
.store-faq-item:first-child { border-top: 1px solid var(--store-border); }
.store-faq-question { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.store-faq-answer { font-size: 13.5px; color: var(--store-muted); line-height: 1.9; }

/* ---- product Q&A ----------------------------------------------------------- */
.store-qa-item { padding: 16px 0; border-bottom: 1px solid var(--store-border); }
.store-qa-item:first-child { padding-top: 0; }
.store-qa-meta { font-size: 12px; color: var(--store-muted); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.store-qa-body { font-size: 13.5px; line-height: 1.9; color: var(--store-ink); }
.store-qa-answer { margin-top: 12px; margin-inline-start: 24px; padding-inline-start: 14px; border-inline-start: 2px solid var(--store-border); }
.store-qa-answer.store-qa-pending { color: var(--store-muted); font-size: 13px; }
.store-qa-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--store-border); }
.store-qa-login-prompt { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--store-border); font-size: 13.5px; color: var(--store-muted); }
.store-qa-login-prompt a { color: var(--store-red); font-weight: 600; }

/* ---- about page ------------------------------------------------------------ */
.store-eyebrow { display: block; color: var(--store-red); font-size: 13px; font-weight: 500; margin-bottom: 10px; }

.store-stats-row { padding: 36px 0; text-align: center; row-gap: 24px; }
.store-stats-row .num { color: var(--store-red); font-size: 31px; font-weight: 700; margin-bottom: 6px; }
.store-stats-row .label { font-size: 13px; color: var(--store-muted); }

.store-mission { align-items: center; padding: 8px 0 56px; row-gap: 24px; }
.store-mission-img {
    aspect-ratio: 5/3; background: #f4f7f9; border-radius: var(--store-radius);
    display: flex; align-items: center; justify-content: center; color: var(--store-muted); font-size: 40px;
}
.store-mission h2 { font-size: 31px; font-weight: 700; margin: 0 0 14px; line-height: 1.4; }
.store-mission p { font-size: 14px; line-height: 2; color: var(--store-muted); margin: 0; }

.store-why-section { background: #f4f7f9; padding: 48px 0; }
.store-why-title { font-size: 25px; font-weight: 700; text-align: center; margin: 0 0 28px; }
.store-why-grid { row-gap: 16px; }
.store-why-card { background: var(--store-card-bg); border: 1px solid var(--store-border); border-radius: var(--store-radius); padding: 28px 20px; text-align: center; height: 100%; }
.store-why-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
    background: var(--store-red-bg); color: var(--store-red);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.store-why-card .title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.store-why-card .desc { font-size: 12.5px; color: var(--store-muted); line-height: 1.8; }

.store-brands-block { padding: 48px 0; text-align: center; }
.store-brands-block .store-section-title { text-align: center; font-size: 20px; font-weight: 500; }
.store-brand-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-brand-chip { background: #f4f7f9; border-radius: 8px; padding: 12px 28px; font-size: 14px; font-weight: 600; color: var(--store-ink); }

.store-cta-banner { background: var(--store-dark); }
.store-cta-banner-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 36px 0; }
.store-cta-banner h2 { color: #fff; font-size: 25px; font-weight: 700; margin: 0 0 6px; }
.store-cta-banner p { color: var(--store-dark-ink); font-size: 13.5px; margin: 0; }
