/* Closest Custom Atta dedicated stylesheet — 2026-09-09
   Loaded after style.css so the builder is styled even when the main stylesheet is cached. */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body.custom-atta-page{min-height:100vh;background:#f5f5f7;color:#222;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.custom-atta-page a{text-decoration:none}
.custom-atta-page .cart-page-header{width:100%;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px max(18px,calc((100% - 1180px)/2));background:#fff;border-bottom:1px solid #e6e7e9;position:sticky;top:0;z-index:50}
.custom-atta-page .cart-page-header .header-logo{display:flex;align-items:center}
.custom-atta-page .cart-page-header .header-logo img{display:block;width:50px;height:44px;object-fit:contain}
.custom-atta-page .continue-shopping{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid #e2e4e7;border-radius:11px;background:#fff;color:#34383d;font-size:12px;font-weight:800}
.custom-atta-page button,.custom-atta-page input{font:inherit}
@media(max-width:600px){.custom-atta-page .cart-page-header{min-height:58px;padding:7px 10px}.custom-atta-page .cart-page-header .header-logo img{width:44px;height:40px}.custom-atta-page .continue-shopping{min-height:38px;padding:0 11px;font-size:10px}}

/* =========================================================
   Custom Atta — 2026-09-09
   ========================================================= */
.custom-atta-nav{border:1px solid rgba(242,139,24,.3)!important;background:#fff7ed!important;color:#b85f00!important}
.custom-atta-nav .category-icon{color:#f28b18!important}
.custom-atta-page{background:#f7f8fa}
.custom-atta-shell{width:min(1180px,calc(100% - 28px));margin:28px auto 90px}
.custom-atta-hero{padding:28px;border:1px solid #f0dfcb;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff8ee 100%);box-shadow:0 10px 34px rgba(34,39,46,.06)}
.custom-atta-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#d56f00;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.custom-atta-hero h1{margin:0;font-size:clamp(28px,4vw,44px);letter-spacing:-.03em}
.custom-atta-hero>p{max-width:820px;margin:10px 0 0;color:#626a73;line-height:1.65}
.custom-atta-preorder-note{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;margin-top:18px;padding:11px 14px;border-radius:14px;background:#fff;border:1px solid #efd5b7}
.custom-atta-preorder-note>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f28b18;color:#fff}
.custom-atta-preorder-note span{display:grid;gap:2px}.custom-atta-preorder-note small{color:#747b84}
.custom-atta-error{margin:16px 0;padding:13px 15px;border:1px solid #f1c2bd;border-radius:12px;background:#fff1ef;color:#a32921;font-weight:750}
.custom-atta-builder{display:grid;gap:16px;margin-top:18px}
.custom-atta-card{padding:22px;border:1px solid #e7e9ed;border-radius:20px;background:#fff;box-shadow:0 7px 24px rgba(17,24,39,.05)}
.custom-atta-section-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.custom-atta-section-head>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:50%;background:#f28b18;color:#fff;font-weight:900}
.custom-atta-section-head h2{margin:0;font-size:19px}.custom-atta-section-head p{margin:4px 0 0;color:#7c838c;font-size:12px}
.custom-pack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.custom-pack-option{cursor:pointer}.custom-pack-option input{position:absolute;opacity:0;pointer-events:none}.custom-pack-option span{min-height:76px;display:grid;place-items:center;padding:12px;border:1.5px solid #e1e4e8;border-radius:14px;background:#fff;text-align:center}.custom-pack-option b,.custom-pack-option small{display:block}.custom-pack-option b{font-size:18px}.custom-pack-option small{margin-top:4px;color:#858c95;font-size:10px}.custom-pack-option input:checked+span{border-color:#f28b18;background:#fff7ed;box-shadow:0 0 0 3px rgba(242,139,24,.1)}
.custom-grain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.custom-grain-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:11px;padding:12px;border:1px solid #e7e9ed;border-radius:15px;background:#fff}
.custom-grain-image{width:54px;height:54px;display:grid;place-items:center;border-radius:12px;background:#fff6e9;color:#e47700;font-size:22px;overflow:hidden}.custom-grain-image img{width:100%;height:100%;object-fit:cover}
.custom-grain-copy{min-width:0;display:flex;flex-direction:column;justify-content:center}.custom-grain-copy strong{font-size:13px}.custom-grain-copy small{margin-top:3px;color:#7c838c;font-size:10px}
.custom-grain-control{grid-column:1/-1;display:grid;grid-template-columns:38px minmax(0,1fr) 24px 38px;align-items:center;overflow:hidden;border:1px solid #dfe3e7;border-radius:11px;background:#fafafa}.custom-grain-control button{height:38px;border:0;background:#fff;font-size:18px;font-weight:900;cursor:pointer}.custom-grain-control input{width:100%;height:38px;border:0;background:transparent;text-align:center;font-weight:850;outline:none}.custom-grain-control>span{color:#777;font-size:10px;font-weight:800}
.custom-atta-summary{position:sticky;bottom:12px;z-index:12;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #dedfe3;border-radius:17px;background:rgba(255,255,255,.97);box-shadow:0 16px 38px rgba(20,24,31,.16);backdrop-filter:blur(12px)}
.custom-atta-summary>div{display:grid;gap:2px}.custom-atta-summary small{color:#8a9098;font-size:9px;font-weight:900;letter-spacing:.08em}.custom-atta-summary strong{font-size:18px}.custom-atta-summary span{color:#777f88;font-size:10px}.custom-atta-summary button{min-height:46px;padding:0 18px;border:0;border-radius:12px;background:#f28b18;color:#fff;font-weight:900;cursor:pointer}.custom-atta-summary button:disabled{opacity:.4;cursor:not-allowed}
.custom-atta-empty{padding:50px 20px;margin-top:18px;border:1px dashed #ddd;border-radius:20px;background:#fff;text-align:center}.custom-atta-empty i{font-size:30px;color:#f28b18}
.custom-atta-cart-image{display:grid!important;place-items:center;background:#fff6e9!important;color:#e47700!important;font-size:30px;text-decoration:none}.custom-atta-cart-status{margin-top:7px}.custom-atta-cart-recipe{margin:8px 0!important;color:#666!important;font-size:11px!important;line-height:1.5}.custom-atta-cart-actions{display:flex;align-items:center;gap:8px;margin-top:10px}.custom-atta-edit-btn{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:1px solid #e1e4e8;border-radius:9px;color:#333!important;font-size:11px;font-weight:800;text-decoration:none}.custom-atta-remove-btn{min-height:36px!important}.custom-atta-cart-actions form{margin:0}
.checkout-custom-atta span small{line-height:1.4}
@media(max-width:800px){.custom-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-grain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-atta-summary{grid-template-columns:1fr 1fr}.custom-atta-summary button{grid-column:1/-1;width:100%}}
@media(max-width:520px){.custom-atta-shell{width:calc(100% - 16px);margin-top:12px}.custom-atta-hero,.custom-atta-card{padding:15px;border-radius:16px}.custom-grain-grid{grid-template-columns:1fr}.custom-atta-summary{bottom:8px;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.custom-atta-summary strong{font-size:15px}.custom-atta-preorder-note{width:100%}}


/* =========================================================
   Custom Atta welcome popup — 2026-09-09
   Shows once per customer visit/session from the homepage.
   ========================================================= */
.custom-atta-welcome{
    position:fixed;
    inset:0;
    z-index:10080;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    visibility:hidden;
    pointer-events:none;
    opacity:0;
    transition:opacity .22s ease,visibility .22s ease;
}
.custom-atta-welcome.is-visible{
    visibility:visible;
    pointer-events:auto;
    opacity:1;
}
.custom-atta-welcome-backdrop{
    position:absolute;
    inset:0;
    background:rgba(12,13,15,.62);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.custom-atta-welcome-card{
    position:relative;
    z-index:1;
    width:min(480px,100%);
    padding:28px 28px 24px;
    overflow:hidden;
    border:1px solid rgba(242,139,24,.24);
    border-radius:26px;
    background:#fff;
    box-shadow:0 26px 80px rgba(0,0,0,.24);
    text-align:center;
    transform:translateY(14px) scale(.98);
    transition:transform .24s ease;
}
.custom-atta-welcome.is-visible .custom-atta-welcome-card{transform:translateY(0) scale(1)}
.custom-atta-welcome-card::before{
    content:'';
    position:absolute;
    width:230px;
    height:230px;
    right:-105px;
    top:-120px;
    border-radius:50%;
    background:rgba(242,139,24,.10);
    pointer-events:none;
}
.custom-atta-welcome-close{
    position:absolute;
    top:12px;
    right:12px;
    z-index:2;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:#f4f5f6;
    color:#454a50;
    font-size:16px;
    cursor:pointer;
}
.custom-atta-welcome-close:hover{background:#eceef0;color:#111}
.custom-atta-welcome-icon{
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    border-radius:19px;
    background:#fff3e4;
    color:#d86f00;
    font-size:28px;
    box-shadow:inset 0 0 0 1px rgba(242,139,24,.18);
}
.custom-atta-welcome-kicker{
    display:inline-block;
    margin-bottom:6px;
    color:#d56d00;
    font-size:10px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.custom-atta-welcome-card h2{
    margin:0;
    color:#17191c;
    font-size:27px;
    line-height:1.1;
    font-weight:900;
}
.custom-atta-welcome-card>p{
    max-width:390px;
    margin:10px auto 18px;
    color:#69717b;
    font-size:13px;
    line-height:1.55;
}
.custom-atta-welcome-flow{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0 0 20px;
    padding:11px 10px;
    border-radius:14px;
    background:#faf7f2;
    color:#555d65;
    font-size:10px;
    font-weight:800;
}
.custom-atta-welcome-flow span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.custom-atta-welcome-flow span i{color:#f28b18}
.custom-atta-welcome-flow>i{color:#b6bbc0;font-size:8px}
.custom-atta-welcome-actions{display:grid;gap:8px}
.custom-atta-welcome-primary{
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 18px;
    border-radius:13px;
    background:#f28b18;
    color:#fff !important;
    font-size:14px;
    font-weight:900;
    text-decoration:none !important;
    box-shadow:0 10px 24px rgba(242,139,24,.23);
}
.custom-atta-welcome-primary:hover{background:#df780c}
.custom-atta-welcome-later{
    min-height:38px;
    border:0;
    background:transparent;
    color:#777f87;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}
body.custom-atta-popup-open{overflow:hidden}

@media(max-width:600px){
    .custom-atta-welcome{align-items:flex-end;padding:0}
    .custom-atta-welcome-card{
        width:100%;
        padding:25px 18px calc(17px + env(safe-area-inset-bottom));
        border-radius:25px 25px 0 0;
        border-bottom:0;
        transform:translateY(35px);
    }
    .custom-atta-welcome.is-visible .custom-atta-welcome-card{transform:translateY(0)}
    .custom-atta-welcome-icon{width:54px;height:54px;border-radius:16px;font-size:24px}
    .custom-atta-welcome-card h2{font-size:23px}
    .custom-atta-welcome-card>p{margin-bottom:15px;font-size:12px}
    .custom-atta-welcome-flow{gap:5px;padding:10px 6px;font-size:9px}
    .custom-atta-welcome-flow span{gap:4px}
    .custom-atta-welcome-primary{min-height:50px}
}
@media(max-width:390px){
    .custom-atta-welcome-flow{font-size:8px;gap:4px}
    .custom-atta-welcome-flow>i{font-size:7px}
}

/* =========================================================
   Custom Atta 4-step app-style builder — 2026-09-09
   ========================================================= */
.custom-atta-step-builder{position:relative}
.custom-atta-stepper{position:sticky;top:8px;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:18px 0 14px;padding:7px;border:1px solid #e6e8eb;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(17,24,39,.08);backdrop-filter:blur(10px)}
.custom-step{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 10px;border:0;border-radius:11px;background:transparent;color:#69717a;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.custom-step span{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;border-radius:50%;background:#edf0f3;color:#69717a;font-size:10px;font-weight:950}
.custom-step b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.custom-step.is-active{background:#fff3e4;color:#a95100}.custom-step.is-active span{background:#f28b18;color:#fff}
.custom-step.is-done{color:#30774b}.custom-step.is-done span{background:#e8f6ed;color:#218347}.custom-step.is-done span::before{content:'✓';font-size:12px}.custom-step.is-done span{font-size:0}
.custom-atta-step-panel{display:none;animation:customAttaStepIn .22s ease}.custom-atta-step-panel.is-active{display:block}
@keyframes customAttaStepIn{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:none}}
.custom-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #eef0f2}
.custom-step-next,.custom-step-back,.custom-review-actions #addCustomAtta{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border-radius:11px;font-weight:900;cursor:pointer}
.custom-step-next,.custom-review-actions #addCustomAtta{border:0;background:#f28b18;color:#fff}.custom-step-next:disabled,.custom-review-actions #addCustomAtta:disabled{opacity:.4;cursor:not-allowed}
.custom-step-back{border:1px solid #dde1e5;background:#fff;color:#31363c}
.custom-grain-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.custom-grain-choice{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px;min-height:78px;padding:10px;border:1.5px solid #e4e7eb;border-radius:15px;background:#fff;cursor:pointer;transition:.16s ease}
.custom-grain-choice:hover{border-color:#f3bd7d;transform:translateY(-1px)}.custom-grain-choice.is-selected{border-color:#f28b18;background:#fff8ef;box-shadow:0 0 0 3px rgba(242,139,24,.08)}
.custom-grain-choice>input{position:absolute;opacity:0;pointer-events:none}.custom-grain-choice .custom-grain-image{width:54px;height:54px;border-radius:12px}.custom-grain-choice .custom-grain-copy{min-width:0;display:grid;gap:3px}.custom-grain-choice .custom-grain-copy strong{font-size:12px}.custom-grain-choice .custom-grain-copy small{font-size:9px;color:#777f88}.grain-choice-check{position:absolute;top:7px;right:7px;color:#f28b18;opacity:0;transform:scale(.75);transition:.16s ease}.custom-grain-choice.is-selected .grain-choice-check{opacity:1;transform:scale(1)}
.custom-mix-meter{margin-bottom:16px;padding:13px 14px;border:1px solid #e8e9ec;border-radius:14px;background:#fafbfc}.custom-mix-meter>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.custom-mix-meter span,.custom-mix-meter b{font-size:11px}.custom-mix-meter b{color:#6e7680}.custom-mix-meter-track{height:8px;overflow:hidden;border-radius:999px;background:#e9edf0}.custom-mix-meter-track>span{display:block;width:0;height:100%;border-radius:inherit;background:#f28b18;transition:width .18s ease}.custom-mix-meter-track>span.is-complete{background:#2e9b58}.custom-mix-meter-track>span.is-over{background:#cf4035}
.custom-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.custom-review-card{display:grid;gap:4px;padding:15px;border:1px solid #e7e9ec;border-radius:14px;background:#fafbfc}.custom-review-card small{font-size:9px;font-weight:900;letter-spacing:.07em;color:#888f98}.custom-review-card strong{font-size:21px}.custom-review-card span{font-size:10px;color:#747c85}
.custom-review-recipe{margin-top:12px;padding:15px;border:1px solid #e7e9ec;border-radius:14px}.custom-review-recipe h3{margin:0 0 8px;font-size:14px}.custom-review-recipe #reviewRecipe{display:grid;gap:0}.custom-review-recipe #reviewRecipe>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #f0f1f2;font-size:11px}.custom-review-recipe #reviewRecipe>div:last-child{border-bottom:0}.custom-review-recipe p{margin:0;color:#777}
.custom-preparation-flow{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px;padding:12px;border-radius:13px;background:#fff7ed;color:#7c4a13;font-size:10px;font-weight:850}.custom-preparation-flow span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.custom-preparation-flow>i{color:#c8a37c;font-size:9px}
.custom-review-actions{margin-top:14px}.custom-review-actions #addCustomAtta{min-width:220px}
.custom-atta-step-builder .custom-atta-summary{bottom:10px}.custom-atta-step-builder .custom-atta-summary #summaryContinue{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:0;border-radius:11px;background:#252a30;color:#fff;font-weight:900;cursor:pointer}
@media(max-width:900px){.custom-grain-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-atta-stepper{top:5px}.custom-step{padding-inline:6px}.custom-step b{font-size:10px}}
@media(max-width:600px){.custom-atta-stepper{grid-template-columns:repeat(4,1fr);gap:3px;padding:5px;border-radius:13px}.custom-step{min-height:42px;flex-direction:column;gap:3px;padding:4px 2px}.custom-step span{width:22px;height:22px;flex-basis:22px}.custom-step b{max-width:100%;font-size:8px}.custom-review-grid{grid-template-columns:1fr}.custom-preparation-flow{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.custom-preparation-flow::-webkit-scrollbar{display:none}.custom-step-actions{position:sticky;bottom:92px;z-index:5;margin:14px -15px -15px;padding:10px 15px;background:rgba(255,255,255,.97);border-radius:0 0 16px 16px}.custom-step-next,.custom-step-back{flex:1}.custom-review-actions #addCustomAtta{min-width:0;flex:1}.custom-atta-step-builder .custom-atta-summary{grid-template-columns:1fr 1fr}.custom-atta-step-builder .custom-atta-summary #summaryContinue{grid-column:1/-1;width:100%}}


.custom-atta-convert-notice{
    display:flex;align-items:flex-start;gap:11px;margin:0 0 14px;padding:12px 14px;
    border:1px solid #f7c98d;border-radius:13px;background:#fff8ef;color:#7a4307;
}
.custom-atta-convert-notice>i{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:9px;background:#f28b18;color:#fff;}
.custom-atta-convert-notice div{display:grid;gap:2px;min-width:0;}
.custom-atta-convert-notice strong{font-size:12px;color:#8a4800;}
.custom-atta-convert-notice span{font-size:10px;line-height:1.45;color:#8b6438;}
