/**
 * FLOORRED - Luxury Fashion & Shoes E-Commerce Design System
 * File: style.css (Frontend Stylesheet)
 * Author: Floorred Development Team
 */

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  /* Brand Colors */
  --red: #E1152A;
  --red-hover: #c40e21;
  --red-deep: #B10E20;
  --red-light: #FFF0F2;
  --red-badge: #FFEBEF;
  --green: #06C755;
  --green-hover: #05A847;
  --green-light: #E3F8EA;
  
  /* Navy & Dark Neutrals */
  --navy: #0B2247;
  --navy-2: #132C57;
  --navy-dark: #07152B;
  --navy-hover: #163768;
  --navy-btn: #11141a;
  
  /* Paper, Backgrounds & Borders */
  --paper: #F6F4F0;
  --paper-card: #FAF8F5;
  --white: #FFFFFF;
  --bg-subnav: #FFFFFF;
  --bg-search: #F2F3F5;
  --line: #E4E1D9;
  --line-light: #EFECE6;
  --line-dark: #D3CECE;
  
  /* Typography & Inks */
  --ink: #15151A;
  --ink-secondary: #2C2D35;
  --ink-soft: #5B5E68;
  --ink-muted: #8E929D;
  --ink-light: #B4B7C1;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 34, 71, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 34, 71, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 34, 71, 0.12);
  --shadow-card: 0 10px 30px rgba(11, 34, 71, 0.06);
  --shadow-hover: 0 16px 36px rgba(11, 34, 71, 0.14);
  
  /* Layout Dimensions */
  --max-width: 1200px;
  --header-height: 72px;
  --subnav-height: 44px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  /* Typography Families */
  --font-brand: 'Montserrat', 'Kanit', sans-serif;
  --font-thai: 'Noto Sans Thai', 'Kanit', sans-serif;
  --font-heading: 'Kanit', 'Montserrat', sans-serif;
  
  /* Transitions (60fps Ultra Smooth Cubic-Bezier) */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--subnav-height) + 16px);
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-thai);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

p, span, h1, h2, h3, h4, h5, h6, a, button, input, label {
  overflow-wrap: break-word;
}

/* ==========================================================================
   GOOGLE TRANSLATE BANNER & SPINNER SUPPRESSION
   ========================================================================== */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
#goog-gt-vt,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-te-spinner-pos,
.goog-te-spinner,
.VIpgJd-ZVi9od-aZ2wEe-wOHMy,
.VIpgJd-ZVi9od-aZ2wEe,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.VIpgJd-y60fut-j27eIb,
.VIpgJd-ZVi9od-vH1Gmf,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
iframe[class*="VIpgJd"],
div[class*="VIpgJd"],
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  z-index: -9999 !important;
}

/* Guarantee Brand Logos Always Visible */
.header-logo,
.footer-logo,
.brandmark,
.brand-logo-img,
.header-logo a {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. BUTTON & BADGE UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-red {
  background-color: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 21, 42, 0.28);
}

.btn-red:hover {
  background-color: var(--red-hover);
  box-shadow: 0 6px 20px rgba(225, 21, 42, 0.38);
}

.btn-navy {
  background-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(11, 34, 71, 0.2);
}

.btn-navy:hover {
  background-color: var(--navy-2);
}

.btn-white {
  background-color: #ffffff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(11, 34, 71, 0.1);
}

.btn-white:hover {
  background-color: #fdfdfd;
  box-shadow: 0 6px 18px rgba(11, 34, 71, 0.16);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(246, 244, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

header.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.headbar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}

/* Brandmark */
.brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.brandmark span {
  color: var(--red);
}

.brandmark .logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Primary Top Navigation */
nav.primary {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

nav.primary a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

nav.primary a:hover,
nav.primary a.active {
  color: var(--ink);
  border-color: var(--red);
}

/* Header Right Actions */
.headright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Center Inline Search */
.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  width: 260px;
  color: var(--ink-soft);
  font-size: 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), width var(--transition-smooth);
}

.search-container:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 34, 71, 0.08);
  width: 300px;
}

.search-container svg {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.search-container input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-thai);
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
}

.search-container input::placeholder {
  color: var(--ink-muted);
}

/* Action Icon Buttons with Badges */
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(11, 34, 71, 0.06);
  transform: translateY(-1px);
}

.icon-btn.on {
  color: var(--red);
}

.icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--paper);
  text-align: center;
}

/* Language Switcher Pill */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.lang-switcher:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* CTA Login Button */
.cta-login {
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-thai);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 12px rgba(11, 34, 71, 0.15);
}

.cta-login:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 34, 71, 0.22);
}

/* ==========================================================================
   5. SECONDARY HORIZONTAL SUB-CATEGORY BAR (SUBNAV)
   ========================================================================== */
.site-subnav-bar {
  background: var(--bg-subnav);
  border-bottom: 1px solid var(--line);
  height: var(--subnav-height);
  overflow: hidden;
}

.subnav-track {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 6px 0;
  height: 100%;
}

.subnav-track::-webkit-scrollbar {
  display: none;
}

.subnav-pill {
  flex: 0 0 auto;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.subnav-pill:hover {
  color: var(--navy);
  background: rgba(11, 34, 71, 0.04);
}

.subnav-pill.active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(11, 34, 71, 0.08);
  border-color: rgba(11, 34, 71, 0.15);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: transparent;
}

/* ==========================================================================
   6. HERO BANNER / CAROUSEL SLIDER (FRONTEND SLIDER)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111111;
  width: 100%;
}

.hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  width: 100%;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.hero-slide.pic {
  background: #111111;
  overflow: hidden;
}

.hero-slide.pic img {
  width: 100%;
  height: clamp(240px, 42vw, 580px);
  object-fit: cover;
  display: block;
}

.hero-slide.pic.contain {
  background: #ffffff;
}

.hero-slide.pic.contain img {
  object-fit: contain;
}

.hero-slide.cover img {
  object-fit: cover;
}

/* Hero Content for Typography Slides */
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 76px 24px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 600;
  color: #FFD9DC;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
  max-width: 560px;
}

.hero p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #E9EAF0;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-shoe {
  display: flex;
  justify-content: center;
  position: relative;
  color: #ffffff;
}

.hero-shoe img {
  width: 100%;
  max-width: 460px;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

/* Hero Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

/* Hero Indicator Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.hero-dot.on {
  width: 24px;
  background: #ffffff;
}

/* ==========================================================================
   7. CATEGORY PILLS BAR (.cats)
   ========================================================================== */
.cats {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.cats-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cats-row::-webkit-scrollbar {
  display: none;
}

.pill {
  flex: 0 0 auto;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.pill:hover,
.pill.on {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(11, 34, 71, 0.04);
}

/* ==========================================================================
   8. PRODUCT CATALOG & GRID SECTION
   ========================================================================== */
.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
}

.section-head .sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.see-all {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.see-all:hover {
  color: var(--red-hover);
  transform: translateX(3px);
}

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card v2 - Clean Luxury Minimalist */
.card {
  background: var(--white);
  border: 1px solid #ECEBED;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-fast);
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  color: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(11, 34, 71, 0.09);
  transform: translateY(-4px);
  border-color: #DCDAE0;
}

/* Card Artwork Image Container */
.card-art {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  position: relative;
  overflow: hidden;
  background: #F4F3F6;
  padding: 0;
  display: block;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card-art img.contain {
  object-fit: contain;
  padding: 14px;
}

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

/* Badges on Card */
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tag.new,
.tag.hot {
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(225, 21, 42, 0.35);
}

.tag.green {
  background: #06C755;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.3);
}

.tag.grade {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  background: #11141A;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tag.sale {
  color: var(--red);
  background: var(--red-light);
}

/* Card Body */
.card-body {
  position: relative;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.card-pill-item {
  font-family: var(--font-thai);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F2F3F5;
  color: #5B5E68;
}


.card-brand {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #15151A;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.card-brand small {
  font-family: var(--font-thai);
  font-size: 12.5px;
  font-weight: 400;
  color: #8E929D;
  margin-left: 6px;
}

.card-name {
  font-family: var(--font-thai);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #5B5E68;
  margin-top: 6px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Price */
.card-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.card-price small {
  font-size: 12px;
  color: #8E929D;
  font-weight: 400;
}

.card-price .price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  color: #15151A;
}

.bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E7F9EE;
}

/* Card Heart Favorite Button */
.card .fav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #222222;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.card .fav svg {
  pointer-events: none;
  stroke: #222222;
  stroke-width: 1.8;
  fill: none;
  transition: stroke var(--transition-fast), fill var(--transition-fast), transform var(--transition-fast);
}

.card .fav:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(225, 21, 42, 0.15);
}

.card .fav:active {
  transform: scale(0.92);
}

.card .fav.on svg {
  stroke: var(--red);
  fill: var(--red);
}


/* Horizontal Product Slider / Carousel */
.product-slider-container {
  position: relative;
  width: 100%;
}

.product-slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y !important;
  padding: 8px 4px 24px;
  cursor: grab;
}

.product-slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

.product-slider-track .card {
  flex: 0 0 calc(25% - 17px);
  min-width: 275px;
  max-width: 320px;
}

@media (max-width: 1200px) {
  .product-slider-track .card {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 250px;
  }
}

@media (max-width: 860px) {
  .product-slider-track .card {
    flex: 0 0 calc(50% - 12px);
    min-width: 210px;
  }
}

@media (max-width: 560px) {
  .product-slider-track .card {
    flex: 0 0 calc(75% - 12px);
    min-width: 220px;
  }
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(11, 34, 71, 0.15);
  display: grid;
  place-items: center;
  z-index: 25;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.slider-nav-btn svg {
  pointer-events: none;
}

.slider-nav-btn:hover {
  background: var(--paper-card);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(11, 34, 71, 0.18);
}

.slider-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-nav-btn.prev {
  left: -20px;
}

.slider-nav-btn.next {
  right: -20px;
}

@media (max-width: 768px) {
  .slider-nav-btn {
    display: none;
  }
}

/* ==========================================================================
   8.5 REELS / SHORT VIDEO CAROUSEL (.reels-section)
   ========================================================================== */
.reels-section {
  padding: 10px 0 10px;
}

.reels-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y !important;
  padding: 8px 4px 10px;
  cursor: grab;
}

.reels-slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.reels-slider-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 calc(20% - 16px);
  min-width: 220px;
  max-width: 260px;
  aspect-ratio: 9 / 14.8;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.reel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: rgba(225, 21, 42, 0.4);
}

.reel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.reel-card:hover .reel-thumb {
  transform: scale(1.06);
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.45) 65%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #111115;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2), background-color var(--transition-fast), box-shadow var(--transition-fast);
  pointer-events: none;
}

.reel-play-btn svg {
  margin-left: 3px;
}

.reel-card:hover .reel-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ffffff;
  color: var(--red);
  box-shadow: 0 8px 25px rgba(225, 21, 42, 0.35);
}

.reel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px 14px;
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
}

.reel-caption {
  font-family: var(--font-thai);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.reel-author {
  font-family: var(--font-brand);
  font-size: 12px;
  color: #f1f2f6;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 1200px) {
  .reel-card {
    flex: 0 0 calc(28% - 12px);
    min-width: 200px;
  }
}

@media (max-width: 860px) {
  .reel-card {
    flex: 0 0 calc(42% - 10px);
    min-width: 180px;
  }
}

@media (max-width: 560px) {
  .reel-card {
    flex: 0 0 calc(65% - 8px);
    min-width: 190px;
  }
}

/* Reel Modal Player Popup */
.reel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.reel-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.reel-modal-container {
  background: #111116;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  height: 88vh;
  max-height: 820px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: popIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.reel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 10;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.reel-modal-close:hover {
  background: rgba(225, 21, 42, 0.8);
  transform: scale(1.1);
}

.reel-modal-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.reel-modal-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-modal-actions {
  position: absolute;
  right: 16px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 5;
}

.reel-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border: none;
}

.reel-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
}

.reel-action-btn:hover .reel-action-icon {
  transform: scale(1.15);
  background: rgba(225, 21, 42, 0.6);
}

.reel-action-btn.liked .reel-action-icon {
  color: var(--red);
  background: rgba(255, 255, 255, 0.9);
}

.reel-action-btn span {
  font-size: 11px;
  font-family: var(--font-brand);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.reel-modal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  color: #ffffff;
  z-index: 5;
}

.reel-modal-author {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reel-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.reel-badge-pill.yt {
  background: rgba(225, 21, 42, 0.85);
  border-color: rgba(225, 21, 42, 0.3);
}

.reel-modal-video-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  z-index: 2;
}

.reel-modal-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

.reel-modal-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  display: block;
}

.reel-shoppable-overlay {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.reel-shoppable-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #11141a;
  padding: 6px 12px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}

.reel-shoppable-btn:hover {
  transform: scale(1.05);
  background: #ffffff;
  color: #E1152A;
}

.reel-modal-center-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  width: 85%;
  max-width: 290px;
}

.reel-external-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 99px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  width: 100%;
}

.reel-external-cta-btn:hover {
  transform: scale(1.04);
  background: #e1152a;
  border-color: #e1152a;
  color: #ffffff;
}

.reel-origin-pill {
  margin-top: 8px;
}

.reel-origin-pill a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  transition: color 0.2s, background 0.2s;
}

.reel-origin-pill a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.3);
}



/* ==========================================================================
   8.8 LARGE FEATURE LIFESTYLE BANNER & AUTO-SLIDER (.feature-banner)
   ========================================================================== */
.feature-banner-section {
  padding: 8px 0 45px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.feature-banner {
  position: relative;
  width: 100%;
  display: block;
  background: #111111;
  overflow: hidden;
  transition: opacity var(--transition-fast);
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.feature-banner:hover {
  opacity: 0.96;
}

.feature-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
}

/* Feature Banner Carousel Slider */
.feature-banner-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.feature-banner-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.feature-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

/* Glassmorphism Navigation Buttons */
.fb-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #11141a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
}

.feature-banner-section:hover .fb-slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.fb-slider-btn:hover {
  background: #ca1515;
  color: #ffffff;
  border-color: #ca1515;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(202, 21, 21, 0.35);
}

.fb-slider-btn.prev {
  left: 20px;
}

.fb-slider-btn.next {
  right: 20px;
}

/* Pagination Dots */
.fb-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
}

.fb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-dot.active {
  width: 24px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .fb-slider-btn {
    opacity: 0.85;
    pointer-events: auto;
    width: 36px;
    height: 36px;
  }
  .fb-slider-btn.prev { left: 10px; }
  .fb-slider-btn.next { right: 10px; }
  .fb-slider-dots { bottom: 10px; padding: 4px 8px; gap: 6px; }
}


/* ==========================================================================
   8.9 LATEST ARTICLE CAROUSEL SECTION (.articles-section)
   ========================================================================== */
.articles-section {
  padding: 10px 0 50px;
}

.wrap-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.articles-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y !important;
  padding: 8px 4px 24px;
  cursor: grab;
}

.articles-slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.articles-slider-track::-webkit-scrollbar {
  display: none;
}

.article-card {
  flex: 0 0 calc(33.333% - 18px);
  min-width: 380px;
  max-width: 460px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #15151A;
  box-shadow: 0 4px 18px rgba(11, 34, 71, 0.08);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-cover img {
  transform: scale(1.05);
}

.article-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.article-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 20, 26, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.article-tag-ep {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-brand);
  letter-spacing: 0.04em;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.article-overlay-text {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
}

.article-overlay-category {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: #B6F000;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.article-overlay-headline {
  font-family: var(--font-thai);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.42;
  color: #15151A;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.article-card:hover .article-title {
  color: var(--red);
}

.article-excerpt {
  font-family: var(--font-thai);
  font-size: 13.5px;
  line-height: 1.55;
  color: #5B5E68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .article-card {
    flex: 0 0 calc(45% - 14px);
    min-width: 340px;
  }
}

@media (max-width: 768px) {
  .article-card {
    flex: 0 0 calc(85% - 10px);
    min-width: 280px;
  }
}


/* ==========================================================================
   9. PROMO BANNER (.promo)
   ========================================================================== */
.promo {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 16px 0 56px;
  box-shadow: 0 16px 40px rgba(225, 21, 42, 0.25);
}

.promo h3 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.promo p {
  margin-top: 6px;
  font-size: 14px;
  color: #FFD9DC;
}

.promo .code {
  background: #ffffff;
  color: var(--red-deep);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   10. NEWSLETTER SECTION
   ========================================================================== */
.news {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 40px;
  margin: 20px 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.news h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.news p {
  font-size: 14px;
  color: var(--ink-soft);
}

.news form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.news input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.news input:focus {
  border-color: var(--navy);
  background: var(--white);
}

.news button {
  background: var(--navy);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition-fast);
}

.news button:hover {
  background: var(--navy-hover);
}

/* ==========================================================================
   11. FLOATING ACTION BUTTONS (FAB CONTACTS)
   ========================================================================== */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(11, 34, 71, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.fab a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(11, 34, 71, 0.32);
}

.fab a:focus-visible {
  outline: 3px solid rgba(225, 21, 42, 0.45);
  outline-offset: 3px;
}

.fab svg {
  width: 52px;
  height: 52px;
  display: block;
}

.fab img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: block;
}

.fab a.ln {
  border-radius: var(--radius-md);
  background: none;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
}

/* ==========================================================================
   12. FOOTER COMPONENT
   ========================================================================== */
footer.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: auto;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-grid h4 {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--ink);
}

.foot-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-grid ul a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.foot-grid ul a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   13. MODAL OVERLAY & PRODUCT DETAIL POPUP
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 21, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay .modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 32px;
  box-shadow: 0 32px 80px rgba(11, 34, 71, 0.38);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--line);
  color: var(--ink);
}

/* ==========================================================================
   14. TOAST NOTIFICATIONS
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-dark);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 860px) {
  nav.primary, .search-container {
    display: none;
  }
  .mobile-toggle {
    display: grid;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .promo {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  .news {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .news form {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-arrow {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .modal-overlay .modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .fab {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .fab a, .fab svg, .fab img {
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   MODAL SCROLL LOCK & MOBILE TOUCH FIXES
   ========================================================================== */
body.modal-open,
html.modal-open {
  overflow: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

