/* ══════════════════════════════════════════════════════════════════
   WorkAssist — Single Product custom CSS (namespace .wa-p-*)
   Rendered by wa_render_product_html() + Woo native add-to-cart form.
   ══════════════════════════════════════════════════════════════════ */

body.single-product{background:#FAFAF8;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#1a1a18}

.wa-p{max-width:1200px;margin:0 auto;padding:clamp(20px,3vw,32px) clamp(16px,4vw,32px) clamp(48px,6vw,72px)}

/* Breadcrumb */
.wa-p-crumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#999;margin:0 0 24px;font-family:'Inter',sans-serif;flex-wrap:wrap}
.wa-p-crumb a{color:#C7622B;text-decoration:none}
.wa-p-crumb a:hover{text-decoration:underline}
.wa-p-crumb span{color:#c9c7c1}
.wa-p-crumb-current{color:#4a4a48}

/* MAIN GRID */
.wa-p-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start;margin-bottom:64px}
@media(max-width:900px){.wa-p-main{grid-template-columns:1fr;gap:24px}}

/* Gallery */
.wa-p-gallery{min-width:0}
.wa-p-gallery-main{background:#fff;border:1px solid #EDEBE6;border-radius:16px;overflow:hidden;aspect-ratio:1/1}
.wa-p-gallery-main img{width:100%;height:100%;object-fit:cover;display:block;background:#F5F4F0}
.wa-p-gallery-thumbs{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}
.wa-p-thumb{cursor:pointer;border:1.5px solid #EDEBE6;border-radius:10px;overflow:hidden;background:#F5F4F0;transition:border-color .15s;aspect-ratio:1/1}
.wa-p-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.wa-p-thumb.is-active,.wa-p-thumb:hover{border-color:#C7622B}

/* ═══════════════════════════════════════════════════════════════════
   INFO PANEL — high-impact typography
   ═══════════════════════════════════════════════════════════════════ */
.wa-p-info{min-width:0;display:flex;flex-direction:column;gap:20px;padding-top:8px}

/* Eyebrow — category label with accent bar */
.wa-p-cat{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:#C7622B;margin:0;
}
.wa-p-cat::before{
  content:"";display:inline-block;width:24px;height:2px;background:#C7622B;
}

/* Title — much bigger, uppercase, tighter letter-spacing */
.wa-p-title{
  margin:0;font-family:'Inter',sans-serif;
  font-size:clamp(38px,5.5vw,64px);
  font-weight:800;color:#141412;
  line-height:.98;letter-spacing:-0.035em;
  text-transform:uppercase;
}

/* Price — chunky, own line, with a small label */
.wa-p-price{
  margin:4px 0 0;font-family:'Inter',sans-serif;
  font-size:clamp(30px,3.6vw,42px);font-weight:800;color:#C7622B;line-height:1;
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
}
.wa-p-price .woocommerce-Price-amount,.wa-p-price .amount{color:#C7622B;font-weight:800;font-size:inherit}
.wa-p-price del{color:#c9c7c1;font-weight:500;font-size:.6em;margin-right:6px}
.wa-p-price ins{text-decoration:none}
.wa-p-price::after{
  content:"per pair";font-size:12px;font-weight:600;color:#8a8783;letter-spacing:.08em;
  text-transform:uppercase;line-height:1;padding-bottom:3px;
}
.wa-p-price:has(.woocommerce-Price-amount ~ .woocommerce-Price-amount)::after{content:""}

/* Short description — bigger, warmer, quotable */
.wa-p-short-desc{
  font-size:16.5px;line-height:1.6;color:#3a3a37;margin:6px 0 0;padding-bottom:24px;
  border-bottom:1px solid #EDEBE6;font-weight:450;
}
.wa-p-short-desc p{margin:0 0 10px;font-size:inherit;line-height:inherit}
.wa-p-short-desc p:last-child{margin:0}
.wa-p-short-desc strong{color:#141412;font-weight:700}
.wa-p-short-desc ul{margin:8px 0;padding-left:20px;color:#3a3a37}

/* ═══════════════════════════════════════════════════════════════════
   ADD-TO-CART FORM (Woo native HTML: table.variations + .quantity + button)
   ═══════════════════════════════════════════════════════════════════ */

.wa-p-add-wrap{display:flex;flex-direction:column;gap:16px}
.wa-p form.cart,
.wa-p form.variations_form{
  display:flex!important;flex-direction:column!important;gap:16px!important;
  margin:0!important;padding:0!important;
}

/* ── Variations table (Woo natif) ── */
.wa-p table.variations{
  width:100%!important;border:none!important;border-collapse:collapse!important;
  margin:0!important;padding:0!important;
}
.wa-p table.variations tbody{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%}
.wa-p table.variations tr{
  display:flex!important;flex-direction:column!important;gap:6px!important;
  margin:0!important;padding:0!important;border:none!important;
}
.wa-p table.variations td,
.wa-p table.variations th{
  display:block!important;padding:0!important;border:none!important;background:transparent!important;
}
.wa-p table.variations td.label,
.wa-p table.variations td.label label,
.wa-p table.variations th{
  font-size:12px!important;font-weight:700!important;text-transform:uppercase!important;
  letter-spacing:.08em!important;color:#6B6966!important;font-family:'Inter',sans-serif!important;
  margin:0!important;padding:0!important;line-height:1.2!important;
}
.wa-p table.variations td.value{width:100%!important}
.wa-p table.variations td.value select,
.wa-p form.variations_form select{
  width:100%!important;min-height:52px!important;height:auto!important;line-height:1.4!important;
  border:1.5px solid #E8E5DE!important;border-radius:10px!important;
  padding:14px 44px 14px 16px!important;font-size:15px!important;font-family:'Inter',sans-serif!important;
  color:#1a1a18!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6966' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 16px center!important;
  background-size:12px 8px!important;
  -webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;
  box-sizing:border-box!important;cursor:pointer!important;
  transition:border-color .15s,box-shadow .15s!important;margin:0!important;
}
.wa-p table.variations td.value select:focus,
.wa-p form.variations_form select:focus{
  border-color:#C7622B!important;outline:none!important;box-shadow:0 0 0 3px rgba(199,98,43,.12)!important;
}
.wa-p .reset_variations{
  font-size:12px!important;color:#C7622B!important;text-decoration:underline!important;
  margin-top:4px!important;display:inline-block!important;font-family:'Inter',sans-serif!important;
}

/* ── Single variation info box (shown by JS) ── */
.wa-p .single_variation_wrap,
.wa-p .woocommerce-variation-add-to-cart{
  display:flex!important;flex-direction:column!important;gap:16px!important;margin:0!important;
}
.wa-p .woocommerce-variation{margin:0!important;padding:0!important;background:transparent!important}
.wa-p .woocommerce-variation-price{
  font-family:'Inter',sans-serif!important;font-size:24px!important;font-weight:800!important;color:#C7622B!important;
}
.wa-p .woocommerce-variation-availability{font-size:13px!important;color:#6B6966!important}
.wa-p .woocommerce-variation-description{font-size:14px!important;line-height:1.55!important;color:#4a4a48!important;margin:4px 0 0!important}

/* ── Quantity ── */
.wa-p .quantity{margin:0!important;width:100%}
.wa-p input.qty,
.wa-p input[type="number"].qty,
.wa-p .quantity input.qty{
  width:100%!important;min-height:52px!important;line-height:1.4!important;
  border:1.5px solid #E8E5DE!important;border-radius:10px!important;padding:14px 16px!important;
  font-size:16px!important;font-weight:600!important;font-family:'Inter',sans-serif!important;
  text-align:center!important;background:#fff!important;color:#1a1a18!important;
  box-sizing:border-box!important;-moz-appearance:textfield!important;
}

/* ── Add-to-cart button ── */
.wa-p button.single_add_to_cart_button,
.wa-p .single_add_to_cart_button{
  width:100%!important;background:#C7622B!important;color:#fff!important;border:none!important;
  border-radius:12px!important;padding:18px 32px!important;font-size:15px!important;font-weight:800!important;
  font-family:'Inter',sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase!important;
  cursor:pointer!important;transition:background .2s,opacity .2s!important;min-height:56px!important;
  box-shadow:0 2px 8px rgba(199,98,43,.15)!important;
  display:block!important;margin:0!important;line-height:1!important;
}
.wa-p button.single_add_to_cart_button:hover,
.wa-p .single_add_to_cart_button:hover{background:#a84f1f!important;box-shadow:0 4px 14px rgba(199,98,43,.25)!important}
.wa-p button.single_add_to_cart_button.disabled,
.wa-p button.single_add_to_cart_button.wc-variation-selection-needed,
.wa-p button.single_add_to_cart_button:disabled,
.wa-p .single_add_to_cart_button.disabled,
.wa-p .single_add_to_cart_button.wc-variation-selection-needed,
.wa-p .single_add_to_cart_button:disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important}

/* Hidden inputs */
.wa-p form input[type="hidden"]{display:none!important}

/* Meta */
.wa-p-meta{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding-top:16px;border-top:1px solid #EDEBE6;font-size:13px;color:#999;font-family:'Inter',sans-serif}
.wa-p-meta-row b{color:#1a1a18;font-weight:600;margin-right:6px}
.wa-p-meta-row a{color:#C7622B;text-decoration:none}

/* Tabs */
.wa-p-tabs{margin:0 0 64px}
.wa-p-tabs-nav{list-style:none;padding:0;margin:0 0 32px;display:flex;gap:0;border-bottom:2px solid #EDEBE6;flex-wrap:wrap}
.wa-p-tabs-nav li{margin:0;padding:0}
.wa-p-tabs-nav button{
  background:transparent;border:none;padding:14px 24px;font-family:'Inter',sans-serif;
  font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#999;
  cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s;
}
.wa-p-tabs-nav button:hover{color:#1a1a18}
.wa-p-tabs-nav li.is-active button{color:#1a1a18;border-bottom-color:#C7622B}
.wa-p-tab-panel{display:none;font-family:'Inter',sans-serif;font-size:15px;line-height:1.7;color:#4a4a48}
.wa-p-tab-panel.is-active{display:block}
.wa-p-tab-panel p{margin:0 0 12px}
.wa-p-tab-panel h2,.wa-p-tab-panel h3{color:#1a1a18;font-weight:800;margin:24px 0 12px}
.wa-p-specs{width:100%;border-collapse:collapse}
.wa-p-specs th{text-align:left;padding:12px 16px 12px 0;font-size:13px;font-weight:700;color:#1a1a18;border-bottom:1px solid #EDEBE6;width:180px}
.wa-p-specs td{padding:12px 0;font-size:14px;color:#4a4a48;border-bottom:1px solid #EDEBE6}

/* Related */
.wa-p-related{padding-top:48px;border-top:1px solid #EDEBE6}
.wa-p-related-title{margin:0 0 24px;font-family:'Inter',sans-serif;font-size:22px;font-weight:800;color:#1a1a18;letter-spacing:-0.01em}
.wa-p-related-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media(max-width:900px){.wa-p-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.wa-p-related-grid{grid-template-columns:1fr}}
.wa-p-related-item{margin:0;list-style:none;background:#fff;border:1px solid #EDEBE6;border-radius:12px;overflow:hidden;transition:box-shadow .25s,transform .25s}
.wa-p-related-item:hover{box-shadow:0 8px 32px rgba(0,0,0,.07);transform:translateY(-3px)}
.wa-p-related-link{display:block;text-decoration:none;color:inherit}
.wa-p-related-thumb{aspect-ratio:1/1;background:#F5F4F0}
.wa-p-related-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.wa-p-related-name{margin:0;padding:14px 16px 4px;font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:#1a1a18;line-height:1.35}
.wa-p-related-price{padding:0 16px 16px;font-family:'Inter',sans-serif;font-size:14px;font-weight:700;color:#C7622B}
.wa-p-related-price .amount{color:#C7622B}
