/* =========================================================
   AMAJED — COLD ROOMS / COLD STORES
   Project-engineering landing page
========================================================= */

.cr-page{
    --cr-ink:#061520;
    --cr-navy:#081d2b;
    --cr-navy-2:#0d2c40;
    --cr-blue:#09afe8;
    --cr-blue-2:#1486ce;
    --cr-line:rgba(8,36,54,.12);
    --cr-soft:#f5f8fa;
    --cr-muted:#687983;
    overflow:hidden;
    background:#fff;
    color:#071722
}
.cr-page *{box-sizing:border-box}

.cr-page[dir="rtl"]{
    direction:rtl;
    text-align:right
}
.cr-page img,.cr-page video{display:block;max-width:100%}
.cr-page a{text-decoration:none}
.cr-section{padding:clamp(64px,7vw,108px) 0}
.cr-section-soft{background:linear-gradient(180deg,#f7fafb 0%,#fff 100%)}
.cr-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#079fd7;font-size:.75rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.cr-section-head{max-width:800px;margin:0 auto 38px;text-align:center}
.cr-section-head h2{margin:12px 0 14px;font-size:clamp(2rem,4vw,4rem);line-height:1.05;letter-spacing:-.045em}
.cr-section-head p{margin:0;color:var(--cr-muted);line-height:1.85}
.cr-section-head-light{color:#fff}
.cr-section-head-light p{color:rgba(255,255,255,.68)}

/* HERO */
.cr-hero{position:relative;min-height:min(820px,88vh);display:flex;align-items:stretch;background:#06131d;color:#fff}
.cr-hero-media,.cr-hero-shade{position:absolute;inset:0}
.cr-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.cr-hero-shade{background:linear-gradient(90deg,rgba(3,15,23,.96) 0%,rgba(4,18,27,.86) 39%,rgba(4,18,27,.35) 70%,rgba(4,18,27,.18) 100%)}
.cr-page[dir="rtl"] .cr-hero-shade{background:linear-gradient(270deg,rgba(3,15,23,.96) 0%,rgba(4,18,27,.86) 39%,rgba(4,18,27,.35) 70%,rgba(4,18,27,.18) 100%)}
.cr-hero-inner{position:relative;z-index:2;display:flex;flex-direction:column;width:100%;padding-top:clamp(42px,5vw,76px);padding-bottom:38px}
.cr-breadcrumb{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.52);font-size:.78rem}
.cr-breadcrumb a{color:rgba(255,255,255,.62)}
.cr-breadcrumb strong{color:#fff}
.cr-hero-copy{max-width:760px;margin-top:auto;padding:50px 0 38px}
.cr-hero-copy h1{margin:14px 0 12px;max-width:760px;font-size:clamp(3rem,6vw,6.7rem);line-height:.93;letter-spacing:-.06em}
.cr-hero-en{margin:0 0 17px;color:#fff;font-size:1rem;font-weight:700;letter-spacing:.04em}
.cr-lead{max-width:700px;margin:0;color:rgba(255,255,255,.72);font-size:clamp(.98rem,1.2vw,1.12rem);line-height:1.85}
.cr-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.cr-btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:0 22px;border:1px solid transparent;border-radius:11px;font-weight:850;transition:.24s ease}
.cr-btn:hover{transform:translateY(-2px)}
.cr-btn-primary{background:linear-gradient(135deg,#0db8ec,#0a9ddd);color:#00131d;box-shadow:0 12px 30px rgba(4,178,233,.22)}
.cr-btn-ghost{border-color:rgba(255,255,255,.36);background:rgba(9,23,32,.25);color:#fff;backdrop-filter:blur(12px)}
.cr-proof-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:760px;border-top:1px solid rgba(255,255,255,.18)}
.cr-proof-bar article{padding:23px 24px 4px 0}
.cr-page[dir="rtl"] .cr-proof-bar article{padding:23px 0 4px 24px}
.cr-proof-bar article+article{border-inline-start:1px solid rgba(255,255,255,.14);padding-inline-start:24px}
.cr-proof-bar strong{display:block;font-size:1.65rem;line-height:1}
.cr-proof-bar span{display:block;margin-top:8px;color:rgba(255,255,255,.58);font-size:.76rem;line-height:1.55}

/* SYSTEM */
.cr-system-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--cr-line);border-radius:22px;overflow:hidden;box-shadow:0 20px 55px rgba(4,26,40,.06)}
.cr-system-card{min-height:235px;padding:24px 20px;background:#fff}
.cr-system-card+.cr-system-card{border-inline-start:1px solid var(--cr-line)}
.cr-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(6,164,218,.26);border-radius:12px;background:#f1fbff;color:#058dc1;font-size:.75rem;font-weight:900}
.cr-system-card h3{margin:22px 0 10px;font-size:1rem}
.cr-system-card p{margin:0;color:var(--cr-muted);font-size:.83rem;line-height:1.72}

/* GALLERY */
.cr-project-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;grid-template-rows:repeat(2,280px);gap:16px}
.cr-project-grid figure{position:relative;margin:0;overflow:hidden;border-radius:20px;background:#eaf0f2}
.cr-project-grid img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.cr-project-grid figure:hover img{transform:scale(1.025)}
.cr-project-main{grid-row:1 / 3}
.cr-project-grid figcaption{position:absolute;inset:auto 0 0;padding:54px 20px 18px;background:linear-gradient(transparent,rgba(2,14,21,.8));color:#fff}
.cr-project-grid figcaption strong,.cr-project-grid figcaption span{display:block}
.cr-project-grid figcaption span{margin-top:5px;color:rgba(255,255,255,.68);font-size:.78rem}

/* CONFIG */
.cr-config-section{padding:clamp(66px,7vw,105px) 0;background:radial-gradient(circle at 20% 20%,rgba(8,172,226,.12),transparent 30%),linear-gradient(145deg,#061927,#0a2639);color:#fff}
.cr-config-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cr-config-card{padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.045);box-shadow:inset 0 1px rgba(255,255,255,.05)}
.cr-config-label{display:block;margin-bottom:16px;color:#fff;font-size:.84rem;font-weight:850}
.cr-choice-list{display:grid;gap:8px}
.cr-choice-list button{width:100%;padding:10px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(0,0,0,.12);color:rgba(255,255,255,.68);font:inherit;font-size:.8rem;cursor:pointer;text-align:start;transition:.2s}
.cr-choice-list button:hover,.cr-choice-list button.is-active{border-color:rgba(10,184,235,.7);background:rgba(10,174,226,.12);color:#fff;box-shadow:inset 3px 0 #0ab5e9}
.cr-page[dir="rtl"] .cr-choice-list button:hover,
.cr-page[dir="rtl"] .cr-choice-list button.is-active{box-shadow:inset -3px 0 #0ab5e9}
.cr-config-note{margin:22px auto 0;max-width:800px;color:rgba(255,255,255,.5);font-size:.78rem;text-align:center}

/* VIDEO */
.cr-video-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:18px}
.cr-video-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cr-video-feature,.cr-video-small{overflow:hidden;border:1px solid var(--cr-line);border-radius:22px;background:#fff;box-shadow:0 18px 55px rgba(7,25,36,.07)}
.cr-video-frame{position:relative;background:#06151f;overflow:hidden}
.cr-video-feature .cr-video-frame{aspect-ratio:16/10}
.cr-video-small .cr-video-frame{aspect-ratio:9/11}
.cr-video-frame video{width:100%;height:100%;object-fit:cover;background:#06151f}
.cr-video-copy{padding:22px}
.cr-video-copy>span{color:#0a9fd6;font-size:.72rem;font-weight:900;letter-spacing:.1em}
.cr-video-copy h3{margin:8px 0;font-size:1.3rem}
.cr-video-copy p{margin:0;color:var(--cr-muted);font-size:.86rem;line-height:1.7}

/* WHY */
.cr-why{padding:clamp(64px,7vw,100px) 0;background:linear-gradient(145deg,#071a28,#0c2b40);color:#fff}
.cr-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(255,255,255,.1);border-radius:20px;overflow:hidden}
.cr-why-grid article{padding:28px 24px}
.cr-why-grid article+article{border-inline-start:1px solid rgba(255,255,255,.1)}
.cr-why-grid strong{color:#0bb4e8;font-size:.76rem}
.cr-why-grid h3{margin:20px 0 10px;font-size:1.08rem}
.cr-why-grid p{margin:0;color:rgba(255,255,255,.58);font-size:.83rem;line-height:1.72}

/* APPLICATIONS */
.cr-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cr-app-grid article{padding:25px;border:1px solid var(--cr-line);border-radius:18px;background:#fff}
.cr-app-grid span{color:#069ccf;font-size:.73rem;font-weight:900}
.cr-app-grid h3{margin:18px 0 9px;font-size:1.04rem}
.cr-app-grid p{margin:0;color:var(--cr-muted);font-size:.83rem;line-height:1.7}

/* PROCESS */
.cr-process{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none}
.cr-process li{position:relative;padding:20px 26px 4px}
.cr-process li:before{content:"";position:absolute;top:28px;inset-inline-start:0;width:100%;height:1px;background:#d7e3e8}
.cr-process li:first-child:before{inset-inline-start:50%;width:50%}
.cr-process li:last-child:before{width:50%}
.cr-page[dir="rtl"] .cr-process li:last-child:before{inset-inline-start:50%}
.cr-process li>span{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;margin:0 auto 20px;border-radius:50%;background:#069fd6;color:#fff;font-size:.74rem;font-weight:900;box-shadow:0 0 0 7px #fff}
.cr-process h3{margin:0 0 9px;text-align:center;font-size:.95rem}
.cr-process p{margin:0;color:var(--cr-muted);font-size:.8rem;line-height:1.65;text-align:center}

/* CTA */
.cr-final-cta{padding:clamp(62px,7vw,96px) 0;background:linear-gradient(90deg,rgba(5,25,38,.96),rgba(4,36,54,.9)),url("/frontend/assets/img/cold-rooms/cold-room-project-wide.webp") center/cover no-repeat;color:#fff}
.cr-final-cta-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.cr-final-cta h2{max-width:860px;margin:12px 0;font-size:clamp(2rem,4vw,4.1rem);line-height:1.04;letter-spacing:-.04em}
.cr-final-cta p{max-width:700px;margin:0;color:rgba(255,255,255,.65)}
.cr-final-actions{display:flex;flex-direction:column;gap:10px;min-width:230px}

/* REVEAL */
.cr-reveal{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}
.cr-reveal.is-visible{opacity:1;transform:none}

/* RTL */
.cr-page[dir="rtl"] .cr-page{
    font-family:inherit
}

.cr-page[dir="rtl"] .cr-hero-copy{
    width:min(100%,720px);
    max-width:720px;
    margin-left:auto;
    margin-right:0;
    text-align:right
}

.cr-page[dir="rtl"] .cr-hero-copy h1{
    max-width:720px;
    margin-top:16px;
    font-size:clamp(2.75rem,4.35vw,5rem);
    line-height:1.08;
    letter-spacing:0;
    text-wrap:balance
}

.cr-page[dir="rtl"] .cr-hero-copy .cr-eyebrow{
    letter-spacing:0;
    font-size:.86rem;
    line-height:1.5
}

.cr-page[dir="rtl"] .cr-hero-copy .cr-lead{
    max-width:690px;
    margin-left:auto;
    margin-right:0;
    font-size:clamp(.98rem,1.05vw,1.08rem);
    line-height:2;
    text-align:right
}

.cr-page[dir="rtl"] .cr-hero-actions{
    justify-content:flex-start
}

.cr-page[dir="rtl"] .cr-hero-actions .cr-btn span[aria-hidden="true"]{
    transform:rotate(180deg)
}

.cr-page[dir="rtl"] .cr-proof-bar{
    margin-left:auto;
    margin-right:0;
    direction:rtl
}

.cr-page[dir="rtl"] .cr-project-grid figcaption{
    text-align:right
}

/* Arabic hero tuning */
@media(max-width:1180px){
    .cr-page[dir="rtl"] .cr-hero-copy{
        max-width:660px
    }

    .cr-page[dir="rtl"] .cr-hero-copy h1{
        max-width:660px;
        font-size:clamp(2.6rem,5vw,4.3rem)
    }
}


/* =========================================================
   COLD ROOMS — GUARANTEED RTL LAYOUT
   The page owns its own `dir`, independent from global JS.
========================================================= */

.cr-page[dir="rtl"] .cr-hero-inner{
    direction:rtl
}

.cr-page[dir="rtl"] .cr-breadcrumb{
    direction:rtl;
    justify-content:flex-start;
    text-align:right
}

.cr-page[dir="rtl"] .cr-hero-copy{
    align-self:flex-end
}

.cr-page[dir="rtl"] .cr-hero-actions{
    direction:rtl;
    justify-content:flex-start
}

.cr-page[dir="rtl"] .cr-system-grid,
.cr-page[dir="rtl"] .cr-project-grid,
.cr-page[dir="rtl"] .cr-config-grid,
.cr-page[dir="rtl"] .cr-video-layout,
.cr-page[dir="rtl"] .cr-video-stack,
.cr-page[dir="rtl"] .cr-why-grid,
.cr-page[dir="rtl"] .cr-app-grid,
.cr-page[dir="rtl"] .cr-process{
    direction:rtl
}

.cr-page[dir="rtl"] .cr-system-card,
.cr-page[dir="rtl"] .cr-config-card,
.cr-page[dir="rtl"] .cr-video-copy,
.cr-page[dir="rtl"] .cr-why-grid article,
.cr-page[dir="rtl"] .cr-app-grid article{
    text-align:right
}

.cr-page[dir="rtl"] .cr-final-cta-inner{
    direction:rtl;
    text-align:right
}

.cr-page[dir="rtl"] .cr-final-cta-inner > div:first-child{
    margin-left:auto;
    margin-right:0
}

.cr-page[dir="rtl"] .cr-final-actions{
    direction:rtl
}


/* RESPONSIVE */
@media(max-width:1180px){
    .cr-system-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .cr-system-card:nth-child(4){border-inline-start:0}
    .cr-system-card:nth-child(n+4){border-top:1px solid var(--cr-line)}
    .cr-config-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .cr-video-layout{grid-template-columns:1fr}
    .cr-video-feature .cr-video-frame{aspect-ratio:16/8}
}
@media(max-width:900px){
    .cr-hero{min-height:760px}
    .cr-project-grid{grid-template-columns:1fr 1fr;grid-template-rows:400px 230px 230px}
    .cr-project-main{grid-column:1/3;grid-row:auto}
    .cr-why-grid,.cr-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .cr-why-grid article:nth-child(3){border-inline-start:0;border-top:1px solid rgba(255,255,255,.1)}
    .cr-why-grid article:nth-child(4){border-top:1px solid rgba(255,255,255,.1)}
    .cr-process{grid-template-columns:1fr}
    .cr-process li{display:grid;grid-template-columns:52px 1fr;column-gap:12px;padding:12px 0;text-align:start}
    .cr-process li:before{display:none}
    .cr-process li>span{grid-row:1/3;margin:0}
    .cr-process h3,.cr-process p{text-align:start}
    .cr-final-cta-inner{align-items:flex-start;flex-direction:column}
    .cr-final-actions{flex-direction:row;min-width:0}
}
@media(max-width:680px){
    .cr-hero{min-height:720px}
    .cr-hero-shade,
    .cr-page[dir="rtl"] .cr-hero-shade{background:linear-gradient(180deg,rgba(4,17,26,.35),rgba(4,17,26,.92) 50%,#06131d 100%)}
    .cr-hero-inner{padding-top:26px}
    .cr-hero-copy{margin-top:auto;padding-bottom:25px}
    .cr-hero-copy h1{font-size:clamp(2.7rem,13vw,4rem)}

    .cr-page[dir="rtl"] .cr-hero-copy h1{
        font-size:clamp(2.35rem,10.5vw,3.35rem);
        line-height:1.12
    }

    .cr-page[dir="rtl"] .cr-hero-copy .cr-lead{
        font-size:.96rem;
        line-height:1.9
    }

    .cr-proof-bar{grid-template-columns:1fr}
    .cr-proof-bar article{padding:14px 0}
    .cr-proof-bar article+article{border-inline-start:0;border-top:1px solid rgba(255,255,255,.12);padding-inline-start:0}
    .cr-system-grid{grid-template-columns:1fr}
    .cr-system-card+.cr-system-card{border-inline-start:0;border-top:1px solid var(--cr-line)}
    .cr-system-card{min-height:0}
    .cr-project-grid{display:grid;grid-template-columns:1fr;grid-template-rows:none}
    .cr-project-main{grid-column:auto}
    .cr-project-grid figure{height:320px}
    .cr-config-grid{grid-template-columns:1fr}
    .cr-video-stack{grid-template-columns:1fr}
    .cr-video-feature .cr-video-frame,.cr-video-small .cr-video-frame{aspect-ratio:4/5}
    .cr-why-grid,.cr-app-grid{grid-template-columns:1fr}
    .cr-why-grid article+article{border-inline-start:0;border-top:1px solid rgba(255,255,255,.1)}
    .cr-final-actions{width:100%;flex-direction:column}
    .cr-final-actions .cr-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .cr-reveal{opacity:1;transform:none;transition:none}
    .cr-btn,.cr-project-grid img{transition:none}
}


@media (min-width: 681px){
    .cr-page[dir="rtl"] .cr-hero-copy{
        margin-left:auto !important;
        margin-right:0 !important;
        align-self:flex-end !important
    }

    .cr-page[dir="rtl"] .cr-proof-bar{
        margin-left:auto !important;
        margin-right:0 !important
    }
}


/* =========================================================
   ICON ENHANCEMENTS + CONFIGURATOR SUMMARY
========================================================= */

.cr-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:0 20px;
    border-radius:14px;
    border:1px solid transparent;
    text-decoration:none;
    font-weight:800;
    font-size:.95rem;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
    cursor:pointer
}
.cr-btn:hover{transform:translateY(-1px)}
.cr-btn-primary{
    background:linear-gradient(135deg,#0bb4e8,#21c4ff);
    color:#041520;
    box-shadow:0 14px 36px rgba(11,180,232,.2)
}
.cr-btn-secondary{
    background:rgba(11,180,232,.12);
    color:#fff;
    border-color:rgba(11,180,232,.45)
}
.cr-btn-ghost{
    background:rgba(255,255,255,.04);
    color:#fff;
    border-color:rgba(255,255,255,.16)
}

/* cards / sections icon badge */
.cr-system-card h3::before,
.cr-config-label::before,
.cr-why-grid h3::before,
.cr-app-grid h3::before,
.cr-process h3::before{
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin:0 0 14px;
    border-radius:14px;
    background:linear-gradient(145deg,rgba(11,180,232,.18),rgba(11,180,232,.08));
    border:1px solid rgba(11,180,232,.28);
    box-shadow:inset 0 1px rgba(255,255,255,.14);
    font-size:1.15rem;
    line-height:1
}
.cr-page[dir="rtl"] .cr-system-card h3::before,
.cr-page[dir="rtl"] .cr-config-label::before,
.cr-page[dir="rtl"] .cr-why-grid h3::before,
.cr-page[dir="rtl"] .cr-app-grid h3::before{
    margin-left:auto;
    margin-right:0
}
.cr-page:not([dir="rtl"]) .cr-system-card h3::before,
.cr-page:not([dir="rtl"]) .cr-config-label::before,
.cr-page:not([dir="rtl"]) .cr-why-grid h3::before,
.cr-page:not([dir="rtl"]) .cr-app-grid h3::before{
    margin-left:0;
    margin-right:auto
}
.cr-process h3::before{
    margin-left:auto;
    margin-right:auto
}

/* complete system */
.cr-system-card:nth-child(1) h3::before{content:"📐"}
.cr-system-card:nth-child(2) h3::before{content:"🧱"}
.cr-system-card:nth-child(3) h3::before{content:"⬒"}
.cr-system-card:nth-child(4) h3::before{content:"🚪"}
.cr-system-card:nth-child(5) h3::before{content:"❄️"}
.cr-system-card:nth-child(6) h3::before{content:"⚙️"}

/* configurator */
.cr-config-card:nth-child(1) .cr-config-label::before{content:"🚪"}
.cr-config-card:nth-child(2) .cr-config-label::before{content:"🔩"}
.cr-config-card:nth-child(3) .cr-config-label::before{content:"⬒"}
.cr-config-card:nth-child(4) .cr-config-label::before{content:"🪟"}
.cr-config-card:nth-child(5) .cr-config-label::before{content:"🛡️"}

/* why amajed */
.cr-why-grid article:nth-child(1) h3::before{content:"📏"}
.cr-why-grid article:nth-child(2) h3::before{content:"🧩"}
.cr-why-grid article:nth-child(3) h3::before{content:"🧼"}
.cr-why-grid article:nth-child(4) h3::before{content:"↔️"}

/* applications */
.cr-app-grid article:nth-child(1) h3::before{content:"🍽️"}
.cr-app-grid article:nth-child(2) h3::before{content:"🍳"}
.cr-app-grid article:nth-child(3) h3::before{content:"🏥"}
.cr-app-grid article:nth-child(4) h3::before{content:"🏭"}

/* process */
.cr-process li:nth-child(1) h3::before{content:"📝"}
.cr-process li:nth-child(2) h3::before{content:"📐"}
.cr-process li:nth-child(3) h3::before{content:"📦"}
.cr-process li:nth-child(4) h3::before{content:"🛠️"}
.cr-process li:nth-child(5) h3::before{content:"✅"}

.cr-config-summary{
    margin-top:28px;
    padding:26px;
    border-radius:26px;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.03));
    box-shadow:0 20px 48px rgba(1,10,16,.22), inset 0 1px rgba(255,255,255,.06)
}
.cr-config-summary-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px
}
.cr-config-summary-head h3{
    margin:10px 0 10px;
    color:#fff;
    font-size:1.35rem
}
.cr-config-summary-head p{
    margin:0;
    max-width:760px;
    color:rgba(255,255,255,.68);
    line-height:1.8
}
.cr-config-summary-grid{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
    gap:18px
}
.cr-config-summary-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px
}
.cr-config-summary-item{
    padding:16px 18px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.11);
    background:rgba(255,255,255,.035)
}
.cr-config-summary-item-label{
    display:block;
    margin-bottom:8px;
    color:rgba(255,255,255,.56);
    font-size:.8rem;
    font-weight:700
}
.cr-config-summary-item-value{
    display:block;
    color:#fff;
    font-weight:850;
    font-size:1rem
}
.cr-config-contact-card{
    padding:18px;
    border-radius:20px;
    border:1px solid rgba(11,180,232,.22);
    background:rgba(3,18,29,.42)
}
.cr-config-contact-title{
    display:block;
    margin-bottom:12px;
    color:#9cdff6;
    font-size:.85rem;
    font-weight:800
}
.cr-config-contact-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:16px
}
.cr-config-cart-status{
    min-height:24px;
    margin:14px 0 0;
    color:#8de3b6;
    font-size:.86rem;
    font-weight:700
}
.cr-config-card .cr-config-label{
    display:block
}

/* responsive */
@media (max-width: 1180px){
    .cr-config-summary-grid{
        grid-template-columns:1fr
    }
}
@media (max-width: 920px){
    .cr-config-summary-list{
        grid-template-columns:1fr
    }
    .cr-config-summary-head{
        flex-direction:column;
        align-items:stretch
    }
    .cr-config-summary-head .cr-btn{
        width:100%
    }
}
@media (max-width: 680px){
    .cr-btn{
        width:100%
    }
    .cr-config-contact-actions{
        flex-direction:column
    }
}


/* =========================================================
   CONFIGURATOR INTERACTION FIX
========================================================= */

.cr-choice-list button{
    position:relative;
    min-height:50px;
    padding-inline-end:42px;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .18s ease
}

.cr-choice-list button:hover{
    transform:translateY(-1px);
    border-color:rgba(11,180,232,.48);
    color:#fff
}

.cr-choice-list button.is-active{
    border-color:#0bbcf1 !important;
    background:linear-gradient(135deg,rgba(10,172,226,.24),rgba(10,172,226,.11)) !important;
    color:#fff !important;
    box-shadow:
        inset 4px 0 #0bc2f5,
        0 0 0 1px rgba(11,188,241,.08),
        0 10px 24px rgba(0,0,0,.08) !important
}

.cr-page[dir="rtl"] .cr-choice-list button.is-active{
    box-shadow:
        inset -4px 0 #0bc2f5,
        0 0 0 1px rgba(11,188,241,.08),
        0 10px 24px rgba(0,0,0,.08) !important
}

.cr-choice-list button.is-active::after{
    content:"✓";
    position:absolute;
    inset-inline-end:14px;
    top:50%;
    transform:translateY(-50%);
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#0bc2f5;
    color:#03151f;
    font-size:.72rem;
    font-weight:950
}

.cr-config-summary-item{
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease
}

.cr-config-summary-item.is-updated{
    border-color:rgba(11,194,245,.55);
    background:rgba(11,194,245,.08);
    transform:translateY(-1px)
}

.cr-config-contact-copy{
    margin:0 0 16px;
    color:rgba(255,255,255,.63);
    line-height:1.8;
    font-size:.88rem
}

.cr-config-contact-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100%
}

.cr-config-summary-grid{
    align-items:stretch
}


/* =========================================================
   WORD DOCUMENT IMAGE LAYOUT
   One master image + five hover cards below.
========================================================= */
.cr-word-master{
    margin:0 auto 24px;
    max-width:1180px
}
.cr-word-master-figure{
    margin:0;
    overflow:hidden;
    border:1px solid var(--cr-line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 20px 50px rgba(4,26,40,.08)
}
.cr-word-master-figure img{
    width:100%;
    height:520px;
    object-fit:cover;
    background:#fff
}
.cr-word-master-figure figcaption{
    padding:18px 22px 20px;
    border-top:1px solid var(--cr-line);
    text-align:center;
    color:var(--cr-ink)
}
.cr-word-master-figure figcaption strong{
    display:block;
    font-size:1.2rem;
    line-height:1.5;
    font-weight:900
}
.cr-word-five-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
    align-items:stretch
}
.cr-word-item{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    margin:0;
    overflow:hidden;
    border:1px solid var(--cr-line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 28px rgba(4,26,40,.06);
    transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    cursor:default
}
.cr-word-item::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:20px;
    box-shadow:inset 0 1px rgba(255,255,255,.3);
    opacity:.9
}
.cr-word-item:hover,
.cr-word-item:focus-within{
    transform:translateY(-6px);
    border-color:rgba(11,180,232,.42);
    box-shadow:0 22px 44px rgba(4,26,40,.14)
}
.cr-word-badge{
    position:absolute;
    top:12px;
    inset-inline-start:12px;
    z-index:2;
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:12px;
    background:rgba(6,21,32,.86);
    color:#fff;
    font-size:.95rem;
    font-weight:900;
    backdrop-filter:blur(8px);
    box-shadow:0 8px 22px rgba(0,0,0,.18)
}
.cr-word-item img{
    width:100%;
    height:180px;
    object-fit:cover;
    object-position:center;
    background:#f7f9fa;
    transition:transform .35s ease
}
.cr-word-item:nth-child(1) img,
.cr-word-item:nth-child(2) img,
.cr-word-item:nth-child(3) img,
.cr-word-item:nth-child(5) img{
    object-fit:contain;
    padding:8px;
    background:#fbfcfd
}
.cr-word-item:hover img,
.cr-word-item:focus-within img{
    transform:scale(1.03)
}
.cr-word-item figcaption{
    position:static;
    flex:1;
    padding:14px 14px 16px;
    background:#fff;
    color:var(--cr-ink);
    text-align:center
}
.cr-word-item figcaption strong{
    display:block;
    font-size:.86rem;
    line-height:1.6;
    font-weight:850;
    transition:color .22s ease
}
.cr-word-item:hover figcaption strong,
.cr-word-item:focus-within figcaption strong{
    color:#067fb3
}
.cr-page[dir="rtl"] .cr-word-item figcaption,
.cr-page[dir="rtl"] .cr-word-master-figure figcaption{
    text-align:center
}
@media(max-width:1180px){
    .cr-word-master-figure img{height:460px}
    .cr-word-five-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
    .cr-word-master-figure img{height:400px}
    .cr-word-five-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
    .cr-word-master-figure img{height:300px}
    .cr-word-master-figure figcaption strong{font-size:1rem}
    .cr-word-five-grid{grid-template-columns:1fr}
    .cr-word-item img{height:220px}
}

/* =========================================================
   COLD ROOM DIMENSIONS INPUT
========================================================= */
.cr-dimensions-card{
    margin:0 0 18px;
    padding:22px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:20px;
    background:rgba(255,255,255,.045);
    box-shadow:inset 0 1px rgba(255,255,255,.05)
}
.cr-dimensions-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px
}
.cr-dimensions-head .cr-config-label{
    margin-bottom:7px
}
.cr-dimensions-head p{
    max-width:760px;
    margin:0;
    color:rgba(255,255,255,.6);
    font-size:.84rem;
    line-height:1.7
}
.cr-dimensions-unit{
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    border:1px solid rgba(11,180,232,.3);
    border-radius:13px;
    background:rgba(11,180,232,.1);
    color:#8edff8;
    font-weight:900
}
.cr-dimensions-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px
}
.cr-dimension-field{
    display:block;
    min-width:0
}
.cr-dimension-field>span{
    display:block;
    margin-bottom:8px;
    color:#fff;
    font-size:.8rem;
    font-weight:800
}
.cr-dimension-input-wrap{
    display:flex;
    align-items:center;
    min-height:52px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.14);
    border-radius:12px;
    background:rgba(0,0,0,.12);
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.cr-dimension-input-wrap:focus-within{
    border-color:#0bbcf1;
    background:rgba(11,180,232,.06);
    box-shadow:0 0 0 3px rgba(11,188,241,.09)
}
.cr-dimension-input-wrap input{
    min-width:0;
    width:100%;
    height:50px;
    padding:0 14px;
    border:0;
    outline:0;
    background:transparent;
    color:#fff;
    font:inherit;
    font-size:1rem;
    font-weight:800
}
.cr-dimension-input-wrap input::placeholder{
    color:rgba(255,255,255,.34);
    font-weight:500
}
.cr-dimension-input-wrap>span{
    display:grid;
    place-items:center;
    align-self:stretch;
    min-width:44px;
    border-inline-start:1px solid rgba(255,255,255,.1);
    color:#8edff8;
    font-size:.78rem;
    font-weight:900
}
.cr-dimension-input-wrap input.is-invalid{
    color:#ffd1d1
}
.cr-dimension-field:has(input.is-invalid) .cr-dimension-input-wrap{
    border-color:rgba(255,108,108,.75);
    box-shadow:0 0 0 3px rgba(255,84,84,.08)
}
.cr-dimensions-validation{
    display:none;
    margin:12px 0 0;
    color:#ffb0b0;
    font-size:.8rem;
    font-weight:750;
    line-height:1.6
}
.cr-dimensions-validation.is-visible{
    display:block
}
.cr-config-summary-dimensions{
    grid-column:1 / -1
}
.cr-config-summary-dimensions .cr-config-summary-item-value{
    color:#9fe4fa
}
@media(max-width:760px){
    .cr-dimensions-grid{grid-template-columns:1fr}
    .cr-dimensions-head{align-items:center}
}

/* =========================================================
   CONFIGURATOR — SITE THEME SYNC
   Light is the site default; dark follows html[data-theme="dark"].
========================================================= */
.cr-config-section{
    --crcfg-bg-1:#f7fbfd;
    --crcfg-bg-2:#edf5f8;
    --crcfg-glow:rgba(9,175,232,.10);
    --crcfg-text:#071722;
    --crcfg-muted:#607682;
    --crcfg-card:#ffffff;
    --crcfg-card-soft:#f8fbfc;
    --crcfg-border:rgba(8,36,54,.13);
    --crcfg-choice:#f5f9fb;
    --crcfg-choice-text:#314b59;
    --crcfg-summary:#ffffff;
    --crcfg-contact:#f4fafc;
    --crcfg-input:#ffffff;
    --crcfg-placeholder:#8a9ba5;
    --crcfg-unit:#087da8;
    --crcfg-success:#168452;
    --crcfg-danger:#b13a3a;
    background:
        radial-gradient(circle at 20% 20%,var(--crcfg-glow),transparent 32%),
        linear-gradient(145deg,var(--crcfg-bg-1),var(--crcfg-bg-2)) !important;
    color:var(--crcfg-text) !important;
    transition:background .28s ease,color .28s ease
}

html[data-theme="dark"] .cr-config-section{
    --crcfg-bg-1:#061927;
    --crcfg-bg-2:#0a2639;
    --crcfg-glow:rgba(8,172,226,.12);
    --crcfg-text:#ffffff;
    --crcfg-muted:rgba(255,255,255,.63);
    --crcfg-card:rgba(255,255,255,.045);
    --crcfg-card-soft:rgba(255,255,255,.035);
    --crcfg-border:rgba(255,255,255,.11);
    --crcfg-choice:rgba(0,0,0,.12);
    --crcfg-choice-text:rgba(255,255,255,.68);
    --crcfg-summary:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.03));
    --crcfg-contact:rgba(3,18,29,.42);
    --crcfg-input:rgba(0,0,0,.12);
    --crcfg-placeholder:rgba(255,255,255,.34);
    --crcfg-unit:#8edff8;
    --crcfg-success:#8de3b6;
    --crcfg-danger:#ffb0b0
}

.cr-config-section .cr-section-head-light,
.cr-config-section .cr-section-head-light h2{
    color:var(--crcfg-text) !important
}
.cr-config-section .cr-section-head-light p,
.cr-config-section .cr-config-note{
    color:var(--crcfg-muted) !important
}

.cr-config-section .cr-config-card,
.cr-config-section .cr-dimensions-card{
    border-color:var(--crcfg-border) !important;
    background:var(--crcfg-card) !important;
    box-shadow:0 12px 34px rgba(4,26,40,.055),inset 0 1px rgba(255,255,255,.05) !important;
    color:var(--crcfg-text) !important
}
html[data-theme="dark"] .cr-config-section .cr-config-card,
html[data-theme="dark"] .cr-config-section .cr-dimensions-card{
    box-shadow:inset 0 1px rgba(255,255,255,.05) !important
}

.cr-config-section .cr-config-label,
.cr-config-section .cr-dimension-field>span{
    color:var(--crcfg-text) !important
}
.cr-config-section .cr-dimensions-head p{
    color:var(--crcfg-muted) !important
}
.cr-config-section .cr-dimensions-unit{
    color:var(--crcfg-unit) !important;
    background:rgba(11,180,232,.10) !important;
    border-color:rgba(11,180,232,.26) !important
}

.cr-config-section .cr-choice-list button{
    background:var(--crcfg-choice) !important;
    border-color:var(--crcfg-border) !important;
    color:var(--crcfg-choice-text) !important
}
.cr-config-section .cr-choice-list button:hover{
    border-color:rgba(11,180,232,.52) !important;
    background:rgba(11,180,232,.075) !important;
    color:var(--crcfg-text) !important
}
.cr-config-section .cr-choice-list button.is-active{
    border-color:#0bbcf1 !important;
    background:linear-gradient(135deg,rgba(10,172,226,.18),rgba(10,172,226,.08)) !important;
    color:var(--crcfg-text) !important
}
html[data-theme="dark"] .cr-config-section .cr-choice-list button.is-active{
    background:linear-gradient(135deg,rgba(10,172,226,.24),rgba(10,172,226,.11)) !important;
    color:#fff !important
}

.cr-config-section .cr-config-summary{
    border-color:var(--crcfg-border) !important;
    background:var(--crcfg-summary) !important;
    box-shadow:0 18px 45px rgba(4,26,40,.075) !important;
    color:var(--crcfg-text) !important
}
html[data-theme="dark"] .cr-config-section .cr-config-summary{
    box-shadow:0 20px 48px rgba(1,10,16,.22),inset 0 1px rgba(255,255,255,.06) !important
}
.cr-config-section .cr-config-summary-head h3,
.cr-config-section .cr-config-summary-item-value{
    color:var(--crcfg-text) !important
}
.cr-config-section .cr-config-summary-head p,
.cr-config-section .cr-config-summary-item-label,
.cr-config-section .cr-config-contact-copy{
    color:var(--crcfg-muted) !important
}
.cr-config-section .cr-config-summary-item{
    border-color:var(--crcfg-border) !important;
    background:var(--crcfg-card-soft) !important
}
.cr-config-section .cr-config-summary-item.is-updated{
    border-color:rgba(11,194,245,.55) !important;
    background:rgba(11,194,245,.08) !important
}
.cr-config-section .cr-config-summary-dimensions .cr-config-summary-item-value{
    color:#078bb9 !important
}
html[data-theme="dark"] .cr-config-section .cr-config-summary-dimensions .cr-config-summary-item-value{
    color:#9fe4fa !important
}

.cr-config-section .cr-config-contact-card{
    border-color:rgba(11,180,232,.25) !important;
    background:var(--crcfg-contact) !important
}
.cr-config-section .cr-config-contact-title{
    color:#087fa9 !important
}
html[data-theme="dark"] .cr-config-section .cr-config-contact-title{
    color:#9cdff6 !important
}
.cr-config-section .cr-config-cart-status{
    color:var(--crcfg-success) !important
}

.cr-config-section .cr-dimension-input-wrap{
    background:var(--crcfg-input) !important;
    border-color:var(--crcfg-border) !important
}
.cr-config-section .cr-dimension-input-wrap:focus-within{
    border-color:#0bbcf1 !important;
    background:rgba(11,180,232,.055) !important
}
.cr-config-section .cr-dimension-input-wrap input{
    color:var(--crcfg-text) !important
}
.cr-config-section .cr-dimension-input-wrap input::placeholder{
    color:var(--crcfg-placeholder) !important
}
.cr-config-section .cr-dimension-input-wrap>span{
    border-inline-start-color:var(--crcfg-border) !important;
    color:var(--crcfg-unit) !important
}
.cr-config-section .cr-dimensions-validation{
    color:var(--crcfg-danger) !important
}

/* Keep configurator action buttons readable in both themes. */
.cr-config-section .cr-btn-secondary{
    background:rgba(11,180,232,.10) !important;
    border-color:rgba(11,180,232,.35) !important;
    color:#075c7a !important
}
html[data-theme="dark"] .cr-config-section .cr-btn-secondary{
    background:rgba(11,180,232,.12) !important;
    color:#fff !important;
    border-color:rgba(11,180,232,.45) !important
}

/* Email action button — readable in both themes */
.cr-config-section .cr-btn-ghost{
    background:#ffffff !important;
    color:#123646 !important;
    border-color:rgba(8,36,54,.18) !important;
    box-shadow:0 8px 20px rgba(4,26,40,.05) !important
}
.cr-config-section .cr-btn-ghost:hover{
    background:#f2f8fb !important;
    color:#067fae !important;
    border-color:rgba(11,180,232,.48) !important
}
html[data-theme="dark"] .cr-config-section .cr-btn-ghost{
    background:rgba(255,255,255,.04) !important;
    color:#ffffff !important;
    border-color:rgba(255,255,255,.16) !important;
    box-shadow:none !important
}
html[data-theme="dark"] .cr-config-section .cr-btn-ghost:hover{
    background:rgba(255,255,255,.08) !important;
    color:#ffffff !important;
    border-color:rgba(11,180,232,.45) !important
}

/* ================================================================
   COLD ROOMS — OPERATION PROOF REFINEMENT
   Static -18°C reference + single hinged-door video
   ================================================================ */

.cr-operation-proof .cr-section-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.cr-operation-proof .cr-section-head h2 {
    max-width: 760px;
}

.cr-operation-proof .cr-section-head p {
    max-width: 720px;
}


.cr-operation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 34px);
    align-items: stretch;
}


.cr-operation-card {
    overflow: hidden;

    border: 1px solid var(--cr-line);
    border-radius: 24px;

    background: var(--cr-card);

    box-shadow: 0 18px 48px rgba(10, 31, 46, .08);
}


.cr-operation-media {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #0b1722;
}


.cr-operation-media img,
.cr-operation-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cr-operation-media--image img {
    object-position: center center;
}


.cr-operation-media--video video {
    object-position: center center;
}


.cr-operation-copy {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;

    padding: 20px 21px 22px;
}


.cr-operation-index {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(22, 186, 240, .24);
    border-radius: 12px;

    background: rgba(22, 186, 240, .08);
    color: var(--cr-cyan);

    font-size: 10px;
    font-weight: 900;
}


.cr-operation-copy h3 {
    margin: 1px 0 8px;

    color: var(--cr-ink);

    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 800;
    line-height: 1.35;
}


.cr-operation-copy p {
    margin: 0;

    color: var(--cr-muted);

    font-size: 13px;
    line-height: 1.8;
}


html[data-theme="dark"] .cr-operation-card {
    border-color: var(--line);
    background: var(--card);

    box-shadow: none;
}


html[data-theme="dark"] .cr-operation-copy h3 {
    color: var(--ink);
}


html[data-theme="dark"] .cr-operation-copy p {
    color: var(--muted);
}


@media (max-width: 820px) {

    .cr-operation-grid {
        grid-template-columns: 1fr;
    }

    .cr-operation-card {
        max-width: 680px;
    }
}


@media (max-width: 560px) {

    .cr-operation-proof .cr-section-head {
        margin-bottom: 24px;
    }

    .cr-operation-card {
        border-radius: 19px;
    }

    .cr-operation-media {
        aspect-ratio: 4 / 3;
    }

    .cr-operation-copy {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;

        padding: 17px 15px 18px;
    }

    .cr-operation-index {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }

    .cr-operation-copy h3 {
        font-size: 20px;
    }

    .cr-operation-copy p {
        font-size: 12.5px;
        line-height: 1.75;
    }
}


/* ================================================================
   21/09/2026 — HINGED-DOOR VIDEO ZOOM-OUT
   Restore the final page and show the complete video frame.
   ================================================================ */
.cr-operation-media--video {
    background: #0b1722;
}

.cr-operation-media--video video {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}
