/* Dobika Core — product page (Listing page) styles, v2 (dobika-core >= 0.9.0). Loaded after site.css.
   Layout: CSS grid on .dobika-product-top (title / gallery / details / buy box), title first on phones.
   Tokens: navy #1B3557, teal #236E7C, tint #F3F6F9, border #E3E9EF, amber #F4B740 (buy buttons only, navy text), link #3D7396. */
.dobika-product .wp-block-woocommerce-breadcrumbs{margin-bottom:.75rem;color:#4A5B70}
.dobika-product-top{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "gallery" "buy" "details";gap:1rem 2rem;align-items:start}
.dobika-p-title{grid-area:title}
.dobika-p-gallery{grid-area:gallery;min-width:0}
.dobika-p-details{grid-area:details;min-width:0}
.dobika-p-buy{grid-area:buy;min-width:0}
@media (min-width:900px){
  .dobika-product-top{grid-template-columns:minmax(0,5fr) minmax(0,4fr) 290px;grid-template-areas:"gallery title buy" "gallery details buy";gap:.5rem 2.25rem}
  .dobika-p-buy{position:sticky;top:1rem}
}
@media (min-width:1100px){.dobika-product-top{grid-template-columns:minmax(0,11fr) minmax(0,8fr) 300px}}
.dobika-p-title h1{font-size:clamp(1.5rem,1.2rem + 1.4vw,2rem);line-height:1.2;margin:0}
.dobika-byline{margin:.35rem 0 0;color:#4A5B70}
.dobika-byline a{color:#3D7396}
.dobika-rating-free{display:inline-flex;align-items:center;gap:.4rem;margin:.6rem 0 0;padding:.3rem .75rem;background:#F3F6F9;border-radius:999px;font-size:.85rem;font-weight:600;color:#1B3557}
.dobika-price-inline{margin:.75rem 0 0;font-weight:700}
.dobika-summary{margin-top:.25rem}
.dobika-summary p{margin:0 0 .6rem}
.dobika-summary ul{padding-left:0;margin:.5rem 0;list-style:none}
.dobika-summary li{position:relative;padding-left:1.6rem;margin-bottom:.45rem}
.dobika-summary li::before{content:"";position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;background:#E6F2F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23236E7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.dobika-keyfacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}
.dobika-keyfacts li{background:#F3F6F9;border:1px solid #E3E9EF;border-radius:10px;padding:.55rem .7rem;margin:0;font-size:.88rem;line-height:1.3;padding-left:0}
.dobika-keyfacts li::before{display:none}
.dobika-keyfacts li span{display:block;color:#4A5B70;font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}
.dobika-keyfacts li strong{color:#1B3557}

/* Gallery (WooCommerce flexslider): rounded main image, thumbnails as a swipeable strip on phones */
.dobika-p-gallery .woocommerce-product-gallery{margin-bottom:0}
.dobika-p-gallery .woocommerce-product-gallery__wrapper{margin:0}
.dobika-p-gallery .woocommerce-product-gallery__image img,.dobika-p-gallery .woocommerce-product-gallery__image a{display:block;border-radius:14px;border:1px solid #E3E9EF;background:#fff}
.dobika-p-gallery .woocommerce-product-gallery__trigger{top:.75rem;right:.75rem;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(27,53,87,.2)}
.woocommerce div.product .dobika-p-gallery .flex-control-thumbs,.dobika-p-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap;gap:.5rem;margin:.6rem 0 0!important;padding:.1rem 0 .4rem!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#C9D6E2 transparent;list-style:none}
.dobika-p-gallery .flex-control-thumbs li{flex:0 0 68px;width:68px!important;margin:0!important;padding:0!important;float:none!important;scroll-snap-align:start;list-style:none}
.dobika-p-gallery .flex-control-thumbs img{width:68px;height:68px;object-fit:cover;border-radius:8px;border:2px solid #E3E9EF;opacity:.75;cursor:pointer;transition:opacity .15s,border-color .15s;margin:0}
.dobika-p-gallery .flex-control-thumbs img:hover,.dobika-p-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:#1B3557}
@media (min-width:900px){
  .woocommerce div.product .dobika-p-gallery .flex-control-thumbs,.dobika-p-gallery .flex-control-thumbs{flex-wrap:wrap;overflow:visible!important}
  .dobika-p-gallery .flex-control-thumbs li{flex-basis:76px;width:76px!important}
  .dobika-p-gallery .flex-control-thumbs img{width:76px;height:76px}
}
.dobika-gallery-hint{margin:.4rem 0 0;font-size:.8rem;color:#4A5B70;text-align:center}
@media (min-width:900px){.dobika-gallery-hint{display:none}}

/* Buy box */
.dobika-buybox{border:1px solid #E3E9EF;border-radius:14px;padding:1.1rem 1.1rem 1rem;background:#fff;box-shadow:0 1px 2px rgba(27,53,87,.05),0 8px 24px rgba(27,53,87,.06)}
.dobika-buybox > *{margin-block:0 .6rem}
.dobika-buybox .wp-block-woocommerce-product-price{margin-bottom:.15rem;font-weight:800;color:#1B3557}
.dobika-muted,.dobika-secure{color:#4A5B70}
.dobika-secure{display:flex;align-items:center;gap:.4rem;justify-content:center}
.dobika-btn{min-height:48px;display:block;width:100%;box-sizing:border-box;text-align:center;border-radius:999px;padding:.85rem 1rem;font-weight:700;text-decoration:none;line-height:1.2;cursor:pointer;font-size:1rem}
.dobika-btn-buy{background:#F4B740;color:#1B3557 !important;border:1px solid #D99A1E}
.dobika-btn-buy:hover,.dobika-btn-buy:focus-visible{background:#E9A825;color:#1B3557 !important}
.dobika-buybox form.cart{display:block;margin:0}
.dobika-buybox form.cart .quantity{display:none}
.dobika-buybox .single_add_to_cart_button{display:block;width:100%;border-radius:999px;padding:.85rem 1rem;background:#fff !important;color:#1B3557 !important;border:2px solid #1B3557 !important;font-weight:700;min-height:48px}
.dobika-buybox .single_add_to_cart_button:hover,.dobika-buybox .single_add_to_cart_button:focus-visible{background:#F3F6F9 !important}
.dobika-btn:focus-visible,.dobika-buybox .single_add_to_cart_button:focus-visible{outline:3px solid #1B3557;outline-offset:2px}
.dobika-buybox-facts{margin:.75rem 0 0;padding:.75rem 0 0;border-top:1px solid #E3E9EF;font-size:.85rem}
.dobika-buybox-facts div{display:flex;gap:.5rem;margin-bottom:.3rem}
.dobika-buybox-facts dt{min-width:4.5rem;color:#4A5B70}
.dobika-buybox-facts dd{margin:0;overflow-wrap:anywhere}
.dobika-etsy{font-size:.85rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #E3E9EF}
.dobika-soon{background:#FFF7E6;border:1px solid #F4D48A;border-radius:12px;padding:.85rem 1rem;margin:.5rem 0 .75rem;color:#1B3557;font-size:.95rem;line-height:1.45}
.dobika-included{margin:.75rem 0 0;padding:0;list-style:none;font-size:.9rem}
.dobika-included li{position:relative;padding-left:1.5rem;margin-bottom:.35rem}
.dobika-included li::before{content:"";position:absolute;left:0;top:.3em;width:14px;height:14px;border-radius:50%;background:#E6F2F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23236E7C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}

/* Body: description sections */
.dobika-product-body{margin-top:2rem}
.dobika-product-body h2{font-size:1.4rem;margin-top:2.25rem;padding-top:1.25rem;border-top:1px solid #E3E9EF}
.dobika-product-body h3{font-size:1.1rem;margin-top:1.5rem}
.dobika-product-body ul{padding-left:0;list-style:none}
.dobika-product-body ul li{position:relative;padding-left:1.6rem;margin-bottom:.5rem}
.dobika-product-body ul li::before{content:"";position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;background:#E6F2F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23236E7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.dobika-details{width:100%;border-collapse:separate;border-spacing:0;font-size:.95rem;border:1px solid #E3E9EF;border-radius:12px;overflow:hidden}
.dobika-details th,.dobika-details td{border-bottom:1px solid #E3E9EF;padding:.65rem .8rem;text-align:left;vertical-align:top}
.dobika-details tr:last-child th,.dobika-details tr:last-child td{border-bottom:0}
.dobika-details th{background:#F3F6F9;width:34%;font-weight:600;color:#1B3557}
.dobika-tab-shot{margin:.75rem 0 1.25rem}
.dobika-tab-shot img{border-radius:12px;border:1px solid #E3E9EF}
.dobika-faq{margin:0}
.dobika-faq details{background:#fff;border:1px solid #E3E9EF;border-radius:12px;margin:0 0 .6rem}
.dobika-faq summary{list-style:none;cursor:pointer;position:relative;padding:.95rem 3rem .95rem 1.1rem;font-weight:700;color:#1B3557;line-height:1.35}
.dobika-faq summary::-webkit-details-marker{display:none}
.dobika-faq summary::after{content:"";position:absolute;right:1.1rem;top:50%;width:10px;height:10px;border-right:2px solid #1B3557;border-bottom:2px solid #1B3557;transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.dobika-faq details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.dobika-faq details[open] summary{border-bottom:1px solid #E3E9EF}
.dobika-faq summary:hover{background:#F3F6F9;border-radius:12px}
.dobika-faq summary:focus-visible{outline:3px solid #1B3557;outline-offset:2px;border-radius:12px}
.dobika-faq .dobika-faq-a{padding:.75rem 1.1rem 1rem;color:#2B3B50}
.dobika-faq .dobika-faq-a p{margin:0}
.dobika-qa dt{font-weight:700;margin-top:1rem;color:#1B3557}
.dobika-qa dd{margin:.3rem 0 0}
.dobika-disclaimer{color:#4A5B70;margin-top:2rem}
.dobika-related{margin-top:3rem}
.dobika-video{margin:1rem 0 0;max-width:560px}
.dobika-video video{display:block;width:100%;height:auto;border-radius:12px;background:#F3F6F9;border:1px solid #E3E9EF}
.dobika-video figcaption{color:#4A5B70;font-size:.875rem;margin-top:.5rem}

/* Sticky mobile buy bar (only when a buy button exists) */
.dobika-buy-bar{display:none}
@media (max-width:899px){
  body.dobika-has-buy-bar .dobika-price-inline{display:none}
  .dobika-buy-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;gap:1rem;align-items:center;justify-content:space-between;
    background:#fff;border-top:1px solid #E3E9EF;box-shadow:0 -2px 8px rgba(27,53,87,.08);padding:.6rem 16px calc(.6rem + env(safe-area-inset-bottom))}
  .dobika-buy-bar .price{font-weight:700;font-size:1.15rem;color:#1B3557}
  .dobika-buy-bar .dobika-btn{width:auto;flex:0 0 auto;padding:.7rem 1.4rem;min-height:44px;display:flex;align-items:center}
  html{scroll-padding-bottom:80px}
  body.single-product.dobika-has-buy-bar{padding-bottom:76px}
  .dobika-details th{width:40%}
}
