/*
Theme Name: SafeStore Minimal
Theme URI: https://example.com
Author: SafeStoreBD
Author URI: https://example.com
Description: A lightweight minimal WordPress theme for SafeStoreBD.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safestore-minimal
Tags: custom-logo, custom-menu, featured-images, translation-ready, responsive-layout
*/

:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 100%;
  color: #111827;
  background: #f8fafc;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f8fafc;
  color: #111827;
}

a { color: #0f7a3d; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sft-site-footer { width: 100%; background: #ffffff; }

.site-content {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 40px 30px;
}

/* ===== Site Header ===== */
.sft-header {
  position: relative;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #eef0f3;
}

.sft-header-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 11px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

/* Brand */
.sft-header-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}

.sft-header-brand:hover { text-decoration: none; color: #0f172a; }

.sft-header .sft-header-brand-logo {
  display: block;
  flex-shrink: 0;
  height: 38px;
  width: auto;
  max-width: 196px;
  max-height: 38px;
  min-height: 38px;
  object-fit: contain;
}

.sft-header-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sft-header-brand-mark svg { width: 20px; height: 20px; display: block; }

.sft-header-brand-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}

.sft-header-brand-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.sft-header-brand-text span { color: #dc2626; }

.sft-header-brand-tag {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.02em;
}

/* Search */
.sft-header-search {
  justify-self: center;
  width: min(600px, 96vw);
  display: flex;
  align-items: stretch;
  height: 42px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sft-header-search:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.sft-header-search-cat-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  border-right: 1px solid #e5e7eb;
  border-radius: 999px 0 0 999px;
}

/* Custom category dropdown (replaces native select) */
.sft-search-cat {
  flex-shrink: 0;
}

.sft-search-cat__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 14px 0 18px;
  margin: 0;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.sft-search-cat__trigger:focus {
  outline: 0;
}

.sft-search-cat__trigger:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.35);
}

.sft-search-cat__value {
  max-width: 172px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sft-search-cat__chevron {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #64748b;
  transition: transform 0.22s ease;
}

.sft-search-cat.is-open .sft-search-cat__chevron {
  transform: rotate(180deg);
  color: #0f172a;
}

.sft-search-cat__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: max(100%, 296px);
  max-height: min(384px, 74vh);
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.14),
    0 6px 16px rgba(15, 23, 42, 0.08);
  z-index: 300;
  -webkit-overflow-scrolling: touch;
}

.sft-search-cat__panel::-webkit-scrollbar {
  width: 8px;
}

.sft-search-cat__panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.sft-search-cat__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sft-search-cat__item {
  margin: 0;
  padding: 0;
}

.sft-search-cat__option {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  text-align: left;
  line-height: 1.35;
  transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.sft-search-cat__option:focus {
  outline: 0;
}

.sft-search-cat__option:focus-visible {
  background: #f1f5f9;
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.22);
}

.sft-search-cat__option:hover {
  background: #f8fafc;
  color: #0f172a;
}

.sft-search-cat__option.is-selected {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.07) 0%, rgba(15, 23, 42, 0.03) 100%);
  color: #0f172a;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #0f172a;
}

.sft-search-cat__option-label {
  flex: 1;
  min-width: 0;
}

.sft-header-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 15px;
  color: #0f172a;
  background: transparent;
  min-width: 0;
}

.sft-header-search-input::placeholder { color: #9ca3af; }

.sft-header-search-btn {
  width: 60px;
  flex-shrink: 0;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #0f172a;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.sft-header-search-btn:hover { background: #1f2937; }
.sft-header-search-btn svg { width: 21px; height: 21px; }

/* Actions (account / wishlist / cart) */
.sft-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sft-header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0f172a;
  position: relative;
}

.sft-header-action:hover { text-decoration: none; color: #dc2626; }

.sft-header-action-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.sft-header-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}

.sft-header-action-eyebrow {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
}

.sft-header-action-label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.sft-header-action-label--single { font-size: 13px; }

.sft-header-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sft-header-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Category nav row */
.sft-header-nav {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
}

.sft-header-nav-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
}

.sft-header-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.sft-header-nav-list a {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 0;
  display: inline-block;
  transition: color 0.2s ease;
}

.sft-header-nav-list a:hover { color: #dc2626; text-decoration: none; }

.sft-header-deal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sft-header-deal:hover { color: #b91c1c; text-decoration: none; }

.sft-header-deal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

@media (max-width: 1080px) {
  .sft-header-action-text { display: none; }
  .sft-header-actions { gap: 18px; }
  .sft-header-action-icon { width: 24px; height: 24px; }
  .sft-header-cart-badge { top: -8px; right: -10px; }
  .sft-header-nav-list { overflow-x: auto; flex-wrap: nowrap; }
  .sft-header-nav-list a { white-space: nowrap; }
}

@media (max-width: 720px) {
  .sft-header-main {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 14px;
    padding: 12px 18px;
  }
  .sft-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
  }
  .sft-header-search-cat-wrap { display: none; }
  .sft-header-brand-tag { display: none; }
  .sft-header-actions { justify-self: end; gap: 14px; }
  .sft-header-nav-inner { padding: 0 18px; gap: 16px; }
}

.entry-content {
  max-width: 860px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-top: 0;
}

.entry-content p {
  margin: 1.25em 0;
}

/* ===== About page (Template Name: About) ===== */
.sft-about {
  padding-bottom: clamp(40px, 6vw, 64px);
}

.sft-about-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-about-hero {
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
  color: #f8fafc;
  padding: clamp(40px, 7vw, 72px) 24px clamp(44px, 6vw, 64px);
  margin-bottom: 0;
}

.sft-about-hero-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 640px;
}

.sft-about-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-about-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
}

.sft-about-lede {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 560px;
}

.sft-about-trust {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.sft-about-trust li {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  padding-left: 14px;
  position: relative;
}

.sft-about-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
}

.sft-about-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sft-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.sft-about-btn:hover { text-decoration: none; }

.sft-about-btn--primary {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.sft-about-btn--primary:hover {
  background: #b91c1c;
  color: #ffffff;
}

.sft-about-btn--ghost {
  background: rgba(248, 250, 252, 0.08);
  color: #f1f5f9;
  border-color: rgba(248, 250, 252, 0.22);
}

.sft-about-btn--ghost:hover {
  background: rgba(248, 250, 252, 0.14);
  color: #ffffff;
  border-color: rgba(248, 250, 252, 0.35);
}

.sft-about-btn--light {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.sft-about-btn--light:hover {
  background: #f8fafc;
  color: #0f172a;
}

.sft-about-btn--light.sft-about-btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.sft-about-btn--light.sft-about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sft-about-editor-wrap {
  padding: clamp(28px, 4vw, 40px) 16px;
  background: #f8fafc;
}

.sft-about-editor {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: clamp(22px, 3vw, 36px);
}

.sft-about-editor p:first-of-type { margin-top: 0; }
.sft-about-editor p:last-of-type { margin-bottom: 0; }

.sft-about-body {
  padding: clamp(40px, 5vw, 56px) 16px;
  background: #ffffff;
}

.sft-about-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(28px, 4vw, 40px);
  align-items: start;
}

.sft-about-h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sft-about-h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.sft-about-summary-text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
}

.sft-about-highlights {
  margin: 0 0 24px;
  padding: 0 0 0 1.15em;
  color: #374151;
  font-size: 15px;
  line-height: 1.55;
}

.sft-about-highlights li {
  margin-bottom: 8px;
}

.sft-about-highlights li:last-child {
  margin-bottom: 0;
}

.sft-about-contact-card {
  background: #f8fafc;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.sft-about-contact-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.sft-about-contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.sft-about-contact-list li {
  margin-bottom: 10px;
}

.sft-about-contact-list li:last-child {
  margin-bottom: 0;
}

.sft-about-contact-list a {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
}

.sft-about-contact-list a:hover {
  color: #dc2626;
}

.sft-about-contact-list a.sft-about-contact-wa {
  color: #15803d;
}

.sft-about-contact-list a.sft-about-contact-wa:hover {
  color: #166534;
}

.sft-about-contact-shop {
  width: 100%;
}

.sft-about-cta {
  margin: clamp(20px, 3vw, 32px) auto 0;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 36px);
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  width: min(960px, calc(100% - 32px));
}

.sft-about-cta-inner {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 36px);
  align-items: center;
}

.sft-about-cta-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-about-cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sft-about-cta-actions .sft-about-btn {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sft-about-body-grid {
    grid-template-columns: 1fr;
  }

  .sft-about-cta-inner {
    grid-template-columns: 1fr;
  }

  .sft-about-cta-actions {
    justify-content: flex-start;
  }

  .sft-about-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 200px);
    justify-content: center;
  }
}

/* Refund & policy page (About-style layout) */
.sft-policy-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eef0f3;
}

.sft-policy-section:last-of-type {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 0;
}

.sft-policy-note {
  padding: 14px 16px;
  background: #f8fafc;
  border-left: 3px solid #fb923c;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}

.sft-policy-steps {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
}

.sft-policy-steps li {
  margin-bottom: 10px;
}

.sft-policy-steps li:last-child {
  margin-bottom: 0;
}

.sft-policy-related-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-policy-related-links a {
  font-weight: 600;
  color: #0f7a3d;
  text-decoration: none;
}

.sft-policy-related-links a:hover {
  color: #dc2626;
}

.sft-policy-updated {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b7280;
}

/* FAQ page */
.sft-faq-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-faq-hero .sft-about-lede {
  margin-bottom: 18px;
}

.sft-faq-body {
  padding: clamp(28px, 4vw, 40px) 16px clamp(20px, 3vw, 28px);
  background: #ffffff;
}

.sft-faq-group {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.sft-faq-group:last-child {
  margin-bottom: 0;
}

.sft-faq-group-title {
  margin-bottom: 12px;
  font-size: clamp(18px, 2vw, 22px);
}

.sft-faq-cta {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.sft-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-faq-item {
  border: 1px solid #e7eaef;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sft-faq-item[open] {
  border-color: #fecaca;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
}

.sft-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
}

.sft-faq-question::-webkit-details-marker,
.sft-faq-question::marker {
  display: none;
}

.sft-faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  margin-top: -4px;
}

.sft-faq-item[open] .sft-faq-question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: #dc2626;
}

.sft-faq-answer {
  padding: 0 18px 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

.sft-faq-answer p {
  margin: 0 0 10px;
}

.sft-faq-answer p:last-child {
  margin-bottom: 0;
}

.sft-faq-answer a {
  color: #0f7a3d;
  font-weight: 600;
  text-decoration: none;
}

.sft-faq-answer a:hover {
  color: #dc2626;
}

/* Shipping page */
.sft-ship-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-ship-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-ship-table-wrap {
  margin: 0 0 20px;
  overflow-x: auto;
  border: 1px solid #e7eaef;
  border-radius: 12px;
  background: #f8fafc;
}

.sft-ship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.sft-ship-table th,
.sft-ship-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e7eaef;
}

.sft-ship-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  background: #ffffff;
}

.sft-ship-table tbody tr:last-child td {
  border-bottom: 0;
}

.sft-ship-table tbody td {
  color: #374151;
  background: #ffffff;
}

.sft-ship-table tbody td:last-child {
  font-weight: 600;
  color: #0f172a;
}

.sft-ship-highlights {
  margin-bottom: 0;
}

/* Shipping page footer */
.sft-ship-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-ship-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-ship-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-ship-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-ship-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-ship-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-ship-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-ship-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-ship-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-ship-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-ship-page-footer-pills {
  margin-bottom: 10px;
}

.sft-ship-page-footer-payments .sft-pay,
.sft-ship-page-footer-col--pay .sft-pay {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(248, 250, 252, 0.18);
}

.sft-ship-pay-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.sft-pay--cod .sft-ship-pay-label    { color: #86efac; }
.sft-pay--bkash .sft-ship-pay-label  { color: #f472b6; }
.sft-pay--nagad .sft-ship-pay-label  { color: #fdba74; }

.sft-ship-page-footer-pay-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

.sft-ship-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-ship-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-ship-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

.sft-ship-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-ship-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-ship-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-ship-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-ship-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Careers page */
.sft-careers-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-careers-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-careers-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sft-careers-card {
  border: 1px solid #e7eaef;
  border-radius: 12px;
  padding: 18px 20px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sft-careers-card:hover {
  border-color: #fecaca;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.sft-careers-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.sft-careers-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.sft-careers-card-meta {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.sft-careers-card-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}

.sft-careers-general {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.sft-careers-location {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.sft-careers-location strong {
  display: block;
  margin-bottom: 4px;
  color: #374151;
}

/* Careers page footer */
.sft-careers-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-careers-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-careers-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-careers-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-careers-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-careers-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-careers-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-careers-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-careers-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-careers-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-careers-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-careers-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-careers-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

.sft-careers-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-careers-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-careers-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-careers-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-careers-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Track order page */
.sft-track-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-track-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-track-form {
  margin-bottom: 28px;
  padding: 22px 20px;
  border: 1px solid #e7eaef;
  border-radius: 12px;
  background: #f8fafc;
}

.sft-track-form .woocommerce-form-track-order > p:first-of-type {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.sft-track-form .form-row {
  margin-bottom: 14px;
}

.sft-track-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.sft-track-form .input-text {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  background: #ffffff;
  box-sizing: border-box;
}

.sft-track-form .input-text:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.sft-track-form .button,
.sft-track-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border: 0;
  border-radius: 10px;
  background: #dc2626;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sft-track-form .button:hover,
.sft-track-form button[type="submit"]:hover {
  background: #b91c1c;
}

.sft-track-notices {
  margin-bottom: 16px;
}

.sft-track-notices .woocommerce-message,
.sft-track-notices .woocommerce-info,
.sft-track-notices .woocommerce-error {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  list-style: none;
}

.sft-track-steps-heading {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.sft-track-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sft-track-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 14px 16px;
  border: 1px solid #e7eaef;
  border-radius: 10px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.sft-track-steps li strong {
  grid-column: 1 / -1;
  color: #0f172a;
  font-size: 14px;
}

.sft-track-steps li span {
  grid-column: 1 / -1;
}

/* Track order page footer */
.sft-track-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-track-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-track-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-track-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-track-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-track-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-track-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-track-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-track-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-track-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-track-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-track-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-track-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

.sft-track-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-track-form .form-row-first,
  .sft-track-form .form-row-last {
    width: 100%;
    float: none;
  }

  .sft-track-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-track-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-track-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-track-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Privacy policy page */
.sft-privacy-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-privacy-updated {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.sft-privacy-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-privacy-content .sft-policy-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.sft-privacy-content a {
  color: #0f7a3d;
  font-weight: 600;
  text-decoration: none;
}

.sft-privacy-content a:hover {
  color: #dc2626;
}

.sft-privacy-cta {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* Terms of service page */
.sft-terms-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-terms-updated {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.sft-terms-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-terms-content .sft-policy-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.sft-terms-content a {
  color: #0f7a3d;
  font-weight: 600;
  text-decoration: none;
}

.sft-terms-content a:hover {
  color: #dc2626;
}

.sft-terms-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-terms-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-terms-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-terms-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-terms-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-terms-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-terms-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-terms-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-terms-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-terms-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-terms-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-terms-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-terms-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

.sft-terms-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-terms-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-terms-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-terms-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-terms-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Legal page */
.sft-legal-page-hero,
.sft-sitemap-hero {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.sft-legal-page-updated {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.sft-legal-page-body,
.sft-sitemap-body {
  padding-bottom: clamp(32px, 4vw, 44px);
}

.sft-legal-doc-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sft-legal-doc-list li {
  border: 1px solid #e7eaef;
  border-radius: 10px;
  padding: 14px 16px;
  background: #f8fafc;
}

.sft-legal-doc-list a {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.sft-legal-doc-list a:hover {
  color: #dc2626;
}

.sft-legal-doc-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.sft-legal-page-content a {
  color: #0f7a3d;
  font-weight: 600;
  text-decoration: none;
}

.sft-legal-page-content a:hover {
  color: #dc2626;
}

/* Sitemap page */
.sft-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.sft-sitemap-group {
  border: 1px solid #e7eaef;
  border-radius: 12px;
  padding: 20px 22px;
  background: #ffffff;
}

.sft-sitemap-group-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.sft-sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sft-sitemap-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-sitemap-links a:hover {
  color: #dc2626;
}

/* Legal & sitemap page footers */
.sft-legal-page-footer,
.sft-sitemap-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-legal-page-footer-inner,
.sft-sitemap-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-legal-page-footer-grid,
.sft-sitemap-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-legal-page-footer-heading,
.sft-sitemap-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-legal-page-footer-links,
.sft-sitemap-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-legal-page-footer-links a,
.sft-sitemap-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-legal-page-footer-links a:hover,
.sft-sitemap-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-legal-page-footer-tips,
.sft-sitemap-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-legal-page-footer-tips li,
.sft-sitemap-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-legal-page-footer-tips li:last-child,
.sft-sitemap-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-legal-page-footer-cta,
.sft-sitemap-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-legal-page-footer-cta-title,
.sft-sitemap-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-legal-page-footer-cta-copy p,
.sft-sitemap-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 480px;
}

.sft-legal-page-footer-cta-actions,
.sft-sitemap-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .sft-legal-page-footer-grid,
  .sft-sitemap-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-legal-page-footer-cta,
  .sft-sitemap-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-legal-page-footer-cta-actions,
  .sft-sitemap-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-legal-page-footer-cta-actions .sft-about-btn,
  .sft-sitemap-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Privacy page footer (legacy — unused if template uses CTA only) */
.sft-privacy-page-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: clamp(36px, 5vw, 48px) 16px clamp(40px, 5vw, 52px);
}

.sft-privacy-page-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.sft-privacy-page-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 36px);
  margin-bottom: clamp(28px, 4vw, 36px);
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.sft-privacy-page-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fb923c;
}

.sft-privacy-page-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sft-privacy-page-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sft-privacy-page-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sft-privacy-page-footer-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.sft-privacy-page-footer-tips li {
  margin-bottom: 8px;
}

.sft-privacy-page-footer-tips li:last-child {
  margin-bottom: 0;
}

.sft-privacy-page-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}

.sft-privacy-page-footer-cta-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sft-privacy-page-footer-cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 520px;
}

.sft-privacy-page-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sft-privacy-page-footer-grid {
    grid-template-columns: 1fr;
  }

  .sft-privacy-page-footer-cta {
    grid-template-columns: 1fr;
  }

  .sft-privacy-page-footer-cta-actions {
    justify-content: flex-start;
  }

  .sft-privacy-page-footer-cta-actions .sft-about-btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
  }
}

/* Hero slider — full-width banner carousel above the promo grid */
.home .hero-slider {
  width: min(1440px, calc(100% - 32px));
  margin: 18px auto 24px;
  padding: 0;
}

.home .hero-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0a0d14;
  isolation: isolate;
  height: 520px;
  min-height: 520px;
}

.home .hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  background:
    radial-gradient(ellipse 70% 80% at 78% 50%, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0.08) 35%, rgba(245, 158, 11, 0) 65%),
    linear-gradient(135deg, #0a0d14 0%, #11161f 60%, #161c27 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease-in-out, visibility 0s linear 0.7s;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.home .hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.home .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.7s ease-in-out, visibility 0s linear 0s;
  z-index: 2;
}

.home .hero-slide-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 100%;
}

.home .hero-slide-glow {
  position: absolute;
  inset: 14% 6%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.45) 0%, rgba(245, 158, 11, 0.15) 35%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}

.home .hero-slide-product {
  position: relative;
  z-index: 1;
  max-width: 84%;
  max-height: 380px;
  width: auto;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at center, #000 55%, transparent 78%);
          mask-image: radial-gradient(ellipse 62% 62% at center, #000 55%, transparent 78%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
}

.home .hero-slide-spec {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(20, 24, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.home .hero-slide-spec--cert {
  top: 14%;
  right: 6%;
}

.home .hero-slide-spec--reviews {
  bottom: 18%;
  left: 6%;
}

.home .hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 56px clamp(28px, 5vw, 72px);
  max-width: 620px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.home .hero-slide-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fecaca;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.home .hero-slide-badge-star {
  color: #fbbf24;
  font-size: 13px;
  line-height: 1;
}

.home .hero-slide-title {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  /* Reserve vertical space so slide-to-slide title layout doesn’t change overall slide height */
  min-height: calc(2 * 1.02 * clamp(34px, 5.4vw, 68px) + 2px);
}

.home .hero-slide-title-line {
  color: #ffffff;
}

.home .hero-slide-title-accent {
  color: #f59e0b;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home .hero-slide-text {
  margin: 4px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.78);
  max-width: 480px;
  font-weight: 400;
  flex-shrink: 0;
  /* Always exactly two lines so slide height stays consistent */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 3.2em;
  max-height: 3.2em;
}

.home .hero-slide-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
  flex-wrap: wrap;
}

.home .hero-slide-price-old {
  font-size: 17px;
  color: rgba(148, 163, 184, 0.7);
  text-decoration: line-through;
  font-weight: 500;
}

.home .hero-slide-price-new {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
  line-height: 1;
}

.home .hero-slide-price-discount {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home .hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.home .hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.home .hero-slide-cta--primary {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f1300;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

.home .hero-slide-cta--primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
  color: #1f1300;
}

.home .hero-slide-cta--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.home .hero-slide-cta--secondary:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  transform: translateY(-1px);
}

.home .hero-slide-cta-arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home .hero-slide-cta--primary:hover .hero-slide-cta-arrow {
  transform: translateX(3px);
}

.home .hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.home .hero-dot {
  width: 14px;
  height: 5px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  pointer-events: auto;
  transition: width 0.25s ease, background 0.25s ease;
}

.home .hero-dot:hover { background: rgba(255, 255, 255, 0.5); }

.home .hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

@media (max-width: 900px) {
  .home .hero-slider { width: calc(100% - 16px); margin: 12px auto 18px; }
  .home .hero-slider-viewport {
    border-radius: 14px;
    /* Fixed height so slide changes don’t resize the banner */
    height: clamp(620px, 92vh, 720px);
    min-height: clamp(620px, 92vh, 720px);
  }
  .home .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 240px;
  }
  .home .hero-slide-content { padding: 32px 22px 16px; max-width: 100%; }
  .home .hero-slide-media { padding: 8px 22px 48px; }
  .home .hero-slide-product { max-height: 200px; max-width: 70%; }
  .home .hero-slide-spec { font-size: 12px; padding: 6px 11px; }
  .home .hero-slide-spec--cert { top: 8px; right: 12px; }
  .home .hero-slide-spec--reviews { bottom: 8px; left: 12px; }
  .home .hero-slider-dots { bottom: 16px; }
  .home .hero-slide-actions .hero-slide-cta { padding: 12px 18px; font-size: 14px; }
}

/* Trust bar — 4 feature highlights below the hero */
.home .trust-bar {
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto 24px;
}

.home .trust-bar-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.home .trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home .trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home .trust-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.home .trust-icon--red    { background: #fef2f2; color: #dc2626; }
.home .trust-icon--green  { background: #ecfdf5; color: #16a34a; }
.home .trust-icon--blue   { background: #eff6ff; color: #2563eb; }
.home .trust-icon--pink   { background: #fdf2f8; color: #db2777; }

.home .trust-text {
  min-width: 0;
}

.home .trust-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}

.home .trust-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .home .trust-bar { width: calc(100% - 16px); }
  .home .trust-bar-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .home .trust-bar-card { grid-template-columns: 1fr; }
}

/* Featured Categories — asymmetric magazine grid */
.home .featured-categories {
  width: min(1440px, calc(100% - 32px));
  margin: 52px auto 60px;
}

.home .featured-categories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.home .featured-categories-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.home .featured-categories-head p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.home .featured-categories-view-all {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home .featured-categories-view-all:hover {
  color: #f59e0b;
  text-decoration: none;
  transform: translateX(2px);
}

.home .featured-categories-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 400px;
  gap: 14px;
}

.home .category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: #f3f4f6;
  isolation: isolate;
}

/* Visible only before paint / flash — photo covers entirely after load */
.home .category-card--cover {
  background-color: #161a22;
}

.home .category-card:hover { text-decoration: none; color: #fff; }

.home .category-card--xl { grid-column: span 6; }
.home .category-card--sm { grid-column: span 3; }
.home .category-card--md { grid-column: span 5; }
.home .category-card--lg { grid-column: span 7; }

.home .category-card img {
  display: block;
  transition: transform 0.45s ease;
  max-width: none;
}

.home .category-card--contain:hover img {
  transform: scale(1.04);
}

/*
 * Fill the whole tile (`cover`), anchor crop to the photo’s midpoint so subject
 * stays centred (edges crop symmetrically unless aspect ratios differ sharply).
 */
.home .category-card--cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  transform: none;
  transform-origin: center center;
  object-fit: cover;
  object-position: center center;
}

.home .category-card--cover:hover img {
  transform: scale(1.045);
}

.home .category-card--cover .category-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 72px 18px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Contain variant — product cutout sits in upper area, text below in its own footer */
.home .category-card--contain {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.home .category-card--contain img {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 18px 6px;
  mix-blend-mode: multiply;
}

.home .category-card--contain .category-card-overlay {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 18px 16px;
  color: #1f1300;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home .category-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.home .category-card-title {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.home .category-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home .category-card:hover .category-card-arrow {
  background: #f59e0b;
  color: #1f1300;
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .home .featured-categories { width: calc(100% - 16px); }
  .home .featured-categories-grid {
    grid-auto-rows: 240px;
    gap: 10px;
  }
  .home .category-card--xl { grid-column: span 12; }
  .home .category-card--sm { grid-column: span 6; }
  .home .category-card--md { grid-column: span 6; }
  .home .category-card--lg { grid-column: span 12; }
}

@media (max-width: 480px) {
  .home .featured-categories-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .home .category-card--sm,
  .home .category-card--md { grid-column: span 12; }
  .home .featured-categories-grid { grid-auto-rows: 216px; }
}

/* Support Bar — "Need help with your order?" */
.home .support-bar {
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto 60px;
}

.home .support-bar-card {
  background: #ffffff;
  border: 1px solid #e7eaef;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.home .support-bar-head {
  padding: 44px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home .support-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home .support-bar-badge-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.home .support-bar-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.home .support-bar-text {
  margin: 0;
  max-width: 640px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.55;
}

.home .support-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #eef0f3;
}

.home .support-item {
  padding: 26px 18px 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-left: 1px solid #eef0f3;
  transition: background 0.2s ease;
}

.home .support-item:first-child { border-left: 0; }

.home .support-item:hover {
  text-decoration: none;
}

.home .support-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.home .support-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.home .support-icon--red    { background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.home .support-icon--green  { background: #ecfdf5; color: #16a34a; }
.home .support-icon--blue   { background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.home .support-icon--amber  { background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.home .support-icon--whatsapp {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Support grid tiles — solid brand backgrounds, white copy (WhatsApp-style) */
.home .support-item:has(.support-icon--red) {
  background: #dc2626;
  border-left-color: rgba(255, 255, 255, 0.22);
}
.home .support-item:has(.support-icon--red):hover {
  background: #b91c1c;
}

.home .support-item:has(.support-icon--whatsapp) {
  background: #25d366;
  border-left-color: rgba(255, 255, 255, 0.22);
}
.home .support-item:has(.support-icon--whatsapp):hover {
  background: #20bd5a;
}

.home .support-item:has(.support-icon--blue) {
  background: #2563eb;
  border-left-color: rgba(255, 255, 255, 0.22);
}
.home .support-item:has(.support-icon--blue):hover {
  background: #1d4ed8;
}

.home .support-item:has(.support-icon--amber) {
  background: #ea580c;
  border-left-color: rgba(255, 255, 255, 0.22);
}
.home .support-item:has(.support-icon--amber):hover {
  background: #c2410c;
}

.home .support-item:has(.support-icon--red) .support-eyebrow,
.home .support-item:has(.support-icon--whatsapp) .support-eyebrow,
.home .support-item:has(.support-icon--blue) .support-eyebrow,
.home .support-item:has(.support-icon--amber) .support-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}
.home .support-item:has(.support-icon--red) .support-value,
.home .support-item:has(.support-icon--whatsapp) .support-value,
.home .support-item:has(.support-icon--blue) .support-value,
.home .support-item:has(.support-icon--amber) .support-value {
  color: #ffffff;
}
.home .support-item:has(.support-icon--red) .support-detail,
.home .support-item:has(.support-icon--whatsapp) .support-detail,
.home .support-item:has(.support-icon--blue) .support-detail,
.home .support-item:has(.support-icon--amber) .support-detail {
  color: rgba(255, 255, 255, 0.9);
}

.home .support-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.home .support-value {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}

.home .support-detail {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .home .support-bar { width: calc(100% - 16px); }
  .home .support-bar-head { padding: 32px 18px 26px; }
  .home .support-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .support-item:nth-child(3) { border-left: 0; }
  .home .support-item:nth-child(3),
  .home .support-item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
}

@media (max-width: 480px) {
  .home .support-bar-grid { grid-template-columns: 1fr; }
  .home .support-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .home .support-item:first-child { border-top: 0; }
}

/* Keep hero aligned with site max width and page padding */
.home .hero-section.hero-promo {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.home .hero-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.home .hero-promo-card {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.home .hero-promo-card:hover {
  text-decoration: none;
  color: #fff;
}

.home .hero-promo-media {
  position: absolute;
  inset: 0;
  max-width: none;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
  z-index: 0;
}

.home .hero-promo-card:hover .hero-promo-media {
  transform: scale(1.06);
}

.home .hero-promo-shade {
  position: absolute;
  inset: 0;
  background-color: #a6192e;
  clip-path: polygon(0 0, 72% 0, 42% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.home .hero-promo-copy {
  position: relative;
  z-index: 2;
  max-width: 82%;
  padding: 18px 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.home .hero-promo-brand {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
}

.home .hero-promo-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.25;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.home .hero-promo-line {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(13px, 1.55vw, 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.home .hero-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0076a8;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.home .hero-promo-chevron {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin-left: 1px;
}

.home .categories {
  padding: 36px 0 64px;
}

.home .categories-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.home .categories h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
}

.home .categories-view-all {
  color: #0f6f88;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.home .categories-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #d8dde3;
  border-left: 1px solid #d8dde3;
  background: #fff;
}

.home .category-tile {
  min-height: 146px;
  border-right: 1px solid #d8dde3;
  border-bottom: 1px solid #d8dde3;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #121926;
  background: #fff;
}

.home .category-tile:hover {
  text-decoration: none;
  background: #f8fafc;
}

.home .category-tile img {
  width: 84px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 10px;
}

.home .category-tile span {
  font-size: 14px;
  line-height: 1.25;
  color: #111827;
}

.home .industry-solutions {
  padding: 26px 0 36px;
}

.home .industry-solutions h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.2;
}

.home .industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d8dde3;
  background: #f5f7f9;
}

.home .industry-card {
  padding: 16px 16px 12px;
  border-right: 1px solid #d8dde3;
}

.home .industry-card:last-child {
  border-right: 0;
}

.home .industry-card-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.home .industry-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: #111827;
}

.home .industry-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #374151;
}

.home .industry-icon {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b6112a;
  color: #fff;
  font-size: 30px;
  flex-shrink: 0;
}

.home .industry-links {
  margin-top: 6px;
  font-size: 15px;
  color: #0a6378;
}

.home .industry-summary {
  margin: 14px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.home .cta-info {
  padding: 64px 0;
}

.home .item {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.home .item h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.home .item p {
  margin: 0;
  color: #4b5563;
}

/* Footer */
.sft-site-footer {
  margin-top: 32px;
  background: #ffffff;
  border-top: 1px solid #eef0f3;
  color: #0f172a;
  text-align: left;
}

.sft-footer-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 56px 30px 0;
}

.sft-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.sft-footer-col { min-width: 0; }

/* Brand column */
.sft-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  margin-bottom: 18px;
}

.sft-brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.sft-brand:hover { text-decoration: none; color: #0f172a; }

.sft-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sft-brand-mark svg { width: 18px; height: 18px; display: block; }

.sft-brand-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.sft-brand-text span { color: #dc2626; }

.sft-brand-desc {
  margin: 0 0 22px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.sft-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sft-social {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sft-social svg { width: 16px; height: 16px; display: block; }

.sft-social:hover {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
}

/* Footer social — brand-tinted “soft” tiles + stronger brand on hover */
.sft-social--facebook {
  border-color: rgba(24, 119, 242, 0.28);
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}
.sft-social--facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
  color: #ffffff;
}

.sft-social--x {
  border-color: rgba(15, 20, 25, 0.18);
  background: rgba(15, 20, 25, 0.06);
  color: #0f1419;
}
.sft-social--x:hover {
  border-color: #0f1419;
  background: #0f1419;
  color: #ffffff;
}

.sft-social--instagram {
  border-color: rgba(225, 48, 108, 0.28);
  background: linear-gradient(
    135deg,
    rgba(240, 148, 51, 0.14),
    rgba(225, 48, 108, 0.12),
    rgba(188, 24, 136, 0.14)
  );
  color: #e1306c;
}
.sft-social--instagram:hover {
  border-color: transparent;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}

.sft-social--linkedin {
  border-color: rgba(10, 102, 194, 0.28);
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}
.sft-social--linkedin:hover {
  border-color: #0a66c2;
  background: #0a66c2;
  color: #ffffff;
}

/* Link columns */
.sft-footer-heading {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
}

.sft-footer-links,
.sft-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sft-footer-links a,
.sft-footer-contact-list a {
  color: #374151;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.sft-footer-links a:hover,
.sft-footer-contact-list a:hover {
  color: #dc2626;
  text-decoration: none;
}

.sft-contact-strong {
  font-weight: 600;
  color: #0f172a !important;
}

.sft-contact-muted {
  color: #6b7280;
  font-size: 14px;
}

/* Payment + cert row */
.sft-footer-row {
  border-top: 1px solid #eef0f3;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sft-payment-group,
.sft-cert-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sft-row-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.sft-payment-pills,
.sft-cert-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.sft-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.sft-pay:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.sft-pay-logo {
  display: block;
  height: 18px;
  width: auto;
}

.sft-pay-logo--cod { height: 16px; }

.sft-pay--bkash  { border-color: rgba(226, 19, 110, 0.25); }
.sft-pay--nagad  { border-color: rgba(245, 130, 31, 0.30); }
.sft-pay--rocket { border-color: rgba(138, 43, 213, 0.25); }
.sft-pay--upay   { border-color: rgba(244, 114, 22, 0.25); }
.sft-pay--cod    { border-color: rgba(22, 163, 74, 0.25); }

.sft-cert {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #e5e7eb;
}

/* Bottom row */
.sft-bottom-row {
  padding: 18px 0 22px;
}

.sft-copy {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.sft-legal {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.sft-legal a {
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sft-legal a:hover { color: #dc2626; text-decoration: none; }

@media (max-width: 1080px) {
  .sft-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .sft-footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .sft-footer-inner { padding: 40px 18px 0; }
  .sft-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .sft-footer-brand-col { grid-column: 1 / -1; }
  .sft-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sft-bottom-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .sft-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .home .industry-grid {
    grid-template-columns: 1fr;
  }

  .home .industry-card {
    border-right: 0;
    border-bottom: 1px solid #d8dde3;
  }

  .home .industry-card:last-child {
    border-bottom: 0;
  }

  .home .hero-promo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home .categories-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home .categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .home .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Shop / WooCommerce — product grid
   ========================================================================== */

.sft-shop-main {
  background: #ffffff;
}

.sft-shop {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.sft-shop-header {
  margin-bottom: 28px;
}

.sft-shop-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.sft-shop-desc {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  max-width: 640px;
}

/* Catalog sorting (result count removed — pagination is after the grid) */
.sft-shop .woocommerce-ordering,
.sft-shop-main .woocommerce-ordering {
  margin: 0 0 20px;
  float: right;
  clear: none;
}

.woocommerce .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  cursor: pointer;
}

/* Override default WC products grid */
.sft-shop .woocommerce ul.products,
.sft-shop ul.products,
.woocommerce.sft-shop-main ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}

.sft-shop ul.products::before,
.sft-shop ul.products::after { content: none; display: none; }

.sft-shop ul.products li.product,
.sft-shop ul.products li.sft-product-card {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  list-style: none;
  background: transparent;
  border: 0;
  text-align: left;
}

/* ----- Product card ----- */

.sft-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
}

.sft-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.sft-product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.sft-product-card__img,
.sft-product-card__media-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.sft-product-card__media:hover .sft-product-card__img,
.sft-product-card__media:hover .sft-product-card__media-link img,
.sft-product-card__media:focus-within .sft-product-card__img,
.sft-product-card__media:focus-within .sft-product-card__media-link img {
  transform: scale(1.05);
}

.sft-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #ffffff;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* ----- Card footer: Add to cart over image (WooCommerce loop hook), bottom-left ----- */

.sft-product-card__footer {
  position: absolute;
  bottom: 14px;
  z-index: 4;
  margin: 0;
  padding: 0;
  display: block;
  width: auto;
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.sft-product-card__footer .sft-product-card__cart-btn {
  pointer-events: none;
}

.sft-product-card__footer .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Wins over WooCommerce `.woocommerce a.button` / block theme button presets */
.woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn,
.woocommerce-page ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn,
.sft-product-card__footer a.button.sft-product-card__cart-btn {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 12px 22px;
  line-height: 1.1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%) !important;
  background-color: #c64c0c !important;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.12),
    0 10px 26px rgba(220, 38, 38, 0.38);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

.woocommerce ul.products li.product.sft-product-card:hover .sft-product-card__footer a.button.sft-product-card__cart-btn,
.woocommerce-page ul.products li.product.sft-product-card:hover .sft-product-card__footer a.button.sft-product-card__cart-btn,
.sft-product-card:hover .sft-product-card__footer a.button.sft-product-card__cart-btn,
.woocommerce ul.products li.product.sft-product-card:focus-within .sft-product-card__footer a.button.sft-product-card__cart-btn,
.woocommerce-page ul.products li.product.sft-product-card:focus-within .sft-product-card__footer a.button.sft-product-card__cart-btn,
.sft-product-card:focus-within .sft-product-card__footer a.button.sft-product-card__cart-btn {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) {
  .woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn,
  .woocommerce-page ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn,
  .sft-product-card__footer a.button.sft-product-card__cart-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

.sft-product-card__cart-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

.sft-product-card__cart-label {
  display: inline-flex;
  align-items: center;
}

.woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn:hover,
.sft-product-card__footer a.button.sft-product-card__cart-btn:hover {
  color: #ffffff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.14),
    0 14px 30px rgba(185, 28, 28, 0.45);
}

.woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn:active,
.sft-product-card__footer a.button.sft-product-card__cart-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.sft-product-card__footer a.button.sft-product-card__cart-btn:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 3px;
}

/* Ajax loading / added (WooCommerce adds classes on the same node) */
.woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn.loading,
.woocommerce-page ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn.loading,
.woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn.added,
.woocommerce-page ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn.added,
.sft-product-card__footer a.button.sft-product-card__cart-btn.loading,
.sft-product-card__footer a.button.sft-product-card__cart-btn.added {
  opacity: 1;
}

.sft-product-card__cart-btn.loading {
  cursor: wait;
  pointer-events: none;
}

.sft-product-card__cart-btn.loading .sft-product-card__cart-icon,
.sft-product-card__cart-btn.loading .sft-product-card__cart-label {
  visibility: hidden;
}

.sft-product-card__cart-btn.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: sft-cart-spin 0.65s linear infinite;
}

@keyframes sft-cart-spin {
  to { transform: rotate(360deg); }
}

.sft-product-card__cart-btn.added {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%) !important;
  background-color: #15803d !important;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(21, 128, 61, 0.35) !important;
}

.sft-product-card__cart-btn.added::after {
  content: none;
}

/* Subtle image overlay on hover (CTA sits in corner over image) */
.sft-product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.18) 0%,
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sft-product-card__media:hover::after,
.sft-product-card__media:focus-within::after {
  opacity: 1;
}

/* ----- Card body ----- */

.sft-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 2px 0;
}

.sft-product-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.sft-product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.sft-product-card__price .woocommerce-Price-amount,
.sft-product-card__price ins .woocommerce-Price-amount {
  font-weight: 700;
  color: #0f172a;
}

.sft-product-card__price del,
.sft-product-card__price del .woocommerce-Price-amount {
  color: #9ca3af;
  font-weight: 500;
  text-decoration: line-through;
  font-size: 13px;
}

.sft-product-card__price ins {
  background: transparent;
  text-decoration: none;
}

.sft-product-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sft-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.sft-product-card__title a:hover { color: #0f172a; }

/* ----- Stars ----- */

.sft-product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.sft-stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}

.sft-stars__row {
  display: block;
  white-space: nowrap;
}

.sft-stars__row--empty {
  color: #e5e7eb;
}

.sft-stars__row--filled {
  position: absolute;
  inset: 0 auto 0 0;
  color: #374151;
  overflow: hidden;
}

.sft-rating-count {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

/* ----- Pagination (after product grid) ----- */

.sft-shop nav.woocommerce-pagination,
.sft-shop-main nav.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
  clear: both;
  margin-top: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  border: 0;
  padding: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: #0f172a;
  color: #0f172a;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* ----- Responsive ----- */

@media (max-width: 1080px) {
  .sft-shop .woocommerce ul.products,
  .sft-shop ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 820px) {
  .sft-shop { padding: 28px 18px 48px; }
  .sft-shop-title { font-size: 24px; }
  .sft-shop .woocommerce ul.products,
  .sft-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
}

@media (max-width: 480px) {
  .sft-shop { padding: 22px 14px 40px; }
  .sft-shop .woocommerce ul.products,
  .sft-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .sft-product-card__media { border-radius: 10px; }
  .sft-product-card__badge { top: 8px; left: 8px; }
  .sft-product-card__footer {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
  }
  .woocommerce ul.products li.product.sft-product-card .sft-product-card__footer a.button.sft-product-card__cart-btn,
  .sft-product-card__footer a.button.sft-product-card__cart-btn {
    min-height: 42px;
    min-width: 0;
    width: auto;
    max-width: 100%;
    font-size: 11px;
    padding: 10px 16px;
    letter-spacing: 0.08em;
  }

  .sft-product-card__cart-icon {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   Single product (PDP) — layout inspired by regional marketplace detail pages
   ========================================================================== */

.sft-pdp {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.sft-pdp-breadcrumb {
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.sft-pdp-breadcrumb a {
  color: #4b5563;
  text-decoration: none;
}

.sft-pdp-breadcrumb a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.sft-pdp-breadcrumb__sep {
  display: inline-block;
  margin: 0 8px;
  color: #d1d5db;
  font-weight: 300;
}

.sft-pdp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 40px;
}

.woocommerce .sft-pdp div.images,
.sft-pdp div.images {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.woocommerce .sft-pdp div.summary,
.sft-pdp div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.sft-pdp__col--media {
  position: sticky;
  top: 24px;
}

.sft-pdp__col--media .woocommerce-product-gallery {
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.sft-pdp .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.sft-pdp .flex-control-thumbs {
  margin: 12px 0 0;
  padding: 0 12px 12px;
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.sft-pdp .flex-control-thumbs li {
  width: 56px !important;
  float: none !important;
  margin: 0 !important;
}

.sft-pdp .flex-control-thumbs img {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  opacity: 0.82;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.sft-pdp .flex-control-thumbs .flex-active,
.sft-pdp .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: #0f172a;
}

.sft-pdp span.onsale {
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  min-height: 0;
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #ffffff;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.sft-pdp__summary {
  padding: 4px 0 0;
}

.sft-pdp .product_title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

.sft-pdp p.price {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
}

.sft-pdp p.price del {
  color: #9ca3af;
  font-size: 1.1rem;
  font-weight: 500;
}

.sft-pdp p.price ins {
  text-decoration: none;
  background: none;
  color: #c2410c;
}

.sft-pdp .woocommerce-product-rating {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sft-pdp .star-rating {
  color: #ea580c;
}

.sft-pdp .woocommerce-review-link {
  font-size: 13px;
  color: #6b7280;
}

.sft-pdp .woocommerce-product-details__short-description {
  margin: 0 0 18px;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.sft-pdp .woocommerce-product-details__short-description ul {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
}

.sft-pdp .woocommerce-product-details__short-description li + li {
  margin-top: 6px;
}

.sft-pdp .product_meta {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #eef0f3;
  font-size: 13px;
  color: #4b5563;
}

.sft-pdp .product_meta > span {
  display: block;
}

.sft-pdp .product_meta > span + span {
  margin-top: 6px;
}

.sft-pdp .product_meta span.sku-wrapper,
.sft-pdp .product_meta .sku {
  font-weight: 600;
  color: #111827;
}

.sft-pdp-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fdba74;
}

.sft-pdp-promo__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #9a3412;
}

.sft-pdp-promo__desc {
  margin: 0;
  font-size: 13px;
  color: #7c2d12;
  line-height: 1.5;
}

.sft-pdp-promo__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px dashed #ea580c;
}

.sft-pdp-promo__code-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9a3412;
}

.sft-pdp-promo__code-value {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
}

.sft-pdp-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.sft-pdp-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sft-pdp-contact__btn--wa {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.sft-pdp-contact__btn--wa:hover {
  background: #d1fae5;
  color: #065f46;
  text-decoration: none;
}

.sft-pdp-contact__btn--call {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.sft-pdp-contact__btn--call:hover {
  background: #dbeafe;
  color: #1e40af;
  text-decoration: none;
}

.sft-pdp-trust {
  margin: 0 0 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.sft-pdp .stock {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.sft-pdp .stock.in-stock {
  background: #ecfdf5;
  color: #166534;
}

.sft-pdp .stock.out-of-stock {
  background: #fef2f2;
  color: #991b1b;
}

.sft-pdp form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 18px 0 0;
  border-top: 1px solid #e5e7eb;
}

.sft-pdp form.cart .quantity {
  margin: 0;
}

.sft-pdp form.cart .quantity input.qty {
  height: 48px;
  width: 72px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  text-align: center;
  font-weight: 600;
}

.sft-pdp form.cart .single_add_to_cart_button {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #dc2626;
  color: #ffffff !important;
  border: 0;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.sft-pdp form.cart .single_add_to_cart_button:hover {
  background: #b91c1c;
  color: #ffffff !important;
}

.sft-pdp form.cart .sft-pdp-buy-now {
  flex: 1 1 160px;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  color: #0f172a !important;
  border: 2px solid #0f172a;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sft-pdp form.cart .sft-pdp-buy-now:hover {
  background: #0f172a;
  color: #ffffff !important;
  text-decoration: none;
}

.sft-pdp .single_variation_wrap form.cart,
.sft-pdp .variations_form form.cart {
  flex-direction: column;
  align-items: stretch;
}

.sft-pdp .single_variation_wrap form.cart .single_add_to_cart_button,
.sft-pdp .variations_form form.cart .single_add_to_cart_button {
  width: 100%;
}

.sft-pdp-fulfill {
  margin: 0 0 40px;
  padding: 24px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.sft-pdp-fulfill__heading {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.sft-pdp-fulfill__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sft-pdp-fulfill__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid #f3f4f6;
}

.sft-pdp-fulfill__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.sft-pdp-fulfill__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

.sft-pdp-fulfill__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.sft-pdp-fulfill__detail {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.55;
}

.sft-pdp-fulfill__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #dcfce7;
  color: #166534;
  vertical-align: middle;
}

.sft-pdp-fulfill__badge--muted {
  background: #e0e7ff;
  color: #3730a3;
}

.sft-pdp .woocommerce-tabs {
  margin: 0 0 40px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.sft-pdp .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.sft-pdp .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.sft-pdp .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sft-pdp .woocommerce-tabs ul.tabs li.active a,
.sft-pdp .woocommerce-tabs ul.tabs li a:hover {
  color: #0f172a;
  background: #ffffff;
}

.sft-pdp .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: #dc2626;
}

.sft-pdp .woocommerce-Tabs-panel {
  padding: 22px 22px 26px;
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.sft-pdp .woocommerce-Tabs-panel h2,
.sft-pdp .woocommerce-Tabs-panel h3 {
  margin-top: 1.25em;
  color: #0f172a;
}

.sft-pdp .woocommerce-Tabs-panel h2:first-child,
.sft-pdp .woocommerce-Tabs-panel h3:first-child {
  margin-top: 0;
}

.sft-pdp table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.sft-pdp table.shop_attributes th,
.sft-pdp table.shop_attributes td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
  font-size: 14px;
}

.sft-pdp table.shop_attributes th {
  width: 34%;
  font-weight: 600;
  color: #4b5563;
  background: #f9fafb;
}

.sft-pdp table.shop_attributes td {
  color: #111827;
}

.sft-pdp table.shop_attributes tr:last-child th,
.sft-pdp table.shop_attributes tr:last-child td {
  border-bottom: 0;
}

.sft-pdp .woocommerce-Reviews-title {
  font-size: 1.25rem;
}

.sft-pdp .related.products {
  margin-top: 8px;
}

.sft-pdp .related.products > h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

@media (max-width: 900px) {
  .sft-pdp__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sft-pdp__col--media {
    position: static;
  }
}

@media (max-width: 480px) {
  .sft-pdp-breadcrumb {
    font-size: 12px;
  }

  .sft-pdp-promo {
    flex-direction: column;
    align-items: flex-start;
  }

  .sft-pdp-contact {
    flex-direction: column;
  }

  .sft-pdp-contact__btn {
    width: 100%;
  }

  .sft-pdp form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .sft-pdp form.cart .single_add_to_cart_button,
  .sft-pdp form.cart .sft-pdp-buy-now {
    width: 100%;
  }
}
