/* panes-homepage.css — Modern Homepage Styles for Panes.gr */
/* v2.0 — Category Tabs + Product Images + Glassmorphism */

/* ========== HIDE WOODMART PAGE TITLE ========== */
body.home .page-title,
body.home .woodmart-page-title,
body.page-template-front-page .page-title,
body.page-template-front-page .woodmart-page-title,
body.panes-homepage-active .page-title,
body.panes-homepage-active .woodmart-page-title {
  display: none !important;
}

body.home .main-page-wrapper > .container,
body.page-template-front-page .main-page-wrapper > .container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ========== RESET & BASE ========== */
.panes-homepage {
  font-family: var(--panes-font);
  color: var(--panes-text);
  background: var(--panes-bg);
}

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

.panes-container {
  max-width: var(--panes-container);
  margin: 0 auto;
  padding: 0 var(--panes-gap);
}

.panes-section {
  padding: var(--panes-section-py) 0;
}

.panes-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--panes-text);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.panes-section-title span {
  background: linear-gradient(135deg, var(--panes-primary), var(--panes-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== TRUST BAR ========== */
.panes-trust-bar {
  background: var(--panes-primary-dark);
  padding: 10px 0;
  border: none;
}

.panes-trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.panes-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.panes-trust-bar__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--panes-secondary);
}

.panes-trust-bar__icon svg {
  width: 100%;
  height: 100%;
}

/* ========== HERO CAROUSEL ========== */
.panes-hero {
  position: relative;
  overflow: hidden;
  background: var(--panes-primary-dark);
}

.panes-hero__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.panes-hero__slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  overflow: hidden;
}

/* Animated gradient overlay */
.panes-hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  z-index: 1;
  animation: panes-shimmer 8s ease-in-out infinite;
}

@keyframes panes-shimmer {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Decorative mesh gradient blob */
.panes-hero__slide::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.panes-hero__content-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--panes-container);
  margin: 0 auto;
  padding: 48px var(--panes-gap);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.panes-hero__content {
  flex: 1;
}

.panes-hero__badge {
  display: inline-block;
  background: var(--panes-glass-bg);
  backdrop-filter: blur(var(--panes-glass-blur));
  -webkit-backdrop-filter: blur(var(--panes-glass-blur));
  border: 1px solid var(--panes-glass-border);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 24px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panes-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 520px;
  letter-spacing: -0.5px;
}

.panes-hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.panes-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panes-secondary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 15px rgba(0,166,81,0.3);
}

.panes-hero__cta:hover {
  background: #009345;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.4);
  color: white;
}

.panes-hero__cta svg {
  width: 18px;
  height: 18px;
}

/* Hero floating product images */
.panes-hero__products {
  flex: 0 0 360px;
  position: relative;
  height: 320px;
  perspective: 800px;
}

.panes-hero__product-img {
  position: absolute;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(255,255,255,0.95);
  padding: 8px;
  border-radius: 16px;
}

.panes-hero__product-img--0 {
  width: 220px;
  height: 220px;
  object-fit: contain;
  top: 10px;
  right: 0;
  z-index: 3;
  animation: panes-float 4s ease-in-out infinite;
}

.panes-hero__product-img--1 {
  width: 170px;
  height: 170px;
  object-fit: contain;
  bottom: 10px;
  left: 0;
  z-index: 2;
  opacity: 0.9;
  transform: rotate(-6deg);
  animation: panes-float-alt 4s ease-in-out infinite 0.5s;
}

.panes-hero__product-img--2 {
  width: 140px;
  height: 140px;
  object-fit: contain;
  top: 40%;
  left: 30%;
  z-index: 1;
  opacity: 0.75;
  transform: rotate(4deg);
  animation: panes-float-alt2 4s ease-in-out infinite 1s;
}

@keyframes panes-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes panes-float-alt {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}

@keyframes panes-float-alt2 {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-6px); }
}

/* Hero dots — !important needed to override Woodmart button defaults */
.panes-hero__dots {
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3;
  display: flex !important;
  gap: 8px !important;
}

.panes-hero__dot {
  width: 10px !important;
  height: 10px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.35) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

.panes-hero__dot.active {
  background: white !important;
  width: 32px !important;
  border-radius: 5px !important;
  box-shadow: 0 0 10px rgba(255,255,255,0.4) !important;
}

/* Hero arrows — !important needed to override Woodmart button defaults */
.panes-hero__arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3;
  background: var(--panes-glass-bg) !important;
  backdrop-filter: blur(var(--panes-glass-blur));
  -webkit-backdrop-filter: blur(var(--panes-glass-blur));
  border: 1px solid var(--panes-glass-border) !important;
  color: white !important;
  width: 48px !important;
  height: 48px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0 !important;
}

.panes-hero__arrow svg {
  width: 20px;
  height: 20px;
}

.panes-hero__arrow:hover {
  background: rgba(255,255,255,0.25) !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.panes-hero__arrow--prev { left: 20px !important; }
.panes-hero__arrow--next { right: 20px !important; }

/* ========== STATS BAR ========== */
.panes-stats-bar {
  background: var(--panes-surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--panes-border);
}

.panes-stats-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.panes-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.panes-stats-bar__number {
  font-size: 26px;
  font-weight: 800;
  color: var(--panes-primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.panes-stats-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--panes-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panes-stats-bar__divider {
  width: 1px;
  height: 36px;
  background: var(--panes-border);
}

/* ========== TOP CATEGORIES — Visual Cards Grid ========== */
.panes-topcats {
  background: var(--panes-bg);
  padding-top: 40px;
  padding-bottom: 48px;
}

.panes-topcats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panes-topcats__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  padding: 24px 28px;
  text-decoration: none;
  color: var(--panes-text);
  overflow: hidden;
  position: relative;
  min-height: 160px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--panes-shadow-sm);
}

.panes-topcats__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--panes-shadow-lg);
  color: var(--panes-text);
}

.panes-topcats__card-content {
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panes-topcats__card-tagline {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.panes-topcats__card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--panes-text);
  margin: 0;
  line-height: 1.2;
}

.panes-topcats__card-count {
  font-size: 12px;
  color: var(--panes-text-secondary);
  font-weight: 500;
}

.panes-topcats__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
  transition: all 0.2s ease;
}

.panes-topcats__card:hover .panes-topcats__card-cta {
  transform: translateX(4px);
}

.panes-topcats__card-image {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.panes-topcats__card-image img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.panes-topcats__card:hover .panes-topcats__card-image img {
  transform: scale(1.08) rotate(2deg);
}

/* Large cards take up full width on first row (3 col), smaller on second (3 col) */
.panes-topcats__card--large {
  min-height: 180px;
}

.panes-topcats__card--large .panes-topcats__card-title {
  font-size: 22px;
}

.panes-topcats__card--large .panes-topcats__card-image img {
  max-width: 160px;
  max-height: 160px;
}

/* ========== CATEGORY TABS ========== */
.panes-cattabs {
  background: var(--panes-surface);
  padding-top: 0;
  padding-bottom: 48px;
}

/* Tab navigation bar */
.panes-cattabs__nav {
  display: flex;
  gap: 4px;
  background: var(--panes-bg);
  padding: 6px;
  border-radius: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.panes-cattabs__nav::-webkit-scrollbar { display: none; }

.panes-cattabs__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--panes-text-secondary);
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  font-family: var(--panes-font);
}

.panes-cattabs__tab:hover {
  color: var(--panes-primary);
  background: rgba(46,74,157,0.06);
}

.panes-cattabs__tab--active {
  background: var(--panes-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(46,74,157,0.3);
}

.panes-cattabs__tab--active:hover {
  color: white;
  background: var(--panes-primary);
}

.panes-cattabs__tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.panes-cattabs__tab-icon svg { width: 100%; height: 100%; }

.panes-cattabs__tab--active .panes-cattabs__tab-icon svg {
  stroke: white;
}

.panes-cattabs__tab-label { font-size: 13px; }

/* Tab panels */
.panes-cattabs__panels {
  position: relative;
  min-height: 300px;
}

.panes-cattabs__panel {
  display: none;
  animation: panes-fadeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.panes-cattabs__panel--active { display: block; }

@keyframes panes-fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.panes-cattabs__panel-inner {
  padding: 32px;
  border-radius: 20px;
  background: var(--panes-bg);
  position: relative;
  overflow: hidden;
}

/* Gradient accent on panel top */
.panes-cattabs__panel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tab-gradient);
  border-radius: 20px 20px 0 0;
}

/* Product grid inside tabs */
.panes-cattabs__products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.panes-cattabs__product {
  background: var(--panes-surface);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--panes-text);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--panes-shadow-sm);
}

.panes-cattabs__product:hover {
  transform: translateY(-6px);
  box-shadow: var(--panes-shadow-lg);
  color: var(--panes-text);
}

.panes-cattabs__product-img {
  aspect-ratio: 1;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  position: relative;
}

.panes-cattabs__product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.panes-cattabs__product:hover .panes-cattabs__product-img img {
  transform: scale(1.1);
}

.panes-cattabs__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #dc3545;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.panes-cattabs__product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.panes-cattabs__product-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--panes-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panes-cattabs__product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--panes-primary);
  margin-top: auto;
}

.panes-cattabs__product-price del {
  font-size: 11px;
  font-weight: 400;
  color: var(--panes-text-muted);
  margin-right: 4px;
}

.panes-cattabs__product-price ins {
  text-decoration: none;
  color: #dc3545;
}

/* View all link */
.panes-cattabs__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--panes-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.panes-cattabs__view-all svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.panes-cattabs__view-all:hover { color: var(--panes-primary-dark); }
.panes-cattabs__view-all:hover svg { transform: translateX(4px); }

/* ========== PRODUCT SECTIONS (Bestsellers / Deals) ========== */
.panes-products { background: var(--panes-bg); }
.panes-products--alt { background: var(--panes-surface); }

.panes-section-subtitle {
  text-align: center;
  color: var(--panes-text-secondary);
  font-size: 15px;
  margin-top: -24px;
  margin-bottom: 28px;
}

.panes-product-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
}

.panes-product-carousel::-webkit-scrollbar { display: none; }

.panes-product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--panes-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--panes-shadow-sm);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  color: var(--panes-text);
  display: flex;
  flex-direction: column;
  position: relative;
}

.panes-product-card:hover {
  box-shadow: var(--panes-shadow-lg);
  transform: translateY(-6px);
  color: var(--panes-text);
}

.panes-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--panes-accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.panes-product-card__badge--sale { background: #dc3545; }

.panes-product-card__image {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.panes-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.panes-product-card:hover .panes-product-card__image img {
  transform: scale(1.1);
}

.panes-product-card__info {
  padding: 12px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panes-product-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--panes-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panes-product-card__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--panes-primary);
  margin-top: auto;
}

.panes-product-card__price del {
  font-size: 12px;
  font-weight: 400;
  color: var(--panes-text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.panes-product-card__price ins {
  text-decoration: none;
  color: #dc3545;
}

.panes-products .products {
  display: flex !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  flex-wrap: nowrap !important;
}

.panes-products .products::-webkit-scrollbar { display: none; }

.panes-products .products li.product {
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: var(--panes-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--panes-shadow-sm);
  transition: all 0.3s ease;
  width: auto !important;
}

.panes-products .products li.product:hover {
  box-shadow: var(--panes-shadow-lg);
  transform: translateY(-6px);
}

.panes-products__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--panes-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: 24px;
  transition: gap var(--panes-transition);
}

.panes-products__view-all:hover {
  gap: 10px;
  color: var(--panes-primary-dark);
}

/* ========== PROMO BANNER ========== */
.panes-promo {
  background: linear-gradient(135deg, var(--panes-secondary) 0%, #008c45 100%);
  color: white;
  overflow: hidden;
}

.panes-promo__inner { display: flex; align-items: center; gap: 48px; }
.panes-promo__text { flex: 1; }

.panes-promo__badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panes-promo__title { font-size: 32px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
.panes-promo__subtitle { font-size: 16px; opacity: 0.9; line-height: 1.5; margin: 0 0 16px; }

.panes-promo__features { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.panes-promo__feature { font-size: 13px; font-weight: 600; opacity: 0.95; }

.panes-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--panes-secondary);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.panes-promo__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  color: var(--panes-secondary);
}

.panes-promo__image { flex: 0 0 350px; display: flex; align-items: center; justify-content: center; }

.panes-promo__product-stack { position: relative; width: 320px; height: 300px; }

.panes-promo__product {
  position: absolute;
  border-radius: 16px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.25));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(255,255,255,0.95);
  padding: 6px;
}

.panes-promo__product--main { right: 0; top: 10px; z-index: 2; }
.panes-promo__product--back { left: 0; bottom: 10px; z-index: 1; opacity: 0.85; transform: rotate(-5deg); }

.panes-promo__inner:hover .panes-promo__product--main { transform: translateY(-6px) scale(1.04); }
.panes-promo__inner:hover .panes-promo__product--back { transform: rotate(-3deg) translateY(4px); }

/* ========== BRANDS ========== */
.panes-brands { background: var(--panes-surface); }

.panes-brands__track {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 16px 0;
}

.panes-brands__item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--panes-bg);
  border: 1px solid var(--panes-border);
  text-decoration: none;
  color: var(--panes-text);
  transition: all 0.3s ease;
  position: relative;
}

.panes-brands__item:hover {
  border-color: var(--panes-primary-light);
  box-shadow: var(--panes-shadow-md);
  transform: translateY(-2px);
  color: var(--panes-text);
}

.panes-brands__item--own {
  border-color: var(--panes-secondary);
  background: var(--panes-secondary-light);
}

.panes-brands__item--own:hover {
  border-color: var(--panes-secondary);
}

.panes-brands__logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.panes-brands__badge-own {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--panes-secondary);
  background: rgba(0,166,81,0.1);
  padding: 1px 8px;
  border-radius: 8px;
}

@keyframes panes-scroll-brands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.panes-brands__track--animate { animation: panes-scroll-brands 40s linear infinite; width: max-content; }

/* ========== WHY US — Premium Redesign ========== */
.panes-why-us {
  background: linear-gradient(180deg, var(--panes-bg) 0%, #f0f2f8 100%);
  padding-top: 64px;
  padding-bottom: 72px;
}

.panes-why-us__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.panes-why-us__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--panes-primary);
  background: rgba(46,74,157,0.08);
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 16px;
}

.panes-why-us__subtitle {
  font-size: 15px;
  color: var(--panes-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.panes-why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.panes-why-us__card {
  background: var(--panes-surface);
  padding: 36px 28px 28px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--panes-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.panes-why-us__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--panes-primary);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panes-why-us__card:hover {
  box-shadow: 0 12px 40px rgba(46,74,157,0.12);
  transform: translateY(-8px);
  border-color: transparent;
}

.panes-why-us__card:hover::before { opacity: 1; }

.panes-why-us__card--highlight {
  background: linear-gradient(135deg, var(--panes-primary) 0%, var(--panes-primary-dark) 100%);
  color: white;
  border-color: transparent;
}

.panes-why-us__card--highlight::before {
  background: var(--panes-secondary);
}

.panes-why-us__card--highlight:hover {
  box-shadow: 0 12px 40px rgba(46,74,157,0.25);
}

.panes-why-us__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.panes-why-us__card-icon svg {
  width: 32px;
  height: 32px;
}

.panes-why-us__card-icon--brands {
  background: rgba(46,74,157,0.08);
  color: var(--panes-primary);
}

.panes-why-us__card-icon--stores {
  background: rgba(255,255,255,0.15);
  color: white;
}

.panes-why-us__card-icon--wholesale {
  background: rgba(0,166,81,0.08);
  color: var(--panes-secondary);
}

.panes-why-us__card-content { flex: 1; }

.panes-why-us__card-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--panes-text);
  letter-spacing: -0.3px;
}

.panes-why-us__card--highlight .panes-why-us__card-title { color: white; }

.panes-why-us__card-desc {
  font-size: 14px;
  color: var(--panes-text-secondary);
  line-height: 1.65;
  margin: 0;
}

.panes-why-us__card--highlight .panes-why-us__card-desc {
  color: rgba(255,255,255,0.85);
}

/* Brand tags under card 1 */
.panes-why-us__card-brands {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.panes-why-us__card-brands span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(46,74,157,0.06);
  color: var(--panes-primary);
  letter-spacing: 0.04em;
}

/* Stat highlight for card 2 */
.panes-why-us__card-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.panes-why-us__card-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--panes-secondary);
  line-height: 1;
}

.panes-why-us__card-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* CTA link for card 3 */
.panes-why-us__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--panes-secondary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.panes-why-us__card-cta:hover {
  gap: 10px;
  color: #009345;
}

/* Trust indicators row */
.panes-why-us__trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--panes-border);
  flex-wrap: wrap;
}

.panes-why-us__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--panes-text-secondary);
}

.panes-why-us__trust-item svg {
  color: var(--panes-primary);
  flex-shrink: 0;
}

/* ========== FRANCHISE ========== */
.panes-franchise { background: var(--panes-bg); overflow: hidden; }

.panes-franchise__inner {
  display: flex; align-items: center; gap: 48px;
  background: linear-gradient(135deg, var(--panes-primary) 0%, var(--panes-primary-dark) 100%);
  border-radius: 20px; padding: 48px; color: #fff; position: relative; overflow: hidden;
}

.panes-franchise__inner::after {
  content: ''; position: absolute; top: -40%; right: -15%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); border-radius: 50%;
}

.panes-franchise__badge {
  display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 24px;
  letter-spacing: 0.1em; margin-bottom: 12px;
}

.panes-franchise__title { font-family: var(--panes-heading); font-size: 2rem; font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.2; }
.panes-franchise__title span { color: var(--panes-secondary); }
.panes-franchise__text { font-size: 1rem; opacity: 0.9; margin: 0 0 20px; line-height: 1.6; max-width: 460px; }
.panes-franchise__stats { display: flex; gap: 32px; margin-bottom: 20px; }
.panes-franchise__stat { display: flex; flex-direction: column; align-items: center; }
.panes-franchise__stat-number { font-family: var(--panes-heading); font-size: 2rem; font-weight: 800; color: var(--panes-secondary); line-height: 1; }
.panes-franchise__stat-label { font-size: 0.8rem; opacity: 0.8; margin-top: 4px; }
.panes-franchise__features { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; margin-bottom: 24px; }
.panes-franchise__features span { opacity: 0.9; }

.panes-franchise__cta {
  display: inline-block; background: var(--panes-secondary); color: #fff; padding: 14px 30px;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,166,81,0.3);
}

.panes-franchise__cta:hover { background: #00944a; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,166,81,0.4); }
.panes-franchise__content { flex: 1; position: relative; z-index: 1; }
.panes-franchise__visual { flex: 0 0 320px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }

.panes-franchise__map-graphic {
  position: relative; width: 280px; height: 280px;
  background: rgba(255,255,255,0.06); border-radius: 50%; border: 2px dashed rgba(255,255,255,0.15);
}

.panes-franchise__pin {
  position: absolute; background: var(--panes-secondary); color: #fff; font-size: 0.7rem;
  font-weight: 700; padding: 4px 10px; border-radius: 12px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.panes-franchise__pin::before {
  content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: var(--panes-secondary); border-radius: 50%;
}

.panes-franchise__pin--chalandri  { top: 45%; left: 55%; }
.panes-franchise__pin--ampelokipoi { top: 50%; left: 25%; }
.panes-franchise__pin--gerakas   { top: 35%; left: 75%; }
.panes-franchise__pin--cholargos  { top: 55%; left: 60%; }
.panes-franchise__pin--lamia     { top: 15%; left: 35%; }
.panes-franchise__pin--kalymnos  { top: 75%; left: 70%; }

/* ========== NEWSLETTER ========== */
.panes-newsletter {
  background: linear-gradient(135deg, var(--panes-primary-dark) 0%, var(--panes-primary) 100%);
  color: white; position: relative; overflow: hidden;
}

.panes-newsletter::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%); border-radius: 50%;
}

.panes-newsletter__inner { text-align: center; max-width: 560px; margin: 0 auto; position: relative; }
.panes-newsletter__title { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.panes-newsletter__subtitle { font-size: 15px; opacity: 0.85; margin: 0 0 24px; }

.panes-newsletter__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }

.panes-newsletter__input {
  flex: 1; padding: 14px 18px; border: none; border-radius: 50px; font-size: 15px;
  outline: none; background: rgba(255,255,255,0.95);
}

.panes-newsletter__input::placeholder { color: var(--panes-text-muted); }

.panes-newsletter__btn {
  background: var(--panes-secondary); color: white; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border: none; border-radius: 50px; cursor: pointer;
  transition: all 0.3s ease; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,166,81,0.3);
}

.panes-newsletter__btn:hover { background: #009345; transform: translateY(-1px); }
.panes-newsletter__incentive { font-size: 13px; opacity: 0.75; margin-top: 12px; }

/* ========== STORE TEASER ========== */
.panes-store { background: var(--panes-surface); }
.panes-store__inner { display: flex; align-items: center; gap: 48px; }
.panes-store__info { flex: 1; }
.panes-store__name { font-size: 22px; font-weight: 800; margin: 0 0 12px; color: var(--panes-text); }

.panes-store__detail {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px;
  font-size: 14px; color: var(--panes-text-secondary); line-height: 1.5;
}

.panes-store__detail-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.panes-store__map {
  flex: 0 0 400px; height: 250px; border-radius: 16px;
  overflow: hidden; background: var(--panes-bg); box-shadow: var(--panes-shadow-md);
}

.panes-store__map iframe { width: 100%; height: 100%; border: 0; }

.panes-store__all-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--panes-primary); font-weight: 700; font-size: 14px; text-decoration: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .panes-hero__slide { min-height: 380px; }
  .panes-hero__title { font-size: 36px; }
  .panes-hero__products { flex: 0 0 280px; height: 260px; }
  .panes-hero__product-img--0 { width: 180px; height: 180px; }
  .panes-hero__product-img--1 { width: 140px; height: 140px; }
  .panes-hero__product-img--2 { width: 110px; height: 110px; }
  .panes-topcats__grid { grid-template-columns: repeat(2, 1fr); }
  .panes-topcats__card--large { min-height: 160px; }
  .panes-topcats__card--large .panes-topcats__card-title { font-size: 20px; }
  .panes-cattabs__products { grid-template-columns: repeat(4, 1fr); }
  .panes-promo__inner { flex-direction: column; text-align: center; gap: 24px; }
  .panes-promo__image { flex: 0 0 auto; }
  .panes-store__inner { flex-direction: column; }
  .panes-store__map { flex: 0 0 auto; width: 100%; height: 220px; }
  .panes-franchise__inner { flex-direction: column; text-align: center; padding: 36px 28px; }
  .panes-franchise__visual { flex: 0 0 auto; }
  .panes-franchise__text { max-width: none; }
  .panes-franchise__stats { justify-content: center; }
  .panes-franchise__features { align-items: center; }
}

@media (max-width: 768px) {
  :root { --panes-section-py: 32px; --panes-gap: 16px; }

  .panes-trust-bar__inner {
    gap: 16px; justify-content: flex-start; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 8px;
  }
  .panes-trust-bar__inner::-webkit-scrollbar { display: none; }

  .panes-stats-bar__inner { gap: 20px; }
  .panes-stats-bar__number { font-size: 20px; }
  .panes-stats-bar__label { font-size: 10px; }
  .panes-stats-bar__divider { height: 28px; }

  .panes-hero__slide { min-height: 340px; }
  .panes-hero__title { font-size: 28px; }
  .panes-hero__subtitle { font-size: 14px; }
  .panes-hero__arrow { display: none; }
  .panes-hero__products { display: none; }
  .panes-hero__content-wrap { padding: 36px var(--panes-gap); }

  .panes-topcats { padding-top: 28px; padding-bottom: 32px; }
  .panes-topcats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .panes-topcats__card { padding: 18px 20px; min-height: 130px; border-radius: 16px; }
  .panes-topcats__card--large { min-height: 140px; }
  .panes-topcats__card-title { font-size: 16px; }
  .panes-topcats__card--large .panes-topcats__card-title { font-size: 17px; }
  .panes-topcats__card-image img { max-width: 100px; max-height: 100px; }
  .panes-topcats__card--large .panes-topcats__card-image img { max-width: 110px; max-height: 110px; }
  .panes-topcats__card-image { flex: 0 0 100px; }

  .panes-cattabs__nav { gap: 2px; padding: 4px; border-radius: 12px; }
  .panes-cattabs__tab { padding: 10px 14px; border-radius: 10px; }
  .panes-cattabs__tab-icon { display: none; }
  .panes-cattabs__tab-label { font-size: 12px; }
  .panes-cattabs__products { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .panes-cattabs__panel-inner { padding: 20px 16px; border-radius: 14px; }

  .panes-section-title { font-size: 22px; margin-bottom: 20px; }
  .panes-products .products li.product { min-width: 160px; max-width: 200px; }
  .panes-promo__title { font-size: 24px; }
  .panes-why-us { padding-top: 40px; padding-bottom: 48px; }
  .panes-why-us__header { margin-bottom: 32px; }
  .panes-why-us__grid { grid-template-columns: 1fr; gap: 16px; }
  .panes-why-us__card { padding: 28px 24px 24px; }
  .panes-why-us__card-title { font-size: 18px; }
  .panes-why-us__trust { gap: 16px; margin-top: 32px; padding-top: 24px; }
  .panes-why-us__trust-item { font-size: 12px; }
  .panes-newsletter__form { flex-direction: column; }
  .panes-newsletter__title { font-size: 22px; }
  .panes-newsletter__input { border-radius: 12px; }
  .panes-newsletter__btn { border-radius: 12px; }
  .panes-franchise__title { font-size: 1.5rem; }
  .panes-franchise__map-graphic { width: 220px; height: 220px; }
  .panes-franchise__stats { gap: 20px; }
  .panes-franchise__stat-number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .panes-hero__slide { min-height: 300px; }
  .panes-hero__title { font-size: 24px; }
  .panes-hero__cta { padding: 12px 24px; font-size: 14px; }
  .panes-topcats__grid { grid-template-columns: 1fr; }
  .panes-topcats__card { min-height: auto; padding: 18px; }
  .panes-topcats__card--large { min-height: auto; }
  .panes-cattabs__products { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .panes-cattabs__product-title { font-size: 11px; }
  .panes-cattabs__product-price { font-size: 13px; }
  .panes-stats-bar__inner { gap: 12px; }
  .panes-stats-bar__number { font-size: 18px; }
  .panes-stats-bar__divider { display: none; }
}

/* ========== CUSTOM FOOTER ========== */

/* Hide Woodmart default footer on homepage */
body.panes-homepage-active .wd-footer.footer-container,
body.panes-homepage-active .wd-footer .main-footer,
body.panes-homepage-active .wd-footer .wd-copyrights,
body.panes-homepage-active .wd-copyrights.copyrights-wrapper {
  display: none !important;
}

/* Also hide the Woodmart prefooter brands slider */
body.panes-homepage-active .wd-prefooter {
  display: none !important;
}

.panes-footer {
  background: #0d1b3e;
  color: #c8d0e0;
  font-family: var(--panes-font);
}

.panes-footer a {
  color: #c8d0e0;
  text-decoration: none;
  transition: color var(--panes-transition);
}

.panes-footer a:hover {
  color: #ffffff;
}

/* Main footer area */
.panes-footer__main {
  padding: 56px 0 40px;
}

.panes-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Brand column */
.panes-footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.panes-footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 20px;
  color: #8b96b0;
}

.panes-footer__social {
  display: flex;
  gap: 12px;
}

.panes-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #c8d0e0;
  transition: all var(--panes-transition);
}

.panes-footer__social a:hover {
  background: var(--panes-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Column headings */
.panes-footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

/* Links */
.panes-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panes-footer__links li {
  margin-bottom: 10px;
}

.panes-footer__links a {
  font-size: 14px;
  display: inline-block;
  padding: 2px 0;
}

.panes-footer__links a:hover {
  padding-left: 4px;
}

/* Contact items */
.panes-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panes-footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.panes-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--panes-primary-light);
}

/* Payments bar */
.panes-footer__payments {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}

.panes-footer__payments-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.panes-footer__payments-label {
  font-size: 13px;
  color: #8b96b0;
  white-space: nowrap;
}

.panes-footer__payments-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.panes-footer__payments-icons span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: #a0abbe;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Bottom bar */
.panes-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.panes-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.panes-footer__bottom-inner p {
  margin: 0;
  font-size: 13px;
  color: #6b7a94;
}

.panes-footer__legal {
  display: flex;
  gap: 20px;
}

.panes-footer__legal a {
  font-size: 13px;
  color: #6b7a94;
}

.panes-footer__legal a:hover {
  color: #c8d0e0;
}

/* Footer responsive */
@media (max-width: 992px) {
  .panes-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 576px) {
  .panes-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .panes-footer__main {
    padding: 40px 0 28px;
  }

  .panes-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .panes-footer__legal {
    justify-content: center;
  }

  .panes-footer__payments-inner {
    justify-content: center;
  }
}
