.fwc-product-modal-box{width:min(1350px,calc(100% - 48px));max-height:calc(100dvh - 48px);border-radius:38px;overflow:hidden;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.24)}
.fwc-product-modal-box>.fwc-panel-body{padding:0;display:block;max-height:inherit;overflow:auto}
.fwc-popup-product{display:grid;grid-template-columns:42% 58%;min-height:min(760px,calc(100dvh - 48px))}
.fwc-popup-media{display:flex;align-items:center;justify-content:center;padding:48px;background:linear-gradient(180deg,#fffaf0 0%,#eff7ff 100%)}
.fwc-popup-media img{width:100%;max-width:480px;max-height:480px;object-fit:contain}
.fwc-popup-gallery{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:18px}
.fwc-popup-stage{width:100%;min-height:500px;position:relative;display:flex;align-items:center;justify-content:center}
.fwc-popup-media .fwc-popup-stage>[data-gallery-main]{width:100%;max-width:480px;max-height:500px;object-fit:contain}
.fwc-gallery-arrow{width:44px;height:44px;position:absolute;top:50%;z-index:2;transform:translateY(-50%);display:grid;place-items:center;border:1px solid rgba(15,23,42,.08);border-radius:50%;background:rgba(255,255,255,.92);color:#0f172a;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(15,23,42,.12)}
.fwc-gallery-arrow.prev{inset-inline-start:0}.fwc-gallery-arrow.next{inset-inline-end:0}
.fwc-gallery-thumbs{width:100%;display:flex;justify-content:center;gap:10px;padding:4px;overflow-x:auto;scrollbar-width:thin}
.fwc-gallery-thumb{flex:0 0 70px;width:70px;height:70px;padding:5px;border:2px solid transparent;border-radius:14px;background:#fff;cursor:pointer;opacity:.65;transition:border-color .2s ease,opacity .2s ease,transform .2s ease}
.fwc-gallery-thumb:hover{opacity:1;transform:translateY(-2px)}.fwc-gallery-thumb.active{border-color:var(--fwc-primary,#2563eb);opacity:1}
.fwc-popup-media .fwc-gallery-thumb img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.fwc-popup-details{min-width:0;padding:0 32px 22px;display:flex;flex-direction:column;gap:18px}
.fwc-popup-header{margin:0 -32px 18px;padding:30px 32px 14px;border-bottom:1px solid var(--fwc-border,#e2e8f0);display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.fwc-popup-header>div{min-width:0}.fwc-popup-header .fwc-close{flex:0 0 auto;width:54px;height:54px;border:0;border-radius:18px;font-weight:800;cursor:pointer}
.fwc-popup-details h3{margin:0;font-size:clamp(34px,3.4vw,56px);line-height:1.05;overflow-wrap:anywhere}.fwc-popup-description{margin:0;color:var(--fwc-muted,#64748b);font-weight:700;line-height:1.6}
.fwc-popup-price,.fwc-popup-preparation,.fwc-popup-notice{padding:16px 18px;border:1px solid var(--fwc-border,#e2e8f0);border-radius:18px;background:#f8fbff}.fwc-popup-price,.fwc-popup-preparation{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fwc-popup-preparation{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.fwc-popup-price span,.fwc-popup-preparation span,.fwc-popup-label{font-weight:800}.fwc-popup-label{margin-bottom:-10px}
.fwc-popup-price .fwc-price{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.fwc-popup-price .product_orignal_price{text-decoration:line-through;color:#94a3b8;font-size:.88em;font-weight:700}.fwc-popup-price .product_final_price{text-decoration:none;color:inherit}
.fwc-popup-notes{width:100%;min-height:110px;padding:16px;border:1px solid var(--fwc-border,#e2e8f0);border-radius:16px;resize:vertical;font:inherit}
.fwc-option-group{margin:0;padding:0;border:0}.fwc-option-group legend{width:100%;margin:0 0 10px;color:var(--fwc-ink,#15213d);font-size:16px;font-weight:900}.fwc-option-group legend small{color:#64748b;font-size:12px;font-weight:700}.fwc-option-choices{display:flex;flex-wrap:wrap;gap:9px}.fwc-option-choice{position:relative;margin:0;cursor:pointer}.fwc-option-choice input{position:absolute;opacity:0;pointer-events:none}.fwc-option-choice span{min-height:46px;padding:10px 15px;display:flex;align-items:center;border:1px solid var(--fwc-border,#e2e8f0);border-radius:14px;background:#fff;color:var(--fwc-ink,#15213d);font-weight:800;transition:.15s ease}.fwc-option-choice span b{margin-inline-start:5px;color:#08783f}.fwc-option-choice input:checked+span{border-color:var(--fwc-primary,#2563eb);background:#eff6ff;color:var(--fwc-primary,#2563eb);box-shadow:0 0 0 1px var(--fwc-primary,#2563eb)}
.fwc-options-total{padding:10px 14px;border-radius:12px;background:#f8fafc;color:#475569;font-size:13px;font-weight:800}.fwc-modal-actions{margin-top:auto;padding-top:18px;border-top:1px solid var(--fwc-border,#e2e8f0);display:flex;align-items:center;justify-content:space-between;gap:18px}.fwc-popup-quantity,.fwc-popup-buttons{display:flex;align-items:center;gap:10px}.fwc-popup-quantity button{width:38px;height:38px;border:0;border-radius:12px;background:#eef3fb;font-size:22px;cursor:pointer}.fwc-popup-quantity input{width:46px;border:0;text-align:center;font:inherit;font-weight:800;background:transparent}.fwc-popup-add,.fwc-popup-buy{min-height:52px;padding:0 20px;border:0;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.fwc-popup-add{color:#08783f;background:#eaf8f0}.fwc-popup-buy{color:#fff;background:var(--fwc-primary,#2563eb)}
@media(max-width:820px){.fwc-product-modal-box{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-radius:24px}.fwc-popup-product{grid-template-columns:1fr}.fwc-popup-media{padding:24px;min-height:220px}.fwc-popup-media img{max-height:230px}.fwc-popup-stage{min-height:230px}.fwc-popup-media .fwc-popup-stage>[data-gallery-main]{max-height:230px}.fwc-gallery-thumb{flex-basis:58px;width:58px;height:58px}.fwc-popup-details{padding:0 20px 20px}.fwc-popup-header{margin:0 -20px 8px;padding:20px}.fwc-popup-header .fwc-close{width:44px;height:44px;border-radius:14px}.fwc-popup-details h3{font-size:clamp(28px,8vw,40px)}.fwc-modal-actions{align-items:stretch;flex-direction:column}.fwc-popup-buttons{width:100%}.fwc-popup-add,.fwc-popup-buy{flex:1}}
@media(max-width:480px){.fwc-popup-media{min-height:170px;padding:18px}.fwc-popup-media img{max-height:175px}.fwc-popup-details{gap:14px}.fwc-popup-description{font-size:14px}.fwc-popup-price,.fwc-popup-preparation,.fwc-popup-notice{padding:13px 14px;border-radius:14px}.fwc-popup-notes{min-height:90px}.fwc-popup-buttons{gap:8px}.fwc-popup-add,.fwc-popup-buy{min-height:48px;padding-inline:12px;font-size:14px}}
