/* Product Page Styles */
/* Migrated from product.php inline styles */

.product-page {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1a1a1a;
    background-color: #fff;
}
.product-breadcrumb { font-size: 13px; color: #888; padding: 18px 0; }
.product-breadcrumb a { color: #888; text-decoration: none; }
.product-breadcrumb a:hover { color: #5700c1; }
.product-top { padding-bottom: 0px; border-bottom: 0px solid #eee; margin-bottom: 0; }
.product-img { background-color: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 2px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 40px; aspect-ratio: 1 / 1; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-info { text-align: left; }
.product-availability { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 2px; font-size: 11px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-availability i { font-size: 10px; }
.product-info h1 { font-size: 30px; font-weight: 800; color: #000; margin-bottom: 0; padding-bottom: 0; line-height: 1.2; text-align: left; }
.product-sku { font-size: 12px; color: #aaa; margin-bottom: 16px; letter-spacing: 0.3px; }
.product-desc { font-size: 14px; color: #555; line-height: 1.65; margin-bottom: 24px; text-align: left; }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.product-price { font-size: 32px; font-weight: 800; color: #000; }
.product-price-note { font-size: 12px; color: #999; margin-bottom: 20px; }
.product-purchase-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; height: 44px; }
.product-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.product-qty button { width: 38px; height: 44px; border: none; background: #f5f5f5; font-size: 16px; cursor: pointer; color: #333; transition: background 0.15s; display: flex; align-items: center; justify-content: center; }
.product-qty button:hover { background: #eee; }
.product-qty input { width: 48px; height: 44px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 14px; font-weight: 600; color: #000; -moz-appearance: textfield; outline: none; }
.product-qty input::-webkit-outer-spin-button, .product-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-add-to-cart { flex: 1; padding: 0 24px; background-color: #5700c1; color: #fff; border: none; border-radius: 2px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.product-add-to-cart:hover { background-color: #4a00a3; }
.product-buy-now { flex: 1; padding: 0 24px; background-color: #000; color: #fff; border: none; border-radius: 2px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.product-buy-now:hover { background-color: #222; }
.product-trust { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid #eee; }
.product-trust-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #888; font-weight: 500; }
.product-trust-item i { color: #5700c1; font-size: 13px; }
.product-content-area { padding: 40px 0 60px; }
.product-sidebar { position: sticky; top: 100px; }
.product-sidebar-nav { list-style: none; padding: 0; margin: 0; border-left: 2px solid #eee; }
.product-sidebar-nav a { display: block; padding: 10px 0 10px 18px; font-size: 13px; font-weight: 500; color: #888; text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; transition: all 0.15s; }
.product-sidebar-nav a:hover { color: #333; }
.product-sidebar-nav a.active { color: #5700c1; border-left-color: #5700c1; font-weight: 700; }
.product-section { padding: 36px 0; border-bottom: 1px solid #eee; text-align: left; }
.product-section:last-child { border-bottom: none; }
.product-section h2 { font-size: 20px; font-weight: 700; color: #000; margin-bottom: 16px; }
.product-section p { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 16px; text-align: left; }
.product-spec-table { width: 100%; border-collapse: collapse; }
.product-spec-table tr { border-bottom: 1px solid #f0f0f0; }
.product-spec-table tr:last-child { border-bottom: none; }
.product-spec-table td { padding: 12px 0; font-size: 13px; vertical-align: top; }
.product-spec-table td:first-child { font-weight: 700; color: #000; width: 35%; padding-right: 20px; }
.product-spec-table td:last-child { color: #444; }
.product-benefit-list { list-style: none; padding: 0; }
.product-benefit-list li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #444; display: flex; gap: 10px; align-items: flex-start; }
.product-benefit-list li:last-child { border-bottom: none; }
.product-benefit-list li i { color: #5700c1; margin-top: 2px; flex-shrink: 0; }
.product-benefit-list li strong { color: #000; }
.product-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.product-cart-overlay.open { opacity: 1; pointer-events: all; }
.product-cart-drawer { position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; background: #fff; z-index: 9999; box-shadow: -4px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; transition: right 0.3s ease; }
.product-cart-drawer.open { right: 0; }
.product-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #eee; flex-shrink: 0; }
.product-cart-header h3 { font-size: 16px; font-weight: 700; margin: 0; color: #000; }
.product-cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #666; padding: 4px; }
.product-cart-close:hover { color: #000; }
.product-cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.product-cart-empty { text-align: center; padding: 60px 20px; color: #aaa; font-size: 14px; }
.product-cart-empty i { font-size: 40px; display: block; margin-bottom: 14px; color: #ddd; }
.product-cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.product-cart-item:last-child { border-bottom: none; }
.product-cart-item-img { width: 72px; height: 72px; background: #f5f5f5; border: 1px solid #e8e8e8; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px; }
.product-cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.product-cart-item-details { flex: 1; min-width: 0; }
.product-cart-item-name { font-size: 13px; font-weight: 700; color: #000; margin-bottom: 2px; }
.product-cart-item-sku { font-size: 11px; color: #aaa; margin-bottom: 8px; }
.product-cart-item-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-cart-item-price { font-size: 14px; font-weight: 700; color: #000; }
.product-cart-item-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 2px; overflow: hidden; }
.product-cart-item-qty button { width: 28px; height: 28px; border: none; background: #f5f5f5; font-size: 13px; cursor: pointer; color: #333; display: flex; align-items: center; justify-content: center; }
.product-cart-item-qty button:hover { background: #eee; }
.product-cart-item-qty span { width: 32px; text-align: center; font-size: 12px; font-weight: 600; border-left: 1px solid #ddd; border-right: 1px solid #ddd; height: 28px; line-height: 28px; }
.product-cart-remove { background: none; border: none; color: #ccc; font-size: 12px; cursor: pointer; padding: 4px; margin-left: 8px; }
.product-cart-remove:hover { color: #e00; }
.product-cart-footer { border-top: 1px solid #eee; padding: 20px 24px; flex-shrink: 0; }
.product-cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: #444; }
.product-cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 18px; font-weight: 800; color: #000; }
.product-cart-checkout { width: 100%; padding: 14px; background-color: #5700c1; color: #fff; border: none; border-radius: 2px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; margin-bottom: 8px; }
.product-cart-checkout:hover { background-color: #4a00a3; }
.product-cart-continue { width: 100%; padding: 12px; background: none; color: #5700c1; border: 1px solid #5700c1; border-radius: 2px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.product-cart-continue:hover { background: #f8f4ff; }
.product-cart-trigger { position: fixed; top: 22px; right: 80px; z-index: 1001; background: none; border: none; cursor: pointer; font-size: 20px; color: #333; padding: 6px; }
.product-cart-trigger:hover { color: #5700c1; }
.product-cart-badge { position: absolute; top: 0; right: -2px; background: #5700c1; color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.product-cart-badge.visible { opacity: 1; }
.product-toast { position: fixed; bottom: 30px; right: 30px; background: #1a1a1a; color: #fff; padding: 14px 22px; border-radius: 2px; font-size: 13px; font-weight: 600; z-index: 10000; display: flex; align-items: center; gap: 8px; transform: translateY(20px); opacity: 0; transition: all 0.25s; pointer-events: none; }
.product-toast.show { transform: translateY(0); opacity: 1; }
.product-toast i { color: #22c55e; }
@media (max-width: 991px) {
    .product-sidebar { display: none; }
    .product-info h1 { font-size: 24px; }
    .product-price { font-size: 26px; }
    .product-cart-trigger { top: 18px; right: 60px; }
}

.product-info p { font-size: 14px !important; color: #555; line-height: 1.65; margin-bottom: 24px; text-align: left; }
