:root {
    --bg: #eaeded;
    --surface: #ffffff;
    --ink: #0f1111;
    --muted: #565959;
    --line: #d5d9d9;
    --brand: #131921;
    --brand-2: #232f3e;
    --accent: #febd69;
    --accent-2: #f90;
    --link: #007185;
    --danger: #b12704;
    --success: #067d62;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(15, 17, 17, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.45;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, 100% - 32px);
    margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--brand);
    color: #fff;
}

.site-header a {
    color: #fff;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.search {
    flex: 1;
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.search input {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    font-size: 15px;
}

.search button {
    border: 0;
    background: var(--accent);
    padding: 0 18px;
    cursor: pointer;
    font-weight: 600;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.header-links .strong {
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.cart-badge {
    background: var(--accent-2);
    color: #111;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 12px;
}

.currency-picker {
    display: flex;
    gap: 4px;
    background: #f1f3f4;
    border-radius: 999px;
    padding: 3px;
}

.currency-option {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
}

.currency-option.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.header-nav {
    background: var(--brand-2);
    padding: 7px 0;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    overflow-x: auto;
}

/* ---------- Flash ---------- */
.flash {
    padding: 10px 14px;
    border-radius: var(--radius);
    margin: 14px 0;
    font-size: 14px;
    border: 1px solid transparent;
}

.flash-success {
    background: #e7f6f1;
    border-color: #a8e0d2;
    color: var(--success);
}

.flash-error {
    background: #fdeceb;
    border-color: #f5c2c0;
    color: var(--danger);
}

.flash-info {
    background: #eef4ff;
    border-color: #c3d6f7;
    color: #1d4ed8;
}

/* ---------- Layout ---------- */
main {
    padding: 20px 0 48px;
}

.page-title {
    font-size: 24px;
    margin: 8px 0 18px;
}

.muted {
    color: var(--muted);
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(120deg, #232f3e, #37475a);
    color: #fff;
    border-radius: var(--radius);
    padding: 34px;
    margin-bottom: 24px;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.hero p {
    margin: 0 0 16px;
    opacity: .9;
}

/* ---------- Grid de productos ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: transform .12s ease, box-shadow .12s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 17, 17, .14);
}

.product-thumb {
    font-size: 64px;
    text-align: center;
    padding: 18px 0;
    background: #f7f8f8;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.product-thumb-lg {
    font-size: 150px;
    padding: 40px 0;
}

.product-card h3 {
    font-size: 15px;
    margin: 0 0 6px;
    font-weight: 500;
    line-height: 1.3;
}

.product-card h3 a {
    color: var(--ink);
}

.price {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.price-small {
    font-size: 15px;
    font-weight: 700;
}

.badge {
    display: inline-block;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.stock {
    font-size: 12px;
    color: var(--success);
    margin-bottom: 8px;
}

.stock.out {
    color: var(--danger);
}

/* ---------- Botones ---------- */
.btn {
    display: inline-block;
    border: 1px solid var(--line);
    background: var(--accent);
    color: #111;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
}

.btn:hover {
    background: #f3a847;
    text-decoration: none;
}

.btn-block {
    width: 100%;
}

.btn-dark {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
}

.btn-dark:hover {
    background: #37475a;
}

.btn-danger {
    background: #fff;
    color: var(--danger);
    border-color: #f5c2c0;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 13px;
}

.input,
select.input,
textarea.input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.field-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
}

/* ---------- Paneles ---------- */
.panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.panel + .panel {
    margin-top: 16px;
}

.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ---------- Carrito ---------- */
.cart-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-thumb {
    font-size: 48px;
    text-align: center;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    margin-top: 10px;
}

.qty-form {
    display: flex;
    gap: 6px;
    align-items: center;
}

.qty-form input {
    width: 60px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

/* ---------- Tablas ---------- */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.table th,
.table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.table th {
    background: #f7f8f8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted);
}

/* ---------- Estado (pills) ---------- */
.pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #eef1f2;
    color: var(--muted);
}

.pill-pendiente { background: #fff4e5; color: #a05a00; }
.pill-pagado { background: #e7f0ff; color: #0b5cab; }
.pill-enviado { background: #eaf1ff; color: #1d4ed8; }
.pill-entregado { background: #e7f6f1; color: var(--success); }
.pill-cancelado { background: #fdeceb; color: var(--danger); }

/* ---------- Paginación ---------- */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
}

.pagination .active {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--brand-2);
    color: #ddd;
    padding: 24px 0;
    font-size: 13px;
    text-align: center;
}

/* ---------- Auth ---------- */
.auth-wrap {
    max-width: 380px;
    margin: 24px auto;
}

/* ---------- Admin ---------- */
.admin-body {
    background: #f3f4f6;
}

.admin-shell {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 100vh;
}

.admin-side {
    background: var(--brand);
    color: #fff;
    padding: 20px 0;
}

.admin-side .logo {
    padding: 0 20px 16px;
    display: block;
    font-size: 18px;
}

.admin-side nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d7dadc;
    padding: 9px 20px;
    font-size: 14px;
}

.admin-side nav a:hover,
.admin-side nav a.active {
    background: var(--brand-2);
    color: #fff;
    text-decoration: none;
}

.admin-side nav a.active {
    box-shadow: inset 3px 0 0 var(--accent);
}

.admin-side nav a.sub {
    padding-left: 48px;
    font-size: 13px;
    color: #b9bec2;
}

.admin-side nav a.sub.active {
    box-shadow: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
}

.admin-side .nav-icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.admin-side .nav-label {
    display: block;
    padding: 16px 20px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8f979c;
}

.admin-side .nav-label:first-child {
    padding-top: 4px;
}

.admin-main {
    padding: 24px 28px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.stat .label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .03em;
}

.stat .value {
    font-size: 26px;
    font-weight: 700;
    margin-top: 6px;
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ---------- Catalogo con filtros ---------- */
.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

.filters .panel h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.filter-tree,
.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.9;
}

.filter-tree ul {
    list-style: none;
    margin: 0;
    padding-left: 14px;
    font-size: 13px;
}

.filter-tree a,
.filter-list a {
    color: var(--ink);
}

.filter-tree a.is-active,
.filter-list a.is-active {
    font-weight: 700;
    color: var(--link);
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.catalog-toolbar form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-toolbar select {
    width: auto;
    padding: 6px 10px;
}

/* ---------- Etiquetas ---------- */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    background: #eef1f2;
    color: var(--ink);
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 12px;
}

.tag:hover {
    background: #e2e6e7;
    text-decoration: none;
}

.tag.is-active {
    background: var(--brand-2);
    color: #fff;
}

/* ---------- Tarjeta de producto (nuevos datos) ---------- */
.badge-sale {
    background: var(--success);
}

.product-brand {
    font-size: 12px;
    color: var(--link);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.product-short {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
}

.meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 6px 0 10px;
    flex-wrap: wrap;
}

.ship-tag {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.price-old {
    display: block;
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 400;
}

.price-sale {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Detalle de producto ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: start;
}

.gallery-main {
    font-size: 150px;
    text-align: center;
    background: #f7f8f8;
    border-radius: var(--radius);
    padding: 40px 0;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.gallery-thumb {
    font-size: 34px;
    background: #f7f8f8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 12px;
    cursor: pointer;
}

.gallery-thumb.is-active {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 2px var(--accent);
}

.product-buy {
    position: sticky;
    top: 16px;
}

.buy-brand {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.buy-title {
    font-size: 22px;
    margin: 4px 0 8px;
}

.buy-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 4px;
}

.block {
    margin-top: 24px;
}

.block h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.feature-list {
    margin: 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 4px;
}

.plain-list {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.specs-table th,
.specs-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.specs-table th {
    width: 38%;
    color: var(--muted);
    font-weight: 600;
    background: #fafbfb;
}

/* ---------- Filas dinamicas (admin) ---------- */
.repeat-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.repeat-row .input {
    flex: 1;
}

.repeat-row .remove-row {
    flex: 0 0 auto;
}

.repeat-actions {
    margin: 4px 0 16px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 12px;
}

@media (max-width: 820px) {
    .two-col,
    .admin-shell,
    .catalog-layout,
    .product-detail,
    .form-grid-2,
    .form-grid-4 {
        grid-template-columns: 1fr;
    }

    .header-main {
        flex-wrap: wrap;
    }

    .search {
        order: 3;
        flex-basis: 100%;
    }

    .product-buy {
        position: static;
    }
}

/* ---------- Backoffice: inventario y ofertas ---------- */
.admin-top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin: 0;
}

.input-tiny {
    width: 64px;
    padding: 5px 8px;
}

.btn-warn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.btn-warn:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
}

.offers-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.offers-toolbar label {
    font-weight: 600;
    font-size: 14px;
}

.offers-count {
    margin-left: auto;
    font-size: 13px;
}

.row-on-sale {
    background: #fffaf0;
}

/* ---------- Publicidad en video ---------- */
.video-thumb {
    width: 84px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.video-preview {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.video-preview iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Espacio publicitario visible (slot en la tienda) ---------- */
.ad-slot {
    margin-top: 24px;
}

.ad-slot-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ad-slot-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}

.ad-slot-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Progreso de envio del pedido ---------- */
.order-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 0;
}

.order-step {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 92px;
    color: var(--muted);
    font-size: 13px;
}

.order-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfd4d4;
    flex: 0 0 auto;
}

.order-step.is-done {
    color: var(--ink);
    font-weight: 600;
}

.order-step.is-done .order-dot {
    background: #2ea44f;
}

.order-step.is-current .order-dot {
    background: #1f6feb;
    box-shadow: 0 0 0 3px rgba(31, 111, 235, .18);
}

/* ---------- Imagenes subidas ---------- */
.product-img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gallery-main .gallery-img {
    max-height: 360px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gallery-main .media-emoji {
    font-size: 96px;
    line-height: 1.2;
}

.gallery-thumb .thumb-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.admin-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.cell-thumb {
    font-size: 22px;
}

.media-preview {
    margin-top: 8px;
}

.field-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 6px 0 4px;
}

.mt-8 {
    margin-top: 8px;
}

/* ---------- Metodos de pago (checkout) ---------- */
.payment-options {
    display: grid;
    gap: 8px;
}

.payment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color .15s ease;
}

.payment-option:hover {
    border-color: var(--accent-2);
}

.payment-option input[type="radio"] {
    margin-top: 3px;
}

.payment-option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-option-name {
    font-weight: 600;
}

.payment-option-desc {
    font-size: 13px;
    color: var(--muted);
}

.payment-option-instructions {
    grid-column: 2;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px dashed var(--line);
    margin-top: 6px;
    padding-top: 6px;
    display: none;
}

.payment-option input[type="radio"]:checked ~ .payment-option-instructions {
    display: block;
}

/* ---------- Ubicaciones (admin) ---------- */
.location-block {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 12px;
    margin-bottom: 8px;
}

.location-block summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.location-count {
    color: var(--muted);
    font-size: 13px;
}

.location-cities {
    list-style: none;
    margin: 8px 0;
    padding: 0;
}

.location-cities li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px dashed var(--line);
}

.location-add {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.location-add .input {
    flex: 1;
}

/* ---------- Reporteria ---------- */
.report-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.report-range {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.report-range .field {
    margin: 0;
}

.report-quick {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stat-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

.delta {
    font-weight: 700;
}

.delta-up {
    color: var(--success);
}

.delta-down {
    color: var(--danger);
}

.bar-track {
    height: 8px;
    border-radius: 6px;
    background: var(--line);
    overflow: hidden;
    margin-bottom: 3px;
}

.bar-track span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--link);
}

.text-danger {
    color: var(--danger);
}

/* ---------- Publicidad y anunciantes ---------- */
.pill-activo {
    background: #e7f6f1;
    color: var(--success);
}

.pill-aprobada {
    background: #e7f6f1;
    color: var(--success);
}

.pill-pausado {
    background: #fff4e5;
    color: #a05a00;
}

.pill-rechazado {
    background: #fdeceb;
    color: var(--danger);
}

.pill-vencido {
    background: #eceff1;
    color: var(--muted);
}

.plan-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.plan-card:hover {
    border-color: var(--link);
    background: #f7fbfc;
}

.plan-card input {
    margin-top: 3px;
}

.plan-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-name {
    font-weight: 700;
}

.plan-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--link);
}

/* ---------- Variantes y reseñas ---------- */
.rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 2px;
}

.stars {
    color: #f5a623;
    letter-spacing: 1px;
    font-size: 15px;
}

.stars-lg {
    font-size: 22px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.review-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.review-title {
    font-size: 15px;
}

.review-comment {
    margin: 0 0 8px;
    white-space: pre-line;
}

.review-meta {
    font-size: 12px;
    color: var(--muted);
}

.review-form {
    max-width: 640px;
}

.variant-box {
    margin: 10px 0;
}

.variant-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
}

@media (max-width: 760px) {
    .variant-row {
        grid-template-columns: 1fr 1fr;
    }
}
