/* ===== ESW PDP price — mockup style (big navy + struck old price + save pill) ===== */
.catalog-product-view .product-info-main .price-box{
    display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;margin:8px 0 12px;
}
.catalog-product-view .product-info-main .price-box .special-price{order:1}
.catalog-product-view .product-info-main .price-box .old-price{order:2}
.catalog-product-view .product-info-main .price-box .esw-you-save{order:3}
.catalog-product-view .product-info-main .price-box .special-price,
.catalog-product-view .product-info-main .price-box .old-price,
.catalog-product-view .product-info-main .price-box .normal-price{
    display:inline-flex;align-items:flex-end;
}

/* final price — big navy */
.catalog-product-view .product-info-main .price-box .price{
    font-size:38px;font-weight:900;color:#14296b;line-height:1;
}

/* old / regular price — struck, muted */
.catalog-product-view .product-info-main .price-box .old-price .price{
    font-size:20px;font-weight:600;color:#6b7280;text-decoration:line-through;
}

/* hide the "Special Price" / "Regular Price" labels (mockup has none) */
.catalog-product-view .product-info-main .price-box .special-price .price-label,
.catalog-product-view .product-info-main .price-box .old-price .price-label{display:none}

/* keep the "As low as" label for configurables */
.catalog-product-view .product-info-main .price-box .minimal-price .price-label,
.catalog-product-view .product-info-main .price-box .price-from .price-label{
    display:block;font-size:12px;font-weight:600;color:#6b7280;margin-bottom:3px;
}

/* "You save $X" pill (injected by you-save.phtml) */
.catalog-product-view .product-info-main .esw-you-save{
    background:#fdeaea;color:#bc1212;font-weight:800;font-size:13px;
    padding:6px 12px;border-radius:7px;align-self:center;white-space:nowrap;line-height:1;
}

/* ===== Price above the stock / SKU row ===== */
.catalog-product-view .product-info-main .product-info-price{display:flex;flex-direction:column}
.catalog-product-view .product-info-main .product-info-price .price-box{order:0;margin-bottom:6px}
.catalog-product-view .product-info-main .product-info-price .product-info-stock-sku{order:1}

/* ===== Meta row: rating + stock + SKU on ONE line, above the price ===== */
.catalog-product-view .product-info-main .product-reviews-summary{
    display:inline-flex;align-items:center;gap:8px;float:none;margin:2px 0 14px;vertical-align:middle;
}
.catalog-product-view .product-info-main .product-reviews-summary .rating-summary{margin:0}
.catalog-product-view .product-info-main .product-reviews-summary .reviews-actions{
    display:inline-flex;gap:12px;margin:0 0 0 8px;float:none;font-size:13px;line-height:1;
}
.catalog-product-view .product-info-main .product-info-stock-sku{
    display:inline-flex;align-items:center;gap:14px;margin:2px 0 14px;
    padding-left:16px;margin-left:16px;border-left:1px solid #e6e9ef;vertical-align:middle;font-size:13px;
}
.catalog-product-view .product-info-main .product-info-stock-sku .stock,
.catalog-product-view .product-info-main .product-info-stock-sku .product.attribute.sku{margin:0}
.catalog-product-view .product-info-main .product-info-stock-sku .stock span{color:#0f9447;font-weight:700}

/* flex meta-row wrapper (rating | stock + sku) */
.catalog-product-view .product-info-main .esw-meta-row{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:2px 0 14px}
.catalog-product-view .product-info-main .esw-meta-row .product-reviews-summary{margin:0}
.catalog-product-view .product-info-main .esw-meta-row .product-info-stock-sku{margin:0}
/* force rating before stock/sku in the flex meta row */
.catalog-product-view .product-info-main .esw-meta-row .product-reviews-summary{order:0}
.catalog-product-view .product-info-main .esw-meta-row .product-info-stock-sku{order:1}
/* ===== Meta-row colors — match product-detail mockup ===== */
.catalog-product-view .product-info-main .esw-meta-row .stock span{color:#0f9447;font-weight:700;text-transform:uppercase;letter-spacing:.3px;font-size:13px}
.catalog-product-view .product-info-main .esw-meta-row .configurable-variation-qty{display:none}
.catalog-product-view .product-info-main .esw-meta-row .product.attribute.sku{font-size:13px}
.catalog-product-view .product-info-main .esw-meta-row .product.attribute.sku .type{color:#6b7280;font-weight:700}
.catalog-product-view .product-info-main .esw-meta-row .product.attribute.sku .value{color:#1f2a44;font-weight:600}
.catalog-product-view .product-info-main .esw-meta-row .rating-result:before{color:#dfe3ec}
.catalog-product-view .product-info-main .esw-meta-row .rating-result > span:before{color:#fdc700}
.catalog-product-view .product-info-main .esw-meta-row .reviews-actions a{color:#1344b1;font-weight:600}
.catalog-product-view .product-info-main .esw-meta-row .reviews-actions a:hover{color:#14296b}
/* ===== Description blurb + quick-specs (mockup style) ===== */
.catalog-product-view .product-info-main .mconnect-overview{margin:4px 0 18px;padding-bottom:18px;border-bottom:1px solid #e6e9ef}
.catalog-product-view .product-info-main .mconnect-overview .mconnect-overview-text{font-size:16px;color:#374151;line-height:1.7}
.catalog-product-view .product-info-main .mconnect-overview .mconnect-read-more{font-size:14px}
/* quick specs: 2-column grid, uppercase muted label + navy value */
.catalog-product-view .product-info-main .eo-promo__specs{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;margin:0 0 22px;align-items:start}
.catalog-product-view .product-info-main .eo-promo__spec{display:block;padding:8px 0;border-bottom:1px solid #eef1f6}
.catalog-product-view .product-info-main .eo-promo__spec dt{display:block;flex:none;margin:0 0 3px;color:#6b7280;font-weight:700;font-size:11.5px;text-transform:uppercase;letter-spacing:.5px}
.catalog-product-view .product-info-main .eo-promo__spec dd{display:block;color:#14296b;font-size:14.5px;font-weight:600;margin:0}
/* meta-row refinements to match v5 mockup */
.catalog-product-view .product-info-main .esw-meta-row .reviews-actions .action.add:before{content:"\00b7";color:#cdd5ec;font-weight:700;margin:0 8px 0 6px}
.catalog-product-view .product-info-main .esw-meta-row .product.attribute.sku{padding-left:16px;border-left:1px solid #e6e9ef}
/* ===== Pack-size swatches as v5 buttons (size + discounted price) ===== */
.catalog-product-view .product-options-wrapper .swatch-attribute-label{font-size:13px;font-weight:700;color:#14296b;margin-bottom:8px;display:inline-block}
.catalog-product-view .product-options-wrapper .swatch-attribute-selected-option{color:#6b7280;font-weight:500}
.catalog-product-view .swatch-attribute .swatch-attribute-options{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 0}
.catalog-product-view .swatch-attribute .swatch-option.text{
    min-width:90px;width:auto;height:auto;max-height:none;overflow:visible;line-height:1.2;
    padding:14px 18px;margin:0;border:2px solid #e6e9ef;border-radius:12px;background:#fff;color:#14296b;
    font-weight:700;font-size:18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;
    transition:border-color .15s,background .15s,color .15s;
}
.catalog-product-view .swatch-attribute .swatch-option.text:hover{border-color:#1344b1;background:#fff;color:#1344b1}
.catalog-product-view .swatch-attribute .swatch-option.text.selected{border-color:#1344b1;background:#eef3ff;color:#1344b1}
.catalog-product-view .swatch-attribute .swatch-option.text .esw-opt-price{font-size:13px;font-weight:700;color:#6b7280}
.catalog-product-view .swatch-attribute .swatch-option.text.selected .esw-opt-price{color:#1344b1}
/* ===== consistent right-column vertical spacing (uniform 16px rhythm) ===== */
.catalog-product-view .product-info-main .esw-cat-path{margin:0 0 16px}
.catalog-product-view .product-info-main .page-title-wrapper{margin:0}
.catalog-product-view .product-info-main .page-title-wrapper .page-title{margin:0 0 16px}
.catalog-product-view .product-info-main .esw-meta-row{margin:0 0 16px}
.catalog-product-view .product-info-main .product-info-price{margin:0}
.catalog-product-view .product-info-main .price-box{margin:0 0 16px}
.catalog-product-view .product-info-main .esw-cfg-discount{margin:0 0 6px}
.catalog-product-view .product-info-main .esw-price-note{margin:0 0 16px}
.catalog-product-view .product-info-main .mconnect-overview{margin:0 0 16px;padding-bottom:16px}

/* Remove native "IN STOCK" from the meta row — the buy-row badge covers availability.
   Keep SKU; collapse the now-duplicate separator so it reads: reviews | SKU. */
.catalog-product-view .product-info-main .esw-meta-row .product-info-stock-sku .stock{display:none}
.catalog-product-view .product-info-main .esw-meta-row .product.attribute.sku{padding-left:0;border-left:0}

/* ===== OOS variant swatch: keep VISIBLE + disabled-looking (greyed), no red diagonal strike ===== */
.catalog-product-view .swatch-attribute .swatch-option.text.disabled,
.catalog-product-view .swatch-attribute .swatch-option.text.swatch-option-disabled,
.catalog-product-view .swatch-attribute .swatch-option.text[disabled]{
    background:#f3f5f9 !important;border-color:#e6e9ef !important;color:#9aa3b3 !important;
    cursor:not-allowed;opacity:1 !important;
}
.catalog-product-view .swatch-attribute .swatch-option.text.disabled:hover,
.catalog-product-view .swatch-attribute .swatch-option.text.swatch-option-disabled:hover{
    background:#f3f5f9 !important;border-color:#e6e9ef !important;color:#9aa3b3 !important;
}
/* kill the diagonal strike-through line */
.catalog-product-view .swatch-attribute .swatch-option.disabled:after,
.catalog-product-view .swatch-attribute .swatch-option-disabled:after,
.catalog-product-view .swatch-attribute .swatch-option.text.disabled:after{
    display:none !important;content:none !important;background:none !important;
}
.catalog-product-view .swatch-attribute .swatch-option.text.disabled .esw-opt-price{color:#aab0bd !important}

/* OOS swatch is CLICKABLE (greyed but selectable, to view its out-of-stock + restock state) */
.catalog-product-view .swatch-attribute .swatch-option.text.disabled{cursor:pointer !important;pointer-events:auto !important}
