/* Zapatería: tallas en botones, guía de tallas, filtro por talla y beneficios de compra.
   --shop-primary lo define el layout con el color principal de la tienda. */

/* ---------- Opciones del producto */
.product-options .option-group { margin-bottom: 18px; }
.option-group-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; margin-bottom: 8px;
}
.option-group-label { font-size: 14px; color: #6b7280; }
.option-group-label strong { color: #1f2937; font-weight: 600; }
.size-guide-link {
    font-size: 13px; font-weight: 600; color: var(--shop-primary, #3d7bff);
    text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip {
    min-width: 52px; height: 44px; padding: 0 14px;
    border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
    color: #1f2937; font-size: 14px; font-weight: 500; line-height: 1;
    cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.option-chip:hover:not([disabled]) { border-color: #1f2937; }
.option-chip:focus-visible { outline: 2px solid var(--shop-primary, #3d7bff); outline-offset: 2px; }
.option-chip.active {
    border-color: #1f2937; background: #1f2937; color: #fff;
}
.option-chip[disabled] {
    color: #b0b5bd; background: #f6f7f8; border-color: #e5e7eb; cursor: not-allowed;
    text-decoration: line-through;
}
.option-stock-note {
    display: none; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #c2410c;
}
.option-stock-note.show { display: block; }

/* ---------- Beneficios de compra */
.purchase-perks {
    list-style: none; margin: 18px 0 14px; padding: 12px 14px;
    border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa;
}
.purchase-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #4b5563; }
.purchase-perks li + li { margin-top: 8px; }
.purchase-perks i { font-size: 16px; color: var(--shop-primary, #3d7bff); margin-top: 1px; }
.purchase-perks strong { color: #1f2937; }
.purchase-perks a { font-weight: 600; margin-left: 2px; }

/* ---------- Guía de tallas */
.size-guide-modal .modal-title { font-weight: 600; }
.size-guide-modal .nav-tabs { margin-bottom: 0; }
.size-guide-table { margin: 0; font-size: 14px; }
.size-guide-table th { background: #f6f7f8; font-weight: 600; white-space: nowrap; }
.size-guide-table td, .size-guide-table th { text-align: center; vertical-align: middle; }
.size-guide-empty {
    margin: 0; padding: 28px 16px; text-align: center; font-size: 14px; color: #6b7280;
    border: 1px dashed #d1d5db; border-radius: 10px;
}
.size-guide-measure { margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: #f6f7f8; }
.size-guide-measure h5 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.size-guide-measure ol { margin: 0 0 10px; padding-left: 18px; font-size: 14px; color: #4b5563; }
.size-guide-tip { margin: 0; font-size: 13px; font-weight: 600; color: #1f2937; }

/* ---------- Filtro por talla (catálogo) */
.size-filter { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.size-filter-chip {
    height: 38px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff;
    font-size: 13px; font-weight: 500; color: #1f2937; cursor: pointer;
}
.size-filter-chip:hover { border-color: #1f2937; }
.size-filter-chip.active { background: #1f2937; border-color: #1f2937; color: #fff; }
.size-filter-hint { margin: 10px 0 0; font-size: 12px; color: #6b7280; }

@media (max-width: 575px) {
    .option-chip { min-width: 48px; height: 42px; padding: 0 12px; }
}
