/* Dokansa store pages (shop, categories, brands, search) - replaces the old theme's styles on these pages. */
.dk-store{--ink:#0C2412;--lime:#C8DF52;--cream:#FBFBF7;--sand:#F4EFE3;--sage:#E6EEDD;--soft:#F4F5EF;--line:#E2E6D8;--muted:#4F5B52;--old:#7A847C;padding-top:14px;padding-bottom:56px;color:var(--ink)}
.dk-store *,.dk-store *::before,.dk-store *::after{box-sizing:border-box}
.dk-store a{text-decoration:none}

/* breadcrumbs */
.dk-crumbs{font-size:13px;color:var(--muted);margin:0 0 14px}
.dk-crumbs p{margin:0}
.dk-crumbs a{color:var(--muted)}
.dk-crumbs a:hover{color:var(--ink);text-decoration:underline}
.dk-crumbs .separator{margin:0 6px;color:#B5BCB2}
.dk-crumbs .last{color:var(--ink);font-weight:600}

/* notices */
.dk-store .woocommerce-notices-wrapper:empty{display:none}
.dk-store .woocommerce-message,.dk-store .woocommerce-info,.dk-store .woocommerce-error{list-style:none;margin:0 0 16px;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.dk-store .woocommerce-message{border-color:#CFE3A1;background:#F6FAE8}
.dk-store .woocommerce-error{border-color:#F4C7C3;background:#FEF3F2;color:#7A271A}
.dk-store .woocommerce-message .button,.dk-store .woocommerce-info .button{background:var(--ink);color:var(--lime);border-radius:10px;padding:8px 14px;font-weight:700;font-size:13px}

/* heading row, result count and sorting dropdown (the sort pills replace the dropdown) */
.dk-store .woocommerce-products-header{margin:0}
.dk-store .woocommerce-products-header__title{display:none}
.dk-store .woocommerce-result-count{display:none}
.dk-store form.woocommerce-ordering{display:none}

/* product grid */
.dk-store ul.products{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dk-store ul.products::before,.dk-store ul.products::after{display:none}
.dk-store ul.products li.dk-li{margin:0;padding:0;width:auto;float:none;min-width:0;display:flex}
@media (min-width:768px){.dk-store ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:1024px){.dk-store ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1280px){.dk-store ul.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}}

/* product card (same as the home page) */
.dk-store .dk-card{position:relative;flex:1;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px;transition:transform .25s,box-shadow .25s,border-color .25s}
.dk-store .dk-card:hover{transform:translateY(-3px);border-color:#D3DABF;box-shadow:0 18px 36px -22px rgba(12,36,18,.45)}
.dk-store .dk-card__media{position:relative;display:block;aspect-ratio:1/1;border-radius:16px;background:var(--soft);overflow:hidden}
.dk-store .dk-card__media img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:8px;transition:transform .4s}
.dk-store .dk-card:hover .dk-card__media img{transform:scale(1.05)}
.dk-store .dk-badge{position:absolute;z-index:2;top:8px;inset-inline-start:8px;display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:var(--ink);color:var(--lime);font-size:12px;font-weight:700;line-height:1.4}
.dk-store .dk-badge--out{background:#fff;color:var(--muted);border:1px solid var(--line)}
.dk-store .dk-card__body{flex:1;padding:0 4px}
.dk-store .dk-card__title{margin:0;font-size:14px;font-weight:500;line-height:1.55;min-height:43px}
.dk-store .dk-card__title a{color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dk-store .dk-card__title a:hover{color:#2E5A1C}
.dk-store .dk-card__foot{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0 4px 2px}
.dk-store .dk-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-height:26px;font-size:17px;font-weight:800;color:var(--ink)}
.dk-store .dk-price ins{text-decoration:none;order:1}
.dk-store .dk-price del{order:2;font-size:13px;font-weight:500;color:var(--old)}
.dk-store .dk-price del .amount,.dk-store .dk-price del bdi{color:var(--old)}
.dk-store .dk-price .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.dk-store .dk-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:14px;background:var(--lime);color:var(--ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s,color .2s}
.dk-store .dk-add:hover,.dk-store .dk-add:focus-visible{background:var(--ink);color:var(--lime)}
.dk-store .dk-add[aria-busy="true"]{opacity:.6;pointer-events:none}
.dk-store .dk-add.is-done{background:#2E5A1C;color:#fff}
.dk-store .dk-add--link{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.dk-store .dk-add--off{background:#ECEEE6;color:var(--muted)}
.dk-store .dk-add--off:hover{background:#E2E6D8;color:var(--ink)}
.dk-store .dk-card.is-out .dk-card__media img{opacity:.45}
@media (max-width:767px){
  .dk-store .dk-card{padding:8px;border-radius:16px;gap:8px}
  .dk-store .dk-card__media{border-radius:12px}
  .dk-store .dk-card__title{font-size:13px;min-height:40px}
  .dk-store .dk-price{font-size:15px}
  .dk-store .dk-add{min-height:40px;font-size:13px;border-radius:12px}
}

/* pages + load more */
.dk-store nav.woocommerce-pagination{margin:28px 0 0}
.dk-store nav.woocommerce-pagination ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;border:0}
.dk-store nav.woocommerce-pagination li{margin:0;border:0;float:none}
.dk-store nav.woocommerce-pagination a,.dk-store nav.woocommerce-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600}
.dk-store nav.woocommerce-pagination a:hover{border-color:var(--ink)}
.dk-store nav.woocommerce-pagination span.current{background:var(--ink);border-color:var(--ink);color:var(--lime)}
.dk-store .ds-catalog-load-more{padding:28px 0 0!important}
.dk-store .ds-catalog-load-more button{min-height:48px;padding:0 28px;border:0;border-radius:999px;background:var(--ink);color:var(--lime);font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.dk-store .ds-catalog-load-more button:hover{background:#163020}
.dk-store .ds-catalog-load-more button:disabled{opacity:.6}
.dk-store .ds-catalog-load-more p{margin:10px 0 0;font-size:13px;color:var(--muted)}

/* no products */
.dk-store .woocommerce-no-products-found .woocommerce-info{justify-content:center;padding:28px}

/* category/brand text */
.dk-store__text{margin:40px 0 0;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:20px;font-size:14.5px;line-height:1.9;color:var(--muted)}
.dk-store__text h2,.dk-store__text h3{color:var(--ink);font-size:18px;margin:0 0 8px}
.dk-store__text p{margin:0 0 10px}
.dk-store__text p:last-child{margin:0}

/* "added" message */
.dk-toast{position:fixed;z-index:9999;left:50%;bottom:24px;transform:translateX(-50%);padding:12px 20px;border-radius:999px;background:#0C2412;color:#C8DF52;font-weight:700;font-size:14px;box-shadow:0 12px 30px -10px rgba(12,36,18,.5)}
.dk-toast[hidden]{display:none}
@media (max-width:767px){.dk-toast{bottom:84px}}

/* grid wins over older list rules */
html body .dk-store ul.products{display:grid!important;flex-wrap:nowrap!important;width:auto!important;margin-left:0!important;margin-right:0!important}
html body .dk-store ul.products li.dk-li{width:auto!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}
