/* Product controls must remain readable and fit the available width. */
html[data-theme] .product-detail-card,html[data-theme] .product-detail-card *{box-sizing:border-box}
html[data-theme] .product-detail-card .left-col,html[data-theme] .product-detail-card .right-col{min-width:0;max-width:100%}
html[data-theme] .product-detail-card .brand-name,html[data-theme] .product-detail-card .product-title{overflow-wrap:anywhere}
html[data-theme] .product-detail-card .btn-contact-product{background:var(--secondary-bg);color:var(--text-color);border-color:var(--border-color);white-space:normal;text-align:center;line-height:1.5;overflow:visible;min-height:48px}
html[data-theme] .product-detail-card .btn-contact-product:hover{background:var(--soft-surface);color:var(--text-color);transform:none}
html[data-theme] .product-detail-card .btn-row{gap:10px;flex-wrap:wrap}
html[data-theme] .product-detail-card .btn-row button{min-height:48px;max-width:100%;justify-content:center;white-space:normal;text-align:center;line-height:1.4;flex:1 1 180px;margin:0;padding:12px;font-size:15px}
html[data-theme] .product-detail-card .btn-row button i,html[data-theme] .btn-contact-product i{flex-shrink:0}
html[data-theme] .product-detail-card .description_sec{background:var(--soft-surface);color:var(--text-color);line-height:1.6;overflow-wrap:anywhere}
/* A touch menu has explicit open state; desktop hover must never open it. */
html[data-theme] .sidebar-wrapper{overscroll-behavior:contain;backdrop-filter:none;padding-bottom:env(safe-area-inset-bottom);transition:transform .2s ease}
html[data-theme] .sidebar-wrapper .nav-item{opacity:1;transform:none;transition:none}
html[data-theme] .sidebar-wrapper .nav-links{flex-wrap:nowrap;padding:65px 18px 18px;gap:0}
html[data-theme] .sidebar-wrapper .extern-side{display:flex;align-items:center;min-height:48px;padding:12px 0;text-align:left;white-space:normal}
html[data-theme] .sidebar-wrapper .nav-link-wrapper{align-items:center;gap:10px;padding:8px 0}
html[data-theme] .sidebar-wrapper .nav-link{flex:1;min-width:0;white-space:normal;line-height:1.4;font-size:16px;padding:10px 0;transform:none}
html[data-theme] .sidebar-wrapper .nav-arrow{width:44px;height:44px;flex:0 0 44px;justify-content:center;transform:none;touch-action:manipulation}
html[data-theme] .sidebar-wrapper .nav-item[data-open] .nav-arrow{transform:none;transition:none}
html[data-theme] .sidebar-wrapper .arrow-icon{display:block;width:22px;height:22px;flex-shrink:0;transition:transform .15s ease}
html[data-theme] .sidebar-wrapper .nav-item[data-open=true] .arrow-icon{transform:rotate(180deg)}
html[data-theme] .sidebar-wrapper .nav-item .dropdown{display:none!important;transform:none;opacity:1;padding:6px;margin:0 0 10px;max-width:100%;width:auto}
html[data-theme] .sidebar-wrapper .nav-item[data-open=true] .dropdown{display:block!important}
html[data-theme] .sidebar-wrapper .dropdown li{opacity:1;transform:none;transition:none}
html[data-theme] .sidebar-wrapper .dropdown a{display:block;transform:none}
html[data-theme] body[data-sidebar=open] .floating-btn,html[data-theme] body[data-sidebar=open] .or-whatsapp{visibility:hidden;pointer-events:none}
@media(max-width:700px){
 html[data-theme] .product-detail-card{width:calc(100% - 20px);padding:14px;margin:16px 10px;gap:18px}
 html[data-theme] .product-detail-card .left-col,html[data-theme] .product-detail-card .right-col{flex:1 1 100%;width:100%}
 html[data-theme] .product-detail-card .purchase-block{padding:12px;max-width:100%}
 html[data-theme] .product-detail-card .btn-row{flex-direction:column;align-items:stretch}
 html[data-theme] .product-detail-card .btn-row button{flex:none;width:100%;font-size:16px}
 html[data-theme] .product-detail-card .btn-contact-product{font-size:14px;padding:12px}
 html[data-theme] .product-detail-card select,html[data-theme] .product-detail-card textarea{font-size:16px;max-width:100%}
 html[data-theme] .product-detail-card .btn-add-cart-direct{background:var(--gold-ink);color:var(--background-color);font-weight:700}
 html[data-theme] .product-detail-card .btn-add-cart-direct:hover{filter:brightness(.95)}
}
