/* =====================================================================
   Biodite Inspire Header & Footer 2.0 — product page blocks (merged from the legacy product plugin)
   Accent color comes from --dhf-pc-a (set in the admin).
   ===================================================================== */
.dhf-pc{--a:var(--dhf-pc-a,#16a34a);--a-soft:rgba(22,163,74,.1);--a-line:rgba(22,163,74,.28);--ink:#17404b;--mut:#5b7178;--line:#d9e6e4;box-sizing:border-box}
@supports (color:color-mix(in srgb,red,blue)){
	.dhf-pc{--a-soft:color-mix(in srgb,var(--a) 10%,#fff);--a-line:color-mix(in srgb,var(--a) 30%,#fff)}
}
.dhf-pc *,.dhf-pc *::before,.dhf-pc *::after{box-sizing:border-box}
.dhf-pc-wrap{width:100%;flex:0 0 100%;box-sizing:border-box}

/* Native elements restyled */
body.dhf-pc-title.single-product div.product .product_title{font-family:'Readex Pro','IBM Plex Sans Arabic',Tahoma,sans-serif!important;font-size:28px!important;font-weight:600!important;color:#111!important;margin-bottom:12px!important;line-height:1.25}
body.dhf-pc-gallery .woocommerce-product-gallery__image img,
body.dhf-pc-gallery .woocommerce-product-gallery .flex-control-thumbs img{border:1px solid #14313a!important;border-radius:6px;box-sizing:border-box}
.single-product div.product p.price{font-size:22px!important;font-weight:700!important}
.woocommerce-Tabs-panel--description{margin-left:0!important;margin-right:0!important}

/* ---- Price ---- */
.dhf-pc-pricebox{margin:8px 0 16px}
.dhf-pc-price{display:inline-flex;align-items:baseline;gap:10px;font-size:30px;font-weight:800;color:var(--a);line-height:1.2}
.dhf-pc-price del{font-size:.6em;font-weight:600;color:var(--mut);opacity:.8}
.dhf-pc-price ins{text-decoration:none}

/* ---- Info badge ---- */
.dhf-pc-badge{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:12px 0 16px;padding:11px 16px;background:var(--a-soft);border:1px solid var(--a-line);border-radius:14px;font-size:16px;color:var(--ink)}
.dhf-pc-badge-ic{font-size:20px;line-height:1}
.dhf-pc-badge-t{font-weight:800}
.dhf-pc-badge-d{color:var(--mut);font-weight:600}

/* ---- Trust bar ---- */
.dhf-pc-trust{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin:14px 0 18px}
.dhf-pc-trust-i{flex:1 1 0;min-width:110px;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:13px;font-weight:700;color:var(--ink);text-align:center}
.dhf-pc-trust-ck{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--a);color:#fff;flex:none}
.dhf-pc-trust-ck .dhf-svg{width:12px;height:12px;stroke-width:3}
.dhf-pc-trust.is-placed{flex:0 0 100%;margin:10px 0 0}

/* ---- Size + accordion ---- */
.dhf-pc-details{margin-top:16px}
.dhf-pc-cont{font-size:15px;color:#333;margin:10px 0 14px}
.dhf-pc-cont strong{font-weight:700}
.dhf-pc-acc{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.dhf-pc-acc details{border-bottom:1px solid var(--line)}
.dhf-pc-acc details:last-child{border-bottom:0}
.dhf-pc-acc summary{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;list-style:none;transition:background .2s}
.dhf-pc-acc summary:hover{background:#f8fcfb}
.dhf-pc-acc summary::-webkit-details-marker{display:none}
.dhf-pc-acc summary::after{content:"+";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--a-soft);color:var(--a);font-size:18px;font-weight:700;line-height:1;transition:transform .25s,background .2s}
.dhf-pc-acc details[open] summary::after{content:"−";background:var(--a);color:#fff}
.dhf-pc-acc-c{padding:0 16px 16px;font-size:14px;color:#455c63;line-height:1.75}
.dhf-pc-acc-c p{margin:0 0 10px}
.dhf-pc-acc-c p:last-child{margin-bottom:0}
.dhf-pc-acc-c ul,.dhf-pc-acc-c ol{margin:0 0 10px 20px;padding:0}
.dhf-pc-acc-c strong{color:#17404b}
.dhf-pc-acc-c a{text-decoration:underline}

/* ---- Pack: number | name | size | image ---- */
.dhf-pc-pack{width:100%;margin:10px 0;padding:10px;background:var(--a-soft);border:1px solid var(--a-line);border-radius:16px}
.dhf-pc-pack-t{text-align:center;font-size:15px;font-weight:800;color:var(--ink);margin-bottom:8px}
.dhf-pc-pack-l{display:flex;flex-direction:column;gap:7px}
.dhf-pc-pack-i{display:flex;flex-wrap:nowrap;align-items:center;direction:ltr;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 10px;transition:transform .2s,box-shadow .2s}
.dhf-pc-pack-i:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(61,31,69,.08)}
.dhf-pc-pack-n{flex:0 0 26px;width:26px;height:26px;line-height:26px;text-align:center;border-radius:50%;background:var(--a);color:#fff;font-size:13px;font-weight:800}
.dhf-pc-pack-name{flex:1 1 auto;min-width:0;text-align:left;font-size:14px;font-weight:700;color:var(--ink);line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dhf-pc-pack-c{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--a);background:var(--a-soft);border:1px solid var(--a-line);border-radius:999px;padding:2px 9px;white-space:nowrap}
.dhf-pc-pack-th{flex:0 0 46px;width:46px;height:46px;border-radius:10px;overflow:hidden;background:#eaf3f1}
.dhf-pc-pack-th img{display:block;width:100%!important;height:100%!important;object-fit:cover;border:0!important}

/* ---- Message + 3 animated arrows (under the quantity, pointing at the order button) ---- */
.dhf-pc-cta-wrap[data-dhf-move]:not(.is-placed){display:none}
.dhf-pc-cta{width:100%;margin:8px 0;padding:10px 12px 12px;text-align:center;background:var(--a-soft);border:1px dashed var(--a);border-radius:16px}
.dhf-pc-cta-t{font-size:15px;font-weight:800;color:var(--ink);line-height:1.4;direction:rtl}
.dhf-pc-arrows{display:flex;flex-direction:column;align-items:center;margin-top:6px}
.dhf-pc-arrows span{display:block;width:14px;height:14px;border-right:4px solid var(--a);border-bottom:4px solid var(--a);border-radius:2px;transform:rotate(45deg);opacity:.15;animation:dhf-pc-arrow 1.2s ease-in-out infinite}
.dhf-pc-arrows span+span{margin-top:-7px}
.dhf-pc-arrows span:nth-child(1){animation-delay:0s}
.dhf-pc-arrows span:nth-child(2){animation-delay:.2s}
.dhf-pc-arrows span:nth-child(3){animation-delay:.4s}
@keyframes dhf-pc-arrow{0%{opacity:.15;transform:rotate(45deg) translate(-4px,-4px)}50%{opacity:1;transform:rotate(45deg)}100%{opacity:.15;transform:rotate(45deg) translate(4px,4px)}}
@media(prefers-reduced-motion:reduce){.dhf-pc-arrows span{animation:none;opacity:1}}

@media(max-width:480px){
	.dhf-pc-price{font-size:26px}
	.dhf-pc-pack{padding:8px}
	.dhf-pc-pack-i{gap:7px;padding:5px 8px}
	.dhf-pc-pack-name{font-size:13px}
	.dhf-pc-pack-th{flex-basis:40px;width:40px;height:40px}
}
