/* Preserve transparent artwork across the storefront and native WooCommerce pages. */
.dk-home .product-art img,
.dk-interior .products .product .ct-media-container img,
.dk-interior .woocommerce-product-gallery img {
    background: transparent !important;
    mix-blend-mode: normal;
    object-fit: contain;
}
.dk-home .product-art img { width: 104px; height: 104px; max-width: 80%; }
.dk-home .product-art { background: var(--mint); }
html[data-theme="dark"] .dk-home .product-art { background: var(--dk-palette-372024,#372024); }
html[data-theme="dark"] img.dk-logo-monochrome { filter: brightness(0) invert(1); }
img.dk-logo-light { filter: brightness(0); }
html[data-theme="dark"] img.dk-logo-light { filter: none; }
html[data-theme="dark"] img.dk-logo-color-invert { filter: invert(1) hue-rotate(180deg); }
.dk-home .products { align-items: stretch; }
.dk-home .products .product { min-width: 0; }
.dk-home .product-info { display: flex; flex-direction: column; }
.dk-home .product-price { margin-top: auto; gap: 10px; }
.dk-home .product-price strong > .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.dk-home .product-price .woocommerce-Price-currencySymbol { font-size: 12px; }
.dk-home .product-detail { width: 40px; height: 40px; }
.dk-home .search input { min-width: 0; color: var(--ink); }
.dk-home .search input::placeholder { color: var(--muted); opacity: 1; }
.dk-home .catalogue-meta { flex-wrap: wrap; gap: 8px 16px; }
.dk-home .filters { min-width: 0; }
.dk-home .filters { scrollbar-width: none; overscroll-behavior-inline: contain; }
.dk-home .filters::-webkit-scrollbar { display: none; }
.dk-home header .actions { flex-shrink: 0; }
.dk-interior .summary.entry-summary { overflow-wrap: anywhere; }
.dk-interior .woocommerce-product-gallery { max-width: 100%; }
.dk-interior .woocommerce-product-gallery .ct-media-container { display: grid; place-items: center; padding: 20px; background: var(--dk-soft); border-radius: 14px; }
.dk-interior .woocommerce-product-gallery img { aspect-ratio: 1 !important; width: min(100%, 320px); height: 320px; max-height: 60vw; }
.dk-interior [class*="breadcrumb"] a { color: var(--dk-link); }
body.admin-bar.dk-home > header { top: 32px; }
@media (max-width: 782px) { body.admin-bar.dk-home > header { top: 46px; } }
@media (max-width: 700px) {
    .dk-home header { flex-wrap: nowrap; gap: 10px; padding: 12px 16px; }
    .dk-home header .brand { font-size: 27px; }
    .dk-home header .account-link { display: none; }
    .dk-home header .actions { gap: 8px; }
    .dk-home #language { min-height: 40px; min-width: 40px; font-size: 11px; padding: 4px; }
    .dk-home #theme-toggle { width: 36px; height: 36px; }
    .dk-home .basket { padding: 9px 11px; }
    .dk-home main { padding-inline: 16px; }
    .dk-home .hero-buttons { gap: 12px; }
    .dk-home .filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
    .dk-home .filters button { flex-shrink: 0; min-height: 42px; font-size: 12px; }
    .dk-home .catalog-controls { min-width: 0; }
    .dk-home .search { width: 100%; min-width: 0; min-height: 44px; }
    .dk-home .search input { width: 100%; font-size: 16px; }
    .dk-home .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .dk-home .product h3 { font-size: 14px; line-height: 1.5; }
    .dk-home .product p { font-size: 12px; line-height: 1.65; }
    .dk-home .product-category { font-size: 9px; }
    .dk-home .product-price strong { font-size: 17px; }
    .dk-home .product-price small { font-size: 9px; }
    .dk-home .product-detail { width: 42px; height: 42px; }
    .dk-home .mobile-nav a,.dk-home .mobile-nav button { min-width: 44px; min-height: 44px; }
    .dk-home .mobile-nav span { font-size: 10px; }
    .dk-home footer { padding-bottom: 110px; }
    .dk-shell-actions .dk-account-link { display: none; }
    .dk-shell-actions #language { min-width: 40px; min-height: 40px; }
    .dk-shell-row { padding: 12px 16px; }
    .dk-shell-actions { gap: 8px; }
    .dk-interior .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dk-interior .products .product { min-width: 0; overflow-wrap: anywhere; }
    .dk-interior .woocommerce-tabs { padding: 16px; }
    .dk-interior .woocommerce-product-gallery img { height: 220px; max-height: 56vw; }
}
@media (max-width: 480px) {
    .dk-home .products { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .dk-home .products .product { display: grid; grid-template-columns: 96px minmax(0,1fr); }
    .dk-home .product-art { height: auto; min-height: 160px; margin: 6px 0 6px 6px; border-radius: 8px; }
    html[dir="rtl"] .dk-home .product-art { margin: 6px 6px 6px 0; }
    .dk-home .product-art img { width: 88px; height: 88px; max-width: 95%; }
    .dk-home .product-art::after { display: none; }
    .dk-home .product-art .tag { font-size: 7px; padding: 4px; top: 8px; inset-inline-start: 7px; }
    .dk-home .product-info { padding: 16px 14px; }
    .dk-home .product h3 { min-height: 0; margin: 7px 0; }
    .dk-home .product p { min-height: 0; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .dk-home .product-price { padding-top: 10px; }
    .dk-home .product-price strong { font-size: 17px; }
    .dk-home .product-price .woocommerce-Price-currencySymbol { font-size: 12px; }
    .dk-interior .products { grid-template-columns: minmax(0,1fr); }
    .dk-interior .products .product img { max-height: 150px; }
    .dk-interior .woocommerce-form-login,.dk-interior .woocommerce-form-register { padding: 18px; }
}
@media (max-width: 350px) {
    .dk-home header .brand { font-size: 23px; }
    .dk-home header .actions { gap: 4px; }
    .dk-home .basket { padding-inline: 8px; }
    .dk-home .products .product { grid-template-columns: 82px minmax(0,1fr); }
}


/* Equal catalogue text slots keep prices and actions aligned in every language. */
.dk-home .products .product { display: flex; flex-direction: column; }
.dk-home .product-art { flex-shrink: 0; }
.dk-home .product-info { flex: 1; min-width: 0; }
.dk-home .product-category { min-height: 1.4em; }
.dk-home .product-info h3 {
    line-height: 1.5; height: 3em; min-height: 3em;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; flex-shrink: 0;
}
.dk-home .product-info > p {
    line-height: 1.7; height: 5.1em; min-height: 5.1em;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; flex-shrink: 0;
}
@media (max-width: 480px) {
    .dk-home .products .product { display: grid; }
    .dk-home .product-info > p { height: 3.4em; min-height: 3.4em; -webkit-line-clamp: 2; }
}
