/* Product layout, ordering controls and gallery. Loaded on product pages only. */
.productDesc {
  margin-top:4px;
  margin-bottom:6px;
  color:#bbb;
  font-size:16px;
  font-weight:500;
  text-align:left;
}

.productDescLong {
  color:#ccc;
  font-size:13px;
  line-height:1.5;
  margin:10px 0 10px;
}

.productSeoText {
  margin-top: 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.productSeoText h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--color-gold-link);
}

.productSeoText p {
  margin: 0 0 14px;
  color: var(--color-text-warm);
  line-height: 1.7;
  font-size: 15px;
}

.productSeoText p:last-child {
  margin-bottom: 0;
}

.productPage {
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  padding:40px 20px;
  align-items:flex-start;
}

.productLeft {
  display:flex;
  flex-direction:column;
  max-width:500px;
}

.productImage {
  width:100%;
  border-radius:12px;
}

.productInfo {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.productInfo h1 {
  margin: 0 0 6px;
}

#descriptionproduct {
  margin-top: 0;
}

.productMetaGroup {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:6px 0 2px;
}

.productMetaRow, .productMetaBlock {
  flex:1;
  padding:14px 16px;
  border:1px solid rgba(200,169,107,.22);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}

.productMetaLabel {
  display:block;
  margin-bottom:8px;
  color:var(--color-gold-muted);
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.productMetaValue {
  color:var(--color-cream);
  font-weight:600;
}

.diameterOptions {
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
}

.diameterOption {
  position:relative;
  display:inline-flex;
  align-items:center;
}

.diameterOption input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.diameterOption span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:auto;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(200,169,107,.28);
  background:var(--color-control-bg);
  color:var(--color-cream);
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.diameterOption input:checked + span {
  background:var(--color-gold-muted);
  color:#111;
  border-color:var(--color-gold-muted);
}

.diameterOption.isFixed span {
  cursor:default;
}

.productOrder {
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
  min-width:0;
  margin-top:8px;
}

.productOrder #productMetaWrap {
  display:flex;
  flex-direction:column;
  gap:18px;
  margin:0;
  width:100%;
}

.orderField {
  border:0;
  padding:0;
  margin:0;
  min-width:0;
}

.orderField[hidden] {
  display:none;
}

.orderField legend {
  padding:0;
  margin-bottom:10px;
  font-size:12px;
  letter-spacing:.08em;
}

.packagingOptions {
  display:flex;
  flex-direction:column;
  gap:8px;
}

.packagingOption {
  position:relative;
  display:block;
  cursor:pointer;
}

.packagingOption input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  padding:0;
}

.packagingCard {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:12px 16px;
  box-sizing:border-box;
  border:1px solid rgba(200,169,107,.3);
  border-radius:10px;
  background:var(--color-control-bg);
  color:var(--color-cream);
  transition:background .15s,border-color .15s;
}

.packagingDetails {
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:15px;
  font-weight:600;
}

.packagingDetails small {
  font-size:12px;
  font-weight:400;
  opacity:.8;
}

.packagingCard strong {
  font-size:16px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.packagingOption input:checked + .packagingCard {
  background:var(--color-gold-muted);
  color:#111;
  border-color:var(--color-gold-muted);
}

.packagingOption input:focus-visible + .packagingCard,.productOrder .diameterOption input:focus-visible + span {
  outline:2px solid #fff;
  outline-offset:3px;
}

.productOrder .diameterOptions {
  display:flex;
  gap:8px;
}

.productOrder .diameterOption {
  display:block;
  flex:1;
  min-width:0;
}

.productOrder .diameterOption span {
  display:flex;
  min-height:44px;
  padding:8px;
  box-sizing:border-box;
  border-radius:8px;
  font-size:14px;
}

.productOrder .diameterOption input:disabled + span {
  cursor:not-allowed;
}

.orderSummary {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding-top:18px;
  border-top:1px solid rgba(200,169,107,.2);
}

.quantityBlock label {
  display:block;
  margin-bottom:10px;
  color:var(--color-gold-muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.quantityStepper {
  display:flex;
  align-items:center;
  border:1px solid rgba(200,169,107,.3);
  border-radius:9px;
  overflow:hidden;
  background:var(--color-control-bg);
}

.quantityStepper button {
  width:40px;
  min-height:44px;
  padding:0;
  border-radius:0;
  background:transparent;
  color:var(--color-cream);
  font-size:22px;
}

.quantityStepper button:disabled {
  opacity:.35;
  cursor:default;
}

.productOrder #qty {
  order:0;
  width:40px;
  min-height:44px;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  text-align:center;
  font-size:16px;
  -moz-appearance:textfield;
  box-sizing:border-box;
}

.productOrder #qty::-webkit-inner-spin-button,.productOrder #qty::-webkit-outer-spin-button {
  -webkit-appearance:none;
  margin:0;
}

.productOrder .productTotal {
  text-align:right;
  min-width:0;
}

.productOrder .productTotal .productMetaLabel {
  font-size:12px;
  letter-spacing:.08em;
  margin-bottom:10px;
}

.productOrder #price {
  font-size:28px;
  line-height:1.2;
  margin:0 0 5px;
  font-variant-numeric:tabular-nums;
}

.productOrder .priceNote {
  display:block;
  margin:0;
  color:#aaa;
  font-size:11px;
  line-height:1.5;
}

.productOrder #addCartBtn {
  width:100%;
  max-width:none;
  min-height:50px;
  margin:0;
  font-size:15px;
}

.productOrder button:focus-visible,.productOrder #qty:focus-visible {
  outline:2px solid #fff;
  outline-offset:-3px;
}

@media(max-width:360px) {
  .orderSummary {
    gap:10px;
  }

  .productOrder #price {
    font-size:25px;
  }

  .quantityStepper button {
    width:34px;
  }

  .productOrder #qty {
    width:34px;
  }

  .packagingCard {
    padding:12px;
  }
}

.productCarousel {
  position:relative;
  display:grid;
  overflow:hidden;
}

.productCarousel .productImage {
  grid-area:1 / 1;
  opacity:0;
  transform:scale(1.004);
  transition:opacity 1s ease-in-out;
}

.productCarousel .productImage.isActive {
  opacity:1;
}

.productCarouselDots {
  position:absolute;
  left:50%;
  bottom:14px;
  z-index:2;
  display:flex;
  gap:8px;
  transform:translateX(-50%);
}

.productCarouselDot {
  width:10px;
  height:10px;
  padding:0;
  border:1px solid rgba(255,255,255,.9);
  border-radius:50%;
  background:rgba(0,0,0,.35);
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  cursor:pointer;
}

.productCarouselDot.isActive {
  background:#fff;
}

.bucketAlternativeCard {
  display:block;
  box-sizing:border-box;
  width:100%;
  padding:18px;
  border-radius:10px;
  text-decoration:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  transition:transform .2s ease, border-color .2s ease;
  overflow:hidden;
}

.bucketAlternativeCard:hover, .bucketAlternativeCard:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(212,175,55,.5);
}

.bucketAlternativeImage {
  display:block;
  width:100%;
  height:95px;
  object-fit:contain;
  margin:0 auto 14px;
}

.bucketAlternativeCard strong {
  display:block;
  color:var(--color-gold-link);
  margin-bottom:5px;
  font-size:18px;
}

.bucketAlternativeCard span {
  display:block;
  color:var(--color-text-warm);
  font-size:14px;
  line-height:1.5;
}

@media (prefers-reduced-motion:reduce) {
  .productCarousel .productImage {
    transition:none;
  }
}

@media(max-width:700px) {
  .bucketAlternativeImage {
    height:110px;
  }
}

@media (max-width: 1100px) {
  .productPage {
    display:flex;
    flex-direction:column;
    gap:20px;
  }

  .productLeft, .productInfo {
    display:contents;
  }

  .productInfo h1 {
    order:1;
    margin:0 0 12px;
  }

  .productImage {
    order:2;
  }

  #descriptionproduct {
    order:3;
    margin:12px 0 20px;
  }

  #description {
    order:4;
    margin:0 0 10px;
  }

  #descriptionlong {
    order:5;
    margin:0 0 20px;
  }

  .price {
    order:6;
  }

  #productMetaWrap {
    order:7;
  }

  label[for="qty"] {
    order:8;
  }

  #qty {
    order:9;
  }

  #addCartBtn {
    order:10;
  }

  .productSeoText {
    order:11;
  }

  .pickupInfo {
    order:12;
  }

  .productOrder {
    order:7;
    margin:0;
  }

  .productOrder #productMetaWrap {
    order:0;
  }

  .productOrder #addCartBtn {
    order:0;
  }



  :where(.productWithGallery) #descriptionlong {
    order:12;
    margin:0 0 20px;
  }

  :where(.productWithGallery) .pickupInfo {
    order:13;
  }

  :where(.productBoilie) .productTotal {
    order:9;
  }
}
