/**
 * shop.css — The Kiss Project
 * Stili per shop.html e pagine prodotto (the-kiss.html, ecc.)
 * Usa i font, colori e classi già definiti in main.css e custom.css.
 * Non sovrascrivere mai main.css o custom.css.
 */

/* =========================================
   PAGE HEADER — vetrina shop
   ========================================= */

.shop-page-header {
  padding-top: 140px; /* compensa navbar fixed */
  padding-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
}

.shop-eyebrow {
  /* era h5: font Montserrat uppercase ripristinato esplicitamente in
     custom.css (era ereditato dal tag, perso passando a <p>, vedi audit
     gerarchia heading) */
  color: #999 !important;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.shop-title {
  /* eredita h1 da main.css: Montserrat, #421442, uppercase */
  font-size: 2em;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.shop-intro {
  /* eredita body da main.css: Open Sans, #777, 16px */
  margin: 0 auto;
  line-height: 1.9em;
}

/* =========================================
   SHOP GRID — griglia prodotti
   ========================================= */

.shop-collection-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.shop-card-col {
  margin-bottom: 50px;
}

.shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-card:hover {
  text-decoration: none;
  color: inherit;
}

.shop-card-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.shop-card-img img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-card-img img {
  transform: scale(1.04);
}

/* Badges */
.shop-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.shop-badge-white {
  background: #fff;
  color: #421442;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.shop-badge-black {
  background: #1a1714;
  color: #fff;
}

.shop-badge-both {
  background: #421442;
  color: #fff;
}

.shop-card-body {
  padding: 0 4px;
}

.shop-card-variant {
  /* eredita body Open Sans #777 */
  font-size: 0.8em;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.shop-card-name {
  /* eredita h2 Montserrat #421442 uppercase (era h4, vedi audit gerarchia heading) */
  font-size: 1em;
  letter-spacing: 2px;
  margin-bottom: 8px;
  margin-top: 0;
}

.shop-card-price {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 0.95em;
  letter-spacing: 2px;
  color: #421442;
  margin-bottom: 0;
}

/* =========================================
   BREADCRUMB — pagine prodotto
   ========================================= */

.shop-breadcrumb {
  padding-top: 110px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.shop-breadcrumb small,
.shop-breadcrumb a {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.shop-breadcrumb a:hover {
  color: #421442;
}

/* =========================================
   PRODUCT DETAIL — layout
   ========================================= */

.shop-product-section {
  padding-top: 50px;
  padding-bottom: 80px;
}

/* =========================================
   CAROUSEL
   ========================================= */

.shop-carousel {
  position: relative;
  user-select: none;
}

.shop-carousel-track {
  overflow: hidden;
  position: relative;
}

.shop-slides {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-slides img {
  min-width: 100%;
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  flex-shrink: 0;
}

.shop-carousel-track .shop-badge {
  bottom: 0;
  top: auto;
}

.shop-carousel-btn {
  position: absolute;
  top: calc(50% - 20px);
  background: rgba(255,255,255,0.88);
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  color: #421442;
  transition: background 0.2s;
  padding: 0;
}

.shop-carousel-btn:hover {
  background: #fff;
}

.shop-carousel-prev { left: 10px; }
.shop-carousel-next { right: 10px; }

.shop-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.shop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}

.shop-dot.active {
  background: #421442;
}

/* =========================================
   PRODUCT INFO
   ========================================= */

.shop-info-col {
  padding-left: 40px;
}

@media (max-width: 768px) {
  .shop-info-col {
    padding-left: 15px;
    margin-top: 30px;
  }
  .shop-carousel-col {
    margin-bottom: 0;
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}

.shop-series {
  /* eredita body #777 */
  font-size: 0.8em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.shop-product-title {
  /* eredita h1 Montserrat #421442 uppercase (era h2, vedi audit gerarchia heading) */
  font-size: 1.6em;
  letter-spacing: 5px;
  margin-top: 0;
  margin-bottom: 6px;
}

.shop-product-subtitle {
  /* usa classe h-alt del template: Open Sans 300 */
  font-size: 1em;
  color: #999;
  margin-bottom: 20px;
}

.shop-divider {
  border-color: #e8e8e8;
  margin: 20px 0;
}

.shop-desc {
  /* eredita body Open Sans #777 */
  line-height: 1.9em;
  margin-bottom: 24px;
}

.shop-price {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 1.6em;
  letter-spacing: 3px;
  color: #421442;
  font-weight: 500;
  margin-bottom: 28px;
}
.shop-shipping {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 0.75em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-top: -20px;
  margin-bottom: 28px;
}

/* Size select */
.shop-form-group {
  margin-bottom: 20px;
}

.shop-label {
  display: block;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 8px;
  font-weight: 400;
}

.shop-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 220px;
  padding: 10px 36px 10px 14px;
  border: 1px solid #ddd;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23777' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: border-color 0.2s;
  border-radius: 0;
}

.shop-select:focus {
  outline: none;
  border-color: #421442;
}

/* Buy button — riusa .btn .btn-round del template */
.shop-btn-buy {
  display: inline-block;
  margin-bottom: 14px;
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 2px;
}

.shop-secure-note {
  font-size: 12px;
  color: #999;
  margin-bottom: 30px;
}

.shop-secure-note .fa {
  margin-right: 5px;
}

/* =========================================
   ACCORDION — dettagli prodotto
   ========================================= */

.shop-accordion {
  border-top: 1px solid #e8e8e8;
}

.shop-acc-item {
  border-bottom: 1px solid #e8e8e8;
}

.shop-acc-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  text-align: left;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.shop-acc-toggle:hover {
  color: #421442;
}

.shop-acc-icon {
  font-size: 16px;
  color: #421442;
  line-height: 1;
}

.shop-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.shop-acc-body p {
  padding-bottom: 16px;
  line-height: 1.85em;
}

.shop-acc-item.open .shop-acc-body {
  /* max-height set by JS */
}

/* =========================================
   SIZE TABLE — accordion size chart
   ========================================= */

.shop-size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

.shop-size-table th {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  font-weight: 400;
  padding: 8px 10px;
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
}

.shop-size-table th:first-child {
  text-align: left;
}

.shop-size-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  color: #555;
}

.shop-size-table td:first-child {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #421442;
  font-weight: 500;
  text-align: left;
}

.shop-size-table tbody tr:last-child td {
  border-bottom: none;
}

.shop-size-note {
  font-size: 11px;
  color: #bbb;
  margin-bottom: 16px;
  font-style: italic;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .shop-page-header {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .shop-breadcrumb {
    padding-top: 80px;
  }
  .shop-title {
    font-size: 1.5em;
  }
}

/* =========================================
   FIX SCROLL ORIZZONTALE — full-bleed carousel mobile
   ========================================= */

body {
  overflow-x: hidden;
}
