/* The Warehouse form, gallery and content hooks keep their native markup. */
#product .product-info-row { align-items:flex-start; }
#product .product-info-row > :is(.col-product-image, .col-product-info) { min-width:0; }
#product .product-info-row .images-container {
  padding:12px;
  border:1px solid var(--tc-line);
  border-radius:var(--tc-radius);
  background:#fff;
}
#product .product-info-row .product-cover { margin:0; border:0; }
#product .product-cover .product-lmage-large img {
  width:100%;
  height:clamp(320px,36vw,440px);
  max-height:none;
  object-fit:contain;
}
#product .product-cover .easyzoom-product, #product .product-cover .easyzoom-flyout { border-radius:var(--tc-control); }
#product .product-images-thumbs { padding-top:7px; }
#product .product-images-thumbs .thumb { border-radius:6px; }
#product :is(.after-cover-thumbnails,.after-cover-thumbnails2):empty { display:none; }

#product #col-product-info {
  padding:clamp(14px,1.45vw,20px);
  border:1px solid var(--tc-line);
  border-radius:var(--tc-radius);
  background:#fff;
}
#product #main-product-wrapper .product_header_container { margin:0 0 6px; padding:0 0 7px; border:0; border-bottom:1px solid var(--tc-line); }
#product .product_header_container h1 { margin:0 0 2px; color:var(--tc-ink); font-size:clamp(1.36rem,2.25vw,1.92rem); line-height:1.16; overflow-wrap:anywhere; }
#product .tc-pdp-title-row { display:flex; align-items:flex-start; gap:clamp(7px,1vw,14px); }
#product .tc-pdp-title-row h1 { flex:1; min-width:0; }
#product .tc-pdp-manufacturer { flex:0 1 auto; max-width:clamp(57px,7.5vw,94px); color:var(--tc-blue); font-size:.8rem; line-height:1.2; overflow-wrap:anywhere; }
#product .tc-pdp-manufacturer img { display:block; max-width:100%; max-height:56px; width:auto; height:auto; object-fit:contain; }
#product .tc-pdp-intro { margin:7px 0 0; color:var(--tc-muted); font-size:.88rem; line-height:1.36; }
#product .tc-pdp-intro .product-description { padding:0; margin:0; }
#product .tc-pdp-intro :is(p,ul,ol) { margin:0 0 4px; }
#product .tc-pdp-intro .product-description > :last-child { margin-bottom:0; }
#product .tc-pdp-intro .product-description > ul { columns:2 155px; column-gap:18px; padding-inline-start:16px; }
#product .tc-pdp-intro .product-description > ul > li { break-inside:avoid; }
#product .tc-pdp-mobile-heading:empty { display:none; }
#product #col-product-info .product-information { padding:0; border:0; }
#product #main-product-wrapper .product-description-short { margin:0; }

#product #main-product-wrapper .product-variants { display:flex; flex-wrap:wrap; align-items:flex-start; gap:10px 18px; margin:0; padding:0; border:0; }
#product #main-product-wrapper .product-variants:empty { display:none; }
#product .product-variants .product-variants-item { max-width:100%; float:none; margin:0; padding:5px 0 0; }
#product #main-product-wrapper .product-variants-item .form-control-label { margin-bottom:5px; padding:0; color:var(--tc-ink); font-weight:700; }
#product .product-variants-item ul { display:flex; flex-wrap:wrap; gap:5px; padding:0; margin:0; }
#product .product-variants-item .input-container { margin:0; }
#product .product-variants-item .radio-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  min-width:47px;
  padding:5px 10px;
  border:1px solid var(--tc-line);
  border-radius:var(--tc-control);
  background:#fff;
  color:var(--tc-blue);
  white-space:normal;
}
#product .product-variants-item .input-radio:checked + .radio-label { border-color:var(--tc-blue); background:var(--tc-blue-pale); color:var(--tc-blue); font-weight:700; }
#product .product-variants-item :is(.input-radio,.input-color):focus-visible + span { outline:2px solid var(--tc-blue); outline-offset:2px; }
#product .product-variants-item .attribute-not-in-stock .radio-label { border-style:dashed; }

#product #main-product-wrapper .product_p_price_container { margin-top:10px; padding:0; border:0; }
#product #main-product-wrapper .product-prices { margin:0; padding:9px 12px; border:1px solid var(--tc-warm-line); border-radius:var(--tc-radius); background:var(--tc-warm); }
#product #main-product-wrapper .product-prices .current-price-value {
  display:inline-block;
  padding:0;
  color:var(--tc-price-ink);
  background:transparent;
  font-size:clamp(1.72rem,3.1vw,2.43rem);
  font-weight:750;
  line-height:1.1;
  font-variant-numeric:tabular-nums;
}
#product .product-prices .tax-shipping-delivery-label { color:var(--tc-muted); }
#product #main-product-wrapper .product-prices .tcunitprice { display:inline-block; margin-left:5px; color:var(--tc-price-ink); font-weight:650; }
#product .product-prices .product-unit-price { margin-bottom:3px; }
#product .product-prices .price-countdown-wrapper { margin-block:3px 0; }
#product .product-prices .product-reference { margin:0 0 2px; font-size:.78rem; }

#product .tc-pdp-price-main { display:flex; flex-direction:column; min-width:0; }
#product .tc-pdp-price-main > .product-reference { order:2; margin:4px 0 0; color:var(--tc-muted); }
#product .tc-pdp-price-main > .price-countdown-wrapper { order:1; }
#product #main-product-wrapper .tc-pdp-price-main .price-countdown {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  max-width:100%;
  padding:3px 6px;
  border:1px solid var(--tc-warm-line);
  border-radius:5px;
  background:#fffaf0;
  color:#762c20;
  font-size:.76rem;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
#product #main-product-wrapper .tc-pdp-price-main .price-countdown :is(.price-countdown-title,.count-down-timer) {
  background:transparent;
  color:inherit;
}
#product #main-product-wrapper .tc-pdp-price-main .price-countdown .count-down-timer { font-weight:700; }
#product #main-product-wrapper .tc-stock--panel { display:none; }

@media (min-width:992px) {
  #product #main-product-wrapper .tc-pdp-price-panel:has(> .tc-stock--panel) {
    display:grid;
    grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);
    padding:0;
  }
  #product .tc-pdp-price-panel:has(> .tc-stock--panel) > .tc-pdp-price-main { padding:10px 13px; }
  #product #main-product-wrapper .tc-stock--panel {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:7px;
    min-width:0;
    margin:0;
    padding:10px 13px;
  }
  #product #main-product-wrapper .tc-stock--panel > :is(strong,.tc-pdp-delivery) {
    display:grid;
    grid-template-columns:1rem minmax(0,1fr);
    column-gap:6px;
    padding-inline:7px;
    line-height:1.35;
  }
  #product .tc-stock--panel > strong { align-items:center; }
  #product #main-product-wrapper .tc-stock--panel .tc-pdp-delivery {
    align-items:flex-start;
    color:var(--tc-blue);
    text-decoration:none;
  }
  #product .tc-stock--panel > :is(strong,.tc-pdp-delivery) > i { line-height:inherit; text-align:center; }
  #product .tc-stock--panel .tc-pdp-delivery-time { white-space:nowrap; }
  #product .tc-stock--panel .tc-pdp-delivery-area { display:block; text-decoration:underline; text-underline-offset:2px; }
  #product #main-product-wrapper:has(.tc-stock--panel) .tc-stock--bar { display:none; }
}

#product #add-to-cart-or-refresh .product-add-to-cart { padding-top:10px!important; }
#product #add-to-cart-or-refresh .tc-stock--bar { margin:0 0 8px; column-gap:8px; }
#product #add-to-cart-or-refresh .tc-pdp-delivery { display:inline-flex; align-items:center; gap:5px; min-width:0; }
#product #add-to-cart-or-refresh .tc-pdp-delivery i { flex:none; }
#product #add-to-cart-or-refresh .product-quantity { align-items:stretch; }
#product #add-to-cart-or-refresh .col-add-btn { flex:1 1 0; min-width:0; }
#product #add-to-cart-or-refresh .col-add-btn .add-to-cart { width:100%; min-height:45px; white-space:normal; line-height:1.2; }
#product #add-to-cart-or-refresh :is(.product-minimal-quantity,.product-discounts):not(:has(*)) { display:none; }
#product #main-product-wrapper .product-additional-info { padding-top:0; }
#product #main-product-wrapper .tc-pdp-payments { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px 9px; margin:0; padding:4px 0 0; color:var(--tc-muted); font-size:.76rem; }
#product .tc-pdp-payments ul { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px; max-width:100%; padding:0; margin:0; list-style:none; }
#product .tc-pdp-payments li { display:inline-flex; align-items:center; gap:4px; padding:3px 6px; border:1px solid var(--tc-line); border-radius:5px; background:#fff; }
#product .tc-pdp-payments img { display:block; width:auto; height:19px; }
#product .tc-pdp-payments-transfer { min-height:27px; color:var(--tc-blue); }
#product .tc-pdp-payments-transfer i { font-size:.89rem; }
#product .tc-pdp-sticky-price { display:none; }
#product .tc-pdp-context { margin:0 0 7px; padding:6px 8px; border-radius:var(--tc-control); background:var(--tc-blue-pale); color:var(--tc-blue); font-size:.85rem; }
#product .rsf-product-note { margin:10px 0 0; padding:10px; }
#product .tc-pdp-points-title { display:block; margin-bottom:2px; color:var(--tc-blue); font-size:.9rem; }
#product #main-product-wrapper .tc-pdp-points-icon { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:8px; background:#dcecf6; color:var(--tc-blue); }

#product #add-to-cart-or-refresh .col-add-qty {
  --tc-step-side:30px;
  --tc-step-width:104px;
  --tc-step-height:48px;
  flex:0 0 calc(var(--tc-step-width) + 8px);
  width:calc(var(--tc-step-width) + 8px);
  max-width:calc(var(--tc-step-width) + 8px);
}
#product #add-to-cart-or-refresh .col-add-qty .qty { width:100%; margin:0; }
#product #add-to-cart-or-refresh .col-add-qty .bootstrap-touchspin {
  display:grid;
  grid-template: minmax(0,1fr) / var(--tc-step-side) minmax(0,1fr) var(--tc-step-side);
  width:100%;
  height:var(--tc-step-height);
  border:1px solid #adbfce;
  border-radius:var(--tc-control);
  background:#fff;
  overflow:hidden;
}
#product #add-to-cart-or-refresh .col-add-qty .input-group-btn-vertical { display:contents; }
#product #add-to-cart-or-refresh .col-add-qty #quantity_wanted {
  grid-column:2;
  grid-row:1;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  padding:0 1px;
  border:0;
  border-inline:1px solid var(--tc-line);
  border-radius:0;
  text-align:center;
  appearance:textfield;
  box-shadow:none;
}
#product #add-to-cart-or-refresh #quantity_wanted::-webkit-inner-spin-button,
#product #add-to-cart-or-refresh #quantity_wanted::-webkit-outer-spin-button { appearance:none; margin:0; }
#product #add-to-cart-or-refresh .col-add-qty .btn-touchspin {
  display:grid;
  place-items:center;
  grid-row:1;
  position:static;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff;
  color:var(--tc-blue);
  font-size:1.22rem;
  line-height:1;
  box-shadow:none;
}
#product #add-to-cart-or-refresh .col-add-qty .bootstrap-touchspin-down { grid-column:1; }
#product #add-to-cart-or-refresh .col-add-qty .bootstrap-touchspin-up { grid-column:3; }
#product #add-to-cart-or-refresh .col-add-qty .btn-touchspin i { display:none; }
#product #add-to-cart-or-refresh .col-add-qty .bootstrap-touchspin-down::before { content:"−"; }
#product #add-to-cart-or-refresh .col-add-qty .bootstrap-touchspin-up::before { content:"+"; }
#product #add-to-cart-or-refresh .col-add-qty .btn-touchspin:hover { background:var(--tc-blue-pale); }
#product #add-to-cart-or-refresh .col-add-qty :is(.btn-touchspin,#quantity_wanted):focus-visible { outline:2px solid var(--tc-blue); outline-offset:-3px; }

#product .tc-pdp-information { margin:clamp(18px,3vw,33px) 0; }
#product .tc-pdp-information .tc-pdp-info-heading { margin:0 0 10px; color:var(--tc-ink); font-size:clamp(1.2rem,2.1vw,1.52rem); }
#product .tc-pdp-information .block-section { margin:0 0 8px; }
#product .tc-pdp-info-item {
  border:1px solid var(--tc-line);
  border-radius:var(--tc-radius);
  color:var(--tc-ink);
  background:#fff;
}
#product .tc-pdp-info-item > summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 13px;
  color:var(--tc-blue);
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
#product .tc-pdp-info-item > summary::-webkit-details-marker { display:none; }
#product .tc-pdp-info-item > summary::after {
  content:"";
  flex:none;
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
#product .tc-pdp-info-item[open] > summary { border-bottom:1px solid var(--tc-line); border-radius:var(--tc-radius) var(--tc-radius) 0 0; background:var(--tc-blue-pale); }
#product .tc-pdp-info-item[open] > summary::after { transform:rotate(225deg); }
#product .tc-pdp-info-item > summary:focus-visible { outline:2px solid var(--tc-blue); outline-offset:-3px; }
#product .tc-pdp-info-item > .section-content { margin:0; padding:12px 14px; overflow-wrap:anywhere; }
#product .tc-pdp-information :is(.rte-content img,.rte-content video) { max-width:100%; height:auto; }
#product .tc-pdp-information .rte-content table { max-width:100%; }

@media (max-width:767px) {
  #product .tc-pdp-mobile-heading { margin-bottom:8px; }
  #product #main-product-wrapper .tc-pdp-mobile-heading .product_header_container { margin:0; padding:0; border:0; }
  #product .tc-pdp-mobile-heading .product_header_container h1 { font-size:clamp(1.2rem,4.75vw,1.52rem); }
  #product .product-info-row .images-container { padding:7px; }
  #product .product-cover .product-lmage-large img { height:clamp(170px,57vw,230px); max-height:230px; }
  #product #col-product-info { margin-top:9px; padding:12px; }
}

@media (max-width:575px) {
  #product .tc-pdp-payments-label { display:none; }
  #product #main-product-wrapper .tc-pdp-payments { margin-top:8px; padding-top:0; }
  #product .tc-pdp-payments li { padding-inline:4px; }
  #product .tc-pdp-payments img { height:16px; }
  #product .tc-pdp-payments-transfer { min-height:24px; }
  #product .tc-pdp-payments-bank { display:none; }
  #product #add-to-cart-or-refresh .product-quantity { gap:1px; }
  #product #add-to-cart-or-refresh .col-add-qty { --tc-step-width:86px; --tc-step-side:25px; --tc-step-height:45px; }
  #product #add-to-cart-or-refresh .col-add-wishlist { width:38px; flex-basis:38px; }
  #product #add-to-cart-or-refresh .col-add-wishlist .btn { width:100%; padding-inline:3px; }
  #product #add-to-cart-or-refresh .col-add-btn .add-to-cart { padding-inline:4px; font-size:.85rem; }
  #product .tc-pdp-sticky-price:not([hidden]) {
    display:flex;
    flex:0 0 auto;
    width:max-content;
    max-width:100px;
    flex-direction:column;
    justify-content:center;
    align-self:center;
    padding:3px 5px;
    margin-left:2px;
    border-radius:6px;
    background:var(--tc-price-bg);
    color:var(--tc-price-ink);
    line-height:1.15;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
  #product .tc-pdp-sticky-price strong { font-size:.88rem; }
  #product .tc-pdp-sticky-price small { font-size:.68rem; }
  #product #add-to-cart-or-refresh .tc-stock--bar { font-size:.73rem; column-gap:5px; }
  #product #add-to-cart-or-refresh .tc-pdp-delivery { flex:1 1 123px; line-height:1.2; }
  #product #add-to-cart-or-refresh .tc-mobile-points { margin-left:0; }
}

@media (max-width:360px) {
  #product .tc-pdp-payments ul { gap:3px; }
  #product .tc-pdp-payments li { padding-inline:3px; }
  #product #add-to-cart-or-refresh .col-add-qty { --tc-step-width:78px; --tc-step-side:23px; }
  #product #add-to-cart-or-refresh .col-add-btn .bag-icon { display:none; }
  #product .tc-pdp-sticky-price:not([hidden]) { max-width:82px; white-space:normal; overflow-wrap:anywhere; }
}
