/* =====================================================================
   DlinkShop redesign 2026-11 — category pages (template/product/category.twig)
   Product cards share the look of the home page modules (dl-home.css).
   Breadcrumbs and page heading: dl-page.css. Variables: dl-header.css.
   ===================================================================== */
.dl-cat-page .dl-crumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #6B7380; }
.dl-cat-page .dl-crumbs-list li { display: inline-flex; align-items: center; }
.dl-cat-page .dl-crumbs-list li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid #B9C2CC; border-top: 1.5px solid #B9C2CC; transform: rotate(45deg); }
.dl-cat-page .dl-crumbs-list a, .dl-cat-page .dl-crumbs-list a:visited { color: #6B7380; text-decoration: none; }
.dl-cat-page .dl-crumbs-list a:hover { color: var(--dl-link); }
.dl-cat-page .dl-crumbs-list li[aria-current] { color: var(--dl-ink); font-weight: 600; }

/* ---------- subcategories: pills ---------- */
.dl-cat-page .ds-subcategories { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 0 0 20px !important; --bs-gutter-x: 0; --bs-gutter-y: 0; }
.dl-cat-page .ds-subcategories-item { width: auto !important; flex: 0 0 auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.dl-cat-page .ds-subcategories-item > a {
    flex-direction: row !important;
    gap: 10px;
    padding: 8px 16px 8px 8px !important;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.dl-cat-page .ds-subcategories-item > a:hover { border-color: var(--dl-accent) !important; background: var(--dl-accent-soft) !important; }
.dl-cat-page .ds-subcategories-item img { width: 32px !important; height: 32px !important; object-fit: contain; border-radius: 50%; background: var(--dl-gray-bg); mix-blend-mode: multiply; margin: 0 !important; }
.dl-cat-page .ds-subcategories-title { color: var(--dl-ink) !important; font-family: var(--dl-font); font-size: 14px !important; font-weight: 700 !important; }

/* ---------- sort bar ---------- */
.dl-cat-page .ds-category-sort {
    gap: 12px;
    margin-bottom: 20px !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--dl-gray-bg) !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
}
.dl-cat-page .ds-category-sort-title { color: var(--dl-ink) !important; font-size: 14px; font-weight: 700 !important; margin-right: 12px; }
.dl-cat-page .ds-category-sort-select,
.dl-cat-page .ds-category-limit-select {
    height: 44px;
    padding: 0 40px 0 14px !important;
    border: 1.5px solid #D5DCE2 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: var(--dl-ink) !important;
    font-family: var(--dl-font);
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    cursor: pointer;
}
.dl-cat-page .ds-category-sort-select { min-width: 220px; }
.dl-cat-page .ds-category-sort-select:focus,
.dl-cat-page .ds-category-limit-select:focus { border-color: var(--dl-accent) !important; }
/* only the grid view is used in the new design */
.dl-cat-page .ds-category-appearance { display: none !important; }

/* ---------- product grid ---------- */
.dl-cat-page .ds-category-products.row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.dl-cat-page .ds-category-products.row > .ds-module-item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.dl-cat-page #content.col-xl-12 .ds-category-products.row { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* card */
.dl-cat-page .ds-category-products .ds-module-item > .content-block {
    position: relative;
    gap: 10px;
    padding: 14px 14px 18px !important;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
    transition: border-color .2s, box-shadow .2s;
}
.dl-cat-page .ds-category-products .ds-module-item > .content-block:hover {
    border-color: var(--dl-accent) !important;
    box-shadow: 0 10px 30px rgba(15, 20, 25, .08) !important;
}
/* the theme lays cards out horizontally on phones — keep them vertical */
.dl-cat-page .ds-category-products .ds-module-item > .content-block { flex-direction: column !important; }
.dl-cat-page .ds-category-products .ds-module-img { flex: none !important; width: 100% !important; max-width: none !important; }
.dl-cat-page .ds-category-products .ds-module-caption { flex: 1 1 auto !important; width: 100% !important; }
/* image plate: light gray, white photo background blended into it */
.dl-cat-page .ds-category-products .ds-module-img-box {
    height: 220px;
    border-radius: 16px;
    background: var(--dl-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dl-cat-page .ds-category-products .ds-module-img-box > a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
.dl-cat-page .ds-category-products .ds-module-img-box img {
    width: auto !important;
    height: auto !important;
    max-width: 82%;
    max-height: 190px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
/* wishlist / compare: round white buttons, top right */
.dl-cat-page .ds-category-products .ds-module-buttons {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    gap: 6px;
    background: transparent !important;
    z-index: 2;
}
.dl-cat-page .ds-category-products .ds-module-button {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 20, 25, .08);
}
.dl-cat-page .ds-category-products .ds-module-button:hover { background: var(--dl-accent-soft) !important; }
/* stickers added by home.twig */
.dl-cat-page .ds-category-products .dl-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--dl-accent);
    color: var(--dl-ink);
    font-family: var(--dl-font);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}
.dl-cat-page .ds-category-products .dl-bf {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--dl-ink);
    color: #ffffff;
    font-family: var(--dl-font);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .06em;
}
.dl-cat-page .ds-category-products .dl-bf::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dl-accent); }
/* caption */
.dl-cat-page .ds-category-products .ds-module-caption { gap: 8px; padding: 0 !important; }
.dl-cat-page .ds-category-products .ds-module-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
    color: var(--dl-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-decoration: none;
}
.dl-cat-page .ds-category-products .ds-module-title:hover { color: var(--dl-link) !important; }
.dl-cat-page .ds-category-products .ds-module-stock { font-size: 12px; font-weight: 600; }
.dl-cat-page .ds-category-products .ds-module-rating { display: none !important; }
/* price + cart in one row */
.dl-cat-page .ds-category-products .ds-module-price { padding-right: 60px; min-height: 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.dl-cat-page .ds-category-products .ds-price-old { color: #6B7380 !important; font-size: 14px !important; font-weight: 500 !important; }
.dl-cat-page .ds-category-products .ds-price-new,
.dl-cat-page .ds-category-products .ds-module-price .ds-price-new { color: var(--dl-ink) !important; font-size: 21px !important; font-weight: 800 !important; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.dl-cat-page .ds-category-products .ds-price-old { white-space: nowrap; }
.dl-cat-page .ds-category-products .ds-module-cart { position: absolute !important; right: 14px; bottom: 18px; }
.dl-cat-page .ds-category-products .ds-module-cart-btn {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dl-accent) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.dl-cat-page .ds-category-products .ds-module-cart-btn svg { width: 20px; height: 20px; margin: 0 !important; }
.dl-cat-page .ds-category-products .ds-module-cart-btn svg path { fill: var(--dl-ink) !important; }
.dl-cat-page .ds-category-products .ds-module-cart-btn .button-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.dl-cat-page .ds-category-products .ds-module-cart-btn:hover { background: var(--dl-ink) !important; }
.dl-cat-page .ds-category-products .ds-module-cart-btn:hover svg path { fill: #ffffff !important; }

@media (max-width: 1199.98px) {
    
    
}
@media (max-width: 991.98px) {
    
}
@media (max-width: 767.98px) {
    
    
    .dl-cat-page .ds-category-products .ds-module-item > .content-block { padding: 8px 8px 12px !important; border-radius: 18px !important; gap: 8px; }
    .dl-cat-page .ds-category-products .ds-module-img-box { height: 150px; border-radius: 12px; }
    .dl-cat-page .ds-category-products .ds-module-img-box img { max-height: 130px; }
    .dl-cat-page .ds-category-products .ds-module-button { width: 32px !important; height: 32px !important; }
    .dl-cat-page .ds-category-products .dl-badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 12px; }
    .dl-cat-page .ds-category-products .dl-bf { left: 8px; bottom: 8px; padding: 4px 7px; font-size: 9px; gap: 5px; }
    .dl-cat-page .ds-category-products .ds-module-title { font-size: 14px !important; min-height: 55px; }
    .dl-cat-page .ds-category-products .ds-price-old { font-size: 12px !important; }
    .dl-cat-page .ds-category-products .ds-price-new,
    .dl-cat-page .ds-category-products .ds-module-price .ds-price-new { font-size: 17px !important; }
    /* narrow cards: cart button goes under the price, full width */
    .dl-cat-page .ds-category-products .ds-module-price { padding-right: 0; min-height: 0; }
    .dl-cat-page .ds-category-products .ds-module-cart { position: static !important; }
    .dl-cat-page .ds-category-products .ds-module-cart-btn { width: 100% !important; height: 42px !important; min-width: 0 !important; border-radius: 12px !important; }
}


/* category card specifics */
.dl-cat-page .ds-category-products .ds-module-stickers:empty { display: none !important; }
.dl-cat-page .ds-category-products .ds-module-price .ds-module-sticker { display: none !important; }  /* replaced by the −XX% badge */
.dl-cat-page .ds-category-products .ds-module-code { color: #6B7380; font-size: 12px; font-weight: 500; }
.dl-cat-page .ds-category-products .ds-category-item-rating { display: flex; flex-direction: column; }
.dl-cat-page .ds-category-products .ds-module-attributes { display: none !important; }
.dl-cat-page .ds-category-products .ds-category-cart-btn {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dl-accent) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.dl-cat-page .ds-category-products .ds-category-cart-btn svg { width: 20px; height: 20px; margin: 0 !important; }
.dl-cat-page .ds-category-products .ds-category-cart-btn svg path { fill: var(--dl-ink) !important; }
.dl-cat-page .ds-category-products .ds-category-cart-btn .button-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dl-cat-page .ds-category-products .ds-category-cart-btn:hover { background: var(--dl-ink) !important; }
.dl-cat-page .ds-category-products .ds-category-cart-btn:hover svg path { fill: #ffffff !important; }
.dl-cat-page .ds-category-products .ds-no-stock .ds-module-img-box img { opacity: .5; }

/* price on its own row; quantity stepper + cart button in a row under it */
.dl-cat-page .ds-category-products .ds-module-price { padding-right: 0 !important; min-height: 0 !important; }
.dl-cat-page .ds-category-products .ds-module-cart {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.dl-cat-page .ds-category-products .ds-module-quantity {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 4px;
    border: 1.5px solid var(--dl-line);
    border-radius: 14px !important;
    background: #ffffff;
}
.dl-cat-page .ds-category-products .ds-module-quantity-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    border-radius: 10px;
    background: var(--dl-gray-bg);
}
.dl-cat-page .ds-category-products .ds-module-quantity-btn:hover { background: var(--dl-accent-soft); }
.dl-cat-page .ds-category-products .ds-module-quantity .form-control {
    min-width: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--dl-ink);
    font-family: var(--dl-font);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}
.dl-cat-page .ds-category-products .ds-category-cart-btn,
.dl-cat-page .ds-category-products .ds-module-cart-btn { flex: 0 0 48px; }
.dl-cat-page .ds-category-limit-select { min-width: 84px; }

/* ---------- show more + pagination ---------- */
.dl-cat-page .ds-module-showmore { padding-top: 28px !important; }
.dl-cat-page .oct-load-more-button {
    height: 52px;
    padding: 0 28px !important;
    gap: 10px;
    border: 1.5px solid #D5DCE2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: var(--dl-ink) !important;
    font-family: var(--dl-font);
    font-size: 15px;
    font-weight: 700;
    box-shadow: none !important;
}
.dl-cat-page .oct-load-more-button svg path { fill: var(--dl-ink) !important; }
.dl-cat-page .oct-load-more-button:hover { border-color: var(--dl-accent) !important; background: var(--dl-accent-soft) !important; }
.dl-cat-page .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 0; padding: 0; font-family: var(--dl-font); }
.dl-cat-page .pagination .page-item .page-link,
.dl-cat-page .pagination li > a,
.dl-cat-page .pagination li > span {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 12px !important;
    background: #ffffff;
    color: var(--dl-ink);
    font-weight: 700;
    box-shadow: none !important;
}
.dl-cat-page .pagination .active > .page-link,
.dl-cat-page .pagination li.active > span { border-color: var(--dl-ink) !important; background: var(--dl-ink) !important; color: #ffffff !important; }
.dl-cat-page .pagination li > a:hover { border-color: var(--dl-accent) !important; color: var(--dl-ink); }

/* ---------- category description ---------- */
.dl-cat-page .ds-category-description {
    margin-top: 32px !important;
    padding: 32px 36px !important;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
}
.dl-cat-page .ds-category-description-text { color: #2B323C !important; font-size: 15px; font-weight: 400 !important; line-height: 1.65; }
.dl-cat-page .ds-category-description-text h2,
.dl-cat-page .ds-category-description-text h3 { color: var(--dl-ink); font-weight: 800; letter-spacing: -0.02em; margin: 20px 0 10px; }
.dl-cat-page .ds-category-description-text h2 { font-size: 24px; }
.dl-cat-page .ds-category-description-text h3 { font-size: 18px; }
.dl-cat-page .ds-category-description-text strong { color: var(--dl-ink); }
.dl-cat-page .ds-category-description-text a { color: var(--dl-link); }
.dl-cat-page .ds-category-description-text-toggle { color: var(--dl-link) !important; font-weight: 700 !important; cursor: pointer; }
.dl-cat-page .ds-category-description-img img { border-radius: 16px; }

/* ---------- left column (e.g. "РОЗПРОДАЖ" products) ---------- */
.dl-cat-page #column-left > .content-block,
.dl-cat-page #column-left .content-block:not(.ds-module-item .content-block) {
    border: 0 !important;
    border-radius: 22px !important;
    background: var(--dl-gray-bg) !important;
    box-shadow: none !important;
}
.dl-cat-page #column-left .ds-column-title { color: var(--dl-ink) !important; font-family: var(--dl-font); font-size: 18px; font-weight: 800 !important; border-color: #DDE3E8 !important; }

.dl-cat-page #column-left .ds-price-new { color: var(--dl-ink) !important; font-family: var(--dl-font); font-weight: 800 !important; }
.dl-cat-page #column-left .ds-module-cart-btn,
.dl-cat-page #column-left .ds-column-cart-btn { border-color: var(--dl-accent) !important; border-radius: 12px !important; }
.dl-cat-page #column-left a.active,
.dl-cat-page #column-left .active > a { color: var(--dl-link) !important; font-weight: 700; }

/* ---------- v2: left-column product slider ("РОЗПРОДАЖ") — same card look ---------- */
.dl-cat-page #column-left .ds-column-products { overflow: hidden; border-radius: 18px; }
.dl-cat-page #column-left .ds-column-products .ds-module-item > div {
    position: relative;
    gap: 10px;
    padding: 12px 12px 16px;
    border: 1.5px solid var(--dl-line);
    border-radius: 18px;
    background: #ffffff;
    font-family: var(--dl-font);
}
.dl-cat-page #column-left .ds-column-products .ds-module-img-box {
    height: 200px;
    border-radius: 14px;
    background: var(--dl-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dl-cat-page #column-left .ds-column-products .ds-module-img-box > a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
.dl-cat-page #column-left .ds-column-products .ds-module-img-box img {
    width: auto !important;
    height: auto !important;
    max-width: 82%;
    max-height: 170px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.dl-cat-page #column-left .ds-column-products .ds-module-stickers:empty { display: none !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-buttons { top: 8px !important; right: 8px !important; left: auto !important; gap: 6px; background: transparent !important; z-index: 2; }
.dl-cat-page #column-left .ds-column-products .ds-module-button {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 20, 25, .08);
}
.dl-cat-page #column-left .ds-column-products .ds-module-button:hover { background: var(--dl-accent-soft) !important; }
.dl-cat-page #column-left .ds-column-products .dl-badge,
.dl-cat-page #column-left .ds-column-products .dl-bf { position: absolute; z-index: 2; border-radius: 8px; font-family: var(--dl-font); font-weight: 800; line-height: 1.2; }
.dl-cat-page #column-left .ds-column-products .dl-badge { top: 10px; left: 10px; padding: 5px 10px; background: var(--dl-accent); color: var(--dl-ink); font-size: 13px; }
.dl-cat-page #column-left .ds-column-products .dl-bf { left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--dl-ink); color: #ffffff; font-size: 11px; letter-spacing: .06em; }
.dl-cat-page #column-left .ds-column-products .dl-bf::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dl-accent); }
.dl-cat-page #column-left .ds-column-products .ds-module-caption { gap: 6px; padding: 0 !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dl-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-decoration: none;
}
.dl-cat-page #column-left .ds-column-products .ds-module-title:hover { color: var(--dl-link) !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-stock { font-size: 12px; font-weight: 600; }
.dl-cat-page #column-left .ds-column-products .ds-module-rating { display: none !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-price { padding-right: 56px; min-height: 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.dl-cat-page #column-left .ds-column-products .ds-module-price .ds-module-sticker { display: none !important; }
.dl-cat-page #column-left .ds-column-products .ds-price-old { color: #6B7380 !important; font-size: 13px !important; font-weight: 500 !important; white-space: nowrap; }
.dl-cat-page #column-left .ds-column-products .ds-price-new { color: var(--dl-ink) !important; font-size: 20px !important; font-weight: 800 !important; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart { position: absolute !important; right: 12px; bottom: 16px; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn {
    position: static !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dl-accent) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn svg { width: 20px; height: 20px; margin: 0 !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn svg path { fill: var(--dl-ink) !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn .button-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn:hover { background: var(--dl-ink) !important; }
.dl-cat-page #column-left .ds-column-products .ds-module-cart-btn:hover svg path { fill: #ffffff !important; }
/* slider arrows: round white buttons over the photo */
.dl-cat-page #column-left .ds-column-products .swiper-button-prev,
.dl-cat-page #column-left .ds-column-products .swiper-button-next {
    top: 112px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--dl-ink) !important;
    box-shadow: 0 4px 12px rgba(15, 20, 25, .18);
    z-index: 3;
}
.dl-cat-page #column-left .ds-column-products .swiper-button-prev::after,
.dl-cat-page #column-left .ds-column-products .swiper-button-next::after { display: none !important; }   /* swiper's own font arrow */
.dl-cat-page #column-left .ds-column-products .swiper-button-prev svg,
.dl-cat-page #column-left .ds-column-products .swiper-button-next svg { width: 8px; height: 12px; }
.dl-cat-page #column-left .ds-column-products .swiper-button-prev { left: 4px !important; }
.dl-cat-page #column-left .ds-column-products .swiper-button-next { right: 4px !important; }
.dl-cat-page #column-left .ds-column-products .swiper-button-prev svg path,
.dl-cat-page #column-left .ds-column-products .swiper-button-next svg path { fill: #ffffff !important; stroke: #ffffff; }
.dl-cat-page #column-left .ds-column-products .swiper-button-prev:hover,
.dl-cat-page #column-left .ds-column-products .swiper-button-next:hover { background: var(--dl-accent) !important; }
.dl-cat-page #column-left .ds-column-products .swiper-button-prev:hover svg path,
.dl-cat-page #column-left .ds-column-products .swiper-button-next:hover svg path { fill: var(--dl-ink) !important; stroke: var(--dl-ink); }
.dl-cat-page #column-left .ds-column-title { border: 0 !important; margin-bottom: 8px !important; padding-bottom: 8px !important; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .dl-cat-page .ds-category-products.row,
    .dl-cat-page #content.col-xl-12 .ds-category-products.row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .dl-cat-page .ds-category-products.row,
    .dl-cat-page #content.col-xl-12 .ds-category-products.row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dl-cat-page .ds-category-sort { padding: 10px !important; }
    .dl-cat-page .ds-category-sort-select { min-width: 0; flex: 1 1 auto; }
    .dl-cat-page .ds-category-description { padding: 20px 18px !important; border-radius: 20px !important; }
    .dl-cat-page .ds-category-products .ds-module-cart { gap: 6px; margin-top: 8px; }
    .dl-cat-page .ds-category-products .ds-module-quantity { height: 42px; border-radius: 12px !important; padding: 0 2px; }
    .dl-cat-page .ds-category-products .ds-module-quantity-btn { width: 28px; height: 32px; flex-basis: 28px; border-radius: 8px; }
    .dl-cat-page .ds-category-products .ds-category-cart-btn,
    .dl-cat-page .ds-category-products .ds-module-cart-btn { width: 42px !important; height: 42px !important; min-width: 42px !important; flex: 0 0 42px; border-radius: 12px !important; }
    /* no quantity stepper: cart button takes the whole row */
    .dl-cat-page .ds-category-products .ds-module-cart > .ds-category-cart-btn:first-child { flex: 1 1 auto; width: 100% !important; }
}

/* =====================================================================
   v3 — search results page (template/product/search.twig)
   uses the category styles above (.dl-cat-page) + the search form below
   ===================================================================== */
.dl-search-page .ds-product-search {
    margin-bottom: 28px !important;
    padding: 20px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: var(--dl-gray-bg) !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
}
.dl-search-page .ds-product-search-title { margin-bottom: 12px !important; color: var(--dl-ink-2) !important; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.dl-search-page .ds-product-search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px) auto;
    gap: 12px;
    align-items: center;
}
.dl-search-page .ds-product-search-form > .form-group { display: contents !important; }
.dl-search-page .ds-product-search-form .form-control,
.dl-search-page .ds-product-search-form .form-select {
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1.5px solid #D5DCE2 !important;
    border-radius: 14px !important;
    background-color: #ffffff !important;
    color: var(--dl-ink);
    font-family: var(--dl-font);
    font-size: 15px !important;
    font-weight: 500;
    box-shadow: none !important;
}
.dl-search-page .ds-product-search-form .form-select { padding-right: 40px; cursor: pointer; }
.dl-search-page .ds-product-search-form .form-control:focus,
.dl-search-page .ds-product-search-form .form-select:focus { border-color: var(--dl-accent) !important; box-shadow: 0 0 0 3px rgba(0, 168, 232, .18) !important; }
.dl-search-page #button-search {
    grid-column: 3;
    grid-row: 1;
    height: 52px;
    margin: 0 !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dl-accent) !important;
    color: var(--dl-ink) !important;
    font-family: var(--dl-font);
    font-size: 15px;
    font-weight: 800;
    box-shadow: none !important;
}
.dl-search-page #button-search .button-text { color: inherit !important; }
.dl-search-page #button-search:hover { background: var(--dl-ink) !important; color: #ffffff !important; }
.dl-search-page .ds-product-search-form .form-checkbox-group {
    grid-column: 1 / -1;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 2px 0 0 !important;
}
.dl-search-page .ds-product-search-form .form-check { gap: 8px; margin: 0 !important; padding: 0 !important; min-height: 0; }
.dl-search-page .ds-product-search-form .form-check-input {
    float: none;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    border: 1.5px solid #B9C2CC;
    border-radius: 5px;
    cursor: pointer;
}
.dl-search-page .ds-product-search-form .form-check-input:checked { background-color: var(--dl-accent); border-color: var(--dl-accent); }
.dl-search-page .ds-product-search-form .form-check-input:disabled { opacity: .4; }
.dl-search-page .ds-product-search-form .form-check-label { color: var(--dl-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.dl-search-page .ds-product-search-form .form-check-input:disabled + .form-check-label { color: #8A94A0; cursor: default; }
.dl-search-page .dl-search-results-title {
    margin: 0 0 16px !important;
    color: var(--dl-ink) !important;
    font-family: var(--dl-font);
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
}
.dl-search-page #content > .content-block.mt-3 {
    padding: 28px !important;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
}
@media (max-width: 991.98px) {
    .dl-search-page .ds-product-search-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dl-search-page #button-search { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 575.98px) {
    .dl-search-page .ds-product-search { padding: 14px !important; border-radius: 16px !important; }
    .dl-search-page .ds-product-search-form { grid-template-columns: minmax(0, 1fr); }
    .dl-search-page .dl-search-results-title { font-size: 20px !important; }
}

/* =====================================================================
   v4 — manufacturer page (template/product/manufacturer_info.twig)
   uses the category styles above; only the empty state is added
   ===================================================================== */
.dl-brand-page #content > .content-block {
    padding: 28px !important;
    border: 1.5px solid var(--dl-line) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    font-family: var(--dl-font);
}
.dl-brand-page #content > .content-block .button-primary {
    height: 48px;
    align-items: center;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--dl-accent) !important;
    color: var(--dl-ink) !important;
    font-weight: 800;
}
