/* ==========================================================================
   Privaed — single product (PDP). Loaded on is_product().
   Extracted from "Privaed Product.html" (.pp … .acc); gallery/csell/specs use
   real <img>, and .pdesc styles its short-description <ul> as a feature list.
   ========================================================================== */

.pp{padding:14px 0 30px}

/* breadcrumb reuses .crumb from category.css? — PDP loads only product.css, so
   define the minimal crumb here too. */
.crumb{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}
.crumb a{transition:color .15s}.crumb a:hover{color:var(--amber-deep)}
.crumb svg{width:13px;height:13px;opacity:.45}
.crumb .cur{color:var(--ink-2);font-weight:600}

.pp-top{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:start;margin-bottom:18px}

/* gallery */
.gallery2{position:sticky;top:98px}
.gmain{position:relative;border-radius:var(--r-card);overflow:hidden;aspect-ratio:1/1;background:linear-gradient(160deg,#EDE3D2,#E2D4BC);box-shadow:0 20px 48px -26px rgba(64,46,16,.34)}
.gmain img{width:100%;height:100%;object-fit:cover}
.gzoom{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;background:rgba(255,253,248,.92);display:grid;place-items:center;box-shadow:0 4px 14px -4px rgba(64,46,16,.3);cursor:pointer;color:var(--ink-2);z-index:2}
.gzoom svg{width:19px;height:19px}
.gthumbs{display:flex;gap:12px;margin-top:14px}
.gthumb{flex:1;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#EDE3D2,#E2D4BC);cursor:pointer;position:relative;transition:.15s;box-shadow:0 4px 14px -10px rgba(64,46,16,.3);border:none;padding:0}
.gthumb img{width:100%;height:100%;object-fit:cover}
.gthumb.on{box-shadow:0 0 0 2.5px var(--amber)}
.gthumb:hover{transform:translateY(-2px)}

/* buy box */
.buybox h1{font-size:clamp(25px,2.7vw,35px);font-weight:800;line-height:1.14}
.sku{margin-top:14px;font-size:13.5px;color:var(--muted)}.sku b{color:var(--ink-2);font-weight:700;letter-spacing:.02em}
.priceline{display:flex;align-items:baseline;gap:10px;margin-top:18px;flex-wrap:wrap}
.priceline .v{font-family:"Epilogue",system-ui,sans-serif;font-size:38px;font-weight:800;color:var(--ink)}
.priceline .v del{color:var(--muted);font-weight:600;font-size:24px;margin-right:8px}
.priceline .v ins{text-decoration:none}
.priceline .u{font-size:15px;color:var(--muted)}
.stock{display:inline-flex;align-items:center;gap:9px;margin-top:16px;font-size:14px;font-weight:600;color:#2f7d4f;background:#EAF5EE;padding:8px 16px;border-radius:999px}
.stock .d{width:8px;height:8px;border-radius:50%;background:#36a266;box-shadow:0 0 0 4px rgba(54,162,102,.18)}
.stock.backorder{color:#7a5c1e;background:#fdf4e0}.stock.backorder .d{background:#c9922a;box-shadow:0 0 0 4px rgba(201,146,42,.18)}
.stock.out{color:#9a5a2a;background:#f6ece2}.stock.out .d{background:#c2772f;box-shadow:0 0 0 4px rgba(194,119,47,.18)}
.vlabel{margin-top:26px;font-size:14.5px;font-weight:700;color:var(--ink-2)}.vlabel span{color:var(--muted);font-weight:500}
.vswatches{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.vsw{width:54px;height:54px;border-radius:14px;cursor:pointer;position:relative;box-shadow:0 0 0 1px rgba(0,0,0,.07);transition:.15s;display:block}
.vsw.on{box-shadow:0 0 0 2.5px var(--amber)}.vsw:hover{transform:translateY(-2px)}

/* add to cart */
.pp-cart{margin:0}
.buy-actions{display:flex;align-items:center;gap:12px;margin-top:26px;flex-wrap:wrap}
.qty{display:flex;align-items:center;background:#fff;border-radius:999px;box-shadow:0 3px 12px -5px rgba(64,46,16,.2);height:54px;padding:0 6px}
.qty button{width:42px;height:42px;border:none;background:none;cursor:pointer;font-size:20px;color:var(--ink-2);border-radius:50%;transition:.15s;line-height:1}
.qty button:hover{background:var(--cream-2)}
.qty input{width:42px;text-align:center;border:none;background:none;font-family:"Epilogue",system-ui,sans-serif;font-weight:700;font-size:17px;color:var(--ink);outline:none;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.btn-lg{height:54px;padding:0 28px;font-size:15.5px}
.btn-cart{flex:1;justify-content:center;min-width:190px}

/* trust */
.trust{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}
.tcard{flex:1;min-width:148px;display:flex;align-items:center;gap:11px;background:#fff;border-radius:16px;padding:13px 15px;box-shadow:0 6px 18px -12px rgba(64,46,16,.24)}
.tcard .ti{width:36px;height:36px;border-radius:10px;background:var(--amber-soft);color:var(--amber-deep);display:grid;place-items:center;flex:none}
.tcard .ti svg{width:19px;height:19px}
.tcard .tt{font-size:13px;font-weight:700;color:var(--ink);line-height:1.25}
.tcard>div{min-width:0}
.tcard .ts{font-size:11.5px;color:var(--muted)}

/* description + feature bullets (from short_description <ul>) */
.pdesc{margin-top:28px;color:var(--body);font-size:15.5px;line-height:1.7}
.pdesc b,.pdesc strong{color:var(--ink)}
.pdesc p{margin:0 0 14px}
.pdesc ul{list-style:none;margin:18px 0 0;display:flex;flex-direction:column;gap:13px}
.pdesc ul li{position:relative;padding-left:32px;font-size:15px;color:var(--ink-2);line-height:1.5}
.pdesc ul li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C28323' stroke-width='2.6'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")}

/* cross-sell / upsell */
.csell{margin-top:36px}
.csell .h{display:flex;align-items:center;gap:11px;font-size:12.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-2);margin-bottom:16px}
.csell .h .ic{width:30px;height:30px;border-radius:50%;background:var(--amber-soft);color:var(--amber-deep);display:grid;place-items:center;flex:none}
.csell .h .ic svg{width:16px;height:16px}
.csrow{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cscard{display:flex;align-items:center;gap:15px;background:#fff;border-radius:var(--r-md);padding:13px;box-shadow:0 10px 28px -20px rgba(64,46,16,.3);transition:.18s}
.cscard:hover{transform:translateY(-3px);box-shadow:0 20px 40px -24px rgba(64,46,16,.4)}
.cscard .cimg{width:76px;height:76px;border-radius:13px;flex:none;position:relative;overflow:hidden;background:linear-gradient(160deg,#EDE3D2,#E2D4BC)}
.cscard .cimg img{width:100%;height:100%;object-fit:cover}
.cscard .cb{display:flex;flex-direction:column;gap:6px;min-width:0}
.cscard .cb h4{font-size:13.5px;font-weight:700;line-height:1.32;color:var(--ink)}
.cscard .cb .cp{font-family:"Epilogue",system-ui,sans-serif;font-weight:800;font-size:15px;color:var(--amber-deep)}
.cscard .cb .cp del{color:var(--muted);font-weight:600;font-size:13px;margin-right:5px}
.cscard .cb .cp ins{text-decoration:none}

/* specs */
.pp-specs{padding:70px 0 40px}
.pp-specs .section-head{margin-bottom:34px}
.specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.specs-grid.single{grid-template-columns:1fr;max-width:760px}
.spectable{background:#fff;border-radius:var(--r-card);padding:16px 22px;box-shadow:0 14px 38px -24px rgba(64,46,16,.32)}
.specrow{display:flex;justify-content:space-between;gap:20px;padding:14px 16px;border-radius:12px}
.specrow:nth-child(odd){background:var(--cream)}
.specrow .k{font-size:14.5px;color:var(--muted);font-weight:500}
.specrow .vv{font-size:14.5px;color:var(--ink);font-weight:600;text-align:right}
.diagram{background:#fff;border-radius:var(--r-card);padding:26px;box-shadow:0 14px 38px -24px rgba(64,46,16,.32);display:flex;flex-direction:column}
.diagram .dph{flex:1;min-height:300px;border-radius:var(--r-md);position:relative;overflow:hidden;background:var(--cream);display:flex;align-items:center;justify-content:center}
.diagram .dph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.diagram .btn{align-self:center;margin-top:22px}

/* accordion */
.acc{margin-top:24px;display:flex;flex-direction:column;gap:12px}
.acc-item{background:#fff;border-radius:var(--r-md);box-shadow:0 8px 24px -18px rgba(64,46,16,.26);overflow:hidden}
.acc-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;font-family:"Epilogue",system-ui,sans-serif;font-weight:700;font-size:16.5px;color:var(--ink)}
.acc-head svg{width:18px;height:18px;color:var(--amber-deep);transition:transform .3s;flex:none}
.acc-item.open .acc-head svg{transform:rotate(180deg)}
.acc-body{max-height:0;overflow:hidden;transition:max-height .35s ease}
.acc-item.open .acc-body{max-height:320px}
.acc-body p{padding:0 24px 22px;color:var(--body);font-size:15px;line-height:1.7}

@media(max-width:980px){
  .pp-top{grid-template-columns:1fr;gap:30px}
  .gallery2{position:static}
  .specs-grid{grid-template-columns:1fr}
  .csrow{grid-template-columns:1fr}
}
