/* Identidad Distrifarmac: azul, turquesa y magenta del logotipo oficial. */
.manual-stage{background:#172b43;border-radius:14px;padding:12px;display:grid;place-items:center;min-height:240px}.manual-stage svg{display:block;width:100%;height:340px;touch-action:none;cursor:crosshair;user-select:none}.manual-selection{fill:#168ee01a;stroke:#ee54b4;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.manual-crop-result{position:relative;display:block;overflow:hidden;isolation:isolate}.manual-crop-result img{position:absolute;display:block;max-width:none!important;object-fit:fill!important;padding:0!important;background:transparent!important}.product-media{overflow:hidden}.product-media .manual-crop-result{height:100%;width:auto;max-width:100%}.detail-product>div:first-child{display:grid;place-items:center;overflow:hidden}.detail-product .manual-crop-result{height:260px;width:auto;max-width:100%}.weekly-content .manual-crop-result{height:76px;width:auto;max-width:76px;flex-shrink:0}@media(max-width:600px){.manual-stage svg{height:260px}.detail-product .manual-crop-result{height:180px}}
.client-offers{margin:0 0 36px;border:1px solid #dfd5ec;border-radius:24px;background:linear-gradient(115deg,#edf5ff,#faf0f7);overflow:hidden;padding:28px}.offers-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.offers-kicker{font-size:10px;font-weight:750;letter-spacing:.12em;color:#a12c70}.offers-heading h2{font-size:32px;margin-top:10px;color:#164780}.offers-heading p{font-size:13px;max-width:580px;margin-bottom:0}.offers-symbol{font-size:64px;color:#b83379}.offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.offer-card{position:relative;border-color:#e2d5e7!important}.offer-tag{position:absolute;z-index:1;top:12px;left:12px;background:#a92b70;color:#fff;padding:7px 10px;border-radius:6px;font-size:10px;font-weight:700;pointer-events:none}.offer-card .product-media{padding-top:42px}.offer-card .primary{background:linear-gradient(110deg,#a72b74,#75448d)}.offer-validity{font-size:11px;line-height:1.5;margin:6px 0;color:#785474}.offer-settings{border:1px solid #dfd5ec;border-radius:12px;padding:18px;display:grid;gap:14px}.offer-settings legend{font-size:13px;font-weight:700;color:#942962}@media(max-width:800px){.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.client-offers{padding:18px;border-radius:18px}.offers-heading h2{font-size:27px}.offers-symbol{display:none}.offers-grid{grid-template-columns:1fr}.offer-card .product-media{height:180px}.offer-card .product-media img{height:130px}.offer-card .product-buy{flex-wrap:nowrap}.offer-card .product-buy input{width:65px}.offer-card .product-buy button{width:auto}}
:root{--ink:#123966;--muted:#59718c;--teal:#1856a5;--teal-dark:#124381;--pink:#b83379;--cream:#f8fbff;--line:#dce6f1;--soft:#eef6fd;--shadow:0 18px 50px #174a9012}
body{background:#f8fbff}
.brand-strip b,.step-no,.stat strong,.product-price,.catalog-banner>span{font-family:'Manrope','Segoe UI',Arial,sans-serif}
.topline{background:#133e7d;color:#edf6ff}.topline span span{color:#55cad7}
.header{background:#fffffff7;border-bottom-color:#e2eaf4;min-height:112px}
/* El archivo original tiene amplios márgenes blancos. Se encuadra con CSS,
   sin deformarlo, cambiar sus colores o reducir su opacidad. */
.logo-frame{position:relative;display:block;overflow:hidden;flex-shrink:0;width:290px;aspect-ratio:1140/315;background:transparent;mix-blend-mode:multiply}
.logo-frame img,.brand.logo-frame img,.footer .logo-frame img{position:absolute;max-width:none;width:113.1579%;height:auto;left:-5.7018%;top:-160.3175%;object-fit:initial;filter:none;opacity:1;mix-blend-mode:normal}
.footer-logo{width:300px;border-radius:0}
.header nav{gap:28px}.primary{background:linear-gradient(110deg,#1755a8,#167fa9);box-shadow:0 7px 18px #1b60b51a}.primary:hover{background:linear-gradient(110deg,#124184,#126989)}
.outline{border-color:#becfe6;background:#ffffff80}.outline:hover{background:#edf5fd}.plain{color:#194b8b}
.hero{background:radial-gradient(ellipse at 7% 9%,#e6f6fc85,transparent 46%);padding-top:52px}
.hero h1{color:#143866}.hero h1 em{color:#1856a5}.hero h1 em:after{background:linear-gradient(90deg,#bb367b,#2cb3c3);width:112px}
.eyebrow{color:#176097}.hero-proof b{border-color:#c8d9ef;color:#225bab}
.scene-overlay{background:linear-gradient(180deg,#12396c00 20%,#153f6c50 70%,#143a75a0)}
.weekly-card{border-top:3px solid #2cb3c3;background:#ffffffef;box-shadow:0 24px 60px #173a7525}
.little-cross{background:#155fa725}.weekly-content img,.product-placeholder{background:#edf5fc;color:#2876b3}
.brand-strip{background:linear-gradient(95deg,#eaf4fd,#f2f7fc 60%,#fbf1f8);border-color:#dce8f5}.strip-dot{color:#ba3b80}
.steps article{border-color:#dae5f1;box-shadow:0 10px 30px #174a9006}.step-no{color:#c7d9f0}.step-symbol{color:#1f69b2;border-color:#d4e3f4;background:#eef6fe}
.steps article:nth-child(2) .step-symbol{color:#147d93;background:#eaf9fc;border-color:#c7eaf1}
.steps article:nth-child(3) .step-symbol{color:#ad3576;background:#fcf0f7;border-color:#eed8e7}
.partner-copy{background:linear-gradient(135deg,#eef6fd,#f4f7fc 70%,#faf1f8)}
.footer{background:linear-gradient(120deg,#edf5fd,#f7faff);border-color:#dce7f3;isolation:isolate}.footer-bottom{border-color:#d9e4f1}
.catalog-banner{background:linear-gradient(110deg,#163d81,#205faf 58%,#2496b0)}.catalog-banner p{color:#e0efff}.catalog-banner>span{color:#83dbe4}
.workspace-tabs button.active{color:#1755a5;border-color:#b8397c}.workspace-tabs button:hover{background:#edf5fd}
input,select,textarea{border-color:#c6d7ed}.product-media{background:linear-gradient(140deg,#f5f9fe,#eaf4fc)}.product-media .product-placeholder{color:#65a1ce}
.product-brand{color:#24659f}.empty-state{border-color:#c5d7ee}.stat,.panel,.order-card,.product-card{border-color:#dce6f3}.bar-track{background:#edf3fc}.bar-fill{background:linear-gradient(90deg,#2661af,#2ab4c4)}
.data-table th{background:#f0f5fc}.info-box{background:#edf6fd;border-color:#ccdfef;color:#2c6086}.info-box.amber{background:#fff6e6;border-color:#eddbb8;color:#78571f}
.modal,.drawer{box-shadow:0 28px 100px #153b6f49}.modal::backdrop,.drawer::backdrop{background:#102f5b70}.close{background:#eaf1fb}.notice{background:#184782;border-color:#4276b7;box-shadow:0 12px 45px #153f752a}.notice.error{background:#893450;border-color:#a34f70}
.skeleton{background:linear-gradient(100deg,#eaf0f9 30%,#f7faff 45%,#eaf0f9 60%);background-size:200%}
@media(max-width:1100px){.logo-frame{width:250px}.header nav{gap:18px}}
@media(max-width:800px){.logo-frame{width:240px}.header{min-height:94px}}
@media(max-width:520px){.header{padding:10px 14px;min-height:88px}.logo-frame{width:210px}.header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:145px}.header-actions .button{font-size:11px;padding:8px 10px;min-height:35px}.footer-logo{width:275px;max-width:100%}.hero h1{font-size:39px}}
@media(max-width:370px){.brand.logo-frame{width:185px}.header{gap:4px}.header-actions .button{padding:7px 8px;font-size:10px}.hero h1{font-size:35px}}
.image-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:25px}.image-review-card{overflow:hidden;border:1px solid #d8e5f2;border-radius:14px;background:#fff}.image-review-media{height:170px;display:grid;place-items:center;background:#f3f8fd;padding:12px;overflow:hidden}.image-review-media>img,.image-review-media>.product-image-crop{display:block;width:100%;height:100%;object-fit:contain}.image-review-media>.manual-crop-result{height:100%;width:auto;max-width:100%}.image-review-card-content{padding:14px}.image-review-card small{display:block;min-height:30px;color:#5d7592;font-size:10px;word-break:break-word}.image-source-link{display:inline-block;margin-top:8px;color:#1768ad;font-size:12px;font-weight:700;text-decoration:none}.image-source-link:hover{text-decoration:underline}.image-review-card h3{font-size:14px;margin:10px 0 14px;letter-spacing:-.02em}@media(max-width:900px){.image-review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.image-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-review-media{height:135px}.image-review-card-content{padding:11px}.image-review-card h3{font-size:12px}.image-review-card .button{width:100%;font-size:11px;padding:8px}}
.product-image-crop{display:block;overflow:hidden;isolation:isolate}.product-image-crop img{width:100%;height:100%;object-fit:contain;object-position:var(--image-x) var(--image-y);transform:scale(var(--image-zoom));transition:transform .18s ease,object-position .18s ease}.product-media .product-image-crop{width:100%;height:130px}.product-media .product-image-crop[data-aspect="square"]{width:130px}.product-media .product-image-crop[data-aspect="portrait"]{width:104px}.weekly-content .product-image-crop{width:76px;height:76px;border-radius:14px;flex-shrink:0}.detail-product .product-image-crop{width:100%;height:260px}.crop-editor-preview{height:280px;border:1px solid #d8e5f2;border-radius:16px;background:#f3f8fd;display:grid;place-items:center;padding:18px;overflow:hidden;touch-action:none;cursor:grab}.crop-editor-preview:active{cursor:grabbing}.crop-editor-preview[data-aspect="square"]{width:min(100%,300px);height:auto;aspect-ratio:1;margin-inline:auto}.crop-editor-preview[data-aspect="portrait"]{width:min(100%,240px);height:auto;aspect-ratio:4/5;margin-inline:auto}.crop-editor-preview .product-image-crop{width:100%;height:100%}.crop-editor-preview img{background:#fff;border-radius:10px}@media(max-width:600px){.detail-product .product-image-crop{height:180px}.crop-editor-preview{height:220px}.weekly-content .product-image-crop{width:62px;height:62px}}
.product-image-crop{display:block;overflow:hidden;isolation:isolate}.product-image-crop img{width:100%;height:100%;object-fit:contain;object-position:var(--image-x) var(--image-y);transform:scale(var(--image-zoom));transition:transform .18s ease,object-position .18s ease}.product-media .product-image-crop{width:100%;height:130px}.product-media .product-image-crop[data-aspect="square"]{width:130px}.product-media .product-image-crop[data-aspect="portrait"]{width:104px}.weekly-content .product-image-crop{width:76px;height:76px;border-radius:14px;flex-shrink:0}.detail-product .product-image-crop{width:100%;height:260px}.crop-editor-preview{height:280px;border:1px solid #d8e5f2;border-radius:16px;background:#f3f8fd;display:grid;place-items:center;padding:18px;overflow:hidden;touch-action:none;cursor:grab}.crop-editor-preview:active{cursor:grabbing}.crop-editor-preview[data-aspect="square"]{width:min(100%,300px);height:auto;aspect-ratio:1;margin-inline:auto}.crop-editor-preview[data-aspect="portrait"]{width:min(100%,240px);height:auto;aspect-ratio:4/5;margin-inline:auto}.crop-editor-preview .product-image-crop{width:100%;height:100%}.crop-editor-preview img{background:#fff;border-radius:10px}@media(max-width:600px){.detail-product .product-image-crop{height:180px}.crop-editor-preview{height:220px}.weekly-content .product-image-crop{width:62px;height:62px}}
/* Integración visual no destructiva: el blanco de las fotos asignadas se
   funde con el fondo de cada módulo; el archivo original permanece intacto. */
.product-media .manual-crop-result,.product-media .product-image-crop,.detail-product .manual-crop-result,.detail-product .product-image-crop,.weekly-content .manual-crop-result,.weekly-content .product-image-crop,.image-review-media .manual-crop-result,.image-review-media .product-image-crop{isolation:auto}
.product-media img,.detail-product img,.weekly-content img,.image-review-media .manual-crop-result img,.image-review-media .product-image-crop img{mix-blend-mode:multiply}
.form-stack select optgroup{font-weight:800;color:#1755a5;background:#edf5fd}.form-stack select option{font-weight:500;color:#123966;background:#fff;padding-block:6px}
