/* Extra shop styles for the product page and new catalogue cards.
   Loaded in addition to shop.css — do not change live accordion behaviour. */

.shop-page-header {
  background-image: url(https://dabce.se/images/DABCE_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80px;
  display: block;
  position: relative;
}

.shop-page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,.2), rgba(0,0,0,.5));
  pointer-events: none;
}

.shop-page-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(1%, 2vw, 20%);
  box-sizing: border-box;
  width: 100%;
  flex-wrap: nowrap;
  min-height: 80px;
}

.shop-page-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.shop-page-logo img {
  height: 30px;
  display: block;
}

.shop-page-logo span {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 30px;
  line-height: 30px;
  display: inline-block;
}

.shop-page-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
}

.shop-page-nav a {
  color: #fff;
  text-decoration: none;
}

.shop-page-nav .lang a {
  color: #fff;
}

.shop-page-nav .lang a.is-active {
  color: #ffff00;
}

.shop-main {
  display: block;
  position: relative;
  padding: 8px clamp(1%, 2vw, 20%);
}

.shop-main .search {
  margin: 8px 0 10px 0;
}

.shop-main input[type="search"] {
  width: 100%;
  max-width: 480px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.product-name a {
  color: inherit;
  text-decoration: none;
}

.product-name a:hover,
.product-name a:focus {
  color: var(--dabce-blue);
  text-decoration: underline;
}

.product-preview-link {
  display: block;
  margin: 8px 0;
}

.product-preview-link img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  opacity: 0.92;
}

.product-preview-link:hover img,
.product-preview-link:focus img {
  opacity: 1;
}

.product-more-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--dabce-blue);
  font-weight: 600;
  text-decoration: none;
}

.product-more-link:hover,
.product-more-link:focus {
  text-decoration: underline;
}

.pdp-crumb {
  margin: 8px 0 16px 0;
  font-size: 0.9rem;
  color: #555;
}

.pdp-crumb a {
  color: var(--dabce-blue);
  text-decoration: none;
  font-weight: 600;
}

.pdp-crumb a:hover {
  text-decoration: underline;
}

.pdp-crumb span {
  color: #888;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  margin-top: 8px;
}

.pdp-gallery-main {
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  width: 100%;
  cursor: zoom-in;
}

.pdp-gallery-main img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.pdp-thumbs .img-trigger img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #eee;
  background: #fff;
}

.pdp-id {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.pdp-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.pdp-short {
  color: #333;
  margin: 0 0 12px 0;
}

.pdp-price {
  font-size: 1.15rem;
  margin: 0 0 16px 0;
}

.pdp-actions {
  margin: 0 0 16px 0;
}

.pdp-actions .btn-cart {
  padding: 8px 14px;
  font-size: 1rem;
}

.pdp-back {
  margin-top: 8px;
}

.pdp-desc {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pdp-title {
    font-size: 1.35rem;
  }

  .pdp-gallery-main img {
    max-height: 280px;
  }

  .shop-page-logo span {
    font-size: 22px;
    line-height: 22px;
  }
}
