/* =========================================================
   Storefront Theme — Reference recreation (Panjabi Shop style)
   ========================================================= */
:root {
  --sf-red: #d12026;
  --sf-red-dark: #b01a1a;
  --sf-black: #111;
  --sf-text: #222;
  --sf-muted: #777;
  --sf-border: #e8e8e8;
  --sf-bg: #fff;
  --sf-gray: #f5f5f5;
  --sf-radius: 4px;
  --sf-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  --sf-container: 1280px;
  --sf-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sf-font);
  background: var(--sf-bg);
  color: var(--sf-text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sf-container {
  width: 100%;
  max-width: var(--sf-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Hide legacy mobile bottom nav on new theme pages where needed */
.main-wrapper {
  background: #fff;
  min-height: 60vh;
}

/* ========== HEADER ========== */
.sf-header {
  background: #fff;
  border-bottom: 1px solid var(--sf-border);
  position: relative;
  z-index: 100;
}

.sf-header__top {
  padding: 14px 0;
}

.sf-header__row {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  align-items: center;
  gap: 20px;
}

.sf-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-logo img {
  max-height: 48px;
  width: auto;
}

.sf-logo span {
  font-size: 26px;
  font-weight: 600;
  color: var(--sf-red);
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.sf-logo--mobile {
  display: none;
}

.sf-search-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--sf-red);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.sf-mobile-search {
  display: none;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 12px;
}

.sf-mobile-search.is-open {
  display: block;
}

.sf-mobile-search form {
  position: relative;
}

.sf-mobile-search input {
  width: 100%;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  outline: none;
}

.sf-mobile-search input:focus {
  border-color: var(--sf-red);
}

.sf-mobile-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--sf-red);
  cursor: pointer;
}

.sf-search {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.sf-search input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 0 48px 0 20px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}

.sf-search input:focus {
  border-color: var(--sf-red);
}

.sf-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
  font-size: 16px;
}

.sf-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.sf-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--sf-red);
  font-size: 12px;
  position: relative;
  min-width: 48px;
}

.sf-action i,
.sf-action svg {
  font-size: 20px;
  line-height: 1;
}

.sf-action__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--sf-red);
}

.sf-action--cart {
  flex-direction: row;
  gap: 6px;
  color: var(--sf-text);
}

.sf-action--cart .sf-action__label {
  color: var(--sf-text);
  font-size: 13px;
  font-weight: 600;
}

.sf-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--sf-red);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.sf-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: var(--sf-text);
  cursor: pointer;
}

/* ========== NAV ========== */
.sf-nav {
  background: var(--sf-red);
}

.sf-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-nav__item {
  position: relative;
}

.sf-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 13px 14px;
  white-space: nowrap;
  transition: background 0.2s;
}

.sf-nav__link:hover,
.sf-nav__item:hover > .sf-nav__link {
  background: rgba(0, 0, 0, 0.12);
  color: #fff !important;
}

.sf-nav__link i {
  font-size: 10px;
  opacity: 0.9;
}

.sf-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 200;
  padding: 8px 0;
}

.sf-nav__item:hover .sf-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sf-dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #333;
  text-transform: none;
  font-weight: 500;
}

.sf-dropdown a:hover {
  background: #f7f7f7;
  color: var(--sf-red);
}

/* ========== HERO ========== */
.sf-hero {
  position: relative;
  background: #fafafa;
}

.sf-hero .slick-slide img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.sf-hero .slick-dots {
  bottom: 14px;
}

.sf-hero .slick-dots li button:before {
  color: #fff;
  opacity: 0.6;
  font-size: 10px;
}

.sf-hero .slick-dots li.slick-active button:before {
  color: var(--sf-red);
  opacity: 1;
}

/* ========== SECTION ========== */
.sf-section {
  padding: 36px 0 10px;
}

.sf-section__head {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
  min-height: 36px;
}

.sf-section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}

.sf-view-all {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--sf-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--sf-radius);
  transition: background 0.2s, transform 0.2s;
}

.sf-view-all:hover {
  background: var(--sf-red-dark);
  color: #fff !important;
  transform: translateY(-50%) scale(1.03);
}

/* ========== CATEGORY SLIDER ========== */
.sf-cat-slider .sf-cat-item {
  text-align: center;
  padding: 8px 6px;
}

.sf-cat-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}

.sf-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-cat-item:hover .sf-cat-circle {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.sf-cat-name {
  font-size: 12px;
  color: #222;
  font-weight: 500;
  line-height: 1.3;
}

/* ========== PRODUCT CARD ========== */
.sf-product-slider {
  margin: 0 -8px;
}

.sf-product-slider .slick-slide {
  padding: 0 8px;
}

.sf-card {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: 6px;
  box-shadow: var(--sf-shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.sf-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-color: #ddd;
}

.sf-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fafafa;
}

.sf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sf-card:hover .sf-card__media img {
  transform: scale(1.04);
}

.sf-card__stockout {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(209, 32, 38, 0.85);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 0;
  z-index: 2;
}

.sf-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sf-card__title {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.sf-card__prices {
  margin-bottom: 12px;
}

.sf-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.sf-card__old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

.sf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.sf-buy-btn {
  flex: 1;
  height: 36px;
  line-height: 34px;
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
  text-decoration: none !important;
}

.sf-buy-btn:hover {
  border-color: var(--sf-red);
  color: var(--sf-red);
}

.sf-buy-btn.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.sf-wish-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.sf-wish-btn:hover,
.sf-wish-btn.is-active {
  color: var(--sf-red);
  transform: scale(1.1);
}

/* Slick arrows — reference style */
.sf-section .slick-prev,
.sf-section .slick-next,
.sf-product-slider .slick-prev,
.sf-product-slider .slick-next,
.sf-related-slider .slick-prev,
.sf-related-slider .slick-next,
.sf-cat-slider .slick-prev,
.sf-cat-slider .slick-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.sf-section .slick-prev:before,
.sf-section .slick-next:before,
.sf-product-slider .slick-prev:before,
.sf-product-slider .slick-next:before,
.sf-related-slider .slick-prev:before,
.sf-related-slider .slick-next:before,
.sf-cat-slider .slick-prev:before,
.sf-cat-slider .slick-next:before {
  display: none !important;
  content: none !important;
}

.sf-section .slick-prev,
.sf-section .slick-next,
.sf-product-slider .slick-prev,
.sf-product-slider .slick-next,
.sf-related-slider .slick-prev,
.sf-related-slider .slick-next,
.sf-cat-slider .slick-prev,
.sf-cat-slider .slick-next {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #666 !important;
  font-size: 14px;
}

.sf-section {
  overflow: visible;
}

.sf-container {
  overflow: visible;
}

.sf-section .slick-prev,
.sf-product-slider .slick-prev,
.sf-related-slider .slick-prev,
.sf-cat-slider .slick-prev {
  left: -6px;
}

.sf-section .slick-next,
.sf-product-slider .slick-next,
.sf-related-slider .slick-next,
.sf-cat-slider .slick-next {
  right: -6px;
}

.sf-cat-slider,
.sf-product-slider,
.sf-related-slider {
  position: relative;
  padding: 0 8px;
}

.sf-cat-slider .slick-list,
.sf-product-slider .slick-list,
.sf-related-slider .slick-list {
  margin: 0 -4px;
}

.sf-float-cart {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 999;
  background: var(--sf-red);
  color: #fff;
  width: 58px;
  border: 0;
  border-radius: 6px 0 0 6px;
  text-align: center;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.sf-float-cart__inner {
  display: block;
  color: #fff !important;
  padding: 10px 6px 0;
}

.sf-float-cart i {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.sf-float-cart__total {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 6px;
  color: #fff;
}

.sf-float-cart__count {
  background: #9e161b;
  font-size: 10px;
  padding: 5px 4px;
  font-weight: 600;
  color: #fff;
}

.sf-action--cart {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sf-action__bag {
  position: relative;
  display: inline-flex;
}

.sf-bag-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--sf-red);
  color: #fff;
  min-width: 18px;
  height: 18px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ========== MOBILE BOTTOM NAV ========== */
.sf-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid #eaeaea;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: stretch;
}

.sf-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--sf-red) !important;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 2px;
  min-width: 0;
}

.sf-bottom-nav__item i {
  font-size: 20px;
  line-height: 1;
}

.sf-bottom-nav__icon {
  position: relative;
  display: inline-flex;
  line-height: 1;
}

.sf-bottom-nav__badge {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--sf-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sf-bottom-nav__item.is-active {
  opacity: 1;
}

.sf-float-chat {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sf-red);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(209, 32, 38, 0.4);
  transition: transform 0.2s;
}

.sf-float-chat:hover {
  transform: scale(1.08);
  color: #fff !important;
}

/* ========== PRODUCT DETAILS ========== */
.sf-pdp {
  padding: 28px 0 10px;
}

.sf-pdp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.sf-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.sf-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 90px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  transition: border-color 0.2s;
}

.sf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-thumb.is-active,
.sf-thumb:hover {
  border-color: var(--sf-red);
}

.sf-main-image {
  border: 1px solid #eee;
  background: #fafafa;
  overflow: hidden;
  min-height: 420px;
}

.sf-main-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
}

.sf-pdp__title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  line-height: 1.35;
}

.sf-pdp__price {
  font-size: 18px;
  margin-bottom: 22px;
  color: #222;
}

.sf-pdp__price strong {
  font-weight: 700;
}

.sf-pdp__price .old {
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
  font-size: 15px;
  font-weight: 400;
}

/* Premium Color Swatches */
.sf-variant-block {
  margin-bottom: 22px;
}

.sf-variant-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.sf-variant-label span {
  font-weight: 400;
  color: #666;
}

.sf-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf-color {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sf-color:hover {
  transform: scale(1.08);
}

.sf-color.is-selected {
  border-color: var(--sf-red);
  box-shadow: 0 0 0 2px rgba(209, 32, 38, 0.15);
}

.sf-color__swatch {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: block;
}

.sf-color__check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s;
}

.sf-color.is-selected .sf-color__check {
  opacity: 1;
}

/* Premium Size Buttons */
.sf-sizes-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sf-size {
  min-width: 48px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sf-size:hover:not(.is-disabled) {
  border-color: #111;
  transform: translateY(-1px);
}

.sf-size.is-active {
  border-color: var(--sf-red);
  background: #fff5f5;
  color: var(--sf-red);
  box-shadow: inset 0 0 0 1px var(--sf-red);
}

.sf-size.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f7f7f7;
}

.sf-size-chart {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--sf-red);
  border-bottom: 1px dotted var(--sf-red);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}

.sf-size-chart:hover {
  color: var(--sf-red-dark);
}

.sf-size-chart-img {
  max-width: 100%;
  height: auto;
}

.sf-qty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.sf-qty__label {
  font-size: 14px;
  font-weight: 600;
}

.sf-stock {
  font-size: 13px;
  font-weight: 600;
}

.sf-stock__ok {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-block;
}

.sf-stock__out {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-block;
}

.sf-qty__control {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.sf-qty__control button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.sf-qty__control input {
  width: 48px;
  height: 36px;
  border: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-weight: 600;
  outline: none;
}

.sf-pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.sf-pdp__actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sf-btn--order {
  width: 100%;
}

.sf-btn {
  height: 46px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background: #fff;
  color: #222;
}

.sf-btn:hover {
  border-color: #999;
}

.sf-btn--primary {
  background: var(--sf-red);
  border-color: var(--sf-red);
  color: #fff;
}

.sf-btn--primary:hover {
  background: var(--sf-red-dark);
  border-color: var(--sf-red-dark);
  color: #fff;
}

.sf-pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.sf-pay-pill {
  background: #f0f0f0;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.sf-pay-pill img {
  height: 22px;
  width: auto;
}

.sf-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  font-size: 13px;
  color: #444;
  margin-top: 8px;
}

.sf-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  font-weight: 500;
}

.sf-wa i {
  background: #25d366;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ========== TABS / REVIEWS ========== */
.sf-tabs {
  margin-top: 36px;
  border-top: 1px solid #eee;
}

.sf-tabs__nav {
  display: flex;
  gap: 0;
  background: #f3f3f3;
  border-bottom: 1px solid #e5e5e5;
}

.sf-tabs__btn {
  border: 0;
  background: transparent;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.sf-tabs__btn.is-active {
  background: var(--sf-red);
  color: #fff;
}

.sf-tabs__panel {
  display: none;
  padding: 28px 0;
}

.sf-tabs__panel.is-active {
  display: block;
}

.sf-reviews-title,
.sf-related-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.sf-reviews-grid {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  gap: 30px;
  align-items: start;
}

.sf-review-summary {
  text-align: center;
}

.sf-review-summary__count {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #111;
}

.sf-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sf-red);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  margin: 8px 0;
}

.sf-review-summary__stars {
  color: var(--sf-red);
  margin: 6px 0;
  font-size: 14px;
}

.sf-review-summary__text {
  font-size: 13px;
  color: #666;
}

.sf-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-rating-row {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.sf-rating-row .stars {
  color: #f5a623;
  letter-spacing: -1px;
}

.sf-bar {
  height: 6px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.sf-bar > span {
  display: block;
  height: 100%;
  background: #ccc;
  width: 0;
}

.sf-write-btn {
  border: 1px solid #ddd;
  background: linear-gradient(#fff, #f3f3f3);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.sf-write-btn:hover {
  border-color: #bbb;
}

.sf-review-form {
  display: none;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
}

.sf-review-form.is-open {
  display: block;
}

.sf-review-list {
  margin-top: 28px;
}

.sf-review-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.sf-related {
  padding: 20px 0 50px;
}

.sf-related-card {
  border: 1px solid var(--sf-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--sf-shadow);
  position: relative;
}

.sf-related-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ========== FOOTER tweak ========== */
.footer {
  margin-top: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
  .sf-header__row {
    grid-template-columns: 160px 1fr 200px;
  }
  .sf-nav__link {
    padding: 12px 10px;
    font-size: 12px;
  }
  .sf-pdp__grid {
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .sf-header__top {
    padding: 10px 0;
  }
  .sf-header__row {
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
  }
  .sf-header__left {
    justify-content: flex-start;
  }
  .sf-logo--desktop {
    display: none;
  }
  .sf-logo--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sf-logo--mobile img {
    max-height: 40px;
  }
  .sf-menu-toggle {
    display: inline-flex;
    color: var(--sf-red);
    font-size: 24px;
    padding: 4px;
  }
  .sf-search {
    display: none;
  }
  .sf-search-toggle {
    display: inline-flex;
  }
  .sf-header__actions .sf-action {
    display: none;
  }
  .sf-header__actions {
    justify-content: flex-end;
    gap: 0;
  }
  .sf-nav {
    display: none;
  }
  .sf-nav.is-open {
    display: block;
  }
  .sf-nav__list {
    flex-direction: column;
    align-items: stretch;
  }
  .sf-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: rgba(0, 0, 0, 0.08);
  }
  .sf-nav__item.is-open .sf-dropdown {
    display: block;
  }
  .sf-pdp__grid {
    grid-template-columns: 1fr;
  }
  .sf-gallery {
    gap: 10px;
  }
  .sf-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }
  .sf-pdp__actions-row {
    grid-template-columns: 1fr 1fr;
  }
  .sf-reviews-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sf-rating-row {
    grid-template-columns: 80px 1fr 36px;
  }
  .sf-section__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 10px;
  }
  .sf-section__title {
    text-align: left;
    font-size: 16px;
    flex: 1;
    min-width: 0;
  }
  .sf-view-all {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 3px;
  }
  .sf-view-all:hover {
    transform: none;
  }
  .sf-bottom-nav {
    display: flex;
  }
  .sf-float-cart {
    display: none !important;
  }
  .sf-float-chat {
    bottom: 78px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
  body {
    padding-bottom: 70px;
  }
  .sf-footer {
    padding-bottom: 28px;
  }
}

.mobile-menu.rev-2-mobile-menu .mobile-nav {
  display: none !important;
}

.mobile-menu.rev-2-mobile-menu {
  display: none !important;
}

.sf-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 767px) {
  .sf-action__label {
    display: none;
  }
  .sf-search input {
    height: 40px;
    font-size: 13px;
  }
  .sf-cat-circle {
    width: 84px;
    height: 84px;
  }
  .sf-section__title {
    font-size: 15px;
    letter-spacing: 0.3px;
  }
  .sf-pdp__title {
    font-size: 20px;
  }
  .sf-pay-row {
    grid-template-columns: 1fr 1fr;
  }

  /* 2-column product grid on mobile */
  .sf-product-slider.sf-product-grid,
  .sf-product-slider:not(.slick-initialized),
  .sf-related-slider.sf-product-grid,
  .sf-related-slider:not(.slick-initialized) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }
  .sf-product-slider.sf-product-grid > div,
  .sf-product-slider:not(.slick-initialized) > div,
  .sf-related-slider.sf-product-grid > div,
  .sf-related-slider:not(.slick-initialized) > div {
    width: 100% !important;
    padding: 0 !important;
  }
  .sf-product-slider .slick-slide {
    padding: 0 5px;
  }
  .sf-card {
    border-radius: 4px;
    box-shadow: none;
  }
  .sf-card:hover {
    transform: none;
    box-shadow: none;
  }
  .sf-card__body {
    padding: 8px 8px 10px;
  }
  .sf-card__title {
    font-size: 13px;
    min-height: 34px;
    margin-bottom: 6px;
  }
  .sf-card__price {
    font-size: 14px;
  }
  .sf-card__old {
    font-size: 12px;
    margin-left: 4px;
  }
  .sf-card__prices {
    margin-bottom: 8px;
  }
  .sf-buy-btn {
    height: 32px;
    line-height: 30px;
    font-size: 12px;
  }
  .sf-wish-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .sf-logo img,
  .sf-logo--mobile img {
    max-height: 34px;
  }
  .sf-header__row {
    grid-template-columns: 40px 1fr 40px;
  }
}

/* ========== FOOTER ========== */
.sf-footer {
  background: #fff;
  padding: 48px 0 20px;
  margin-top: 50px;
  border-top: 1px solid #eee;
  color: #444;
}
.sf-footer__about--top {
  display: none;
}
.sf-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.sf-footer__logo img { max-height: 48px; width: auto; }
.sf-footer__logo span { color: var(--sf-red); font-size: 24px; font-weight: 600; }
.sf-footer__about p { font-size: 13px; line-height: 1.7; color: #555; margin-top: 12px; }
.sf-footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 14px;
  color: #111;
}
.sf-footer__col ul { list-style: none; margin: 0; padding: 0; }
.sf-footer__col li { margin-bottom: 8px; }
.sf-footer__col a { color: #666; font-size: 13px; }
.sf-footer__col a:hover { color: var(--sf-red); }
.sf-footer__pay {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.sf-footer__pay-label { color: #1a56db; font-weight: 700; font-size: 14px; white-space: nowrap; }
.sf-footer__pay-box {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sf-footer__pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pay-chip, .sf-ship-chip {
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #444;
}
.sf-footer__ssl {
  border: 1px solid #1a56db;
  color: #1a56db;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.sf-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.sf-footer__shipping, .sf-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #222;
}
.sf-ship-logos, .sf-social-icons { display: flex; gap: 8px; align-items: center; }
.sf-social {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 15px;
}
.sf-social--fb { background: #1877f2; }
.sf-social--ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.sf-social--yt { background: #ff0000; }
.sf-footer__copy {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #e8e8e8;
}

/* ========== MINI CART ========== */
body.sf-minicart-open { overflow: hidden; }
.sf-minicart { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.sf-minicart.is-open { pointer-events: auto; }
.sf-minicart__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .25s;
}
.sf-minicart.is-open .sf-minicart__overlay { opacity: 1; }
.sf-minicart__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .28s ease;
}
.sf-minicart.is-open .sf-minicart__panel { transform: translateX(0); }
.sf-minicart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}
.sf-minicart__title { position: relative; color: var(--sf-red); font-size: 22px; }
.sf-minicart__badge {
  position: absolute;
  top: -8px; right: -14px;
  background: var(--sf-red);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sf-minicart__close {
  width: 36px; height: 36px;
  border: 0;
  background: var(--sf-red);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
}
.sf-minicart__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.sf-minicart__empty { text-align: center; color: #888; padding: 40px 10px; }
.sf-minicart__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sf-minicart__thumb {
  width: 72px; height: 72px;
  border: 1px solid #eee;
  overflow: hidden;
  border-radius: 4px;
}
.sf-minicart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-minicart__row-top { display: flex; justify-content: space-between; gap: 8px; }
.sf-minicart__row-top h5 { margin: 0; font-size: 14px; font-weight: 700; color: #111; }
.sf-minicart__remove { border: 0; background: transparent; color: var(--sf-red); cursor: pointer; }
.sf-minicart__meta { font-size: 12px; color: #777; margin: 4px 0 8px; }
.sf-minicart__row-bottom { display: flex; align-items: center; justify-content: space-between; }
.sf-minicart__qty {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
}
.sf-minicart__qty button {
  width: 28px; height: 28px; border: 0; background: #fff; cursor: pointer;
}
.sf-minicart__qty input {
  width: 36px; height: 28px; border: 0; border-left: 1px solid #ddd; border-right: 1px solid #ddd;
  text-align: center; font-size: 13px;
}
.sf-minicart__price { font-weight: 700; font-size: 14px; }
.sf-minicart__foot { padding: 16px; border-top: 1px solid #eee; }
.sf-minicart__subtotal {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; margin-bottom: 6px;
}
.sf-minicart__note { font-size: 12px; color: #888; margin-bottom: 12px; }
.sf-minicart__btn {
  display: block; width: 100%; text-align: center;
  height: 44px; line-height: 44px; border: 0; border-radius: 3px;
  font-weight: 700; font-size: 14px; margin-bottom: 8px; cursor: pointer;
  text-decoration: none !important;
}
.sf-minicart__btn--dark { background: #111; color: #fff !important; }
.sf-minicart__btn--red { background: var(--sf-red); color: #fff !important; }

/* ========== LISTING / CATEGORY ========== */
.sf-listing { padding: 28px 0 40px; }
.sf-listing__grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
}
.sf-filters {
  border-right: 1px solid #eee;
  padding-right: 18px;
}
.sf-filters__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-filter-block { border-bottom: 1px solid #eee; margin-bottom: 10px; }
.sf-filter-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.sf-filter-body { display: none; padding-bottom: 12px; }
.sf-filter-block.is-open .sf-filter-body { display: block; }
.sf-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.sf-price-inputs label { display: block; font-size: 12px; color: #777; margin-bottom: 4px; }
.sf-price-inputs input {
  width: 100%; height: 36px; border: 1px solid #ddd; border-radius: 4px; padding: 0 8px;
}
.sf-range-wrap { display: grid; gap: 6px; }
.sf-range-wrap input[type=range] { width: 100%; accent-color: #14b8a6; }
.sf-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 8px; cursor: pointer;
}
.sf-filter-apply {
  width: 100%; height: 40px; border: 0; border-radius: 4px;
  background: var(--sf-red); color: #fff; font-weight: 600; margin-top: 10px; cursor: pointer;
}
.sf-filter-clear {
  display: block; text-align: center; margin-top: 8px; font-size: 13px; color: #777;
}
.sf-listing__toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.sf-listing__count { font-size: 13px; font-weight: 700; letter-spacing: .4px; }
.sf-listing__sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sf-listing__sort select {
  height: 34px; border: 1px solid #ddd; border-radius: 4px; padding: 0 8px; min-width: 140px;
}
.sf-listing__empty {
  min-height: 220px; display: flex; align-items: center; justify-content: center; color: #999;
}

@media (max-width: 991px) {
  .sf-listing__grid { grid-template-columns: 1fr; }
  .sf-filters { border-right: 0; border-bottom: 1px solid #eee; padding-right: 0; padding-bottom: 16px; }
}
@media (max-width: 575px) {
  /* footer columns kept as 3-col on mobile via polish section */
}

/* ========== CUSTOMER ACCOUNT ========== */
.ca-page { padding-top: 28px; padding-bottom: 56px; background: linear-gradient(180deg, #faf7f7 0%, #fff 180px); }
.ca-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.ca-sidebar {
  background: #fff; border: 1px solid var(--sf-border); border-radius: 14px;
  padding: 18px; position: sticky; top: 16px; box-shadow: var(--sf-shadow);
}
.ca-sidebar__user { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.ca-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sf-red); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.ca-sidebar__user strong { display: block; font-size: 15px; }
.ca-sidebar__user span { display: block; font-size: 12px; color: var(--sf-muted); word-break: break-all; }
.ca-nav { display: grid; gap: 4px; }
.ca-nav__link, .ca-nav__logout button {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
  color: #333; font-size: 14px; font-weight: 500; transition: .2s ease; width: 100%;
  border: 0; background: transparent; text-align: left; cursor: pointer;
}
.ca-nav__link i, .ca-nav__logout button i { width: 18px; color: #888; }
.ca-nav__link:hover, .ca-nav__logout button:hover { background: #f7f7f7; color: var(--sf-red); }
.ca-nav__link.is-active { background: rgba(209,32,38,.08); color: var(--sf-red); }
.ca-nav__link.is-active i { color: var(--sf-red); }
.ca-nav__logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.ca-main { min-width: 0; }
.ca-hero {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  background: #111; color: #fff; border-radius: 16px; padding: 28px 24px; margin-bottom: 20px;
  background-image: radial-gradient(circle at top right, rgba(209,32,38,.45), transparent 45%), linear-gradient(135deg, #171717, #2a2a2a);
}
.ca-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: rgba(255,255,255,.65); margin: 0 0 6px; }
.ca-hero h1 { margin: 0 0 6px; font-size: 28px; font-weight: 700; }
.ca-hero p { margin: 0; color: rgba(255,255,255,.72); }
.ca-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.ca-stat {
  background: #fff; border: 1px solid var(--sf-border); border-radius: 14px; padding: 16px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--sf-shadow);
}
.ca-stat strong { display: block; font-size: 22px; line-height: 1.1; }
.ca-stat span { font-size: 12px; color: var(--sf-muted); }
.ca-stat__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(209,32,38,.1); color: var(--sf-red); flex-shrink: 0;
}
.ca-stat__icon--amber { background: rgba(245,158,11,.12); color: #d97706; }
.ca-stat__icon--green { background: rgba(16,185,129,.12); color: #059669; }
.ca-stat__icon--rose { background: rgba(244,63,94,.12); color: #e11d48; }
.ca-panel {
  background: #fff; border: 1px solid var(--sf-border); border-radius: 14px;
  padding: 20px; margin-bottom: 18px; box-shadow: var(--sf-shadow);
}
.ca-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ca-panel__head h2 { margin: 0; font-size: 18px; }
.ca-panel__head a { color: var(--sf-red); font-size: 13px; font-weight: 600; }
.ca-muted { color: var(--sf-muted); font-size: 13px; margin: 4px 0 0; }
.ca-order-row {
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 12px; align-items: center;
  padding: 14px 0; border-top: 1px solid #f1f1f1;
}
.ca-order-row:first-of-type { border-top: 0; }
.ca-order-row strong { display: block; }
.ca-order-row span { display: block; font-size: 12px; color: var(--sf-muted); }
.ca-order-row__mid { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ca-order-row__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ca-badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: #eee; color: #444;
}
.ca-badge--processing { background: #e0f2fe; color: #0369a1; }
.ca-badge--pending { background: #fef3c7; color: #b45309; }
.ca-badge--delivery { background: #ede9fe; color: #6d28d9; }
.ca-badge--completed { background: #d1fae5; color: #047857; }
.ca-badge--cancelled, .ca-badge--hold { background: #fee2e2; color: #b91c1c; }
.ca-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: .2s ease;
}
.ca-btn--primary { background: var(--sf-red); color: #fff; }
.ca-btn--primary:hover { background: var(--sf-red-dark); color: #fff; }
.ca-btn--ghost { background: #fff; border-color: #ddd; color: #222; }
.ca-btn--ghost:hover { border-color: var(--sf-red); color: var(--sf-red); }
.ca-empty { text-align: center; padding: 40px 16px; color: var(--sf-muted); }
.ca-empty i { font-size: 28px; margin-bottom: 10px; display: block; }
.ca-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ca-quick__item {
  background: #fff; border: 1px dashed #ddd; border-radius: 12px; padding: 18px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; transition: .2s ease;
}
.ca-quick__item:hover { border-color: var(--sf-red); color: var(--sf-red); }
.ca-form { display: grid; gap: 14px; }
.ca-form--grid { grid-template-columns: 1fr 1fr; }
.ca-field { display: grid; gap: 6px; }
.ca-field--full { grid-column: 1 / -1; }
.ca-field label { font-size: 13px; font-weight: 600; color: #444; }
.ca-field input, .ca-field textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 11px 12px;
  font-size: 14px; outline: none; background: #fff;
}
.ca-field input:focus, .ca-field textarea:focus { border-color: var(--sf-red); box-shadow: 0 0 0 3px rgba(209,32,38,.12); }
.ca-error { color: #b91c1c; font-size: 12px; }
.ca-check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ca-auth { min-height: 60vh; display: flex; align-items: center; background: radial-gradient(circle at top, #fff5f5, #fff 55%); }
.ca-auth__card {
  max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--sf-border);
  border-radius: 18px; padding: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.06);
}
.ca-track-card { max-width: 520px; }
.ca-auth__brand h1 { margin: 0 0 6px; font-size: 28px; }
.ca-auth__brand p { margin: 0 0 20px; color: var(--sf-muted); }
.ca-auth__foot { margin: 18px 0 0; text-align: center; font-size: 13px; color: #666; }
.ca-auth__foot a { color: var(--sf-red); font-weight: 600; }
.ca-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ca-detail-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin-bottom: 8px; }
.ca-table { width: 100%; border-collapse: collapse; }
.ca-table th, .ca-table td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; text-align: left; font-size: 14px; }
.ca-table th { font-size: 12px; color: #777; background: #fafafa; }
.ca-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.ca-timeline__step { text-align: center; padding: 12px 8px; border-radius: 12px; background: #f7f7f7; opacity: .55; }
.ca-timeline__step span {
  width: 10px; height: 10px; border-radius: 50%; background: #ccc; display: inline-block; margin-bottom: 6px;
}
.ca-timeline__step strong { display: block; font-size: 12px; }
.ca-timeline__step.is-done, .ca-timeline__step.is-current { opacity: 1; background: rgba(209,32,38,.08); }
.ca-timeline__step.is-done span, .ca-timeline__step.is-current span { background: var(--sf-red); }
.ca-pagination { margin-top: 16px; }
@media (max-width: 991px) {
  .ca-layout { grid-template-columns: 1fr; }
  .ca-sidebar { position: static; }
  .ca-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .ca-stats { grid-template-columns: 1fr 1fr; }
  .ca-order-row { grid-template-columns: 1fr; }
  .ca-quick { grid-template-columns: 1fr; }
  .ca-form--grid, .ca-detail-grid, .ca-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .ca-hero { flex-direction: column; align-items: flex-start; }
  .ca-stats, .ca-nav, .ca-form--grid, .ca-detail-grid, .ca-timeline { grid-template-columns: 1fr; }
  .ca-auth__card { padding: 20px 16px; border-radius: 14px; }
}

/* ========== SKELETON LOADERS ========== */
@keyframes sf-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.sf-skel-block,
.sf-skel-circle,
.sf-skel-line,
.sf-skel-img {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 800px 100%;
  animation: sf-shimmer 1.2s ease-in-out infinite;
}

.sf-section--loading .sf-slider-content,
.sf-section--loading .sf-hero-slider.sf-slider-content {
  opacity: 0;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.sf-section--ready .sf-skeleton {
  display: none !important;
}

.sf-section--ready .sf-slider-content {
  opacity: 1;
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: auto;
}

.sf-skeleton--hero {
  width: 100%;
}

.sf-skel-block--hero {
  width: 100%;
  min-height: 280px;
  border-radius: 0;
}

.sf-skeleton--cats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 8px 0 16px;
}

.sf-skel-cat {
  text-align: center;
}

.sf-skel-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.sf-skel-line {
  height: 12px;
  border-radius: 4px;
  width: 70%;
  margin: 0 auto;
}

.sf-skel-line--sm {
  width: 45%;
  margin-top: 8px;
  height: 10px;
}

.sf-skeleton--products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 4px 0 12px;
}

.sf-skel-card {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  padding-bottom: 12px;
}

.sf-skel-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin-bottom: 12px;
}

.sf-skel-card .sf-skel-line {
  width: 80%;
  margin: 0 12px 8px;
}

/* Keep category layout stable before slick */
.sf-cat-slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.sf-cat-slider:not(.slick-initialized) > div {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

.sf-product-slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.sf-product-slider:not(.slick-initialized) > div {
  flex: 0 0 20%;
  max-width: 20%;
}

/* Hide old arrow buttons when present */
.sf-cat-slider .slick-prev,
.sf-cat-slider .slick-next,
.sf-product-slider .slick-prev,
.sf-product-slider .slick-next,
.sf-related-slider .slick-prev,
.sf-related-slider .slick-next {
  display: none !important;
}

/* ========== INNER IMAGE ZOOM ========== */
.sf-zoom-wrap {
  position: relative;
  width: 100%;
}

.sf-main-image {
  position: relative;
  cursor: zoom-in;
  border: 1px solid #eee;
  background: #fafafa;
  overflow: hidden;
  min-height: 420px;
}

.sf-main-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  will-change: transform;
}

.sf-main-image.is-zooming {
  cursor: zoom-in;
}

.sf-main-image.is-zooming img {
  transition: none;
}

/* ========== MOBILE RESPONSIVE POLISH ========== */
@media (max-width: 1199px) {
  .sf-skeleton--products {
    grid-template-columns: repeat(4, 1fr);
  }
  .sf-skeleton--cats {
    grid-template-columns: repeat(6, 1fr);
  }
  .sf-cat-slider:not(.slick-initialized) > div {
    flex: 0 0 16.66%;
    max-width: 16.66%;
  }
  .sf-product-slider:not(.slick-initialized) > div {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 991px) {
  .sf-skeleton--products {
    grid-template-columns: repeat(3, 1fr);
  }
  .sf-skeleton--cats {
    grid-template-columns: repeat(5, 1fr);
  }
  .sf-skel-circle {
    width: 90px;
    height: 90px;
  }
  .sf-main-image {
    cursor: default;
    min-height: 280px;
  }
  .sf-main-image img {
    transform: none !important;
  }
  .sf-pdp__actions {
    position: sticky;
    bottom: 70px;
    z-index: 30;
    background: #fff;
    padding: 10px 0 6px;
    border-top: 1px solid #eee;
    margin: 0 -4px;
  }
  .sf-footer__about--desk {
    display: none;
  }
  .sf-footer__about--top {
    display: block;
    margin-bottom: 22px;
  }
  .sf-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .sf-footer__col h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .sf-footer__col a {
    font-size: 12px;
  }
  .sf-footer__col li {
    margin-bottom: 6px;
  }
  .sf-cat-slider:not(.slick-initialized) > div {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .sf-product-slider:not(.slick-initialized) > div {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 767px) {
  .sf-skeleton--products {
    grid-template-columns: repeat(2, 1fr);
  }
  .sf-skeleton--cats {
    grid-template-columns: repeat(4, 1fr);
  }
  .sf-skel-block--hero {
    min-height: 160px;
  }
  .sf-hero img {
    max-height: 220px;
    object-fit: cover;
  }
  .sf-section {
    padding: 18px 0;
  }
  .sf-container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sf-pdp {
    padding-top: 12px;
  }
  .sf-footer {
    background: #fff;
    padding-top: 28px;
  }
  .sf-footer__pay {
    flex-direction: column;
    align-items: stretch;
  }
  .sf-footer__pay-label {
    display: none;
  }
  .sf-footer__pay-box {
    flex-direction: column;
    align-items: stretch;
  }
  .sf-footer__ssl {
    text-align: center;
  }
  .sf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sf-footer__shipping {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .sf-footer__social {
    width: 100%;
  }
  .sf-footer__copy {
    font-size: 13px;
    color: #333;
  }
  .sf-minicart {
    width: 100%;
    max-width: 100%;
  }
  .sf-cat-slider:not(.slick-initialized) > div {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .sf-product-slider:not(.slick-initialized) > div,
  .sf-product-slider.sf-product-grid > div {
    flex: none;
    max-width: none;
  }
}

@media (max-width: 575px) {
  .sf-skeleton--cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .sf-skel-circle {
    width: 72px;
    height: 72px;
  }
  .sf-pdp__title {
    font-size: 18px;
  }
  .sf-qty {
    flex-wrap: wrap;
  }
  .sf-colors,
  .sf-sizes {
    gap: 8px;
  }
}


/* ========== CHECKOUT ========== */
.sf-checkout { padding: 28px 0 50px; background: #f7f7f8; }
.sf-checkout__head { margin-bottom: 18px; }
.sf-checkout__head h1 { font-size: 28px; margin: 0 0 4px; font-weight: 700; color: #111; }
.sf-checkout__head p { margin: 0; color: #777; font-size: 14px; }
.sf-checkout__banner {
  background: #fff; border: 1px solid #ebebeb; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 16px; font-size: 13px; color: #555;
}
.sf-checkout__banner--ok { border-color: #c8e6c9; background: #f1faf1; }
.sf-checkout__banner a { color: var(--sf-red); font-weight: 600; }
.sf-checkout__empty {
  background: #fff; border-radius: 12px; padding: 48px 20px; text-align: center;
}
.sf-checkout__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start;
}
.sf-checkout__card {
  background: #fff; border: 1px solid #ececec; border-radius: 12px;
  padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sf-checkout__card h2 {
  font-size: 16px; margin: 0 0 16px; font-weight: 700; color: #111;
  padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.sf-checkout__hint {
  background: #fff8e8; border: 1px solid #ffe2a8; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px; font-size: 13px; color: #6a4b00;
}
.sf-checkout__fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.sf-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.sf-field--full { grid-column: 1 / -1; }
.sf-field span { font-size: 13px; font-weight: 600; color: #333; }
.sf-field em { color: var(--sf-red); font-style: normal; }
.sf-field small { color: #888; font-size: 12px; }
.sf-field .form-control {
  border: 1px solid #ddd; border-radius: 8px; min-height: 44px;
  padding: 10px 12px; font-size: 14px;
}
.sf-field textarea.form-control { min-height: 90px; }
.sf-field .form-control:focus {
  border-color: var(--sf-red); box-shadow: 0 0 0 3px rgba(209,32,38,.12); outline: none;
}
.sf-ship-options { display: grid; gap: 10px; }
.sf-ship-opt {
  display: flex; align-items: center; gap: 12px; margin: 0;
  border: 1px solid #e5e5e5; border-radius: 10px; padding: 12px 14px;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.sf-ship-opt:has(input:checked) {
  border-color: var(--sf-red); background: #fff5f5;
}
.sf-ship-opt input { accent-color: var(--sf-red); width: 18px; height: 18px; }
.sf-ship-opt__body { display: flex; justify-content: space-between; width: 100%; gap: 10px; }
.sf-ship-opt__body strong { font-size: 14px; color: #222; }
.sf-ship-opt__body em { font-style: normal; font-weight: 700; color: var(--sf-red); }
.sf-checkout__aside { position: sticky; top: 16px; }
.sf-checkout__items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.sf-co-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.sf-co-item__img {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  background: #f5f5f5; border: 1px solid #eee;
}
.sf-co-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sf-co-item__name {
  display: block; font-size: 14px; font-weight: 600; color: #222;
  line-height: 1.35; margin-bottom: 6px;
}
.sf-variant-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sf-pill {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 600;
  color: #444; background: #f3f3f3; border: 1px solid #e4e4e4;
  border-radius: 999px; padding: 3px 10px;
}
.sf-co-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-co-qty {
  display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;
}
.sf-co-qty button {
  width: 30px; height: 30px; border: 0; background: #f7f7f7; font-size: 16px; cursor: pointer;
}
.sf-co-qty input {
  width: 36px; height: 30px; border: 0; text-align: center; font-size: 13px; font-weight: 600;
}
.sf-co-item__price { font-weight: 700; font-size: 14px; }
.sf-co-item__remove { font-size: 12px; color: #999; }
.sf-co-item__remove:hover { color: var(--sf-red); }
.sf-checkout__totals { list-style: none; margin: 0; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.sf-checkout__totals li {
  display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #555;
}
.sf-checkout__totals .is-total {
  margin-top: 6px; padding-top: 12px; border-top: 1px solid #eee;
  font-size: 16px; color: #111;
}
.sf-checkout__pay {
  display: flex; align-items: center; gap: 8px; background: #f8f8f8;
  border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.sf-checkout__submit {
  width: 100%; border: 0; border-radius: 10px; min-height: 48px;
  font-size: 15px; font-weight: 700; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; cursor: pointer;
}
.sf-checkout__submit:disabled { opacity: .55; cursor: not-allowed; }
.sf-minicart__meta .sf-pill { margin-right: 4px; }

@media (max-width: 991px) {
  .sf-checkout__grid { grid-template-columns: 1fr; }
  .sf-checkout__aside { position: static; }
  .sf-checkout__fields { grid-template-columns: 1fr; }
}

/* Checkout variant block � always visible */
.sf-co-variant {
  background: #fff5f5;
  border: 1px solid #f0c7c7;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 10px;
}
.sf-co-variant__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.sf-co-variant__row + .sf-co-variant__row {
  margin-top: 2px;
}
.sf-co-variant__label {
  color: #888;
  font-weight: 600;
}
.sf-co-variant__value {
  color: #d12026;
  font-weight: 700;
}

/* ========== POLICY PAGES ========== */
.sf-policy {
  padding: 28px 0 40px;
}

.sf-policy__card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 28px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.sf-policy__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #111;
}

.sf-policy__content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.sf-policy__content img {
  max-width: 100%;
  height: auto;
}

.sf-policy__content p {
  margin: 0 0 12px;
}

.sf-policy__content ul,
.sf-policy__content ol {
  padding-left: 20px;
  margin: 0 0 12px;
}

