/* ============================================================
   Scuvette — Aireka-style Product Detail Page Shared Styles
   Breadcrumb + Gallery + Price Box + SKU + Tabs + Detail Sequence
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap { background:var(--bg); border-bottom:1px solid var(--border); padding:14px 0; margin-top:72px; }
.breadcrumb { font-size:13px; color:var(--text-light); }
.breadcrumb a { color:var(--text-light); text-decoration:none; transition:color .2s; }
.breadcrumb a:hover { color:var(--accent); }
.breadcrumb span { color:var(--text); font-weight:500; }
.breadcrumb .sep { margin:0 8px; color:#cbd5e1; }

/* ---------- Product Main Layout ---------- */
.product-main { padding:40px 0 28px; background:#fff; }
.product-layout { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }

/* ---------- Gallery ---------- */
.product-gallery { position:sticky; top:96px; }
.gallery-main { background:var(--primary); border-radius:var(--radius); overflow:hidden; display:flex; align-items:center; justify-content:center; height:480px; position:relative; box-shadow:var(--shadow-lg); }
.gallery-main img { max-height:100%; max-width:100%; object-fit:contain; transition:opacity .25s; }
.gallery-thumbs { display:flex; gap:12px; margin-top:16px; flex-wrap:wrap; }
.gallery-thumbs img { width:82px; height:82px; border-radius:10px; overflow:hidden; border:2px solid var(--border); cursor:pointer; background:var(--bg); object-fit:contain; padding:4px; transition:all .2s; }
.gallery-thumbs img.active { border-color:var(--accent); box-shadow:0 0 10px rgba(37,99,235,.2); }
.gallery-thumbs img:hover { border-color:var(--accent); transform:translateY(-2px); }

/* ---------- Product Info ---------- */
.product-info { padding-top:8px; }
.product-title { font-size:30px; font-weight:800; color:var(--primary); line-height:1.25; margin-bottom:12px; }
.product-meta { display:flex; flex-wrap:wrap; gap:16px; font-size:13px; color:var(--text-light); margin-bottom:16px; }
.product-meta .sku { background:var(--bg); padding:4px 12px; border-radius:6px; font-weight:500; }
.product-meta .brand { color:var(--accent); font-weight:600; }
.product-meta .stock { color:var(--success); font-weight:600; }
.product-meta .stock::before { content:"\2714"; margin-right:4px; }

/* ---------- Price Box ---------- */
.price-box { margin-bottom:12px; }
.old-price { font-size:18px; color:#94a3b8; text-decoration:line-through; margin-right:14px; }
.sale-price { font-size:36px; font-weight:800; color:var(--danger); }
.sale-price .unit { font-size:15px; color:var(--text-light); font-weight:500; margin-left:4px; }
.min-qty { font-size:13px; color:var(--text-light); background:var(--bg); display:inline-block; padding:6px 14px; border-radius:6px; margin-bottom:24px; }

/* ---------- SKU Selector ---------- */
.sku-select { margin-bottom:18px; }
.sku-select .label { font-size:13px; color:var(--text-light); margin-bottom:8px; font-weight:600; }
.sku-btns { display:flex; gap:10px; flex-wrap:wrap; }
.sku-btn { flex:1; min-width:120px; border:2px solid var(--border); border-radius:12px; padding:12px 10px; background:#fff; cursor:pointer; text-align:center; transition:all .2s; }
.sku-btn .sku-name { font-size:13px; font-weight:700; color:var(--text); margin-bottom:4px; }
.sku-btn .sku-price { font-size:15px; font-weight:800; color:var(--accent); }
.sku-btn:hover { border-color:var(--accent); transform:translateY(-2px); box-shadow:var(--shadow); }
.sku-btn.active { border-color:var(--accent); background:rgba(37,99,235,.06); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.sku-btn .sku-img { display:block; width:100%; height:70px; object-fit:cover; border-radius:8px; margin-bottom:6px; border:1px solid rgba(0,0,0,0.06); background:#000; }
.sku-btn.active .sku-img { border-color:var(--accent); }

/* ---------- Short Specs ---------- */
.short-specs { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:24px; }
.short-specs .item { font-size:14px; color:var(--text-light); display:flex; gap:8px; }
.short-specs .item strong { color:var(--text); font-weight:600; min-width:90px; }

/* ---------- Actions ---------- */
.product-actions { display:flex; gap:14px; margin-bottom:16px; flex-wrap:wrap; }
.product-actions .btn { min-width:160px; }
.qty-input { display:flex; align-items:center; border:1px solid var(--border); border-radius:10px; overflow:hidden; background:#fff; }
.qty-input button { width:44px; height:48px; border:none; background:var(--bg); cursor:pointer; font-size:18px; color:var(--text); transition:background .2s; }
.qty-input button:hover { background:var(--border); }
.qty-input input { width:56px; text-align:center; border:none; font-size:16px; font-weight:600; color:var(--text); }
.pd-buynow { margin-bottom:16px; }
.btn-buy-paypal { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#FFC439; color:#111; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; padding:12px 28px; cursor:pointer; transition:all .2s; text-decoration:none; }
.btn-buy-paypal:hover { background:#f2ba33; transform:translateY(-2px); box-shadow:0 6px 18px rgba(255,196,57,.4); }

/* ---------- Trust ---------- */
.pd-trust { display:flex; gap:18px; font-size:13px; color:var(--text-light); flex-wrap:wrap; }
.pd-trust span { display:flex; align-items:center; gap:6px; }
.pd-trust svg { flex:0 0 auto; }

/* ---------- Tabs ---------- */
.product-tabs { padding:0 0 60px; background:#fff; }
.tab-nav { display:flex; gap:0; border-bottom:2px solid var(--border); margin-bottom:28px; flex-wrap:wrap; }
.tab-nav a { padding:14px 28px; font-size:15px; font-weight:600; color:var(--text-light); text-decoration:none; border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .2s; cursor:pointer; }
.tab-nav a:hover { color:var(--accent); }
.tab-nav a.active { color:var(--accent); border-bottom-color:var(--accent); }
.tab-content { font-size:15px; color:var(--text); line-height:1.8; }
.tab-content > p { margin-bottom:20px; color:var(--text-light); }
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* ---------- Specs Table (inside tabs) ---------- */
.pd-table { width:100%; border-collapse:collapse; margin-top:8px; }
.pd-table th, .pd-table td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--border); font-size:15px; vertical-align:top; }
.pd-table th { background:var(--bg); font-weight:600; color:var(--text-light); width:32%; }
.pd-table tr:hover td { background:rgba(37,99,235,.03); }

/* ---------- Detail Long-image Sequence ---------- */
.detail-sequence { display:flex; flex-direction:column; gap:36px; margin-top:28px; padding:44px 28px; background:linear-gradient(180deg,#0a1628 0%,#10233f 100%); border-radius:var(--radius); border:1px solid rgba(37,99,235,.18); }
.detail-block { display:flex; flex-direction:column; gap:14px; }
.detail-title { display:flex; align-items:center; gap:12px; }
.detail-title .num { display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:26px; background:linear-gradient(135deg,var(--accent),var(--cyan)); color:#fff; font-size:12px; font-weight:700; border-radius:13px; padding:0 10px; letter-spacing:1px; white-space:nowrap; }
.detail-title h3 { color:#fff; font-size:18px; font-weight:700; margin:0; letter-spacing:.3px; }
.detail-title .line { flex:1; height:1px; background:linear-gradient(90deg,rgba(6,182,212,.5),transparent); }
.detail-block img { width:100%; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.35); display:block; background:#fff; padding:12px; box-sizing:border-box; }
@media (max-width:640px){ .detail-sequence { padding:24px 14px; gap:28px; } .detail-title h3 { font-size:15px; } .detail-block img { padding:6px; } }

/* ---------- Related Products ---------- */
.related-section { padding:64px 0; background:var(--bg); }
.pd-related { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:36px; }
.pd-related .product-card { text-decoration:none; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .product-layout { grid-template-columns:1fr; gap:28px; }
  .product-gallery { position:static; }
  .gallery-main { height:360px; }
  .pd-related { grid-template-columns:1fr 1fr; }
  .sku-btns { display:grid; grid-template-columns:1fr 1fr; }
  .product-title { font-size:24px; }
  .sale-price { font-size:30px; }
}
