@layer components{.popup-overlay{z-index:500;background:#373636b3;display:none;position:fixed;inset:0;overflow-y:auto}.popup-overlay.open{display:block}.popup-modal{background:var(--white);border-radius:20px;width:calc(100% - 40px);max-width:1080px;margin:80px auto 60px;display:flex;overflow:hidden}.popup-left{flex-direction:column;flex-shrink:0;width:496px;display:flex}.popup-photo{background:#f5f7f9;height:300px;position:relative;overflow:hidden}.popup-carousel-track{height:100%;transition:transform .35s cubic-bezier(.4,0,.2,1);display:flex}.popup-carousel-slide{flex:0 0 100%;height:100%}.popup-carousel-slide img{object-fit:cover;width:100%;height:100%}.popup-carousel-arrow{width:40px;height:40px;color:var(--dark);cursor:pointer;z-index:2;background:#ffffffe6;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:18px;transition:background .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.popup-carousel-arrow:hover{background:var(--white)}.popup-carousel-arrow--prev{left:12px}.popup-carousel-arrow--next{right:12px}.popup-photo-labels{flex-wrap:wrap;gap:8px;display:flex;position:absolute;top:16px;left:16px}.popup-label{color:var(--white);border-radius:20px;padding:4px 12px;font-size:14px;font-weight:600}.popup-label--hit{background:var(--orange2)}.popup-label--new{background:#459c26}.popup-label--hot{background:#f7371c}.popup-dots{gap:8px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.popup-dot{background:#ffffff80;border-radius:4px;width:60px;height:8px}.popup-dot.active{background:var(--white)}.popup-kbzhu{padding:20px}.popup-kbzhu-title{margin-bottom:10px;font-size:16px}.popup-kbzhu-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.popup-kbzhu-item{background:var(--bg);text-align:center;border-radius:10px;padding:10px 8px}.popup-kbzhu-val{font-family:var(--fh);font-size:18px;font-weight:600}.popup-kbzhu-label{color:var(--muted);margin-top:4px}.popup-right{flex-direction:column;flex:1;gap:16px;padding:32px;display:flex;overflow-y:auto}.popup-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.popup-weight{color:var(--muted);font-size:16px}.popup-composition-title{margin-bottom:6px;font-size:15px}.popup-composition-text{color:var(--muted);font-size:14px;line-height:1.6}.popup-price-row{align-items:center;gap:12px;margin-top:auto;display:flex}.popup-price{font-size:24px;font-weight:600}.popup-old-price{color:var(--muted);font-size:15px;text-decoration:line-through}.popup-more{text-align:center;justify-content:center;align-items:center;gap:6px;font-size:14px;transition:color .2s;display:flex}.popup-more:hover{color:var(--orange)}@media (max-width:768px){.popup-modal{flex-direction:column;margin:20px auto}.popup-left{width:100%}.popup-photo{height:220px}.popup-right{padding:20px}}.popup-composition,.popup-description{color:#68727a;margin:-8px 0 0;font-size:14px;line-height:1.55}.popup-composition{color:#46515b;font-weight:600}.bakery-design .popup-header .popup-name{flex:auto}.bakery-design .popup-price-row{flex-wrap:wrap}.bakery-design .popup-price-row .btn-add-cart{flex:100%}@media (max-width:600px){.bakery-design .popup-header{align-items:flex-start}}.bakery-design .product-preview-nutrition-modal{background:#fff;flex-direction:column;width:calc(100% - 24px);max-width:640px;max-height:calc(100dvh - 48px);margin:24px auto;display:flex}.bakery-design .product-preview-nutrition-modal>.popup-right{overscroll-behavior:contain;width:100%;min-width:0;min-height:0;padding:20px;overflow-y:auto}.bakery-design .product-preview-nutrition-modal .popup-name{overflow-wrap:break-word;min-width:0;font-size:22px;line-height:1.3}.bakery-design .product-preview-nutrition-modal .popup-close{flex-shrink:0}@media (max-width:480px){.bakery-design .product-preview-nutrition-modal>.popup-right{padding:16px}.bakery-design .product-preview-nutrition-modal .product-details-panel{padding:12px}.bakery-design .product-preview-nutrition-modal .product-ingredients-grid{grid-template-columns:minmax(0,1fr)}.bakery-design .product-preview-nutrition-modal .product-nutrition-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-width:0}}}
