/* Schede boxer, cravatta e degli altri prodotti (pdp-cravatta.html, pdp-boxer.html; template-parts/pdp/scheda.php, boxer.php,
   cravatta.php), dopo catalogo.css: solo sulle PDP fuori dal configuratore (myc_v3_pagine_enqueue()). */
.myc-catalogo .opt .sub { display: block; font-size: 0.75rem; font-weight: 400; opacity: .7; margin-top: 2px; }
/* Taglie boxer: griglia 4 colonne come pdp-boxer.html, il numero IT in grande, la lettera sotto */
.myc-catalogo .sizegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 12px; background: var(--ink); border: 1px solid var(--ink); }
.myc-catalogo .sizegrid .opt { border: 0; min-width: 0; padding: 12px 0; font-size: 0.9375rem; font-weight: 500; letter-spacing: .04em; line-height: 1.1; }
.myc-catalogo .sizegrid .opt.sm { font-size: 0.75rem; letter-spacing: .08em; }
.myc-catalogo .sizegrid .opt .sub { letter-spacing: .12em; }
.myc-catalogo .smbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.myc-catalogo .smbox input { min-width: 0; }
.myc-catalogo .cart-row { display: flex; gap: 10px; margin-top: 22px; }
.myc-catalogo .cart-row .btn { flex: 1; }
@media (max-width: 640px) {
.myc-catalogo .cart-row { flex-wrap: wrap; }
}
.myc-catalogo .gallery.wide .main { aspect-ratio: 3/2; }
.myc-catalogo .gallery.wide .thumbs img { aspect-ratio: 3/2; }
.myc-catalogo .price { font-family: var(--serif); font-size: 1.875rem; }
.myc-catalogo .price del { font-size: 0.6em; color: var(--mute); margin-right: 8px; }
.myc-catalogo .price ins { text-decoration: none; }
/* "Completa il look" */
.myc-catalogo .look { flex: 0 0 100%; margin-top: 4px; border: 1px solid var(--line); padding: 20px 20px 8px; }
.myc-catalogo .look-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.myc-catalogo .look-items { margin-top: 12px; }
.myc-catalogo .addon { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.myc-catalogo .addon input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--mute); margin: 0; flex: 0 0 auto; display: grid; place-content: center; cursor: pointer; }
.myc-catalogo .addon input:checked { background: var(--ink); border-color: var(--ink); }
.myc-catalogo .addon input:checked::after { content: '✓'; color: #FFFFFF; font-size: 0.75rem; line-height: 1; }
.myc-catalogo .addon img { width: 44px; height: 55px; object-fit: cover; background: var(--card); flex: 0 0 auto; }
.myc-catalogo .addon b { display: block; font-size: 0.875rem; font-weight: 400; line-height: 1.25; }
.myc-catalogo .addon i { display: block; font-style: normal; font-size: 0.75rem; font-weight: 400; color: var(--grey); margin-top: 2px; }
/* WooCommerce's add-to-cart form, laid out as the design's cart row (quantity box + full-width button) */
.myc-catalogo .cart form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.myc-catalogo .cart form.cart > :not(.quantity):not(.single_add_to_cart_button) { flex: 0 0 100%; }
.myc-catalogo .cart .quantity { display: inline-flex; border: 1px solid var(--line); height: 56px; }
.myc-catalogo .cart .quantity .qbtn { width: 44px; border: 0; background: none; font-size: 1.125rem; cursor: pointer; color: var(--ink); }
.myc-catalogo .cart .quantity input.qty { width: 36px; border: 0; padding: 0; text-align: center; font-size: 0.9375rem; background: none; -moz-appearance: textfield; appearance: textfield; }
.myc-catalogo .cart .quantity input.qty::-webkit-inner-spin-button, .myc-catalogo .cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.myc-catalogo .cart .single_add_to_cart_button { flex: 1; display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 16px 26px !important; background: var(--blue) !important; border-color: var(--blue) !important; font: 500 0.78125rem/1.2 var(--sans) !important; letter-spacing: 0.18em !important; }
.myc-catalogo .cart .single_add_to_cart_button:hover { background: #1B3550 !important; }
.myc-catalogo .cart .single_add_to_cart_button small { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; text-transform: none; opacity: 0.85; }
.myc-catalogo .cart .single_add_to_cart_button[disabled] { background: var(--myc-grey-3) !important; border-color: var(--myc-grey-3) !important; cursor: not-allowed; opacity: 1; }
/* WCPA (boxer): selects become the design's choice pills (assets/js/pdp.js; the original stays, hidden, for the
   form); the fields it reveals after them (initials, buttons, colours) keep WCPA's controls in the design's type */
.myc-catalogo .cart .wcpa-pills .row-label { margin-top: 24px; }
.myc-catalogo .cart .wcpa_field_wrap:has(> select[data-piped]) { display: none; }
.myc-catalogo .cart .wcpa_field_wrap { margin-top: 24px; }
.myc-catalogo .cart .wcpa_field_label { display: block; margin-bottom: 12px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.myc-catalogo .cart .wcpa_required_ast, .myc-catalogo .cart .wcpa_tooltip_icon { color: var(--grey); }
/* WPLoyalty's points line, in the shipping note's type (!important: the plugin sets padding inline) */
.myc-catalogo .cart .wlr-product-message { padding: 0 !important; line-height: 1.5 !important; font-size: 0.8125rem; font-weight: 400; color: var(--grey); }
.myc-catalogo .cart .wcpa_type_text input { width: 100%; max-width: 240px; border: 1px solid #CFCAC1; background: #FFFFFF; padding: 15px 14px; font: 400 1rem var(--sans); border-radius: 0; text-transform: uppercase; }
.myc-catalogo .cart .wcpa_type_text input:focus { outline: none; border-color: var(--ink); }
.myc-catalogo .cart .wcpa_image_label, .myc-catalogo .cart .wcpa_color_label { font-size: 0.75rem; font-weight: 400; color: var(--grey); }
.myc-catalogo .cart .wcpa_image input:checked + .wcpa_img_wrap { outline: 1px solid var(--ink); outline-offset: 2px; }
/* Revisione ottobre 2026: schede boxer e cravatta (template-parts/pdp/boxer.php, cravatta.php). */
.myc-catalogo .pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.myc-catalogo .deal { font-size: 0.8125rem; font-weight: 500; color: var(--green); }
.myc-catalogo .need { margin-top: 10px; font-size: 0.8125rem; color: #A2412F; }
.myc-catalogo .sec-gap { margin-top: var(--sec); }
.myc-catalogo .cfg .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.myc-catalogo .fabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.myc-catalogo .fab { display: block; padding: 3px; border: 1px solid transparent; text-align: left; }
.myc-catalogo .fab img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.myc-catalogo .fab span { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 400; line-height: 1.3; color: var(--grey); }
.myc-catalogo .fab.on { border-color: var(--ink); }
.myc-catalogo .fab.on span { color: var(--ink); }
.myc-catalogo .allfabs summary { cursor: pointer; list-style: none; }
.myc-catalogo .allfabs summary::-webkit-details-marker { display: none; }
.myc-catalogo .allfabs .fabs { max-height: 420px; overflow-y: auto; }
.myc-catalogo button.fab { background: none; cursor: pointer; font: inherit; }
.myc-catalogo .gallery .main .swatch { position: absolute; top: 14px; left: auto; right: 14px; bottom: auto; width: 26%; height: auto; aspect-ratio: 1/1; object-fit: cover; border: 3px solid #FFFFFF; box-shadow: 0 2px 10px rgba(24,32,45,0.18); pointer-events: none; }
.myc-catalogo .btnopt img { width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; object-fit: cover; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(24,32,45,0.25); }
.myc-catalogo .threads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.myc-catalogo .threads button { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid rgba(24,32,45,0.2); background: var(--c, #FFFFFF); cursor: pointer; outline-offset: 3px; overflow: hidden; }
.myc-catalogo .threads button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.myc-catalogo .threads button.on { outline: 1px solid var(--ink); }
/* Foto dei bottoni (colore dei bottoni del boxer): più grandi dei fili, si vedono i quattro fori */
.myc-catalogo .threads.imgs button { width: 44px; height: 44px; }
/* Stile delle iniziali del boxer: "ABC" nei font del ricamo, gli stessi dell'anteprima iniziali del configuratore camicia
   (plugin myc: Moderno = Montserrat, Classico = Pinyon Script) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/montserrat/montserrat-latin.woff2') format('woff2'); }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/pinyon-script/pinyon-script-latin.woff2') format('woff2'); }
.myc-catalogo .fontsample { display: block; margin-bottom: 6px; font-family: Montserrat, var(--sans); font-size: 1.375rem; font-weight: 600; letter-spacing: 0.04em; text-transform: none; }
.myc-catalogo .fontsample.script { font-family: 'Pinyon Script', var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: 0; line-height: 1; }
/* Posizione delle iniziali del boxer: il disegno di mycamicia.it (spunta sulla gamba scelta), scelta a fondo blu scuro come le altre */
.myc-catalogo .posopt { padding: 10px 14px 12px; }
.myc-catalogo .posopt img { display: block; width: 96px; height: 96px; margin: 0 auto 6px; }
.myc-catalogo div.qty { display: inline-flex; height: 56px; border: 1px solid var(--line); }
.myc-catalogo div.qty button { width: 44px; border: 0; background: none; font-size: 1.125rem; cursor: pointer; color: var(--ink); }
.myc-catalogo div.qty span { display: flex; align-items: center; justify-content: center; width: 36px; font-size: 0.9375rem; }
.myc-catalogo .pairing { flex: 0 0 100%; margin-top: 4px; padding: 20px 20px 8px; border: 1px solid var(--line); }
.myc-catalogo .pairing-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.myc-catalogo .pairing a.addon:hover b { text-decoration: underline; }
.myc-catalogo .addon-flat { border: 0; padding-top: 12px; }
@media (max-width: 640px) {
  .myc-catalogo .fabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
