﻿/* EuroDrop single-product page. */


.ed-product-page .ed-product-hero {
  padding-top: var(--s5);
  padding-bottom: var(--s7);
}

.ed-product-page .ed-breadcrumb {
  margin-bottom: var(--s5);
  color: var(--slate);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.ed-product-page .ed-breadcrumb a {
  color: var(--slate);
  transition: color 160ms var(--ease-soft);
}

.ed-product-page .ed-breadcrumb a:hover {
  color: var(--coral);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: var(--s7);
  align-items: start;
}

.ed-gallery {
  position: sticky;
  top: 110px;
  display: grid;
  gap: var(--s3);
}

.ed-gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #fbf8f4 0%, #f3eee8 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px -32px rgba(15, 18, 28, 0.35);
}

.ed-gallery-stage {
  position: absolute;
  inset: 0;
}

.ed-gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  place-items: center;
  padding: clamp(var(--s4), 5vw, var(--s7));
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 320ms var(--ease-soft), transform 420ms var(--ease-soft);
  pointer-events: none;
}

.ed-gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.ed-gallery-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(15, 18, 28, 0.18));
}

.ed-gallery-placeholder {
  display: grid;
  width: 70%;
  gap: var(--s3);
  place-items: center;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ed-gallery-placeholder svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.ed-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 220ms var(--ease-soft), background 200ms var(--ease-soft), color 200ms var(--ease-soft), transform 220ms var(--ease-snap);
}

.ed-gallery-arrow--prev {
  left: var(--s3);
}

.ed-gallery-arrow--next {
  right: var(--s3);
}

.ed-gallery-main:hover .ed-gallery-arrow,
.ed-gallery-main:focus-within .ed-gallery-arrow {
  opacity: 1;
}

.ed-gallery-arrow:hover {
  color: var(--surface);
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.06);
}

.ed-gallery-badges {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ed-gallery-count {
  position: absolute;
  right: var(--s3);
  bottom: var(--s3);
  z-index: 2;
  padding: 4px 10px;
  color: var(--surface);
  background: rgba(15, 18, 28, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ed-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s2);
}

.ed-gallery-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fbf8f4 0%, #f3eee8 100%);
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 200ms var(--ease-soft), transform 200ms var(--ease-snap);
}

.ed-gallery-thumb:hover {
  transform: translateY(-2px);
}

.ed-gallery-thumb.is-active {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.15);
}

.ed-gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.buy-panel {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.buy-panel-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.buy-panel-brand {
  padding: 4px 10px;
  color: var(--ink);
  background: var(--coral-soft, #ffe7df);
  border-radius: 999px;
}

.buy-panel-cond {
  padding: 4px 10px;
  border-radius: 999px;
}

.buy-panel-cond.badge {
  color: var(--surface);
  background: var(--ink);
}

.buy-panel-cond.badge.red {
  background: var(--coral);
}

.buy-panel-cond.badge.dark {
  background: var(--graphite, #38404f);
}

.ed-product-page h1.product-title,
.buy-panel h1.product-title {
  margin: 0 0 var(--s2) !important;
  font-family: var(--display) !important;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
  text-transform: none !important;
}

.buy-panel-tagline {
  margin: 0 0 var(--s4);
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.55;
}

.buy-panel-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin: var(--s4) 0;
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.buy-panel-price .price-amount {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.buy-panel-price .price-amount .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.buy-panel-price .price-amount del {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.buy-panel-price .price-amount ins {
  text-decoration: none;
  color: var(--coral);
}

.buy-panel-price .price-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-panel-price .price-note svg {
  color: var(--coral);
}

.buy-panel-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 var(--s5);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.buy-panel-specs > div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  margin: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.buy-panel-specs > div:nth-child(2n) {
  border-right: 0;
}

.buy-panel-specs > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.buy-panel-specs > div:nth-child(odd):last-child {
  grid-column: span 2;
  border-right: 0;
}

.buy-panel-specs dt {
  margin: 0;
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.buy-panel-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.buy-panel-section-title {
  margin-bottom: var(--s2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.buy-panel-size {
  margin-bottom: var(--s4);
}

.buy-panel-size .size-grid {
  margin: 0;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s2);
}

.size {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms var(--ease-soft), background 160ms var(--ease-soft), border-color 160ms var(--ease-soft);
}

.size:hover {
  border-color: var(--ink);
}

.size.selected {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.buy-panel-trust {
  display: grid;
  gap: 10px;
  margin: var(--s5) 0 var(--s4);
  padding: var(--s4);
  background: var(--soft);
  border-radius: 14px;
  list-style: none;
}

.buy-panel-trust li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
}

.buy-panel-trust li svg {
  flex: 0 0 18px;
  color: var(--coral);
}

.buy-panel-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: var(--s5);
}

.buy-panel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: color 160ms var(--ease-soft), background 160ms var(--ease-soft), border-color 160ms var(--ease-soft);
}

.buy-panel-action svg {
  flex: 0 0 18px;
}

.buy-panel-action:hover,
.buy-panel-action[aria-pressed="true"] {
  color: var(--coral);
  background: var(--coral-soft, #ffe7df);
  border-color: var(--coral);
}

@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .ed-gallery {
    position: static;
  }

  .ed-gallery-main {
    aspect-ratio: 1 / 1;
  }

  .ed-gallery-arrow {
    opacity: 1;
  }

  .buy-panel-actions {
    grid-template-columns: 1fr;
  }

  .buy-panel-specs {
    grid-template-columns: 1fr;
  }

  .buy-panel-specs > div {
    border-right: 0;
  }

  .buy-panel-specs > div:nth-last-child(-n+2):not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
}
