/* =========================================================
   VigoAsia — Home page
   ========================================================= */

/* ---------- Hero (image-only slider) ---------- */
.hero { position: relative; overflow: hidden; background: #0b0f1a; aspect-ratio: 1200 / 316; max-height: 460px; width: 100%; }
.carousel__slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .8s ease; }
.carousel__slide.is-active { opacity: 1; z-index: 1; }
.carousel__slide > img { width: 100%; height: 100%; object-fit: cover; }
.carousel__dots { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: all var(--t); }
.carousel__dot.is-active { width: 28px; background: var(--c-orange); }
.carousel__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.carousel__arrow:hover { background: rgba(255,255,255,.25); }
.carousel__arrow--prev { left: 18px; } .carousel__arrow--next { right: 18px; }

/* ---------- Mobile brand scroller ---------- */
.brand-scroller { display: none; }
.brand-scroller__track { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.brand-scroller__track::-webkit-scrollbar { display: none; }
.brand-pill { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 84px; height: 64px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 11px; font-weight: 600; text-align: center; }
.brand-pill small { font-size: 10px; color: var(--c-muted); font-weight: 500; }
.brand-pill:hover { border-color: var(--c-navy); color: var(--c-navy); }

/* ---------- Deal tiles ---------- */
.deal-tiles { display: flex; flex-wrap: wrap; --cols: 5; --gap: 12px; gap: var(--gap); }
.deal-tiles > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.deal-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 104px; padding: 14px; border-radius: var(--radius); color: #fff; transition: transform var(--t), box-shadow var(--t); }
.deal-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.deal-tile i { font-size: 22px; opacity: .95; }
.deal-tile b { font-size: 14px; font-weight: 700; line-height: 1.2; }
.deal-tile span { font-size: 11px; opacity: .85; }
.deal-tile::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.12); }
.deal--red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.deal--orange { background: linear-gradient(135deg, #2b2b2b, #0a0a0a); }
.deal--gold { background: linear-gradient(135deg, #d4a017, #a16207); }
.deal--navy { background: linear-gradient(135deg, #7f1d1d, #3b0a0d); }
.deal--cyan { background: linear-gradient(135deg, #1a1a1a 10%, #b3121c); }
.deal--green { background: linear-gradient(135deg, #22c55e, #15803d); }
.deal--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.deal-chip.deal--red, .deal-chip.deal--orange, .deal-chip.deal--gold, .deal-chip.deal--navy,
.deal-chip.deal--cyan, .deal-chip.deal--green, .deal-chip.deal--purple { background: #fff; }

/* ---------- Product sections ---------- */
.car-section { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-border); font-size: 12.5px; font-weight: 600; color: #4b5563; background: #fff; }
.tab:hover { border-color: var(--c-navy); color: var(--c-navy); }
.tab.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

/* ---------- Right sidebar ---------- */
.rightbar { display: flex; flex-direction: column; gap: 14px; }
.stock-carousel { position: relative; height: 150px; border-radius: var(--radius); overflow: hidden; }
.stock-carousel .carousel__slide { display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #fff; }
.stock-carousel .carousel__slide::after { display: none; }
.stock-carousel .carousel__slide b { font-size: 18px; font-weight: 800; position: relative; }
.stock-carousel .carousel__slide span { font-size: 12px; opacity: .9; position: relative; }
.stock-carousel .carousel__slide i { position: absolute; right: 14px; top: 14px; font-size: 34px; opacity: .25; }
.stock-carousel .carousel__dots { bottom: 8px; left: auto; right: 12px; transform: none; }
.stock-carousel .carousel__dot { width: 7px; height: 7px; }
.stock-carousel .carousel__dot.is-active { width: 18px; background: #fff; }
.sc-rhd { background: linear-gradient(135deg, #0f766e, #134e4a); }
.sc-sg { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.sc-jp { background: linear-gradient(135deg, #1f2937, #b91c1c); }
.sc-ae { background: linear-gradient(135deg, #a16207, #1f2937); }

.promo-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 150px; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo-card:hover img { transform: scale(1.06); }
.promo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.1) 70%); }
.promo-card__body { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; }
.promo-card__body b { display: block; font-size: 15px; font-weight: 700; }
.promo-card__body span { font-size: 11.5px; color: #e5e7eb; }
.promo-flat { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); color: #fff; }
.promo-flat i { font-size: 26px; }
.promo-flat b { display: block; font-size: 14px; }
.promo-flat span { font-size: 11.5px; opacity: .9; }
.promo-flat--uk { background: linear-gradient(135deg, #1d4ed8, #b91c1c); }
.promo-flat--acc { background: linear-gradient(135deg, #d7141e, #db2777); }
.promo-flat--fb { background: #1877f2; }

/* ---------- How to buy strip ---------- */
.steps { display: flex; flex-wrap: wrap; --cols: 4; --gap: 14px; gap: var(--gap); counter-reset: step; }
.steps > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 16px 16px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 14px; top: 10px; font-size: 30px; font-weight: 800; color: #eef2ff; }
.step i { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--c-navy); font-size: 18px; margin-bottom: 10px; }
.step b { display: block; font-size: 14px; margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--c-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
  .rightbar { flex-direction: row; flex-wrap: wrap; --cols: 4; --gap: 14px; }
  .rightbar > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
}
@media (max-width: 1199px) {
  .deal-tiles { --cols: 3; }
  .rightbar { --cols: 2; }
  .steps { --cols: 2; }
}
@media (max-width: 991px) {
  .carousel__arrow { display: none; }
  .brand-scroller { display: block; }
  .car-section { padding: 14px 12px; }
}
@media (max-width: 575px) {
  .hero { aspect-ratio: 12 / 5; }
  .carousel__dots { bottom: 8px; }
  .carousel__dot { width: 8px; height: 8px; }
  .deal-tiles { --cols: 2; --gap: 10px; }
  .deal-tile { min-height: 88px; padding: 12px; }
  .deal-tile:last-child { flex-basis: 100%; }
  .section-head { flex-wrap: wrap; }
  .rightbar { --cols: 1; }
  .steps { --cols: 1; }
}

/* ---------- Favourites page ---------- */
.fav-empty { text-align: center; padding: 50px 16px; }
.fav-empty > i { font-size: 54px; color: #fca5a5; }
.fav-empty h2 { font-size: 20px; margin: 12px 0 6px; }
.fav-empty p { color: var(--c-muted); margin-bottom: 18px; }
.car-card[hidden] { display: none !important; }
.brand-pill .make-logo--pill { width: 40px; height: 24px; margin-bottom: 2px; }
.brand-pill .make-logo--pill.make-logo--badge { width: 24px; height: 24px; }

/* ---------- New arrivals: 4 columns × 2 rows ---------- */
@media (min-width: 1200px) {
  .layout .layout__main .car-grid.car-grid--four { --cols: 4; --gap: 14px; }
  .layout .layout__main .car-grid--four.car-grid--limit .car-card:nth-child(n+7) { display: flex; }
  .layout .layout__main .car-grid--four.car-grid--limit .car-card:nth-child(n+9) { display: none; }
}

/* ---------- Top makers ---------- */
.maker-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.maker-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; text-align: center; color: var(--c-dark); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.maker-tile:hover { transform: translateY(-3px); border-color: var(--c-navy); box-shadow: 0 12px 24px -14px rgba(20, 20, 20,.45); color: var(--c-navy); }
.maker-tile__logo { display: flex; align-items: center; justify-content: center; height: 48px; }
.maker-tile .make-logo--tile { width: 72px; height: 44px; }
.maker-tile .make-logo--tile.make-logo--badge { width: 44px; height: 44px; font-size: 20px; margin: 0; }
.maker-tile__name { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.maker-tile__count { font-size: 12px; font-weight: 600; color: var(--c-orange-d, #a80f17); background: #fef2f2; padding: 2px 10px; border-radius: 999px; }
.maker-tile__rank { position: absolute; top: 8px; left: 8px; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--grad-orange, #d7141e); padding: 1px 7px; border-radius: 999px; }
@media (max-width: 1399px) { .maker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { .top-makers { display: none; } } /* phones use the "Shop by make" strip at the top */

/* search box: no title bar on big screens (phones keep it for the Show filters button) */
@media (min-width: 992px) { .search-panel > .search-panel__head { display: none; } }

/* ---------- How to buy (black panel, red steps) ---------- */
.howbuy { position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px 24px 20px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(215,20,30,.35) 0%, rgba(215,20,30,0) 45%), linear-gradient(135deg, #1c1c1c 0%, #0b0b0b 100%); box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); }
.howbuy::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.03); pointer-events: none; }
.howbuy__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.howbuy__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #ff5a63; }
.howbuy__head h2 { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: .2px; text-transform: uppercase; color: #fff; }
.howbuy__head h2 span { color: #ff3341; }
.howbuy__guide { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; transition: background var(--t), border-color var(--t); }
.howbuy__guide:hover { background: #fff; color: #111; border-color: #fff; }
.howbuy__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.howbuy__steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 17px; border-top: 2px dashed rgba(255,51,65,.55); }
.howbuy__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.howbuy__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ff3341, #b3121c); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 6px #151515, 0 8px 18px -6px rgba(215,20,30,.8); }
.howbuy__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 16px 0 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 24px; color: #fff; transition: transform var(--t), background var(--t); }
.howbuy__step:hover .howbuy__icon { transform: translateY(-4px); background: #d7141e; border-color: #d7141e; }
.howbuy__step b { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.howbuy__step p { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.72); max-width: 220px; }
.howbuy__step p strong { color: #fff; white-space: nowrap; }
.howbuy__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.howbuy__safe { display: block; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.8); }
.howbuy__safe i { color: #ff3341; font-size: 16px; margin-right: 6px; vertical-align: -2px; }
.howbuy__safe b { color: #fff; }
.howbuy__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: linear-gradient(135deg, #e3242f, #a80f17); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(215,20,30,.9); transition: transform var(--t); }
.howbuy__cta:hover { transform: translateY(-2px); color: #fff; }
@media (max-width: 991px) {
  .howbuy { padding: 20px 16px 16px; }
  .howbuy__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .howbuy__steps::before { display: none; }
  .howbuy__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .howbuy__cta { justify-content: center; }
}
@media (max-width: 575px) {
  .howbuy__head { flex-direction: column; align-items: flex-start; }
  .howbuy__head h2 { font-size: 18px; }
  .howbuy__steps { grid-template-columns: 1fr; }
  .howbuy__step { display: grid; grid-template-columns: 48px 1fr; grid-template-areas: "icon title" "icon text"; align-items: start; text-align: left; column-gap: 12px; padding: 0; }
  .howbuy__num { display: none; }
  .howbuy__icon { grid-area: icon; width: 48px; height: 48px; margin: 0; font-size: 19px; border-radius: 14px; background: #d7141e; border-color: #d7141e; }
  .howbuy__step b { grid-area: title; margin: 2px 0 2px; }
  .howbuy__step p { grid-area: text; max-width: none; }
}

/* ---------- Right sidebar banners ---------- */
.rb-banner { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: 0 10px 24px -16px rgba(0,0,0,.5); }
.rb-banner img { display: block; width: 100%; height: auto; transition: transform .5s; }
.rb-banner:hover img { transform: scale(1.04); }
.rb-banner--video { cursor: pointer; }
.rb-banner__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(215,20,30,.92); color: #fff; font-size: 20px; box-shadow: 0 0 0 8px rgba(255,255,255,.25); transition: transform var(--t); }
.rb-banner__play i { margin-left: 3px; }
.rb-banner--video:hover .rb-banner__play { transform: scale(1.1); }
.rb-banner--video::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 rgba(215,20,30,0); transition: box-shadow var(--t); }
.rb-banner--video:hover::after { box-shadow: inset 0 0 0 3px #d7141e; }
.rb-banner__tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.75); color: #fff; font-size: 11.5px; font-weight: 600; }
.rb-banner__tag i { color: #ff0033; font-size: 13px; }

/* Shipping schedule card */
.ship-card { position: relative; overflow: hidden; display: grid; align-content: space-between; grid-template-columns: auto 1fr; grid-template-areas: "icon body" "cta cta"; gap: 12px 12px; padding: 16px; border-radius: var(--radius); color: #fff; background: linear-gradient(140deg, #0d0d0d 0%, #1d1d1d 55%, #5c0a10 100%); box-shadow: 0 10px 24px -16px rgba(0,0,0,.55); }
.ship-card__icon { grid-area: icon; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #ff3341, #a80f17); font-size: 21px; box-shadow: 0 8px 18px -8px rgba(215,20,30,.9); }
.ship-card__body { grid-area: body; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.ship-card__body small { font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #ff5a63; }
.ship-card__body b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.ship-card__body span { font-size: 11.5px; color: rgba(255,255,255,.7); margin-top: 2px; }
.ship-card__cta { grid-area: cta; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; color: #111; font-size: 13px; font-weight: 700; transition: background var(--t), color var(--t); }
.ship-card__cta i:first-child { color: #d7141e; }
.ship-card__cta i:last-child { font-size: 11px; opacity: .6; }
.ship-card:hover .ship-card__cta { background: #d7141e; color: #fff; }
.ship-card:hover .ship-card__cta i { color: #fff; opacity: 1; }
.ship-card__waves { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,255,255,.04); box-shadow: 0 0 0 22px rgba(255,255,255,.025); pointer-events: none; }

/* ---------- Shipping schedule image banner ---------- */
.ship-banner { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 14px 14px 12px; border-radius: var(--radius); color: #fff; isolation: isolate;
  background: radial-gradient(80% 50% at 50% 78%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px), linear-gradient(180deg, #1b1b1b 0%, #0a0a0a 100%);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); }
.ship-banner:hover { color: #fff; }
.ship-banner__top { display: flex; align-items: center; justify-content: space-between; }
.ship-banner__logo { width: 86px; height: auto; }
.ship-banner__badge { font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 3px 8px; border-radius: 6px; background: #d7141e; }
.ship-banner__ribbon { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; margin-top: 10px; transform: rotate(-6deg); transform-origin: left center; }
.ship-banner__ribbon b { display: inline-block; padding: 2px 12px 3px; font-size: 25px; line-height: 1.05; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.3px; }
.ship-banner__r1 { background: #fff; color: #111; box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.ship-banner__r2 { margin: -1px 0 0 16px; background: linear-gradient(135deg, #e3242f, #a80f17); color: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,.35); clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); padding-right: 22px !important; }
.ship-banner__offer { position: absolute; right: 12px; top: 74px; z-index: 2; display: grid; place-items: center; align-content: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff4a55, #b3121c); box-shadow: 0 8px 18px -6px rgba(215,20,30,.9), 0 0 0 4px rgba(255,255,255,.12); line-height: 1; animation: shipPulse 2.4s ease-in-out infinite; }
.ship-banner__offer b { font-size: 13px; font-weight: 900; }
.ship-banner__offer small { font-size: 9.5px; opacity: .9; }
@keyframes shipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.ship-banner__car { position: relative; z-index: 1; width: 104%; max-width: none; margin: -6px -2% -4px; height: auto; -webkit-mask-image: radial-gradient(75% 85% at 50% 55%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 85% at 50% 55%, #000 62%, transparent 100%); transition: transform .5s; }
.ship-banner:hover .ship-banner__car { transform: scale(1.04) translateX(-2%); }
.ship-banner__foot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.ship-banner__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 10px; border-radius: 999px; background: #fff; color: #111; font-size: 12.5px; font-weight: 800; text-transform: uppercase; white-space: nowrap; transition: background var(--t), color var(--t); }
.ship-banner__btn i:first-child { color: #d7141e; font-size: 14px; }
.ship-banner__btn i:last-child { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #d7141e; color: #fff; font-size: 9px; }
.ship-banner:hover .ship-banner__btn { background: #d7141e; color: #fff; }
.ship-banner:hover .ship-banner__btn i:first-child { color: #fff; }
.ship-banner:hover .ship-banner__btn i:last-child { background: #fff; color: #d7141e; }
.ship-banner__note { text-align: center; font-size: 10.5px; color: rgba(255,255,255,.65); }
.ship-banner__note i { color: #ff5a63; margin-right: 3px; }

/* ---------- Facebook card (official Page Plugin: Follow / Like) ---------- */
.fb-card { overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); box-shadow: 0 10px 24px -18px rgba(24,119,242,.6); }
.fb-card__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; color: #fff; background: radial-gradient(120% 160% at 100% 0%, #4c9aff 0%, rgba(76,154,255,0) 55%), linear-gradient(135deg, #1877f2, #0b5fd0); }
.fb-card__head::after { content: ""; position: absolute; right: -26px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.fb-card__logo { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #1877f2; font-size: 20px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.fb-card__title b { display: block; font-size: 14.5px; line-height: 1.2; }
.fb-card__title span { font-size: 11.5px; opacity: .9; }
.fb-card__plugin { position: relative; background: #f0f2f5; }
.fb-card__plugin iframe { display: block; width: 100%; border: 0; overflow: hidden; }
.fb-card__ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.fb-card__ph i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #e4e6eb 0%, #f5f6f8 50%, #e4e6eb 100%); background-size: 200% 100%; animation: fbShimmer 1.2s linear infinite; }
.fb-card__ph i:first-child { height: 56px; border-radius: 10px; }
.fb-card__ph i:last-child { width: 60%; }
@keyframes fbShimmer { to { background-position: -200% 0; } }
.fb-card.is-loaded .fb-card__ph { display: none; }
.fb-card__actions { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid #eef0f3; }
.fb-card__follow { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2d88ff 0%, #1877f2 45%, #0b5fd0 100%); box-shadow: 0 10px 20px -10px rgba(24,119,242,.95); transition: transform var(--t), box-shadow var(--t); }
.fb-card__follow::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); transform: skewX(-20deg); animation: fbShine 3.2s ease-in-out infinite; }
@keyframes fbShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.fb-card__follow:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 24px -10px rgba(24,119,242,1); }
.fb-card__follow-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.2); font-size: 16px; }
.fb-card__follow-txt { flex: 1; min-width: 0; line-height: 1.15; }
.fb-card__follow-txt b { display: block; font-size: 14px; font-weight: 800; }
.fb-card__follow-txt small { font-size: 11px; opacity: .85; }
.fb-card__follow-go { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #1877f2; font-size: 11px; transition: transform var(--t); }
.fb-card__follow:hover .fb-card__follow-go { transform: translateX(3px); }
.fb-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fb-card__mini { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 10px; border: 1.5px solid #e4e6eb; background: #fff; color: #1c1e21; font-size: 12.5px; font-weight: 700; transition: border-color var(--t), background var(--t), transform var(--t); }
.fb-card__mini span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7f0fd; color: #1877f2; font-size: 11px; }
.fb-card__mini--msg span { background: linear-gradient(135deg, #00b2ff 0%, #a033ff 60%, #ff5c87 100%); color: #fff; font-size: 12px; }
.fb-card__mini:hover { border-color: #1877f2; background: #f5f9ff; color: #0b5fd0; transform: translateY(-1px); }
.fb-card__mini--msg:hover { border-color: #a033ff; background: #faf5ff; color: #7b2ff7; }

/* ---------- Country stock: always one row ---------- */
.flag-th { display: inline-block; width: 26px; height: 18px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); background: linear-gradient(180deg, #a51931 0 16.66%, #f4f5f8 16.66% 33.33%, #2d2a4a 33.33% 66.66%, #f4f5f8 66.66% 83.33%, #a51931 83.33%); }
.car-section--country .section-title::before { display: none; }
.car-section--country .section-title { gap: 10px; }
.layout .layout__main .car-grid.car-grid--row { --cols: 4; --gap: 14px; }
.layout .layout__main .car-grid--row .car-card:nth-child(n+5) { display: none; }
@media (max-width: 1199px) {
  .layout .layout__main .car-grid.car-grid--row { --cols: 3; }
  .layout .layout__main .car-grid--row .car-card:nth-child(n+4) { display: none; }
}
@media (max-width: 991px) {
  .layout .layout__main .car-grid.car-grid--row { --cols: 2; --gap: 12px; }
  .layout .layout__main .car-grid--row .car-card:nth-child(n+3) { display: none; }
}

/* Home slider on/off per device (Website settings) */
@media (min-width: 992px) { .hero.hero--no-desktop { display: none; } }
@media (max-width: 991px) { .hero.hero--no-mobile { display: none; } }

/* ---------- Stock in your country: banner the same size as the Vietnam banner (2 : 1) ---------- */
.sc-banner .stock-carousel { height: auto; aspect-ratio: 2 / 1; border-radius: var(--radius); box-shadow: 0 10px 24px -16px rgba(0,0,0,.5); }
.sc-banner__label { position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; pointer-events: none; }
.sc-banner__label i { color: #ff5a63; }
.sc-banner .carousel__slide { padding: 12px 14px; justify-content: flex-end; background-blend-mode: normal; }
.sc-banner .carousel__slide::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 8px); }
.sc-banner .carousel__slide > i { right: 12px; top: auto; bottom: 30px; font-size: 54px; opacity: .18; }
.sc-banner .carousel__slide small { position: relative; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.sc-banner .carousel__slide b { font-size: 18px; line-height: 1.15; }
.sc-banner .carousel__slide span { font-size: 11px; }
.sc-banner .carousel__slide em { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #111; font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; transition: background var(--t), color var(--t); }
.sc-banner .carousel__slide em i { position: static; font-size: 9px; opacity: 1; color: #d7141e; }
.sc-banner .carousel__slide:hover em { background: #d7141e; color: #fff; }
.sc-banner .carousel__slide:hover em i { color: #fff; }
.sc-banner .carousel__dots { bottom: 12px; right: 12px; }
.sc-banner .sc-dark, .sc-banner .sc-rhd { background: radial-gradient(120% 120% at 100% 0%, rgba(255,51,65,.55), rgba(255,51,65,0) 60%), linear-gradient(135deg, #1c1c1c, #0a0a0a); }
.sc-banner .sc-red, .sc-banner .sc-sg { background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(135deg, #e3242f, #7f1d1d); }
.sc-banner .sc-sun, .sc-banner .sc-jp { background: radial-gradient(60% 90% at 85% 40%, rgba(215,20,30,.8), rgba(215,20,30,0) 70%), linear-gradient(135deg, #2a2a2a, #0d0d0d); }
.sc-banner .sc-gold, .sc-banner .sc-ae { background: radial-gradient(120% 120% at 100% 0%, rgba(212,160,23,.55), rgba(212,160,23,0) 60%), linear-gradient(135deg, #3a2a08, #111); }
/* text grows with the banner (tablet: the banner is wider) */
.sc-banner { container-type: inline-size; }
@container (min-width: 380px) {
  .sc-banner .carousel__slide { padding: 20px 24px; }
  .sc-banner .carousel__slide b { font-size: clamp(18px, 6.5cqw, 34px); }
  .sc-banner .carousel__slide span { font-size: clamp(11px, 2.8cqw, 15px); }
  .sc-banner .carousel__slide em { font-size: 12.5px; padding: 7px 14px; margin-top: 10px; }
  .sc-banner .carousel__slide > i { font-size: 110px; bottom: 40px; right: 26px; }
  .sc-banner__label { left: 16px; top: 16px; font-size: 11.5px; padding: 6px 12px; }
}

/* Facebook page preview (own design instead of the plugin) */
.fb-card__page { display: block; color: #1c1e21; background: #fff; }
.fb-card__page:hover { color: #1c1e21; }
.fb-card__cover { position: relative; display: block; aspect-ratio: 2.4 / 1; overflow: hidden; background: #ddd; }
.fb-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fb-card__page:hover .fb-card__cover img { transform: scale(1.05); }
.fb-card__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); }
.fb-card__cover > i { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #1877f2; font-size: 30px; line-height: 1; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.fb-card__info { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 0 12px 12px; margin-top: -26px; z-index: 1; }
.fb-card__avatar { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a2a2a, #050505); border: 3px solid #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); padding: 8px; }
.fb-card__avatar img { width: 100%; height: auto; }
.fb-card__name { min-width: 0; padding-top: 32px; line-height: 1.25; }
.fb-card__name b { display: block; font-size: 14px; font-weight: 800; }
.fb-card__name b i { color: #1877f2; font-size: 12px; margin-left: 2px; }
.fb-card__name small { font-size: 11.5px; color: #65676b; }
.fb-card__name strong { color: #1c1e21; }
.fb-card__page + .fb-card__actions { border-top: 0; padding-top: 4px; }

/* ---------- Website settings: extra styles ---------- */
.sc-banner .sc-green { background: radial-gradient(120% 120% at 100% 0%, rgba(74,222,128,.35), rgba(74,222,128,0) 60%), linear-gradient(135deg, #0f766e, #052e2b); }
.sc-banner .sc-blue { background: radial-gradient(120% 120% at 100% 0%, rgba(96,165,250,.45), rgba(96,165,250,0) 60%), linear-gradient(135deg, #1e3a8a, #0b1020); }
.sc-banner .carousel__slide.has-img { background-size: cover; background-position: center; }
.sc-banner .carousel__slide.has-img::before { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.35) 100%); }
.flag-img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
/* separate desktop / mobile sliders */
.hero--m { aspect-ratio: 12 / 5; max-height: none; }
@media (min-width: 992px) { .hero.hero--m { display: none; } }
@media (max-width: 991px) { .hero.hero--d { display: none; } }
/* a slide picture without a link */
.hero div.carousel__slide { cursor: default; }
