/* ==========================================
   AQUA PURE — Products CSS
   Theme: Deep Ocean · Clean · Accessible
   ========================================== */

/* ==========================================
   PRODUCTS PAGE OVERRIDES
   (מתקן הבדלים מ-home_page.css)
   ========================================== */

/* 1. החזר את לוגו הניווט הרגיל — home_page.css מסתיר אותו */
.nav-logo {
  display: block !important;
}


/* 2. בטל את hero-logo-anchor שמיועד לindex בלבד */
.hero-logo-anchor {
  display: none !important;
}

/* 3. תקן background של body — home_page.css מגדיר background-image לindex */
body {
  background-image: none !important;
  background: #f0f4f8 !important;
  background-attachment: scroll !important;
}

/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
  --navy:    #071530;
  --ocean:   #0b3d6b;
  --teal:    #0ea5c9;
  --teal-lt: #38bdf8;
  --sky:     #e8f5fc;
  --white:   #ffffff;
  --text:    #1a2540;
  --muted:   #576380;
  --border:  #d1dff0;
  --success: #059669;
  --r:       16px;
  --sh:      0 4px 24px rgba(7,21,48,.10);
  --sh-lg:   0 16px 48px rgba(7,21,48,.16);
}

/* ==========================================
   GLOBAL
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

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

/* ==========================================
   NAV
   ========================================== */
.main-nav.scrolled {
  background: rgba(7, 21, 48, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
  position: relative;
  padding: 180px 20px 110px;
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header .rain-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header .rain-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.62);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(7, 21, 48, 0.80) 0%,
    rgba(11, 61, 107, 0.60) 55%,
    rgba(7, 21, 48, 0.76) 100%
  );
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  animation: fadeSlideDown 0.8s ease both;
}

.page-header h1 {
  font-family: 'Syne', 'Assistant', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  line-height: 1.05;
}

.page-header p {
  font-size: clamp(16px, 2.5vw, 21px);
  margin: 0 auto;
  opacity: 0.88;
  max-width: 500px;
  line-height: 1.65;
  font-weight: 400;
}

.page-header-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.65;
  animation: bounce-hint 2.4s ease-in-out infinite;
}

/* ==========================================
   STATS STRIP
   ========================================== */
.stats-strip {
  background: var(--navy);
  padding: 40px 20px;
  border-bottom: 1px solid rgba(14,165,201,.2);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 12px 20px;
  position: relative;
  color: white;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(14,165,201,.22);
}

.stat-number {
  font-family: 'Syne', 'Assistant', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--teal-lt);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* ==========================================
   FILTER SECTION
   ========================================== */
.products-filter-section {
  background: var(--white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(7,21,48,.07);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.search-box input {
  width: 100%;
  padding: 12px 46px 12px 20px;
  border: 2px solid var(--border);
  border-radius: 40px;
  font-size: 15px;
  font-family: inherit;
  background: #f4f8fb;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
  min-height: 48px;
}

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

.search-box input:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(14,165,201,.15);
}

.search-box svg {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 11px 20px;
  border: 2px solid var(--border);
  background: white;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  font-family: inherit;
  letter-spacing: 0.2px;
  transition: all .22s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(14,165,201,.06);
}

.filter-btn.active {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 14px rgba(14,165,201,.35);
}

/* ── Dropdown ── */
.filter-dropdown-wrap { position: relative; }

.filter-btn--all {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform .22s ease;
  flex-shrink: 0;
}

.filter-btn--all.dropdown-open .dropdown-chevron { transform: rotate(180deg); }

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(7,21,48,.14);
  border: 1.5px solid var(--border);
  overflow: hidden;
  min-width: 170px;
  z-index: 200;
  animation: dropFade .2s ease;
}

.filter-dropdown.open { display: block; }

.filter-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: inherit;
  text-align: right;
  direction: rtl;
  transition: background .15s, color .15s;
  min-height: 48px;
}

.filter-dropdown-item:hover {
  background: rgba(14,165,201,.08);
  color: var(--teal);
}

.filter-dropdown-item + .filter-dropdown-item {
  border-top: 1px solid var(--border);
}

.fdi-icon { font-size: 16px; }

/* ==========================================
   SUBCATEGORY SCREEN
   ========================================== */
.subcategory-screen {
  padding: 64px 20px 80px;
  background: var(--sky);
  min-height: 50vh;
}

.subcat-header {
  text-align: center;
  margin-bottom: 48px;
}

.subcat-main-title {
  font-family: 'Syne', 'Assistant', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.subcat-main-title span { color: var(--teal); }

.subcat-subtitle {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.subcat-card {
  background: white;
  border-radius: var(--r);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--sh);
  transition: border-color .28s, transform .28s, box-shadow .28s;
  min-height: 86px;
}

.subcat-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(14,165,201,.18);
}

.subcat-card--all {
  background: linear-gradient(135deg, #f0faff, var(--sky));
  border-color: rgba(14,165,201,.2);
}

.subcat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s, transform .25s;
}

.subcat-icon svg {
  width: 26px;
  height: 26px;
  stroke: white;
  fill: none;
}

.subcat-card:hover .subcat-icon {
  background: var(--teal);
  transform: scale(1.08) rotate(-4deg);
}

.subcat-info { flex: 1; min-width: 0; }

.subcat-info h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
}

.subcat-info p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.subcat-count {
  display: inline-flex;
  align-items: center;
  background: var(--sky);
  color: var(--ocean);
  border: 1px solid rgba(11,61,107,.15);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.subcat-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.subcat-card:hover .subcat-arrow {
  background: var(--teal);
  transform: translateX(-4px);
}

.subcat-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  transition: color .25s;
}

.subcat-card:hover .subcat-arrow svg { color: white; }

/* ==========================================
   BREADCRUMB
   ========================================== */
.products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  background: white;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
}

.breadcrumb-link {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 8px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, background .2s;
  min-height: 36px;
}

.breadcrumb-link:hover {
  color: var(--ocean);
  background: rgba(14,165,201,.1);
}

.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 700; }

/* ==========================================
   SECTION TITLE (global)
   ========================================== */
.section-title {
  text-align: center;
  font-family: 'Syne', 'Assistant', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 14px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ==========================================
   PRODUCTS LIST SECTION
   ========================================== */
.products-list-section {
  padding: 50px 20px 80px;
  background: var(--sky);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sh);
  border: 2px solid transparent;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: rgba(14,165,201,.35);
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky) 0%, #d0ecf8 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .5s ease;
  display: block;
  background: linear-gradient(135deg, var(--ocean), var(--navy));
}

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

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(7,21,48,.18) 100%);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--teal);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(14,165,201,.45);
  z-index: 2;
}

.product-content {
  padding: 20px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-category {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(14,165,201,.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(14,165,201,.2);
}

.product-subcategory {
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(11,61,107,.07);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(11,61,107,.12);
}

.product-title {
  color: var(--navy);
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.product-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}

/* ── קרא עוד ── */
.product-description-wrap {
  position: relative;
  margin-bottom: 14px;
  flex: 1;
}

.product-description-wrap .product-description {
  margin-bottom: 0;
  flex: none;
}

.product-description--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  display: inline-block;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 0 0;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .product-description--clamped {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.product-features li {
  color: var(--text);
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 500;
  line-height: 1.4;
}

.product-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 900;
  font-size: 9px;
  background: rgba(5,150,105,.12);
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.btn-view {
  flex: 1;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: background .22s, transform .2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.btn-whatsapp-card {
  background: #25D366;
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .22s, transform .2s;
  font-family: inherit;
  white-space: nowrap;
  min-height: 44px;
}

.btn-whatsapp-card:hover {
  background: #1fb357;
  transform: translateY(-2px);
}

/* ── Image count badge ── */
.product-img-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(7, 21, 48, 0.72);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  letter-spacing: 0.3px;
  pointer-events: none;
}

/* ==========================================
   CARD GALLERY (swipe/drag on product cards)
   ========================================== */

/* wrapper — ממלא את product-image */
.product-image.has-gallery {
  padding: 0;
  overflow: hidden;
}

.product-image.has-gallery:hover img { transform: none; }

.card-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.card-gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* תמונות — נערמות זו על זו, אחת פעילה */
.card-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: linear-gradient(135deg, var(--ocean), var(--navy));
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.card-gallery-img.active {
  opacity: 1;
  pointer-events: auto;
}

/* single (ללא גלריה) — תמונה רגילה */
.product-image-single {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  background: linear-gradient(135deg, var(--ocean), var(--navy));
  transition: transform .5s ease;
}

.product-card:hover .product-image-single img { transform: scale(1.06); }

/* חצים */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(7,21,48,.65);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  z-index: 4;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
}

.card-arrow-prev { right: 8px; }
.card-arrow-next { left: 8px; }

.product-card:hover .card-arrow,
.card-gallery:focus-within .card-arrow {
  opacity: 1;
}

.card-arrow:hover {
  background: var(--teal);
}

/* נקודות */
.card-gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
}

.card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.card-dot.active {
  background: white;
  transform: scale(1.3);
}

.card-dot:hover {
  background: rgba(255,255,255,.8);
}

/* ==========================================
   ALL PRODUCTS SECTION + PAGINATION
   ========================================== */
.all-products-section {
  padding: 80px 20px;
  background: #f0f4f8;
}

.all-products-header {
  text-align: center;
  margin-bottom: 50px;
}

.all-products-subtitle {
  color: #666;
  font-size: 16px;
  margin-top: 8px;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.pagination-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pagination-arrow:hover:not(:disabled) {
  background: #667eea;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pagination-arrow:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-pages {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: white;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-dot:hover { border-color: #667eea; color: #667eea; }

.page-dot.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-choose-us {
  padding: 100px 20px;
  background: white;
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,201,.07) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.feature-box {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--r);
  background: var(--sky);
  border: 2px solid transparent;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.feature-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .3s;
}

.feature-box:hover {
  border-color: rgba(14,165,201,.25);
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(14,165,201,.12);
}

.feature-box:hover::after { transform: scaleX(1); }

.feature-icon {
  font-size: 48px;
  margin-bottom: 18px;
  display: block;
}

.feature-box h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 800;
}

.feature-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.products-cta {
  padding: 90px 20px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.products-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,201,.16) 0%, transparent 70%);
  animation: float-blob 8s ease-in-out infinite;
  pointer-events: none;
}

.products-cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.1) 0%, transparent 70%);
  animation: float-blob 11s ease-in-out infinite reverse;
  pointer-events: none;
}

.cta-box {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 64px 52px;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: 'Syne', 'Assistant', sans-serif;
  color: white;
  font-size: clamp(24px, 4vw, 40px);
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -1px;
}

.cta-box p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  margin: 0 0 34px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  transition: background .22s, transform .2s, box-shadow .22s;
  min-height: 52px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--teal-lt);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,165,201,.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  color: white;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,.28);
  transition: background .22s, transform .2s, border-color .22s;
  min-height: 52px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.55);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: linear-gradient(180deg, #040d1e 0%, var(--navy) 100%);
  color: white;
  padding: 70px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 18px;
  color: rgba(255,255,255,.95);
  position: relative;
  padding-bottom: 12px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.footer-logo {
  height: 44px;
  margin-bottom: 16px;
  display: block;
  filter: brightness(1.1);
}

.footer-section p {
  color: rgba(255,255,255,.52);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 8px;
}

.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 8px; }

.footer-section ul a {
  color: rgba(255,255,255,.52);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  min-height: 30px;
}

.footer-section ul a:hover { color: var(--teal-lt); }

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all .25s ease;
  border: 1px solid rgba(255,255,255,.12);
}

.social-icons a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-icons a:hover {
  background: var(--teal);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: 13px;
}

/* ==========================================
   PRODUCT DETAIL PANEL
   ========================================== */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 48, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 800;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pd-overlay.pd-visible { opacity: 1; }

.pd-panel {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 1060px;
  padding: 48px;
  box-shadow: 0 24px 80px rgba(7,21,48,.28);
  position: relative;
  transform: translateY(32px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.32s ease;
  overflow-x: hidden;
  box-sizing: border-box;
}

.pd-panel.pd-in {
  transform: translateY(0);
  opacity: 1;
}

.pd-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky);
  border: 1.5px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}

.pd-close:hover {
  background: var(--navy);
  color: white;
  transform: rotate(90deg);
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.pd-bc-link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 0;
  transition: color .2s;
}

.pd-bc-link:hover { color: var(--navy); text-decoration: underline; }
.pd-bc-sep { color: var(--border); }
.pd-bc-current { color: var(--muted); }

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  direction: ltr;
  gap: 52px;
  margin-bottom: 52px;
  min-width: 0;
}

/* ── Gallery ── */
.pd-gallery {
  display: flex;
  flex-direction: column;
  direction: rtl;
}

.pd-main-image {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean), var(--navy));
  box-shadow: 0 10px 36px rgba(7,21,48,.16);
  position: relative;
}

.pd-main-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,165,201,.1) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

#pdMainImg {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pd-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(7, 21, 48, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(7, 21, 48, 0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 4;
  opacity: 0;
}

.pd-main-image:hover .pd-gallery-arrow { opacity: 1; }

.pd-gallery-arrow:hover {
  background: var(--teal);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(14, 165, 201, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.pd-gallery-prev { right: 10px; }
.pd-gallery-next { left: 10px; }

.pd-gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 21, 48, 0.62);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 3;
  letter-spacing: 0.5px;
}

.pd-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pd-thumbnails::-webkit-scrollbar { display: none; }

.pd-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid var(--border);
  background: var(--sky);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}

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

.pd-thumb:hover {
  border-color: var(--teal-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 201, 0.22);
}

.pd-thumb:hover img { transform: scale(1.08); }

.pd-thumb.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 201, 0.25);
}

.pd-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(14, 165, 201, 0.12);
  pointer-events: none;
}

/* ── Info ── */
.pd-info {
  display: flex;
  direction: rtl;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

.pd-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14,165,201,.10);
  color: var(--teal);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid rgba(14,165,201,.22);
  margin-bottom: 14px;
  width: fit-content;
}

.pd-title {
  font-family: 'Syne', 'Assistant', sans-serif;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 0 0 18px;
  line-height: 1.22;
}

.pd-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 26px;
  border-right: 3px solid var(--teal);
  padding-right: 14px;
}

.pd-features {
  background: var(--sky);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 26px;
}

.pd-features-title {
  color: var(--navy);
  font-family: 'Syne', 'Assistant', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-features-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.pd-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.pd-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.pd-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pd-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--teal);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: background .22s, transform .2s, box-shadow .22s;
  box-shadow: 0 6px 20px rgba(14,165,201,.28);
  min-height: 52px;
}

.pd-btn-call:hover {
  background: var(--teal-lt);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14,165,201,.38);
}

.pd-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25D366;
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: background .22s, transform .2s, box-shadow .22s;
  box-shadow: 0 6px 20px rgba(37,211,102,.22);
  min-height: 52px;
}

.pd-btn-wa:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37,211,102,.32);
}

/* ── Related products ── */
.pd-related {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.pd-related-title {
  font-family: 'Syne', 'Assistant', sans-serif;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 28px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.pd-related-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: 8px;
}

/* ==========================================
   FLOATING CONTACT BAR
   ========================================== */
@media (max-width: 768px) {
  .floating-contact-bar {
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
    flex-direction: row !important;
    justify-content: center !important;
    background: rgba(5, 20, 55, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(14, 165, 201, 0.25);
    padding: 8px 16px !important;
    gap: 0 !important;
    z-index: 600;
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }

  .contact-bar-item {
    width: auto !important;
    height: auto !important;
    border-radius: 10px;
    padding: 8px 14px !important;
    flex: 1;
    max-width: 110px;
    flex-direction: column !important;
    gap: 3px !important;
    box-shadow: none !important;
  }

  .contact-bar-item svg { width: 20px !important; height: 20px !important; }

  .contact-bar-item::after {
    content: attr(data-label);
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
  }

  .contact-bar-item .tooltip { display: none !important; }

  body { padding-bottom: 66px; }
}

/* ==========================================
   KEYFRAMES
   ========================================== */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

/* ==========================================
   RESPONSIVE — 1200px
   ========================================== */
@media (max-width: 1200px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ==========================================
   RESPONSIVE — 1024px
   ========================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   RESPONSIVE — 900px
   ========================================== */
@media (max-width: 900px) {
  html, body {
    zoom: 1 !important;
    -ms-zoom: 1 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .pd-panel { padding: 36px 28px; }

  .pd-grid {
    grid-template-columns: 1fr;
    direction: rtl;
    gap: 28px;
    margin-bottom: 32px;
  }

  .pd-gallery-arrow { opacity: 1; width: 36px; height: 36px; }
  .pd-thumb { width: 60px; height: 60px; }

  .filter-dropdown { right: auto; left: 0; min-width: 150px; }
}

/* ==========================================
   RESPONSIVE — 768px
   ========================================== */
@media (max-width: 768px) {
  /* Container */
  .container { padding-left: 14px; padding-right: 14px; }

  /* Nav */
  .main-nav { padding: 12px 0; }
  .nav-container { padding: 0 14px; }
  .nav-logo img { height: 38px !important; }
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-menu.mobile-open {
    padding-top: 80px !important;
  }

  /* Page header */
  .page-header { padding: 110px 16px 65px; min-height: 300px; }
  .page-header h1 { font-size: clamp(26px, 7.5vw, 40px); letter-spacing: -1px; margin-bottom: 10px; }
  .page-header p { font-size: 14px; line-height: 1.6; }

  /* Stats */
  .stats-strip { padding: 24px 14px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr) !important; gap: 16px 0; }
  .stat-item { padding: 8px 10px; }
  .stat-item::after,
  .stat-item:not(:last-child)::after { display: none !important; }
  .stat-item:nth-child(odd)::after {
    display: block !important;
    content: '';
    position: absolute;
    left: 0; top: 10%; height: 80%; width: 1px;
    background: rgba(14, 165, 201, 0.22);
  }
  .stat-number { font-size: 28px; letter-spacing: -1px; }
  .stat-label { font-size: 11px; margin-top: 4px; }

  /* Filter */
  .products-filter-section { top: 58px; padding: 10px 0; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .search-box { max-width: 100%; min-width: unset; }
  .search-box input { font-size: 16px; min-height: 44px; padding: 10px 44px 10px 16px; }
  .filter-tabs { flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; gap: 7px; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; white-space: nowrap; padding: 9px 14px; font-size: 13px; min-height: 38px; }

  /* Products grid */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }

  /* Product card */
  .product-card { border-radius: 16px; }
  .product-content { padding: 16px 14px 14px; }
  .product-image { height: 170px; }
  .product-features { display: none; }
  .product-title { font-size: 15px; margin-bottom: 6px; }
  .product-description { font-size: 12px; line-height: 1.5; margin-bottom: 10px; }
  .product-footer { padding-top: 12px; gap: 8px; }
  .btn-view { min-height: 40px; font-size: 12px; padding: 10px 12px; }
  .btn-whatsapp-card { min-height: 40px; font-size: 12px; padding: 10px; }

  /* All products */
  .all-products-section { padding: 36px 0 44px; }
  .all-products-header { margin-bottom: 24px; padding: 0 14px; }
  .all-products-subtitle { font-size: 13px; margin-top: 6px; }

  /* Subcategory */
  .subcategory-screen { padding: 44px 14px 56px; }
  .subcat-header { margin-bottom: 28px; }
  .subcat-main-title { font-size: clamp(20px, 5vw, 28px); }
  .subcat-subtitle { font-size: 14px; }
  .subcat-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .subcat-card { padding: 16px 14px; min-height: 70px; gap: 12px; }
  .subcat-icon { width: 46px; height: 46px; border-radius: 12px; }
  .subcat-icon svg { width: 22px; height: 22px; }
  .subcat-info h3 { font-size: 14px; }
  .subcat-info p { font-size: 12px; }

  /* Section title */
  .section-title { font-size: clamp(20px, 5.5vw, 30px); letter-spacing: -0.5px; margin-bottom: 10px; }
  .section-title::after { width: 38px; margin-top: 12px; }

  /* Why choose us */
  .why-choose-us { padding: 50px 14px; }
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; margin-top: 28px; }
  .feature-box { padding: 24px 14px; border-radius: 14px; }
  .feature-icon { font-size: 34px; margin-bottom: 12px; }
  .feature-box h3 { font-size: 14px; margin-bottom: 7px; }
  .feature-box p { font-size: 12px; line-height: 1.65; }

  /* CTA */
  .products-cta { padding: 56px 14px; }
  .cta-box { padding: 36px 18px; border-radius: 20px; }
  .cta-box h2 { font-size: clamp(20px, 5vw, 28px); margin-bottom: 10px; }
  .cta-box p { font-size: 14px; margin-bottom: 22px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 240px; justify-content: center; font-size: 13px; padding: 11px 16px; min-height: 42px; }

  /* Footer */
  .footer { padding: 44px 14px 80px; }
  .footer-content { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-logo { height: 38px; }
  .footer-section h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-section p, .footer-section ul li a { font-size: 13px; }

  /* Breadcrumb */
  .products-breadcrumb { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap; padding: 10px 14px; margin-bottom: 14px; font-size: 12px; }
  .products-breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb-link { font-size: 12px; min-height: 32px; }

  /* Product detail panel */
  .pd-overlay { padding: 58px 8px 12px; }
  .pd-panel { padding: 24px 16px; border-radius: 18px; }
  .pd-title { font-size: 20px !important; }
  .pd-description { font-size: 14px !important; line-height: 1.75; margin-bottom: 18px; }
  .pd-features { padding: 14px; }
  .pd-features-list li { font-size: 13px; }
  .pd-btn-call, .pd-btn-wa { font-size: 14px !important; padding: 14px 20px !important; min-height: 48px !important; }
  .pd-close { top: 12px; left: 12px; width: 36px; height: 36px; }
  .pd-related { padding-top: 28px; }
  .pd-related-title { font-size: 18px; margin-bottom: 18px; }
  .pd-related .products-grid { grid-template-columns: 1fr !important; gap: 12px; }

  /* Gallery */
  .pd-gallery-prev { right: 8px; }
  .pd-gallery-next { left: 8px; }
  .pd-gallery-counter { font-size: 11px; padding: 3px 10px; bottom: 8px; }
  .pd-thumbnails { gap: 6px; margin-top: 10px; }
  .pd-thumb { width: 54px; height: 54px; border-radius: 8px; }

  /* Pagination */
  .pagination-bar { gap: 8px; margin-top: 35px; }
  .pagination-arrow { width: 38px; height: 38px; }
  .page-dot { width: 32px; height: 32px; font-size: 13px; }

  /* iOS fix */
  input, textarea, select { font-size: 16px !important; }
  * { max-width: 100%; }
}

/* ==========================================
   RESPONSIVE — 540px–768px (tablet 2-col)
   ========================================== */
@media (min-width: 540px) and (max-width: 768px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pd-related .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .pd-related .product-features { display: none; }
  .pd-related .product-image { height: 150px; }
}

/* ==========================================
   RESPONSIVE — 480px
   ========================================== */
@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .nav-container { padding: 0 16px; }

  .page-header { padding: 90px 12px 50px; min-height: 250px; }
  .page-header h1 { font-size: 26px; }

  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .product-image { height: 200px; }

  .cta-box { padding: 32px 18px; }

  .pd-overlay { padding: 52px 6px 8px; }
  .pd-panel { padding: 20px 14px; border-radius: 16px; }
  .pd-title { font-size: 18px !important; margin-bottom: 12px; }
  .pd-category-tag { font-size: 10px; padding: 4px 10px; margin-bottom: 10px; }
  .pd-description { font-size: 13px !important; }
  .pd-features-title { font-size: 14px; }
  .pd-btn-call, .pd-btn-wa { font-size: 13px !important; padding: 13px 16px !important; min-height: 46px !important; border-radius: 24px; }
  .pd-breadcrumb { font-size: 12px; gap: 6px; }
  .pd-thumb { width: 48px; height: 48px; }
  .pd-gallery-arrow { width: 32px; height: 32px; }
  .pd-gallery-arrow svg { width: 14px; height: 14px; }

  .pagination-bar { gap: 6px; margin-top: 24px; flex-wrap: wrap; }
  .pagination-arrow { width: 36px; height: 36px; }
  .page-dot { width: 30px; height: 30px; font-size: 12px; }
}

/* ==========================================
   RESPONSIVE — 400px
   ========================================== */
@media (max-width: 400px) {
  .features-grid { grid-template-columns: 1fr !important; }
  .feature-box { padding: 24px 14px; }
}

/* ==========================================
   RESPONSIVE — 380px
   ========================================== */
@media (max-width: 380px) {
  .stat-number { font-size: 24px; }
  .contact-bar-item { max-width: 90px; padding: 7px 8px !important; }
  .contact-bar-item::after { font-size: 9px; }
}

/* ==========================================
   GALLERY THUMBNAILS — Mobile Fix (6+ תמונות)
   flex-wrap → שורות לפי צורך, ללא גלילה
   ========================================== */
@media (max-width: 768px) {
  .pd-thumbnails,
  .pd-thumbnails--grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  .pd-thumbnails--grid .pd-thumb,
  .pd-thumbnails .pd-thumb {
    width: 54px !important;
    height: 54px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 480px) {
  .pd-thumbnails--grid .pd-thumb,
  .pd-thumbnails .pd-thumb {
    width: 46px !important;
    height: 46px !important;
  }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .1ms !important;
  }

  #pdMainImg,
  .pd-thumb,
  .pd-thumb img,
  .pd-gallery-arrow {
    transition: none !important;
  }
}
/* ==========================================
   PRICE DISPLAY
   ========================================== */

/* כרטיס מוצר — מחיר */
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue, #1a6cc4);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

/* פאנל פרטי מוצר — מחיר */
.pd-price {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue, #1a6cc4);
  background: rgba(26, 108, 196, 0.08);
  border: 2px solid rgba(26, 108, 196, 0.18);
  border-radius: 10px;
  padding: 8px 20px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  width: 100%;
  text-align: center;
}

/* כשיש מחיר בכרטיס, הפוטר עוטף */
.product-footer .product-price {
  margin-left: auto;
}

/* badge מחיר על תמונה */
.product-badge--price {
  background: linear-gradient(135deg, #1a6cc4, #0ea5e9) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
  padding: 4px 10px !important;
}