/* Dokansa product page (new layout). Colours: forest #0C2412, lime #C8DF52, cream #FBFBF7, sand #F4EFE3, sage #E6EEDD. */
.dk-pd{position:relative;color:var(--ink)}
.dk-pd__top{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
@media (min-width:992px){.dk-pd__top{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px}}

/* photos */
.dk-pd__gallery{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:16px}
@media (min-width:992px){.dk-pd__gallery{position:sticky;top:130px}}
.dk-pd__badge{position:absolute;z-index:5;top:26px;inset-inline-start:26px;padding:5px 12px;border-radius:999px;background:var(--ink);color:var(--lime);font-size:13px;font-weight:700}
.dk-pd .woocommerce-product-gallery{position:relative;margin:0;width:100%!important;float:none!important}
.dk-pd .woocommerce-product-gallery__wrapper{margin:0}
.dk-pd .woocommerce-product-gallery .flex-viewport{border-radius:16px;background:var(--soft)}
.dk-pd .woocommerce-product-gallery__image{background:var(--soft);border-radius:16px}
.dk-pd .woocommerce-product-gallery__image a{display:block}
.dk-pd .woocommerce-product-gallery__image img{display:block;width:100%!important;height:auto;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply;padding:16px}
.dk-pd .woocommerce-product-gallery__trigger{position:absolute;z-index:6;top:12px;inset-inline-end:12px;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:0;text-indent:0;color:var(--ink)}
.dk-pd .woocommerce-product-gallery__trigger::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/contain no-repeat}
.dk-pd .woocommerce-product-gallery__trigger img,.dk-pd .woocommerce-product-gallery__trigger span{display:none!important}
.dk-pd .flex-control-thumbs{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dk-pd .flex-control-thumbs li{width:68px;margin:0;float:none;cursor:pointer}
.dk-pd .flex-control-thumbs img{display:block;width:68px;height:68px;object-fit:contain;padding:4px;border-radius:12px;border:1.5px solid var(--line);background:var(--soft);opacity:.65;transition:opacity .2s,border-color .2s}
.dk-pd .flex-control-thumbs img:hover,.dk-pd .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--ink)}
.dk-pd .flex-direction-nav{display:none}
.dk-pd .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){display:none}
.dk-pd .flex-viewport .woocommerce-product-gallery__image{display:block!important}

/* name, brand, rating */
.dk-pd__info{display:flex;flex-direction:column;gap:14px;min-width:0}
.dk-pd__brand{align-self:flex-start;display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:var(--sage);color:#2E5A1C;font-size:13px;font-weight:700}
.dk-pd__brand:hover{background:var(--ink);color:var(--lime)}
.dk-pd .product_title{margin:0;font-size:26px;line-height:1.5;font-weight:700;color:var(--ink)}
.dk-pd .woocommerce-product-rating{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--muted)}
.dk-pd .star-rating{position:relative;display:inline-block;width:5.4em;height:1.1em;font-size:14px;line-height:1;overflow:hidden;color:#E0A100}
.dk-pd .star-rating::before{content:"\2605\2605\2605\2605\2605";position:absolute;inset:0;color:#E2E6D8;letter-spacing:.1em}
.dk-pd .star-rating span{position:absolute;inset:0;overflow:hidden;padding-top:1.5em}
.dk-pd .star-rating span::before{content:"\2605\2605\2605\2605\2605";position:absolute;top:0;inset-inline-start:0;letter-spacing:.1em;color:#E0A100}

/* buy box */
.dk-pd__buy{display:flex;flex-direction:column;gap:14px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px}
.dk-pd__price{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.dk-pd__price p.price,.dk-pd__price span.price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:28px;font-weight:800;color:var(--ink);line-height:1.3}
.dk-pd__price .price ins{text-decoration:none;order:1}
.dk-pd__price .price del{order:2;font-size:16px;font-weight:500;color:var(--old)}
.dk-pd__price .price del *{color:var(--old)}
.dk-pd__save{display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:999px;background:#F1F7D6;color:#2E5A1C;font-size:13px;font-weight:700}
.dk-pd__save *{color:inherit!important;font-size:inherit!important}
.dk-pd__ends{margin:0;font-size:13px;color:var(--muted)}
.dk-pd__ends b{display:inline-block;margin-inline-start:4px;padding:2px 10px;border-radius:8px;background:var(--ink);color:var(--lime);font-variant-numeric:tabular-nums;direction:ltr}
.dk-pd p.stock{margin:0;font-size:13.5px;font-weight:600}
.dk-pd p.stock.in-stock{color:#2E7D32}
.dk-pd p.stock.out-of-stock{color:#B42318}

/* add to cart */
.dk-pd form.cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin:0}
.dk-pd form.cart.variations_form,.dk-pd form.cart.grouped_form{flex-direction:column}
.dk-pd form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.dk-pd .dina-quantity-con{display:inline-flex!important;align-items:center;height:52px;margin:0;border:1.5px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;flex:none}
.dk-pd .dina-quantity-con .quantity{margin:0;border:0;height:100%}
.dk-pd .dina-quantity-con input.qty{width:46px;height:100%;border:0;background:none;text-align:center;font:inherit;font-size:16px;font-weight:700;color:var(--ink);padding:0;margin:0;-moz-appearance:textfield;box-shadow:none}
.dk-pd .dina-quantity-con input.qty::-webkit-outer-spin-button,.dk-pd .dina-quantity-con input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.dk-pd .dina-item-quantity-btn{width:42px;height:100%;border:0;background:none;color:var(--ink);font-size:20px;font-weight:600;line-height:1;cursor:pointer;padding:0}
.dk-pd .dina-item-quantity-btn:hover{background:#EEF5C9}
.dk-pd .dina-item-quantity-btn i{display:none}
.dk-pd .dina-item-quantity-btn.plus::before{content:"+"}
.dk-pd .dina-item-quantity-btn.minus::before{content:"\2212"}
.dk-pd .quantity.hidden{display:none}
.dk-pd form.cart .single_add_to_cart_button{flex:1 1 200px;min-height:52px!important;height:auto!important;padding:0 22px!important;border:0!important;border-radius:14px!important;background:var(--lime)!important;color:var(--ink)!important;font:inherit;font-size:16px!important;font-weight:700!important;cursor:pointer;box-shadow:none!important;transition:background .2s,color .2s}
.dk-pd form.cart .single_add_to_cart_button::after{display:none!important}
.dk-pd form.cart .single_add_to_cart_button:hover{background:var(--ink)!important;color:var(--lime)!important}
.dk-pd form.cart .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed}
.dk-pd form.cart .single_add_to_cart_button.loading{opacity:.7}
.dk-pd table.variations{width:100%;border:0;margin:0;border-collapse:collapse}
.dk-pd table.variations th,.dk-pd table.variations td{display:block;padding:0;border:0;text-align:start}
.dk-pd table.variations th{font-size:14px;font-weight:700;margin-bottom:6px}
.dk-pd table.variations td{margin-bottom:12px}
.dk-pd table.variations select{width:100%;min-height:48px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:15px;color:var(--ink)}
.dk-pd .reset_variations{display:inline-block;margin-top:6px;font-size:13px;color:var(--muted)}
.dk-pd .woocommerce-variation-price .price{font-size:22px;font-weight:800}
.dk-pd .single_variation_wrap{display:flex;flex-direction:column;gap:10px}
.dk-pd .woosb-wrap{width:100%;margin:0 0 6px}
.dk-pd .woosb-products{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.dk-pd .woosb-product{padding:10px 12px;border-bottom:1px solid var(--line)}
.dk-pd .woosb-product:last-child{border-bottom:0}

/* delivery promises + details */
.dk-pd .dk-ptrust{list-style:none;margin:0;padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#fff;border:1px solid var(--line);border-radius:18px}
.dk-pd .dk-ptrust li{display:flex;align-items:center;gap:10px;min-width:0}
.dk-pd .dk-ptrust li+li{border-inline-start:1px solid var(--line);padding-inline-start:10px}
.dk-pd .dk-ptrust svg{flex:none;color:#2E5A1C}
.dk-pd .dk-ptrust span{display:flex;flex-direction:column;font-size:12px;line-height:1.5;color:var(--muted)}
.dk-pd .dk-ptrust b{font-size:13.5px;color:var(--ink)}
.dk-pd .product_meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted)}
.dk-pd .product_meta a{color:var(--ink)}
.dk-pd .product_meta a:hover{text-decoration:underline}
.dk-pd .product_meta .brand_wrapper,.dk-pd .product_meta .views_count_wrapper{display:none}

/* tabs */
.dk-pd .woocommerce-tabs{margin:40px 0 0}
.dk-pd .wc-tabs{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;border:0}
.dk-pd .wc-tabs::before,.dk-pd .wc-tabs::after{display:none}
.dk-pd .wc-tabs li{margin:0;padding:0;border:0;background:none;flex:none}
.dk-pd .wc-tabs li::before,.dk-pd .wc-tabs li::after{display:none}
.dk-pd .wc-tabs li a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-weight:700;font-size:14px;white-space:nowrap}
.dk-pd .wc-tabs li.active a,.dk-pd .wc-tabs li a[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:#FBFBF7}
.dk-pd .woocommerce-Tabs-panel{margin:0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:20px;font-size:15px;line-height:1.95;color:#2B3A2F}
.dk-pd .woocommerce-Tabs-panel h2,.dk-pd .woocommerce-Tabs-panel h3,.dk-pd .woocommerce-Tabs-panel h4{color:var(--ink);line-height:1.5;margin:18px 0 8px}
.dk-pd .woocommerce-Tabs-panel h2{font-size:20px}
.dk-pd .woocommerce-Tabs-panel h3{font-size:17px}
.dk-pd .woocommerce-Tabs-panel > :first-child{margin-top:0}
.dk-pd .woocommerce-Tabs-panel p{margin:0 0 12px}
.dk-pd .woocommerce-Tabs-panel ul,.dk-pd .woocommerce-Tabs-panel ol{margin:0 0 12px;padding-inline-start:22px}
.dk-pd .woocommerce-Tabs-panel img{max-width:100%;height:auto;border-radius:12px}
.dk-pd .woocommerce-Tabs-panel table{width:100%;border-collapse:collapse;margin:0 0 12px;font-size:14px}
.dk-pd .woocommerce-Tabs-panel th,.dk-pd .woocommerce-Tabs-panel td{padding:10px 12px;border:1px solid var(--line);text-align:start;vertical-align:top}
.dk-pd .woocommerce-Tabs-panel th{background:var(--soft);font-weight:700;width:34%}
.dk-pd .woocommerce-Tabs-panel details{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 8px}
.dk-pd .woocommerce-Tabs-panel summary{cursor:pointer;font-weight:700;color:var(--ink)}

/* reviews */
.dk-pd #reviews .commentlist{list-style:none;margin:0 0 20px;padding:0}
.dk-pd #reviews .commentlist li{padding:14px 0;border-bottom:1px solid var(--line)}
.dk-pd #reviews .comment-form input[type=text],.dk-pd #reviews .comment-form input[type=email],.dk-pd #reviews .comment-form textarea,.dk-pd #reviews select{width:100%;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;font:inherit;background:#fff}
.dk-pd #reviews .form-submit input{min-height:46px;padding:0 24px;border:0;border-radius:12px;background:var(--ink);color:var(--lime);font:inherit;font-weight:700;cursor:pointer}
.dk-pd #reviews p.stars a{color:#E0A100;margin-inline-end:4px}

/* related + up-sells */
.dk-pd section.related,.dk-pd section.up-sells{margin:44px 0 0}
.dk-pd section.related > h2,.dk-pd section.up-sells > h2{margin:0;font-size:22px;font-weight:700;color:var(--ink)}
.dk-pd section.related ul.products,.dk-pd section.up-sells ul.products{margin-top:16px}

/* old theme leftovers that have no style any more */
html body.dk-site .dina-sticky-add-cart,html body.dk-site .dina-prod-opts,html body.dk-site .dina-video-modal,html body.dk-site .dina-audio-modal,html body.dk-site .dina-price-chart-modal{display:none!important}

@media (max-width:767px){
  .dk-pd__gallery{padding:10px;border-radius:18px}
  .dk-pd__badge{top:18px;inset-inline-start:18px}
  .dk-pd .flex-control-thumbs li,.dk-pd .flex-control-thumbs img{width:56px;height:56px}
  .dk-pd .product_title{font-size:20px}
  .dk-pd__buy{padding:14px;border-radius:18px}
  .dk-pd__price p.price,.dk-pd__price span.price{font-size:24px}
  .dk-pd form.cart:not(.variations_form):not(.grouped_form){flex-wrap:nowrap}
  .dk-pd form.cart .single_add_to_cart_button{flex:1 1 auto}
  .dk-pd .dk-ptrust{padding:12px 6px;gap:4px}
  .dk-pd .dk-ptrust li{flex-direction:column;text-align:center;gap:6px}
  .dk-pd .dk-ptrust li+li{padding-inline-start:4px}
  .dk-pd .dk-ptrust span{font-size:11px}
  .dk-pd .dk-ptrust b{font-size:12.5px}
  .dk-pd .woocommerce-Tabs-panel{padding:16px;font-size:14.5px}
  .dk-pd section.related > h2,.dk-pd section.up-sells > h2{font-size:19px}
}

/* gallery: keep the slider inside its box; thumbnails as a simple row (the old theme turns them into a carousel) */
.dk-pd .flex-viewport{overflow:hidden!important}
.dk-pd .flex-control-thumbs.owl-carousel{display:block!important}
.dk-pd .flex-control-thumbs .owl-stage-outer{width:100%!important;overflow:visible!important}
.dk-pd .flex-control-thumbs .owl-stage{display:flex!important;flex-wrap:wrap;gap:8px;width:auto!important;transform:none!important;padding:0!important}
.dk-pd .flex-control-thumbs .owl-item{width:auto!important;margin:0!important;float:none!important}
.dk-pd .flex-control-thumbs .owl-nav,.dk-pd .flex-control-thumbs .owl-dots{display:none!important}
/* add-to-cart button fills the row next to the quantity */
html body.dk-site .dk-pd form.cart .single_add_to_cart_button{flex:1 1 180px!important;width:auto!important;min-width:0!important}
html body.dk-site .dk-pd form.cart .dina-quantity-con{height:52px!important;min-height:52px!important}
.dk-pd__ends b{direction:inherit}
