/* Labels are consistently stacked without stretching across the photograph. */
body.shop .store-badges,body.shop .shop-card .store-badges,body.shop .detail38-info>.store-badges{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;width:max-content;max-width:calc(100% - 60px);height:auto;inset:auto;top:12px;left:12px;right:auto;bottom:auto}
body.shop .store-badge{flex:0 0 auto;width:max-content;max-width:100%;min-height:0;line-height:1.35;padding:5px 9px;font-size:10px;white-space:normal;border-radius:6px}
body.shop .detail38-info>.store-badges{position:static;margin-bottom:12px;max-width:100%}
body.shop .store-card-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 9px}
body.shop .store-card-price del{font-size:12px;color:#7b7078!important}
body.shop .p40-discount{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:3px 6px;background:#fff0f3;color:#ae1436;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap}
body.shop .p40-discount[hidden],body.shop .store-card-price del[hidden]{display:none!important}
body.shop .detail38 .shop-price-block #shop-product-regular{grid-column:1;grid-row:2;font-size:14px;color:#776570}
body.shop .detail38 .shop-price-block .p40-discount{grid-column:2;grid-row:2;justify-self:end;font-size:12px}
body.shop .p40-widget{display:grid;gap:10px;margin:7px 0 3px;color:#3b2834;font-family:Manrope,sans-serif}
body.shop .p40-widget[hidden]{display:none!important}
body.shop .p40-timer{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;line-height:1.5;padding:8px 10px;border:1px solid #f0d7df;border-radius:8px;background:#fff8fa;flex-wrap:wrap}
body.shop .p40-timer strong{color:#a61235;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
body.shop .p40-progress>div{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.5;margin-bottom:5px}
body.shop .p40-progress strong{font-size:10px;font-weight:750;color:#56334a}
body.shop .p40-progress progress{display:block;width:100%;height:7px;margin:0;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#eee8ec}
body.shop .p40-progress progress::-webkit-progress-bar{background:#eee8ec;border-radius:8px}
body.shop .p40-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#9f1537,#d33859);border-radius:8px}
body.shop .p40-progress progress::-moz-progress-bar{background:#b71940;border-radius:8px}
body.shop .detail38 .p40-widget{margin:14px 0 18px;gap:12px}
body.shop .detail38 .p40-timer{font-size:12px;padding:10px 12px}
body.shop .detail38 .p40-timer strong{font-size:15px}
body.shop .detail38 .p40-progress>div,body.shop .detail38 .p40-progress strong{font-size:12px}
.p40-editor-section{padding:18px 0;border-bottom:1px solid #e8dee5}
.p40-editor-section:last-child{border:0}
.p40-editor-check{display:flex!important;align-items:center;gap:10px;font-size:14px!important;font-weight:700;line-height:1.5;margin:0 0 14px}
.p40-editor-check input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;accent-color:#b51c40}
.p40-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.p40-editor-fields label{display:grid;gap:7px;font-size:12px}
.p40-editor-fields input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #d9cfd6;border-radius:8px;padding:10px;font:14px Manrope,sans-serif}
.p40-editor-fields input:disabled{background:#f3f0f2;color:#7e7380}
.p40-editor-fields p{font-size:12px;line-height:1.7;align-self:center;margin:0;color:#7a2440}
.p40-reset{font-weight:500!important;font-size:12px!important}
@media(max-width:700px){body.shop .store-badges,body.shop .shop-card .store-badges{top:8px;left:8px;max-width:calc(100% - 52px);gap:4px}body.shop .detail38-info>.store-badges{position:static;max-width:100%}body.shop .store-badge{padding:4px 7px;font-size:9px}body.shop .p40-timer{padding:7px 8px;font-size:9px}body.shop .p40-timer strong{font-size:11px}.p40-editor-fields{grid-template-columns:minmax(0,1fr)}}

body.shop .p40-timer[hidden]{display:none!important}
/* Keep the new-price baseline aligned even when the old price and discount vary. */
body.shop .shop-card .store-card-price{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center}
body.shop .shop-card .store-card-price del{grid-column:1;grid-row:1}
body.shop .shop-card .store-card-price .p40-discount{grid-column:2;grid-row:1;justify-self:end}
body.shop .shop-card .store-card-price strong{grid-column:1/-1;grid-row:2}
