/* ============================================================
   THREENITI — Product Detail page redesign (v1, 2026-10-15)
   Scoped to .threeniti-product so it never leaks to other pages.
   Brand: navy #12225b, red-orange #e62e04 / #ff6a00, Inter.
   ============================================================ */
.threeniti-product{font-family:'Inter',sans-serif;color:#212529}
.threeniti-product .padding-y{padding-top:0!important}

/* ---------- HERO BAND ---------- */
.threeniti-product .tp-hero{position:relative;overflow:hidden;border-radius:18px;padding:26px 30px;margin:6px 0 16px;color:#fff;
  background:linear-gradient(120deg,#12225b 0%,#1c2f74 55%,#3a1d63 100%);box-shadow:0 12px 34px rgba(18,34,91,.20)}
.threeniti-product .tp-hero:before{content:"";position:absolute;right:-70px;top:-70px;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(230,46,4,.55),transparent 66%)}
.threeniti-product .tp-hero:after{content:"";position:absolute;left:-50px;bottom:-90px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,106,0,.28),transparent 66%)}
.threeniti-product .tp-crumb{position:relative;z-index:2;font-size:12.5px;color:rgba(255,255,255,.72);margin-bottom:9px;font-weight:500}
.threeniti-product .tp-crumb a{color:rgba(255,255,255,.72)}
.threeniti-product .tp-crumb a:hover{color:#fff;text-decoration:none}
.threeniti-product .tp-crumb .sep{opacity:.55;margin:0 8px}
.threeniti-product .tp-title{position:relative;z-index:2;font-size:30px;line-height:1.2;font-weight:800;letter-spacing:-.3px;margin:0 0 15px;color:#fff}
.threeniti-product .tp-chips{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:9px}
.threeniti-product .tp-chip{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;
  padding:7px 14px;border-radius:50px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);color:#fff}
.threeniti-product .tp-chip i{color:#ff9a5c;font-size:15px}
.threeniti-product .tp-chip.is-orange{background:linear-gradient(135deg,#e62e04,#ff6a00);border-color:transparent;box-shadow:0 6px 16px rgba(230,46,4,.35)}
.threeniti-product .tp-chip.is-orange i{color:#fff}

/* ---------- TRUST STRIP ---------- */
.threeniti-product .tp-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 24px}
.threeniti-product .tp-trust .t{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e5e8ec;border-radius:14px;
  padding:13px 15px;box-shadow:0 3px 12px rgba(18,34,91,.05);transition:.2s}
.threeniti-product .tp-trust .t:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(18,34,91,.10);border-color:#f4d9cf}
.threeniti-product .tp-trust .t i{font-size:21px;color:#e62e04;width:28px;text-align:center}
.threeniti-product .tp-trust .t b{display:block;font-size:13px;color:#12225b;font-weight:700;line-height:1.2}
.threeniti-product .tp-trust .t span{font-size:11.5px;color:#687385}
@media(max-width:767px){.threeniti-product .tp-trust{grid-template-columns:repeat(2,1fr)}}

/* ---------- MAIN GRID ---------- */
.threeniti-product .section-content{background:transparent!important;box-shadow:none!important;padding:0!important;margin-bottom:26px!important}
.threeniti-product .one{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;margin:0!important;align-items:start}
.threeniti-product .one>[class*="col-"]{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;float:none!important}
@media(max-width:991px){.threeniti-product .one{grid-template-columns:1fr}}

/* ---------- GALLERY ---------- */
.threeniti-product .left .card{border:1px solid #e5e8ec!important;border-radius:16px!important;box-shadow:0 8px 26px rgba(18,34,91,.07)!important;background:#fff;padding:16px}
.threeniti-product .gallery-wrap{display:flex;flex-direction:column;gap:14px;margin:0}
.threeniti-product .img-big-wrap{order:1;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#f6f7fb,#eef1f7);
  display:flex!important;align-items:center;justify-content:center;min-height:300px}
.threeniti-product .img-big-wrap img{width:100%;max-height:540px;object-fit:contain;display:block}
.threeniti-product .thumbs-wrap{order:2;display:flex;gap:10px;overflow-x:auto;padding:2px 0 6px}
.threeniti-product .thumbs-wrap .item-thumb{flex:0 0 auto;width:78px;height:78px;border:2px solid #e5e8ec;border-radius:12px;
  overflow:hidden;cursor:pointer;transition:.2s;background:#fff}
.threeniti-product .thumbs-wrap .item-thumb img{width:100%;height:100%;object-fit:cover}
.threeniti-product .thumbs-wrap .item-thumb:hover{border-color:#ff6a00;transform:translateY(-2px)}
.threeniti-product .img-big-wrap .slick-prev,.threeniti-product .img-big-wrap .slick-next{width:40px;height:40px;background:rgba(18,34,91,.85)!important;border-radius:50%;z-index:6}
.threeniti-product .img-big-wrap .slick-prev:hover,.threeniti-product .img-big-wrap .slick-next:hover{background:#e62e04!important}
.threeniti-product .img-big-wrap .slick-prev:before,.threeniti-product .img-big-wrap .slick-next:before{color:#fff!important;font-size:15px;opacity:1}
.threeniti-product .img-big-wrap .slick-dots li button:before{color:#12225b}
.threeniti-product .img-big-wrap .slick-dots li.slick-active button:before{color:#e62e04}

/* ---------- BUY PANEL ---------- */
.threeniti-product .right .product-single-details{border:1px solid #e5e8ec!important;border-radius:16px!important;box-shadow:0 8px 26px rgba(18,34,91,.07)!important;background:#fff;overflow:hidden}
.threeniti-product .review-tab-wrapper>.nav-tabs,.threeniti-product .product-single-details .nav-tabs{border-bottom:1px solid #eef0f4!important;
  background:#f7f8fb;padding:9px 12px 0!important;display:flex!important;gap:6px;margin:0!important;flex-wrap:wrap}
.threeniti-product .nav-tabs .nav-link{border:0!important;border-radius:9px 9px 0 0!important;font-weight:700;font-size:13.5px;
  color:#12225b!important;padding:10px 16px!important;background:transparent!important;transition:.2s}
.threeniti-product .nav-tabs .nav-link:hover{color:#e62e04!important;background:#fff!important}
.threeniti-product .nav-tabs .nav-link.active{color:#e62e04!important;background:#fff!important;box-shadow:inset 0 -3px 0 #e62e04}
.threeniti-product .tab-content{padding:20px}

/* title / seller */
.threeniti-product .product-title{font-size:24px;font-weight:800;color:#12225b;letter-spacing:-.2px;margin:2px 0 10px;line-height:1.25}
.threeniti-product .soly-by{font-size:13.5px;color:#687385;margin-bottom:8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.threeniti-product .soly-by a{color:#e62e04;font-weight:700}
.threeniti-product .soly-by img{height:26px;border-radius:6px}
.threeniti-product .soly-by .btn{background:#12225b;border:0;border-radius:9px;font-weight:600}

/* price showcase block */
.threeniti-product .pro-tab-price-wrap{background:linear-gradient(135deg,#12225b,#1c2f74)!important;border-radius:14px;padding:16px 18px;margin:14px 0;color:#fff}
.threeniti-product .tab-price-title p{color:rgba(255,255,255,.68)!important;font-size:12.5px!important;font-weight:600;margin:0!important}
.threeniti-product .tab-tiered-price{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.threeniti-product .tiered-price{color:#ff9a5c!important;font-weight:800!important;font-size:19px!important;margin:0!important;text-shadow:0 1px 0 rgba(0,0,0,.15)}
.threeniti-product .tiered-quantity{color:rgba(255,255,255,.75)!important;font-size:11.5px!important;margin:0!important;letter-spacing:.2px}
.threeniti-product .variant_wholesale_title{color:#12225b;font-weight:700;margin-top:10px}
.threeniti-product .text-primary,.threeniti-product .high-light-price{color:#e62e04!important}

/* quantity */
.threeniti-product .qty-wrapper{border-top:1px dashed #eef0f4;padding-top:14px;margin-top:6px}
.threeniti-product .qty-wrapper p b{color:#12225b}
.threeniti-product #min_qty{border:1.5px solid #e5e8ec!important;border-radius:10px;height:46px;font-weight:800;text-align:center;max-width:130px;font-size:16px;color:#12225b}
.threeniti-product #min_qty:focus{border-color:#e62e04!important;box-shadow:0 0 0 3px rgba(230,46,4,.12)}

/* attribute / option chips */
.threeniti-product .aiz-megabox-elem{border:1.5px solid #e5e8ec;border-radius:10px;font-weight:600;color:#12225b;transition:.2s}
.threeniti-product .aiz-megabox>input:checked~.aiz-megabox-elem,.threeniti-product .aiz-megabox>input:checked~.aiz-megabox-elem{border-color:#e62e04!important;background:#fff6f2;box-shadow:0 0 0 3px rgba(230,46,4,.10)}

/* CTA buttons */
.threeniti-product .btn-wrapper{gap:10px;flex-wrap:wrap;align-items:center}
.threeniti-product .btn-wrapper .btn{border-radius:12px!important;font-weight:700;padding:13px 22px!important;font-size:14px;border:0;transition:transform .15s,box-shadow .2s}
.threeniti-product .btn-wrapper .btn:hover{transform:translateY(-2px);text-decoration:none}
.threeniti-product .btn-wrapper a[onclick^="addToCart"]{background:linear-gradient(135deg,#e62e04,#ff6a00)!important;color:#fff!important;box-shadow:0 10px 22px rgba(230,46,4,.32)}
.threeniti-product .btn-wrapper a[onclick^="buyNow"]{background:linear-gradient(135deg,#12225b,#26409a)!important;color:#fff!important;box-shadow:0 10px 22px rgba(18,34,91,.28)}
.threeniti-product .btn-wrapper a[onclick^="addToWishList"]{background:#fff!important;color:#12225b!important;border:1.5px solid #dfe3ec!important}
.threeniti-product .btn-wrapper .dropdown-toggle{background:#12225b!important;color:#fff!important}

/* ---------- REVIEWS CARD ---------- */
.threeniti-product .review-wrapper{background:#fff;border:1px solid #e5e8ec;border-radius:16px;padding:18px;margin-top:16px;box-shadow:0 8px 26px rgba(18,34,91,.06)}
.threeniti-product .review-head{font-weight:700;color:#12225b}
.threeniti-product .rating-number{font-size:26px;font-weight:800;color:#e62e04}

/* ---------- RELATED / GRIDS ---------- */
.threeniti-product .product-category-list{margin-top:6px}
.threeniti-product .product-category-list .section-heading .title-section,.threeniti-product .section-heading .title-section{font-size:20px;font-weight:800;color:#12225b}
.threeniti-product .heading-line{position:relative;margin-bottom:14px}
.threeniti-product .heading-line:after{content:"";display:block;width:54px;height:4px;border-radius:4px;margin-top:8px;background:linear-gradient(90deg,#e62e04,#ff6a00)}
.threeniti-product .card-product-grid,.threeniti-product .card-product{border:1px solid #e9ecf2!important;border-radius:14px!important;overflow:hidden;transition:.2s;background:#fff}
.threeniti-product .card-product-grid:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(18,34,91,.12);border-color:#f4d9cf}
.threeniti-product .card-product-grid .price,.threeniti-product .card-product .price{color:#e62e04;font-weight:800}

/* region / ad */
.threeniti-product .my-4 img{border-radius:14px}

@media(max-width:575px){
  .threeniti-product .tp-hero{padding:20px 18px;border-radius:14px}
  .threeniti-product .tp-title{font-size:22px}
  .threeniti-product .tab-content{padding:14px}
}

/* ---------- FIX: theme hides .tab-content unless .active (buy box was invisible) ---------- */
.threeniti-product .tab-content{display:block!important}
.threeniti-product .tab-pane{display:none!important}
.threeniti-product .tab-pane.active{display:block!important}

/* ---------- POLISH (safe) ---------- */
.threeniti-product .one{align-items:start!important}
.threeniti-product .left>.card{height:auto!important}
.threeniti-product .img-big-wrap{width:100%}
/* thumbs strip must not be stretched by slick */
.threeniti-product .thumbs-wrap{height:auto!important;max-height:94px!important;overflow:hidden!important;align-items:flex-start}
.threeniti-product .thumbs-wrap .slick-list,.threeniti-product .thumbs-wrap .slick-track{height:auto!important;max-height:82px!important}
.threeniti-product .thumbs-wrap .slick-slide{width:78px!important;float:left}


/* ---------- hide empty SKU row (nit) ---------- */
.threeniti-product .sku-wrapper:has(span:empty){display:none!important}

