/* ==========================================================================
   Kybun KSA – site theme (loaded after style.css / styleEn.css)
   One place for colours, type and components. Edit the variables first.
   ========================================================================== */

:root {
  --brand: #990b2d;
  --brand-dark: #7a0823;
  --brand-soft: #f8e9ed;
  --sand: #d3a787;
  --ink: #1b1b1b;
  --ink-2: #4a4a4a;
  --muted: #7b7b7b;
  --line: #ebe7e2;
  --bg: #ffffff;
  --bg-soft: #f7f5f2;
  --success: #1f8a4c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --header-h: 72px;
  --font: "Readex Pro", "Almarai", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
.is-ltr { --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font) !important;
  color: var(--ink);
  background: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, .btn, input, select, textarea, button { font-family: var(--font) !important; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.skip-link {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

.symbol { font-family: 'SaudiRiyalSymbol', sans-serif !important; font-size: .85em; margin: 0; color: inherit; font-weight: 400; }
@font-face { font-family: 'SaudiRiyalSymbol'; src: url('../../font/saudiriyalsymbol.ttf') format('truetype'); font-display: swap; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; padding: .6rem 1.25rem; transition: all .2s; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .35rem .85rem; }
.btn-brand, .btn-dark.add_to_cart {
  background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important;
}
.btn-brand:hover, .btn-dark.add_to_cart:hover { background: var(--brand-dark) !important; border-color: var(--brand-dark) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(153,11,45,.25); }
.btn-brand:disabled { opacity: .75; transform: none; box-shadow: none; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline-dark:hover, .btn-outline-dark.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.link-brand { color: var(--brand); font-weight: 500; }
.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(153,11,45,.12); }
.input-group > .btn { border-radius: var(--radius-sm); }
.alert { border-radius: var(--radius-sm); border: 0; }
.card { border-color: var(--line); border-radius: var(--radius); }
.card-header { background: var(--bg-soft) !important; border-color: var(--line); color: var(--ink); }
.card-header h5, .card-header .text-white { color: var(--ink) !important; }
.dropdown-menu { border-radius: var(--radius-sm); border-color: var(--line); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; }
.dropdown-item i { width: 1.2em; display: inline-block; opacity: .7; }
.dropdown-item:active { background: var(--brand); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: center; gap: 2rem; padding: 7px 12px; }
.topbar i { color: var(--sand); margin-inline-end: 4px; }

#header.site-header {
  position: sticky; top: 0; z-index: 1020; max-height: none;
  background: rgba(255,255,255,.92) !important;
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
#header.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.site-header__start, .site-header__end { display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.site-logo img, #header .site-logo img { height: 46px; width: auto; margin: 0; padding: 0; }
.site-nav { gap: .25rem; flex: 1 1 auto; justify-content: center; }
.site-nav a { padding: .5rem .9rem; border-radius: 999px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a.active { color: var(--brand); background: var(--brand-soft); }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink);
  font-size: 21px; transition: background .2s, color .2s; cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); }
.lang-btn { font-size: 14px; font-weight: 600; }
.cart-count {
  position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: #fff !important; font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid #fff;
}
.cart-count.is-empty { display: none; }

@media (max-width: 991.98px) {
  :root { --header-h: 62px; }
  .site-logo img, #header .site-logo img { height: 38px; }
  .site-header__inner { position: relative; }
  .site-header__start .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .topbar .container { gap: 1rem; }
}

/* the old pages had a 120px grey spacer for the fixed header – not needed now */
.header-spacer, .scrolled-offset { display: none !important; margin: 0 !important; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs, .crumbs { background: transparent !important; padding: 18px 0 6px !important; margin: 0 !important; opacity: 1 !important; min-height: 0 !important; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.breadcrumbs ol li + li::before { content: "/"; padding-inline-end: 6px; color: #c9c4bd; }
.breadcrumbs ol a, .crumbs a { color: var(--muted); }
.breadcrumbs ol a:hover, .crumbs a:hover { color: var(--brand); }
.crumbs { display: flex; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs span:first-of-type { color: #c9c4bd; }

/* ---------- Section titles ---------- */
.section-title { padding-bottom: 24px; }
.section-title h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; padding-bottom: 14px; }
.section-title h2::after { width: 40px; height: 3px; border-radius: 3px; background: var(--brand); left: calc(50% - 20px); }

/* ---------- Hero (home) ---------- */
.page-index .hero { height: calc(100vh - var(--header-h) - 32px); min-height: 420px; }
.page-index .hero:before { background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.45)); }
.hero-cta {
  position: absolute; z-index: 4; bottom: 12%; left: 0; right: 0; text-align: center; color: #fff;
}
.hero-cta h1 { font-size: clamp(26px, 4.4vw, 52px); font-weight: 600; margin-bottom: .5rem; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-cta p { font-size: clamp(14px, 1.6vw, 18px); opacity: .9; margin-bottom: 1.25rem; }
.hero-cta .btn { min-width: 150px; margin: .25rem; }
.hero-cta .btn-light { background: #fff; color: var(--ink); border: 0; }
.hero-cta .btn-outline-light { border-width: 1.5px; }
.hero-cta .btn-outline-light:hover { color: var(--ink); }

/* ---------- Category tiles (home) ---------- */
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.cat-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover img { transform: scale(1.04); }

/* ---------- Product cards (home, category, related) ---------- */
.product-card {
  width: 100%; background: #fff; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; height: 100%;
}
a:hover > .product-card, .product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent !important; }
.product-image { position: relative; background: #fff; aspect-ratio: 1/1; overflow: hidden; }
.product-image > img, .product-image .con22, .product-image .imag2 { width: 100%; height: 100%; object-fit: contain; }
.product-image img { border-radius: 0 !important; }
.con22 { position: relative; width: 100%; height: 100%; }
.imag2 { display: block; }
.overlay2 { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; background: #fff; }
.overlay2 img { width: 100%; height: 100%; object-fit: contain; }
.con22:hover .overlay2 { opacity: 1; }
.product-info { padding: 12px 14px 14px !important; text-align: start; }
.product-info h3 { margin: 0 0 4px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-info .category { font-size: 12px; color: var(--muted); letter-spacing: 0; text-transform: none; margin: 0 0 6px; }
.product-info .price, .price { font-size: 15px; font-weight: 700; color: var(--brand); margin: 0; }
.rating { position: absolute; top: 8px; right: 8px; font-size: 20px; color: #555; }

/* Old "team/member" cards used for related products */
.team .member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-align: center; transition: box-shadow .25s, transform .25s; width: 100%; }
.team .member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team .member img { width: 100%; aspect-ratio: 1/1; object-fit: contain; border-radius: var(--radius-sm); }
.team .member h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 10px 0 4px; }
.team .member span { color: var(--brand); font-weight: 700; }

/* ---------- Product page ---------- */
.page-view .portfolio-details { padding-top: 10px; }
.page-view .main-image, .page-view .image-zoom { border-radius: var(--radius); background: #fff; }
.page-view .image-zoom { border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 1/1; }
.page-view .image-zoom img { object-fit: contain; }
.page-view .thumbnail { border-radius: var(--radius-sm) !important; border: 1.5px solid var(--line) !important; background: #fff; aspect-ratio: 1/1; object-fit: contain; transition: border-color .2s; }
.page-view .thumbnail:hover, .page-view .thumbnail.is-active { border-color: var(--brand) !important; }
.page-view .portfolio-info { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.page-view .portfolio-info h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600 !important; line-height: 1.3; }
.product-price { font-size: 26px; font-weight: 700; color: var(--brand); margin: 12px 0 4px; }
.product-desc { color: var(--ink-2); font-size: 14.5px !important; line-height: 1.9; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.product-badges i { color: var(--brand); margin-inline-end: 4px; }
.bnpl-promos { display: grid; gap: 8px; margin: 14px 0; }
.bnpl-promos:empty { display: none; }
#tabby-promo-product:empty { display: none; }

.size-picker.card { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; }
.size-picker .card-header { background: #fff !important; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.size-picker .card-header a { font-weight: 400; font-size: 13px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.size-picker .row { row-gap: 0; }
.label22.boton {
  width: 54px !important; height: 54px !important; border-radius: 12px !important; border: 1.5px solid var(--line) !important;
  box-shadow: none !important; background: #fff; color: var(--ink); font-weight: 500; line-height: 1.1;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; transition: all .15s;
}
input[type="radio"]:not(:disabled) + .label22.boton:hover { border-color: var(--ink) !important; }
input[type="radio"]:checked + .label22.boton { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
input[type="radio"]:disabled + .label22.boton { color: #c3c3c3; background: var(--bg-soft); cursor: not-allowed; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-stepper button { width: 42px; height: 46px; border: 0; background: transparent; font-size: 18px; color: var(--ink); }
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper input, .qty-stepper span { width: 44px; text-align: center; border: 0 !important; box-shadow: none !important; font-weight: 600; padding: 0; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper--sm button { width: 30px; height: 30px; font-size: 15px; }
.qty-stepper--sm span { width: 28px; font-size: 13px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 16px; }
.buy-row .add_to_cart { flex: 1; font-size: 16px; }

/* Sticky "add to cart" bar on phones */
@media (max-width: 767.98px) {
  .page-view .buy-row { position: sticky; bottom: 0; z-index: 50; background: #fff; padding: 12px 0; margin-inline: -12px; padding-inline: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .page-view .mainSwiper .swiper-slide img { height: auto !important; aspect-ratio: 1/1; object-fit: contain !important; background: #fff; }
}

/* ---------- Category filter chips ---------- */
.section-title .btn-group { flex-wrap: wrap; gap: 8px; }
.section-title .btn-group > .btn { border-radius: 999px !important; margin: 0 !important; border: 1px solid var(--line); }

/* ---------- Mini cart (drawer) ---------- */
.cart-drawer { width: min(420px, 100vw) !important; }
.cart-drawer .offcanvas-header, .menu-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }
.cart-drawer .offcanvas-body { display: flex; flex-direction: column; padding: 0; }
.cart-drawer #cart_details { display: flex; flex-direction: column; min-height: 100%; }
.mini-cart { list-style: none; margin: 0; padding: 8px 16px; flex: 1; }
.mini-cart__item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.mini-cart__img img { width: 76px; height: 76px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg-soft); }
.mini-cart__body { flex: 1; min-width: 0; padding-inline-end: 24px; }
.mini-cart__name { font-weight: 600; font-size: 14px; line-height: 1.4; }
.mini-cart__meta { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.mini-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-cart__price { font-size: 14px; }
.mini-cart__remove { position: absolute; top: 12px; inset-inline-end: 0; border: 0; background: none; color: var(--muted); padding: 4px; }
.mini-cart__remove:hover { color: var(--brand); }
.mini-cart__footer { position: sticky; bottom: 0; background: #fff; padding: 16px; border-top: 1px solid var(--line); }
.mini-cart__note { font-size: 12.5px; color: var(--success); background: #eef8f2; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; }
.mini-cart__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 16px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 46px; display: block; margin-bottom: 8px; color: #cfc9c2; }

/* ---------- Mobile menu ---------- */
.menu-drawer { max-width: 320px; }
.menu-drawer__nav { display: flex; flex-direction: column; }
.menu-drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.menu-drawer__nav--secondary { margin-top: 18px; }
.menu-drawer__nav--secondary a { justify-content: flex-start; gap: 10px; font-weight: 400; font-size: 15px; padding: 11px 4px; }

/* ---------- Search modal ---------- */
.search-modal { border-radius: var(--radius); border: 0; }
.search-modal .modal-header { gap: 12px; border-color: var(--line); }
.search-modal__field { position: relative; flex: 1; }
.search-modal__field i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: var(--muted); }
.search-modal__field input { padding-inline-start: 40px; height: 48px; border-radius: 999px; background: var(--bg-soft); border: 0; }
.search-results:empty::before { content: ""; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); }
.search-item:hover { background: var(--bg-soft); }
.search-item img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.search-item__name { flex: 1; font-weight: 500; }
.search-item__price { color: var(--brand); font-weight: 600; white-space: nowrap; }
.search-empty { text-align: center; color: var(--muted); padding: 24px; }

/* ---------- Checkout ---------- */
.page-main { padding: 8px 0 48px; }
.checkout-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 14px 0 22px; flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.checkout-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line); margin-inline-end: 4px; }
.checkout-steps span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); font-weight: 600; font-size: 12px; }
.checkout-steps .done span { background: var(--success); color: #fff; }
.checkout-steps .active { color: var(--ink); font-weight: 600; }
.checkout-steps .active span { background: var(--ink); color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.panel__title { font-size: 17px; font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.panel__title i { color: var(--brand); }
.summary { background: var(--bg-soft); border-color: transparent; position: sticky; top: calc(var(--header-h) + 16px); }
.summary__items { list-style: none; padding: 0; margin: 0 0 16px; }
.summary__items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.summary__img { position: relative; flex: 0 0 auto; }
.summary__img img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.summary__qty { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--ink); color: #fff; font-size: 11px; min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.summary__name { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.4; }
.summary__name small { display: block; color: var(--muted); font-weight: 400; }
.summary__totals { margin: 16px 0 0; }
.summary__totals > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.summary__totals dt { font-weight: 400; }
.summary__totals dd { margin: 0; font-weight: 500; }
.summary__grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; font-size: 17px !important; }
.summary__grand dt, .summary__grand dd { font-weight: 700 !important; }
.summary__grand small { font-weight: 400; color: var(--muted); font-size: 12px; }
.coupon .form-control { background: #fff; }

.address-card { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.notice { border-radius: var(--radius-sm); padding: 14px 16px; }
.notice--warn { background: #fff7e6; border: 1px solid #ffe2a8; }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: block; cursor: pointer; margin: 0; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__box { display: block; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 16px; padding-inline-start: 48px; position: relative; transition: border-color .2s, box-shadow .2s, background .2s; }
.pay-option__box::before { content: ""; position: absolute; inset-inline-start: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c8c2bb; background: #fff; transition: all .2s; }
.pay-option input:checked + .pay-option__box { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.pay-option input:checked + .pay-option__box::before { border-color: var(--ink); border-width: 6px; }
.pay-option input:focus-visible + .pay-option__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.pay-option__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-option__head img { height: 26px; width: auto; }
.pay-option__title { font-weight: 600; font-size: 15px; }
.pay-option__sub { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }

.badge-tabby {
  display: inline-flex; align-items: center; justify-content: center; background: #3effc4; color: #0f0f0f;
  font-family: "Poppins", system-ui, sans-serif !important; font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  padding: 2px 10px 4px; border-radius: 6px; line-height: 1.2;
}
.badge-tabby--sm { font-size: 12px; padding: 1px 7px 3px; }

/* ---------- Trust strip + footer ---------- */
.trust-strip { background: var(--bg-soft); padding: 28px 0; margin-top: 48px; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-strip__grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.trust-strip__grid i { grid-row: span 2; font-size: 26px; color: var(--brand); width: 48px; height: 48px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.trust-strip__grid strong { font-size: 14.5px; }
.trust-strip__grid span { font-size: 12.5px; color: var(--muted); }
.trust-strip__grid span a { color: var(--brand); }
@media (max-width: 767.98px) { .trust-strip__grid { grid-template-columns: repeat(2, 1fr); } }

#footer.site-footer { background: var(--ink) !important; color: #cfcfcf; padding: 48px 0 18px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.site-footer__logo { max-height: 56px; margin-bottom: 12px; }
.site-footer__about { color: #a9a9a9; max-width: 320px; }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.site-footer__social a:hover { background: var(--brand); }
.site-footer__contact i { color: var(--sand); margin-inline-end: 6px; }
.site-footer__pay { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.site-footer__pay img { background: #fff; border-radius: 6px; padding: 3px 6px; height: 30px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; font-size: 12.5px; color: #8f8f8f; }

/* Floating buttons */
.whatsapp-fab.back-to-top { visibility: visible !important; opacity: 1 !important; background: #25d366 !important; width: 52px !important; height: 52px !important; border-radius: 50% !important; right: 18px; bottom: 18px; box-shadow: 0 8px 20px rgba(37,211,102,.35); z-index: 1000; }
.whatsapp-fab i { font-size: 26px !important; color: #fff !important; line-height: 0; }
.survey-fab { position: fixed; bottom: 18px; left: 18px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.survey-fab__btn { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 8px 20px rgba(153,11,45,.3); }
.survey-fab__text { max-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow); margin: 0; }
@media (max-width: 767.98px) { .page-view .survey-fab, .page-view .whatsapp-fab { bottom: 92px; } }

/* Preloader */
#preloader { background: #fff; }
.loader { width: 72px; height: 72px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .7; } }

/* Legacy helpers kept for old pages */
.hover-underline-animation { display: inline-block; position: relative; }
.hover-underline-animation::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: 0; left: 0; background-color: var(--brand); transition: transform .25s ease-out; }
.hover-underline-animation:hover::after { transform: scaleX(1); }
.zoom-container { overflow: hidden; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.1); cursor: pointer; }
.zoom-container img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zoom-container:hover img { transform: scale(1.2); }
.boton { width: 60px; height: 60px; font-size: 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.butt2 { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* hero text block sits on top of the fixed video */
.hero .hero-cta .container { position: static !important; }

/* ---------- Receipt ---------- */
.receipt-hero { text-align: center; padding: 28px 16px 20px; }
.receipt-hero i { font-size: 54px; color: var(--success); }
.receipt-hero h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 10px 0 6px; }
.receipt-hero p { color: var(--muted); margin: 0; }
@media print {
  .topbar, #header, .trust-strip, #footer, .survey-fab, .whatsapp-fab, .crumbs, .page-main .btn { display: none !important; }
}

/* Mobile product gallery */
.mobile-gallery .gallery { margin: 0 auto 8px; max-width: 100%; }
.mobile-gallery .mainSwiper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mobile-gallery .thumbsSwiper .swiper-slide { width: 70px; height: 70px; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); }
.mobile-gallery .thumbsSwiper .swiper-slide img { object-fit: contain; background: #fff; }
.mobile-gallery .thumbsSwiper .swiper-slide-thumb-active { border-color: var(--ink); }

/* Keep floating buttons out of the way on phones */
@media (max-width: 767.98px) {
  .page-view .survey-fab, .page-checkout .survey-fab { display: none; }
  .whatsapp-fab.back-to-top { width: 46px !important; height: 46px !important; right: 12px; bottom: 12px; }
  .page-view .whatsapp-fab { bottom: 88px; }
  .survey-fab { left: 12px; bottom: 12px; }
  .survey-fab__btn { width: 42px; height: 42px; font-size: 18px; }
}

/* Tabby / Tamara messages in the cart drawer and checkout */
.bnpl-promos--cart { margin: 0 0 12px; }
tamara-widget { display: block; }
.pay-option tamara-widget { font-size: 13px; }

/* Tabby pre-scoring states */
.pay-option.is-unavailable { cursor: not-allowed; }
.pay-option.is-unavailable .pay-option__box { background: var(--bg-soft); opacity: .85; }
.pay-option.is-unavailable .pay-option__head { opacity: .55; }
.tabby-unavailable { color: #a1452f !important; }
.tabby-card-slot { display: block; margin-top: 10px; }

/* Let payment widgets shrink to the phone width (no sideways scrolling) */
.pay-options, .pay-options > *, .pay-option__box, .tabby-card-slot, .pay-option tamara-widget { min-width: 0; max-width: 100%; }
.page-main { overflow-x: clip; }
@media (max-width: 575.98px) {
  .page-checkout .panel { padding: 14px; }
  .pay-option__box { padding: 12px; padding-inline-start: 40px; }
  .pay-option__box::before { inset-inline-start: 12px; top: 14px; }
  .tabby-card-slot { margin-inline-start: -28px; }   /* use the full card width for Tabby's snippet */
}
