/* ==========================================================================
   PAGE LOADER
   ========================================================================== */
#su7-page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
#su7-page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: #fff; letter-spacing: .1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--card-bg); color: var(--text); padding: 12px 20px; z-index: 10000; border-radius: 0 0 var(--radius-sm) 0; box-shadow: var(--shadow-hover); }
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
.su7-mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(360px, 90vw); height: 100vh;
  background: var(--card-bg); color: var(--text); z-index: 1100; padding: 100px 32px 32px;
  transition: right .5s var(--ease-out);
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  overflow-y: auto;
}
.su7-mobile-nav.is-open { right: 0; }
.su7-mobile-nav ul li a { display: block; padding: 16px 0; font-size: 20px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.su7-mobile-nav ul li a:hover { color: var(--primary); }
.su7-mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 1090; background: var(--overlay);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s;
}
.su7-mobile-nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   SEARCH PANEL
   ========================================================================== */
.su7-search-panel {
  position: relative;
  max-height: 0; overflow: hidden; background: var(--card-bg); color: var(--text);
  opacity: 0;
  transition: max-height .5s var(--ease-out), opacity .35s var(--ease-out);
}
.su7-search-panel.is-open { max-height: 220px; opacity: 1; border-top: 1px solid var(--border); }
.su7-search-form { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
.su7-search-form input { flex: 1; border: none; outline: none; font-size: 22px; font-family: var(--font-heading); background: transparent; color: var(--text); }
.su7-search-form input::placeholder { color: var(--muted); }
.su7-search-form button { color: var(--text); }
#su7-live-search-results { padding-bottom: 12px; color: var(--text); }
#su7-live-search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--text); }
#su7-live-search-results a:hover { color: var(--primary); }
#su7-live-search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }

/* ==========================================================================
   STICKY ADD TO CART
   ========================================================================== */
.su7-sticky-atc {
  position: fixed; bottom: -100px; left: 0; right: 0; z-index: 900;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transition: bottom .45s var(--ease-out);
  padding: 14px 0;
}
.su7-sticky-atc.is-visible { bottom: 0; }
.su7-sticky-atc-inner { display: flex; align-items: center; gap: 16px; }
.su7-sticky-atc-media img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.su7-sticky-atc-info { flex: 1; display: flex; flex-direction: column; }
.su7-sticky-atc-title { font-weight: 600; font-size: 14px; color: var(--text); }
.su7-sticky-atc-price { font-weight: 700; color: var(--primary); }

/* ==========================================================================
   TRUST BADGES / WHOLESALE CALLOUT (Product Page)
   ========================================================================== */
.su7-trust-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.su7-trust-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-muted); }
.su7-wholesale-callout {
  margin-top: 20px; padding: 18px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  border: 1px dashed color-mix(in srgb, var(--primary) 30%, transparent);
}
.su7-wholesale-callout p { margin-bottom: 12px; }

/* ==========================================================================
   WHOLESALE SECTION (Home)
   ========================================================================== */
.su7-wholesale-section { background: var(--color-dark); color: #fff; border-radius: var(--radius-lg); margin: 0 24px; padding: 80px 56px; }
.su7-wholesale-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 0 !important; }
.su7-wholesale-copy p { color: rgba(255,255,255,.7); margin: 20px 0; max-width: 480px; }
.su7-wholesale-points { margin-bottom: 32px; }
.su7-wholesale-points li { position: relative; padding-left: 28px; margin-bottom: 12px; color: rgba(255,255,255,.85); }
.su7-wholesale-points li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.su7-wholesale-form-card { background: var(--card-bg); border-radius: var(--radius-md); padding: 32px; color: var(--text); box-shadow: var(--shadow-soft); }
.su7-wholesale-form-card h3 { margin-bottom: 20px; color: var(--heading); }
.su7-wholesale-form-card input, .su7-wholesale-form-card textarea {
  width: 100%; padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--border);
  background: var(--input-bg); color: var(--text);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; resize: vertical;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.su7-wholesale-form-card input::placeholder, .su7-wholesale-form-card textarea::placeholder { color: var(--muted); }
.su7-wholesale-form-card input:focus, .su7-wholesale-form-card textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.su7-form-status { color: var(--muted); font-size: 13px; min-height: 18px; }
.su7-form-status.is-success { color: #157347; }
.su7-form-status.is-error { color: #b3261e; }
@media (max-width: 900px) { .su7-wholesale-section { margin: 0 12px; padding: 48px 24px; } .su7-wholesale-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FEATURE CARDS (Why Choose Us)
   ========================================================================== */
.su7-feature-card {
  padding: 32px 24px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--card-bg); text-align: left;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
}
.su7-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}
.su7-feature-icon {
  color: var(--primary); margin-bottom: 18px;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: color-mix(in srgb, var(--primary) 10%, transparent);
  transition: transform .5s var(--ease-out);
}
.su7-feature-card:hover .su7-feature-icon { transform: rotate(-6deg) scale(1.08); }
.su7-feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--heading); }
.su7-feature-card p { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   REVIEWS SWIPER
   ========================================================================== */
.su7-review-card {
  background: var(--card-bg); border-radius: var(--radius-md); padding: 32px;
  border: 1px solid var(--border); height: 100%; box-shadow: var(--shadow-soft);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.su7-review-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.su7-review-stars { color: var(--accent); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.su7-review-card p { color: var(--text); margin-bottom: 20px; font-size: 15px; }
.su7-review-author { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--heading); }
.su7-review-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   INSTAGRAM GRID
   ========================================================================== */
.su7-instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.su7-instagram-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.su7-instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.su7-instagram-overlay { position: absolute; inset: 0; background: rgba(10,61,145,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease-out); }
.su7-instagram-item:hover .su7-instagram-overlay { opacity: 1; }
.su7-instagram-item:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .su7-instagram-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.su7-newsletter { background: color-mix(in srgb, var(--primary) 6%, var(--bg)); padding: 56px 0; }
.su7-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.su7-newsletter-inner h3 { font-size: 24px; margin-bottom: 6px; color: var(--heading); }
.su7-newsletter-inner p { color: var(--muted); }
.su7-newsletter-form { display: flex; gap: 10px; }
.su7-newsletter-form input {
  padding: 14px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--input-bg); color: var(--text); min-width: 280px; font-family: inherit;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.su7-newsletter-form input::placeholder { color: var(--muted); }
.su7-newsletter-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 64px; color: var(--text); }
.su7-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.su7-footer-brand .site-logo { color: var(--heading); }
.su7-footer-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 320px; font-size: 14px; }
.su7-footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; color: var(--muted); }
.su7-footer-col ul li { margin-bottom: 10px; }
.su7-footer-col ul li a { color: var(--text); }
.su7-footer-col ul li a:hover { color: var(--primary); }
.su7-footer-social { display: flex; gap: 10px; }
.su7-social-icon { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 10%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, transform .3s var(--ease-out); }
.su7-social-icon:hover { background: var(--primary); transform: translateY(-3px); }
.su7-footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .su7-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .su7-footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.su7-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 950;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1DA851; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(29,168,81,0.45);
  transition: transform .3s var(--ease-out);
}
.su7-whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */
.su7-bg-tint { background: var(--surface); }
.su7-breadcrumbs { padding: 140px 0 0; font-size: 13px; color: var(--muted); }
.su7-breadcrumbs ol { display: flex; gap: 8px; flex-wrap: wrap; }
.su7-breadcrumbs ol li:not(:last-child)::after { content: '/'; margin-left: 8px; }
.su7-breadcrumbs a { color: var(--muted); }
.su7-breadcrumbs a:hover { color: var(--primary); }
[data-animate] { opacity: 0; transform: translateY(30px); will-change: transform, opacity; }
[data-animate].is-in { opacity: 1; transform: translateY(0); }
[data-animate="fade"] { transform: none; }
[data-animate="blur"] { filter: blur(14px); transform: translateY(20px); }
[data-animate="blur"].is-in { filter: blur(0); transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate].is-in { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */
.su7-theme-toggle {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: background .25s var(--ease-out);
}
.su7-theme-toggle:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.su7-theme-toggle svg { position: absolute; transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
.su7-theme-toggle .icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }
.su7-theme-toggle .icon-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
[data-theme="dark"] .su7-theme-toggle .icon-sun { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="dark"] .su7-theme-toggle .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.su7-cart-drawer {
  position: fixed; top: 0; right: -100%; width: min(420px, 92vw); height: 100vh;
  background: var(--card-bg); color: var(--text); z-index: 1200;
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  transition: right .5s var(--ease-out);
}
.su7-cart-drawer.is-open { right: 0; }
.su7-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border); }
.su7-cart-drawer-header h3 { color: var(--heading); font-size: 18px; }
.su7-cart-drawer-close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); transition: background .2s; }
.su7-cart-drawer-close:hover { background: var(--surface); }
.su7-cart-drawer-body { flex: 1; overflow-y: auto; padding: 24px; }
.su7-cart-drawer-footer { padding: 24px; border-top: 1px solid var(--border); }
.su7-cart-drawer-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.su7-cart-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1190; background: var(--overlay);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s;
}
.su7-cart-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.su7-cart-drawer-subtotal { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 16px; color: var(--heading); }
.su7-cart-drawer-items { display: flex; flex-direction: column; gap: 18px; }
.su7-cart-drawer-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; }
.su7-cart-drawer-item img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.su7-cart-drawer-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.su7-cart-drawer-item-info a { color: var(--text); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su7-cart-drawer-item-info a:hover { color: var(--primary); }
.su7-cart-drawer-item-meta { font-size: 13px; color: var(--muted); }
.su7-cart-drawer-remove { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 18px; line-height: 1; transition: background .2s, color .2s; }
.su7-cart-drawer-remove:hover { background: var(--surface); color: #b3261e; }
[data-theme="dark"] .su7-cart-drawer-remove:hover { color: #ff6b6b; }
[data-theme="dark"] .su7-form-status.is-success { color: #3fd587; }
[data-theme="dark"] .su7-form-status.is-error { color: #ff6b6b; }

/* ==========================================================================
   STATS / COUNTERS
   ========================================================================== */
.su7-stats-row { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 32px; }
.su7-stat { text-align: left; }
.su7-stat-number { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--accent); }
.su7-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ==========================================================================
   LUXURY LOADER (upgraded)
   ========================================================================== */
.loader-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-mark .loader-bar { width: 140px; height: 2px; background: rgba(255,255,255,0.15); overflow: hidden; border-radius: 2px; }
.loader-mark .loader-bar-fill { width: 0%; height: 100%; background: var(--accent, #F4B400); }

/* ==========================================================================
   PAGE TRANSITION OVERLAY
   ========================================================================== */
#su7-page-transition {
  position: fixed; inset: 0; z-index: 9998; background: var(--bg);
  transform: scaleY(0); transform-origin: bottom; pointer-events: none;
}
#su7-page-transition.is-active { pointer-events: all; }
