/* ==========================================================================
   Speedy storefront — design layer
   Loads after the theme (styles.css) and custom.css. It only changes how
   things look: no markup, ids or scripts depend on it. Delete the <link>
   in layouts/master.blade.php and layouts/minimal.blade.php to switch it off.

   1  Brand tokens (recolours the whole theme through its variables)
   2  Base type and links
   3  Top bar and header
   4  Buttons and form fields
   5  Section titles, home slider, categories
   6  Product cards
   7  Product page
   8  Cart drawer, cart page, checkout
   9  Account, auth, blog, info pages
   10 Footer and mobile bottom bar
   11 Floating call / WhatsApp buttons, toasts, 404
   ========================================================================== */

/* ---- 1  Brand tokens ---------------------------------------------------- */
:root {
  /* Speedy orange from the brand banners, with tints */
  --primary: #F2661C;
  --primary-2: #F6904F;
  --primary-3: #FBC4A2;
  --primary-4: #FFF1E8;

  --dark: #111111;
  --dark-2: #161616;
  --dark-3: #232323;
  --dark-4: #1A1A1A;

  --text: #4B4B4B;
  --text-2: #2A2A2A;
  --text-3: #6B6B6B;
  --text-4: #7A7A7A;

  --line: #E7E6E3;
  --line-2: #F1F0ED;
  --line-4: #E2E1DD;
  --surface: #F4F3F0;
  --surface-2: #F7F6F3;
  --surface-3: #F2F1EE;

  --success: #16915F;
  --success-4: rgba(22, 145, 95, .1);

  /* our own */
  --sp-accent: #F2661C;
  --sp-accent-dark: #D9530D;
  --sp-ink: #111111;
  --sp-ink-soft: #5E5E5E;
  --sp-ink-faint: #8C8C8C;
  --sp-surface: #F4F3F0;
  --sp-line: #E7E6E3;
  --sp-green: #16915F;
  --sp-green-soft: #E5F4EC;
  --sp-red: #D93636;
  --sp-radius: 12px;
  --sp-radius-sm: 8px;
  --sp-shadow: 0 10px 30px -12px rgba(17, 17, 17, .18);
  --sp-font: "Poppins", "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sp-display: "Oswald", "Poppins", "Hind Siliguri", sans-serif;
}

/* ---- 2  Base ------------------------------------------------------------ */
body {
  font-family: var(--sp-font);
  color: var(--sp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { color: var(--sp-ink); letter-spacing: -.01em; }
::selection { background: var(--primary-3); color: var(--sp-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .tf-btn:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}
.text-primary { color: var(--sp-accent) !important; }
.link:hover, a.link:hover { color: var(--sp-accent); }
.sp-logo-text {
  font-family: var(--sp-display); font-weight: 700; font-size: 26px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sp-ink); line-height: 1;
}

/* ---- 3  Top bar and header --------------------------------------------- */
.tf-topbar { background-color: var(--sp-ink) !important; }
.tf-topbar .marquee-wrapper .marquee-child-item p {
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: #F3F3F3;
}
.tf-topbar .marquee-wrapper .marquee-child-item .dot { background-color: var(--sp-accent); }
.tf-topbar .tf-social-icon .social-item { border-color: rgba(255, 255, 255, .25); }

#header.header-default {
  background-color: #fff;
  border-bottom: 1px solid var(--sp-line);
}
.header-default .box-nav-menu .item-link {
  font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-ink);
  /* underline drawn with a gradient, so the theme's invisible ::after hover bridge stays transparent */
  background: linear-gradient(var(--sp-accent), var(--sp-accent)) no-repeat 0 100% / 0 2px;
  padding-block: 3px;
  transition: color .2s, background-size .25s;
}
.header-default .box-nav-menu .item-link::after { background: transparent !important; }
.header-default .box-nav-menu .menu-item:hover > .item-link,
.header-default .box-nav-menu .menu-item.active > .item-link { color: var(--sp-accent); background-size: 100% 2px; }
.header-default .logo-header img { max-height: 46px; width: auto; }
.nav-icon .nav-icon-item { color: var(--sp-ink); transition: color .2s; }
.nav-icon .nav-icon-item:hover { color: var(--sp-accent); }
.nav-icon .count-box, .tf-toolbar-bottom .toolbar-count {
  background-color: var(--sp-accent) !important; color: #fff !important; font-weight: 600;
}
.sp-account-link { position: relative; }
.sp-account-dot {
  position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sp-green); box-shadow: 0 0 0 2px #fff;
}
.sub-menu, .mega-menu { border-radius: 0 0 var(--sp-radius) var(--sp-radius); }
.mega-menu .menu-heading { font-family: var(--sp-display); letter-spacing: .06em; color: var(--sp-ink); }
.menu-link-text:hover { color: var(--sp-accent) !important; }

/* ---- 4  Buttons and fields --------------------------------------------- */
.tf-btn { border-radius: 10px; font-weight: 600; letter-spacing: .01em; }
.tf-btn:not([class*="btn-out"]):not([class*="btn-line"]):not(.btn-white):not(.btn-fill-2):hover {
  background-color: var(--sp-accent); border-color: var(--sp-accent); color: #fff;
}
.tf-btn.btn-primary, .tf-btn.btn-fill, .btn-primary.custom_button {
  background-color: var(--sp-accent) !important; border-color: var(--sp-accent) !important; color: #fff !important;
}
.tf-btn.btn-primary:hover, .tf-btn.btn-fill:hover, .btn-primary.custom_button:hover {
  background-color: var(--sp-accent-dark) !important; border-color: var(--sp-accent-dark) !important;
}
.btn-primary { --bs-btn-bg: var(--sp-accent); --bs-btn-border-color: var(--sp-accent); --bs-btn-hover-bg: var(--sp-accent-dark); --bs-btn-hover-border-color: var(--sp-accent-dark); --bs-btn-active-bg: var(--sp-accent-dark); }
.btn-dark, .tf-btn.btn-dark2, .tf-btn.btn-dark-2 { background-color: var(--sp-ink); border-color: var(--sp-ink); }

.form-control, .tf-input, .tf-field-input, input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], textarea, .tf-select select, select.form-select {
  border-radius: 10px;
}
.form-control:focus, .tf-input:focus, .tf-field-input:focus, textarea:focus, select:focus {
  border-color: var(--sp-ink) !important; box-shadow: 0 0 0 3px rgba(242, 102, 28, .15) !important;
}
.form-check-input:checked, .tf-check:checked, .tf-check-rounded:checked {
  background-color: var(--sp-accent); border-color: var(--sp-accent);
}

/* ---- 5  Sections, slider, categories ----------------------------------- */
.flat-title .title, .flat-title-tab-categories .title, .flat-title h4.title,
.tf-page-title .heading, .page-title .heading {
  font-family: var(--sp-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.flat-title .title, .flat-title-tab-categories .title { font-size: clamp(24px, 3vw, 34px); }
.menu-tab-line .tab-link { font-weight: 600; letter-spacing: .02em; }
.menu-tab-line .tab-link.active, .menu-tab-line .tab-link:hover { color: var(--sp-accent); }
.menu-tab-line .tab-link::after, .menu-tab-line .tab-link.active::after { background-color: var(--sp-accent); }

/* home slider: images load first, dots sit neatly under the art */
.tf-slideshow .slider-wrap .image img { width: 100%; height: auto; display: block; }
.tf-slideshow .wrap-pagination { bottom: 14px; }
.tf-slideshow .sw-dots .swiper-pagination-bullet { width: 8px; height: 8px; opacity: 1; background: rgba(17, 17, 17, .25); }
.tf-slideshow .sw-dots .swiper-pagination-bullet::before, .tf-slideshow .sw-dots .swiper-pagination-bullet::after { display: none; }
.tf-slideshow .sw-dots .swiper-pagination-bullet-active { width: 22px; border-radius: 6px; background: var(--sp-accent); }

.sw-dot-default .swiper-pagination-bullet-active::before { background-color: var(--sp-accent); }
.nav-swiper, .swiper-button-next.nav-swiper, .swiper-button-prev.nav-swiper {
  background: #fff; border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow);
}
.nav-swiper:hover { background: var(--sp-ink); color: #fff; border-color: var(--sp-ink); }

/* category bubbles */
.wg-cls .image, .collection-circle .img-style { background: var(--sp-surface); }
.wg-cls .cls-content .name, .collection-circle .cls-content .name { font-weight: 600; }

@media (max-width: 991.98px) {
  .flat-spacing-2, .flat-spacing-3, .flat-spacing-4, .flat-spacing-5 { padding-top: 44px; padding-bottom: 44px; }
  .pt-80 { padding-top: 48px !important; }
  .pb-80 { padding-bottom: 48px !important; }
}
.sp-show-more { min-width: 240px; }

/* infinite product scroll (customjs/infinite_products.js) */
.sp-feed-foot {
  min-height: 72px; padding: 28px 0 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.sp-feed-foot.sp-feed-auto .sp-feed-manual { visibility: hidden; }
.sp-feed-foot .tf-btn { min-width: 220px; }
.sp-feed-loading { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sp-ink-soft); }
.sp-feed-spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--sp-line); border-top-color: var(--sp-accent);
  animation: spFeedSpin .7s linear infinite;
}
.sp-feed-note { margin: 0; font-size: 14px; color: var(--sp-ink-soft); }
.sp-feed-end { display: inline-flex; align-items: center; gap: 12px; }
.sp-feed-end::before, .sp-feed-end::after { content: ""; width: 36px; height: 1px; background: var(--sp-line); }
.card-product.sp-feed-new, .sp-reveal { animation: spFeedIn .45s ease both; }
.sp-feed-section .flat-title .desc { margin-top: 6px; }
@keyframes spFeedSpin { to { transform: rotate(360deg); } }
@keyframes spFeedIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* home offer banner (pages/offer_banner.blade.php) */
.sp-offer-section { padding: 56px 0; }
.sp-offer {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 32px;
  padding: 52px 56px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(242, 102, 28, .55) 0%, rgba(242, 102, 28, 0) 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(242, 102, 28, .18) 0%, rgba(242, 102, 28, 0) 60%),
    #111;
}
.sp-offer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px);
}
.sp-offer::after {
  content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05);
}
.sp-offer-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.sp-offer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-accent); box-shadow: 0 0 0 0 rgba(242, 102, 28, .7); animation: spPulse 1.8s infinite; }
.sp-offer-title {
  margin: 18px 0 6px; color: #fff; font-family: var(--sp-display); font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em;
}
.sp-offer-percent { display: flex; align-items: flex-end; gap: 10px; margin: 4px 0 10px; line-height: .9; font-family: var(--sp-display); text-transform: uppercase; }
.sp-offer-upto, .sp-offer-off { font-size: clamp(18px, 2vw, 26px); font-weight: 600; color: rgba(255, 255, 255, .85); padding-bottom: 8px; }
.sp-offer-num {
  font-size: clamp(64px, 8vw, 112px); font-weight: 700; letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFB37E 0%, var(--sp-accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-offer-sub { max-width: 460px; margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.sp-offer-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 22px; }
.sp-offer-code-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sp-offer-code-value {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff;
  font-family: var(--sp-display); font-size: 18px; font-weight: 600; letter-spacing: .12em; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.sp-offer-code-value:hover { border-color: var(--sp-accent); background: rgba(242, 102, 28, .12); }
.sp-offer-code-value .icon { font-size: 14px; opacity: .8; }
.sp-offer-code-done {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 9px;
  background: var(--sp-green); font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.sp-offer-code-value.is-copied .sp-offer-code-done { opacity: 1; }
.sp-offer-timer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.sp-offer-timer-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sp-offer-timer-boxes { display: flex; gap: 8px; }
.sp-offer-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 9px 6px 7px;
  border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.sp-offer-box b { font-family: var(--sp-display); font-size: 26px; font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.sp-offer-box small { margin-top: 4px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sp-offer-timer.is-ended .sp-offer-box b { color: rgba(255, 255, 255, .4); }
.sp-offer-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sp-offer-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px;
  background: var(--sp-accent); color: #fff !important; font-weight: 600; font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 12px 28px -10px rgba(242, 102, 28, .8); transition: transform .2s, background-color .2s, box-shadow .2s;
}
.sp-offer-btn:hover { background: #fff; color: var(--sp-ink) !important; transform: translateY(-2px); }
.sp-offer-btn .icon { font-size: 12px; transition: transform .2s; }
.sp-offer-btn:hover .icon { transform: translateX(3px); }
.sp-offer-link { color: #fff !important; font-weight: 500; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.sp-offer-link:hover { border-color: var(--sp-accent); color: var(--sp-accent) !important; }
.sp-offer-perks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.sp-offer-perks li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.sp-offer-perks .icon { font-size: 11px; color: var(--sp-accent); }

.sp-offer-art { position: relative; min-width: 0; }
.sp-offer-photo { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.sp-offer-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s; }
.sp-offer-photo:hover img { transform: scale(1.04); }
.sp-offer-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.sp-offer-count-1 { grid-template-columns: minmax(0, 260px); justify-content: center; }
.sp-offer-count-2 { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
.sp-offer-card {
  display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 12px; border-radius: 14px; background: #fff; color: var(--sp-ink);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .8); transition: transform .3s;
}
.sp-offer-count-3 .sp-offer-card:nth-child(2) { transform: translateY(-22px); }
.sp-offer-card:hover { transform: translateY(-6px); }
.sp-offer-count-3 .sp-offer-card:nth-child(2):hover { transform: translateY(-28px); }
.sp-offer-card-img { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--sp-surface); }
.sp-offer-card-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.sp-offer-tag {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--sp-accent); color: #fff;
  font-size: 11px; font-weight: 700;
}
.sp-offer-card-name { padding: 0 4px; font-size: 12.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sp-offer-card-price { padding: 0 4px; font-size: 14px; font-weight: 700; color: var(--sp-ink); }
.sp-offer-card-price del { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--sp-ink-faint); }
.sp-offer-badge {
  width: 240px; height: 240px; margin: 0 auto; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--sp-accent); color: #fff; font-family: var(--sp-display); box-shadow: 0 0 0 18px rgba(242, 102, 28, .18), 0 0 0 36px rgba(242, 102, 28, .08);
}
.sp-offer-badge span { font-size: 72px; font-weight: 700; line-height: 1; }
.sp-offer-badge small { font-size: 22px; letter-spacing: .2em; }
@keyframes spPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 102, 28, .7); } 70% { box-shadow: 0 0 0 8px rgba(242, 102, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 102, 28, 0); } }

@media (max-width: 1199.98px) {
  .sp-offer { padding: 44px 40px; gap: 28px; }
}
@media (max-width: 991.98px) {
  .sp-offer-section { padding: 40px 0; }
  .sp-offer { grid-template-columns: 1fr; padding: 36px 28px 32px; text-align: left; }
  .sp-offer-art { max-width: 520px; width: 100%; margin: 6px auto 0; }
}
@media (max-width: 575.98px) {
  .sp-offer-section { padding: 28px 0; }
  .sp-offer { padding: 28px 18px 24px; border-radius: 16px; gap: 22px; }
  .sp-offer::after { display: none; }
  .sp-offer-title { margin-top: 14px; }
  .sp-offer-sub { font-size: 14px; margin-bottom: 18px; }
  .sp-offer-timer { gap: 10px; margin-bottom: 20px; }
  .sp-offer-timer-label { width: 100%; }
  .sp-offer-timer-boxes { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .sp-offer-box { min-width: 0; }
  .sp-offer-box b { font-size: 22px; }
  .sp-offer-actions { gap: 16px; }
  .sp-offer-btn { width: 100%; justify-content: center; }
  .sp-offer-link { margin: 0 auto; }
  .sp-offer-perks { justify-content: center; margin-top: 18px; }
  .sp-offer-stack { gap: 8px; }
  .sp-offer-count-3 .sp-offer-card:nth-child(2) { transform: translateY(-12px); }
  .sp-offer-card { padding: 5px 5px 9px; border-radius: 10px; }
  .sp-offer-card-name { font-size: 11px; }
  .sp-offer-card-price { font-size: 12px; }
  .sp-offer-card-price del { display: none; }
  .sp-offer-badge { width: 170px; height: 170px; }
  .sp-offer-badge span { font-size: 52px; }
}

/* compact page heading used on product list pages */
.sp-page-head { padding: 22px 0 6px; }
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--sp-ink-faint); margin-bottom: 6px; }
.sp-crumbs a { color: var(--sp-ink-soft); }
.sp-crumbs a:hover { color: var(--sp-accent); }
.sp-page-title {
  font-family: var(--sp-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; margin: 0;
}

/* ---- 6  Product cards --------------------------------------------------- */
.card-product .card-product-wrapper {
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
}
.card-product .card-product-wrapper img { object-fit: cover; }
.card-product .on-sale-wrap { top: 10px; left: 10px; right: auto; }
.card-product .on-sale-item {
  background-color: var(--sp-accent); color: #fff; border-radius: 6px;
  height: 22px; line-height: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  min-width: 0; padding: 0 8px;
}
.card-product .box-icon {
  width: 34px; height: 34px; background: #fff; color: var(--sp-ink);
  box-shadow: 0 4px 14px -6px rgba(17, 17, 17, .35);
}
.card-product .box-icon:hover { background-color: var(--sp-ink) !important; color: #fff; border-color: transparent; }
.card-product .box-icon.addwishlist, .card-product .btn-add-to-wishlist.addwishlist { background: var(--sp-accent) !important; color: #fff !important; }
.card-product .size-box {
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 8px; left: 8px !important; right: 8px !important; bottom: 8px !important; width: auto !important;
}
.card-product .size-box .size-item { color: var(--sp-ink) !important; font-weight: 600; }
.card-product .card-product-info { padding-top: 12px; gap: 6px; }
.card-product .card-product-info .name-product {
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--sp-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-product .card-product-info .name-product:hover { color: var(--sp-accent); }
.card-product .price-wrap { font-size: 15px; line-height: 1.3; }
.card-product .price-wrap .price-new { color: var(--sp-ink); font-weight: 700; }
.card-product .price-wrap .price-old { color: var(--sp-ink-faint) !important; font-size: 13px; font-weight: 400; }
.card-product .price-wrap .badge.bg-success {
  background-color: var(--sp-green-soft) !important; color: var(--sp-green) !important;
  font-weight: 600; border-radius: 6px; padding: 3px 7px !important;
}
.card-product.out-of-stock .card-product-wrapper::after {
  content: "Out of stock"; position: absolute; left: 10px; bottom: 10px; z-index: 7;
  background: var(--sp-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
}
.card-product.out-of-stock .card-product-wrapper img { filter: grayscale(.35); opacity: .8; }
.list-color-product .list-color-item.active, .list-color-product .list-color-item:hover { border-color: var(--sp-ink); }

/* touch screens: hover-only buttons stay reachable, but quieter */
@media (hover: none) {
  .card-product .list-product-btn .compare, .card-product .list-product-btn .quickview { display: none; }
}

/* ---- 7  Product page ---------------------------------------------------- */
.flat-single-product { margin-top: 24px !important; }
@media (max-width: 767.98px) { .flat-single-product { margin-top: 12px !important; } }
.tf-product-info-wrap { grid-template-columns: minmax(0, 1fr); }
.tf-product-info-wrap > *, .tf-product-info-list > * { min-width: 0; }
.tf-product-info-list .product-name, .tf-product-heading .product-name {
  font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.01em;
}
.tf-product-heading .product-price .price-new, .tf-product-info-price .price-on-sale, .tf-product-heading .price-new {
  color: var(--sp-ink) !important; font-weight: 700;
}
.tf-product-heading .product-price .price-old, .tf-product-heading .price-old {
  color: var(--sp-ink-faint) !important; font-weight: 400; font-size: 17px;
}
.tf-product-heading .product-price .badge-sale, .tf-product-heading .on-sale-item, .tf-product-heading .badge-sale {
  background: var(--sp-accent) !important; color: #fff !important; border-radius: 6px;
}
.speedy-product-options .speedy-size-btn, .speedy-product-options .speedy-color-btn { border-radius: 10px; }
.speedy-product-options .speedy-size-btn.active, .speedy-product-options .speedy-custom-option.active {
  background: var(--sp-ink) !important; color: #fff !important; border-color: var(--sp-ink) !important;
}
.speedy-product-options .speedy-cart-row { flex-wrap: wrap; }
.speedy-product-options .speedy-add-cart { background: var(--sp-ink) !important; border-color: var(--sp-ink) !important; color: #fff !important; }
.speedy-product-options .speedy-add-cart:hover { background: var(--sp-accent) !important; border-color: var(--sp-accent) !important; }
.speedy-product-options .speedy-buy-now {
  background: var(--sp-accent) !important; border-color: var(--sp-accent) !important; color: #fff !important;
  box-shadow: 0 10px 24px -12px rgba(242, 102, 28, .8);
}
.speedy-product-options .speedy-buy-now:hover { background: var(--sp-accent-dark) !important; border-color: var(--sp-accent-dark) !important; }
.speedy-product-options .speedy-quantity { border-radius: 10px; }
.tab-product-desc .menu-tab { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tab-product-desc .menu-tab::-webkit-scrollbar { display: none; }
.tab-product-desc .tab-link { font-size: 15px; }
.tab-product-desc .tab-link.active, .tab-product-desc .tab-link:hover { color: var(--sp-ink); }
.tab-product-desc .tab-link::after { background-color: var(--sp-accent) !important; height: 2px !important; }
.tf-product-media-thumbs .swiper-slide .item, .thumbs-slider .swiper-slide img { border-radius: 10px; }
.tf-product-media-main .item, .tf-product-media-main img, .flat-wrap-media-product img { border-radius: var(--sp-radius); }
.tf-product-extra-link .tf-product-extra-icon:hover { color: var(--sp-accent); }

/* ---- 8  Cart drawer, cart page, checkout ------------------------------- */
.popup-shopping-cart .wrap { background: #fff; }
.popup-shopping-cart .header .title, .popup-shopping-cart .tf-mini-cart-threshold .text { font-weight: 600; }
.tf-mini-cart-item, .tf-mini-cart-items .tf-mini-cart-item { border-bottom: 1px solid var(--sp-line); }
.tf-mini-cart-item .tf-mini-cart-image img, .tf-mini-cart-item .tf-mini-cart-image { border-radius: 10px; background: var(--sp-surface); }
.tf-mini-cart-bottom, .popup-shopping-cart .tf-mini-cart-bottom-wrap { border-top: 1px solid var(--sp-line); }
.tf-progress-bar .value, .tf-progress-bar span { background-color: var(--sp-accent) !important; }
.tf-table-page-cart th { font-weight: 600; color: var(--sp-ink-soft); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
/* the boxes inside the sidebar are the cards, so the sidebar itself stays plain (no box inside a box) */
.tf-cart-sidebar, .cart-box {
  background: var(--sp-surface); border-radius: var(--sp-radius); border: 1px solid var(--sp-line);
}
.tf-page-cart-sidebar .cart-box { padding: 22px 18px; }
.tf-checkout-cart-main .box-ip-checkout > .title, .tf-checkout-cart-main .box-ip-payment .title .text-lg,
.tf-page-cart-sidebar .cart-box > .title {
  font-family: var(--sp-display); text-transform: uppercase; letter-spacing: .03em;
}
.tf-page-cart-sidebar .subtotal, .tf-page-cart-sidebar .total-price-order { color: var(--sp-ink); }
.payment-method-box .payment-item {
  border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: #fff; padding: 0;
}
.payment-method-box .payment-item .payment-header { cursor: pointer; margin: 0; }
.payment-method-box .payment-item:has(input:checked) { border-color: var(--sp-ink); box-shadow: 0 0 0 1px var(--sp-ink); }
.tf-checkout-cart-main .payment-method-box { margin-bottom: 0; }
.tf-checkout-cart-main .payment-method-box .payment-item:last-child { margin-bottom: 0 !important; }
.tf-checkout-cart-main { padding-bottom: 28px; }

/* checkout order summary: picture sits at the top of each line, qty row uses the full width */
.tf-page-cart-sidebar .order-box .order-item { align-items: flex-start; }
.tf-page-cart-sidebar .order-box .order-item .img-product { flex: 0 0 72px; }
.tf-page-cart-sidebar .order-box .order-item .img-product img { border-radius: 8px; background: #fff; }
.list-order-product .order-item .order-product-bottom-row { width: 100% !important; }
.list-order-product .order-item .order-product-name { overflow-wrap: anywhere; }

@media (max-width: 1199.98px) {
  .tf-page-cart-sidebar { margin-top: 20px; }
}
@media (max-width: 767.98px) {
  .tf-page-title { padding: 26px 0; }
  .tf-page-title .box-title .title { font-size: 24px; line-height: 1.3; }
  .flat-spacing-13 { padding-top: 20px; padding-bottom: 40px; }
  .tf-checkout-cart-main { padding: 18px 14px 20px; border-radius: 14px; }
  .tf-checkout-cart-main .title { margin-bottom: 16px; }
  .tf-checkout-cart-main .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .tf-checkout-cart-main .box-ip-checkout { margin-bottom: 22px; }
  .tf-checkout-cart-main .mb_16 { margin-bottom: 14px !important; }
  /* 16px stops phones from zooming in when a field is tapped */
  .tf-checkout-cart-main input, .tf-checkout-cart-main select, #promoCodeInput { font-size: 16px; }
  .tf-checkout-cart-main .tf-field-label small { display: inline-block; }
  .tf-page-cart-sidebar .cart-box { padding: 18px 14px; border-radius: 14px; }
  .tf-page-cart-sidebar .order-box .title { margin-bottom: 18px; }
  .tf-page-cart-sidebar .order-box .order-item .img-product { flex-basis: 64px; width: 64px; height: 84px; }
  .tf-page-cart-sidebar .order-box .order-item .img-product .quantity { right: -8px; top: -8px; width: 22px; height: 22px; font-size: 12px; }
  .tf-page-cart-sidebar .order-box .order-item:not(:last-child) { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--sp-line); }
  .list-order-product .order-item .order-product-name { margin-bottom: 8px !important; font-size: 14px; }
  .list-order-product .order-item .order-product-bottom-row { flex-wrap: wrap; row-gap: 6px !important; }
  .tf-page-cart-sidebar .order-box .list-order-product,
  .tf-page-cart-sidebar .order-box .list-total { padding-bottom: 18px; margin-bottom: 18px; }
  .tf-page-cart-sidebar .order-box .btn-order { margin-top: 20px; }
  #promoBox { margin: 16px 0 0; }
  #placeOrderBtn { min-height: 52px; font-size: 16px; }
}
@media (max-width: 359.98px) {
  #promoBox .discount-ip { flex-wrap: wrap; }
  #promoApplyBtn { width: 100%; }
}
.order-product-customization { background: var(--sp-surface) !important; border-color: var(--sp-line) !important; }
#promoApplyBtn { background: var(--sp-ink) !important; border-color: var(--sp-ink) !important; }

/* ---- 9  Account, auth, blog, info pages -------------------------------- */
.my-account-nav .my-account-nav-item.active, .my-account-nav .my-account-nav-item:hover {
  background: var(--sp-ink); color: #fff;
}
.wg-blog .image, .wg-blog img { border-radius: var(--sp-radius); }
.wg-blog .title a:hover { color: var(--sp-accent); }
.page-title { background-color: var(--sp-surface); }
.widget-tabs .widget-menu-tab .item-title.active { color: var(--sp-ink); }

/* customer sign-in / sign-up / OTP pages (auth.css): brand colours, form first on small screens */
.auth-page, .otp-page {
  --bg: var(--sp-surface); --panel-soft: #FAFAF8; --line-soft: var(--sp-line);
  --brand: var(--sp-ink); --brand-deep: var(--sp-ink); --brand-soft: var(--primary-4); --brand-soft-2: #FFF8F3;
  --text: var(--sp-ink); --muted: var(--sp-ink-soft);
}
.auth-page .auth-btn, .otp-page .auth-btn { background: var(--sp-ink); border-radius: 10px; }
.auth-page .auth-btn:hover, .otp-page .auth-btn:hover { background: var(--sp-accent); }
.auth-page .auth-brand-icon { background: var(--sp-accent); }
.auth-page .auth-dot { background: var(--sp-accent); }
.auth-page .auth-link, .auth-page .auth-switch a { color: var(--sp-accent); }
@media (max-width: 1080px) {
  .auth-page .auth-grid > .auth-main { order: 1; }
  .auth-page .auth-grid > .auth-side { order: 2; }
}

/* ---- 10 Footer and mobile bottom bar ------------------------------------ */
.footer-default { background-color: var(--sp-ink); color: #C9C9C9; }
.footer-default a, .footer-default p { color: #C9C9C9; }
.footer-default a:hover { color: #fff; }
.footer-default .footer-heading, .footer-default .footer-heading-mobile { color: #fff; font-family: var(--sp-display); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.footer-default .footer-top { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-default .footer-logo img, .footer-default .footer-logo .logo { filter: brightness(0) invert(1); max-height: 46px; width: auto; }
.footer-default .footer-logo .sp-logo-text { color: #fff; }
.footer-default .footer-info .box-icon svg path { fill: #fff; }
.footer-default .footer-info .item, .footer-default .footer-info .item a, .footer-default .footer-info .item p { color: #D4D4D4 !important; }
.footer-default .footer-info .item a:hover { color: #fff !important; }
/* the copyright text comes from settings with its own inline styles (white background, other fonts) */
.footer-default .footer-bottom p * { background: transparent !important; color: inherit !important; font-family: inherit !important; font-size: inherit !important; }
.footer-default .footer-bottom p strong, .footer-default .footer-bottom p b { color: #fff !important; }
.footer-default .footer-info .box-icon { background: rgba(255, 255, 255, .08); border-color: transparent; }
.footer-default .tf-social-icon .social-item { border-color: rgba(255, 255, 255, .25); color: #fff; }
.footer-default .tf-social-icon .social-item:hover { background: var(--sp-accent); border-color: var(--sp-accent); }
.footer-default .btn-line-dark { color: #fff; border-color: rgba(255, 255, 255, .5); }
.footer-default .btn-line-dark:hover { background: #fff; color: var(--sp-ink); }
.footer-default .form-newsletter .subscribe-email { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.footer-default .form-newsletter .subscribe-email::placeholder { color: #9A9A9A; }
.footer-default .form-newsletter .subscribe-button { background: var(--sp-accent); border-color: var(--sp-accent); }
.footer-default .form-newsletter .subscribe-button svg path { stroke: #fff; }
.footer-default .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-default .footer-bottom p, .footer-default .footer-bottom .text-dark { color: #9A9A9A !important; }
.footer-default .footer-bottom a { color: #fff; }
.footer-default .footer-menu-list a:hover { padding-left: 2px; }
.footer-default .tf-collapse-content, .footer-default .footer-col-block { border-color: rgba(255, 255, 255, .1); }
.footer-default .footer-heading-mobile::after, .footer-default .footer-heading-mobile::before { background-color: #fff; }
.sp-payment { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-payment .item {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #fff; border-radius: 8px; color: var(--sp-ink); font-size: 12.5px; font-weight: 600;
}
.sp-payment .item img { height: 22px; width: auto; }
.sp-payment .sp-pay-cod .icon { font-size: 15px; color: var(--sp-accent); }

.tf-toolbar-bottom {
  border-top: 1px solid var(--sp-line);
  box-shadow: 0 -8px 24px -16px rgba(17, 17, 17, .35);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.tf-toolbar-bottom .toolbar-item a { color: var(--sp-ink); }
.tf-toolbar-bottom .toolbar-label { font-weight: 500; font-size: 11.5px; }
.tf-toolbar-bottom .toolbar-item a:hover .toolbar-label, .tf-toolbar-bottom .toolbar-item.active .toolbar-label { color: var(--sp-accent); }

/* ---- 11 Floating buttons, toasts, 404 ----------------------------------- */
.floating-contact-stack { gap: 10px !important; }
.floating-contact-link {
  width: 50px !important; height: 50px !important;
  box-shadow: 0 10px 24px -10px rgba(17, 17, 17, .45) !important;
}
.floating-contact-link img { width: 26px !important; height: 26px !important; }
.floating-contact-link::before { display: none !important; }
@media (max-width: 767.98px) {
  .floating-contact-stack { bottom: 88px !important; left: 12px !important; }
  .floating-contact-link { width: 44px !important; height: 44px !important; }
  .floating-contact-link img { width: 22px !important; height: 22px !important; }
}

.lobibox-notify { border-radius: 10px !important; box-shadow: var(--sp-shadow) !important; font-family: var(--sp-font) !important; }
.lobibox-notify.lobibox-notify-success { background: var(--sp-ink) !important; border-color: var(--sp-ink) !important; }
.lobibox-notify.lobibox-notify-error { background: var(--sp-red) !important; border-color: var(--sp-red) !important; }

#goTop { background-color: var(--sp-ink); }
#goTop .border-progress { border-color: var(--sp-accent); }

.sp-404 { padding: 72px 0 96px; }
.sp-404__box { max-width: 560px; margin: 0 auto; text-align: center; }
.sp-404__code {
  font-family: var(--sp-display); font-weight: 700; font-size: clamp(84px, 16vw, 150px); line-height: 1;
  color: var(--sp-ink); letter-spacing: .02em;
}
.sp-404__code::after { content: ""; display: block; width: 64px; height: 5px; margin: 14px auto 0; background: var(--sp-accent); border-radius: 4px; }
.sp-404__title { font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin: 22px 0 8px; }
.sp-404__text { color: var(--sp-ink-soft); margin-bottom: 26px; }
.sp-404__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.sp-404__home { width: 100%; margin-top: 6px; color: var(--sp-ink-soft); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .wow { visibility: visible !important; }
}
