/* ════════════════════════════════════════════════════════════════════════
   ECOTIRE PRODUCT CARD COMPONENT SYSTEM
   Unified CSS for all product card layouts across the theme
════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════════
   SECTION 1: CORE PRODUCT CARD CLASSES (.tr-*)
   Base card structure used in: search, offers, brand pages
════════════════════════════════════════════════════════════════════════ */

.tr-page { max-width:1100px; margin:0 auto; padding:0px 16px 60px; font-family:'Poppins',sans-serif; }

/* ── Results bar ───────────────────────────────────────────────────────── */
.tr-results-bar {
    display: flex; align-items: center; gap: clamp(8px, 2vw, 40px); flex-wrap: nowrap;
    background: #2b2b2b; color: #fff; border-radius: 0px 0px 8px 8px;
    padding: 10px 20px; font-size: 13px; width: 100%;
    box-sizing: border-box;
    transition: border-radius .25s ease;
}
.tr-filter-btn {
    background: none; border: none; color: #ccc; cursor: pointer;
    display: flex; align-items: center; gap: 6px; font-size: 13px;
    font-family: inherit; padding: 0; white-space: nowrap;
}
.tr-filter-btn:hover { color: #fff; }
.tr-size-lbl { font-weight: 600; text-align: center; flex: 1; }
.tr-size-lbl a { color: #16a34a; text-decoration: none; font-size: 12px; margin-right: 6px; }
.tr-count { color: #f5a623; font-weight: 700; white-space: nowrap; }

/* ── Staggered size headline ───────────────────────────────────────────── */
.tr-stag-headline {
    text-align:center; margin-bottom:18px; font-size:14px;
    direction:rtl; font-weight:700;
}
.tr-stag-headline .front-lbl { color:#16a34a; }
.tr-stag-headline .rear-lbl  { color:#16a34a; }
.tr-stag-headline .sep       { color:#bbb; margin:0 10px; }

/* ── Bundle grid ───────────────────────────────────────────────────────── */
.tr-bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 860px) { .tr-bundle-grid { grid-template-columns: 1fr; } }

/* Bundle wrapper (rear card + front card + shared footer) */
.tr-bundle {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.08);
    transition: box-shadow .3s ease, transform .2s ease;
}
.tr-bundle:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 8px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Two cards side by side — override new card styles for this context */
.tr-bundle-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
}
.tr-bundle-cards .tr-card {
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    padding: 14px 12px 10px;
    border-right: 1px solid #f0f0f0!important;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: none !important;
}
.tr-bundle-cards .tr-card:last-child { border-right: none !important; }
.tr-bundle-cards .tr-card:hover      { transform: none !important; box-shadow: none !important; }

/* Bundle: smaller tyre image */
.tr-bundle-cards .tr-tyre-img { max-width: 120px; height: 110px; }

/* Bundle: hide elements that don't exist in its inline HTML */
.tr-bundle-cards .tr-offer-banner,
.tr-bundle-cards .tr-install-row,
.tr-bundle-cards .tr-info-row,
.tr-bundle-cards .tr-badges-row,
.tr-bundle-cards .tr-card__actions { display: none; }

/* Bundle: legacy price row (.tr-price / .tr-dec structure) */
.tr-bundle-cards .tr-card__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 6px;
    border-top: 1px solid #f5f5f5;
    margin-top: auto;
}
.tr-bundle-cards .tr-price          { display:flex; align-items:baseline; gap:3px; direction:rtl; }
.tr-bundle-cards .tr-currency       { font-size:12px; color:#888; font-weight:600; }
.tr-bundle-cards .tr-price strong   { font-size:22px; font-weight:800; color:#1a1a1a; line-height:1.1; }
.tr-bundle-cards .tr-dec            { font-size:12px; color:#888; font-weight:500; }

/* Bundle: compact qty selector */
.tr-bundle-cards .tr-qty-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7f8f6;
    border: 1.5px solid #a9a9a9;
    border-radius: 8px;
    min-height: 36px;
    flex-shrink: 0;
}
.tr-bundle-cards .tr-qty {
    appearance: none; -webkit-appearance: none;
    background: transparent; border: none;
    padding: 6px 24px 6px 10px;
    font-size: 12px; font-weight: 600; color: #1a1a1a;
    cursor: pointer; font-family: inherit;
}
.tr-bundle-cards .tr-qty-arrow { position:absolute; right:8px; pointer-events:none; font-size:9px; color:#aaa; }

/* Bundle: stars hidden (no rating badge in bundle) */
.tr-bundle-cards .tr-stars { display: none; }

/* Bundle: img wrap reset (no padding needed) */
.tr-bundle-cards .tr-card__img-wrap { padding: 8px 0 4px; }

/* Bundle: head (brand only, no rating badge in bundle) */
.tr-bundle-cards .tr-card__head { padding: 0 0 6px; }
.tr-bundle-cards .tr-rating-badge { display: none; }

/* ── Bundle footer (shared) ──────────────────────────────────────────── */
.tr-bundle-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 14px 16px;
    background: #fafafa;
}
.tr-bundle-footer__left  { display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.tr-bundle-footer__right {
    text-align: center;
    border-right: 1px solid #e8e8e8;
    padding-right: 16px;
    direction: rtl;
}

.tr-install { display:flex; align-items:center; gap:6px; font-size:11px; color:#888; direction:rtl; letter-spacing:.2px; }
.tr-install strong { color:#a31616; font-weight:700; }

.tr-full-price-link {
    display: inline-flex; align-items:center; gap:3px;
    font-size:11px; color:#0066cc; text-decoration:underline;
    cursor:pointer; margin-bottom:3px; font-weight:500;
}
.tr-set4-label { font-size:11px; color:#999; margin-bottom:2px; }
.tr-set4-price { font-size:12px; color:#1a1a1a; }
.tr-set4-price strong { font-size:13px; font-weight:800; color:#1a1a1a; }
.tr-set4-price span   { font-size:11px; color:#999; }

/* ── Standard grid (4-col) ───────────────────────────────────────────── */
.tr-std-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}
@media (max-width:900px) { .tr-std-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .tr-std-grid { grid-template-columns: 1fr; } }

.tr-std-grid .tr-card { height: 100%; }

/* ── Empty state ─────────────────────────────────────────────────────── */
.tr-empty { text-align:center; padding:60px 20px; color:#bbb; }
.tr-empty h3 { font-size:18px; color:#888; margin-bottom:8px; }
.tr-empty a  { color:#16a34a; }

.tr-section-title { font-size:20px; font-weight:700; color:#1a1a1a; margin:0 0 16px; direction:rtl; }
.tr-section-title .red { color:#16a34a; }


/* ════════════════════════════════════════════════════════════════════
   UNIFIED PRODUCT CARD  (.tr-card)
   New Figma design: green border, two-tone banner, orange rating badge,
   clean image, green name, centered price, lime badges row
════════════════════════════════════════════════════════════════════ */

.tr-card {
    position: relative;
    background: #fff;
    border: 2.5px solid #adadad;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    transition: box-shadow .3s ease, transform .25s ease;
}
.tr-card:hover {
    box-shadow: 0 6px 24px rgba(22,163,74,.18);
    transform: translateY(-3px);
}

/* ── Two-tone offer banner (shown only when $offerBadge is set) ── */
.tr-offer-banner {
    display: flex;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    flex-shrink: 0;
}
.tr-offer-banner__left {
    flex: 1;
    background: #e93838;
    color: #fff;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.tr-offer-banner__left strong { font-size: 12px; font-weight: 800; }
.tr-offer-banner__left span   { font-size: 10px; font-weight: 500; opacity: .9; }
.tr-offer-banner__right {
    flex: 1;
    background: #202020;
    color: #fff;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: right;
}
.tr-offer-banner__right strong { font-size: 12px; font-weight: 800; }
.tr-offer-banner__right span   { font-size: 10px; font-weight: 500; opacity: .9; }

/* ── Offer banner single (full card width) ── */
.tr-offer-banner--single {
    background: #e93838;
    color: #fff;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.tr-offer-banner--single strong { font-size: 12px; font-weight: 800; }
.tr-offer-banner--single span   { font-size: 10px; font-weight: 500; opacity: .9; }

/* ── Head: brand logo + optional rating badge ── */
.tr-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 8px;
    min-height: 52px;
    flex-shrink: 0;
}
.tr-card__brand {
    display: flex;
    align-items: center;
    min-height: 30px;
}
.tr-brand-logo { max-height: 38px; max-width: 120px; object-fit: contain; }
.tr-brand-name { font-size: 13px; font-weight: 700; color: #1a1a1a; }

/* Rating badge — orange pill (top-right of head) */
.tr-rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ff980f;
    border: 2px solid #ffe785;
    border-radius: 10px;
    padding: 4px 8px;
    min-width: 58px;
    gap: 2px;
    flex-shrink: 0;
}
.tr-rating-score {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}
.tr-rating-stars {
    font-size: 10px;
    line-height: 1;
    display: flex;
    gap: 1px;
}

/* ── Tyre image (clean, no overlay badges) ── */
.tr-card__img-wrap {
    display: block;
    text-align: center;
    padding: 8px 12px 4px;
    text-decoration: none;
}
.tr-tyre-img {
    max-width: 200px;
    height: 180px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.tr-img-ph {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tr-img-ph svg { width: 80px; height: 80px; }

/* Legacy image overlay badges — kept for bundle card backward-compat */
.tr-badge           { position: absolute; font-size: 11px; font-weight: 600; }
.tr-badge-year      { bottom:4px; left:0; background:#555; color:#fff; border-radius:4px; padding:2px 6px; line-height:1.4; text-align:center; }
.tr-badge-year-val  { display:block; font-size:12px; font-weight:700; }
.tr-badge-country   { display:block; font-size:10px; font-weight:400; }
.tr-badge-warranty  { top:4px; right:0; background:#16a34a; color:#fff; border-radius:4px; padding:3px 6px; text-align:center; line-height:1.3; }
.tr-badge-warranty strong { display:block; font-size:13px; }
.tr-badge-warranty span   { font-size:9px; font-weight:700; display:block; }
.tr-badge-warranty small  { font-size:9px; }

/* ── Product name + spec ── */
.tr-card__info {
    padding: 4px 12px 8px;
    text-align: center;
    flex: 1;
}
.tr-name {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.5;
}
.tr-name a { color: #16a34a; text-decoration: none; }
.tr-name a:hover { text-decoration: underline; }
.tr-spec {
    font-size: 11px;
    color: #777;
    margin: 0;
    line-height: 1.5;
    letter-spacing: .3px;
}
/* Legacy stars — hidden (replaced by head rating badge) */
.tr-stars       { display: none; }
.tr-no-rating   { display: none; }
.tr-rating-val  { display: none; }
.tr-role-lbl    { color: #16a34a; font-weight: 700; margin-left: 3px; }

/* ── Price row ── */
.tr-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    padding: 4px 12px 8px;
    direction: ltr;
}
.tr-currency  { font-size: 13px; color: #888; font-weight: 600; }
.tr-price-int { font-size: 32px; font-weight: 800; color: #1a1a1a; line-height: 1.1; }
.tr-price-dec { font-size: 16px; color: #888; font-weight: 500; }

/* ── Qty selector + Add to Cart button ── */
.tr-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 8px;
}
.tr-qty-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7f8f6;
    border: 1.5px solid #a9a9a9;
    border-radius: 10px;
    min-height: 48px;
    flex-shrink: 0;
    min-width: 66px;
}
.tr-qty {
    appearance: none; -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 8px 28px 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}
.tr-qty:focus { outline: none; }
.tr-qty-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    font-size: 10px;
    color: #888;
}
.tr-btn-cart {
    flex: 1;
    min-height: 48px;
    padding: 0 12px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: background .2s ease;
}
.tr-btn-cart:hover  { background: #15803d; }
.tr-btn-cart:active { background: #166534; }
.tr-btn-cart:disabled { opacity: .6; cursor: wait; }

/* ── Installation row (gray pill) ── */
.tr-install-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 12px 8px;
    padding: 8px 12px;
    background: #f7f8f6;
    border-radius: 10px;
    font-size: 12px;
    color: #555;
    flex-shrink: 0;
}
.tr-install-day {
    color: #a31616;
    font-weight: 700;
}

/* ── Full price / Set of 4 row (gray pill) ── */
.tr-info-row {
    display: flex;
    align-items: center;
    margin: 0 12px 8px;
    padding: 7px 12px;
    background: #f6f8f5;
    border-radius: 10px;
    font-size: 11px;
    gap: 8px;
    flex-shrink: 0;
}
.tr-info-row--vertical {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
}
.tr-info-row--vertical .tr-info-row__link,
.tr-info-row--vertical .tr-info-row__set4 {
    white-space: normal;
    width: 100%;
}
.tr-info-row__link {
    flex: 1;
    color: #0066cc;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}
.tr-info-row__link:hover { text-decoration: underline; }
.tr-info-divider {
    width: 1px;
    height: 18px;
    background: #dadada;
    flex-shrink: 0;
}
.tr-info-row__set4 {
    color: #555;
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
}

/* ── Year / Warranty badges (lime green pill) ── */
.tr-badges-row {
    display: flex;
    align-items: stretch;
    margin: 0 12px 12px;
    background: #d5ff72;
    border-radius: 10px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: #1a2e0d;
    flex-shrink: 0;
}
.tr-badge-item {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    line-height: 1.3;
}
.tr-badges-divider {
    width: 1px;
    background: #c5f94b;
    flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 2: OFFER PAGE EXTENSIONS (.odp-*)
   Extends .tr-* classes with offer-specific styling
════════════════════════════════════════════════════════════════════════ */

.odp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 70px;
    font-family: 'Poppins', sans-serif;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.odp-breadcrumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 13px; color: #999; margin-bottom: 18px;
}
.odp-breadcrumb a { color: #666; text-decoration: none; }
.odp-breadcrumb a:hover { color: #16a34a; }
.odp-breadcrumb .sep     { color: #ccc; font-size: 12px; }
.odp-breadcrumb .current { color: #333; }

/* ── Title ─────────────────────────────────────────────── */
.odp-title {
    font-size: 26px; font-weight: 800; text-transform: uppercase;
    color: #111; line-height: 1.25; margin: 0 0 16px; letter-spacing: .3px;
}
.odp-title .red { color: rgb(22, 163, 74); }

/* ── Social share ──────────────────────────────────────── */
.odp-share { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.odp-share a {
    display: inline-flex; align-items:center; gap:7px;
    padding: 8px 16px; border-radius:4px;
    font-size: 13px; font-weight:600; color:#fff;
    text-decoration: none; transition:opacity .15s;
}
.odp-share a:hover { opacity: .85; }
.odp-share .sh-fb { background:#1877f2; }
.odp-share .sh-tw { background:#1da1f2; }
.odp-share .sh-pt { background:#e60023; }
.odp-share .sh-li { background:#0a66c2; }

/* ── Banner ────────────────────────────────────────────── */
.odp-banner       { margin-bottom:28px; }
.odp-banner img   { display:block; width:100%; max-width:884px; border-radius:6px; }

/* ── Content sections ──────────────────────────────────── */
.odp-body, .odp-terms {
    max-width: 884px; font-size:15px; line-height:1.8; color:#333; margin-bottom:24px;
}
.odp-body h2, .odp-body h3, .odp-terms h2, .odp-terms h3 {
    font-size:16px; font-weight:700; color:#111;
    text-transform:uppercase; margin:0 0 14px; letter-spacing:.3px;
}
.odp-body ul, .odp-terms ul { margin:0 0 16px; padding-inline-start:0; list-style:none; }
.odp-body ul li, .odp-terms ul li {
    padding:6px 0 6px 28px; position:relative;
    font-size:14px; color:#444; border-bottom:1px solid #f5f5f5;
}
.odp-body ul li::before, .odp-terms ul li::before {
    content:''; position:absolute; left:8px; top:14px;
    width:8px; height:8px; border-radius:50%; border:2px solid #16a34a;
}

/* ── Products heading ──────────────────────────────────── */
.odp-products-heading {
    font-size:22px; font-weight:800; text-transform:uppercase;
    color:#111; margin:36px 0 20px; padding-bottom:10px;
    border-bottom:2px solid #f0f0f0;
}
.odp-products-heading span { color:rgb(22, 163, 74); }

/* ── Product grid ──────────────────────────────────────── */
.odp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    align-items: stretch;
}
@media (max-width:960px) { .odp-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:500px) { .odp-grid { grid-template-columns: 1fr; } }

/* Card inside offer grid — unified card handles all visual styling */
.odp-grid .tr-card { height: 100%; }

/* ── Pagination ────────────────────────────────────────── */
.odp-pagination {
    display: flex; align-items:center; justify-content:center;
    gap: 6px; flex-wrap:wrap; margin-top:10px;
}
.odp-pag-btn {
    min-width:36px; height:36px;
    display: inline-flex; align-items:center; justify-content:center;
    border: 1px solid #ddd; border-radius:6px;
    background: #fff; color:#444;
    font-size:13px; font-weight:600; cursor:pointer;
    font-family:inherit; transition:all .15s; padding:0 10px;
}
.odp-pag-btn:hover   { border-color:#16a34a; color:#16a34a; }
.odp-pag-btn.active  { background:#16a34a; border-color:#16a34a; color:#fff; }
.odp-pag-btn:disabled { opacity:.4; cursor:default; }
.odp-pag-info { font-size:13px; color:#888; margin:0 6px; }


/* ════════════════════════════════════════════════════════════════════════
   SECTION 3: BRAND PAGE EXTENSIONS (.bvp-*)
   Extends .tr-* classes with brand detail page styling
════════════════════════════════════════════════════════════════════════ */

.bvp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 70px;
    font-family: 'Poppins', sans-serif;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.bvp-breadcrumb {
    display:flex; align-items:center; gap:6px; flex-wrap:wrap;
    font-size:13px; color:#999; margin-bottom:18px;
}
.bvp-breadcrumb a { color:#666; text-decoration:none; transition:color .2s; }
.bvp-breadcrumb a:hover { color:#16a34a; }
.bvp-breadcrumb .sep     { color:#ccc; font-size:12px; }
.bvp-breadcrumb .current { color:#333; font-weight:600; }

/* ── Brand header ──────────────────────────────────────── */
.bvp-brand-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.bvp-brand-logo-wrap {
    display: flex; align-items:center; justify-content:center;
    height: 70px; margin-bottom:16px;
}
.bvp-brand-logo { max-height:60px; max-width:150px; object-fit:contain; }
.bvp-heading {
    font-size: 28px; font-weight:800; text-transform:uppercase;
    color: #1a1a1a; line-height:1.25; margin:0; letter-spacing:.3px;
}
.bvp-heading .blue { color:#4a90d9; }
.bvp-heading .red  { color:#16a34a; }

/* ── Product count bar ─────────────────────────────────── */
.bvp-count-bar {
    display:flex; align-items:center; gap:6px;
    background:#2b2b2b; color:#fff; padding:10px 16px;
    border-radius:8px; margin-bottom:20px; font-size:13px;
}
.bvp-count-label { font-weight:600; }
.bvp-count-num   { color:#f5a623; font-weight:700; }

/* ── Product grid ──────────────────────────────────────── */
.bvp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    align-items: stretch;
}
@media (max-width:900px) { .bvp-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .bvp-grid { grid-template-columns: 1fr; } }

/* Card inside brand grid — unified card handles all visual styling */
.bvp-grid .tr-card { height: 100%; }

/* ── Pagination ────────────────────────────────────────── */
.bvp-pagination {
    display: flex; align-items:center; justify-content:center;
    gap: 6px; flex-wrap:wrap; padding:20px 0;
}
.bvp-pag-btn {
    display: inline-flex; align-items:center; justify-content:center;
    min-width:36px; height:36px; border:1px solid #e0e0e0;
    border-radius:6px; background:#fff; color:#333;
    font-size:13px; font-weight:600; cursor:pointer;
    font-family:inherit; transition:all .2s; padding:0 8px;
}
.bvp-pag-btn:hover   { border-color:#16a34a; color:#16a34a; background:#fff; }
.bvp-pag-btn.active  { background:#16a34a; border-color:#16a34a; color:#fff; }
.bvp-pag-btn:disabled { opacity:.4; cursor:default; }
.bvp-pag-info { font-size:13px; color:#888; margin:0 6px; }

.bvp-empty { text-align:center; padding:60px 20px; color:#bbb; }


/* ════════════════════════════════════════════════════════════════════════
   SECTION 4: FULL PRICE PER TYRE MODAL (.trpm-*)
   Shared across all product pages
════════════════════════════════════════════════════════════════════════ */

.trpm-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.trpm-overlay.open { display: flex; }
.trpm-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px 44px 36px;
    max-width: 580px;
    width: calc(100% - 32px);
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    direction: ltr;
}
.trpm-close {
    position: absolute; top:-14px; right:-14px;
    width:34px; height:34px;
    background: #16a34a; color:#fff;
    border: none; border-radius:50%;
    font-size:18px; font-weight:700;
    cursor: pointer;
    display: flex; align-items:center; justify-content:center;
    line-height: 1;
}
.trpm-close:hover { background: #15803d; }
.trpm-title {
    font-size:18px; font-weight:800; color:#1a1a1a;
    text-transform:uppercase; margin:0 0 18px; letter-spacing:.3px;
}
.trpm-intro { font-size:14px; color:#333; line-height:1.75; margin:0 0 16px; }
.trpm-list  { margin:0 0 0 20px; padding:0; list-style:disc; }
.trpm-list li { font-size:13px; color:#333; line-height:1.75; margin-bottom:4px; }

@media (max-width:600px) {
    .trpm-box   { padding:28px 20px 24px; }
    .trpm-title { font-size:15px; }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 5: RTL LANGUAGE OVERRIDES [dir="rtl"]
════════════════════════════════════════════════════════════════════════ */

/* Offer banner — swap sides in RTL */
[dir="rtl"] .tr-offer-banner          { flex-direction: row-reverse; }
[dir="rtl"] .tr-offer-banner__right   { text-align: left; }
[dir="rtl"] .tr-offer-banner__left    { text-align: right; }

/* Head row — brand on right, rating badge on left */
[dir="rtl"] .tr-card__head { flex-direction: row-reverse; }

/* Product name link — green in both directions */
[dir="rtl"] .tr-name a { color: #16a34a; }

/* Price row — keep ltr for numerals */
[dir="rtl"] .tr-card__price { direction: ltr; }

/* Actions row — reverse for RTL */
[dir="rtl"] .tr-card__actions { flex-direction: row-reverse; }
[dir="rtl"] .tr-qty-arrow     { right: auto; left: 10px; }

/* Install row — reverse text order */
[dir="rtl"] .tr-install-row {  justify-content: flex-start; text-align: right; }

/* Info row — reverse link and set-of-4 sides */

[dir="rtl"] .tr-info-row__set4    { text-align: left; }
/* Vertical info row RTL — set direction to maintain flex order */
[dir="rtl"] .tr-info-row--vertical { direction: ltr; align-items: flex-end; }
[dir="rtl"] .tr-info-row--vertical .tr-info-row__link { text-align: right; direction: rtl; }
[dir="rtl"] .tr-info-row--vertical .tr-info-row__set4 { text-align: right; direction: rtl; }

/* Badges row — symmetric, no direction change needed */
[dir="rtl"] .tr-badges-row { direction: rtl; }

/* Bundle card internals RTL */
[dir="rtl"] .tr-bundle-cards .tr-card    { border-right: none!important; border-left: 1px solid #f0f0f0!important; }
[dir="rtl"] .tr-bundle-cards .tr-qty-arrow { right:auto; left:8px; }
[dir="rtl"] .tr-bundle-footer__right     { border-right:none; border-left:1px solid #e8e8e8; padding-right:0; padding-left:16px; }

/* Legacy overlay badges RTL (bundle cards) */
[dir="rtl"] .tr-badge-year      { left: auto; right: 0; }
[dir="rtl"] .tr-badge-warranty  { right: auto; left: 0; }

/* Offer page RTL */
[dir="rtl"] .odp-breadcrumb             { justify-content: flex-start; }
[dir="rtl"] .odp-share                  { justify-content: flex-start; }
[dir="rtl"] .odp-title                  { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .odp-products-heading       { letter-spacing: 0; }
[dir="rtl"] .odp-body,
[dir="rtl"] .odp-terms                  { text-align: right; direction: rtl; }
[dir="rtl"] .odp-body ul li,
[dir="rtl"] .odp-terms ul li            { padding: 6px 28px 6px 0; }
[dir="rtl"] .odp-body ul li::before,
[dir="rtl"] .odp-terms ul li::before   { left: auto; right: 8px; }

/* Brand page RTL */
[dir="rtl"] .bvp-breadcrumb { justify-content: flex-start; }
[dir="rtl"] .bvp-heading    { letter-spacing: 0; }
[dir="rtl"] .bvp-count-bar  { direction: rtl; }
[dir="rtl"] .bvp-pagination { direction: rtl; }

/* Modal RTL */
[dir="rtl"] .trpm-close { right: auto; left: -14px; }
[dir="rtl"] .trpm-list  { margin: 0 20px 0 0; }
[dir="rtl"] .trpm-title { letter-spacing: 0; }
