:root{
    --cake-rose:#dab8ac;
    --cake-sage:#95ad93;
    --cake-wine:#582a34;
    --cake-cream:#fffaf7;
    --cake-border:#eadbd5;
    --cake-text:#3e3134;
    --cake-muted:#7d6f72;
    --cake-shadow:0 20px 55px rgba(88,42,52,.16);
}

.cake-config-card{
    direction:rtl;background:linear-gradient(145deg,#fff 0%,var(--cake-cream) 100%);
    border:1px solid var(--cake-border);border-radius:22px;padding:18px;margin:18px 0;
    box-shadow:0 12px 34px rgba(88,42,52,.08);color:var(--cake-text)
}
.cake-config-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.cake-config-title{font-size:16px;font-weight:800;color:var(--cake-wine);margin:0}
.cake-config-badge{font-size:11px;background:rgba(149,173,147,.18);color:#58705a;border:1px solid rgba(149,173,147,.35);padding:5px 9px;border-radius:999px}
.cake-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cake-option{position:relative;display:flex;align-items:center;gap:10px;border:1px solid var(--cake-border);background:#fff;border-radius:15px;padding:11px 12px;cursor:pointer;transition:.2s ease}
.cake-option:hover{transform:translateY(-1px);border-color:var(--cake-rose);box-shadow:0 8px 22px rgba(88,42,52,.08)}
.cake-option input{position:absolute;opacity:0;pointer-events:none}
.cake-option-check{width:21px;height:21px;border-radius:7px;border:2px solid #d8c7c1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;transition:.2s ease}
.cake-option input:checked + .cake-option-check{background:var(--cake-sage);border-color:var(--cake-sage)}
.cake-option input:checked + .cake-option-check:after{content:'✓';color:#fff;font-size:13px;font-weight:800}
.cake-option-copy{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.cake-option-price{color:var(--cake-wine);font-weight:700;white-space:nowrap}
.cake-field{margin-top:14px}
.cake-field label{display:block;font-size:12px;font-weight:700;color:var(--cake-wine);margin-bottom:7px}
.cake-input{width:100%;height:43px;border:1px solid var(--cake-border)!important;border-radius:14px!important;background:#fff!important;padding:0 13px!important;color:var(--cake-text)!important;outline:none;transition:.2s ease}
.cake-input:focus{border-color:var(--cake-sage)!important;box-shadow:0 0 0 4px rgba(149,173,147,.13)!important}
.cake-note{font-size:11px;color:var(--cake-muted);margin-top:7px;line-height:1.8}
.cake-weight-control{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--cake-border);border-radius:16px;padding:7px}
.cake-weight-control button{width:38px;height:38px;border:0;border-radius:12px;background:#f4ece8;color:var(--cake-wine);font-size:20px;font-weight:700;cursor:pointer;transition:.2s ease}
.cake-weight-control button:hover{background:var(--cake-rose);color:#fff}
.cake-weight-control input{width:92px;text-align:center;border:0!important;background:transparent!important;font-size:16px;font-weight:800;color:var(--cake-wine);outline:none}

.cake-drawer-overlay{position:fixed;inset:0;background:rgba(43,31,34,.38);backdrop-filter:blur(3px);z-index:99997;opacity:0;visibility:hidden;transition:.25s ease}
.cake-drawer-overlay.is-open{opacity:1;visibility:visible}
.cake-drawer{position:fixed;top:0;right:0;width:min(440px,94vw);height:100vh;background:#fff;z-index:99998;transform:translateX(105%);transition:.32s cubic-bezier(.2,.8,.2,1);box-shadow:-20px 0 60px rgba(48,27,33,.2);display:flex;flex-direction:column;direction:rtl}
.cake-drawer.is-open{transform:translateX(0)}
.cake-drawer-head{padding:18px 20px;border-bottom:1px solid #f0e5e1;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fff 0%,#fff7f3 100%)}
.cake-drawer-title{font-size:17px;font-weight:900;color:var(--cake-wine)}
.cake-drawer-close{width:36px;height:36px;border:0;border-radius:50%;background:#f6ece8;color:var(--cake-wine);font-size:20px;cursor:pointer}
.cake-drawer-body{padding:18px 20px;overflow:auto;flex:1}
.cake-drawer .cake-option-grid{grid-template-columns:1fr}
.cake-drawer-summary{padding:16px 20px;border-top:1px solid #f0e5e1;background:#fffaf7;box-shadow:0 -12px 30px rgba(88,42,52,.06)}
.cake-summary-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:var(--cake-muted);font-size:13px}
.cake-summary-row strong{color:var(--cake-wine);font-size:18px}
.cake-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.cake-btn{border:0;border-radius:14px;min-height:44px;padding:10px 12px;font-size:13px;font-weight:800;cursor:pointer;text-align:center;text-decoration:none!important;display:flex;align-items:center;justify-content:center;transition:.2s ease}
.cake-btn-primary{background:var(--cake-wine);color:#fff!important}
.cake-btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(88,42,52,.22)}
.cake-btn-soft{background:rgba(149,173,147,.16);color:#557057!important;border:1px solid rgba(149,173,147,.34)}
.cake-save-state{min-height:18px;margin-top:8px;font-size:11px;color:var(--cake-sage);text-align:center}

.cake-cart-meta{margin:10px 0;padding:11px 13px;border:1px dashed var(--cake-rose);border-radius:14px;background:#fffaf7;font-size:12px;line-height:2;color:var(--cake-text)}
.cake-cart-meta b{color:var(--cake-wine)}
.cake-cart-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.cake-cart-tag{background:#f1e6e1;color:var(--cake-wine);border-radius:999px;padding:3px 8px;font-size:11px}

.cake-admin-box{direction:rtl;margin:18px 8px;padding:18px;border-radius:18px;border:1px solid #eadbd5;background:linear-gradient(145deg,#fff 0%,#fff8f5 100%);box-shadow:0 10px 26px rgba(88,42,52,.07)}
.cake-admin-box h4{margin:0 0 12px;color:var(--cake-wine);font-size:16px;font-weight:800}
.cake-admin-switch{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-weight:700;color:var(--cake-wine)}
.cake-admin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cake-admin-option{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border:1px solid #eadbd5;padding:9px 10px;border-radius:12px;font-size:12px}
.cake-admin-option small{color:#7d6f72}
.cake-admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}

@media(max-width:768px){
    .cake-option-grid,.cake-admin-options,.cake-admin-fields{grid-template-columns:1fr}
    .cake-config-card{border-radius:18px;padding:14px}
    .cake-drawer-actions{grid-template-columns:1fr}
}

/* Soft visual refresh for the existing product/cart UI */
.card_u .panlw,
.c_seller,
.rowcard{
    border-radius:18px!important;
    border-color:#eee2dd!important;
    box-shadow:0 10px 32px rgba(88,42,52,.06)!important;
}
.title_h1,.title_ne{color:var(--cake-wine)!important;font-weight:800!important}
.price_show_page{color:var(--cake-wine)!important;font-weight:800!important}
.listradioselect h4{color:var(--cake-text)!important;font-size:13px!important}
.listradioselect label{
    border:1px solid var(--cake-border)!important;border-radius:12px!important;
    background:#fff!important;color:var(--cake-text)!important;padding:7px 11px!important;
    transition:.2s ease!important;cursor:pointer
}
.listradioselect input:checked + label{
    border-color:var(--cake-sage)!important;background:rgba(149,173,147,.14)!important;color:#506b53!important;
    box-shadow:0 5px 15px rgba(149,173,147,.14)!important
}
.eaddtocard,.nbtn{
    border:0!important;border-radius:14px!important;background:var(--cake-wine)!important;color:#fff!important;
    min-height:44px!important;font-weight:800!important;box-shadow:0 8px 20px rgba(88,42,52,.18)!important;
    transition:.2s ease!important
}
.eaddtocard:hover,.nbtn:hover{transform:translateY(-1px);opacity:.94}
.number{border-color:var(--cake-border)!important;background:#fff!important}
.plusq,.minusq{color:var(--cake-wine)!important}
.rt-div{color:var(--cake-text)!important}
.product_detail{border-color:#eee2dd!important;border-radius:12px!important}


/* ===== Cake V2 product-detail experience ===== */
/* Refined storefront, scoped so the existing theme and admin keep working. */
:root{--cake-wine:#582a34;--cake-rose:#dab8ac;--cake-sage:#95ad93;--cake-cream:#fffaf7;--cake-border:#eadbd5;--cake-text:#3e3134;--cake-muted:#7d6f72}
.cake-v2-wrap{clear:both;padding:4px 10px 12px!important}
.cake-v2,.cake-v2 *{box-sizing:border-box}
.cake-v2{direction:rtl;text-align:right;isolation:isolate;width:100%;background:#fff;border:1px solid #eadbd5;border-radius:24px;overflow:hidden;box-shadow:0 14px 36px rgba(88,42,52,.085);color:#473238;font-family:inherit}
.cake-v2-hero{padding:26px 25px 24px;background:radial-gradient(circle at 8% 8%,rgba(218,184,172,.30),transparent 40%),linear-gradient(115deg,#fff4ee,#fffbf8 64%,#f4f8f2);position:relative;border-bottom:1px solid #f1e2dd}
.cake-v2-hero:after{content:'✦';position:absolute;left:22px;bottom:7px;font-size:67px;opacity:.075;color:var(--cake-wine);line-height:1;pointer-events:none}
.cake-v2-hero-top{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.cake-v2-eyebrow{font-size:12px;font-weight:800;letter-spacing:.05px;color:#82515e}
.cake-v2-eyebrow i{margin-left:5px;color:#b56b7d}
.cake-v2-availability{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:700;background:#eaf3e8;color:#3d7245;border:1px solid #d3e5ce}
.cake-v2-availability.is-preorder{background:#f7e8df;color:#8b573c;border-color:#edcdb8}
.cake-v2-hero h2{font-size:22px!important;font-weight:900!important;line-height:1.65!important;color:#582a34!important;margin:0 0 5px!important}
.cake-v2-hero h2 span{color:#c18e79}
.cake-v2-hero p{margin:0;color:#876f73;font-size:12px;line-height:2}
.cake-v2-content{padding:7px 25px 0}
.cake-v2-section{padding:21px 0;border-bottom:1px dashed #e9d8d1}
.cake-v2-section:last-child{border-bottom:0}
.cake-v2-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:15px}
.cake-v2-number{width:32px;height:32px;min-width:32px;background:#f7ebe7;color:#87525d;border:1px solid #f1dcd5;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:13px}
.cake-v2-heading h3{font-size:15px!important;font-weight:850!important;color:#59303a!important;margin:0 0 4px!important}
.cake-v2-heading p{font-size:11px;line-height:1.9;color:#97888a;margin:0}
.cake-v2-weight-area{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding-right:43px}
.cake-v2-counter{display:flex;align-items:center;background:#fffaf7;border:1px solid #e9d8d1;border-radius:17px;padding:5px;gap:7px;box-shadow:0 4px 12px rgba(88,42,52,.035)}
.cake-v2-weight-btn{width:40px;height:40px;border:0;border-radius:12px;background:#f2e2dc;color:#79404b;font-size:22px;font-weight:800;cursor:pointer;transition:background .18s,transform .18s}
.cake-v2-weight-btn:hover{background:#e6c8be;transform:translateY(-1px)}
.cake-v2-weight-number{min-width:93px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0}
.cake-v2-weight-number input{width:94px!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:center!important;color:#572c36!important;font-size:20px!important;font-weight:900!important;height:25px!important;min-height:25px!important;padding:0!important;outline:0!important;-moz-appearance:textfield}
.cake-v2-weight-number input::-webkit-inner-spin-button,.cake-v2-weight-number input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cake-v2-weight-number span{color:#978184;font-size:10px}
.cake-v2-fixed-weight{display:flex;align-items:center;gap:10px;padding:10px 17px;border-radius:14px;border:1px solid #e5d7d2;background:#fffbf8;color:#763c48}
.cake-v2-fixed-weight strong{font-size:21px;color:#582a34;font-weight:900}
.cake-v2-fixed-weight span{font-size:12px}
.cake-v2-weight-tip{font-size:11px;color:#806c6f;line-height:1.8}
.cake-v2-weight-tip i{color:#63836a;margin-left:4px}
.cake-v2-fillings{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-right:43px}
.cake-v2-filling{display:flex;align-items:center;gap:9px;border:1px solid #f0e3df;background:#fffcfb;border-radius:14px;padding:11px 10px;min-width:0}
.cake-v2-filling-mark{height:24px;width:24px;flex:0 0 24px;border-radius:9px;background:#e9f0e6;display:grid;place-items:center;color:#668365;font-size:11px}
.cake-v2-filling-name{flex:1;min-width:0}
.cake-v2-filling-name strong{font-size:12px;font-weight:850;color:#63404a;display:block;line-height:1.6}
.cake-v2-filling-name small{display:block;font-size:10px;color:#a28c90;line-height:1.75}
.cake-v2-filling-gram{white-space:nowrap;font-size:10px;font-weight:750;color:#795862;border-radius:999px;background:#f7eeea;padding:4px 7px}
.cake-v2-hint{font-size:10px;color:#9b8588;line-height:1.9;margin:10px 43px 0}
.cake-v2-hint i{margin-left:5px}
.cake-v2-writing-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-right:43px}
.cake-v2-writing{border:1px solid #eadbd5;background:#fff;border-radius:16px;padding:12px;transition:border .2s,background .2s,box-shadow .2s}
.cake-v2-writing.is-active{border-color:#abbd9f;background:#fcfefa;box-shadow:0 5px 15px rgba(149,173,147,.12)}
.cake-v2-writing-select{display:flex;gap:9px;align-items:center;cursor:pointer;margin:0!important;width:100%;font-weight:normal}
.cake-v2-writing-icon{width:34px;height:34px;flex:0 0 34px;background:#f7ece8;color:#995f6d;border-radius:11px;display:grid;place-items:center}
.cake-v2-writing-copy{flex:1;min-width:0}
.cake-v2-writing-copy strong{display:block;font-size:12px;color:#57313b;font-weight:850}
.cake-v2-writing-copy small{display:block;font-size:11px;color:#99838a;margin-top:2px}
.cake-v2-writing-check{appearance:auto!important;opacity:1!important;visibility:visible!important;position:static!important;width:18px!important;height:18px!important;min-width:18px!important;accent-color:#779275!important;cursor:pointer}
.cake-v2-writing-input{margin-top:10px}
.cake-v2-text{width:100%!important;height:41px!important;border-radius:11px!important;padding:8px 12px!important;background:#fff!important;border:1px solid #e9dedb!important;font-size:11px!important;box-shadow:none!important;outline:none!important;transition:border .15s}
.cake-v2-text:focus{border-color:#93ae8f!important;box-shadow:0 0 0 3px rgba(149,173,147,.15)!important}
.cake-v2-text:disabled{background:#f8f5f3!important;color:#ad9b9d!important}
.cake-v2-writing-input small{display:block;font-size:10px;color:#b5a1a3;margin-top:5px;text-align:left}
.cake-v2-total-panel{background:#fbf6f3;border-top:1px solid #f0e1dc;padding:20px 25px 23px}
.cake-v2-receipt-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cake-v2-receipt-head strong{color:#603842;font-size:13px;font-weight:850}
.cake-v2-receipt-head span{color:#a38d91;font-size:10px}
.cake-v2-price-line{display:flex;justify-content:space-between;align-items:center;margin:9px 0;color:#907b80;font-size:12px;gap:8px}
.cake-v2-price-line[hidden]{display:none!important}
.cake-v2-price-line strong{font-size:12px;color:#6b4a54;font-weight:750}
.cake-v2-total{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:14px 0 12px;border-top:1px dashed #e3cfca;padding-top:14px}
.cake-v2-total>span{font-weight:800;color:#572f39;font-size:13px}
.cake-v2-total>span small{font-weight:400;color:#9c8588;font-size:10px;display:block;line-height:1.7}
.cake-v2-total>div{display:flex;gap:5px;align-items:baseline;color:#6b3542}
.cake-v2-total strong{font-size:28px;font-weight:900;line-height:1.4;font-variant-numeric:tabular-nums}
.cake-v2-total>div span{font-size:11px}
.cake-v2-add{width:100%;min-height:51px;border:0;border-radius:14px;display:flex;justify-content:center;align-items:center;gap:12px;background:#582a34;color:#fff!important;font-size:13px;font-weight:850;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s;box-shadow:0 9px 18px rgba(88,42,52,.16)}
.cake-v2-add:hover{transform:translateY(-1px);background:#713a48;box-shadow:0 11px 22px rgba(88,42,52,.20)}
.cake-v2-add:disabled{opacity:.6;cursor:wait}
.cake-v2-feedback{margin:7px 0 0;text-align:center;color:#527453;font-size:11px;min-height:0}
.cake-v2-feedback.is-error{color:#b83243}
.cake-v2-bottom-note{margin:10px 0 0;font-size:10px;color:#ab9398;text-align:center}
.cake-v2-bottom-note i{margin-left:5px}
.cake-v2-error{padding:16px 22px;background:#fff7f3;color:#a54843;font-size:12px}
body.cake-v2-no-scroll{overflow:hidden}
.cake-v2-backdrop{position:fixed;inset:0;background:rgba(48,31,37,.45);backdrop-filter:blur(3px);visibility:hidden;opacity:0;transition:opacity .22s;z-index:99997}
.cake-v2-backdrop.is-open{visibility:visible;opacity:1}
.cake-v2-success{position:fixed;z-index:999999999999;top:0;right:0;height:100%;height:100dvh;width:min(405px,94vw);transform:translateX(105%);transition:transform .25s ease;background:#fffdfa;box-shadow:-20px 0 45px rgba(39,17,24,.19);direction:rtl;padding:28px 23px;display:flex;flex-direction:column;overflow-y:auto}
.cake-v2-success.is-open{transform:translateX(0)}
.cake-v2-success-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.cake-v2-success-icon{width:52px;height:52px;border-radius:18px;background:#e9f1e6;color:#5b8a5e;display:grid;place-items:center;font-size:25px}
.cake-v2-close{border:0;background:#f7ede9;color:#7b525b;border-radius:50%;font-size:25px;line-height:1;width:34px;height:34px;cursor:pointer}
.cake-v2-success h2{font-size:22px;font-weight:900;color:#5f3240;margin:0 0 5px}
.cake-v2-success>p{font-size:12px;color:#927d81;margin:0 0 22px}
.cake-v2-success-product{display:flex;flex-direction:column;gap:6px;border-radius:15px;background:#fff4ef;border:1px solid #f0dfd7;padding:15px;margin-bottom:20px;color:#5d3641;font-size:13px}
.cake-v2-success-product span{font-size:11px;color:#967f87}
.cake-v2-success-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #f0e5e0;font-size:12px;color:#8a717b}
.cake-v2-success-row strong{color:#602f3c}
.cake-v2-success-link{display:flex;align-items:center;justify-content:center;gap:9px;background:#582a34;color:#fff!important;text-decoration:none!important;border-radius:14px;min-height:49px;margin-top:auto;font-size:13px;font-weight:800}
.cake-v2-continue{display:block;border:0;color:#80505e;background:none;text-align:center;padding:13px;cursor:pointer;font-size:12px}
.cake-v2-cart-meta{margin:9px 0;padding:13px;background:#fffaf7;border:1px solid #eddcd5;border-radius:13px;font-size:12px;line-height:2;color:#6d4954}
.cake-v2-cart-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.cake-v2-cart-tags span{display:inline-block;background:#f1e7e2;border-radius:999px;padding:2px 8px;font-size:10px}
@media(max-width:991px){.cake-v2-fillings,.cake-v2-writing-grid{grid-template-columns:1fr}.cake-v2-filling-gram{margin-right:auto}}
@media(max-width:576px){.cake-v2-wrap{padding:4px 0 12px!important}.cake-v2{border-radius:18px}.cake-v2-hero{padding:20px 17px 19px}.cake-v2-hero h2{font-size:19px!important}.cake-v2-hero-top{gap:6px}.cake-v2-content{padding:4px 16px 0}.cake-v2-section{padding:18px 0}.cake-v2-weight-area,.cake-v2-fillings,.cake-v2-writing-grid{padding-right:0}.cake-v2-weight-area{gap:9px}.cake-v2-total-panel{padding:17px 16px 19px}.cake-v2-total strong{font-size:25px}.cake-v2-hint{margin-right:0}.cake-v2-counter{width:100%;justify-content:space-between}.cake-v2-writing-grid{gap:8px}}
@media(prefers-reduced-motion:reduce){.cake-v2 *, .cake-v2-success,.cake-v2-backdrop{transition:none!important}}

/* ========================================================================
   Reference-style cake product page (customer-supplied product page layout)
   Scoped to the cake product so ordinary products and admin retain styles.
   ======================================================================== */
.cake-reference-page,.cake-reference-page *{box-sizing:border-box}
.cake-reference-page{--ref-accent:var(--first-color,#f92e6d);--ref-gray:#f5f5f5;--ref-text:#202122;--ref-muted:#656667;--ref-border:#eaeaea;direction:rtl;text-align:right;background:#fff;border:1px solid #ededed;border-radius:15px;padding:20px;margin:0 0 18px;width:100%;font-family:inherit;color:var(--ref-text)}
.cake-reference-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1.07fr) minmax(265px,.84fr);gap:24px;align-items:start}
.cake-reference-layout>*{min-width:0}
.cake-reference-images{position:relative}
.cake-reference-tools{position:absolute;top:7px;right:7px;z-index:2;display:flex;flex-direction:column;gap:7px}
.cake-reference-tool{border:0;width:40px;height:40px;background:rgba(255,255,255,.95);box-shadow:0 2px 13px rgba(0,0,0,.08);border-radius:50%;color:#5c6063;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none!important;font-size:18px;transition:background .2s,color .2s}
.cake-reference-tool:hover,.cake-reference-tool:focus-visible{color:var(--ref-accent);background:#fff;outline:2px solid var(--ref-accent)!important}
.cake-reference-main-image{border:1px solid var(--ref-border);border-radius:15px;overflow:hidden;position:relative;display:block;width:100%;height:380px;padding:0;background:white;cursor:zoom-in}
.cake-reference-main-image img{width:100%;height:100%;object-fit:contain;transition:transform .22s ease}
.cake-reference-main-image:hover img{transform:scale(1.035)}
.cake-reference-zoom-hint{position:absolute;bottom:12px;left:12px;background:rgba(255,255,255,.94);border-radius:8px;padding:6px 9px;font-size:11px;color:#454545;box-shadow:0 1px 4px #0001}
.cake-reference-thumbs{display:flex;gap:10px;overflow:auto;padding:13px 2px 5px;scrollbar-width:thin}
.cake-reference-thumb{flex:0 0 80px;height:80px;border:1px solid var(--ref-border);border-radius:10px;background:#fff;padding:2px;overflow:hidden;cursor:pointer}
.cake-reference-thumb.is-current{border:2px solid var(--ref-accent)}
.cake-reference-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.cake-reference-title-block{background:var(--ref-gray);border-radius:15px;padding:13px 14px 14px;margin:0 0 12px!important;min-height:97px}
.cake-reference-service-label{color:#67696a;font-size:11px;font-weight:500;display:block;margin-bottom:7px}
.cake-reference-product-name{font-size:19px!important;line-height:1.7!important;font-weight:700!important;color:var(--ref-text)!important;margin:0 0 6px!important}
.cake-reference-product-code{font-size:11px;color:#8d8e90}
.cake-reference-option-title{font-size:15px!important;font-weight:700!important;margin:13px 0!important;color:#202122!important}
.cake-reference-options{padding-bottom:14px;border-bottom:1px solid var(--ref-border)}
.cake-reference-option-item{display:flex;align-items:center;gap:10px;padding:9px 3px;font-size:13px;color:#353535;line-height:1.7}
/* Real optional filling checkboxes — unchecked when the page loads. */
.cake-reference-options-hint{font-size:12px!important;line-height:1.9!important;color:#696969!important;margin:4px 0 10px!important}
.cake-reference-filling-choice{position:relative;display:flex!important;gap:10px!important;align-items:center!important;padding:12px 10px!important;background:#fff;border:1px solid #e1e4e6;border-radius:12px;margin:8px 0!important;transition:border-color .2s,background-color .2s,box-shadow .2s;cursor:pointer}
.cake-reference-filling-choice:hover{border-color:var(--ref-accent);box-shadow:0 4px 16px rgba(0,0,0,.04)}
.cake-reference-filling-choice.is-selected{background:#fff7f9;border-color:var(--ref-accent);box-shadow:0 3px 15px rgba(249,46,109,.09)}
.cake-reference-filling-input{position:absolute!important;opacity:0!important;width:22px!important;height:22px!important;margin:0!important;cursor:pointer;pointer-events:none}
.cake-reference-check-box{width:21px;height:21px;min-width:21px;border-radius:6px;border:1.5px solid #b8bec2;background:white;display:flex;align-items:center;justify-content:center;color:white;font-size:12px;transition:all .18s}
.cake-reference-check-box .fa{opacity:0}
.cake-reference-filling-input:checked+.cake-reference-check-box{background:var(--ref-accent);border-color:var(--ref-accent)}
.cake-reference-filling-input:checked+.cake-reference-check-box .fa{opacity:1}
.cake-reference-filling-input:focus-visible+.cake-reference-check-box{outline:3px solid rgba(249,46,109,.25);outline-offset:3px}
.cake-reference-option-text strong{display:block;color:#252628;font-size:13px;font-weight:650}
.cake-reference-option-text small{display:block!important;margin-top:3px!important}
.cake-reference-filling-price{display:block;white-space:nowrap;font-size:11px;font-weight:600;color:var(--ref-accent);text-align:left}
@media(max-width:450px){.cake-reference-filling-choice{flex-wrap:wrap}.cake-reference-filling-price{margin-right:31px}.cake-reference-option-text{flex-basis:calc(100% - 36px)}}
.cake-reference-option-text{font-size:13px;font-weight:400;flex:1}
.cake-reference-option-text small{font-size:11px;color:#7d7d7d;font-weight:400}
.cake-reference-message-item{display:flex;flex-wrap:wrap;align-items:center;column-gap:7px;row-gap:8px;margin:12px 0 8px;font-size:12px}
.cake-reference-message-item label{margin:0!important;font-size:12px;font-weight:500;white-space:nowrap;color:#4d4d4d}
.cake-reference-message-input{border:1px solid #dedede!important;border-radius:20px!important;background:white!important;padding:9px 12px!important;min-width:145px;width:50%;height:37px!important;color:#202122!important;font-size:12px!important;box-shadow:none!important;flex:1}
.cake-reference-message-input:focus{border-color:var(--ref-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ref-accent) 16%,transparent)!important}
.cake-reference-message-fee{color:#7e7e7e;font-size:10px;font-weight:500;white-space:nowrap}
.cake-reference-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cake-reference-note{font-size:11px!important;line-height:1.9!important;color:#7b7b7b;margin:9px 0 0!important}
.cake-reference-property{background:var(--ref-gray);padding:14px;border-radius:15px;margin:13px 0 0!important}
.cake-reference-property-title{font-size:15px!important;font-weight:700!important;color:var(--ref-text)!important;margin:0 0 12px!important}
.cake-reference-property ul{list-style:none!important;margin:0!important;padding:0!important}
.cake-reference-property li{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--ref-muted);padding:5px 0;line-height:1.65}
.cake-reference-property li .fa{color:#656667;font-size:11px}
.cake-reference-property li span{color:#656667!important;font-size:12px!important;font-weight:400!important;margin:0!important}
.cake-reference-property li b{color:#202122;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.cake-reference-side-inner{background:#f0f3f5;border-radius:15px;padding:18px 17px}
.cake-reference-seller-info{padding:0 0 10px;border-bottom:1px solid #d5d8d9}
.cake-reference-seller-info>div{font-size:12px!important;color:#484c4e;line-height:2.15}
.cake-reference-seller-info .fa{color:#777;margin-left:5px}
.cake-reference-seller-info b{font-weight:700;color:#202122}
.cake-reference-price-block{margin:18px 0 11px!important}
.cake-reference-price-caption{font-size:12px;color:#73787b;display:block;margin-bottom:7px}
.cake-reference-price-main{display:flex;gap:7px;flex-wrap:wrap;align-items:baseline}
.cake-reference-price-main strong{font-size:25px;font-weight:800;color:#202122;line-height:1.35;font-variant-numeric:tabular-nums}
.cake-reference-price-main span{font-size:12px;color:#656667}
.cake-reference-availability{display:inline-flex!important;align-items:center;gap:6px;background:#9ac45c;color:#fff;font-size:12px;border-radius:10px;padding:7px 12px;margin-bottom:17px!important}
.cake-reference-weight-box{background:rgba(255,255,255,.55);border:1px solid #e6e9eb;border-radius:11px;padding:12px 10px;margin-bottom:13px;text-align:center}
.cake-reference-weight-box>label{display:block;margin:0 0 12px!important;font-size:12px;font-weight:500;color:#555;text-align:center}
.cake-reference-weight-counter{display:flex;align-items:center;justify-content:center;direction:rtl;gap:0;margin:0 auto;border:1px solid #d4d9dd;border-radius:9px;overflow:hidden;width:min(196px,100%);background:#fff}
.cake-reference-weight-counter button{width:40px;height:40px;flex-shrink:0;border:0;background:#fff;color:#565d63;font-size:13px;cursor:pointer;transition:background .18s}
.cake-reference-weight-counter button:hover{background:#f5e3eb;color:var(--ref-accent)}
.cake-reference-weight-counter input{min-width:0;width:calc(100% - 80px);height:40px!important;background:white!important;border:0!important;border-left:1px solid #eee!important;border-right:1px solid #eee!important;text-align:center!important;padding:0!important;font-size:17px!important;font-weight:800;color:#202122!important;box-shadow:none!important;-moz-appearance:textfield}
.cake-reference-weight-counter input::-webkit-inner-spin-button,.cake-reference-weight-counter input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cake-reference-fixed-weight{display:flex;align-items:baseline;gap:7px;justify-content:center;color:#43494c}
.cake-reference-fixed-weight strong{font-size:22px}
.cake-reference-fixed-weight span{font-size:12px}
.cake-reference-min-weight{display:block;margin-top:10px;color:#7d8286;font-size:10px}
.cake-reference-cost-details{border-top:1px solid #d6d9db;margin-top:13px;padding-top:9px}
.cake-reference-cost-details>div{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;line-height:2.4;color:#777b7e}
.cake-reference-cost-details>div[hidden]{display:none!important}
.cake-reference-cost-details b{color:#454a4d;font-size:11px}
.cake-reference-add{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;background:var(--ref-accent)!important;color:#fff!important;border:0!important;border-radius:10px!important;min-height:49px;font-size:13px!important;font-weight:700!important;padding:10px 8px!important;margin:13px 0 0!important;cursor:pointer}
.cake-reference-add:hover{filter:brightness(.94)}
.cake-reference-add:disabled{opacity:.6;cursor:wait}
.cake-reference-cart-shortcut{display:block;text-align:center;font-size:11px;margin-top:13px;color:var(--ref-muted)!important;text-decoration:none!important}
.cake-reference-cart-shortcut:hover{color:var(--ref-accent)!important}
.cake-reference-side-note{border-top:1px solid #d5d9dd;margin-top:16px;padding-top:12px;font-size:10px;line-height:1.9;color:#73787d}
.cake-reference-unavailable{color:#9d3232;background:#ffeded;border-radius:9px;padding:11px 8px;margin:15px 0;font-size:12px}
.cake-reference-order-feedback{font-size:11px;color:#387942;line-height:1.8;min-height:0;margin:7px 0 0}
.cake-reference-order-feedback.is-error{color:#af3030}
.cake-reference-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.89);z-index:99999;display:none;align-items:center;justify-content:center;padding:35px 12px}
.cake-reference-lightbox.is-open{display:flex}
.cake-reference-lightbox img{max-height:88vh;max-width:95vw;object-fit:contain;background:white;border-radius:10px}
.cake-reference-lightbox>button{position:absolute;top:13px;right:17px;border:0;color:white;background:#333;border-radius:50%;width:35px;height:35px;cursor:pointer;font-size:24px}
@media(max-width:1199px){.cake-reference-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.cake-reference-sidebar{grid-column:1/-1}.cake-reference-side-inner{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.cake-reference-seller-info{grid-column:1/-1}.cake-reference-add{align-self:end}}
@media(max-width:767px){.cake-reference-page{padding:13px;border-radius:12px}.cake-reference-layout{grid-template-columns:minmax(0,1fr);gap:17px}.cake-reference-main-image{height:min(82vw,400px)}.cake-reference-info,.cake-reference-sidebar{grid-column:1/-1}.cake-reference-side-inner{display:block}.cake-reference-title-block{min-height:0}.cake-reference-message-item{align-items:flex-start}.cake-reference-message-item label{width:100%}.cake-reference-message-input{width:100%;flex:1 0 100%}.cake-reference-message-fee{margin-top:-1px}.cake-reference-availability{margin-bottom:10px!important}.cake-reference-price-main strong{font-size:23px}.cake-reference-tools{flex-direction:row}.cake-reference-thumb{flex-basis:68px;height:68px}}
@media(prefers-reduced-motion:reduce){.cake-reference-page *, .cake-reference-lightbox{transition:none!important}}
.cake-reference-option-text .cake-v2-filling-gram{font-size:11px;font-weight:700;color:#45484b;background:transparent;padding:0;white-space:nowrap}
