/* ═══════════════════════════════════════════════
   STOREFRONT — Vision-inspired theme
   ═══════════════════════════════════════════════ */

/* ── Theme Variables ── */
:root {
  --sf-header-bg: #000000;
  --sf-header-text: #ffffff;
  --sf-header-border: #222;
  --sf-body-bg: #ffffff;
  --sf-body-text: #333333;
  --sf-text-secondary: #666666;
  --sf-accent: #e53e3e;
  --sf-card-bg: #ffffff;
  --sf-card-border: #eeeeee;
  --sf-btn-bg: #000000;
  --sf-btn-text: #ffffff;
  --sf-btn-hover: #333333;
  --sf-footer-bg: #000000;
  --sf-footer-text: #cccccc;
  --sf-footer-heading: #ffffff;
  --sf-footer-link: #aaaaaa;
  --sf-footer-border: rgba(255,255,255,0.1);
  --sf-announcement-bg: #000000;
  --sf-announcement-text: #ffffff;
  --sf-banner-gradient: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  --sf-banner2-gradient: linear-gradient(135deg, #222 0%, #444 100%);
  --sf-section-title: #222222;
  --sf-mobile-menu-bg: #ffffff;
  --sf-mobile-menu-border: #f0f0f0;
  --sf-price-sale: #e53e3e;
  --sf-compare-text: #999999;
  --sf-installments: #666666;
}

/* Modern Light theme overrides */
body.storefront.theme-modern-light {
  --sf-header-bg: #ffffff;
  --sf-header-text: #1a1a1a;
  --sf-header-border: #e2e8f0;
  --sf-body-bg: #f8f9fb;
  --sf-body-text: #1a1a2e;
  --sf-text-secondary: #64748b;
  --sf-accent: #6366f1;
  --sf-card-bg: #ffffff;
  --sf-card-border: #e2e8f0;
  --sf-btn-bg: #6366f1;
  --sf-btn-text: #ffffff;
  --sf-btn-hover: #4f46e5;
  --sf-footer-bg: #1e293b;
  --sf-footer-text: #94a3b8;
  --sf-footer-heading: #ffffff;
  --sf-footer-link: #94a3b8;
  --sf-footer-border: rgba(255,255,255,0.08);
  --sf-announcement-bg: #6366f1;
  --sf-announcement-text: #ffffff;
  --sf-banner-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --sf-banner2-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
  --sf-section-title: #1a1a2e;
  --sf-mobile-menu-bg: #ffffff;
  --sf-mobile-menu-border: #e2e8f0;
  --sf-price-sale: #6366f1;
  --sf-compare-text: #94a3b8;
  --sf-installments: #64748b;
}

/* Elegance Premium theme overrides */
body.storefront.theme-elegance-premium {
  --sf-header-bg: #000000;
  --sf-header-text: #ffffff;
  --sf-header-border: #222;
  --sf-body-bg: #ffffff;
  --sf-body-text: #222222;
  --sf-text-secondary: #555555;
  --sf-accent: #348a00;
  --sf-card-bg: #ffffff;
  --sf-card-border: #eeeeee;
  --sf-btn-bg: #348a00;
  --sf-btn-text: #ffffff;
  --sf-btn-hover: #2d7800;
  --sf-footer-bg: #111111;
  --sf-footer-text: #999999;
  --sf-footer-heading: #ffffff;
  --sf-footer-link: #aaaaaa;
  --sf-footer-border: rgba(255,255,255,0.1);
  --sf-announcement-bg: #000000;
  --sf-announcement-text: #ffffff;
  --sf-banner-gradient: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  --sf-banner2-gradient: linear-gradient(135deg, #222 0%, #444 100%);
  --sf-section-title: #222222;
  --sf-mobile-menu-bg: #ffffff;
  --sf-mobile-menu-border: #f0f0f0;
  --sf-price-sale: #000000;
  --sf-compare-text: #999999;
  --sf-installments: #555555;
}

/* ── Reset for storefront ── */
html, body.storefront {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
body.storefront {
  background: var(--sf-body-bg);
  color: var(--sf-body-text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

body.storefront * { box-sizing: border-box; }
body.storefront img { max-width: 100%; height: auto; display: block; }
body.storefront a { color: inherit; text-decoration: none; }

/* ── Container ── */
.sf-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

/* ═══ HEADER ═══ */
.sf-announcement {
  background: var(--sf-announcement-bg);
  color: var(--sf-announcement-text);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-header {
  background: var(--sf-header-bg);
  border-bottom: 1px solid var(--sf-header-border);
  position: relative;
  z-index: 100;
}

.sf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.sf-header__logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--sf-header-text);
}

.sf-header__logo img {
  max-height: 100px;
}

.sf-header__nav {
  display: none;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .sf-header__nav {
    display: flex;
    align-items: center;
  }
}

.sf-header__nav > a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sf-header-text) !important;
  transition: color 0.2s;
  text-decoration: none;
  line-height: 1;
}

.sf-header__nav > a:hover { opacity: 0.7; }

.sf-header .sf-container {
  overflow-x: visible;
}

/* ── Nav dropdowns ── */
.sf-nav-dropdown { position: relative; display: inline-flex; align-items: center; padding: 10px 0; }
.sf-nav-dropdown__trigger {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--sf-header-text) !important; cursor: pointer; text-decoration: none;
  padding: 0; background: none; border: none; line-height: 1;
}
.sf-nav-dropdown__trigger svg { transition: transform 0.2s; }
.sf-nav-dropdown:hover .sf-nav-dropdown__trigger svg { transform: rotate(180deg); }
.sf-nav-dropdown__menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 200px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 8px 0; z-index: 1000;
  margin-top: 0;
}
.sf-nav-dropdown__menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.sf-nav-dropdown__menu a {
  display: block; padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: #333 !important; text-transform: none; letter-spacing: 0; white-space: nowrap;
  text-decoration: none; transition: background 0.15s;
}
.sf-nav-dropdown__menu a:hover { background: #f5f5f5; }
.sf-nav-dropdown:hover .sf-nav-dropdown__menu { display: block; }

.sf-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sf-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sf-header-text);
  background: none;
  border: none;
  cursor: pointer;
}

.sf-header__cart-count {
  background: var(--sf-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -10px;
}

.sf-mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--sf-header-text);
}

@media (min-width: 768px) {
  .sf-mobile-toggle { display: none; }
}

.sf-mobile-menu {
  display: none;
  background: var(--sf-mobile-menu-bg);
  border-top: 1px solid var(--sf-mobile-menu-border);
  padding: 16px 20px;
}

.sf-mobile-menu.active { display: block; }

@media (min-width: 768px) {
  .sf-mobile-menu,
  .sf-mobile-menu.active { display: none !important; }
}

.sf-mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sf-body-text);
  border-bottom: 1px solid var(--sf-mobile-menu-border, #f0f0f0);
  text-decoration: none;
}

.sf-mobile-menu__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sf-body-text);
  border-bottom: 1px solid var(--sf-mobile-menu-border, #f0f0f0);
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
}

.sf-mobile-menu__parent svg { transition: transform 0.2s; }
.sf-mobile-menu__parent.open svg { transform: rotate(180deg); }

.sf-mobile-menu__children {
  display: none;
  padding-left: 12px;
}
.sf-mobile-menu__children.open { display: block; }

.sf-mobile-menu__children a {
  padding: 8px 0 8px 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  border-bottom-color: transparent;
}

.sf-header__search {
  display: none;
}

@media (min-width: 768px) {
  .sf-header__search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 8px 16px;
    gap: 8px;
    flex: 1;
    max-width: 400px;
  }
}

.sf-header__search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  width: 100%;
  color: #333;
}

.sf-header__search input::placeholder { color: #999; }

/* ═══ SLIDESHOW / HERO ═══ */
.sf-slideshow {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  max-width: 100vw;
}

.sf-slideshow__track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.sf-slideshow__slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.sf-slideshow__slide img {
  width: 100%;
  max-height: 600px;
  display: block;
  object-fit: cover;
}

.sf-slideshow__nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.sf-slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.sf-slideshow__dot.active { background: #fff; }

/* ═══ SECTION HEADERS ═══ */
.sf-section {
  padding: 40px 0;
}

.sf-section--gray {
  background: #f9f9f9;
}

.sf-section__header {
  text-align: center;
  margin-bottom: 30px;
}

.sf-section__title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sf-section-title);
  margin: 0;
}

.sf-section__subtitle {
  font-size: 14px;
  color: var(--sf-text-secondary);
  margin-top: 6px;
}

/* ═══ COLLECTION LIST (Carousel) ═══ */
.sf-collections {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.sf-collections::-webkit-scrollbar { display: none; }

.sf-collection-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border-radius: 16px;
  background: var(--sf-collection-card-bg, #fff);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
}

.sf-collection-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }

.sf-collection-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sf-collection-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-text, #111);
  padding: 12px 10px;
  letter-spacing: 0.3px;
}

/* ═══ PRODUCT GRID ═══ */
.sf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .sf-product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
  .sf-product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
  .sf-product-grid--5col { grid-template-columns: repeat(5, 1fr); }
}

/* ═══ PRODUCT CARD ═══ */
.sf-product-card {
  position: relative;
  background: var(--sf-card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sf-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sf-product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.sf-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  color: #fff;
}

.sf-badge--sale { background: #e53e3e; }
.sf-badge--soldout { background: #666; }
.sf-badge--new { background: #000; }
.sf-badge--dark { background: #000; }

.sf-product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f5f5;
}

.sf-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sf-product-card:hover .sf-product-card__img {
  transform: scale(1.05);
}

.sf-product-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.sf-product-card:hover .sf-product-card__img--secondary {
  opacity: 1;
}

.sf-product-card__info {
  padding: 10px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sf-product-card__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--sf-body-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: 6px;
}

.sf-product-card__prices {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.sf-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

.sf-product-card__price--sale {
  color: var(--sf-price-sale);
}

.sf-product-card__compare {
  font-size: 12px;
  color: var(--sf-compare-text);
  text-decoration: line-through;
}

.sf-product-card__installments {
  font-size: 11px;
  color: var(--sf-installments);
  margin-top: 2px;
}

/* Product card link wrapper */
.sf-product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

/* Product card add-to-cart button */
.sf-product-card__add-btn {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px 8px;
  padding: 10px;
  border: none;
  background: var(--sf-btn-bg);
  color: var(--sf-btn-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 8px;
}

.sf-product-card__add-btn:hover {
  background: var(--sf-accent);
}

/* ═══ TEXT WITH ICONS ═══ */
.sf-trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.sf-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.sf-trust-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-trust-item__icon svg { width: 32px; height: 32px; }

.sf-trust-item__title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.sf-trust-item__desc {
  font-size: 12px;
  color: #666;
}

/* ═══ PRODUCT PAGE ═══ */
.sf-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 30px 0;
}

@media (min-width: 768px) {
  .sf-product {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Gallery */
.sf-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .sf-gallery {
    flex-direction: row-reverse;
        gap: 12px;
  }
}

.sf-gallery__main {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1;
}

.sf-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.sf-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

@media (min-width: 768px) {
  .sf-gallery__thumbs {
    flex-direction: column;
    width: 80px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
  }
}

.sf-gallery__thumb {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

@media (min-width: 768px) {
  .sf-gallery__thumb {
    width: 70px;
    height: 70px;
  }
}

.sf-gallery__thumb.active,
.sf-gallery__thumb:hover {
  border-color: #000;
}

.sf-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.sf-product-info__labels {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sf-product-info__label {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.sf-product-info__label--sold { background: #f0f0f0; color: #666; }
.sf-product-info__label--exclusive { background: #000; color: #fff; }
.sf-product-info__label--bestseller { background: #000; color: #fff; }

.sf-product-info__title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .sf-product-info__title { font-size: 26px; }
}

.sf-product-info__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.sf-product-info__price {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.sf-product-info__price--sale { color: #000; }

.sf-product-info__compare {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.sf-product-info__discount-badge {
  font-size: 11px;
  font-weight: 700;
  background: #e53e3e;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
}

.sf-product-info__installments {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.sf-product-info__installments b { color: #000; }

/* Variant selector */
.sf-option-group {
  margin-bottom: 16px;
}

.sf-option-group__label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.sf-option-group__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sf-option-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #333;
  transition: all 0.2s;
}

.sf-option-btn:hover { border-color: #999; }

.sf-option-btn.active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.sf-option-btn.soldout {
  opacity: 0.4;
  text-decoration: line-through;
}

/* Quantity */
.sf-quantity {
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 16px;
}

.sf-quantity__btn {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.sf-quantity__btn:hover { background: #f5f5f5; }

.sf-quantity__input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  outline: none;
  -moz-appearance: textfield;
}

.sf-quantity__input::-webkit-inner-spin-button,
.sf-quantity__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Buy buttons */
.sf-buy-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.sf-buy-btn--primary {
  background: #348a00;
  color: #fff;
}

.sf-buy-btn--primary:hover {
  background: #2d7800;
  transform: scale(1.02);
}

.sf-buy-btn--secondary {
  background: var(--sf-btn-bg);
  color: var(--sf-btn-text);
  margin-top: 8px;
}

.sf-buy-btn--secondary:hover {
  background: var(--sf-accent);
}

.sf-buy-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Shipping Info Box */
.sf-shipping-info {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.sf-shipping-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sf-shipping-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sf-shipping-item:first-child { padding-top: 0; }

.sf-shipping-item__icon { flex-shrink: 0; }
.sf-shipping-item__icon svg { width: 24px; height: 24px; }

.sf-shipping-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.sf-shipping-item__desc {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.sf-shipping-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.sf-feature-check {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #333;
}

/* ═══ SHARE BUTTONS ═══ */
.sf-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.sf-share__label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}
.sf-share__buttons {
  display: flex;
  gap: 8px;
}
.sf-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.sf-share__btn:hover { border-color: #999; color: #000; }
.sf-share__btn--whatsapp:hover { color: #25D366; border-color: #25D366; }
.sf-share__btn--facebook:hover { color: #1877F2; border-color: #1877F2; }
.sf-share__btn--twitter:hover { color: #000; border-color: #000; }
.sf-share__btn--pinterest:hover { color: #E60023; border-color: #E60023; }
.sf-share__btn--copy:hover { color: #000; border-color: #000; }

/* Hide old share HTML from imported body_html */
.social-share-button,
.social-sharing,
.social-share,
[data-network],
.pinterest-hidden {
  display: none !important;
}

/* ═══ FAQ Accordion ═══ */
.sf-faq { margin-top: 30px; }

.sf-faq__item {
  border-bottom: 1px solid #eee;
}

.sf-faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.sf-faq__question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s;
}

.sf-faq__item.active .sf-faq__question::after {
  content: '−';
}

.sf-faq__answer {
  display: none;
  padding: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.sf-faq__item.active .sf-faq__answer {
  display: block;
}

/* ═══ PRODUCT DESCRIPTION TABS ═══ */
.sf-tabs {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.sf-tabs__header {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #eee;
}

.sf-tabs__btn {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.sf-tabs__btn.active {
  color: #000;
  border-bottom-color: #000;
}

.sf-tabs__content {
  padding: 20px 0;
  display: none;
}

.sf-tabs__content.active {
  display: block;
}

.sf-tabs__content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.sf-tabs__content {
  overflow-x: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sf-tabs__content img {
  max-width: 100% !important;
  height: auto !important;
}

.sf-tabs__content table {
  max-width: 100% !important;
  overflow-x: auto;
  display: block;
}

.sf-tabs__content iframe,
.sf-tabs__content video,
.sf-tabs__content embed,
.sf-tabs__content object {
  max-width: 100% !important;
}

.sf-tabs__content pre {
  overflow-x: auto;
  max-width: 100%;
}

.sf-tabs__content div {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* ═══ CART PAGE ═══ */
.sf-cart-page {
  padding: 30px 0 60px;
}

.sf-cart-page h1 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
}

.sf-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .sf-cart-layout {
    grid-template-columns: 1fr 360px;
  }
}

/* Cart table */
.sf-cart-table {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
}

/* ═══ CHECKOUT — Step Flow ═══ */
.sf-checkout-page {
  min-height: 80vh;
  padding: 32px 20px;
  background: #f7f7f8;
  overflow-x: hidden;
}
.sf-checkout-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.sf-checkout-left,
.sf-checkout-right {
  min-width: 0;
}

/* ═══ Stepper ═══ */
.sf-checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 0 10px;
}
.sf-checkout-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sf-checkout-stepper__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s;
}
.sf-checkout-stepper__label {
  font-size: 11px;
  color: #aaa;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}
.sf-checkout-stepper__line {
  flex: 1;
  height: 2px;
  background: #ddd;
  min-width: 30px;
  max-width: 80px;
  margin: 0 8px;
  margin-bottom: 22px;
  transition: background 0.3s;
}
.sf-checkout-stepper__step--active .sf-checkout-stepper__circle {
  border-color: #000;
  background: #000;
  color: #fff;
}
.sf-checkout-stepper__step--active .sf-checkout-stepper__label {
  color: #000;
  font-weight: 700;
}
.sf-checkout-stepper__step--done .sf-checkout-stepper__circle {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
}
.sf-checkout-stepper__step--done .sf-checkout-stepper__label {
  color: #10b981;
}
.sf-checkout-stepper__line--done {
  background: #10b981;
}

/* ═══ Resumo Bar (mobile-first, visible on desktop too) ═══ */
.sf-checkout-resumo-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}
.sf-checkout-resumo-bar__left strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: block;
}
.sf-checkout-resumo-bar__left span {
  font-size: 11px;
  color: #aaa;
}
.sf-checkout-resumo-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sf-checkout-resumo-bar__price {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
}
.sf-checkout-resumo-bar__chevron {
  color: #fff;
  transition: transform 0.3s;
}
.sf-checkout-resumo-bar--open .sf-checkout-resumo-bar__chevron {
  transform: rotate(180deg);
}
.sf-checkout-resumo-bar__content {
  display: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  margin-top: -10px;
}
.sf-checkout-resumo-bar__content--open {
  display: block;
}
.sf-checkout-resumo-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sf-checkout-resumo-bar__item:last-child { border-bottom: none; }
.sf-checkout-resumo-bar__img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #eee;
}
.sf-checkout-resumo-bar__item-info { flex: 1; }
.sf-checkout-resumo-bar__item-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #222;
}
.sf-checkout-resumo-bar__item-qty {
  font-size: 11px;
  color: #888;
}
.sf-checkout-resumo-bar__qty-controls { display: none; }
.sf-checkout-resumo-bar__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  color: #555;
}
.sf-checkout-resumo-bar__qty-btns {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.sf-checkout-resumo-bar__qty-btns button {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.sf-checkout-resumo-bar__qty-btns span {
  padding: 0 6px;
  font-weight: 600;
  font-size: 12px;
}
.sf-checkout-resumo-bar__remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}
.sf-checkout-resumo-bar__totals {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
.sf-checkout-resumo-bar__totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}
.sf-checkout-resumo-bar__total {
  font-weight: 800;
  color: #000 !important;
  font-size: 15px !important;
}

/* ═══ Address Card ═══ */
.sf-address-card {
  margin-bottom: 18px;
}
.sf-address-card__new {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
  text-decoration: none;
}
.sf-address-card__new:hover {
  text-decoration: underline;
}
.sf-address-card__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
}
.sf-address-card__item--active {
  border-color: #000;
  background: #fafafa;
}
.sf-address-card__radio {
  accent-color: #000;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sf-address-card__info {
  flex: 1;
}
.sf-address-card__info p {
  margin: 0;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  white-space: pre-line;
}
.sf-address-card__actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.sf-address-card__btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #888;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.sf-address-card__btn:hover {
  color: #333;
  background: #f0f0f0;
}

/* ═══ Phone wrap ═══ */
.sf-checkout-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.sf-checkout-phone-wrap:focus-within {
  border-color: #000;
}
.sf-checkout-phone-flag {
  padding: 0 10px;
  font-size: 13px;
  color: #555;
  flex-shrink: 0;
  white-space: nowrap;
  border-right: 1px solid #eee;
}
.sf-checkout-input--phone {
  border: none !important;
  border-radius: 0 !important;
}
.sf-checkout-input--phone:focus {
  box-shadow: none !important;
}

/* ═══ Input valid checkmark ═══ */
.sf-checkout-input--valid {
  border-color: #10b981 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

/* Steps */
.sf-checkout-step {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}
.sf-checkout-step--collapsed {
  padding: 16px 28px;
  opacity: 0.6;
  cursor: pointer;
}
.sf-checkout-step--collapsed .sf-checkout-step__body,
.sf-checkout-step--collapsed .sf-checkout-step__desc {
  display: none;
}
.sf-checkout-step__header {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}
.sf-checkout-step__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.sf-checkout-step__desc {
  font-size: 13px;
  color: #888;
  margin: 0 0 18px;
  padding-left: 40px;
}
.sf-checkout-step__body {
  padding-left: 0;
}

/* Fields */
.sf-checkout-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.sf-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sf-checkout-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 4px;
}
.sf-checkout-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
}
.sf-checkout-input:focus {
  border-color: #000;
}
.sf-checkout-textarea {
  resize: vertical;
}

/* PIX hint */
.sf-checkout-pix-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ecfdf5;
  border-radius: 10px;
  font-size: 13px;
  color: #333;
  margin-bottom: 18px;
}

/* Buttons */
.sf-checkout-continue-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.sf-checkout-continue-btn:hover {
  background: #222;
}
.sf-checkout-back-btn {
  display: block;
  margin-top: 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}
.sf-checkout-back-btn:hover {
  color: #333;
}

/* Payment option */
.sf-checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.sf-checkout-payment-option--active {
  border-color: #000;
  background: #fafafa;
}
.sf-checkout-payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #000;
  flex-shrink: 0;
}
.sf-checkout-payment-option strong {
  font-size: 14px;
}
.sf-checkout-payment-option span {
  font-size: 12px;
  color: #888;
  display: block;
}

.sf-checkout-notes {
  margin-bottom: 18px;
}

/* Pay button */
.sf-checkout-pay-btn {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.sf-checkout-pay-btn:hover {
  background: #222;
}

/* Card fields */
.sf-checkout-card-fields {
  margin-bottom: 16px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* Modal overlay */
.sf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sf-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.sf-modal-icon {
  margin-bottom: 16px;
}
.sf-modal-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #111;
}
.sf-modal-text {
  font-size: 14px;
  color: #666;
  margin: 0 0 18px;
  line-height: 1.5;
}
.sf-modal-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #ecfdf5;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  justify-content: center;
}

/* ── Summary card ── */
.sf-checkout-summary-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  padding: 24px;
  position: static;
}
.sf-checkout-summary__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #888;
  margin: 0 0 18px;
}
.sf-checkout-summary__item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}
.sf-checkout-summary__item-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.sf-checkout-summary__item-info {
  flex: 1;
  min-width: 0;
}
.sf-checkout-summary__item-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-checkout-summary__item-variant {
  margin: 2px 0 0;
  font-size: 11px;
  color: #888;
}
.sf-checkout-summary__item-qty {
  margin: 2px 0 0;
  font-size: 11px;
  color: #666;
}
.sf-checkout-summary__item-price {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.sf-checkout-summary__divider {
  border-top: 1px solid #eee;
  margin: 14px 0;
}
.sf-checkout-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: #555;
}
.sf-checkout-summary__row--total {
  font-size: 16px;
  font-weight: 800;
  color: #000;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
.sf-checkout-back-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #888;
}
.sf-checkout-back-link:hover {
  color: #333;
}

/* ── Field validation errors ── */
.sf-checkout-input--error {
  border-color: #ef4444 !important;
  background: #fff5f5;
}
.sf-field-error {
  display: block;
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
}

/* ── Shipping Options ── */
.sf-checkout-shipping-options {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sf-checkout-shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.sf-checkout-shipping-option:hover {
  border-color: #ccc;
}
.sf-checkout-shipping-option--active {
  border-color: #000;
  background: #fafafa;
}
.sf-checkout-shipping-option input[type="radio"] {
  accent-color: #000;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sf-checkout-shipping-option__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.sf-checkout-shipping-option__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sf-checkout-shipping-option__info strong {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.sf-checkout-shipping-option__time {
  font-size: 12px;
  color: #888;
}
.sf-checkout-shipping-option__price {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* ── Social Proof ── */
.sf-checkout-social-proof {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 24px;
}
.sf-checkout-social-proof__item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
}
.sf-checkout-social-proof__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sf-checkout-social-proof__avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
  overflow: hidden;
}
.sf-checkout-social-proof__avatar--initials {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #555;
}
.sf-checkout-social-proof__name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin: 0 0 2px;
}
.sf-checkout-social-proof__stars {
  display: flex;
  gap: 1px;
}
.sp-star { color: #ddd; font-size: 13px; }
.sp-star--on { color: #f59e0b; }
.sf-checkout-social-proof__text {
  font-size: 12.5px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .sf-checkout-page {
    padding: 10px 8px;
  }
  .sf-checkout-container {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }
  .sf-checkout-right {
    order: -1;
    min-width: 0;
  }
  .sf-checkout-summary-card {
    position: static;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
  }
  .sf-checkout-step {
    padding: 16px 14px;
    min-width: 0;
  }
  .sf-checkout-step--collapsed {
    padding: 12px 14px;
  }
  .sf-checkout-step__header {
    font-size: 16px;
  }
  .sf-checkout-row {
    grid-template-columns: 1fr;
  }
  .sf-checkout-input,
  .sf-checkout-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }
  .sf-checkout-fields {
    gap: 10px;
  }
  .sf-checkout-payment-option {
    padding: 12px 14px;
  }
  .sf-checkout-continue-btn,
  .sf-checkout-pay-btn {
    padding: 13px;
    font-size: 15px;
  }
  .sf-checkout-right {
    display: none;
  }
  .sf-checkout-resumo-bar {
    display: flex;
  }
  .sf-checkout-stepper__label {
    font-size: 10px;
  }
  .sf-checkout-stepper__circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .sf-checkout-stepper__line {
    min-width: 20px;
  }
  .sf-checkout-resumo-bar__qty-controls {
    display: block;
  }
}

/* ═══ PIX PAYMENT PAGE ═══ */
.sf-pix-page {
  min-height: 80vh;
  padding: 40px 20px;
  background: #f7f7f8;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sf-pix-container {
  max-width: 480px;
  width: 100%;
}
.sf-pix-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  padding: 32px;
  text-align: center;
}
.sf-pix-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}
.sf-pix-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #111;
}
.sf-pix-subtitle {
  font-size: 13px;
  color: #888;
  margin: 2px 0 0;
}
.sf-pix-order-num {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  color: #555;
  margin-bottom: 20px;
}

/* QR Code */
.sf-pix-qr {
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}
.sf-pix-qr__img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 2px solid #eee;
}
.sf-pix-qr__placeholder {
  width: 220px;
  height: 220px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* Copy */
.sf-pix-copy {
  margin-bottom: 20px;
  text-align: left;
}
.sf-pix-copy__label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 6px;
}
.sf-pix-copy__row {
  display: flex;
  gap: 8px;
}
.sf-pix-copy__input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 12px;
  font-family: monospace;
  background: #f9f9f9;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: none;
}
.sf-pix-copy__btn {
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.sf-pix-copy__btn:hover {
  background: #222;
}

/* Timer */
.sf-pix-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

/* Status */
.sf-pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
}
.sf-pix-status__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top-color: #000;
  border-radius: 50%;
  animation: pix-spin 0.8s linear infinite;
}
@keyframes pix-spin {
  to { transform: rotate(360deg); }
}

/* Total */
.sf-pix-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 15px;
}
.sf-pix-total strong {
  font-size: 18px;
  font-weight: 800;
}

.sf-cart-table table {
  width: 100%;
  border-collapse: collapse;
}

.sf-cart-table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.sf-cart-table th:nth-child(2),
.sf-cart-table td:nth-child(2) { text-align: center; }

.sf-cart-table th:last-child,
.sf-cart-table td:last-child { text-align: right; }

.sf-cart-item {
  border-bottom: 1px solid #f0f0f0;
}

.sf-cart-item:last-child { border-bottom: none; }

.sf-cart-item td { padding: 16px 12px; vertical-align: middle; }

.sf-cart-item__product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sf-cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.sf-cart-item__title {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf-cart-item__variant {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.sf-cart-item__price {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.sf-cart-item__remove {
  background: none;
  border: none;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  margin-top: 6px;
  text-decoration: underline;
}

.sf-cart-item__remove:hover { color: #e53e3e; }

/* Cart quantity */
.sf-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.sf-cart-qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.sf-cart-qty button:hover { background: #f5f5f5; }

.sf-cart-qty span {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  height: 32px;
  display: flex;
  align-items: center;
}

/* Cart summary */
.sf-cart-summary {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.sf-cart-summary__title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.sf-cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.sf-cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  margin-top: 10px;
  border-top: 2px solid #000;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.sf-cart-summary__checkout {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sf-cart-summary__checkout:hover {
  background: #222;
  transform: scale(1.02);
}

.sf-cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.sf-cart-empty h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.sf-cart-empty p {
  color: #666;
  margin-bottom: 24px;
}

.sf-btn-link {
  display: inline-block;
  padding: 12px 30px;
  background: var(--sf-btn-bg);
  color: var(--sf-btn-text);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.sf-btn-link:hover { background: var(--sf-accent); }

/* ═══ COLLECTION PAGE ═══ */
.sf-collection-page { padding: 30px 0 60px; }

.sf-collection-page__header {
  margin-bottom: 24px;
}

.sf-collection-page__title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.sf-collection-page__count {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

/* ═══ PAGINATION ═══ */
.sf-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.sf-pagination a,
.sf-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.sf-pagination a {
  background: #f5f5f5;
  color: #333;
}

.sf-pagination a:hover {
  background: #eee;
}

.sf-pagination span.current {
  background: #000;
  color: #fff;
}

/* ═══ FOOTER ═══ */
.sf-footer {
  background: var(--sf-footer-bg);
  color: var(--sf-footer-text);
  padding: 50px 0 20px;
}

.sf-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .sf-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sf-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.sf-footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sf-footer-heading);
  margin-bottom: 16px;
}

.sf-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-footer__links li { margin-bottom: 8px; }

.sf-footer__links a {
  font-size: 13px;
  color: var(--sf-footer-link);
  transition: color 0.2s;
}

.sf-footer__links a:hover { color: var(--sf-footer-heading); }

.sf-footer__text {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
}

.sf-footer__bottom {
  border-top: 1px solid var(--sf-footer-border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sf-footer__copy {
  font-size: 12px;
  color: #888;
}

.sf-footer__payments {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sf-footer__payments span {
  background: #333;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #ccc;
}

/* Footer payment icons */
.sf-footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.sf-footer__payment-icon {
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-footer__payment-icon svg {
  display: block;
}

/* Footer social proof bar */
.sf-footer__proof {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sf-footer__proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sf-accent);
}

.sf-footer__proof-item span {
  color: var(--sf-footer-text);
}

/* Footer secure badge */
.sf-footer__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
}

/* ═══ SOCIAL PROOF (Product page) ═══ */
.sf-social-proof {
  margin-top: 20px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.sf-social-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* ═══ BREADCRUMB ═══ */
.sf-breadcrumb {
  padding: 12px 0;
  font-size: 12px;
  color: #999;
}

.sf-breadcrumb a { color: #666; }
.sf-breadcrumb a:hover { color: #000; }
.sf-breadcrumb span { color: #333; }

/* ═══ UTILITIES ═══ */
.sf-text-center { text-align: center; }
.sf-mt-0 { margin-top: 0; }
.sf-mb-0 { margin-bottom: 0; }

/* ═══ VIEW MORE BUTTON ═══ */
.sf-view-more {
  text-align: center;
  margin-top: 20px;
}

body.storefront .sf-view-more a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--sf-accent);
  color: #fff !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: filter 0.2s;
}

body.storefront .sf-view-more a:hover { filter: brightness(0.85); color: #fff !important; }

body.storefront .sf-btn-link {
  color: var(--sf-btn-text) !important;
  text-decoration: none !important;
}
body.storefront .sf-btn-link:hover {
  color: var(--sf-btn-text) !important;
}

/* ═══ FLASH MESSAGES (Store) ═══ */
.sf-flash {
  max-width: 600px;
  margin: 12px auto;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.sf-flash--success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #c6f6d5;
}

.sf-flash--error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* ═══ RECOMMENDATIONS ═══ */
.sf-recommendations {
  margin-top: 50px;
}

/* ═══ CART DRAWER ═══ */
.sf-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.sf-cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sf-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.sf-cart-drawer.open {
  transform: translateX(0);
}

.sf-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.sf-cart-drawer__title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.sf-cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #333;
  transition: color 0.2s;
}
.sf-cart-drawer__close:hover { color: #000; }

.sf-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.sf-cart-drawer__empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 0;
}

.sf-cart-drawer__item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sf-cart-drawer__item:last-child { border-bottom: none; }

.sf-cart-drawer__item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sf-cart-drawer__item-info {
  flex: 1;
  min-width: 0;
}

.sf-cart-drawer__item-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf-cart-drawer__item-variant {
  font-size: 11px;
  color: #999;
  margin: 0 0 4px;
}

.sf-cart-drawer__item-price {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.sf-cart-drawer__item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.sf-cart-drawer__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.sf-cart-drawer__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: #555;
  transition: background 0.15s;
}
.sf-cart-drawer__qty-btn:hover { background: #f5f5f5; }

.sf-cart-drawer__qty-val {
  width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 30px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.sf-cart-drawer__remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.sf-cart-drawer__remove-btn:hover { color: #e53e3e; background: #fef2f2; }

.sf-cart-drawer__footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.sf-cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin-bottom: 14px;
}

.sf-cart-drawer__checkout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff !important;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.sf-cart-drawer__checkout-btn:hover { background: #333; }

.sf-cart-drawer__continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px;
  background: #fff;
  color: #000;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: 2px solid #000;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sf-cart-drawer__continue-btn:hover { background: #f5f5f5; }

/* Badge pulse animation */
@keyframes sf-badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.sf-badge-pulse {
  animation: sf-badge-pulse 0.4s ease;
}

/* ═══ MOBILE RESPONSIVENESS FIXES ═══ */
@media (max-width: 767px) {
  /* Header */
  .sf-header__search { display: none; }
  .sf-header__nav { display: none; }
  .sf-header__logo img { max-height: 86px !important; }

  /* Cart page */
  .sf-cart-page h1 { font-size: 20px; }
  .sf-cart-table { padding: 10px; }
  .sf-cart-table table,
  .sf-cart-table thead,
  .sf-cart-table tbody,
  .sf-cart-table tr,
  .sf-cart-table th,
  .sf-cart-table td {
    display: block;
    width: 100%;
  }
  .sf-cart-table thead { display: none; }
  .sf-cart-item td { padding: 6px 0; border: none; text-align: left !important; }
  .sf-cart-item td:last-child { text-align: left !important; font-weight: 700; }
  .sf-cart-item__product { flex-direction: row; gap: 10px; }
  .sf-cart-item__img { width: 60px; height: 60px; }
  .sf-cart-qty { justify-content: flex-start; }

  /* Order confirmation grid */
  .checkout-2col,
  .sf-cart-page [style*="grid-template-columns:1fr 1fr"]:not(form *) {
    grid-template-columns: 1fr !important;
  }

  /* Product page */
  .sf-product-detail { flex-direction: column; }
  .sf-product-gallery { width: 100%; max-width: 100%; }
  .sf-product-info { width: 100%; padding: 0; }
  .sf-product-gallery__main img { max-height: 350px; }
  .sf-product-gallery__thumbs { gap: 6px; }
  .sf-product-gallery__thumb { width: 50px; height: 50px; }

  /* Product page overflow fix */
  .sf-product { overflow: hidden; }
  .sf-tabs { overflow: hidden; }
  .sf-breadcrumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sf-share__buttons { flex-wrap: wrap; }
  .sf-shipping-info { overflow: hidden; }

  /* Product grid */
  .sf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sf-product-card__info { padding: 8px; }
  .sf-product-card__title { font-size: 12px; }
  .sf-product-card__price { font-size: 13px; }

  /* Collection cards */
  .sf-collections { gap: 10px; }
  .sf-collection-card__img { height: 100px; }

  /* Footer */
  .sf-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .sf-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Section spacing */
  .sf-section { padding: 24px 0; }
  .sf-container { padding: 0 12px; }
}

/* ═══ ELEGANCE PREMIUM — Additional Components ═══ */

/* Sold badge (grid card) */
.sf-badge--sold {
  background: #f0f0f0;
  color: #555;
  font-size: 10px;
  font-weight: 600;
}

/* Payment methods button */
.sf-payment-methods-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.sf-payment-methods-btn:hover { border-color: #999; }

/* PIX Discount badge */
.sf-pix-discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf0;
  border: 1px solid #dcfce7;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #348a00;
  margin-bottom: 20px;
}
.sf-pix-discount b { font-weight: 700; }

/* Trust Box */
.sf-trust-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 20px;
}
.sf-trust-box__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sf-trust-box__item:first-child { padding-top: 0; }
.sf-trust-box__item:last-child { border-bottom: none; padding-bottom: 0; }
.sf-trust-box__icon { flex-shrink: 0; margin-top: 1px; }
.sf-trust-box__title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0;
}
.sf-trust-box__desc {
  font-size: 12px;
  color: #666;
  margin: 3px 0 0;
}
.sf-trust-box__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}
.sf-trust-box__check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
}

/* ═══ Payment Methods Modal ═══ */
.sf-pm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.sf-pm-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 460px;
  width: 92%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.sf-pm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
}
.sf-pm-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  color: #000;
}
.sf-pm-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
}
.sf-pm-close:hover { color: #000; }

.sf-pm-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
}
.sf-pm-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  transition: all 0.2s;
}
.sf-pm-tab:hover { color: #666; }
.sf-pm-tab.active {
  color: #000;
  border-bottom-color: #000;
}

.sf-pm-panel {
  display: none;
  padding: 0;
}
.sf-pm-panel.active {
  display: block;
}

/* Installments table */
.sf-pm-table {
  width: 100%;
  border-collapse: collapse;
}
.sf-pm-table tr {
  border-bottom: 1px solid #f5f5f5;
}
.sf-pm-table tr:last-child { border-bottom: none; }
.sf-pm-table td {
  padding: 10px 22px;
  font-size: 13px;
  color: #333;
}
.sf-pm-table__parcel {
  text-align: left;
  color: #555;
}
.sf-pm-table__total {
  text-align: right;
  color: #333;
}
.sf-pm-table__total b {
  font-weight: 700;
  color: #000;
}

/* PIX panel */
.sf-pm-pix {
  text-align: center;
  padding: 28px 22px 16px;
}
.sf-pm-pix__price {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin: 0 0 4px;
}
.sf-pm-pix__desc {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.sf-pm-pix-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px 22px;
  border-top: 1px solid #f0f0f0;
  margin: 0 22px 22px;
  font-size: 12px;
  color: #555;
}

/* ═══ Elegance Premium — checkout green buttons ═══ */
body.storefront.theme-elegance-premium .sf-checkout-continue-btn,
body.storefront.theme-elegance-premium .sf-checkout-pay-btn {
  background: #348a00 !important;
}
body.storefront.theme-elegance-premium .sf-checkout-continue-btn:hover,
body.storefront.theme-elegance-premium .sf-checkout-pay-btn:hover {
  background: #2d7800 !important;
}
body.storefront.theme-elegance-premium .sf-checkout-stepper__step--active .sf-checkout-stepper__circle {
  background: var(--sf-btn-bg);
  border-color: var(--sf-btn-bg);
}
body.storefront.theme-elegance-premium .sf-checkout-shipping-option--active {
  border-color: var(--sf-btn-bg);
}
body.storefront.theme-elegance-premium .sf-checkout-shipping-option input[type="radio"],
body.storefront.theme-elegance-premium .sf-address-card__radio {
  accent-color: var(--sf-btn-bg);
}
body.storefront.theme-elegance-premium .sf-checkout-payment-option--active {
  border-color: var(--sf-btn-bg);
}
body.storefront.theme-elegance-premium .sf-checkout-payment-option input[type="radio"] {
  accent-color: var(--sf-btn-bg);
}
