/* ==========================================================================
   SnapShop WordPress & WooCommerce Design System
   100% Visual Parity with SnapShop Full-Stack Storefront
   ========================================================================== */

:root {
  /* Core Palette */
  --primary: #d31e28;
  --primary-hover: #b1131c;
  --price-red: #dc2626;
  --secondary: #111111;
  --text-main: #222222;
  --text-muted: #666666;
  --bg-main: #ffffff;
  --bg-light: #f7f7f8;
  --bg-card: #ffffff;
  --border-color: #e2e2e7;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   7 BUILT-IN THEME PRESETS ([data-theme] on <html>)
   ========================================================================== */

[data-theme="light"] {
  --primary: #d31e28;
  --primary-hover: #b1131c;
  --secondary: #111111;
  --text-main: #222222;
  --text-muted: #666666;
  --bg-main: #ffffff;
  --bg-light: #f7f7f8;
  --bg-card: #ffffff;
  --border-color: #e2e2e7;
}

[data-theme="dark"] {
  --primary: #ef4444;
  --primary-hover: #dc2626;
  --secondary: #f1f5f9;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --bg-main: #0f172a;
  --bg-light: #1e293b;
  --bg-card: #1e293b;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="glass"] {
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --secondary: #1e1b4b;
  --text-main: #1e1b4b;
  --text-muted: #6b7280;
  --bg-main: rgba(255, 255, 255, 0.72);
  --bg-light: #f3f4f6;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-color: rgba(139, 92, 246, 0.18);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
}

[data-theme="vibrant"] {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --secondary: #7c2d12;
  --text-main: #431407;
  --text-muted: #9a3412;
  --bg-main: #fffbeb;
  --bg-light: #fef3c7;
  --bg-card: #ffffff;
  --border-color: #fde68a;
}

[data-theme="minimal"] {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --secondary: #1e293b;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
}

[data-theme="midnight"] {
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --secondary: #e2e8f0;
  --text-main: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-main: #020617;
  --bg-light: #0f172a;
  --bg-card: #1e293b;
  --border-color: #1e293b;
}

[data-theme="nature"] {
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --secondary: #14532d;
  --text-main: #052e16;
  --text-muted: #15803d;
  --bg-main: #f0fdf4;
  --bg-light: #dcfce7;
  --bg-card: #ffffff;
  --border-color: #bbf7d0;
}

/* ==========================================================================
   BASE RESET & SCROLLBAR
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Accessibility & Skip Link (WordPress Required) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bg-main);
  border-radius: 4px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--secondary);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

/* Container */
.snapshop-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .snapshop-container {
    padding: 0 16px;
  }
}

@media (max-width: 360px) {
  .snapshop-container {
    padding: 0 12px;
  }
}

/* Buttons */
.snapshop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 50px;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.snapshop-btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.snapshop-btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 30, 40, 0.25);
}

.snapshop-btn-dark {
  background-color: #111111;
  color: #ffffff;
}

.snapshop-btn-dark:hover {
  background-color: #262626;
  color: #ffffff;
  transform: translateY(-2px);
}

.snapshop-btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.snapshop-btn-secondary:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.snapshop-hide-mobile {
  display: inline-flex;
}

.snapshop-hide-desktop {
  display: none;
}

@media (max-width: 768px) {
  .snapshop-hide-mobile {
    display: none !important;
  }
  .snapshop-hide-desktop {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   HEADER & STICKY NAVBAR
   ========================================================================== */

.snapshop-header {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 205;
  height: 64px;
  display: flex;
  align-items: center;
}

body.admin-bar .snapshop-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .snapshop-header {
    top: 46px;
  }
}

.snapshop-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.snapshop-mobile-left {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (max-width: 768px) {
  .snapshop-mobile-left {
    display: flex;
  }
}

.snapshop-logo {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.snapshop-logo img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.snapshop-nav-desktop {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  margin-inline-start: 36px;
}

@media (max-width: 768px) {
  .snapshop-nav-desktop {
    display: none !important;
  }
}

.snapshop-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
}

.snapshop-nav-link:hover,
.snapshop-nav-link.is-active {
  color: var(--secondary);
  font-weight: 600;
}

.snapshop-desktop-menu-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.snapshop-desktop-menu-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.snapshop-desktop-menu-list a:hover,
.snapshop-desktop-menu-list .current-menu-item > a {
  color: var(--secondary);
  font-weight: 600;
}

/* Header Right Actions */
.snapshop-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.snapshop-icon-btn {
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border-radius: 50%;
  background: none;
  border: none;
  position: relative;
}

.snapshop-icon-btn:hover {
  background-color: var(--bg-light);
}

.snapshop-user-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-main);
}

.snapshop-cart-badge {
  position: absolute;
  top: -1px;
  right: -2px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snapshop-cart-badge.is-empty {
  display: none;
}

/* Currency Selector Button */
.snapshop-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
}

/* Dropdown Containers */
.snapshop-dropdown-container {
  position: relative;
}

.snapshop-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  min-width: 220px;
  overflow: hidden;
  animation: snapshopFadeIn 0.18s ease;
}

.snapshop-dropdown-panel[hidden] {
  display: none !important;
}

.snapshop-shop-dropdown {
  left: 0;
  right: auto;
  width: 340px;
  max-height: 78vh;
  overflow-y: auto;
}

.snapshop-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 15px;
  color: var(--secondary);
}

.snapshop-dropdown-quicklink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.snapshop-dropdown-quicklink:hover {
  background-color: var(--bg-light);
  color: var(--price-red);
}

.snapshop-currency-menu {
  padding: 6px;
  min-width: 245px;
  max-height: 340px;
  overflow-y: auto;
}

.snapshop-currency-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-main);
  text-align: left;
}

.snapshop-currency-item:hover,
.snapshop-currency-item.is-selected {
  background-color: var(--bg-light);
  font-weight: 700;
  color: var(--primary);
}

.snapshop-account-header {
  padding: 14px 16px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.snapshop-account-name {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
}

.snapshop-account-email {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.snapshop-account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text-main);
  width: 100%;
  border: none;
  background: none;
  text-align: left;
}

.snapshop-account-item:hover {
  background-color: var(--bg-light);
}

.snapshop-account-item.is-danger {
  color: #ef4444;
  border-top: 1px solid var(--border-color);
}

/* Expandable Search Bar */
.snapshop-search-bar {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 210;
}

.snapshop-search-bar[hidden] {
  display: none !important;
}

.snapshop-search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.snapshop-search-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}

.snapshop-search-input:focus {
  border-color: var(--secondary);
}

.snapshop-search-submit {
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #111827;
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE DRAWER & MULTI-LEVEL CATEGORY ACCORDION (+ / -)
   ========================================================================== */

.snapshop-mobile-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 199;
}

.snapshop-mobile-overlay.is-open {
  display: block;
}

.snapshop-mobile-drawer {
  position: fixed;
  top: 64px;
  left: -105%;
  width: 100%;
  max-width: 400px;
  height: calc(100vh - 64px);
  background: var(--bg-main);
  z-index: 200;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 6px 0 40px;
}

.snapshop-mobile-drawer.is-open {
  left: 0;
}

/* Accordion Items */
.snapshop-acc-item {
  border-bottom: 1px solid var(--border-color);
}

.snapshop-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  background-color: var(--bg-main);
  user-select: none;
  transition: background-color 0.15s ease;
}

.snapshop-acc-trigger[aria-expanded="true"] {
  background-color: var(--bg-light);
}

.snapshop-acc-label,
.snapshop-acc-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.snapshop-acc-label.is-active,
.snapshop-acc-link.is-active {
  color: var(--price-red);
}

.snapshop-acc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.snapshop-acc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

.snapshop-acc-trigger[aria-expanded="false"] .icon-minus {
  display: none;
}

.snapshop-acc-trigger[aria-expanded="true"] .icon-plus {
  display: none;
}

.snapshop-acc-panel {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.snapshop-acc-panel[hidden] {
  display: none !important;
}

.snapshop-acc-panel .snapshop-acc-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.snapshop-acc-panel .snapshop-acc-trigger,
.snapshop-acc-panel .snapshop-acc-link {
  background-color: transparent;
  font-weight: 500;
  font-size: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.snapshop-acc-shop-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.snapshop-drawer-section {
  padding: 12px 20px;
  border-top: 8px solid var(--bg-light);
}

.snapshop-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.snapshop-drawer-link:last-child {
  border-bottom: none;
}

/* ==========================================================================
   HERO BANNER + 4-COLUMN COUNTDOWN TIMER
   ========================================================================== */

.snapshop-hero-banner {
  background-color: #ce0d15;
  padding: clamp(40px, 7vw, 90px) 0;
  color: #ffffff;
  overflow: hidden;
}

.snapshop-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.snapshop-hero-left {
  flex: 1 1 440px;
  min-width: 0;
  animation: snapshopFadeIn 0.7s ease-out;
}

.snapshop-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.snapshop-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0 0 18px;
  word-break: break-word;
}

.snapshop-hero-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.94);
  max-width: 540px;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* 4-Column Responsive Countdown Timer */
.snapshop-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 440px;
}

.snapshop-countdown-box {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.snapshop-countdown-num {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.snapshop-countdown-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.8px;
  margin-top: 4px;
  text-transform: uppercase;
}

.snapshop-hero-btns {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.snapshop-hero-btn-white {
  background-color: #ffffff;
  color: #111111;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.snapshop-hero-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.snapshop-hero-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.snapshop-hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.snapshop-hero-right {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.snapshop-hero-frame {
  width: 100%;
  max-width: 460px;
  height: clamp(260px, 44vw, 500px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.snapshop-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .snapshop-hero-wrap {
    flex-direction: column;
    gap: 28px;
  }
  .snapshop-hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .snapshop-hero-btn-white,
  .snapshop-hero-btn-outline {
    width: 100%;
    text-align: center;
  }
  .snapshop-hero-frame {
    height: 270px;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .snapshop-countdown {
    gap: 8px;
    max-width: 100%;
  }
  .snapshop-countdown-box {
    padding: 10px 4px;
  }
  .snapshop-countdown-num {
    font-size: 20px;
  }
  .snapshop-countdown-label {
    font-size: 8px;
  }
}

/* ==========================================================================
   HERO SLIDESHOW CAROUSEL (FEATURED PRODUCTS)
   ========================================================================== */

.snapshop-hero-slider {
  position: relative;
  width: 100%;
  height: clamp(460px, 50vw, 560px);
  overflow: hidden;
  background-color: #0f172a;
  touch-action: pan-y;
  user-select: none;
}

.snapshop-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: flex;
  align-items: center;
}

.snapshop-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.snapshop-slide-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.55);
  transform: scale(1.15);
  z-index: 1;
}

.snapshop-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
  width: 100%;
}

.snapshop-slide-text {
  flex: 1;
  color: #ffffff;
  padding: 0 20px;
}

.snapshop-slide-pill {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.snapshop-slide-title {
  font-size: clamp(24px, 4.2vw, 44px);
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.22;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.snapshop-slide-price {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #f8fafc;
}

.snapshop-slide-price .snapshop-price-current {
  color: #ffffff;
  font-size: inherit;
}

.snapshop-slide-img-col {
  flex: 1;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.snapshop-slide-img-col img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.snapshop-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.snapshop-slider-prev {
  left: 18px;
}

.snapshop-slider-next {
  right: 18px;
}

.snapshop-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.snapshop-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}

.snapshop-slider-dot.is-active {
  width: 26px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .snapshop-hero-slider {
    height: 480px;
  }
  .snapshop-slide-content {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px 36px;
  }
  .snapshop-slide-img-col {
    order: 1;
    height: 190px;
    padding: 0;
  }
  .snapshop-slide-text {
    order: 2;
    text-align: center;
    padding: 0;
  }
  .snapshop-slider-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   HOME SECTIONS, CATEGORY BENTO GRID & PRODUCT CARDS
   ========================================================================== */

.snapshop-section {
  padding: 60px 0;
}

.snapshop-section-alt {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.snapshop-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.snapshop-section-center {
  text-align: center;
  margin-bottom: 38px;
}

.snapshop-section-title {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 800;
  color: var(--secondary);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.snapshop-section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.snapshop-view-all {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

/* Shop by Category 1+4 Asymmetric Bento Grid */
.snapshop-cat-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .snapshop-cat-bento {
    grid-template-columns: 1.2fr 2fr;
  }
}

.snapshop-cat-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 480px) {
  .snapshop-cat-subgrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .snapshop-section-title {
    font-size: 26px;
  }
  .snapshop-section {
    padding: 36px 0;
  }
}

.snapshop-cat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 200px;
  border: 1px solid var(--border-color);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snapshop-cat-card.is-large {
  height: 100%;
  min-height: 424px;
}

@media (max-width: 767px) {
  .snapshop-cat-card.is-large {
    height: 210px;
    min-height: auto;
  }
}

.snapshop-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.snapshop-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.snapshop-cat-card:hover img {
  transform: scale(1.06);
}

.snapshop-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.14) 60%, rgba(0, 0, 0, 0.04) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.snapshop-cat-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.snapshop-cat-cta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Minimalist Product Grid & Cards */
.snapshop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}

.snapshop-prod-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.snapshop-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.snapshop-prod-img-wrap {
  position: relative;
  height: 270px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snapshop-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.4s ease;
}

.snapshop-prod-card:hover .snapshop-prod-img-wrap img {
  transform: scale(1.04);
}

.snapshop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.snapshop-badge-sale {
  background-color: #d31e28;
  color: #ffffff;
}

.snapshop-badge-best {
  background-color: #1e1b4b;
  color: #e0e7ff;
}

.snapshop-prod-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.snapshop-prod-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.snapshop-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.snapshop-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.snapshop-rating-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* High-Converting Bold Dark Red Pricing (#dc2626) */
.snapshop-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  flex-wrap: wrap;
}

.snapshop-price-current {
  font-size: 17px;
  font-weight: 800;
  color: #dc2626;
}

.snapshop-price-old {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
}

@media (max-width: 640px) {
  .snapshop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .snapshop-prod-card {
    border-radius: 12px;
  }
  .snapshop-prod-img-wrap {
    height: 185px;
  }
  .snapshop-prod-body {
    padding: 12px 10px;
  }
  .snapshop-prod-title {
    font-size: 13px;
  }
  .snapshop-price-current {
    font-size: 15px;
  }
  .snapshop-price-old {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .snapshop-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .snapshop-prod-img-wrap {
    height: 220px;
  }
}

/* Trust Badges Section */
.snapshop-trust-section {
  background-color: var(--bg-main);
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--border-color);
}

.snapshop-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.snapshop-trust-card {
  padding: 32px 24px;
  border-radius: 16px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.snapshop-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(211, 30, 40, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.snapshop-trust-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 8px;
}

.snapshop-trust-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER (#111111 4-COLUMN RESPONSIVE)
   ========================================================================== */

.snapshop-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 60px 0 30px;
  margin-top: 72px;
}

.snapshop-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
}

@media (max-width: 600px) {
  .snapshop-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 360px) {
  .snapshop-footer-grid {
    grid-template-columns: 1fr;
  }
}

.snapshop-footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
}

.snapshop-footer-heading {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 18px;
}

.snapshop-footer-text {
  color: #aaaaaa;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
}

.snapshop-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.snapshop-footer-list li {
  margin-bottom: 10px;
}

.snapshop-footer-list a,
.snapshop-footer-link {
  color: #aaaaaa;
  font-size: 14px;
}

.snapshop-footer-list a:hover,
.snapshop-footer-link:hover {
  color: #ffffff;
}

.snapshop-footer-bottom {
  border-top: 1px solid #222222;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #777777;
}

/* ==========================================================================
   CUSTOM 404 PAGE (AMBIENT GLOWS + GRADIENT 404 + QUICK LINKS)
   ========================================================================== */

.snapshop-404-wrap {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  position: relative;
  overflow: hidden;
}

.snapshop-404-glow-top {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 30, 40, 0.09) 0%, rgba(211, 30, 40, 0) 70%);
  pointer-events: none;
}

.snapshop-404-content {
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.snapshop-404-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(211, 30, 40, 0.08);
  border: 1px solid rgba(211, 30, 40, 0.22);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.snapshop-404-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

.snapshop-404-num {
  font-size: clamp(88px, 16vw, 148px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  margin: 0 0 12px;
  background: linear-gradient(180deg, var(--secondary) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.snapshop-404-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--secondary);
}

.snapshop-404-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 440px;
}

.snapshop-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.snapshop-404-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.snapshop-404-card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.snapshop-404-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.snapshop-404-link:last-child {
  margin-bottom: 0;
}

.snapshop-404-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   CONTACT PAGE TEMPLATE
   ========================================================================== */

.snapshop-contact-page {
  padding: 56px 0;
}

.snapshop-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 32px;
  align-items: start;
}

.snapshop-contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.snapshop-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.snapshop-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(211, 30, 40, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.snapshop-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.snapshop-form-group {
  margin-bottom: 18px;
}

.snapshop-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.snapshop-input,
.snapshop-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 14.5px;
  outline: none;
}

.snapshop-input:focus,
.snapshop-textarea:focus {
  border-color: var(--secondary);
}

@media (max-width: 768px) {
  .snapshop-contact-grid,
  .snapshop-form-row {
    grid-template-columns: 1fr;
  }
  .snapshop-contact-card {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   WORDPRESS BLOG, ARCHIVES, COMMENTS & THEME UNIT TEST SUPPORT
   ========================================================================== */

.snapshop-content-area {
  padding: 48px 0;
}

.snapshop-blog-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  align-items: start;
}

.snapshop-blog-layout.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .snapshop-blog-layout {
    grid-template-columns: 1fr;
  }
}

.snapshop-post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.snapshop-post-card.sticky {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(211, 30, 40, 0.08);
}

.snapshop-post-thumb img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.snapshop-post-inner {
  padding: 28px;
}

.snapshop-post-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--secondary);
  line-height: 1.25;
}

.snapshop-post-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.snapshop-entry-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-main);
  word-wrap: break-word;
}

.snapshop-entry-content p {
  margin: 0 0 16px;
}

.snapshop-entry-content blockquote {
  border-inline-start: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 20px 0;
  background-color: var(--bg-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.snapshop-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.snapshop-entry-content th,
.snapshop-entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}

/* WordPress Alignment Classes (Required by Theme Check) */
.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto 16px;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}

.wp-caption-text,
.gallery-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.bypostauthor > .comment-body {
  border-inline-start: 3px solid var(--primary);
}

/* Sidebar Widgets */
.snapshop-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
}

.snapshop-widget-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
  color: var(--secondary);
}

.snapshop-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.snapshop-widget li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.snapshop-widget li:last-child {
  border-bottom: none;
}

/* Comments & Pagination */
.snapshop-comments-area {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
}

.comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.comment-list .comment-body {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 14px;
  background-color: var(--bg-light);
}

.comment-list .children {
  list-style: none;
  padding-inline-start: 28px;
}

.snapshop-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.snapshop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  font-size: 14px;
  font-weight: 600;
}

.snapshop-pagination .page-numbers.current {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Toast Notification */
.snapshop-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  z-index: 99999;
  animation: snapshopFadeIn 0.25s ease;
}

@keyframes snapshopFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Prevent iOS Safari input auto-zoom */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px;
  }
}
