/**
 * Zrali Markt - theme design layer for Deo eMarket
 * Brand: charcoal #3a3a3c, orange #ee6524, white.
 * Loaded last (see templates/_partials/stylesheets.tpl), so it refines the
 * theme and the Deo page builder without editing their files.
 */

:root {
    --z-orange: #ee6524;
    --z-orange-dark: #c94f14;
    --z-orange-soft: #fff1e9;
    --z-ink: #3a3a3c;
    --z-ink-strong: #1f1f21;
    --z-char: #3a3a3c;
    --z-char-dark: #2a2a2c;
    --z-char-deep: #1d1d1f;
    --z-muted: #6b6b70;
    --z-line: #e7e7ea;
    --z-bg: #f6f6f7;
    --z-green: #15803d;
    --z-red: #dc2626;
    --z-radius: 16px;
    --z-radius-sm: 10px;
    --z-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
    --z-shadow-lg: 0 14px 34px rgba(16, 24, 40, .14);
    --z-focus: 0 0 0 3px rgba(238, 101, 36, .25);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

html { -webkit-text-size-adjust: 100%; }
body {
    background: var(--z-bg) !important;
    color: var(--z-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
a { transition: color .15s ease; }
a:hover, a:focus { color: var(--z-orange); }
::selection { background: var(--z-orange); color: #fff; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--z-orange); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

h1, h2, h3, .h1, .h2, .h3 { color: var(--z-ink-strong); letter-spacing: -.01em; }

/* ------------------------------------------------------------------ */
/* Buttons & forms                                                     */
/* ------------------------------------------------------------------ */

.btn {
    border-radius: var(--z-radius-sm) !important;
    font-weight: 600;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-primary,
.btn-primary:not(:disabled):not(.disabled),
.btn.add-to-cart,
button.add-to-cart,
#submit-login,
.form-footer .btn-primary {
    background: var(--z-orange) !important;
    border-color: var(--z-orange) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(238, 101, 36, .25);
}
.btn-primary:hover,
.btn-primary:focus,
.btn.add-to-cart:hover,
button.add-to-cart:hover {
    background: var(--z-orange-dark) !important;
    border-color: var(--z-orange-dark) !important;
    color: #fff !important;
}
.btn-primary:active,
.btn.add-to-cart:active { transform: translateY(1px); }
.btn-secondary,
.btn-default,
.btn-outline {
    background: #fff;
    border: 1px solid var(--z-line);
    color: var(--z-ink);
}
.btn-secondary:hover,
.btn-default:hover { border-color: var(--z-orange); color: var(--z-orange-dark); background: #fff; }

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    border-radius: var(--z-radius-sm);
    border-color: #d4d4d8;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--z-orange) !important;
    box-shadow: var(--z-focus) !important;
    outline: none;
}
.custom-checkbox input[type="checkbox"] + span .checkbox-checked,
.custom-radio input[type="radio"]:checked + span { color: var(--z-orange); }
.custom-radio input[type="radio"]:checked + span { background-color: var(--z-orange); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--z-orange); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.header-container,
.sticky-menu-active .header-top,
#header .header-top,
#header .header-nav {
    background: var(--z-char) !important;
}
#header .header-nav {
    background: var(--z-char-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 13px;
}
#header .header-nav a,
#header .header-nav .popup-title,
#header .header-nav .expand-more,
#header .header-nav .title-name,
#header .header-nav .iso-code { color: rgba(255, 255, 255, .85) !important; }
#header .header-nav a:hover { color: #fff !important; }
#header .header-nav .popup-over .popup-title:before { background: rgba(255, 255, 255, .25) !important; }

#header .header-top { padding-top: 6px; padding-bottom: 0; }
#header .logo img,
#header .DeoLogoStore img {
    max-height: 64px;
    width: auto;
    border-radius: 12px;
    background: #fff;
    padding: 6px 8px;
}

/* search (Deo advanced search, style "emarket one") */
#header .deo-search-advanced .popup-content,
.deo-search-advanced.search-emarket-one .popup-content,
.deo-search-advanced .deo-search-advanced-top-box {
    position: relative;
    padding: 4px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .22) !important;
}
#header .deo-search-advanced .block_content,
#header .deo-search-advanced .deo-advanced-search-input { background: transparent !important; border: 0 !important; }
#header .deo-search-advanced .block_content .deo-advanced-search-input .advanced_search_query,
#header .deo-search-advanced .deo-advanced-search-query {
    height: 44px !important;
    padding: 0 64px 0 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--z-ink-strong) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}
#header .deo-search-advanced .deo-advanced-search-query::placeholder { color: #8a8a90 !important; }
#header .deo-search-advanced .deo-advanced-search-query:focus { box-shadow: none !important; }
#header .deo-search-advanced .popup-content:focus-within { box-shadow: 0 0 0 3px rgba(238, 101, 36, .45), 0 2px 12px rgba(0, 0, 0, .22) !important; }
#header .deo-search-advanced .block_content .deo-advanced-search-top-button,
#header .deo-search-advanced .deo-advanced-search-top-button {
    position: absolute !important;
    top: 4px !important;
    bottom: 4px !important;
    right: 4px !important;
    left: auto !important;
    width: 56px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--z-orange) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#header .deo-search-advanced .deo-advanced-search-top-button:hover { background: var(--z-orange-dark) !important; }
#header .deo-search-advanced .deo-advanced-search-top-button span { display: none !important; }
#header .deo-search-advanced .deo-advanced-search-top-button i { color: #fff !important; font-size: 18px; }
#header .deo-search-advanced .list-cate-wrapper .select-title { height: 44px !important; line-height: 44px !important; }
#header .suggest a,
#header .block-link-inline a {
    color: rgba(255, 255, 255, .72) !important;
    font-style: normal !important;
    font-size: 12.5px !important;
}
#header .suggest a:hover { color: var(--z-orange) !important; }
.deo-search-advanced .deo-advanced-search-result,
.deo-search-advanced .list-group,
.ac_results,
.ui-autocomplete {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: var(--z-shadow-lg) !important;
    overflow: hidden;
}

/* cart in header */
#header .cart-block .header,
#header .blockcart .header,
#header .blockcart .header a { color: #fff !important; }
#header .cart-block .cart-products-count,
#header .blockcart .cart-products-count {
    background: var(--z-orange) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700;
}

/* main menu */
#header .bottom-header-menu,
#header .DeoMegamenu,
#header .deo-horizontal-menu {
    background: transparent !important;
}
#header .box-bottom-header { border-bottom: 0 !important; }
#header .bottom-header-menu { border-top: 1px solid rgba(255, 255, 255, .08); }
#header .megamenu.horizontal > li > .nav-link,
#header .megamenu.horizontal > li > a {
    position: relative;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    letter-spacing: .02em;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
#header .megamenu.horizontal > li > .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--z-orange);
    transform: scaleX(0);
    transition: transform .2s ease;
}
#header .megamenu.horizontal > li:hover > .nav-link::after,
#header .megamenu.horizontal > li.active > .nav-link::after { transform: scaleX(1); }
#header .megamenu.horizontal > li:hover > .nav-link,
#header .megamenu.horizontal > li.active > .nav-link { color: #fff !important; }
#header .megamenu .dropdown-menu,
#header .dropdown-mega-menu {
    border: 0 !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: var(--z-shadow-lg) !important;
}
#header .megamenu .dropdown-menu a:hover { color: var(--z-orange) !important; }

/* "Sellers" link in the menu */
.custom-sellers,
#header .custom-sellers {
    margin: 2px 0 10px 10px !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--z-orange) !important;
    box-shadow: 0 4px 14px rgba(238, 101, 36, .35) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
#header .custom-sellers { align-self: center; }
#header .custom-sellers > .nav-link,
#header .custom-sellers > a {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    color: #fff !important;
}
#header .custom-sellers > .nav-link::after { display: none; }
#header .custom-sellers:hover { background: var(--z-orange-dark) !important; }

/* user / language dropdowns */
.popup-over:not(.search-widget):not(.deo-search-advanced):not(.userinfo-selector) .popup-content,
.dropdown-menu:not(.user-info) {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: var(--z-shadow-lg) !important;
}
.dropdown-item:hover,
.dropdown-item:focus { background: var(--z-orange-soft) !important; color: var(--z-orange-dark) !important; }

/* sticky header */
.sticky-menu-active .header-top,
.deo-sticky-active,
.header-sticky.affix {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25) !important;
}

/* mobile menu toggler */
#header .navbar-toggler .icon-bar { background: #fff !important; }
#header .navbar-toggler .text-menu-toggler { color: #fff !important; }

/* ------------------------------------------------------------------ */
/* Breadcrumb, page titles, notifications                              */
/* ------------------------------------------------------------------ */

.breadcrumb {
    background: transparent !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    font-size: 13px;
}
.breadcrumb ol { padding: 0; margin: 0; }
.breadcrumb li,
.breadcrumb li a,
.breadcrumb li span { color: var(--z-muted) !important; text-transform: none !important; }
.breadcrumb li a:hover { color: var(--z-orange) !important; }
.breadcrumb li:last-child span { color: var(--z-ink-strong) !important; font-weight: 600; }
.breadcrumb li::after { color: #b8b8bd !important; }
[data-depth] .breadcrumb,
.breadcrumb-bg { background-image: none !important; }

#notifications .alert,
.alert {
    border-radius: 12px;
    border-width: 1px;
}
.alert-success { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #eff4ff; border-color: #c7d7fe; color: #1e40af; }

/* ------------------------------------------------------------------ */
/* Section titles on the home page                                     */
/* ------------------------------------------------------------------ */

.title_block,
.block-title,
.products-section-title,
.box-title .title_block {
    color: var(--z-ink-strong) !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
}
.deo-tabs .nav-link,
.DeoProductTabs .nav-link,
.box-product-tabs .nav-link {
    border-radius: 999px !important;
    font-weight: 600;
}
.deo-tabs .nav-link.active,
.DeoProductTabs .nav-link.active,
.box-product-tabs .nav-link.active {
    background: var(--z-orange) !important;
    border-color: var(--z-orange) !important;
    color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Product cards                                                       */
/* ------------------------------------------------------------------ */

.product-miniature .thumbnail-container {
    position: relative;
    height: 100%;
    margin-bottom: 0;
    background: #fff !important;
    border: 1px solid var(--z-line) !important;
    border-radius: var(--z-radius) !important;
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
@media (hover: hover) {
    .product-miniature .thumbnail-container:hover {
        border-color: transparent !important;
        box-shadow: var(--z-shadow-lg);
        transform: translateY(-3px);
    }
}
.product-miniature .thumbnail-container .product-image {
    position: relative;
    background: #fafafa;
    border-radius: 0 !important;
    overflow: hidden;
}
.product-miniature .thumbnail-container .product-image img {
    transition: transform .35s ease;
}
@media (hover: hover) {
    .product-miniature .thumbnail-container:hover .product-image img { transform: scale(1.04); }
}
.product-miniature .thumbnail-container .product-meta {
    padding: 12px 14px 14px !important;
    text-align: left;
}
.product-miniature .product-title {
    margin: 0 0 4px !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    min-height: 2.7em;
}
.product-miniature .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--z-ink-strong) !important;
    font-weight: 600 !important;
    text-transform: none !important;
}
.product-miniature .product-title a:hover { color: var(--z-orange) !important; }
.product-miniature .category-default,
.product-miniature .category-default a {
    color: var(--z-muted) !important;
    font-size: 12px !important;
    text-transform: none !important;
}
.product-miniature .product-price-and-shipping {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin-top: 6px;
}
.product-miniature .product-price-and-shipping .price {
    color: var(--z-orange) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}
.product-miniature .product-price-and-shipping .regular-price {
    color: #9a9aa0 !important;
    font-size: 13px !important;
    text-decoration: line-through;
}
.product-miniature .product-price-and-shipping .discount-percentage,
.product-miniature .product-price-and-shipping .discount-amount {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--z-orange-soft);
    color: var(--z-orange-dark) !important;
    font-size: 12px;
    font-weight: 700;
}
.product-miniature .product-description-short { color: var(--z-muted); font-size: 13px; }

/* labels: New / Sale / -20% */
.thumbnail-container .box-label { top: 10px !important; left: 10px !important; right: auto !important; }
.thumbnail-container .box-label label,
.product-flags .product-flag {
    padding: 4px 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.thumbnail-container .box-label label:before,
.thumbnail-container .box-label label:after { display: none !important; }
.thumbnail-container .box-label label.new,
.product-flags .product-flag.new { background: var(--z-char) !important; color: #fff !important; }
.thumbnail-container .box-label label.discount,
.thumbnail-container .box-label label.on-sale,
.product-flags .product-flag.discount,
.product-flags .product-flag.on-sale { background: var(--z-orange) !important; color: #fff !important; }
.product-flags .product-flag.out_of_stock { background: #6b6b70 !important; color: #fff !important; }

/* quick buttons on the image (cart / quick view / compare / wishlist) */
.thumbnail-container .box-button .btn-product,
.thumbnail-container .box-button .quickview a,
.thumbnail-container .box-button a.btn-product {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--z-ink) !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .18) !important;
    transition: background .15s, color .15s, transform .15s;
}
.thumbnail-container .box-button .btn-product:hover,
.thumbnail-container .box-button .quickview a:hover {
    background: var(--z-orange) !important;
    color: #fff !important;
}
.thumbnail-container .box-button .btn-product.added,
.thumbnail-container .box-button .btn-product.active { background: var(--z-orange) !important; color: #fff !important; }

/* product grids: rows of equal-height cards (theme uses floats) */
#js-product-list .products.row,
.products.row,
.product_list.grid.row {
    display: flex !important;
    flex-wrap: wrap;
}
#js-product-list .products.row::before,
#js-product-list .products.row::after,
.products.row::before,
.products.row::after { display: none !important; }
.products.row > .ajax_block_product,
.products.row > [class*="col-"] {
    float: none !important;
    display: flex;
    margin-bottom: 20px;
}
.products.row > .ajax_block_product > .product,
.products.row > [class*="col-"] > .product,
.products.row .product-miniature { width: 100%; display: flex; flex-direction: column; }
.products.row .product-miniature .thumbnail-container { flex: 1 1 auto; display: flex; flex-direction: column; }
.products.row .product-miniature .product-meta { flex: 1 1 auto; display: flex; flex-direction: column; }
.products.row .product-miniature .product-price-and-shipping { margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------------------ */
/* Category page                                                       */
/* ------------------------------------------------------------------ */

.block-category {
    border-radius: var(--z-radius) !important;
    border: 1px solid var(--z-line) !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 20px !important;
}
.block-category h1 { font-size: 26px; font-weight: 800; }
#search_filters,
.block-categories,
#left-column .block,
#right-column .block {
    border: 1px solid var(--z-line) !important;
    border-radius: var(--z-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 16px !important;
}
#search_filters .facet .facet-title,
#search_filters .h6,
.block-categories .h6,
#left-column .title_block {
    color: var(--z-ink-strong) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: none !important;
}
#search_filters .facet { border-bottom: 1px solid #f1f1f3; padding-bottom: 10px; margin-bottom: 10px; }
#search_filters .facet:last-child { border-bottom: 0; }
#search_filters .facet-label a { color: var(--z-ink) !important; }
#search_filters .facet-label a:hover { color: var(--z-orange) !important; }
.ui-slider .ui-slider-range { background: var(--z-orange) !important; }
.ui-slider .ui-slider-handle { border-color: var(--z-orange) !important; border-radius: 50% !important; }
.active_filters { border-radius: 12px; background: #fff !important; border: 1px solid var(--z-line); }
.active_filters .filter-block {
    border-radius: 999px !important;
    background: var(--z-orange-soft) !important;
    color: var(--z-orange-dark) !important;
}

#js-product-list-top,
.products-selection {
    padding: 10px 14px !important;
    margin-bottom: 18px !important;
    border: 1px solid var(--z-line);
    border-radius: 14px;
    background: #fff;
}
.products-sort-order .select-title {
    border-radius: 10px !important;
    border: 1px solid var(--z-line) !important;
    background: #fff !important;
    box-shadow: none !important;
}
.display .active,
.deo_grid_list .active,
.display a:hover { color: var(--z-orange) !important; }

/* pagination */
.pagination .page-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}
.pagination .page-list li { margin: 0 !important; }
.pagination .page-list li a,
.pagination .page-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px !important;
    border: 1px solid var(--z-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--z-ink) !important;
    font-weight: 600;
}
.pagination .page-list li.current a,
.pagination .page-list li a:hover {
    background: var(--z-orange) !important;
    border-color: var(--z-orange) !important;
    color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Product page                                                        */
/* ------------------------------------------------------------------ */

#product h1,
#product .h1.product-detail-name,
#product .product-detail-name {
    font-size: clamp(22px, 2.4vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    color: var(--z-ink-strong) !important;
}
#product .images-container .product-cover,
#product .product-cover img,
#product .product-images .thumb {
    border-radius: var(--z-radius) !important;
    overflow: hidden;
}
#product .product-images .thumb.selected,
#product .product-images .thumb:hover { border-color: var(--z-orange) !important; }
#product .current-price .price,
#product .current-price span:first-child,
#product .product-price .current-price-value {
    color: var(--z-orange) !important;
    font-size: clamp(24px, 2.6vw, 32px) !important;
    font-weight: 800 !important;
}
#product .product-discount .regular-price { color: #9a9aa0 !important; }
#product .discount.discount-percentage,
#product .discount.discount-amount {
    border-radius: 999px !important;
    background: var(--z-orange) !important;
    color: #fff !important;
    font-weight: 700;
}
#product .product-add-to-cart .add-to-cart,
#product .product-add-to-cart .btn.add-to-cart {
    min-height: 52px;
    padding: 0 28px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
#product .bootstrap-touchspin,
#product .product-quantity .qty .input-group {
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid #d4d4d8;
}
#product .bootstrap-touchspin input,
#product #quantity_wanted { height: 52px !important; border: 0 !important; font-weight: 700; text-align: center; }
#product .bootstrap-touchspin .btn-touchspin { border: 0 !important; background: var(--z-bg) !important; }
#product .product-variants .input-color:checked + span,
#product .product-variants .input-radio:checked + span { border-color: var(--z-orange) !important; }
#product .product-variants .input-radio:checked + span { background: var(--z-orange) !important; color: #fff !important; }
#product .product-variants .radio-label { border-radius: 10px !important; }
#product .tabs,
#product .product-tabs,
#product .more-info-product {
    border-radius: var(--z-radius) !important;
    border: 1px solid var(--z-line);
    background: #fff;
}
#product .nav-tabs { border-bottom: 1px solid var(--z-line) !important; }
#product .nav-tabs .nav-link {
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    color: var(--z-muted) !important;
    font-weight: 600 !important;
    text-transform: none !important;
}
#product .nav-tabs .nav-link.active,
#product .nav-tabs .nav-link:hover {
    border-bottom-color: var(--z-orange) !important;
    color: var(--z-ink-strong) !important;
    background: transparent !important;
}
#product .blockreassurance_product,
#product .block-reassurance {
    border-radius: 14px !important;
    border: 1px solid var(--z-line) !important;
    background: #fff !important;
}
#product .product-additional-info .social-sharing li { border-radius: 50%; }

/* ------------------------------------------------------------------ */
/* Cart, checkout, account                                             */
/* ------------------------------------------------------------------ */

.cart-grid-body .card,
.cart-grid-right .card,
.cart-summary,
#checkout .checkout-step,
#checkout .card,
.page-customer-account #content,
.page-authentication #content,
.page-content.card,
#content.page-content {
    border: 1px solid var(--z-line) !important;
    border-radius: var(--z-radius) !important;
    box-shadow: none !important;
}
.cart-grid-body .card-block h1 { font-weight: 800; text-transform: none; }
.cart-item { border-bottom: 1px solid #f1f1f3 !important; }
.cart-summary-line.cart-total .value,
.cart-summary-totals .cart-total .value { color: var(--z-orange) !important; font-weight: 800; }
.cart-detailed-actions .btn-primary,
.checkout .btn-primary { width: 100%; min-height: 50px; font-size: 16px; }
#checkout .checkout-step .step-title { font-weight: 700; text-transform: none !important; }
#checkout .checkout-step.-current .step-title,
#checkout .checkout-step .step-number { color: var(--z-orange) !important; }
#checkout .checkout-step.-complete .step-title .done { color: var(--z-green) !important; }
.delivery-option,
.payment-option { border-radius: 12px; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer-container,
.footer-container .footer-top,
.footer-container .footer-center {
    background: var(--z-char-dark) !important;
    color: rgba(255, 255, 255, .72) !important;
}
.footer-container { margin-top: 40px; border-top: 4px solid var(--z-orange); }
.footer-container .title_block,
.footer-container .box-title,
.footer-container .box-title .title_block,
.footer-container h3,
.footer-container h4 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: .02em;
}
.footer-container a,
.footer-container li a { color: rgba(255, 255, 255, .72) !important; }
.footer-container a:hover { color: var(--z-orange) !important; }
.footer-container p,
.footer-container .description,
.footer-container .sub-title-widget { color: rgba(255, 255, 255, .62) !important; }
.footer-container .block_newsletter form .input-wrapper,
.footer-container .block_newsletter .form-group {
    position: relative;
}
.footer-container .block_newsletter input[type="email"],
.footer-container .block_newsletter input[type="text"] {
    height: 48px;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0 20px !important;
    background: #fff !important;
    color: var(--z-ink-strong) !important;
}
.footer-container .block_newsletter .btn,
.footer-container .block_newsletter button,
.footer-container .block_newsletter input[type="submit"] {
    border-radius: 999px !important;
    background: var(--z-orange) !important;
    border-color: var(--z-orange) !important;
    color: #fff !important;
    font-weight: 700;
}
.footer-container .footer-bottom,
.footer-bottom {
    background: var(--z-char-deep) !important;
    color: rgba(255, 255, 255, .6) !important;
    font-size: 13px;
}
.footer-container .footer-bottom a { color: rgba(255, 255, 255, .7) !important; }
.footer-container .footer-contact .address,
.footer-container .footer-contact .phone,
.footer-container .footer-contact .email { color: rgba(255, 255, 255, .72) !important; }
.footer-container .copyright { color: rgba(255, 255, 255, .55) !important; }
.footer-container .navbar-toggler,
.footer-container .collapse-icons { color: #fff !important; }

/* back to top */
#back-top a,
.deo-back-top a {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: var(--z-orange) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(238, 101, 36, .4) !important;
    border: 0 !important;
}
#back-top a:hover,
.deo-back-top a:hover { background: var(--z-orange-dark) !important; }
#back-top a:before,
.deo-back-top a:before { color: #fff !important; }

/* modals (add to cart popup, quick view) */
.modal-content {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: var(--z-shadow-lg) !important;
    overflow: hidden;
}
#blockcart-modal .modal-header { background: var(--z-char) !important; }
#blockcart-modal .modal-title { color: #fff !important; }
#blockcart-modal .product-price,
#blockcart-modal .cart-content .value { color: var(--z-orange) !important; font-weight: 800; }

/* ------------------------------------------------------------------ */
/* Tablets and phones                                                  */
/* ------------------------------------------------------------------ */

@media (max-width: 991px) {
    #header .header-top { padding-top: 8px; padding-bottom: 8px; }
    #header .logo img,
    #header .DeoLogoStore img { max-height: 48px; padding: 4px 6px; }
    /* phone/tablet header: [logo ........ menu cart] then full-width search */
    #header .box-bottom-header {
        display: flex !important;
        clear: both;
        width: auto;
        flex-wrap: wrap;
        align-items: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #header .box-bottom-header::before,
    #header .box-bottom-header::after { display: none !important; }
    #header .box-bottom-header > .DeoColumn { float: none !important; padding-left: 8px !important; padding-right: 8px !important; }
    #header .left-bottom-header { order: 1; flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; overflow: hidden; }
    #header .left-bottom-header img { max-width: 160px; }
    #header .bottom-header-menu { order: 2; flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
    #header .right-bottom-header { order: 3; flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
    #header .center-bottom-header {
        order: 4;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 4px;
    }
    #header .center-bottom-header .suggest { display: none !important; }
    #header .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 10px !important;
        border: 1px solid rgba(255, 255, 255, .25) !important;
        border-radius: 12px !important;
        background: transparent !important;
    }
    #header .navbar-toggler .icon-bar { display: block; width: 22px; height: 2px; margin: 4px 0; border-radius: 2px; }
    #header .right-bottom-header .blockcart,
    #header .right-bottom-header .cart-preview { position: relative; }
    .deo-search-advanced .deo-advanced-search-query,
    .deo-search-advanced input.form-control { height: 44px !important; font-size: 16px !important; }
    .deo-search-advanced button.btn { height: 36px !important; }
    #header .bottom-header-menu { border-top: 0; }

    /* off-canvas / collapsed menu */
    #header .megamenu-content.collapse.in,
    #header .megamenu-content.show,
    .deo-megamenu-offcanvas,
    #deo-offcanvas,
    .offcanvas-menu {
        background: #fff !important;
    }
    #header .megamenu-content.in .nav-link,
    #header .megamenu-content.show .nav-link,
    .deo-megamenu-offcanvas .nav-link {
        color: var(--z-ink-strong) !important;
        padding: 14px 16px !important;
        border-bottom: 1px solid #f1f1f3;
    }
    #header .megamenu.horizontal > li > .nav-link::after { display: none; }

    .product-miniature .thumbnail-container .product-meta { padding: 10px 12px 12px !important; }
    .product-miniature .product-title { font-size: 13.5px !important; }
    .product-miniature .product-price-and-shipping .price { font-size: 16px !important; }
    .thumbnail-container .box-button .btn-product,
    .thumbnail-container .box-button .quickview a { width: 38px !important; height: 38px !important; }
    .thumbnail-container .product-image .box-button,
    .product-list-one .thumbnail-container .product-image .box-button {
        position: absolute !important;
        left: auto !important;
        right: 8px !important;
        bottom: 8px !important;
        top: auto !important;
        display: flex !important;
        gap: 6px;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .thumbnail-container .product-image .box-button > div { margin: 0 !important; background: transparent !important; }

    .footer-container .block-toggler .box-title,
    .footer-container .accordion_mobile_screen .box-title {
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
}

@media (max-width: 767px) {
    body { font-size: 15px; }
    /* bigger tap targets */
    .btn,
    .dropdown-item,
    .pagination .page-list li a { min-height: 44px; }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea,
    .form-control { font-size: 16px !important; } /* stops iPhone zoom */

    /* two clean product columns on phones */
    #js-product-list .products > .ajax_block_product,
    #js-product-list .products > div[class*="col-"],
    .products.row > .ajax_block_product {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-bottom: 12px;
    }
    #js-product-list .products.row,
    .products.row { margin-left: -6px; margin-right: -6px; row-gap: 0; }
    .product-miniature .thumbnail-container { border-radius: 14px !important; }
    .thumbnail-container .box-label { top: 8px !important; left: 8px !important; }

    .block-category { padding: 14px !important; }
    .block-category h1 { font-size: 21px; }
    #js-product-list-top,
    .products-selection { padding: 8px 10px !important; }

    /* product page: sticky buy bar feel */
    #product .product-add-to-cart .add { flex: 1 1 auto; }
    #product .product-add-to-cart .add-to-cart { width: 100%; }

    .footer-container { margin-top: 24px; }
    .footer-container .footer-bottom { text-align: center; }
    #back-top a,
    .deo-back-top a { width: 42px !important; height: 42px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------ */
/* Dropdowns opened from the dark header: dark text on white           */
/* ------------------------------------------------------------------ */

#header .dropdown-menu:not(.user-info) a,
#header .dropdown-menu:not(.user-info) .dropdown-item,
#header .popup-over:not(.userinfo-selector) .popup-content a,
#header .popup-over:not(.userinfo-selector) .popup-content .dropdown-item {
    color: var(--z-ink-strong) !important;
}
#header .dropdown-menu:not(.user-info) a:hover,
#header .dropdown-menu:not(.user-info) .dropdown-item:hover,
#header .popup-over:not(.userinfo-selector) .popup-content a:hover {
    background: var(--z-orange-soft) !important;
    color: var(--z-orange-dark) !important;
}

/* "Seller Account" menu in the top bar */
#seller-account-menus .language-selector-wrapper { position: relative; }
#seller-account-menus .seller_menu_selector .expand-more,
#seller-account-menus .seller_menu_selector > a {
    color: #fff !important;
    cursor: pointer;
}
#seller-account-menus .seller_menu_selector .expand-more:not(i) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-weight: 600;
    font-size: 13px;
    transition: background .15s;
}
#seller-account-menus .seller_menu_selector .expand-more:not(i)::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--z-orange);
}
#seller-account-menus .seller_menu_selector:hover .expand-more:not(i) { background: rgba(255, 255, 255, .18); }
#seller-account-menus .seller_menu_selector .dropdown-menu {
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 8px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--z-shadow-lg) !important;
    right: 0;
    left: auto;
    z-index: 1050;
}
#seller-account-menus .seller_menu_selector .dropdown-menu li { list-style: none; }
#seller-account-menus .seller_menu_selector .dropdown-menu .dropdown-item {
    display: block;
    padding: 9px 12px !important;
    border-radius: 9px;
    background: transparent !important;
    color: var(--z-ink-strong) !important;
    font-size: 14px !important;
    font-weight: 500;
    white-space: nowrap;
    text-transform: none !important;
    text-decoration: none !important;
}
#seller-account-menus .seller_menu_selector .dropdown-menu .dropdown-item:hover {
    background: var(--z-orange-soft) !important;
    color: var(--z-orange-dark) !important;
}
/* phones: native select styled for the dark bar */
#seller-account-menus select.link {
    max-width: 180px;
    height: 34px;
    padding: 0 30px 0 12px !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 999px !important;
    background-color: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    font-size: 14px !important;
}
#seller-account-menus select.link option { color: var(--z-ink-strong); background: #fff; }
#seller-account-menus .hidden-md-up:not(select) { color: rgba(255, 255, 255, .8); font-size: 13px; margin-right: 6px; }

/* ------------------------------------------------------------------ */
/* Deo phone layout (.deo-header-mobile, menu panel, bottom bar)       */
/* ------------------------------------------------------------------ */

/* cart is always a link now */
.blockcart .header a.zrali-cart-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; cursor: pointer; }
.blockcart.inactive .header a.zrali-cart-link { pointer-events: auto; }

/* white phone header with a clear shadow */
.deo-header-mobile {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .08);
    position: relative;
    z-index: 20;
}
.deo-header-mobile .deo-search-advanced .popup-content,
.deo-header-mobile .deo-search-advanced .deo-search-advanced-top-box {
    box-shadow: 0 0 0 1px var(--z-line), 0 2px 8px rgba(16, 24, 40, .06) !important;
}

/* menu button: visible dark lines in a rounded square */
#header .deo-header-mobile .navbar-toggler,
.deo-header-mobile .navbar-toggler,
.deo-header-mobile .deo-megamenu-mobile-button,
.deo-header-mobile [class*="menu-toggle"] {
    width: 46px !important;
    height: 46px !important;
    padding: 11px !important;
    border: 1px solid var(--z-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
    opacity: 1 !important;
    visibility: visible !important;
}
#header .deo-header-mobile .navbar-toggler .icon-bar,
.deo-header-mobile .navbar-toggler .icon-bar {
    display: block !important;
    width: 22px !important;
    height: 2.5px !important;
    margin: 4px auto !important;
    border-radius: 2px;
    background: var(--z-ink-strong) !important;
    opacity: 1 !important;
    transform: none !important;
}
.deo-header-mobile .text-menu-toggler { display: none !important; }
.deo-header-mobile a,
.deo-header-mobile .popup-title,
.deo-header-mobile .header i { color: var(--z-ink-strong) !important; }

/* slide-in menu panel */
.deo-megamenu-mobile,
#deo-megamenu-tab-mobile { background: #fff !important; box-shadow: 8px 0 30px rgba(0, 0, 0, .25); }
.deo-megamenu-mobile-button-toogle,
.deo-megamenu-mobile .deo-megamenu-mobile-button-toogle {
    height: 56px !important;
    line-height: 36px !important;
    background: var(--z-char) !important;
    color: #fff !important;
    letter-spacing: .08em;
}
.deo-megamenu-mobile-button-toogle .deo-megamenu-mobile-close {
    height: 56px !important;
    width: 56px !important;
    line-height: 56px !important;
    background: var(--z-orange) !important;
    color: #fff !important;
}
.deo-megamenu-mobile .megamenu > .nav-item > .nav-link,
#deo-megamenu-tab-mobile .megamenu > .nav-item > .nav-link {
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f1f3;
    color: var(--z-ink-strong) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}
.deo-megamenu-mobile .megamenu > .nav-item > .nav-link::after { display: none !important; }
.deo-megamenu-mobile .megamenu .nav-link:hover { color: var(--z-orange) !important; }
/* the Sellers link inside the phone menu: compact orange pill, white text */
.deo-megamenu-mobile .custom-sellers,
#deo-megamenu-tab-mobile .custom-sellers {
    display: inline-block !important;
    width: auto !important;
    margin: 16px 18px !important;
    padding: 0 !important;
}
.custom-sellers > .nav-link,
.custom-sellers > a,
.custom-sellers .menu-title,
.custom-sellers .title { color: #fff !important; }
.deo-megamenu-mobile .custom-sellers > .nav-link {
    padding: 11px 22px !important;
    border-bottom: 0 !important;
}

/* bottom bar on phones */
.deo-nav-mobile {
    background: #fff !important;
    border-top: 1px solid var(--z-line) !important;
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .08) !important;
    padding-bottom: env(safe-area-inset-bottom);
}
.deo-nav-mobile .mobile,
.deo-nav-mobile .mobile a,
.deo-nav-mobile .mobile i,
.deo-nav-mobile .popup-over .popup-title,
.deo-nav-mobile .popup-over .popup-title .icon { color: var(--z-ink) !important; }
.deo-nav-mobile .mobile:active,
.deo-nav-mobile .mobile a:hover,
.deo-nav-mobile .mobile a:hover i { color: var(--z-orange) !important; }
.deo-nav-mobile #cart-block .cart-products-count,
.deo-nav-mobile .DeoCartClone .icon-cart-total,
.deo-nav-mobile .deo-count-feature .deo-total {
    background: var(--z-orange) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700;
}
.deo-nav-mobile .back-top-nav-mobile i,
.deo-nav-mobile .back-top-nav-mobile i:before { color: var(--z-orange) !important; }

/* footer accordions on phones: readable +/- and less empty space */
.footer-container .navbar-toggler,
.footer-container .collapse-icons,
.footer-container .navbar-toggler i,
.footer-container .collapse-icons i {
    color: #fff !important;
    opacity: 1 !important;
}
.footer-container .block-toggler .navbar-toggler,
.footer-container .accordion_mobile_screen .navbar-toggler {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .12) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    .footer-container .footer-top,
    .footer-container .footer-center { padding-top: 12px !important; margin-top: 0 !important; }
    .footer-container .box-top-footer { padding-top: 0 !important; }
    .footer-container .title_block { letter-spacing: .06em !important; font-size: 14px !important; }
    body.deo-active-nav-mobile .footer-container { padding-bottom: 70px; }
}

/* ------------------------------------------------------------------ */
/* Deo one-page checkout (/order)                                      */
/* ------------------------------------------------------------------ */

#deo-onepagecheckout-container { counter-reset: zstep; }
#deo-onepagecheckout-container > .row { row-gap: 20px; }
#deo-onepagecheckout-container .opc-checkout-element.primary-block,
#deo-onepagecheckout-container #deoonepagecheckout-cart-summary,
#deo-onepagecheckout-container #deoonepagecheckout-confirm {
    margin-bottom: 18px !important;
    padding: 22px !important;
    border: 1px solid var(--z-line) !important;
    border-radius: var(--z-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
}
#deo-onepagecheckout-container .block-inner { padding: 0 !important; border: 0 !important; background: transparent !important; }

/* numbered step titles */
#deo-onepagecheckout-container .primary-block .title-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f1f3 !important;
    background: transparent !important;
}
#deo-onepagecheckout-container .primary-block .title-heading::before {
    counter-increment: zstep;
    content: counter(zstep);
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--z-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}
#deo-onepagecheckout-container .title-heading,
#deo-onepagecheckout-container .title-heading .title {
    color: var(--z-ink-strong) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: -.01em;
}
#deo-onepagecheckout-container .sub-title-heading {
    margin: 4px 0 12px !important;
    color: var(--z-ink-strong) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
#deo-onepagecheckout-container .static-customer-info {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--z-bg);
}
#deo-onepagecheckout-container .static-customer-info .customer-name { font-weight: 700; color: var(--z-ink-strong); }
#deo-onepagecheckout-container .edit-customer-info { color: var(--z-orange) !important; font-weight: 600; }

/* fields: sentence-case labels, roomy inputs */
#deo-onepagecheckout-container .form-group-input { margin-bottom: 14px !important; }
#deo-onepagecheckout-container .form-control-label {
    display: block;
    margin: 0 0 6px !important;
    color: var(--z-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
#deo-onepagecheckout-container .mark-required .form-control-label::after { content: " *"; color: var(--z-orange); }
#deo-onepagecheckout-container .form-control,
#deo-onepagecheckout-container select.form-control {
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    color: var(--z-ink-strong) !important;
    font-size: 15px !important;
}
#deo-onepagecheckout-container textarea.form-control { height: auto !important; min-height: 96px; padding: 12px 14px !important; }
#deo-onepagecheckout-container .form-control:focus { border-color: var(--z-orange) !important; box-shadow: var(--z-focus) !important; }
#deo-onepagecheckout-container .has-error .form-control { border-color: var(--z-red) !important; }
#deo-onepagecheckout-container .has-error .help-block,
#deo-onepagecheckout-container .error-msg { color: var(--z-red) !important; font-weight: 600; font-size: 13px; }
#deo-onepagecheckout-container .form-control-comment,
#deo-onepagecheckout-container .form-control-comment .optional { color: #9a9aa0 !important; font-size: 12px !important; }
#deo-onepagecheckout-container .form-group-input.id_address,
#deo-onepagecheckout-container .form-group-input.id_customer { display: none !important; }

/* "Add a new address" and other outline links */
#deo-onepagecheckout-container .custom-link.btn,
#deo-onepagecheckout-container .btn-outline:not(#confirm_order) {
    min-height: 40px;
    padding: 8px 16px !important;
    border: 1px solid var(--z-orange) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--z-orange-dark) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
#deo-onepagecheckout-container .custom-link.btn:hover,
#deo-onepagecheckout-container .btn-outline:not(#confirm_order):hover { background: var(--z-orange-soft) !important; }

/* shipping & payment choices as selectable cards */
#deo-onepagecheckout-container .delivery-option,
#deo-onepagecheckout-container .payment-option {
    margin-bottom: 10px !important;
    padding: 14px !important;
    border: 1px solid var(--z-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    transition: border-color .15s, background .15s;
}
#deo-onepagecheckout-container .delivery-option:hover,
#deo-onepagecheckout-container .payment-option:hover { border-color: var(--z-orange) !important; }
#deo-onepagecheckout-container .delivery-option:has(input:checked),
#deo-onepagecheckout-container .payment-option:has(input:checked) {
    border-color: var(--z-orange) !important;
    background: var(--z-orange-soft) !important;
    box-shadow: 0 0 0 1px var(--z-orange) inset;
}
#deo-onepagecheckout-container .carrier-price { color: var(--z-orange-dark); font-weight: 700; }

/* order summary */
@media (min-width: 768px) {
    #deo-onepagecheckout-container .right-checkout > .opc-checkout-element:first-child,
    #deo-onepagecheckout-container #deoonepagecheckout-cart-summary { position: sticky; top: 16px; }
}
#deoonepagecheckout-cart-summary .shopping-cart-header { margin: 0 0 12px !important; padding: 0 0 12px !important; border-bottom: 1px solid #f1f1f3 !important; }
#deoonepagecheckout-cart-summary .cart-item,
#deoonepagecheckout-cart-summary .product-line-grid {
    margin: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f1f3 !important;
}
#deoonepagecheckout-cart-summary .product-image img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--z-line);
}
#deoonepagecheckout-cart-summary .product-line-grid-body { display: flex; gap: 12px; align-items: flex-start; }
#deoonepagecheckout-cart-summary .product-name a {
    color: var(--z-ink-strong) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: none !important;
    line-height: 1.3;
}
#deoonepagecheckout-cart-summary .product-line-price,
#deoonepagecheckout-cart-summary .current-price .price { color: var(--z-ink-strong) !important; font-weight: 700 !important; }
#deoonepagecheckout-cart-summary .qty-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    overflow: hidden;
}
#deoonepagecheckout-cart-summary .cart-line-product-quantity {
    width: 44px !important;
    height: 38px !important;
    border: 0 !important;
    text-align: center;
    font-weight: 700;
    box-shadow: none !important;
}
/* visible remove button */
#deoonepagecheckout-cart-summary .remove-from-cart,
.product-line-delete .remove-from-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--z-red) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
#deoonepagecheckout-cart-summary .remove-from-cart:hover,
.product-line-delete .remove-from-cart:hover { background: var(--z-red); color: #fff !important; }
.product-line-delete .zrali-remove-text { display: none; }
@media (max-width: 575px) { .product-line-delete .zrali-remove-text { display: inline; } }
#deoonepagecheckout-cart-summary .cart-summary-line,
#deoonepagecheckout-cart-summary .cart-summary-totals { padding: 6px 0 !important; font-size: 14px; }
#deoonepagecheckout-cart-summary .cart-total,
#deoonepagecheckout-cart-summary .cart-summary-totals .cart-total {
    margin-top: 8px;
    padding: 14px !important;
    border-radius: 12px;
    background: var(--z-bg) !important;
    font-size: 16px !important;
}
#deoonepagecheckout-cart-summary .cart-total .value,
#deoonepagecheckout-cart-summary .cart-total .label { color: var(--z-ink-strong) !important; font-weight: 800 !important; }
#deoonepagecheckout-cart-summary .cart-total .value { color: var(--z-orange) !important; font-size: 19px !important; }
#deoonepagecheckout-cart-summary .promo-code input { border-radius: 10px 0 0 10px !important; }

/* place-order button */
#deo-onepagecheckout-container #confirm_order {
    width: 100%;
    min-height: 56px;
    margin-top: 10px;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--z-orange) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    box-shadow: 0 8px 22px rgba(238, 101, 36, .35) !important;
}
#deo-onepagecheckout-container #confirm_order:hover { background: var(--z-orange-dark) !important; }
#deo-onepagecheckout-container #confirm_order .text-btn::before { content: "🔒 "; }
#deo-onepagecheckout-container .terms-and-conditions ul { padding: 0; list-style: none; }
#deo-onepagecheckout-container .terms-and-conditions li { display: flex; gap: 10px; align-items: flex-start; }
#deo-onepagecheckout-container .condition-label a { color: var(--z-orange-dark) !important; font-weight: 600; text-decoration: underline; }

/* trust badges */
#deoonepagecheckout-reassurance .blockreassurance_product {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
#deoonepagecheckout-reassurance .blockreassurance_product > div {
    flex: 1 1 140px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--z-line);
    border-radius: 12px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

@media (max-width: 767px) {
    #deo-onepagecheckout-container .opc-checkout-element.primary-block,
    #deo-onepagecheckout-container #deoonepagecheckout-cart-summary,
    #deo-onepagecheckout-container #deoonepagecheckout-confirm { padding: 16px !important; border-radius: 14px !important; }
    #deo-onepagecheckout-container .title-heading,
    #deo-onepagecheckout-container .title-heading .title { font-size: 16px !important; }
    /* keep the order button reachable on phones */
    #deo-onepagecheckout-container #deoonepagecheckout-confirm .ps-shown-by-js {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 0 -16px -16px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--z-line);
        backdrop-filter: blur(6px);
    }
    body.deo-active-nav-mobile #deo-onepagecheckout-container #deoonepagecheckout-confirm .ps-shown-by-js { bottom: 64px; }
    #deo-onepagecheckout-container .form-group-input[class*="col-sp-6"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
}
/* summary row: [image name price] then [qty ..... total  remove] */
#deoonepagecheckout-cart-summary .product-line-grid { display: flex !important; flex-direction: column; gap: 10px; margin: 0 !important; }
#deoonepagecheckout-cart-summary .product-line-grid::before,
#deoonepagecheckout-cart-summary .product-line-grid::after { display: none !important; }
#deoonepagecheckout-cart-summary .product-line-grid-left,
#deoonepagecheckout-cart-summary .product-line-grid-right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
}
#deoonepagecheckout-cart-summary .product-line-grid-right > .row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding-left: 76px;
}
#deoonepagecheckout-cart-summary .product-line-grid-right > .row::before,
#deoonepagecheckout-cart-summary .product-line-grid-right > .row::after { display: none !important; }
#deoonepagecheckout-cart-summary .product-line-grid-right > .row > div { float: none !important; width: auto !important; max-width: none !important; padding: 0 !important; flex: 0 0 auto; }
#deoonepagecheckout-cart-summary .product-line-grid-right > .row > .col-sp-10 { flex: 1 1 auto; }
#deoonepagecheckout-cart-summary .product-line-grid-right > .row > .col-sp-10 > .row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 12px 0 0 !important;
}
#deoonepagecheckout-cart-summary .product-line-grid-right > .row > .col-sp-10 > .row::before,
#deoonepagecheckout-cart-summary .product-line-grid-right > .row > .col-sp-10 > .row::after { display: none !important; }
#deoonepagecheckout-cart-summary .product-line-grid-right .qty,
#deoonepagecheckout-cart-summary .product-line-grid-right .price { float: none !important; width: auto !important; max-width: none !important; padding: 0 !important; }
#deoonepagecheckout-cart-summary .product-line-price { white-space: nowrap; font-size: 15px; }
#deoonepagecheckout-cart-summary .cart-summary { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
#deoonepagecheckout-cart-summary ul.cart-items { margin: 0; padding: 0; list-style: none; }
@media (max-width: 400px) { #deoonepagecheckout-cart-summary .product-line-grid-right > .row { padding-left: 0; } }
@media (max-width: 767px) {
    /* phones: show what you are buying first */
    #deo-onepagecheckout-container > .row { display: flex !important; flex-direction: column; }
    #deo-onepagecheckout-container > .row > .right-checkout { order: -1; }
    #deo-onepagecheckout-container > .row > div { float: none !important; width: 100% !important; max-width: 100% !important; }
}
