.modal-overlay{position:fixed;inset:0;background:rgba(55,0,0,.64);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.modal-overlay.show{opacity:1;visibility:visible}.modal-dialog{background:#fff;border:1px solid rgba(212,175,55,.28);border-radius:16px;box-shadow:0 25px 50px rgba(70,0,0,.24),0 0 0 1px rgba(212,175,55,.1);max-width:400px;width:90%;max-height:90vh;overflow-y:auto;transform:scale(.95);transition:transform .2s ease}.modal-overlay.show .modal-dialog{transform:scale(1)}.modal-header{padding:24px 24px 16px;border-bottom:1px solid #f3e7d0}.modal-title{font-size:20px;font-weight:700;color:#5f1111;margin:0;display:flex;align-items:center;gap:12px}.modal-body{padding:16px 24px 24px}.modal-message{font-size:16px;line-height:1.5;color:#5f4b4b;margin:0}.modal-actions{display:flex;gap:12px;margin-top:24px}.modal-btn{flex:1;padding:12px 16px;border:0;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;text-align:center}.modal-btn-secondary{background:#fffaf2;color:#6b5555;border:1px solid #e8d8b5}.modal-btn-secondary:hover{background:#fdf3df;border-color:#d4af37}.modal-btn-danger{background:#9f1d1d;color:#fff}.modal-btn-danger:hover{background:#7f1616}.modal-btn-primary{background:linear-gradient(135deg,#a67c00,#d4af37);color:#fff;box-shadow:0 4px 12px rgba(184,134,11,.22)}.modal-btn-primary:hover{background:linear-gradient(135deg,#8f6b00,#c49b2e);box-shadow:0 6px 16px rgba(184,134,11,.3)}.modal-icon{font-size:24px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px}.modal-icon.danger{background:#fff0f0;color:#a61b1b}.modal-icon.warning,.modal-icon.info{background:#fff8e5;color:#b8860b}.modal-icon.success{background:#f8f3df;color:#9a7410}

.pd-lb{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.95);display:none;color:#fff;opacity:0;transition:opacity .18s ease}.pd-lb.show{display:block;opacity:1}.pd-lb-canvas{position:absolute;inset:56px 0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;z-index:1}.pd-lb-img{max-width:96vw;max-height:86vh;will-change:transform;user-select:none;pointer-events:none;transform-origin:50% 50%}.pd-lb-close,.pd-lb-prev,.pd-lb-next,.pd-lb-counter{position:absolute;z-index:2}.pd-lb-close,.pd-lb-prev,.pd-lb-next{background:rgba(17,24,39,.7);color:#fff;border:0;cursor:pointer;width:40px;height:40px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;transition:background-color .15s ease,transform .05s ease;-webkit-tap-highlight-color:transparent}.pd-lb-close:hover,.pd-lb-prev:hover,.pd-lb-next:hover{background:rgba(31,41,55,.85)}.pd-lb-close:active,.pd-lb-prev:active,.pd-lb-next:active{transform:translateY(.5px)}.pd-lb-close{top:max(12px,env(safe-area-inset-top,12px));right:max(12px,env(safe-area-inset-right,12px))}.pd-lb-prev{top:50%;left:10px;transform:translateY(-50%)}.pd-lb-next{top:50%;right:10px;transform:translateY(-50%)}.pd-lb-counter{top:max(16px,env(safe-area-inset-top,16px));left:50%;transform:translateX(-50%);font-weight:700;font-size:13px;letter-spacing:.4px;background:rgba(17,24,39,.65);padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.1)}

.prod-card{position:relative}.prod-card-actions-btn{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid rgba(127,29,29,.1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;transition:all .2s ease;box-shadow:0 2px 8px rgba(80,0,0,.12);-webkit-tap-highlight-color:transparent}.prod-card-actions-btn:hover{background:#fff;border-color:rgba(212,175,55,.5);box-shadow:0 4px 12px rgba(80,0,0,.16);transform:scale(1.05)}.prod-card-actions-btn:active{transform:scale(.95)}.prod-card-actions-btn svg{width:20px;height:20px;color:#7f1d1d;display:block}

.pca-overlay{position:fixed;inset:0;background:rgba(40,0,0,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:99998;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.pca-overlay.active{opacity:1;visibility:visible}.pca-bottom-sheet{position:fixed;bottom:0;left:0;right:0;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -4px 24px rgba(80,0,0,.18);z-index:99999;max-width:600px;margin:0 auto;transform:translateY(100%);transition:transform .3s cubic-bezier(.25,.46,.45,.94)}.pca-bottom-sheet.active{transform:translateY(0)}.pca-sheet-handle{width:40px;height:4px;background:#d4af37;border-radius:999px;margin:12px auto 8px}.pca-sheet-product{display:flex;gap:12px;padding:12px 20px;border-bottom:1px solid #f1e6cf}.pca-product-image{width:60px;height:60px;border-radius:8px;object-fit:cover;flex-shrink:0;border:1px solid #eadfbd}.pca-product-info{flex:1;min-width:0}.pca-product-name{font-size:14px;font-weight:600;color:#5f1111;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}.pca-product-price{font-size:15px;font-weight:700;color:#a67c00;margin:0}.pca-product-stock{font-size:12px;color:#64748b;margin:2px 0 0}.pca-product-stock.in{color:#16a34a}.pca-product-stock.low{color:#c2410c}.pca-product-stock.out{color:#dc2626}.pca-sheet-actions{padding:8px 0 20px}.pca-action-item{display:flex;align-items:center;gap:16px;padding:16px 20px;background:transparent;border:0;width:100%;cursor:pointer;transition:background-color .15s ease;-webkit-tap-highlight-color:transparent}.pca-action-item:hover{background:#fffaf0}.pca-action-item:active{background:#fdf3df}.pca-action-item:disabled{opacity:.4;cursor:not-allowed}.pca-action-item:disabled:hover{background:transparent}.pca-action-icon{width:24px;height:24px;color:#7f1d1d;flex-shrink:0}.pca-action-content{flex:1;text-align:left}.pca-action-label{font-size:15px;font-weight:600;color:#5f1111;margin:0 0 2px}.pca-action-desc{font-size:12px;color:#8b7355;margin:0}.pca-action-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:#b91c1c;color:#fff;font-size:11px;font-weight:700;border-radius:999px;margin-left:auto}.pca-action-badge.compare{background:#a67c00}.pca-action-item.cart .pca-action-icon{color:#b91c1c}.pca-action-item.compare .pca-action-icon{color:#a67c00}.pca-action-item.compare.active{background:rgba(212,175,55,.08)}.pca-action-item.compare.active .pca-action-label,.pca-action-item.compare.active .pca-action-icon{color:#9a7410}.pca-action-item.share .pca-action-icon{color:#64748b}.pca-action-item.loading{pointer-events:none}.pca-action-item.loading .pca-action-icon{animation:spin 1s linear infinite}.pca-action-item.success .pca-action-icon{animation:checkmark .5s ease}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes checkmark{0%{transform:scale(0)}50%{transform:scale(1.2)}100%{transform:scale(1)}}.flying-product{position:fixed;pointer-events:none;z-index:99999;animation:fadeOut .8s ease forwards}.flying-product img{border-radius:8px;box-shadow:0 4px 12px rgba(80,0,0,.3)}@keyframes fadeOut{to{opacity:0;transform:scale(.5)}}

.pd-compare-section{margin:.5rem 0;display:flex;align-items:center;gap:.5rem}.pd-compare-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .85rem;border:1px solid #d4af37;border-radius:20px;background:#fff;color:#7f1d1d;font-weight:600;font-size:.8rem;cursor:pointer;transition:all .2s ease;position:relative;white-space:nowrap}.pd-compare-btn:hover{border-color:#b91c1c;color:#991b1b;background:#fffaf0;transform:translateY(-1px);box-shadow:0 2px 8px rgba(185,28,28,.15)}.pd-compare-btn.added{border-color:#b91c1c;color:#b91c1c;background:#fff5f5}.pd-compare-btn .compare-remove{display:none}.pd-compare-btn.added .compare-text{display:none}.pd-compare-btn.added .compare-remove,.pd-compare-btn.added .compare-remove[hidden]{display:flex!important;align-items:center;gap:.25rem;font-weight:600;font-size:.9rem;color:#b91c1c!important;visibility:visible!important}.pd-compare-btn.added:hover{border-color:#991b1b;color:#991b1b;background:#fef2f2;transform:translateY(-1px);box-shadow:0 2px 8px rgba(153,27,27,.2)}.pd-compare-btn .compare-icon{width:16px;height:16px;flex-shrink:0}.pd-compare-info{display:inline-flex;align-items:center}.compare-note{color:#a88b45;font-size:.7rem;font-weight:500;transition:color .2s ease}.pd-compare-btn.added+.pd-compare-info .compare-note{color:#b91c1c;font-weight:600}

.compare-indicator{position:relative}.compare-indicator .badge{position:absolute;top:-8px;right:-8px;min-width:18px;height:18px;padding:0 5px;background:#b91c1c;color:#fff;border-radius:9px;font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;transform:scale(0);transition:transform .2s ease}.compare-indicator .badge.active{transform:scale(1)}

.compare-floating-badge{position:fixed;right:16px;bottom:calc(20px + 60px);width:auto;min-width:56px;height:56px;padding:0 16px;border-radius:28px;background:linear-gradient(135deg,#7f1d1d,#b91c1c 55%,#d4af37);color:#fff;box-shadow:0 8px 24px -8px rgba(127,29,29,.55);cursor:pointer;z-index:1104;opacity:0;transform:translateY(8px) scale(.9);transition:opacity .3s ease,transform .3s ease,box-shadow .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:.85rem;pointer-events:none}.compare-floating-badge.visible{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.compare-floating-badge:hover{box-shadow:0 12px 32px -10px rgba(127,29,29,.65);transform:translateY(-2px) scale(1.02)}.compare-floating-badge:active{transform:translateY(0) scale(.98)}.compare-floating-badge .cfb-icon{width:20px;height:20px;flex-shrink:0}.compare-floating-badge .cfb-count{font-size:.9rem;font-weight:700;min-width:20px;text-align:center;background:rgba(255,255,255,.2);padding:2px 8px;border-radius:12px;line-height:1;display:flex;align-items:center;justify-content:center;height:24px}.compare-floating-badge .cfb-text{display:none}

.compare-sidebar{position:fixed;top:0;right:-400px;width:400px;height:100vh;height:100dvh;background:#fff;box-shadow:-4px 0 20px rgba(80,0,0,.15);z-index:9999;display:flex;flex-direction:column;transition:right .3s ease}.compare-sidebar.open{right:0}.compare-overlay{position:fixed;inset:0;background:rgba(40,0,0,.6);z-index:9998;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.compare-overlay.active{opacity:1;visibility:visible}.compare-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;border-bottom:1px solid #eadfbd;background:linear-gradient(135deg,#fff,#fffaf0)}.compare-title{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#5f1111;margin:0}.compare-count{color:#a88b45;font-weight:400}.compare-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:6px;background:transparent;color:#7f1d1d;cursor:pointer;transition:all .2s ease}.compare-close:hover{background:#fef2f2;color:#991b1b}.compare-content{flex:1;overflow-y:auto;padding:1rem}.compare-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem 1rem}.compare-empty h5{margin:1rem 0 .5rem;color:#5f1111}.compare-empty p{color:#8b7355;font-size:.875rem;line-height:1.5}.compare-list{display:flex;flex-direction:column;gap:.75rem}.compare-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:1px solid #eadfbd;border-radius:8px;background:#fff;transition:all .2s ease}.compare-item:hover{border-color:#d4af37;box-shadow:0 2px 8px rgba(127,29,29,.08)}.compare-item-image{flex-shrink:0;width:48px;height:48px;border-radius:6px;overflow:hidden;border:1px solid #eadfbd}.compare-item-image img{width:100%;height:100%;object-fit:cover}.compare-item-info{flex:1;min-width:0}.compare-item-name{font-weight:500;font-size:.875rem;color:#5f1111;margin-bottom:.25rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.compare-item-price{font-weight:600;font-size:.8rem;color:#a67c00}.compare-item-remove{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:4px;background:transparent;color:#b91c1c;cursor:pointer;transition:all .2s ease}.compare-item-remove:hover{background:#fef2f2;color:#7f1d1d}.compare-actions{padding:1rem;border-top:1px solid #eadfbd;display:flex;gap:.75rem}.compare-actions .btn{flex:1;padding:.75rem 1rem;border-radius:6px;font-weight:600;font-size:.875rem;display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;transition:all .2s ease}.btn-outline-danger{border:1px solid #b91c1c;background:transparent;color:#b91c1c}.btn-outline-danger:hover{background:#b91c1c;color:#fff}.btn-primary{border:1px solid #b8860b;background:linear-gradient(135deg,#b8860b,#d4af37);color:#fff}.btn-primary:hover{background:linear-gradient(135deg,#9a7209,#b8860b);border-color:#9a7209}.btn-primary:disabled{opacity:.5;cursor:not-allowed}

.ai-compare-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center}.ai-compare-modal.open{display:flex}.ai-compare-modal .modal-backdrop{position:absolute;inset:0;background:rgba(40,0,0,.7);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.ai-compare-modal .modal-container{position:relative;width:90%;max-width:1000px;max-height:90vh;background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(80,0,0,.25);display:flex;flex-direction:column;overflow:hidden}.ai-compare-modal .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid #eadfbd;background:linear-gradient(135deg,#fff,#fffaf0)}.ai-compare-modal .modal-title{display:flex;align-items:center;gap:.75rem;font-size:1.25rem;font-weight:600;color:#5f1111;margin:0}.modal-close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:#7f1d1d;cursor:pointer;transition:all .2s ease}.modal-close:hover{background:#fef2f2;color:#991b1b}.ai-compare-modal .modal-content{flex:1;overflow-y:auto;padding:2rem}

.ai-loading,.ai-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center}.loading-animation{margin-bottom:1rem}.typing-indicator{display:flex;align-items:center;justify-content:center;gap:4px;margin-bottom:1rem}.typing-indicator span{width:8px;height:8px;background:#d4af37;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,80%,100%{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.ai-loading p{font-weight:500;color:#5f1111;margin-bottom:.5rem}.ai-loading small{color:#8b7355}.ai-error h4{margin:1rem 0 .5rem;color:#b91c1c}.ai-error p{color:#8b7355;margin-bottom:1.5rem}

.ai-results>div{margin-bottom:2rem}.ai-summary-card,.ai-comparison-table,.ai-detailed-analysis,.ai-recommendations,.ai-tips{background:#fffaf0;border:1px solid #eadfbd;border-radius:12px;padding:1.5rem}.ai-results h4{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:600;color:#5f1111;margin-bottom:1rem}.summary-text{font-size:1rem;line-height:1.6;color:#4b3030;margin-bottom:1rem}.winner-badge{padding:1rem;background:linear-gradient(135deg,#7f1d1d,#b91c1c 55%,#d4af37);color:#fff;border-radius:8px}.winner-badge strong{display:block;margin-bottom:.25rem}.winner-badge small{opacity:.9;font-size:.875rem}.comparison-grid{display:grid;gap:1rem;margin-top:1rem}.comparison-category{background:#fff;border:1px solid #eadfbd;border-radius:8px;overflow:hidden}.category-header{background:#fff8e7;padding:.75rem 1rem;font-weight:600;color:#5f1111;border-bottom:1px solid #eadfbd}.category-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:#eadfbd}.product-score{background:#fff;padding:1rem;text-align:center}.score-value{display:inline-flex;align-items:center;gap:.25rem;margin-bottom:.5rem}.score-stars{color:#d4af37}.score-note{font-size:.8rem;color:#8b7355;line-height:1.3}.product-name-header{margin-bottom:.5rem}.product-name-header strong{font-size:.8rem;font-weight:600;color:#5f1111;line-height:1.3;display:block;word-break:break-word}.product-price{font-size:.8rem;font-weight:600;color:#a67c00}.products-analysis{display:grid;gap:1rem;margin-top:1rem}.product-analysis{background:#fff;border:1px solid #eadfbd;border-radius:8px;padding:1rem}.product-analysis h5{color:#5f1111;margin-bottom:.75rem;font-weight:600}.analysis-section{margin-bottom:.75rem}.analysis-section:last-child{margin-bottom:0}.analysis-section h6{font-size:.875rem;font-weight:600;margin-bottom:.5rem}.analysis-section h6.strengths{color:#a67c00}.analysis-section h6.weaknesses{color:#b91c1c}.analysis-section h6.best-for{color:#8b6f2b}.analysis-section ul{list-style:none;padding:0;margin:0}.analysis-section li{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.25rem;font-size:.875rem;line-height:1.4}.analysis-section li:before{content:"•";color:#d4af37;font-weight:700;margin-top:.1rem}.best-for-text{font-size:.875rem;color:#4b3030;font-style:italic}.recommendations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-top:1rem}.recommendation-card{background:#fff;border:1px solid #eadfbd;border-radius:8px;padding:1rem;text-align:center}.recommendation-card h5{font-size:1rem;margin-bottom:.75rem;color:#5f1111}.recommendation-card p{font-size:.875rem;color:#4b3030;line-height:1.5}.tips-list{list-style:none;padding:0;margin:1rem 0 0}.tips-list li{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;font-size:.9rem;line-height:1.5;color:#4b3030}.tips-list li:before{content:"💡";font-size:1rem;margin-top:.1rem}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-top:1px solid #eadfbd;background:#fffaf0}.btn-outline-secondary{border:1px solid #a88b45;background:transparent;color:#7f1d1d;padding:.75rem 1.5rem;border-radius:6px;font-weight:600;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all .2s ease}.btn-outline-secondary:hover{background:#a88b45;color:#fff}

.ai-disclaimer{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#fff8e7;border:1px solid #d4af37;border-radius:8px;margin:0}.disclaimer-icon{font-size:1.25rem;flex-shrink:0;margin-top:.125rem}.disclaimer-text{font-size:.85rem;line-height:1.4;color:#7f1d1d}.disclaimer-text strong{color:#5f1111;font-weight:600}.compare-disclaimer{margin-top:1rem;padding:1rem;background:#fffaf0;border:1px solid #d4af37;border-radius:8px}.compare-disclaimer h6{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#7f1d1d;margin-bottom:.5rem}.compare-disclaimer p{font-size:.8rem;line-height:1.4;color:#6b3f1d;margin-bottom:.5rem}.compare-disclaimer p:last-child{margin-bottom:0}.compare-disclaimer ul{list-style:none;padding:0;margin:.5rem 0 0}.compare-disclaimer li{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.25rem;font-size:.75rem;line-height:1.3;color:#6b3f1d}.compare-disclaimer li:before{content:"•";color:#d4af37;font-weight:700;margin-top:.1rem;flex-shrink:0}

.pulse-highlight{animation:pulse-glow 2s ease-in-out 3;box-shadow:0 0 0 0 rgba(212,175,55,.7)}@keyframes pulse-glow{0%{box-shadow:0 0 0 0 rgba(212,175,55,.7)}50%{box-shadow:0 0 0 10px rgba(212,175,55,0)}100%{box-shadow:0 0 0 0 rgba(212,175,55,0)}}.btn-sm{padding:.5rem .75rem;font-size:.8rem}

@media (min-width:641px){.prod-card-actions-btn{opacity:0;pointer-events:none}.prod-card:hover .prod-card-actions-btn{opacity:1;pointer-events:auto}.compare-floating-badge .cfb-text{display:block;white-space:nowrap}}

@media (max-width:880px){.pd-compare-section{margin:1rem 0;display:block}.pd-compare-btn{width:100%;font-size:.85rem;padding:.65rem 1rem;border-radius:10px;justify-content:center;min-height:44px}.pd-compare-info{margin-top:.5rem;display:block;text-align:center}.compare-note{font-size:.7rem;display:block}}

@media (max-width:768px){.modal-dialog{margin:16px;max-width:none;width:auto}.modal-header,.modal-body{padding-left:20px;padding-right:20px}.modal-actions{flex-direction:column}.modal-btn{flex:none;min-height:44px}.compare-sidebar{width:100%;right:-100%;height:100dvh;max-height:100dvh}.compare-actions{position:sticky;bottom:0;background:#fff;border-top:2px solid #eadfbd;box-shadow:0 -2px 10px rgba(80,0,0,.1);z-index:10}.compare-actions .btn{min-height:48px;font-size:.9rem;font-weight:700}.modal-container{width:95%;max-height:95dvh}.ai-compare-modal .modal-header,.ai-compare-modal .modal-content,.ai-compare-modal .modal-footer{padding:1rem}.recommendations-grid{grid-template-columns:1fr}.category-products{grid-template-columns:1fr}.modal-footer{flex-direction:column;gap:.75rem}.modal-footer .btn{width:100%}.pd-compare-section{display:block!important;visibility:visible!important;opacity:1!important;margin:1rem 0;padding:0;position:relative!important;z-index:1!important;max-width:100%;overflow:hidden}.pd-compare-btn{display:flex!important;visibility:visible!important;opacity:1!important;width:100%;padding:.75rem 1rem;font-size:.9rem;min-height:48px;border:2px solid #eadfbd!important;background:#fff!important;position:relative!important;z-index:2!important;box-sizing:border-box;white-space:normal!important;flex-wrap:wrap;gap:.5rem}.pd-compare-btn .compare-text{display:inline!important;visibility:visible!important;font-weight:600;color:#7f1d1d!important}.pd-compare-btn .compare-remove{display:none!important}.pd-compare-btn.added .compare-remove,.pd-compare-btn.added .compare-remove[hidden]{display:flex!important;flex-wrap:wrap;align-items:center;gap:.4rem;white-space:normal!important;word-break:break-word}.pd-compare-btn .compare-icon{display:inline-block!important;width:18px;height:18px;flex-shrink:0}.pd-compare-info{margin-top:.5rem}.compare-note{font-size:.85rem!important;display:block!important;visibility:visible!important;color:#8b7355!important}.compare-floating-badge{right:14px;bottom:calc(var(--scroll-top-bottom,86px) + 60px);min-width:48px;height:48px;padding:0 12px;border-radius:24px}.compare-floating-badge .cfb-icon{width:18px;height:18px}.compare-floating-badge .cfb-count{font-size:.8rem;padding:2px 6px;height:20px}.pca-bottom-sheet{border-radius:16px 16px 0 0}.pca-sheet-product{padding:10px 16px}.pca-product-image{width:50px;height:50px}.pca-product-name{font-size:13px}.pca-product-price{font-size:14px}.pca-action-item{padding:14px 16px;gap:12px}.pca-action-icon{width:22px;height:22px}.pca-action-label{font-size:14px}}

@media (max-width:480px){#compareBtn{width:46px;height:46px}.pd-compare-section{-webkit-transform:translateZ(0);transform:translateZ(0)}.pd-compare-btn{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.compare-sidebar{height:100dvh;min-height:100dvh}.compare-actions{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:2px solid #eadfbd;box-shadow:0 -4px 12px rgba(80,0,0,.15);padding:1rem;z-index:9999}.compare-actions .btn{min-height:48px;font-size:.9rem;font-weight:700;border-radius:8px}.compare-content{padding-bottom:6rem}}

@media (max-width:430px){.compare-sidebar{overflow:hidden}.compare-content{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:1rem 1rem 8rem}.compare-actions{display:flex!important;gap:.75rem}.compare-actions .btn{flex:1;min-height:44px;font-size:.85rem}.pd-compare-btn{min-height:44px;font-size:16px}#compareAnalyze{background:linear-gradient(135deg,#7f1d1d,#b91c1c,#d4af37)!important;border-color:#a67c00!important;color:#fff!important;box-shadow:0 4px 12px rgba(127,29,29,.3)}#compareAnalyze:disabled{opacity:.6!important;background:#9ca3af!important;border-color:#9ca3af!important}}

@media (max-width:768px) and (orientation:portrait){.compare-sidebar{min-height:600px;height:100dvh}.compare-actions{padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px))}}

@media (display-mode:standalone){.compare-sidebar{height:100dvh!important}}

@media (max-width:640px){.pd-lb-img{max-width:98vw;max-height:80vh}.pd-lb-prev,.pd-lb-next{width:36px;height:36px}.pd-lb-close{width:38px;height:38px}}

@media print{.prod-card-actions-btn,.pca-overlay,.pca-bottom-sheet,.compare-floating-badge,.compare-sidebar,.compare-overlay,.ai-compare-modal{display:none!important}}
