/* Shop component reset. Theme header and footer remain untouched. */
.dss-shop-shell,
.dss-shop-shell *,
.dss-shop-shell *::before,
.dss-shop-shell *::after {
    box-sizing: border-box;
}

.dss-shop-shell {
    --dss-primary: #171574;
    --dss-primary-dark: #0f0d58;
    --dss-text: #171725;
    --dss-muted: #747486;
    --dss-line: #e8e8ef;
    --dss-page-bg: #f8f8fb;
    --dss-white: #fff;
    --dss-danger: #e44747;
    --dss-success: #16845b;
    --dss-container: 1240px;
    min-width: 0;
    overflow-x: hidden;
    background: var(--dss-page-bg);
    color: var(--dss-text);
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.dss-no-scroll {
    overflow: hidden;
}

.dss-shop-shell img {
    max-width: 100%;
    height: auto;
}

.dss-shop-shell a {
    color: inherit;
    text-decoration: none;
}

.dss-shop-shell button,
.dss-shop-shell input,
.dss-shop-shell select,
.dss-shop-shell textarea {
    margin: 0;
    color: inherit;
    font: inherit;
}

.dss-shop-shell button,
.dss-shop-shell select {
    cursor: pointer;
}

.dss-shop-shell svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dss-shop-shell :focus {
    outline: none;
}

.dss-shop-shell :focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dss-primary) 24%, transparent);
}

.dss-container {
    width: min(var(--dss-container), calc(100% - 48px));
    margin-inline: auto;
}

.screen-reader-text,
.dss-skip-link {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dss-skip-link:focus {
    position: fixed !important;
    z-index: 999999;
    inset-block-start: 16px;
    inset-inline-start: 16px;
    width: auto !important;
    height: auto !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    background: #fff;
    color: #111;
}

/* Header */
.dss-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--dss-line);
}

.dss-header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.dss-brand a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.dss-brand span {
    color: var(--dss-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.5vw, 37px);
    line-height: 1;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.dss-logo-image {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 54px;
    object-fit: contain;
}

.dss-header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dss-icon-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #252537;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dss-icon-button:hover {
    background: #f2f2f7;
    color: var(--dss-primary);
}

.dss-cart-button > span {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    border: 2px solid #fff;
    border-radius: 99px;
    background: var(--dss-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.dss-header-bottom {
    border-top: 1px solid var(--dss-line);
}

.dss-header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
}

.dss-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dss-nav-list > li {
    position: relative;
}

.dss-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 11px;
    border-radius: 5px;
    color: #747489;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
}

.dss-nav-list > li > a > svg {
    width: 17px;
    height: 17px;
    color: #8b8aa2;
}

.dss-nav-list > li > a > svg:last-child:not(:first-child) {
    width: 13px;
    height: 13px;
    margin-inline-start: -3px;
}

.dss-nav-list > li:hover > a,
.dss-nav-list > li.current-menu-item > a,
.dss-nav-list > li.current-menu-ancestor > a {
    background: #f5f5fa;
    color: var(--dss-primary);
}

.dss-nav-list .sub-menu {
    position: absolute;
    z-index: 30;
    inset-block-start: calc(100% + 8px);
    inset-inline-start: 0;
    width: 255px;
    padding: 10px;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    background: #fff;
    border: 1px solid var(--dss-line);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(25, 25, 50, .12);
    list-style: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.dss-nav-list .menu-item-has-children:hover > .sub-menu,
.dss-nav-list .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dss-nav-list .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    border-radius: 5px;
    color: #4f4f62;
    font-size: 12px;
}

.dss-nav-list .sub-menu a:hover {
    background: #f6f6fa;
    color: var(--dss-primary);
}

.dss-nav-list .sub-menu small {
    color: #aaaab8;
}

.dss-account-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dss-account-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding-inline: 16px;
    color: var(--dss-primary);
    font-size: 12px;
    font-weight: 700;
}

.dss-account-links .dss-membership-link {
    min-width: 80px;
    background: var(--dss-primary);
    color: #fff;
}

.dss-account-links .dss-membership-link:hover {
    background: var(--dss-primary-dark);
}

.dss-mobile-menu-button,
.dss-mobile-drawer {
    display: none;
}

/* Hero */
.dss-hero {
    position: relative;
    isolation: isolate;
    min-height: 338px;
    overflow: hidden;
    background-color: #0c1320;
    background-image: var(--dss-hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.dss-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 7, 13, .32), rgba(4, 8, 14, .54) 47%, rgba(3, 7, 13, .28));
}

.dss-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 338px;
    padding-block: 48px;
    text-align: center;
}

.dss-hero h1 {
    margin: 0 0 9px;
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: clamp(28px, 3.25vw, 45px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.8px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
}

.dss-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 2;
}

.dss-hero-search {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 104px;
    width: min(570px, 100%);
    min-height: 50px;
    margin-block-start: 37px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .22);
}

.dss-hero-search input,
.dss-shop-shell .dss-hero-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 49px 0 18px;
    background: #fff;
    border: 0;
    color: #11131a !important;
    -webkit-text-fill-color: #11131a !important;
    caret-color: #11131a;
    opacity: 1;
    direction: rtl;
    font-size: 12px;
}

.dss-shop-shell .dss-hero-search input[type="search"]:focus,
.dss-shop-shell .dss-hero-search input[type="search"]:active {
    color: #11131a !important;
    -webkit-text-fill-color: #11131a !important;
}

.dss-shop-shell .dss-hero-search input[type="search"]:-webkit-autofill,
.dss-shop-shell .dss-hero-search input[type="search"]:-webkit-autofill:hover,
.dss-shop-shell .dss-hero-search input[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #11131a !important;
    caret-color: #11131a;
    box-shadow: 0 0 0 1000px #fff inset;
}

.dss-hero-search input::placeholder {
    color: #aaaab3;
}

.dss-hero-search .dss-search-icon {
    position: absolute;
    z-index: 2;
    inset-inline-start: 16px;
    inset-block-start: 50%;
    color: #555665;
    pointer-events: none;
    transform: translateY(-50%);
}

.dss-hero-search .dss-search-icon svg {
    width: 19px;
    height: 19px;
}

.dss-hero-search button {
    grid-column: 2;
    grid-row: 1;
    border: 0;
    background: var(--dss-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background-color .2s ease;
}

.dss-hero-search button:hover {
    background: var(--dss-primary-dark);
}

/* Shop layout */
.dss-main {
    min-height: 520px;
}

.dss-shop-layout {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-block: 70px 92px;
}

.dss-sidebar {
    grid-column: 1;
    background: #fff;
    border: 1px solid #e3e3eb;
}

.dss-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 67px;
    padding-inline: 20px;
    border-bottom: 1px solid var(--dss-line);
}

.dss-filter-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.dss-filter-close {
    display: none;
}

.dss-filter-form {
    padding: 0 16px 16px;
}

.dss-filter-group {
    border-bottom: 1px solid var(--dss-line);
}

.dss-filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-inline: 1px;
    color: #4a4a5a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.dss-filter-group summary::-webkit-details-marker {
    display: none;
}

.dss-filter-group summary > span {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
}

.dss-filter-group summary svg {
    width: 16px;
    height: 16px;
    color: var(--dss-primary);
}

.dss-filter-group summary > svg {
    width: 14px;
    height: 14px;
    color: #8f8f9f;
    transition: transform .2s ease;
}

.dss-filter-group:not([open]) summary > svg {
    transform: rotate(90deg);
}

.dss-filter-group-body {
    padding-block: 0 15px;
}

.dss-category-list {
    display: grid;
    gap: 7px;
    max-height: 240px;
    overflow: auto;
    scrollbar-width: thin;
}

.dss-category-list label {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding-inline: 2px;
    color: #656575;
    font-size: 11px;
    cursor: pointer;
}

.dss-category-list input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #d2d2dc;
    border-radius: 3px;
    background: #fff;
}

.dss-category-list input:checked {
    border-color: var(--dss-primary);
    background-color: var(--dss-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.dss-category-list small {
    color: #aaaab7;
    font-size: 10px;
}

.dss-price-range {
    width: 100%;
    padding: 4px 2px 7px;
}

.dss-price-range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #777786;
    font-size: 10px;
    line-height: 1.7;
}

.dss-price-range-values span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
}

.dss-price-range-values strong {
    color: #242433;
    font-size: 10px;
    font-weight: 800;
}

.dss-price-range-values .woocommerce-Price-currencySymbol {
    margin-inline-start: 2px;
}

.dss-price-range-slider {
    position: relative;
    height: 28px;
    direction: ltr;
}

.dss-price-range-track {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: #e2e2eb;
    transform: translateY(-50%);
    overflow: hidden;
}

.dss-price-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: inherit;
    background: var(--dss-primary);
}

.dss-price-range-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.dss-price-range-min {
    z-index: 3;
}

.dss-price-range-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.dss-price-range-input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 3px solid var(--dss-primary);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(27, 25, 116, .2);
    appearance: none;
    -webkit-appearance: none;
    cursor: grab;
    pointer-events: auto;
}

.dss-price-range-input::-moz-range-track {
    height: 4px;
    border: 0;
    background: transparent;
}

.dss-price-range-input::-moz-range-progress {
    height: 4px;
    background: transparent;
}

.dss-price-range-input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 3px solid var(--dss-primary);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(27, 25, 116, .2);
    cursor: grab;
    pointer-events: auto;
}

.dss-price-range-input:active::-webkit-slider-thumb,
.dss-price-range-input:active::-moz-range-thumb {
    cursor: grabbing;
}

.dss-price-range-input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(27, 25, 116, .13), 0 2px 8px rgba(27, 25, 116, .2);
}

.dss-price-range-input:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(27, 25, 116, .13), 0 2px 8px rgba(27, 25, 116, .2);
}

.dss-stock-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    cursor: pointer;
}

.dss-stock-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #4a4a5a;
    font-size: 11px;
    font-weight: 700;
}

.dss-stock-label svg {
    width: 17px;
    height: 17px;
    color: var(--dss-primary);
}

.dss-stock-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dss-switch-ui {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 18px;
    border-radius: 99px;
    background: #e4e4ea;
    transition: background-color .2s ease;
}

.dss-switch-ui::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .24);
    transition: transform .2s ease;
}

.dss-stock-switch input:checked + .dss-switch-ui {
    background: var(--dss-primary);
}

.dss-stock-switch input:checked + .dss-switch-ui::after {
    transform: translateX(-16px);
}

.dss-filter-submit {
    width: 100%;
    min-height: 46px;
    margin-block-start: 4px;
    border: 0;
    background: var(--dss-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background-color .2s ease, transform .2s ease;
}

.dss-filter-submit:hover {
    background: var(--dss-primary-dark);
    transform: translateY(-1px);
}

.dss-filter-form .dss-filter-submit,
.dss-filter-form .dss-filter-submit:hover,
.dss-filter-form .dss-filter-submit:focus,
.dss-filter-form .dss-filter-submit:active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.dss-filter-reset {
    display: block;
    padding: 9px 4px 0;
    color: #8f8f9c;
    text-align: center;
    font-size: 10px;
}

.dss-products-area {
    grid-column: 2;
    min-width: 0;
}

.dss-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 50px;
    margin-block-end: 25px;
}

.dss-products-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.dss-products-heading h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.dss-products-heading > div > span {
    display: block;
    margin-block-start: 2px;
    color: #9898a5;
    font-size: 10px;
}

.dss-mobile-filter-button {
    display: none;
}

.dss-sort-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dss-sort-form label {
    color: #585867;
    font-size: 12px;
    font-weight: 700;
}

.dss-sort-dropdown {
    position: relative;
    min-width: 210px;
}

.dss-sort-trigger {
    width: 100%;
    min-height: 48px;
    padding: 8px 12px 8px 14px;
    border: 1px solid #d9dbee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
    box-shadow: 0 14px 32px rgba(21, 23, 116, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dss-sort-trigger:hover,
.dss-sort-dropdown.is-open .dss-sort-trigger {
    border-color: rgba(23, 21, 116, 0.24);
    box-shadow: 0 18px 38px rgba(21, 23, 116, 0.14);
}

.dss-sort-trigger:focus-visible {
    outline: none;
    border-color: var(--dss-primary);
    box-shadow: 0 0 0 3px rgba(23, 21, 116, 0.12), 0 18px 38px rgba(21, 23, 116, 0.14);
}

.dss-sort-trigger-label {
    color: #313145;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.dss-sort-trigger-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f1f3ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, transform .2s ease;
}

.dss-sort-trigger-icon::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23171574' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.dss-sort-dropdown.is-open .dss-sort-trigger-icon {
    background: #e7eaff;
    transform: rotate(180deg);
}

.dss-sort-menu {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(100% + 12px);
    z-index: 25;
    padding: 10px;
    border: 1px solid #e0e3f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.dss-sort-dropdown.is-open .dss-sort-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dss-sort-option {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #46465b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dss-sort-option + .dss-sort-option {
    margin-block-start: 4px;
}

.dss-sort-option::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d3d7eb;
    transition: background-color .2s ease, transform .2s ease;
}

.dss-sort-option:hover {
    background: #f5f6ff;
    color: var(--dss-primary);
}

.dss-sort-option.is-active {
    background: linear-gradient(90deg, #171574 0%, #2938a7 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(23, 21, 116, 0.22);
}

.dss-sort-option.is-active::before {
    background: #fff;
    transform: scale(1.1);
}

.dss-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 23px;
}

.dss-product-card {
    min-width: 0;
}

.dss-product-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #fff;
}

.dss-product-image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    padding: 10px;
    transform: scale(1);
    transition: transform .35s ease;
}

.dss-product-card:hover .dss-product-image {
    transform: scale(1.035);
}

.dss-stock-badge {
    position: absolute;
    z-index: 2;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 25px;
    padding-inline: 8px;
    background: #858594;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.dss-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 36px;
    min-height: 23px;
    padding-inline: 6px;
    background: #ef5151;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.dss-product-content {
    padding-block-start: 13px;
}


.dss-product-content h3 {
    min-height: 51px;
    margin: 0 0 7px;
    color: #242431;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.95;
}

.dss-product-content h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    unicode-bidi: plaintext;
}

.dss-product-content h3 a:hover {
    color: var(--dss-primary);
}

.dss-product-meta {
    display: flex;
    direction: ltr;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
}

.dss-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: #171725;
    direction: rtl;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.dss-product-price > * {
    display: block;
}

.dss-product-price .woocommerce-Price-amount,
.dss-product-price bdi {
    white-space: nowrap;
}

.dss-product-price bdi {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
}

.dss-product-price .woocommerce-Price-currencySymbol {
    display: inline-block;
    order: -1;
    direction: rtl;
}

.dss-product-price del {
    order: 1;
    width: 100%;
    margin: 0;
    color: #aaaab4;
    font-size: 11px;
    font-weight: 700;
    opacity: 1;
}

.dss-product-price ins {
    order: 2;
    display: block;
    width: 100%;
    background: none;
    text-decoration: none;
}

.dss-product-price .woocommerce-price-suffix {
    color: #aaaab4;
    font-size: 9px;
    font-weight: 500;
}


.dss-pagination {
    display: grid;
    grid-template-columns: minmax(118px, 1fr) auto minmax(118px, 1fr);
    align-items: center;
    gap: 4px;
    margin-block-start: 66px;
}

.dss-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding-inline: 8px;
    color: #39394b;
    font-size: 11px;
}

.dss-pagination .page-numbers.current {
    background: var(--dss-primary);
    color: #fff;
}

.dss-pagination .prev,
.dss-pagination .next {
    min-width: 120px;
    height: 41px;
    background: var(--dss-primary);
    color: #fff;
    font-weight: 700;
}

.dss-pagination-prev {
    grid-column: 1;
    justify-self: start;
}

.dss-pagination-numbers {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.dss-pagination-next {
    grid-column: 3;
    justify-self: end;
}

.dss-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    padding: 50px 20px;
    background: #fff;
    border: 1px solid var(--dss-line);
    text-align: center;
}

.dss-empty-state > svg {
    width: 44px;
    height: 44px;
    margin-block-end: 17px;
    color: #9b9baa;
}

.dss-empty-state h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.dss-empty-state p {
    margin: 0 0 18px;
    color: var(--dss-muted);
}

.dss-empty-state a {
    padding: 10px 20px;
    background: var(--dss-primary);
    color: #fff !important;
}

.dss-filter-backdrop {
    display: none;
}

/* Footer */
.dss-footer {
    background: #fff;
    border-top: 1px solid var(--dss-line);
}

.dss-footer-main {
    display: grid;
    grid-template-columns: 1.45fr .7fr .7fr 1.25fr;
    gap: 56px;
    padding-block: 72px 68px;
}

.dss-footer h2 {
    margin: 0 0 17px;
    color: #33333f;
    font-size: 12px;
    font-weight: 800;
}

.dss-footer ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dss-footer li a {
    color: #444451;
    font-size: 11px;
}

.dss-footer li a:hover {
    color: var(--dss-primary);
}

.dss-footer-brand strong {
    display: block;
    margin-block-end: 19px;
    color: var(--dss-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;
}

.dss-footer-brand p {
    max-width: 390px;
    margin: 0;
    color: #72727f;
    font-size: 10px;
    line-height: 2.05;
}

.dss-footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-block-start: 14px;
    color: var(--dss-primary);
    direction: ltr;
    font-size: 11px;
    font-weight: 700;
}

.dss-footer-phone svg {
    width: 15px;
    height: 15px;
}

.dss-newsletter p {
    margin: 0 0 12px;
    color: #868692;
    font-size: 10px;
}

.dss-newsletter form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 76px;
    min-height: 43px;
    margin-block-start: 10px;
}

.dss-newsletter form > span {
    position: absolute;
    z-index: 1;
    inset-inline-start: 13px;
    inset-block-start: 50%;
    color: #7c7c8b;
    pointer-events: none;
    transform: translateY(-50%);
}

.dss-newsletter form > span svg {
    width: 16px;
    height: 16px;
}

.dss-newsletter input {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 39px 0 10px;
    border: 0;
    background: #f7f7fa;
    direction: rtl;
    font-size: 11px;
}

.dss-newsletter button {
    border: 0;
    background: var(--dss-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.dss-subscribe-message {
    margin-block: 8px;
    color: #666674;
    font-size: 10px;
}

.dss-subscribe-message.is-success {
    color: var(--dss-success);
}

.dss-subscribe-message.is-error {
    color: var(--dss-danger);
}

.dss-footer-bottom {
    border-top: 1px solid var(--dss-line);
}

.dss-footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    min-height: 85px;
}

.dss-footer-bottom p {
    justify-self: end;
    margin: 0;
    color: #858590;
    font-size: 10px;
}

.dss-trust-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 1px;
}

.dss-trust-logos img {
    display: block;
    width: auto;
    max-width: 58px;
    max-height: 44px;
    object-fit: contain;
}

.dss-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dss-social-links a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f2f5;
    color: #242432;
    transition: background-color .2s ease, color .2s ease;
}

.dss-social-links a:hover {
    background: var(--dss-primary);
    color: #fff;
}

.dss-social-links svg {
    width: 15px;
    height: 15px;
}

.dss-wc-missing {
    padding: 20px;
    border: 1px solid #f0b5b5;
    background: #fff5f5;
    color: #9e2929;
}

/* Tablet */

.dss-single-wrap {
    padding-block: 34px 72px;
}

.dss-single-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: start;
}

.dss-single-gallery-card,
.dss-single-summary-card,
.dss-single-section-card {
    background: #fff;
    border: 1px solid #ececf4;
    border-radius: 6px;
}

.dss-single-gallery-card {
    padding: 20px;
}

.dss-single-main-media {
    display: grid;
    place-items: center;
    min-height: 520px;
    background: #fff;
}

.dss-single-main-image {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

.dss-single-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.dss-single-thumb {
    display: grid;
    place-items: center;
    min-height: 88px;
    padding: 8px;
    border: 1px solid #e8e9f2;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dss-single-thumb:hover,
.dss-single-thumb.is-active {
    border-color: rgba(23, 21, 116, 0.25);
    box-shadow: 0 12px 30px rgba(23, 21, 116, 0.08);
}

.dss-single-thumb img {
    width: 100%;
    height: 70px !important;
    object-fit: contain;
}

.dss-single-summary-card {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.dss-single-breadcrumb {
    margin-bottom: 18px;
    color: #9797a8;
    font-size: 12px;
    line-height: 1.9;
}

.dss-single-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
}

.dss-single-breadcrumb a,
.dss-single-breadcrumb span {
    color: inherit;
}

.dss-single-breadcrumb-separator {
    display: inline-block;
    margin-inline: 8px;
    color: #b8b8c6;
}

.dss-single-title {
    margin: 0 0 18px;
    color: #1c1c29;
    font-size: 28px;
    line-height: 1.7;
    font-weight: 800;
}

.dss-single-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    margin-bottom: 18px;
}

.dss-single-price {
    font-size: 20px;
}

.dss-single-price del {
    font-size: 13px;
}

.dss-single-stock {
    display: block;
}

.dss-single-stock p {
    margin: 0;
    color: #0f7b39;
    font-size: 13px;
    font-weight: 700;
}

.dss-single-stock .out-of-stock {
    color: #d44949;
}

.dss-single-short-description {
    color: rgba(120, 120, 120, 1);
    font-size: 13px;
    line-height: 2.25;
    margin-bottom: 24px;
    font-weight: 700;
}

.dss-single-short-description p {
    margin: 0;
}

.dss-single-purchase form.cart {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    margin: 0;
}

.dss-single-purchase .variations {
    order: 1;
}

.dss-single-purchase .single_variation_wrap,
.dss-single-purchase .woocommerce-variation-add-to-cart,
.dss-single-purchase .cart:not(.variations_form) {
    order: 2;
}

.dss-single-purchase .quantity {
    margin: 0 !important;
}

.dss-single-purchase .qty {
    width: 96px;
    min-height: 54px;
    border: 1px solid #e0e3f2;
    border-radius: 2px;
    background: #fff;
    color: #1a1a2a;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.dss-single-purchase .single_add_to_cart_button,
.dss-single-purchase button.single_add_to_cart_button,
.dss-single-purchase .woocommerce-variation-add-to-cart button {
    min-width: 220px;
    min-height: 54px;
    border: 0;
    border-radius: 2px;
    background: var(--dss-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
}

.dss-single-purchase .single_add_to_cart_button:hover,
.dss-single-purchase button.single_add_to_cart_button:hover,
.dss-single-purchase .woocommerce-variation-add-to-cart button:hover {
    background: var(--dss-primary-dark);
}

.dss-single-purchase table.variations {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.dss-single-purchase table.variations tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dss-single-purchase table.variations tr {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dss-single-purchase table.variations td,
.dss-single-purchase table.variations th {
    display: block;
    padding: 0;
    vertical-align: middle;
}

.dss-single-purchase table.variations th.label {
    margin: 0;
}

.dss-single-purchase table.variations label {
    color: #2b2b3e;
    font-size: 13px;
    font-weight: 700;
}

.dss-single-purchase table.variations select {
    width: 100%;
    min-height: 52px;
    padding-inline: 14px 38px;
    border: 1px solid #e0e3f2;
    border-radius: 2px;
    background-color: #fff;
    color: #2e2e41;
    font-size: 14px;
}

.dss-single-purchase .reset_variations {
    display: inline-block;
    margin-top: 10px;
    color: var(--dss-primary);
    font-size: 11px;
    font-weight: 700;
}

.dss-single-purchase .single_variation_wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dss-single-purchase .woocommerce-variation-price,
.dss-single-purchase .woocommerce-variation-availability {
    margin: 0;
}

.dss-single-purchase .woocommerce-variation-price .price {
    margin: 0;
}

.dss-single-purchase .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.dss-single-purchase .woocommerce-variation-add-to-cart .quantity {
    order: 1;
}

.dss-single-purchase .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    order: 2;
}

.dss-single-purchase > .cart:not(.variations_form) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.dss-single-summary-card .dss-single-purchase {
    display: block !important;
    width: 100%;
    margin-top: 0 !important;
    clear: both;
}

.dss-single-summary-card .dss-single-purchase form.cart,
.dss-single-summary-card .dss-single-purchase .variations_form {
    float: none !important;
    clear: both;
    width: 100%;
}

.dss-single-summary-card .dss-single-purchase table.variations {
    float: none !important;
    clear: both;
    position: static !important;
    margin: 0 0 18px !important;
}

.dss-single-summary-card .dss-single-purchase .single_variation_wrap,
.dss-single-summary-card .dss-single-purchase .woocommerce-variation-add-to-cart,
.dss-single-summary-card .dss-single-purchase > .cart:not(.variations_form) {
    width: 100%;
}

.dss-single-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.dss-single-section-card {
    padding: 24px 24px 22px;
}

.dss-single-section-card h2,
.dss-single-related-head h2 {
    margin: 0 0 18px;
    color: #1e1e2d;
    font-size: 20px;
    font-weight: 800;
}

.dss-single-section-content {
    color: #545468;
    font-size: 13px;
    line-height: 2.15;
}

.dss-single-section-content p:first-child {
    margin-top: 0;
}

.dss-single-section-content table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
}

.dss-single-section-content table.shop_attributes th,
.dss-single-section-content table.shop_attributes td {
    padding: 14px 0;
    border-bottom: 1px solid #efeff6;
    text-align: right;
    vertical-align: middle;
    font-size: 12px;
}

.dss-single-section-content table.shop_attributes th {
    width: 120px;
    color: #242438;
    font-weight: 800;
    white-space: nowrap;
}

.dss-single-section-content table.shop_attributes td {
    color: #67677a;
}

.dss-single-section-content table.shop_attributes td p,
.dss-single-section-content table.shop_attributes th p {
    margin: 0 !important;
}

.dss-single-section-content table.shop_attributes td a {
    display: inline-block;
    margin: 0;
}

.dss-single-related {
    margin-top: 34px;
}

.dss-single-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dss-single-related-head span {
    color: #9595a5;
    font-size: 12px;
    font-weight: 600;
}

.dss-single-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.dss-single-related .dss-product-card {
    background: #fff;
}


@media (max-width: 1100px) {
    .dss-container {
        width: min(100% - 36px, var(--dss-container));
    }

    .dss-shop-layout {
        grid-template-columns: 235px minmax(0, 1fr);
        gap: 24px;
    }

    .dss-products-grid {
        gap: 28px 17px;
    }

    .dss-footer-main {
        grid-template-columns: 1.25fr .7fr .7fr 1.15fr;
        gap: 34px;
    }
}

/* Mobile navigation and filters */
@media (max-width: 991px) {
    .dss-shop-shell {
        font-size: 13px;
    }

    .dss-container {
        width: min(100% - 30px, var(--dss-container));
    }

    .dss-header-top {
        min-height: 68px;
    }

    .dss-brand {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .dss-brand span {
        font-size: 25px;
    }

    .dss-logo-image {
        max-width: 165px;
        max-height: 44px;
    }

    .dss-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .dss-header-actions .dss-mobile-menu-button {
        display: inline-grid;
        margin-inline-end: auto;
    }

    .dss-header-bottom {
        display: none;
    }

    .dss-mobile-drawer {
        position: fixed;
        z-index: 1000;
        inset: 0;
        display: block;
        visibility: hidden;
        pointer-events: none;
    }

    .dss-mobile-drawer.is-open {
        visibility: visible;
        pointer-events: auto;
    }

    .dss-mobile-drawer-panel {
        position: absolute;
        z-index: 2;
        inset-block: 0;
        inset-inline-start: 0;
        width: min(88vw, 370px);
        overflow-y: auto;
        background: #fff;
        box-shadow: -22px 0 65px rgba(0, 0, 0, .18);
        transform: translateX(105%);
        transition: transform .28s ease;
    }

    .dss-mobile-drawer.is-open .dss-mobile-drawer-panel {
        transform: translateX(0);
    }

    .dss-mobile-drawer-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(8, 8, 18, .48);
        opacity: 0;
        transition: opacity .28s ease;
    }

    .dss-mobile-drawer.is-open .dss-mobile-drawer-backdrop {
        opacity: 1;
    }

    .dss-mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding-inline: 19px;
        border-bottom: 1px solid var(--dss-line);
    }

    .dss-mobile-drawer-head strong {
        color: var(--dss-primary);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 22px;
    }

    .dss-mobile-nav {
        padding: 14px;
    }

    .dss-mobile-nav .dss-nav-list,
    .dss-mobile-nav .menu {
        display: grid;
        gap: 3px;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .dss-mobile-nav .dss-nav-list > li > a,
    .dss-mobile-nav .menu > li > a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 49px;
        padding: 8px 11px;
        color: #3f3f50;
        border-radius: 5px;
        font-weight: 700;
    }

    .dss-mobile-nav .dss-nav-list > li > a > svg:last-child {
        margin-inline-start: auto;
    }

    .dss-mobile-nav .sub-menu {
        position: static;
        display: none;
        width: auto;
        padding: 4px 16px 10px 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        border: 0;
        box-shadow: none;
    }

    .dss-mobile-nav .menu-item-has-children.is-expanded > .sub-menu {
        display: grid;
    }

    .dss-mobile-nav .sub-menu a {
        min-height: 42px;
        border-bottom: 1px solid #f0f0f4;
    }

    .dss-mobile-account {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin: 12px 18px 22px;
        background: var(--dss-primary);
        color: #fff;
        font-weight: 800;
    }

    .dss-hero,
    .dss-hero-content {
        min-height: 310px;
    }

    .dss-hero-content {
        padding-block: 43px;
    }

    .dss-hero p {
        max-width: 640px;
    }

    .dss-shop-layout {
        display: block;
        padding-block: 48px 70px;
    }

    .dss-sidebar {
        position: fixed;
        z-index: 1002;
        inset-block: 0;
        inset-inline-start: 0;
        width: min(88vw, 350px);
        height: 100dvh;
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(105%);
        transition: transform .28s ease, visibility .28s ease;
    }

    .dss-sidebar.is-open {
        visibility: visible;
        transform: translateX(0);
    }

    .dss-filter-close {
        display: inline-grid;
    }

    .dss-filter-backdrop {
        position: fixed;
        z-index: 1001;
        inset: 0;
        display: block;
        visibility: hidden;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(8, 8, 18, .5);
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .dss-filter-backdrop.is-open {
        visibility: visible;
        opacity: 1;
    }

    .dss-mobile-filter-button {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 42px;
        padding-inline: 13px;
        border: 1px solid var(--dss-line);
        background: #fff;
        color: var(--dss-primary);
        font-size: 11px;
        font-weight: 800;
    }

    .dss-mobile-filter-button svg {
        width: 17px;
        height: 17px;
    }

    .dss-products-heading > div {
        display: none;
    }

    .dss-footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .dss-newsletter {
        grid-column: 1 / -1;
    }
}


@media (max-width: 1100px) {
    .dss-single-main {
        grid-template-columns: 1fr;
    }

    .dss-single-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .dss-single-wrap {
        padding-block: 26px 54px;
    }

    .dss-single-gallery-card,
    .dss-single-summary-card,
    .dss-single-section-card {
        padding: 18px;
    }

    .dss-single-main-media {
        min-height: 360px;
    }

    .dss-single-title {
        font-size: 22px;
    }

    .dss-single-purchase table.variations tbody,
    .dss-single-related-grid {
        grid-template-columns: 1fr;
    }

    .dss-single-purchase .woocommerce-variation-add-to-cart,
    .dss-single-purchase > .cart:not(.variations_form) {
        align-items: stretch;
    }

    .dss-single-purchase .qty,
    .dss-single-purchase .single_add_to_cart_button,
    .dss-single-purchase button.single_add_to_cart_button {
        width: 100%;
    }
}


@media (max-width: 720px) {
    .dss-shop-shell input,
    .dss-shop-shell select,
    .dss-shop-shell textarea {
        font-size: 16px;
    }

    .dss-container {
        width: min(100% - 24px, var(--dss-container));
    }

    .dss-header-top {
        min-height: 62px;
    }

    .dss-brand span {
        font-size: 21px;
        letter-spacing: -.8px;
    }

    .dss-logo-image {
        max-width: 135px;
        max-height: 38px;
    }

    .dss-header-actions {
        gap: 0;
    }

    .dss-header-actions .dss-icon-button {
        width: 38px;
        height: 38px;
    }

    .dss-hero,
    .dss-hero-content {
        min-height: 300px;
    }

    .dss-hero {
        background-position: center;
    }

    .dss-hero-content {
        padding-block: 40px;
    }

    .dss-hero h1 {
        margin-block-end: 8px;
        font-size: clamp(25px, 8vw, 34px);
    }

    .dss-hero p {
        max-width: 92%;
        font-size: 11px;
        line-height: 1.9;
    }

    .dss-hero-search {
        grid-template-columns: 1fr 82px;
        min-height: 48px;
        margin-block-start: 27px;
    }

    .dss-hero-search input {
        height: 48px;
        padding-inline: 42px 10px;
        font-size: 16px;
    }

    .dss-hero-search button {
        font-size: 11px;
    }

    .dss-shop-layout {
        padding-block: 38px 58px;
    }

    .dss-products-toolbar {
        align-items: stretch;
        margin-block-end: 20px;
    }

    .dss-sort-form {
        flex: 1;
    }

    .dss-sort-form label {
        display: none;
    }

    .dss-sort-dropdown {
        width: 100%;
        min-width: 0;
    }

    .dss-sort-trigger {
        min-height: 46px;
    }

    .dss-sort-trigger-label,
    .dss-sort-option {
        font-size: 14px;
    }

    .dss-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 12px;
    }

    .dss-product-media {
        aspect-ratio: 1 / 1.13;
    }

    .dss-product-image {
        padding: 6px;
    }

    .dss-product-content {
        padding-block-start: 9px;
    }

    .dss-product-content h3 {
        min-height: 45px;
        margin-block-end: 5px;
        font-size: 10.5px;
        line-height: 1.9;
    }

    .dss-product-meta {
        align-items: flex-start;
        justify-content: space-between;
        min-height: 29px;
    }

    .dss-product-price {
        gap: 2px;
        font-size: 10.5px;
        line-height: 1.7;
    }

    .dss-stock-badge {
        inset-block-start: 7px;
        inset-inline-end: 7px;
        min-width: 51px;
        min-height: 22px;
        font-size: 9px;
    }

    .dss-sale-badge {
        min-width: 32px;
        min-height: 21px;
        font-size: 8px;
    }

    .dss-pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-block-start: 43px;
    }

    .dss-pagination-numbers {
        order: 1;
        flex-basis: 100%;
    }

    .dss-pagination-prev,
    .dss-pagination-next {
        order: 2;
        margin-block-start: 8px;
    }

    .dss-pagination .prev,
    .dss-pagination .next {
        min-width: 110px;
    }

    .dss-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 24px;
        padding-block: 52px 44px;
    }

    .dss-footer-brand,
    .dss-newsletter {
        grid-column: 1 / -1;
    }

    .dss-footer-brand strong {
        font-size: 28px;
    }

    .dss-footer-brand p {
        max-width: 100%;
    }

    .dss-footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-block: 24px;
        text-align: center;
    }

    .dss-trust-logos,
    .dss-footer-bottom p {
        justify-self: center;
    }

    .dss-social-links {
        grid-row: 1;
    }
}


@media (max-width: 720px) {
    .dss-single-summary-card {
        padding: 20px;
    }

    .dss-single-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .dss-single-price {
        font-size: 18px;
    }

    .dss-single-purchase table.variations tbody {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


@media (max-width: 390px) {
    .dss-brand span {
        font-size: 18px;
    }

    .dss-products-toolbar {
        gap: 8px;
    }

    .dss-mobile-filter-button {
        padding-inline: 10px;
    }

    .dss-products-grid {
        gap-inline: 9px;
    }

    .dss-product-content h3 {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dss-shop-shell,
    .dss-shop-shell *,
    .dss-shop-shell *::before,
    .dss-shop-shell *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Keep only the empty-state action label white against the primary background. */
.dss-shop-page .dss-empty-state > a,
.dss-shop-page .dss-empty-state > a:link,
.dss-shop-page .dss-empty-state > a:visited,
.dss-shop-page .dss-empty-state > a:hover,
.dss-shop-page .dss-empty-state > a:focus,
.dss-shop-page .dss-empty-state > a:active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}


body.dss-single-product-page .woocommerce-tabs,
body.dss-single-product-page .wc-tabs-wrapper,
body.dss-single-product-page .wc-tabs,
body.dss-single-product-page .woocommerce-product-attributes,
body.dss-single-product-page table.shop_attributes,
body.dss-single-product-page .shop_attributes,
body.dss-single-product-page .woocommerce-Tabs-panel--additional_information,
body.dss-single-product-page .woocommerce-Tabs-panel--description {
    display: none !important;
}

body.dss-single-product-page .dss-single-summary-card .dss-single-purchase,
body.dss-single-product-page .dss-single-summary-card .dss-single-purchase * {
    visibility: visible;
}


/* Custom variable product form */
body.dss-single-product-page .dss-variations-form,
body.dss-single-product-page .dss-simple-cart-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 18px;
    margin: 0 !important;
    visibility: visible !important;
}

body.dss-single-product-page .dss-variation-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

body.dss-single-product-page .dss-variation-field {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

body.dss-single-product-page .dss-variation-field > label {
    display: block;
    margin: 0;
    color: #23233a;
    font-size: 14px;
    font-weight: 800;
}

body.dss-single-product-page .dss-variation-select-wrap {
    position: relative;
}

body.dss-single-product-page .dss-variation-select-wrap::after {
    content: '';
    position: absolute;
    inset-inline-end: 18px;
    inset-block-start: 50%;
    width: 10px;
    height: 10px;
    border-inline-end: 2px solid #6d7295;
    border-block-end: 2px solid #6d7295;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

body.dss-single-product-page select.dss-variation-select,
body.dss-single-product-page .dss-variation-select-wrap select {
    display: block !important;
    width: 100% !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 0 18px 0 46px !important;
    border: 1px solid #d7ddef !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    color: #1f2437 !important;
    -webkit-text-fill-color: #1f2437 !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.5;
    text-align: right !important;
    text-align-last: right !important;
    direction: rtl;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.dss-single-product-page select.dss-variation-select:hover,
body.dss-single-product-page .dss-variation-select-wrap select:hover {
    border-color: #b8c2e3 !important;
}

body.dss-single-product-page select.dss-variation-select:focus,
body.dss-single-product-page .dss-variation-select-wrap select:focus {
    outline: none;
    border-color: var(--dss-primary) !important;
    box-shadow: 0 0 0 3px rgba(23, 21, 116, .08) !important;
}

body.dss-single-product-page .dss-reset-variations {
    display: none;
    align-self: flex-start;
    margin: -6px 0 0 !important;
    color: var(--dss-primary) !important;
    font-size: 11px;
    font-weight: 700;
}

body.dss-single-product-page .dss-reset-variations[style*="visibility: visible"],
body.dss-single-product-page .dss-reset-variations:not([style]) {
    display: inline-flex;
}

body.dss-single-product-page .dss-variations-form .single_variation_wrap {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

body.dss-single-product-page .dss-variations-form .single_variation {
    min-height: 0;
}

body.dss-single-product-page .dss-variations-form .single_variation:empty {
    display: none;
}

body.dss-single-product-page .dss-variation-actions,
body.dss-single-product-page .dss-simple-cart-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    flex-wrap: wrap;
}

body.dss-single-product-page .dss-variation-actions .quantity,
body.dss-single-product-page .dss-simple-cart-form .quantity {
    display: block !important;
    margin: 0 !important;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 54px;
    margin: 0 !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button.disabled {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-variation-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.dss-single-product-page .dss-variation-actions,
    body.dss-single-product-page .dss-simple-cart-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.dss-single-product-page .dss-variation-actions .qty,
    body.dss-single-product-page .dss-simple-cart-form .qty,
    body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
    body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button {
        width: 100% !important;
    }
}


/* Visible product attributes below the short description. */
body.dss-single-product-page .dss-single-visible-attributes {
    width: 100%;
    margin: 0 0 22px;
}

body.dss-single-product-page .dss-product-attribute-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

body.dss-single-product-page .dss-product-attribute-card {
    min-width: 0;
}

body.dss-single-product-page .dss-product-attribute-label {
    display: block;
    margin-bottom: 10px;
    color: #23233a;
    font-size: 14px;
    font-weight: 800;
}

body.dss-single-product-page .dss-product-attribute-select-wrap {
    position: relative;
}

body.dss-single-product-page .dss-product-attribute-select-wrap::after {
    content: '';
    position: absolute;
    inset-inline-end: 18px;
    inset-block-start: 50%;
    width: 10px;
    height: 10px;
    border-inline-end: 2px solid #6d7295;
    border-block-end: 2px solid #6d7295;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

body.dss-single-product-page .dss-product-attribute-select {
    width: 100%;
    min-height: 56px;
    padding: 0 18px 0 46px;
    border: 1px solid #d7ddef;
    border-radius: 12px;
    background: #fff;
    background-image: none !important;
    color: #1f2437;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right !important;
    text-align-last: right !important;
    direction: rtl;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.dss-single-product-page .dss-product-attribute-select:hover {
    border-color: #b8c2e3;
}

body.dss-single-product-page .dss-product-attribute-select:focus {
    outline: none;
    border-color: var(--dss-primary);
    box-shadow: 0 0 0 3px rgba(23, 21, 116, .08);
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-product-attribute-grid,
    body.dss-single-product-page .dss-variation-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.dss-single-product-page select.dss-variation-select,
    body.dss-single-product-page .dss-variation-select-wrap select,
    body.dss-single-product-page .dss-product-attribute-select {
        min-height: 54px;
        font-size: 16px !important;
    }
}


body.dss-single-product-page select.dss-variation-select option,
body.dss-single-product-page .dss-variation-select-wrap select option,
body.dss-single-product-page .dss-product-attribute-select option {
    direction: rtl;
    text-align: right;
}


/* Keep custom select arrows on the left, away from RTL text. */
body.dss-single-product-page .dss-variation-select-wrap::after,
body.dss-single-product-page .dss-product-attribute-select-wrap::after {
    right: auto !important;
    left: 18px !important;
    inset-inline-start: auto !important;
    inset-inline-end: 18px !important;
}

body.dss-single-product-page select.dss-variation-select,
body.dss-single-product-page .dss-variation-select-wrap select,
body.dss-single-product-page .dss-product-attribute-select {
    padding-right: 18px !important;
    padding-left: 50px !important;
    background-image: none !important;
}


body.dss-single-product-page .dss-variation-select-wrap.is-enhanced::after,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-enhanced::after {
    display: none;
}

body.dss-single-product-page .dss-variation-select-wrap.is-enhanced > select,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-enhanced > select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inset: 0;
}

body.dss-single-product-page .dss-custom-select {
    position: relative;
}

body.dss-single-product-page .dss-custom-select-trigger {
    position: relative;
    width: 100%;
    min-height: 56px;
    border: 1px solid #d7ddef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    padding: 0 18px 0 54px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    color: #1f2437;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.dss-single-product-page .dss-custom-select-trigger:hover {
    border-color: #b8c2e3;
}

body.dss-single-product-page .dss-variation-select-wrap.is-open .dss-custom-select-trigger,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-open .dss-custom-select-trigger,
body.dss-single-product-page .dss-custom-select-trigger:focus-visible {
    outline: none;
    border-color: var(--dss-primary);
    box-shadow: 0 0 0 3px rgba(23, 21, 116, .08);
}

body.dss-single-product-page .dss-custom-select-trigger-text {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dss-single-product-page .dss-custom-select-trigger-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #6d7295;
    border-bottom: 2px solid #6d7295;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
    pointer-events: none;
}

body.dss-single-product-page .dss-variation-select-wrap.is-open .dss-custom-select-trigger-icon,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-open .dss-custom-select-trigger-icon {
    transform: translateY(-20%) rotate(-135deg);
}

body.dss-single-product-page .dss-custom-select-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 10px;
    border: 1px solid #e7eaf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    max-height: 260px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #cfd6e8 #f5f7fc;
}

body.dss-single-product-page .dss-custom-select-menu::-webkit-scrollbar {
    width: 8px;
}

body.dss-single-product-page .dss-custom-select-menu::-webkit-scrollbar-track {
    background: #f5f7fc;
    border-radius: 999px;
}

body.dss-single-product-page .dss-custom-select-menu::-webkit-scrollbar-thumb {
    background: #cfd6e8;
    border-radius: 999px;
}

body.dss-single-product-page .dss-variation-select-wrap.is-open .dss-custom-select-menu,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-open .dss-custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.dss-single-product-page .dss-custom-select-option {
    position: relative;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #24283d;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

body.dss-single-product-page .dss-custom-select-option + .dss-custom-select-option {
    margin-top: 4px;
}

body.dss-single-product-page .dss-custom-select-option:hover {
    background: #f6f8ff;
    color: var(--dss-primary);
    transform: translateX(-2px);
}

body.dss-single-product-page .dss-custom-select-option.is-selected {
    padding-inline-start: 42px;
    background: #eff3ff;
    color: var(--dss-primary);
}

body.dss-single-product-page .dss-custom-select-option.is-selected::before {
    content: '';
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    width: 8px;
    height: 14px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-58%) rotate(45deg);
}

body.dss-single-product-page .dss-custom-select-option.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-custom-select-trigger {
        min-height: 54px;
        font-size: 16px;
    }

    body.dss-single-product-page .dss-custom-select-menu {
        padding: 8px;
        border-radius: 14px;
    }

    body.dss-single-product-page .dss-custom-select-option {
        min-height: 44px;
        font-size: 15px;
    }
}


/* Enhanced quantity box and add-to-cart button styling */
body.dss-single-product-page .dss-variation-actions .quantity,
body.dss-single-product-page .dss-simple-cart-form .quantity,
body.dss-single-product-page .dss-single-purchase .quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 58px;
    padding: 0;
    border: 1px solid #d8deef;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

body.dss-single-product-page .dss-variation-actions .qty,
body.dss-single-product-page .dss-simple-cart-form .qty,
body.dss-single-product-page .dss-single-purchase .qty {
    width: 84px !important;
    min-width: 84px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #131b3a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

body.dss-single-product-page .dss-variation-actions .qty:focus,
body.dss-single-product-page .dss-simple-cart-form .qty:focus,
body.dss-single-product-page .dss-single-purchase .qty:focus {
    outline: none;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button,
body.dss-single-product-page .dss-single-purchase button.single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 290px;
    min-height: 58px;
    padding: 0 28px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #2834a3 0%, #171574 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 16px 32px rgba(23, 21, 116, 0.22) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button:hover,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button:hover,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:hover,
body.dss-single-product-page .dss-single-purchase button.single_add_to_cart_button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(23, 21, 116, 0.28) !important;
    filter: brightness(1.03);
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button:active,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button:active,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:active,
body.dss-single-product-page .dss-single-purchase button.single_add_to_cart_button:active {
    transform: translateY(0);
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:disabled {
    opacity: 1 !important;
    background: linear-gradient(135deg, #d9ddec 0%, #cfd5e8 100%) !important;
    color: #757b95 !important;
    -webkit-text-fill-color: #757b95 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    filter: none !important;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button:not(.disabled):not(:disabled),
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button:not(.disabled):not(:disabled),
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:not(.disabled):not(:disabled) {
    background: linear-gradient(135deg, #2834a3 0%, #171574 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 16px 32px rgba(23, 21, 116, 0.22) !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-variation-actions .quantity,
    body.dss-single-product-page .dss-simple-cart-form .quantity,
    body.dss-single-product-page .dss-single-purchase .quantity {
        width: 100%;
    }

    body.dss-single-product-page .dss-variation-actions .qty,
    body.dss-single-product-page .dss-simple-cart-form .qty,
    body.dss-single-product-page .dss-single-purchase .qty,
    body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
    body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button,
    body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button,
    body.dss-single-product-page .dss-single-purchase button.single_add_to_cart_button {
        width: 100% !important;
        min-width: 100% !important;
    }
}


body.dss-single-product-page .dss-quantity-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 58px;
    border: 0;
    background: transparent;
    color: var(--dss-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

body.dss-single-product-page .dss-quantity-control:hover {
    background: #eef1ff;
}

body.dss-single-product-page .dss-quantity-control:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(23, 21, 116, .14);
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
    min-width: 168px;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty {
    width: 72px !important;
    min-width: 72px !important;
    border-inline: 1px solid #e7eaf4 !important;
    border-radius: 0 !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
        width: 100%;
        min-width: 100%;
    }

    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0 !important;
    }
}


/* Final minimal purchase controls */
body.dss-single-product-page .dss-variation-actions,
body.dss-single-product-page .dss-simple-cart-form {
    display: grid !important;
    grid-template-columns: 138px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    direction: rtl;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
    display: grid !important;
    grid-template-columns: 38px minmax(48px, 1fr) 38px;
    align-items: center;
    width: 138px !important;
    min-width: 138px !important;
    min-height: 52px !important;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dde2ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
    direction: ltr;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    border: 0 !important;
    border-inline: 1px solid #edf0f6 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #161b33 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty::-webkit-inner-spin-button,
body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

body.dss-single-product-page .dss-quantity-control {
    width: 38px !important;
    height: 50px !important;
    min-width: 38px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--dss-primary) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

body.dss-single-product-page .dss-quantity-control:hover:not(:disabled) {
    background: #f3f5ff !important;
}

body.dss-single-product-page .dss-quantity-control:disabled {
    color: #b7bccd !important;
    cursor: not-allowed;
    opacity: .65;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button,
body.dss-single-product-page .dss-single-purchase button.single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px;
    padding: 0 24px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transform: none !important;
    filter: none !important;
    transition: background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button:hover:not(.disabled):not(:disabled),
body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button:hover:not(.disabled):not(:disabled),
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:hover:not(.disabled):not(:disabled) {
    background: var(--dss-primary-dark) !important;
    box-shadow: 0 10px 24px rgba(23, 21, 116, .16) !important;
}

body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button:disabled,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:disabled {
    background: #e8ebf3 !important;
    color: #8c92a7 !important;
    -webkit-text-fill-color: #8c92a7 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-variation-actions,
    body.dss-single-product-page .dss-simple-cart-form {
        grid-template-columns: 126px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
        width: 126px !important;
        min-width: 126px !important;
    }

    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls .qty,
    body.dss-single-product-page .dss-variation-actions .single_add_to_cart_button,
    body.dss-single-product-page .dss-simple-cart-form .single_add_to_cart_button,
    body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 430px) {
    body.dss-single-product-page .dss-variation-actions,
    body.dss-single-product-page .dss-simple-cart-form {
        grid-template-columns: 1fr !important;
    }

    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
        width: 100% !important;
        min-width: 100% !important;
    }
}


/* v1.0.2.31: reliable WooCommerce variation controls */
body.dss-single-product-page .dss-custom-select {
    display: none !important;
}

body.dss-single-product-page .dss-single-purchase form.variations_form,
body.dss-single-product-page .dss-single-purchase table.variations,
body.dss-single-product-page .dss-single-purchase table.variations tbody,
body.dss-single-product-page .dss-single-purchase table.variations tr,
body.dss-single-product-page .dss-single-purchase table.variations th,
body.dss-single-product-page .dss-single-purchase table.variations td,
body.dss-single-product-page .dss-single-purchase .single_variation_wrap,
body.dss-single-product-page .dss-single-purchase .woocommerce-variation-add-to-cart {
    visibility: visible !important;
}

body.dss-single-product-page .dss-single-purchase form.variations_form {
    width: 100% !important;
    margin: 0 !important;
}

body.dss-single-product-page .dss-single-purchase table.variations {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    border: 0 !important;
    border-collapse: separate !important;
}

body.dss-single-product-page .dss-single-purchase table.variations tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

body.dss-single-product-page .dss-single-purchase table.variations tr {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

body.dss-single-product-page .dss-single-purchase table.variations th,
body.dss-single-product-page .dss-single-purchase table.variations td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: right !important;
}

body.dss-single-product-page .dss-single-purchase table.variations th.label label {
    display: block;
    margin: 0;
    color: #25283a;
    font-size: 13px;
    font-weight: 800;
}

body.dss-single-product-page .dss-single-purchase table.variations td.value {
    position: relative;
}

body.dss-single-product-page .dss-single-purchase table.variations td.value::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 27px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #747b9a;
    border-bottom: 2px solid #747b9a;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    z-index: 2;
}

body.dss-single-product-page .dss-single-purchase table.variations select,
body.dss-single-product-page .dss-single-purchase select.dss-native-variation-select,
body.dss-single-product-page .dss-variation-select-wrap.is-enhanced > select {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 16px 0 46px !important;
    border: 1px solid #d9deed !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    color: #20243a !important;
    -webkit-text-fill-color: #20243a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    direction: rtl !important;
    text-align: right !important;
    text-align-last: right !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: 0 7px 20px rgba(15, 23, 42, .045) !important;
    cursor: pointer;
}

body.dss-single-product-page .dss-single-purchase table.variations select:focus {
    outline: none !important;
    border-color: var(--dss-primary) !important;
    box-shadow: 0 0 0 3px rgba(23, 21, 116, .08) !important;
}

body.dss-single-product-page .dss-single-purchase table.variations select option {
    color: #20243a;
    direction: rtl;
}

body.dss-single-product-page .dss-single-purchase table.variations select option:disabled {
    color: #a8adbd;
}

body.dss-single-product-page .dss-single-purchase .reset_variations {
    display: inline-flex !important;
    margin: 9px 0 0 !important;
    color: var(--dss-primary) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.dss-single-product-page .dss-single-purchase .single_variation_wrap {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

body.dss-single-product-page .dss-single-purchase .woocommerce-variation.single_variation {
    width: 100%;
}

body.dss-single-product-page .dss-single-purchase .woocommerce-variation-price .price {
    margin: 0;
    color: #171725;
    font-size: 16px;
    font-weight: 800;
}

body.dss-single-product-page .dss-single-purchase .woocommerce-variation-availability p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

body.dss-single-product-page .dss-single-purchase .woocommerce-variation-add-to-cart,
body.dss-single-product-page .dss-single-purchase form.cart:not(.variations_form) {
    display: grid !important;
    grid-template-columns: 126px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    direction: rtl;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
    display: grid !important;
    grid-template-columns: 38px minmax(42px, 1fr) 38px !important;
    align-items: center !important;
    width: 126px !important;
    min-width: 126px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce1ee !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(15, 23, 42, .045) !important;
    overflow: hidden;
    direction: ltr;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls input.qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-inline: 1px solid #edf0f6 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #151a31 !important;
    -webkit-text-fill-color: #151a31 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls input.qty::-webkit-inner-spin-button,
body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls input.qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

body.dss-single-product-page .dss-quantity-control {
    position: relative;
    z-index: 3;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--dss-primary) !important;
    -webkit-text-fill-color: var(--dss-primary) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

body.dss-single-product-page .dss-quantity-control:hover:not(:disabled) {
    background: #f3f5ff !important;
}

body.dss-single-product-page .dss-quantity-control:disabled {
    color: #b9becd !important;
    -webkit-text-fill-color: #b9becd !important;
    cursor: not-allowed !important;
}

body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:hover:not(.disabled):not(:disabled) {
    background: var(--dss-primary-dark) !important;
    box-shadow: 0 10px 24px rgba(23, 21, 116, .16) !important;
}

body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button.disabled,
body.dss-single-product-page .dss-single-purchase .single_add_to_cart_button:disabled {
    background: #e7eaf2 !important;
    color: #8c92a7 !important;
    -webkit-text-fill-color: #8c92a7 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-purchase table.variations tbody {
        grid-template-columns: 1fr !important;
        gap: 13px;
    }

    body.dss-single-product-page .dss-single-purchase table.variations select {
        font-size: 16px !important;
    }
}

@media (max-width: 430px) {
    body.dss-single-product-page .dss-single-purchase .woocommerce-variation-add-to-cart,
    body.dss-single-product-page .dss-single-purchase form.cart:not(.variations_form) {
        grid-template-columns: 1fr !important;
    }

    body.dss-single-product-page .dss-single-purchase .quantity.has-dss-controls {
        width: 100% !important;
        min-width: 100% !important;
    }
}


/* Professional single-product price box */
body.dss-single-product-page .dss-single-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 18px 22px;
    margin-bottom: 20px;
    border: 1px solid #e8ebf5;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

body.dss-single-product-page .dss-single-price {
    width: 100%;
    font-size: 20px;
}

body.dss-single-product-page .dss-single-price .price,
body.dss-single-product-page .dss-single-price > span:not(.dss-single-stock) {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    row-gap: 10px;
    width: 100%;
    color: #0f1632;
}

body.dss-single-product-page .dss-single-price .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price bdi {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0f1632;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
}

body.dss-single-product-page .dss-single-price .woocommerce-Price-currencySymbol {
    color: #1f2751;
    font-size: .82em;
    font-weight: 800;
}

body.dss-single-product-page .dss-single-price del {
    display: block;
    width: 100%;
    margin: 0 0 2px;
    color: #a1a6b8;
    text-decoration: none;
    opacity: 1;
}

body.dss-single-product-page .dss-single-price del .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price del bdi {
    color: #a1a6b8;
    font-size: 17px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

body.dss-single-product-page .dss-single-price ins {
    display: block;
    width: 100%;
    background: none;
    text-decoration: none;
}

body.dss-single-product-page .dss-single-price ins .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price ins bdi {
    color: #0f1632;
    font-size: 36px;
    font-weight: 900;
}

body.dss-single-product-page .dss-single-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 123, 57, 0.08);
}

body.dss-single-product-page .dss-single-stock p {
    margin: 0;
    color: #0f7b39;
    font-size: 13px;
    font-weight: 800;
}

body.dss-single-product-page .dss-single-stock .out-of-stock {
    color: #d44949;
}

body.dss-single-product-page .dss-single-stock:has(.out-of-stock) {
    background: rgba(212, 73, 73, 0.08);
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-price-box {
        padding: 16px 18px;
        border-radius: 16px;
    }

    body.dss-single-product-page .dss-single-price .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price bdi {
        font-size: 28px;
    }

    body.dss-single-product-page .dss-single-price ins .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price ins bdi {
        font-size: 30px;
    }

    body.dss-single-product-page .dss-single-price del .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price del bdi {
        font-size: 15px;
    }
}


/* Minimal and user-friendly single-product price box override */
body.dss-single-product-page .dss-single-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #e7eaf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

body.dss-single-product-page .dss-single-price {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
}

body.dss-single-product-page .dss-single-price .price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    width: auto;
    color: #0f1632;
}

body.dss-single-product-page .dss-single-price .price > * {
    width: auto !important;
}

body.dss-single-product-page .dss-single-price .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price bdi {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #0f1632;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

body.dss-single-product-page .dss-single-price .woocommerce-Price-currencySymbol {
    font-size: .95em;
    font-weight: 700;
    color: #25315b;
}

body.dss-single-product-page .dss-single-price del {
    display: inline-flex;
    width: auto;
    margin: 0;
    color: #9aa1b5;
    text-decoration: none;
}

body.dss-single-product-page .dss-single-price del .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price del bdi {
    color: #9aa1b5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

body.dss-single-product-page .dss-single-price ins {
    display: inline-flex;
    width: auto;
    background: none;
    text-decoration: none;
}

body.dss-single-product-page .dss-single-price ins .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price ins bdi {
    color: #0f1632;
    font-size: 22px;
    font-weight: 900;
}

body.dss-single-product-page .dss-single-stock {
    display: inline-block;
    min-height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

body.dss-single-product-page .dss-single-stock p {
    margin: 0;
    color: #4c566f;
    font-size: 13px;
    font-weight: 700;
}

body.dss-single-product-page .dss-single-stock .out-of-stock {
    color: #c84c4c;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-price-box {
        padding: 12px 14px;
        border-radius: 12px;
    }

    body.dss-single-product-page .dss-single-price .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price bdi {
        font-size: 16px;
    }

    body.dss-single-product-page .dss-single-price ins .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price ins bdi {
        font-size: 20px;
    }

    body.dss-single-product-page .dss-single-price del .woocommerce-Price-amount,
    body.dss-single-product-page .dss-single-price del bdi {
        font-size: 13px;
    }
}


/* Align price values opposite each other in one row */
body.dss-single-product-page .dss-single-price {
    width: 100%;
}

body.dss-single-product-page .dss-single-price .price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
}

body.dss-single-product-page .dss-single-price .price > * {
    flex: 0 0 auto;
    width: auto !important;
}

body.dss-single-product-page .dss-single-price del,
body.dss-single-product-page .dss-single-price ins {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-price .price {
        gap: 8px;
    }
}


/* Force variable price range onto a single horizontal row */
body.dss-single-product-page .dss-single-price {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    direction: rtl;
    white-space: nowrap;
}

body.dss-single-product-page .dss-single-price > * {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.dss-single-product-page .dss-single-price > .woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price > span.woocommerce-Price-amount,
body.dss-single-product-page .dss-single-price > del,
body.dss-single-product-page .dss-single-price > ins {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
}

body.dss-single-product-page .dss-single-price bdi {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-price {
        gap: 6px !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.dss-single-product-page .dss-single-price::-webkit-scrollbar {
        display: none;
    }
}


/* Force currency symbol to appear on the opposite side of the amount on single product price */
body.dss-single-product-page .dss-single-price .woocommerce-Price-amount bdi,
body.dss-single-product-page .dss-single-price del bdi,
body.dss-single-product-page .dss-single-price ins bdi {
    direction: ltr !important;
    unicode-bidi: bidi-override;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
}

body.dss-single-product-page .dss-single-price .woocommerce-Price-currencySymbol {
    direction: rtl;
    order: 0;
}


/* Strong premium dropdown override */
body.dss-single-product-page .dss-variation-select-wrap.is-open,
body.dss-single-product-page .dss-product-attribute-select-wrap.is-open {
    z-index: 60;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-menu,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-menu {
    padding: 12px !important;
    border: 1px solid #e6e9f3 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16) !important;
    max-height: 280px !important;
    overflow-y: auto !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option {
    position: relative !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #1f2437 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: right !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option + .dss-custom-select-option,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option + .dss-custom-select-option {
    margin-top: 6px !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option:hover,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option:hover {
    background: #f7f9ff !important;
    color: #171574 !important;
    box-shadow: inset 0 0 0 1px rgba(23, 21, 116, .08) !important;
    transform: translateX(-2px) !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option.is-selected,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option.is-selected {
    padding-inline-start: 44px !important;
    background: linear-gradient(90deg, rgba(23,21,116,.08) 0%, rgba(36,50,163,.12) 100%) !important;
    color: #171574 !important;
    box-shadow: inset 0 0 0 1px rgba(23, 21, 116, .14) !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option.is-selected::before,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option.is-selected::before {
    content: '' !important;
    position: absolute !important;
    inset-inline-start: 18px !important;
    top: 50% !important;
    width: 8px !important;
    height: 14px !important;
    border-right: 2px solid #171574 !important;
    border-bottom: 2px solid #171574 !important;
    transform: translateY(-58%) rotate(45deg) !important;
}

body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option.is-disabled,
body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option.is-disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-menu,
    body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-menu {
        padding: 10px !important;
        border-radius: 16px !important;
    }

    body.dss-single-product-page .dss-variation-select-wrap .dss-custom-select-option,
    body.dss-single-product-page .dss-product-attribute-select-wrap .dss-custom-select-option {
        min-height: 46px !important;
        font-size: 15px !important;
    }
}


/* Functional custom WooCommerce variation dropdowns */
body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready {
    position: relative !important;
    width: 100% !important;
    min-width: 0;
    z-index: 20;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready.is-open {
    z-index: 80;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready > select.dss-native-variation-select {
    position: absolute !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select {
    position: relative;
    width: 100%;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger {
    position: relative;
    width: 100%;
    min-height: 54px;
    padding: 0 16px 0 50px;
    border: 1px solid #dce1ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #22283b;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger:hover {
    border-color: #b9c2dc;
    background: #fdfdff;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready.is-open .dss-custom-select-trigger,
body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger:focus-visible {
    outline: none;
    border-color: var(--dss-primary);
    box-shadow: 0 0 0 3px rgba(23, 21, 116, .08);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger-text {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger-icon {
    position: absolute;
    left: 19px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #69728e;
    border-bottom: 2px solid #69728e;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform .18s ease;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready.is-open .dss-custom-select-trigger-icon {
    transform: translateY(-25%) rotate(-135deg);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 100;
    display: block;
    max-height: 260px;
    padding: 8px;
    border: 1px solid #e5e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, .14);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready.is-open .dss-custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option {
    position: relative;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #252a3e;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option + .dss-custom-select-option {
    margin-top: 3px;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option:hover {
    background: #f5f7ff;
    color: var(--dss-primary);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option.is-selected {
    padding-left: 40px;
    background: #eff2ff;
    color: var(--dss-primary);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option.is-selected::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 50%;
    width: 7px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option.is-placeholder {
    color: #858ca0;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option.is-disabled {
    opacity: .38;
    cursor: not-allowed;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-trigger {
        min-height: 52px;
        font-size: 16px;
    }

    body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready .dss-custom-select-option {
        min-height: 44px;
        font-size: 15px;
    }
}


/* v1.0.2.43: repair the custom variation selector layout */
body.dss-single-product-page .dss-single-purchase td.value.dss-has-custom-select::after,
body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready::after {
    content: none !important;
    display: none !important;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready > select.dss-native-variation-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
}

body.dss-single-product-page .dss-variation-select-wrap.dss-ui-ready > .dss-custom-select {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.dss-single-product-page .dss-single-purchase table.variations td.value.dss-has-custom-select {
    overflow: visible !important;
}

body.dss-single-product-page .dss-single-purchase .reset_variations {
    margin-top: 8px !important;
    line-height: 1.8 !important;
}


/* Dynamic high-resolution product gallery and lightbox */
body.dss-single-product-page .dss-single-gallery-card {
    padding: 18px;
    overflow: visible;
}

body.dss-single-product-page .dss-single-gallery {
    position: relative;
}

body.dss-single-product-page .dss-single-main-media {
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 18px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: zoom-in;
    overflow: hidden;
}

body.dss-single-product-page .dss-single-main-media:focus-visible {
    outline: 2px solid var(--dss-primary);
    outline-offset: 3px;
}

body.dss-single-product-page .dss-single-main-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 680px;
    height: auto !important;
    object-fit: contain;
    image-rendering: auto;
    transition: transform .25s ease, opacity .2s ease;
}

body.dss-single-product-page .dss-single-main-media:hover .dss-single-main-image {
    transform: scale(1.015);
}

body.dss-single-product-page .dss-single-zoom-hint {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(15,23,42,.10);
    display: grid;
    place-items: center;
    color: #293052;
    pointer-events: none;
}

body.dss-single-product-page .dss-single-zoom-hint svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

body.dss-single-product-page .dss-single-thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 2px 1px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #cfd5e5 transparent;
}

body.dss-single-product-page .dss-single-thumb {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    min-height: 82px;
    padding: 7px;
    border: 1px solid #e4e7f0;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.dss-single-product-page .dss-single-thumb:hover {
    border-color: #bbc3dd;
    transform: translateY(-1px);
}

body.dss-single-product-page .dss-single-thumb.is-active {
    border-color: var(--dss-primary);
    box-shadow: 0 0 0 2px rgba(23, 21, 116, .08);
}

body.dss-single-product-page .dss-single-thumb img {
    width: 100%;
    height: 66px !important;
    object-fit: contain;
}

body.dss-lightbox-open {
    overflow: hidden !important;
}

body.dss-single-product-page .dss-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 28px;
    background: rgba(8, 10, 18, .92);
    backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

body.dss-single-product-page .dss-gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.dss-single-product-page .dss-gallery-lightbox-stage {
    min-width: 0;
    margin: 0;
    display: grid;
    place-items: center;
    gap: 12px;
}

body.dss-single-product-page .dss-gallery-lightbox-stage img {
    display: block;
    max-width: min(1180px, 86vw);
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(0,0,0,.28);
}

body.dss-single-product-page .dss-gallery-lightbox-stage figcaption {
    min-height: 22px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 700;
}

body.dss-single-product-page .dss-gallery-lightbox-close,
body.dss-single-product-page .dss-gallery-lightbox-nav {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.10);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

body.dss-single-product-page .dss-gallery-lightbox-close:hover,
body.dss-single-product-page .dss-gallery-lightbox-nav:hover {
    background: rgba(255,255,255,.20);
}

body.dss-single-product-page .dss-gallery-lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 31px;
    line-height: 1;
}

body.dss-single-product-page .dss-gallery-lightbox-nav {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 40px;
    line-height: 1;
}

body.dss-single-product-page .dss-gallery-lightbox-nav:disabled,
body.dss-single-product-page .dss-gallery-lightbox-nav[hidden] {
    display: none;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-gallery-card {
        padding: 10px;
    }

    body.dss-single-product-page .dss-single-main-media {
        min-height: 330px;
        padding: 10px;
        border-radius: 10px;
    }

    body.dss-single-product-page .dss-single-main-image {
        max-height: 430px;
    }

    body.dss-single-product-page .dss-single-zoom-hint {
        left: 10px;
        bottom: 10px;
        width: 38px;
        height: 38px;
    }

    body.dss-single-product-page .dss-single-thumb {
        flex-basis: 70px;
        width: 70px;
        height: 70px;
        min-height: 70px;
    }

    body.dss-single-product-page .dss-single-thumb img {
        height: 56px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox {
        padding: 18px 10px;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 6px;
    }

    body.dss-single-product-page .dss-gallery-lightbox-stage img {
        max-width: 78vw;
        max-height: 78vh;
    }

    body.dss-single-product-page .dss-gallery-lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }

    body.dss-single-product-page .dss-gallery-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }
}


/* Final centered product gallery and viewport lightbox */
body.dss-single-product-page .dss-single-gallery-card {
    padding: 18px !important;
    overflow: visible !important;
}

body.dss-single-product-page .dss-single-main-media {
    width: 100% !important;
    min-height: 520px !important;
    padding: 18px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    cursor: zoom-in !important;
    overflow: hidden !important;
}

body.dss-single-product-page .dss-single-main-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 680px !important;
    object-fit: contain !important;
    object-position: center !important;
}

body.dss-single-product-page .dss-single-thumbs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 16px !important;
    padding: 4px 2px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
}

body.dss-single-product-page .dss-single-thumb {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 82px !important;
    min-height: 82px !important;
    padding: 7px !important;
    border: 1px solid #e4e7f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    display: grid !important;
    place-items: center !important;
}

body.dss-single-product-page .dss-single-thumb.is-active {
    border-color: var(--dss-primary) !important;
    box-shadow: 0 0 0 2px rgba(23, 21, 116, .10) !important;
}

body.dss-single-product-page .dss-single-thumb img {
    width: 100% !important;
    height: 66px !important;
    object-fit: contain !important;
}

body.dss-lightbox-open {
    overflow: hidden !important;
}

body.dss-single-product-page .dss-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 2147483000 !important;
    padding: 24px !important;
    margin: 0 !important;
    background: rgba(7, 9, 16, .94) !important;
    backdrop-filter: blur(8px);
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) 64px !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 18px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.dss-single-product-page .dss-gallery-lightbox.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage {
    width: 100% !important;
    height: calc(100dvh - 48px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    place-items: center !important;
    gap: 10px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage img {
    display: block !important;
    width: min(1400px, 88vw) !important;
    height: min(88vh, 1000px) !important;
    max-width: 88vw !important;
    max-height: 88vh !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34) !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage figcaption {
    min-height: 22px !important;
    color: rgba(255,255,255,.82) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.dss-single-product-page .dss-gallery-lightbox-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2 !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-single-main-media {
        min-height: 340px !important;
        padding: 10px !important;
    }

    body.dss-single-product-page .dss-single-main-image {
        max-height: 460px !important;
    }

    body.dss-single-product-page .dss-single-thumb {
        flex-basis: 70px !important;
        width: 70px !important;
        height: 70px !important;
        min-height: 70px !important;
    }

    body.dss-single-product-page .dss-single-thumb img {
        height: 56px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox {
        padding: 14px 8px !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        gap: 5px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-stage {
        height: calc(100dvh - 28px) !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-stage img {
        width: 82vw !important;
        height: 82vh !important;
        max-width: 82vw !important;
        max-height: 82vh !important;
    }
}


/* Place lightbox close button over the image, not below it */
body.dss-single-product-page .dss-gallery-lightbox-close {
    position: fixed !important;
    top: max(18px, calc(50dvh - min(88vh, 1000px) / 2 + 14px)) !important;
    right: max(18px, calc(50vw - min(1400px, 88vw) / 2 + 14px)) !important;
    width: 48px !important;
    height: 48px !important;
    border: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(20, 24, 39, .72) !important;
    color: #ffffff !important;
    font-size: 34px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25) !important;
    z-index: 6 !important;
    backdrop-filter: blur(6px);
}

body.dss-single-product-page .dss-gallery-lightbox-close:hover {
    background: rgba(20, 24, 39, .88) !important;
    transform: scale(1.03);
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-gallery-lightbox-close {
        top: max(14px, calc(50dvh - min(76vh, 640px) / 2 + 10px)) !important;
        right: max(14px, calc(50vw - min(92vw, 640px) / 2 + 10px)) !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 30px !important;
    }
}


/* Keep lightbox navigation controls inside the image frame */
body.dss-single-product-page .dss-gallery-lightbox {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    place-items: center !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage {
    width: min(1400px, 88vw) !important;
    height: calc(100dvh - 48px) !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    place-items: center !important;
    gap: 10px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media {
    position: relative !important;
    width: 100% !important;
    height: min(88vh, 1000px) !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

body.dss-single-product-page .dss-gallery-lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 7 !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
}

body.dss-single-product-page .dss-gallery-lightbox-prev {
    left: 16px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-next {
    right: 16px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 8 !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-gallery-lightbox-stage {
        width: 92vw !important;
        height: calc(100dvh - 32px) !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-media {
        height: min(76vh, 640px) !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-nav {
        width: 44px !important;
        height: 44px !important;
        font-size: 32px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-prev {
        left: 10px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-next {
        right: 10px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-close {
        top: 10px !important;
        right: 10px !important;
    }
}

body.dss-single-product-page .dss-gallery-lightbox-close {
    position: fixed !important;
    top: max(18px, calc(56dvh - min(97vh, 1000px) / 2 + 14px)) !important;
    right: max(18px, calc(51vw - min(1410px, 88vw) / 2 + 24px)) !important;
    width: 48px !important;
    height: 48px !important;
    border: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(20, 24, 39, .72) !important;
    color: #ffffff !important;
    font-size: 34px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25) !important;
    z-index: 6 !important;
    backdrop-filter: blur(6px);
}



/* Final lightbox refinement: centered, contained, user-friendly */
body.dss-single-product-page .dss-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    padding: 24px !important;
    background: rgba(8, 12, 24, .88) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage {
    width: min(1240px, 92vw) !important;
    height: min(860px, 92vh) !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media {
    position: relative !important;
    width: 100% !important;
    height: calc(100% - 30px) !important;
    min-height: 320px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .22) !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media > img,
body.dss-single-product-page .dss-gallery-lightbox-stage img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    transform: none !important;
}

body.dss-single-product-page .dss-gallery-lightbox-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 8 !important;
}

body.dss-single-product-page .dss-gallery-lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    width: 52px !important;
    height: 52px !important;
    transform: translateY(-50%) !important;
    z-index: 7 !important;
}

body.dss-single-product-page .dss-gallery-lightbox-prev {
    left: 16px !important;
    right: auto !important;
}

body.dss-single-product-page .dss-gallery-lightbox-next {
    right: 16px !important;
    left: auto !important;
}

body.dss-single-product-page .dss-gallery-lightbox-stage figcaption {
    min-height: 20px !important;
    color: rgba(255,255,255,.86) !important;
    text-align: center !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-gallery-lightbox {
        padding: 12px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-stage {
        width: 94vw !important;
        height: 88vh !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-media {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-close {
        top: 10px !important;
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-nav {
        width: 42px !important;
        height: 42px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-prev {
        left: 8px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-next {
        right: 8px !important;
    }
}


/* Make lightbox navigation always visible and clear */
body.dss-single-product-page .dss-gallery-lightbox-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(18, 24, 42, .78) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.dss-single-product-page .dss-gallery-lightbox-nav:hover {
    background: rgba(18, 24, 42, .92) !important;
}

body.dss-single-product-page .dss-gallery-lightbox-nav:disabled {
    opacity: .35 !important;
    cursor: not-allowed !important;
}

body.dss-single-product-page .dss-gallery-lightbox-nav[hidden] {
    display: inline-flex !important;
}


/* Fill lightbox empty space with a thumbnail strip and larger centered image */
body.dss-single-product-page .dss-gallery-lightbox-stage {
    width: min(1280px, 94vw) !important;
    height: min(900px, 94vh) !important;
    gap: 14px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 18px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media > img,
body.dss-single-product-page .dss-gallery-lightbox-stage img {
    max-width: calc(100% - 24px) !important;
    max-height: calc(100% - 24px) !important;
}

body.dss-single-product-page .dss-gallery-lightbox-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.28) transparent;
}

body.dss-single-product-page .dss-gallery-lightbox-thumbs.is-hidden {
    display: none;
}

body.dss-single-product-page .dss-gallery-lightbox-thumbs::-webkit-scrollbar {
    height: 8px;
}

body.dss-single-product-page .dss-gallery-lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.24);
    border-radius: 999px;
}

body.dss-single-product-page .dss-gallery-lightbox-thumb {
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, opacity .18s ease;
    opacity: .82;
}

body.dss-single-product-page .dss-gallery-lightbox-thumb:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.45);
    opacity: 1;
}

body.dss-single-product-page .dss-gallery-lightbox-thumb.is-active {
    border-color: #ffffff;
    opacity: 1;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

body.dss-single-product-page .dss-gallery-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-gallery-lightbox-stage {
        height: min(88vh, 760px) !important;
        gap: 10px !important;
    }

    body.dss-single-product-page .dss-gallery-lightbox-thumbs {
        gap: 8px;
    }

    body.dss-single-product-page .dss-gallery-lightbox-thumb {
        width: 62px;
        height: 62px;
        border-radius: 12px;
    }
}


/* Enlarge lightbox image to better fill the preview frame */
body.dss-single-product-page .dss-gallery-lightbox-media {
    padding: 10px !important;
}

body.dss-single-product-page .dss-gallery-lightbox-media > img,
body.dss-single-product-page .dss-gallery-lightbox-stage img,
body.dss-single-product-page .dss-gallery-lightbox [data-dss-lightbox-image] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
}

@media (max-width: 720px) {
    body.dss-single-product-page .dss-gallery-lightbox-media {
        padding: 8px !important;
    }
}


/* Long product description section */
.dss-single-long-description-card {
    margin-top: 30px;
    padding: 22px 26px 26px;
    background: #fff;
    border: 1px solid #dfe3f0;
    border-radius: 4px;
}

.dss-single-long-description-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff6;
}

.dss-single-long-description-head h2 {
    margin: 0;
    color: #1d1f2d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
}

.dss-single-long-description-content {
    color: #53586a;
    font-size: 14px;
    line-height: 2.35;
    font-weight: 600;
}

.dss-single-long-description-content > *:first-child {
    margin-top: 0;
}

.dss-single-long-description-content > *:last-child {
    margin-bottom: 0;
}

.dss-single-long-description-content p,
.dss-single-long-description-content ul,
.dss-single-long-description-content ol,
.dss-single-long-description-content table,
.dss-single-long-description-content blockquote,
.dss-single-long-description-content h1,
.dss-single-long-description-content h2,
.dss-single-long-description-content h3,
.dss-single-long-description-content h4,
.dss-single-long-description-content h5,
.dss-single-long-description-content h6 {
    margin-top: 0;
    margin-bottom: 14px;
}

.dss-single-long-description-content ul,
.dss-single-long-description-content ol {
    padding: 0 18px 0 0;
}

.dss-single-long-description-content li {
    margin-bottom: 8px;
}

.dss-single-long-description-content table {
    width: 100%;
    border-collapse: collapse;
}

.dss-single-long-description-content table th,
.dss-single-long-description-content table td {
    padding: 12px 0;
    border-bottom: 1px solid #edf0f6;
    text-align: right;
    vertical-align: top;
}

.dss-single-long-description-content a {
    color: var(--dss-primary);
}

@media (max-width: 767px) {
    .dss-single-long-description-card {
        margin-top: 24px;
        padding: 18px 16px 20px;
    }

    .dss-single-long-description-head {
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .dss-single-long-description-head h2 {
        font-size: 20px;
    }

    .dss-single-long-description-content {
        font-size: 13px;
        line-height: 2.2;
    }
}


/* Related products carousel */
.dss-single-related {
    margin-top: 36px;
    padding-top: 4px;
}

.dss-single-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    direction: rtl;
}

.dss-single-related-head h2 {
    margin: 0;
    color: #1d1f2d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.5;
}

.dss-single-related-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.dss-single-related-arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dss-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

.dss-single-related-arrow:hover:not(:disabled) {
    background: #eef1ff;
}

.dss-single-related-arrow:disabled {
    opacity: .32;
    cursor: default;
}

.dss-single-related-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    direction: ltr;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.dss-single-related-viewport::-webkit-scrollbar {
    display: none;
}

.dss-single-related-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    min-width: 100%;
}

.dss-single-related-slide {
    flex: 0 0 calc((min(100vw - 48px, var(--dss-container)) - 54px) / 4);
    width: calc((min(100vw - 48px, var(--dss-container)) - 54px) / 4);
    min-width: 0;
    direction: rtl;
    scroll-snap-align: start;
}

.dss-single-related .dss-product-card {
    height: 100%;
    background: transparent;
}

.dss-single-related .dss-product-media {
    aspect-ratio: 1 / 1;
    background: #fff;
}

.dss-single-related .dss-product-image {
    padding: 8px;
}

.dss-single-related .dss-product-content {
    padding-top: 10px;
}

.dss-single-related .dss-product-content h3 {
    min-height: 48px;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.9;
}

.dss-single-related .dss-product-meta {
    min-height: 30px;
}

@media (max-width: 1100px) {
    .dss-single-related-slide {
        flex-basis: calc((100vw - 72px) / 3);
        width: calc((100vw - 72px) / 3);
    }
}

@media (max-width: 767px) {
    .dss-single-related {
        margin-top: 28px;
    }

    .dss-single-related-head {
        margin-bottom: 16px;
    }

    .dss-single-related-head h2 {
        font-size: 20px;
    }

    .dss-single-related-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .dss-single-related-track {
        gap: 12px;
    }

    .dss-single-related-slide {
        flex-basis: calc((100vw - 48px) / 2);
        width: calc((100vw - 48px) / 2);
    }
}

@media (max-width: 420px) {
    .dss-single-related-slide {
        flex-basis: calc(100vw - 44px);
        width: calc(100vw - 44px);
    }
}


/* Minimal RTL styling for related product cards */
.dss-single-related .dss-single-related-slide {
    direction: rtl;
}

.dss-single-related .dss-product-card {
    direction: rtl;
    text-align: right;
}

.dss-single-related .dss-product-media {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    background: #fff;
}

.dss-single-related .dss-product-image {
    padding: 6px;
}

.dss-single-related .dss-product-content {
    padding: 12px 2px 0;
    text-align: right;
}

.dss-single-related .dss-product-content h3 {
    min-height: auto;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    text-align: right;
}

.dss-single-related .dss-product-content h3 a {
    text-align: right;
}

.dss-single-related .dss-product-meta {
    direction: rtl;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: auto;
}

.dss-single-related .dss-product-price {
    align-items: flex-start;
    text-align: right;
    gap: 4px;
    font-size: 13px;
    line-height: 1.8;
}

.dss-single-related .dss-product-price del {
    font-size: 11px;
}

.dss-single-related .dss-product-price ins,
.dss-single-related .dss-product-price > span,
.dss-single-related .dss-product-price > .price {
    width: auto;
}

@media (max-width: 767px) {
    .dss-single-related .dss-product-content {
        padding-top: 10px;
    }

    .dss-single-related .dss-product-content h3 {
        font-size: 12px;
        line-height: 1.85;
    }

    .dss-single-related .dss-product-price {
        font-size: 12px;
    }
}


/* Align related products from the right side in RTL */
.dss-single-related-viewport {
    direction: rtl;
}

.dss-single-related-track {
    justify-content: flex-end;
}

.dss-single-related-controls {
    direction: rtl;
}


/* Refined related slider arrows: larger, minimal, user-friendly */
.dss-single-related-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dss-single-related-arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dfe4f1;
    border-radius: 999px;
    background: #ffffff;
    color: #6d7392;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.dss-single-related-arrow:hover:not(:disabled) {
    background: #f8faff;
    border-color: #cfd7ea;
    color: var(--dss-primary);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.dss-single-related-arrow:active:not(:disabled) {
    transform: translateY(0);
}

.dss-single-related-arrow:disabled {
    opacity: .42;
    background: #fff;
    color: #aab0c4;
    border-color: #e6e9f2;
    box-shadow: none;
    cursor: default;
}

@media (max-width: 767px) {
    .dss-single-related-controls {
        gap: 8px;
    }

    .dss-single-related-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}


/* Enlarge inner icon of related slider arrows */
.dss-single-related-arrow {
    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

@media (max-width: 767px) {
    .dss-single-related-arrow {
        font-size: 30px !important;
    }
}


/* Compact variable price for related products */
.dss-single-related .dss-related-variable-price {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: auto !important;
    white-space: nowrap;
    direction: rtl;
}

.dss-single-related .dss-related-price-from {
    color: #8d93a6;
    font-size: 11px;
    font-weight: 700;
}

.dss-single-related .dss-related-price-value,
.dss-single-related .dss-related-price-value .woocommerce-Price-amount,
.dss-single-related .dss-related-price-value bdi {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 4px !important;
    color: #151a31;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.dss-single-related .dss-related-price-value .woocommerce-Price-currencySymbol {
    order: 0 !important;
    font-size: .95em;
}


/* Fix related-products slider direction and refine arrow icon style */
.dss-single-related-viewport {
    direction: ltr !important;
}

.dss-single-related-track {
    justify-content: flex-end !important;
}

.dss-single-related-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    direction: ltr !important;
}

.dss-single-related-arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dfe4f1;
    border-radius: 999px;
    background: #ffffff;
    color: #7d859f;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.dss-single-related-arrow:hover:not(:disabled) {
    background: #f8faff;
    border-color: #cfd7ea;
    color: var(--dss-primary);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.dss-single-related-arrow:active:not(:disabled) {
    transform: translateY(0);
}

.dss-single-related-arrow:disabled {
    opacity: .42;
    background: #fff;
    color: #b5bbcb;
    border-color: #e6e9f2;
    box-shadow: none;
    cursor: default;
}

@media (max-width: 767px) {
    .dss-single-related-controls {
        gap: 8px;
    }

    .dss-single-related-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px !important;
    }
}


/* Put sale badge on the right and prices on the left in related products */
.dss-single-related .dss-product-meta {
    direction: ltr !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px;
}

.dss-single-related .dss-product-price {
    align-items: flex-start;
    text-align: left;
}

.dss-single-related .dss-sale-badge {
    flex: 0 0 auto;
}


/* -------------------- Cart page redesign -------------------- */
body.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    direction: ltr;
}

body.woocommerce-cart form.woocommerce-cart-form {
    order: 2;
    margin: 0;
}

body.woocommerce-cart .cart-collaterals {
    order: 1;
    width: 100%;
    margin: 0;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 16px 16px;
    background: #fff;
    border: 1px solid #dfe4f1;
    border-radius: 0;
    box-shadow: none;
}

body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
    margin: 0 0 16px;
    color: #1f2437;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}

body.woocommerce-cart .shop_table_responsive.cart,
body.woocommerce-cart .shop_table.cart {
    margin: 0;
    border: 0;
    background: transparent;
}

body.woocommerce-cart .shop_table.cart thead {
    display: none;
}

body.woocommerce-cart .shop_table.cart tbody,
body.woocommerce-cart .shop_table.cart tr,
body.woocommerce-cart .shop_table.cart td {
    border: 0 !important;
}

body.woocommerce-cart .shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(132px, 160px) minmax(0, 1fr) 130px;
    grid-template-areas:
        'subtotal details image'
        'subtotal controls image';
    gap: 14px 22px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #dfe4f1 !important;
    direction: ltr;
}

body.woocommerce-cart .shop_table.cart td.product-remove {
    grid-area: controls;
    align-self: end;
    justify-self: end;
    padding: 0;
    margin-inline-end: 86px;
}

body.woocommerce-cart .shop_table.cart td.product-remove a.remove {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 0;
    background: #171574;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

body.woocommerce-cart .shop_table.cart td.product-thumbnail {
    grid-area: image;
    padding: 0;
    text-align: right;
}

body.woocommerce-cart .shop_table.cart td.product-thumbnail a,
body.woocommerce-cart .shop_table.cart td.product-thumbnail img {
    display: block;
}

body.woocommerce-cart .shop_table.cart td.product-thumbnail img {
    width: 110px;
    max-width: 100%;
    height: 110px;
    object-fit: contain;
    background: #fff;
}

body.woocommerce-cart .shop_table.cart td.product-name {
    grid-area: details;
    padding: 0;
    direction: rtl;
    text-align: right;
}

body.woocommerce-cart .shop_table.cart td.product-name a {
    color: #1f2437;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.9;
}

body.woocommerce-cart .shop_table.cart td.product-price {
    position: absolute;
    top: 40px;
    right: 168px;
    padding: 0;
    direction: rtl;
    color: #444a61;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

body.woocommerce-cart .shop_table.cart td.product-subtotal {
    grid-area: subtotal;
    padding: 0;
    direction: rtl;
    text-align: left;
    color: #1f2437;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

body.woocommerce-cart .shop_table.cart td.product-quantity {
    grid-area: controls;
    padding: 0;
    justify-self: end;
}

body.woocommerce-cart .shop_table.cart .quantity {
    min-width: 84px;
    height: 30px;
    border: 1px solid #171574;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

body.woocommerce-cart .shop_table.cart .quantity input.qty {
    width: 28px;
    height: 28px;
    border: 0;
    background: #fff;
    color: #1f2437;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: #171574;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: none;
}

body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control:disabled {
    opacity: .55;
}

body.woocommerce-cart .shop_table.cart .coupon,
body.woocommerce-cart .actions .coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    margin: 0 0 16px;
    background: #fff;
    border: 1px solid #dfe4f1;
    direction: rtl;
}

body.woocommerce-cart .actions .coupon label {
    display: none;
}

body.woocommerce-cart .actions .coupon input.input-text {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    margin: 0 !important;
    border: 1px solid #eceef5;
    background: #f8f9fc;
    color: #53586a;
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px;
}

body.woocommerce-cart .actions .coupon .button,
body.woocommerce-cart .actions .coupon button.button {
    height: 40px;
    min-width: 62px;
    border: 0;
    border-radius: 0;
    background: #171574;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
}

body.woocommerce-cart .shop_table.cart tr.actions {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0 !important;
}

body.woocommerce-cart .shop_table.cart tr.actions td {
    display: block;
    padding: 0;
}

body.woocommerce-cart .shop_table.cart button[name="update_cart"] {
    display: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
    border: 0;
    margin: 0 0 16px;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 9px 0;
    border: 0;
    color: #595f74;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

body.woocommerce-cart .cart_totals table.shop_table td {
    color: #1f2437;
    text-align: left;
    white-space: nowrap;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    font-weight: 800;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
    margin: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #171574;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .return-to-shop {
    direction: rtl;
    text-align: right;
}

@media (max-width: 980px) {
    body.woocommerce-cart .woocommerce {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart form.woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals {
        order: initial;
    }
}

@media (max-width: 767px) {
    body.woocommerce-cart .shop_table.cart tr.cart_item {
        grid-template-columns: 1fr;
        grid-template-areas:
            'image'
            'details'
            'subtotal'
            'controls';
        padding: 14px;
    }

    body.woocommerce-cart .shop_table.cart td.product-thumbnail {
        justify-self: center;
    }

    body.woocommerce-cart .shop_table.cart td.product-price {
        position: static;
        grid-area: details;
        margin-top: 6px;
        text-align: right;
    }

    body.woocommerce-cart .shop_table.cart td.product-subtotal {
        text-align: right;
        font-size: 16px;
    }

    body.woocommerce-cart .shop_table.cart td.product-quantity,
    body.woocommerce-cart .shop_table.cart td.product-remove {
        justify-self: start;
        margin-inline-end: 0;
    }

    body.woocommerce-cart .shop_table.cart td.product-remove {
        order: -1;
    }
}


/* ============================================================
   WooCommerce Cart Blocks redesign
   ============================================================ */
body.dss-cart-page {
    background: #f8f8fb;
}

body.dss-cart-page main,
body.dss-cart-page .site-main,
body.dss-cart-page .entry-content {
    overflow: visible;
}

body.dss-cart-page .entry-title,
body.dss-cart-page .page-title {
    margin-bottom: 34px;
    color: #171725;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

body.dss-cart-page .wp-block-woocommerce-cart,
body.dss-cart-page .wc-block-cart {
    width: min(100%, 1500px);
    margin-inline: auto;
    direction: rtl;
}

body.dss-cart-page .wc-block-cart__main {
    padding-inline: 0 18px !important;
}

body.dss-cart-page .wc-block-cart__sidebar {
    padding-inline: 18px 0 !important;
}

body.dss-cart-page .wc-block-cart-items {
    margin: 0 !important;
    border: 0 !important;
    border-spacing: 0 16px !important;
}

body.dss-cart-page .wc-block-cart-items thead {
    display: none !important;
}

body.dss-cart-page .wc-block-cart-items tbody {
    display: table-row-group;
}

body.dss-cart-page .wc-block-cart-items__row {
    position: relative;
    background: #fff;
    border: 1px solid #dfe3ef !important;
    box-shadow: none;
}

body.dss-cart-page .wc-block-cart-items__row td {
    padding-block: 18px !important;
    border-top: 1px solid #dfe3ef !important;
    border-bottom: 1px solid #dfe3ef !important;
    vertical-align: middle !important;
}

body.dss-cart-page .wc-block-cart-items__row td:first-child {
    border-right: 1px solid #dfe3ef !important;
}

body.dss-cart-page .wc-block-cart-items__row td:last-child {
    border-left: 1px solid #dfe3ef !important;
}

body.dss-cart-page .wc-block-cart-item__image {
    width: 150px !important;
    padding-inline: 16px 8px !important;
}

body.dss-cart-page .wc-block-cart-item__image a,
body.dss-cart-page .wc-block-cart-item__image img {
    display: block;
}

body.dss-cart-page .wc-block-cart-item__image img {
    width: 118px !important;
    height: 118px !important;
    margin-inline: auto !important;
    object-fit: contain !important;
    background: #fff;
}

body.dss-cart-page .wc-block-cart-item__product {
    padding-inline: 8px 14px !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-product-name {
    display: block;
    margin: 0 0 8px !important;
    color: #202235 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.9 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-product-metadata,
body.dss-cart-page .wc-block-components-product-badge,
body.dss-cart-page .wc-block-cart-item__prices {
    color: #777d91 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-cart-item__total {
    min-width: 145px;
    padding-inline: 18px !important;
    color: #202235;
    font-size: 15px;
    font-weight: 800;
    text-align: left !important;
    white-space: nowrap;
}

body.dss-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    justify-content: flex-start !important;
}

body.dss-cart-page .wc-block-components-quantity-selector {
    width: 116px !important;
    height: 38px !important;
    margin-top: 12px !important;
    border: 1px solid var(--dss-primary) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.dss-cart-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    width: 40px !important;
    min-width: 40px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #171725 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.dss-cart-page .wc-block-components-quantity-selector button {
    width: 38px !important;
    height: 36px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    opacity: 1 !important;
}

body.dss-cart-page .wc-block-components-quantity-selector button:disabled {
    opacity: .48 !important;
}

body.dss-cart-page .wc-block-components-quantity-selector button svg {
    width: 14px !important;
    height: 14px !important;
    fill: currentColor !important;
}

body.dss-cart-page .wc-block-cart-item__remove-link {
    margin-top: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #8c92a5 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body.dss-cart-page .wc-block-cart-item__remove-link:hover {
    color: #d14444 !important;
}

body.dss-cart-page .wc-block-cart__sidebar {
    direction: rtl;
}

body.dss-cart-page .wc-block-cart__sidebar > div,
body.dss-cart-page .wp-block-woocommerce-cart-order-summary-block {
    background: #fff;
    border: 1px solid #dfe3ef;
    box-shadow: none;
}

body.dss-cart-page .wc-block-cart__totals-title {
    display: block !important;
    margin: 0 !important;
    padding: 18px 18px 14px !important;
    color: #202235 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-totals-wrapper {
    padding: 14px 18px !important;
    border-top: 1px solid #eceef5 !important;
}

body.dss-cart-page .wc-block-components-totals-item {
    min-height: 34px;
    align-items: center;
}

body.dss-cart-page .wc-block-components-totals-item__label,
body.dss-cart-page .wc-block-components-totals-item__value {
    color: #555b70 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.dss-cart-page .wc-block-components-totals-item__value {
    color: #202235 !important;
    text-align: left !important;
}

body.dss-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.dss-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #171725 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

body.dss-cart-page .wc-block-components-totals-coupon__button,
body.dss-cart-page .wc-block-components-panel__button {
    min-height: 44px !important;
    color: #555b70 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-totals-coupon__form {
    gap: 8px !important;
}

body.dss-cart-page .wc-block-components-text-input input {
    min-height: 44px !important;
    border: 1px solid #e4e7f0 !important;
    border-radius: 0 !important;
    background: #f8f9fc !important;
    color: #202235 !important;
    font-size: 13px !important;
}

body.dss-cart-page .wc-block-components-totals-coupon__form button {
    min-height: 44px !important;
    border-radius: 0 !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.dss-cart-page .wc-block-cart__submit {
    margin: 0 !important;
    padding: 0 18px 18px !important;
}

body.dss-cart-page .wc-block-cart__submit-button {
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--dss-primary) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

body.dss-cart-page .wc-block-cart__submit-button:hover {
    background: var(--dss-primary-dark) !important;
}

body.dss-cart-page .wc-block-cart__submit-container--sticky {
    background: transparent !important;
}

body.dss-cart-page .wc-block-components-shipping-rates-control__package-items,
body.dss-cart-page .wc-block-components-totals-shipping__via {
    font-size: 12px !important;
}

@media (max-width: 900px) {
    body.dss-cart-page .wc-block-cart__main,
    body.dss-cart-page .wc-block-cart__sidebar {
        padding-inline: 0 !important;
    }

    body.dss-cart-page .wc-block-cart-items__row td {
        border-inline: 0 !important;
    }
}

@media (max-width: 600px) {
    body.dss-cart-page .entry-title,
    body.dss-cart-page .page-title {
        margin-bottom: 22px;
        font-size: 30px;
    }

    body.dss-cart-page .wc-block-cart-item__image {
        width: 100px !important;
        padding-inline: 8px !important;
    }

    body.dss-cart-page .wc-block-cart-item__image img {
        width: 86px !important;
        height: 86px !important;
    }

    body.dss-cart-page .wc-block-cart-item__total {
        min-width: 105px;
        padding-inline: 8px !important;
        font-size: 13px;
    }

    body.dss-cart-page .wc-block-components-product-name {
        font-size: 14px !important;
    }
}


/* Hide the cart page title added by WordPress/theme */
body.dss-cart-page .entry-title,
body.dss-cart-page .page-title,
body.dss-cart-page .wp-block-post-title,
body.dss-cart-page main > h1,
body.dss-cart-page .site-main > h1,
body.dss-cart-page .entry-header {
    display: none !important;
}

body.dss-cart-page .entry-content,
body.dss-cart-page .wp-site-blocks main,
body.dss-cart-page main.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* -------------------- WooCommerce success notice redesign -------------------- */
body .woocommerce-notices-wrapper {
    margin: 0 0 18px;
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error,
body .is-success.woocommerce-message {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px 18px 22px;
    margin: 0 0 18px !important;
    border: 1px solid #d7e9dc !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #f8fcf9 0%, #f1f8f3 100%) !important;
    color: #1f2437 !important;
    box-shadow: 0 14px 38px rgba(18, 38, 24, 0.06) !important;
    overflow: hidden;
}

body .woocommerce-error {
    border-color: #f3d0d4 !important;
    background: linear-gradient(180deg, #fff8f8 0%, #fff3f4 100%) !important;
}

body .woocommerce-info {
    border-color: #d7e1f5 !important;
    background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%) !important;
}

body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before {
    content: '';
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    margin-top: 2px;
    position: relative;
    inset: auto !important;
}

body .woocommerce-message::before {
    background-color: #43b968;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5 8 14l7.5-8' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body .woocommerce-info::before {
    background-color: #4a6cf7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 5.5h.01M8.9 9h1.1v5H11.1' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body .woocommerce-error::before {
    background-color: #e2596a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 6 8 8M14 6l-8 8' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

body .woocommerce-message .button,
body .woocommerce-info .button,
body .woocommerce-error .button,
body .woocommerce-message a,
body .woocommerce-info a,
body .woocommerce-error a {
    color: #5d6279;
    text-decoration: none;
}

body .woocommerce-message .button,
body .woocommerce-info .button,
body .woocommerce-error .button {
    order: 3;
    margin-inline-start: auto !important;
    margin-top: 0 !important;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 12px !important;
    background: #171574 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(23, 21, 116, .14);
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error {
    font-size: 15px;
    line-height: 2;
    font-weight: 700;
}

body .woocommerce-message .restore-item,
body .woocommerce-message .wc-forward,
body .woocommerce-info .wc-forward,
body .woocommerce-error .wc-forward,
body .woocommerce-message a:not(.button),
body .woocommerce-info a:not(.button),
body .woocommerce-error a:not(.button) {
    font-weight: 800;
    color: #6a6f85 !important;
    border-bottom: 1px solid rgba(106, 111, 133, .35);
}

body .woocommerce-message.dss-notice-auto-hide::after,
body .woocommerce-info.dss-notice-auto-hide::after,
body .woocommerce-error.dss-notice-auto-hide::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #171574 0%, #4857c8 100%);
    transform-origin: right center;
    animation: dssNoticeTimer 5s linear forwards;
}

body .woocommerce-message.is-hiding,
body .woocommerce-info.is-hiding,
body .woocommerce-error.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s ease, transform .35s ease;
}

@keyframes dssNoticeTimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 767px) {
    body .woocommerce-message,
    body .woocommerce-info,
    body .woocommerce-error {
        padding: 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    body .woocommerce-message::before,
    body .woocommerce-info::before,
    body .woocommerce-error::before {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        background-size: 16px 16px;
    }

    body .woocommerce-message .button,
    body .woocommerce-info .button,
    body .woocommerce-error .button {
        width: 100%;
        margin-inline-start: 0 !important;
    }
}


/* Final premium success notice override */
body .woocommerce-notices-wrapper,
body .wc-block-components-notices {
    margin: 0 0 20px !important;
}

body .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-notices-wrapper .woocommerce-error,
body .wc-block-components-notice-banner,
body .wc-block-components-notice-banner.is-success,
body .wc-block-components-notice-banner.is-info,
body .wc-block-components-notice-banner.is-error {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 18px 20px !important;
    margin: 0 0 18px !important;
    border: 1px solid #d7eadc !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%) !important;
    box-shadow: 0 16px 40px rgba(14, 30, 20, 0.08) !important;
    color: #1f2437 !important;
    direction: rtl !important;
    text-align: right !important;
    overflow: hidden !important;
}

body .woocommerce-notices-wrapper .woocommerce-info,
body .wc-block-components-notice-banner.is-info {
    border-color: #d9e5ff !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%) !important;
}

body .woocommerce-notices-wrapper .woocommerce-error,
body .wc-block-components-notice-banner.is-error {
    border-color: #f2d6d9 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%) !important;
}

body .woocommerce-notices-wrapper .woocommerce-message::before,
body .woocommerce-notices-wrapper .woocommerce-info::before,
body .woocommerce-notices-wrapper .woocommerce-error::before,
body .wc-block-components-notice-banner::before {
    content: '' !important;
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 22px 22px !important;
    flex: 0 0 54px !important;
    box-shadow: inset 0 -4px 10px rgba(255,255,255,.18) !important;
}

body .woocommerce-notices-wrapper .woocommerce-message::before,
body .wc-block-components-notice-banner.is-success::before,
body .wc-block-components-notice-banner::before {
    background-color: #45b96c !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5.5 12.5 10 17l8.5-10' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce-notices-wrapper .woocommerce-info::before,
body .wc-block-components-notice-banner.is-info::before {
    background-color: #4c72f8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 7.25h.01M10.75 11h1.25v5h1.25' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce-notices-wrapper .woocommerce-error::before,
body .wc-block-components-notice-banner.is-error::before {
    background-color: #e35f6f !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m8 8 8 8M16 8l-8 8' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-notices-wrapper .woocommerce-error,
body .wc-block-components-notice-banner {
    font-size: 15px !important;
    line-height: 1.95 !important;
    font-weight: 700 !important;
}

body .woocommerce-notices-wrapper .woocommerce-message .button,
body .woocommerce-notices-wrapper .woocommerce-info .button,
body .woocommerce-notices-wrapper .woocommerce-error .button,
body .woocommerce-notices-wrapper .woocommerce-message .wc-forward,
body .woocommerce-notices-wrapper .woocommerce-info .wc-forward,
body .woocommerce-notices-wrapper .woocommerce-error .wc-forward,
body .wc-block-components-notice-banner .wc-forward,
body .wc-block-components-notice-banner a.wc-forward,
body .wc-block-components-notice-banner .components-button,
body .wc-block-components-notice-banner a {
    order: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #171574 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(23, 21, 116, 0.14) !important;
}

body .woocommerce-notices-wrapper .woocommerce-message a:not(.button):not(.wc-forward),
body .woocommerce-notices-wrapper .woocommerce-info a:not(.button):not(.wc-forward),
body .woocommerce-notices-wrapper .woocommerce-error a:not(.button):not(.wc-forward),
body .wc-block-components-notice-banner a:not(.components-button):not(.wc-forward) {
    color: #5f647a !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(95, 100, 122, .35) !important;
}

body .woocommerce-notices-wrapper .woocommerce-message strong,
body .woocommerce-notices-wrapper .woocommerce-info strong,
body .woocommerce-notices-wrapper .woocommerce-error strong,
body .wc-block-components-notice-banner strong {
    color: #1a2033 !important;
    font-weight: 800 !important;
}

body .woocommerce-notices-wrapper .woocommerce-message.dss-notice-auto-hide::after,
body .woocommerce-notices-wrapper .woocommerce-info.dss-notice-auto-hide::after,
body .woocommerce-notices-wrapper .woocommerce-error.dss-notice-auto-hide::after,
body .wc-block-components-notice-banner.dss-notice-auto-hide::after {
    content: '' !important;
    position: absolute !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #171574 0%, #4e5fde 100%) !important;
    transform-origin: right center !important;
    animation: dssNoticeTimer 5s linear forwards !important;
}

body .woocommerce-notices-wrapper .woocommerce-message.is-hiding,
body .woocommerce-notices-wrapper .woocommerce-info.is-hiding,
body .woocommerce-notices-wrapper .woocommerce-error.is-hiding,
body .wc-block-components-notice-banner.is-hiding {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    transition: opacity .35s ease, transform .35s ease !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .woocommerce-message,
    body .woocommerce-notices-wrapper .woocommerce-info,
    body .woocommerce-notices-wrapper .woocommerce-error,
    body .wc-block-components-notice-banner,
    body .wc-block-components-notice-banner.is-success,
    body .wc-block-components-notice-banner.is-info,
    body .wc-block-components-notice-banner.is-error {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 15px !important;
    }

    body .woocommerce-notices-wrapper .woocommerce-message::before,
    body .woocommerce-notices-wrapper .woocommerce-info::before,
    body .woocommerce-notices-wrapper .woocommerce-error::before,
    body .wc-block-components-notice-banner::before {
        width: 44px !important;
        height: 44px !important;
        background-size: 18px 18px !important;
    }

    body .woocommerce-notices-wrapper .woocommerce-message .button,
    body .woocommerce-notices-wrapper .woocommerce-info .button,
    body .woocommerce-notices-wrapper .woocommerce-error .button,
    body .woocommerce-notices-wrapper .woocommerce-message .wc-forward,
    body .woocommerce-notices-wrapper .woocommerce-info .wc-forward,
    body .woocommerce-notices-wrapper .woocommerce-error .wc-forward,
    body .wc-block-components-notice-banner .wc-forward,
    body .wc-block-components-notice-banner a.wc-forward,
    body .wc-block-components-notice-banner .components-button,
    body .wc-block-components-notice-banner a {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-self: stretch !important;
    }
}


/* Final isolated WooCommerce notice component */
body .dss-notice-v3 {
    all: unset !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 52px !important;
    align-items: center !important;
    gap: 16px !important;
    width: min(100%, 760px) !important;
    min-height: 92px !important;
    margin: 16px auto 20px !important;
    padding: 18px 20px !important;
    border: 1px solid #dbe8de !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #202538 !important;
    box-shadow: 0 18px 45px rgba(25, 35, 29, .09) !important;
    direction: rtl !important;
    text-align: right !important;
    overflow: hidden !important;
    font-family: inherit !important;
    transition: opacity .35s ease, transform .35s ease !important;
}

body .dss-notice-v3::before {
    content: none !important;
    display: none !important;
}

body .dss-notice-v3 *,
body .dss-notice-v3 *::before,
body .dss-notice-v3 *::after {
    box-sizing: border-box !important;
}

body .dss-notice-v3 > svg,
body .dss-notice-v3 .wc-block-components-notice-banner__icon,
body .dss-notice-v3 .wc-block-components-notice-banner__dismiss,
body .dss-notice-v3 .components-notice__dismiss {
    display: none !important;
}

body .dss-notice-v3__icon {
    grid-column: 3 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: #45b96c !important;
    box-shadow: 0 10px 22px rgba(69, 185, 108, .22) !important;
}

body .dss-notice-v3__icon.is-info {
    background: #4c72f8 !important;
    box-shadow: 0 10px 22px rgba(76, 114, 248, .22) !important;
}

body .dss-notice-v3__icon.is-error {
    background: #e35f6f !important;
    box-shadow: 0 10px 22px rgba(227, 95, 111, .22) !important;
}

body .dss-notice-v3__icon svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    color: #ffffff !important;
}

body .dss-notice-v3__content {
    all: unset !important;
    box-sizing: border-box !important;
    grid-column: 2 !important;
    display: block !important;
    min-width: 0 !important;
    color: #202538 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 2 !important;
    direction: rtl !important;
    text-align: right !important;
}

body .dss-notice-v3__content a {
    color: #5d6378 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(93, 99, 120, .28) !important;
}

body .dss-notice-v3__action {
    all: unset !important;
    box-sizing: border-box !important;
    grid-column: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    background: #171574 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 25px rgba(23, 21, 116, .16) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

body .dss-notice-v3__action:hover {
    background: #22208d !important;
    color: #ffffff !important;
}

body .dss-notice-v3::after {
    content: '' !important;
    position: absolute !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #171574 0%, #4f61df 100%) !important;
    transform-origin: right center !important;
    animation: dssNoticeTimer 5s linear forwards !important;
}

body .dss-notice-v3.is-hiding {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
}

@media (max-width: 767px) {
    body .dss-notice-v3 {
        grid-template-columns: minmax(0, 1fr) 44px !important;
        gap: 12px !important;
        min-height: 82px !important;
        padding: 15px !important;
        border-radius: 16px !important;
    }

    body .dss-notice-v3__icon {
        grid-column: 2 !important;
        width: 44px !important;
        height: 44px !important;
    }

    body .dss-notice-v3__icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    body .dss-notice-v3__content {
        grid-column: 1 !important;
        font-size: 14px !important;
    }

    body .dss-notice-v3__action {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 2px !important;
    }
}


/* Robust full-card layout for custom notice */
body .woocommerce-notices-wrapper .dss-notice-v3,
body .wc-block-components-notices .dss-notice-v3,
body .dss-notice-v3 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 56px !important;
    grid-template-areas:
        "content icon"
        "action action" !important;
    align-items: start !important;
    gap: 14px 16px !important;
    width: min(100%, 720px) !important;
    min-height: 0 !important;
    padding: 20px !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__icon,
body .wc-block-components-notices .dss-notice-v3__icon,
body .dss-notice-v3__icon {
    grid-area: icon !important;
    grid-column: auto !important;
    justify-self: end !important;
    align-self: start !important;
    width: 56px !important;
    height: 56px !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content,
body .wc-block-components-notices .dss-notice-v3__content,
body .dss-notice-v3__content {
    grid-area: content !important;
    grid-column: auto !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-top: 2px !important;
    font-size: 15px !important;
    line-height: 2.05 !important;
    word-break: break-word !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content p,
body .wc-block-components-notices .dss-notice-v3__content p,
body .dss-notice-v3__content p {
    margin: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__action,
body .wc-block-components-notices .dss-notice-v3__action,
body .dss-notice-v3__action {
    grid-area: action !important;
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 18px !important;
    margin: 2px 0 0 !important;
    border-radius: 14px !important;
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .dss-notice-v3,
    body .wc-block-components-notices .dss-notice-v3,
    body .dss-notice-v3 {
        width: 100% !important;
        padding: 16px !important;
        gap: 12px 14px !important;
        border-radius: 18px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__icon,
    body .wc-block-components-notices .dss-notice-v3__icon,
    body .dss-notice-v3__icon {
        width: 50px !important;
        height: 50px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__content,
    body .wc-block-components-notices .dss-notice-v3__content,
    body .dss-notice-v3__content {
        font-size: 14px !important;
        line-height: 1.95 !important;
    }
}


/* Wide horizontal notice layout override */
body .woocommerce-notices-wrapper,
body .wc-block-components-notices {
    width: 100% !important;
    max-width: none !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3,
body .wc-block-components-notices .dss-notice-v3,
body .dss-notice-v3 {
    width: 100% !important;
    max-width: none !important;
    margin: 16px 0 20px !important;
    padding: 20px 22px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 56px !important;
    grid-template-areas: "action content icon" !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 0 !important;
    direction: ltr !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__icon,
body .wc-block-components-notices .dss-notice-v3__icon,
body .dss-notice-v3__icon {
    grid-area: icon !important;
    justify-self: end !important;
    align-self: center !important;
    width: 56px !important;
    height: 56px !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content,
body .wc-block-components-notices .dss-notice-v3__content,
body .dss-notice-v3__content {
    grid-area: content !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    direction: rtl !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 16px !important;
    line-height: 1.95 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content p,
body .wc-block-components-notices .dss-notice-v3__content p,
body .dss-notice-v3__content p {
    margin: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__action,
body .wc-block-components-notices .dss-notice-v3__action,
body .dss-notice-v3__action {
    grid-area: action !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 154px !important;
    max-width: 220px !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-self: start !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .dss-notice-v3,
    body .wc-block-components-notices .dss-notice-v3,
    body .dss-notice-v3 {
        grid-template-columns: minmax(0, 1fr) 48px !important;
        grid-template-areas:
            "content icon"
            "action action" !important;
        gap: 12px 14px !important;
        padding: 16px !important;
        direction: ltr !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__icon,
    body .wc-block-components-notices .dss-notice-v3__icon,
    body .dss-notice-v3__icon {
        width: 48px !important;
        height: 48px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__content,
    body .wc-block-components-notices .dss-notice-v3__content,
    body .dss-notice-v3__content {
        font-size: 14px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__action,
    body .wc-block-components-notices .dss-notice-v3__action,
    body .dss-notice-v3__action {
        width: 100% !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
}


/* Keep WooCommerce notices visible until the page changes or the user follows the action link */
body .dss-notice-v3::after,
body .woocommerce-message.dss-notice-auto-hide::after,
body .woocommerce-info.dss-notice-auto-hide::after,
body .woocommerce-error.dss-notice-auto-hide::after,
body .wc-block-components-notice-banner.dss-notice-auto-hide::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

body .dss-notice-v3.is-hiding,
body .woocommerce-message.is-hiding,
body .woocommerce-info.is-hiding,
body .woocommerce-error.is-hiding,
body .wc-block-components-notice-banner.is-hiding {
    opacity: 1 !important;
    transform: none !important;
}


/* Final horizontal notice bar layout */
body .woocommerce-notices-wrapper,
body .wc-block-components-notices,
body .woocommerce-notices-wrapper > div,
body .wc-block-components-notices > div {
    width: 100% !important;
    max-width: none !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3,
body .wc-block-components-notices .dss-notice-v3,
body .dss-notice-v3 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 88px !important;
    padding: 18px 22px !important;
    margin: 12px 0 18px !important;
    direction: rtl !important;
    text-align: right !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__icon,
body .wc-block-components-notices .dss-notice-v3__icon,
body .dss-notice-v3__icon {
    order: 1 !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content,
body .wc-block-components-notices .dss-notice-v3__content,
body .dss-notice-v3__content {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1.95 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content p,
body .wc-block-components-notices .dss-notice-v3__content p,
body .dss-notice-v3__content p {
    margin: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__action,
body .wc-block-components-notices .dss-notice-v3__action,
body .dss-notice-v3__action {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 168px !important;
    max-width: 240px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-radius: 14px !important;
    align-self: center !important;
}

body .dss-notice-v3::after,
body .woocommerce-message.dss-notice-auto-hide::after,
body .woocommerce-info.dss-notice-auto-hide::after,
body .woocommerce-error.dss-notice-auto-hide::after,
body .wc-block-components-notice-banner.dss-notice-auto-hide::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #171574 0%, #4e5fde 100%) !important;
    transform-origin: right center !important;
    animation: dssNoticeTimer 5s linear forwards !important;
}

body .dss-notice-v3.is-hiding,
body .woocommerce-message.is-hiding,
body .woocommerce-info.is-hiding,
body .woocommerce-error.is-hiding,
body .wc-block-components-notice-banner.is-hiding {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    transition: opacity .35s ease, transform .35s ease !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .dss-notice-v3,
    body .wc-block-components-notices .dss-notice-v3,
    body .dss-notice-v3 {
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 16px !important;
        min-height: 0 !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__icon,
    body .wc-block-components-notices .dss-notice-v3__icon,
    body .dss-notice-v3__icon {
        flex-basis: 48px !important;
        width: 48px !important;
        height: 48px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__content,
    body .wc-block-components-notices .dss-notice-v3__content,
    body .dss-notice-v3__content {
        flex: 1 1 calc(100% - 60px) !important;
        font-size: 14px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__action,
    body .wc-block-components-notices .dss-notice-v3__action,
    body .dss-notice-v3__action {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: none !important;
    }
}


/* Final full-width horizontal notice bar fix */
body .woocommerce-notices-wrapper,
body .wc-block-components-notices,
body .woocommerce-notices-wrapper > div,
body .wc-block-components-notices > div {
    width: 100% !important;
    max-width: 100% !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3,
body .wc-block-components-notices .dss-notice-v3,
body .dss-notice-v3 {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) 56px !important;
    grid-template-areas: 'action message icon' !important;
    align-items: center !important;
    gap: 18px !important;
    direction: ltr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 92px !important;
    margin: 14px 0 18px !important;
    padding: 18px 22px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__action,
body .wc-block-components-notices .dss-notice-v3__action,
body .dss-notice-v3__action {
    grid-area: action !important;
    justify-self: start !important;
    align-self: center !important;
    width: auto !important;
    min-width: 170px !important;
    max-width: 240px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content,
body .wc-block-components-notices .dss-notice-v3__content,
body .dss-notice-v3__content {
    grid-area: message !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__message,
body .wc-block-components-notices .dss-notice-v3__message,
body .dss-notice-v3__message {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #1f2437 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.95 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__message > *:first-child,
body .wc-block-components-notices .dss-notice-v3__message > *:first-child,
body .dss-notice-v3__message > *:first-child {
    margin-top: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__message > *:last-child,
body .wc-block-components-notices .dss-notice-v3__message > *:last-child,
body .dss-notice-v3__message > *:last-child {
    margin-bottom: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__message p,
body .wc-block-components-notices .dss-notice-v3__message p,
body .dss-notice-v3__message p {
    margin: 0 !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__icon,
body .wc-block-components-notices .dss-notice-v3__icon,
body .dss-notice-v3__icon {
    grid-area: icon !important;
    justify-self: end !important;
    align-self: center !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .dss-notice-v3,
    body .wc-block-components-notices .dss-notice-v3,
    body .dss-notice-v3 {
        grid-template-columns: minmax(0, 1fr) 48px !important;
        grid-template-areas:
            'message icon'
            'action action' !important;
        gap: 12px 14px !important;
        padding: 16px !important;
        min-height: 0 !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__message,
    body .wc-block-components-notices .dss-notice-v3__message,
    body .dss-notice-v3__message {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__icon,
    body .wc-block-components-notices .dss-notice-v3__icon,
    body .dss-notice-v3__icon {
        width: 48px !important;
        height: 48px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__action,
    body .wc-block-components-notices .dss-notice-v3__action,
    body .dss-notice-v3__action {
        width: 100% !important;
        max-width: none !important;
    }
}


/* Force notice bar to full page width */
body .woocommerce-notices-wrapper,
body .wc-block-components-notices,
body .woocommerce-notices-wrapper > *,
body .wc-block-components-notices > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3,
body .wc-block-components-notices .dss-notice-v3,
body .dss-notice-v3 {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) 56px !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__action,
body .wc-block-components-notices .dss-notice-v3__action,
body .dss-notice-v3__action {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
}

body .woocommerce-notices-wrapper .dss-notice-v3__content,
body .wc-block-components-notices .dss-notice-v3__content,
body .dss-notice-v3__content,
body .woocommerce-notices-wrapper .dss-notice-v3__message,
body .wc-block-components-notices .dss-notice-v3__message,
body .dss-notice-v3__message {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

@media (max-width: 767px) {
    body .woocommerce-notices-wrapper .dss-notice-v3,
    body .wc-block-components-notices .dss-notice-v3,
    body .dss-notice-v3 {
        grid-template-columns: minmax(0, 1fr) 48px !important;
    }

    body .woocommerce-notices-wrapper .dss-notice-v3__action,
    body .wc-block-components-notices .dss-notice-v3__action,
    body .dss-notice-v3__action {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}


/* WooCommerce floating notice v4 */
body .dss-notice-host {
    position: fixed !important;
    top: 22px !important;
    left: 50% !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: min(1180px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
}

body.admin-bar .dss-notice-host {
    top: 54px !important;
}

body .dss-notice-host .dss-notice-v4,
body .woocommerce-notices-wrapper .dss-notice-v4,
body .wc-block-components-notices .dss-notice-v4,
body .dss-notice-v4 {
    all: unset !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: 36px auto minmax(0, 1fr) 56px !important;
    grid-template-areas: 'close action message icon' !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 88px !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #d8eadf !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%) !important;
    color: #1f2437 !important;
    box-shadow: 0 18px 55px rgba(17, 29, 23, .16) !important;
    direction: ltr !important;
    text-align: right !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    font-family: inherit !important;
    transition: opacity .35s ease, transform .35s ease !important;
}

body .dss-notice-host .dss-notice-v4.woocommerce-info,
body .dss-notice-host .dss-notice-v4.is-info {
    border-color: #d9e4ff !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%) !important;
}

body .dss-notice-host .dss-notice-v4.woocommerce-error,
body .dss-notice-host .dss-notice-v4.is-error {
    border-color: #f1d5d9 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff6f7 100%) !important;
}

body .dss-notice-v4::before {
    content: none !important;
    display: none !important;
}

body .dss-notice-v4 *,
body .dss-notice-v4 *::before,
body .dss-notice-v4 *::after {
    box-sizing: border-box !important;
}

body .dss-notice-v4__icon {
    all: unset !important;
    box-sizing: border-box !important;
    grid-area: icon !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #43b96b !important;
    color: #ffffff !important;
    box-shadow: 0 11px 24px rgba(67, 185, 107, .24) !important;
}

body .dss-notice-v4__icon.is-info {
    background: #4c72f8 !important;
    box-shadow: 0 11px 24px rgba(76, 114, 248, .24) !important;
}

body .dss-notice-v4__icon.is-error {
    background: #e35f6f !important;
    box-shadow: 0 11px 24px rgba(227, 95, 111, .24) !important;
}

body .dss-notice-v4__icon svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    color: #ffffff !important;
}

body .dss-notice-v4__content {
    all: unset !important;
    box-sizing: border-box !important;
    grid-area: message !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202538 !important;
    direction: rtl !important;
    text-align: right !important;
    font-family: inherit !important;
}

body .dss-notice-v4__message {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202538 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.9 !important;
    direction: rtl !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

body .dss-notice-v4__message > * {
    max-width: 100% !important;
}

body .dss-notice-v4__message > *:first-child {
    margin-top: 0 !important;
}

body .dss-notice-v4__message > *:last-child {
    margin-bottom: 0 !important;
}

body .dss-notice-v4__message p,
body .dss-notice-v4__message li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body .dss-notice-v4__action {
    all: unset !important;
    box-sizing: border-box !important;
    grid-area: action !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    min-width: 158px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    background: #211b8e !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(33, 27, 142, .20) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: transform .2s ease, background-color .2s ease !important;
}

body .dss-notice-v4__action:hover {
    background: #2d27a5 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

body .dss-notice-v4__close {
    all: unset !important;
    box-sizing: border-box !important;
    grid-area: close !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    color: #7d8294 !important;
    background: rgba(31, 36, 55, .055) !important;
    cursor: pointer !important;
}

body .dss-notice-v4__close:hover {
    color: #1f2437 !important;
    background: rgba(31, 36, 55, .10) !important;
}

body .dss-notice-v4__close svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
}

body .dss-notice-v4.dss-notice-auto-hide::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    height: 3px !important;
    background: linear-gradient(90deg, #211b8e 0%, #5466df 100%) !important;
    transform-origin: right center !important;
    animation: dssNoticeTimer 5s linear forwards !important;
}

body .dss-notice-v4.is-hiding {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

@media (max-width: 900px) {
    body .dss-notice-host {
        top: 12px !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
    }

    body.admin-bar .dss-notice-host {
        top: 58px !important;
    }

    body .dss-notice-host .dss-notice-v4,
    body .dss-notice-v4 {
        grid-template-columns: 34px minmax(0, 1fr) 50px !important;
        grid-template-areas:
            'close message icon'
            'action action action' !important;
        gap: 12px 14px !important;
        min-height: 0 !important;
        padding: 15px !important;
        border-radius: 16px !important;
    }

    body .dss-notice-v4__icon {
        width: 50px !important;
        height: 50px !important;
    }

    body .dss-notice-v4__icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    body .dss-notice-v4__message {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    body .dss-notice-v4__action {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 44px !important;
        justify-self: stretch !important;
        white-space: normal !important;
    }
}

@media (max-width: 782px) {
    body.admin-bar .dss-notice-host {
        top: 60px !important;
    }
}

@media (max-width: 480px) {
    body .dss-notice-host .dss-notice-v4,
    body .dss-notice-v4 {
        grid-template-columns: 32px minmax(0, 1fr) 46px !important;
        gap: 10px !important;
        padding: 13px !important;
    }

    body .dss-notice-v4__icon {
        width: 46px !important;
        height: 46px !important;
    }

    body .dss-notice-v4__close {
        width: 32px !important;
        height: 32px !important;
    }
}

/* Compact bottom-left WooCommerce toast v5 */
body .dss-notice-host {
    top: auto !important;
    right: auto !important;
    bottom: 18px !important;
    left: 18px !important;
    align-items: stretch !important;
    width: min(390px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    transform: none !important;
}

body.admin-bar .dss-notice-host {
    top: auto !important;
    bottom: 18px !important;
}

body .dss-notice-host .dss-notice-v4,
body .woocommerce-notices-wrapper .dss-notice-v4,
body .wc-block-components-notices .dss-notice-v4,
body .dss-notice-v4 {
    grid-template-columns: 28px minmax(0, 1fr) 42px !important;
    grid-template-areas:
        'close message icon'
        'action action action' !important;
    gap: 8px 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 38px rgba(17, 29, 23, .18) !important;
}

body .dss-notice-v4__icon {
    width: 42px !important;
    height: 42px !important;
    box-shadow: 0 8px 18px rgba(67, 185, 107, .22) !important;
}

body .dss-notice-v4__icon.is-info {
    box-shadow: 0 8px 18px rgba(76, 114, 248, .22) !important;
}

body .dss-notice-v4__icon.is-error {
    box-shadow: 0 8px 18px rgba(227, 95, 111, .22) !important;
}

body .dss-notice-v4__icon svg {
    width: 20px !important;
    height: 20px !important;
}

body .dss-notice-v4__message {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.75 !important;
}

body .dss-notice-v4__action {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    justify-self: stretch !important;
}

body .dss-notice-v4__close {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
}

body .dss-notice-v4__close svg {
    width: 16px !important;
    height: 16px !important;
}

body .dss-notice-v4.is-hiding {
    transform: translateX(-12px) !important;
}

@media (max-width: 600px) {
    body .dss-notice-host,
    body.admin-bar .dss-notice-host {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
    }

    body .dss-notice-host .dss-notice-v4,
    body .dss-notice-v4 {
        grid-template-columns: 28px minmax(0, 1fr) 40px !important;
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 13px !important;
    }

    body .dss-notice-v4__icon {
        width: 40px !important;
        height: 40px !important;
    }

    body .dss-notice-v4__message {
        font-size: 12.5px !important;
        line-height: 1.7 !important;
    }
}

/* Remove browser focus outlines from non-interactive cart sections */
body.woocommerce-cart :where(
    .woocommerce,
    form.woocommerce-cart-form,
    table.shop_table,
    table.shop_table > tbody,
    table.shop_table tr.cart_item,
    table.shop_table tr.cart_item > td,
    .cart-collaterals,
    .cart_totals,
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items > tbody,
    .wc-block-cart-items__row,
    .wc-block-cart-items__row > td
) {
    -webkit-tap-highlight-color: transparent;
}

body.woocommerce-cart :where(
    .woocommerce,
    form.woocommerce-cart-form,
    table.shop_table,
    table.shop_table > tbody,
    table.shop_table tr.cart_item,
    table.shop_table tr.cart_item > td,
    .cart-collaterals,
    .cart_totals,
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items > tbody,
    .wc-block-cart-items__row,
    .wc-block-cart-items__row > td
):focus,
body.woocommerce-cart :where(
    .woocommerce,
    form.woocommerce-cart-form,
    table.shop_table,
    table.shop_table > tbody,
    table.shop_table tr.cart_item,
    table.shop_table tr.cart_item > td,
    .cart-collaterals,
    .cart_totals,
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items > tbody,
    .wc-block-cart-items__row,
    .wc-block-cart-items__row > td
):focus-visible,
body.woocommerce-cart :where(
    .woocommerce,
    form.woocommerce-cart-form,
    table.shop_table,
    table.shop_table > tbody,
    table.shop_table tr.cart_item,
    table.shop_table tr.cart_item > td,
    .cart-collaterals,
    .cart_totals,
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items > tbody,
    .wc-block-cart-items__row,
    .wc-block-cart-items__row > td
):focus-within {
    outline: 0 !important;
    outline-offset: 0 !important;
}

/* Keep cart product titles clean while preserving the product links */
body.woocommerce-cart :where(
    td.product-name a,
    .product-name a,
    .wc-block-cart-item__product a,
    .wc-block-components-product-name,
    .wc-block-components-product-name a,
    .wc-block-cart-items__row .wc-block-components-product-name
),
body.woocommerce-cart :where(
    td.product-name a,
    .product-name a,
    .wc-block-cart-item__product a,
    .wc-block-components-product-name,
    .wc-block-components-product-name a,
    .wc-block-cart-items__row .wc-block-components-product-name
):hover,
body.woocommerce-cart :where(
    td.product-name a,
    .product-name a,
    .wc-block-cart-item__product a,
    .wc-block-components-product-name,
    .wc-block-components-product-name a,
    .wc-block-cart-items__row .wc-block-components-product-name
):focus,
body.woocommerce-cart :where(
    td.product-name a,
    .product-name a,
    .wc-block-cart-item__product a,
    .wc-block-components-product-name,
    .wc-block-components-product-name a,
    .wc-block-cart-items__row .wc-block-components-product-name
):focus-visible,
body.woocommerce-cart :where(
    td.product-name a,
    .product-name a,
    .wc-block-cart-item__product a,
    .wc-block-components-product-name,
    .wc-block-components-product-name a,
    .wc-block-cart-items__row .wc-block-components-product-name
):active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}


/* Hide WooCommerce cart savings badge on line items */
body.dss-cart-page .wc-block-components-product-badge,
body.dss-cart-page .wc-block-components-sale-badge,
body.dss-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-components-product-badge {
    display: none !important;
}

body.dss-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    gap: 0 !important;
}


/* Improve cart item price hierarchy and product note readability */
body.dss-cart-page .wc-block-cart-item__prices {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 4px 0 10px !important;
    padding: 7px 10px !important;
    border: 1px solid #e7e9f2 !important;
    border-radius: 10px !important;
    background: #f8f9fc !important;
    color: #202235 !important;
    line-height: 1 !important;
}

body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 5px 9px !important;
    margin: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value,
body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value.is-discounted,
body.dss-cart-page .wc-block-cart-item__prices ins,
body.dss-cart-page .wc-block-cart-item__prices ins .woocommerce-Price-amount,
body.dss-cart-page .wc-block-cart-item__prices > .woocommerce-Price-amount {
    color: var(--dss-primary) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__regular,
body.dss-cart-page .wc-block-cart-item__prices del,
body.dss-cart-page .wc-block-cart-item__prices del .woocommerce-Price-amount {
    color: #9a9fb0 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    text-decoration-line: line-through !important;
    text-decoration-thickness: 1px !important;
    text-decoration-color: #8f94a5 !important;
    white-space: nowrap !important;
}

body.dss-cart-page .wc-block-cart-item__prices .woocommerce-Price-currencySymbol {
    margin-inline-start: 2px !important;
    font-size: .82em !important;
    font-weight: inherit !important;
}

body.dss-cart-page .wc-block-components-product-metadata {
    display: block !important;
    margin: 0 !important;
    color: #666c7e !important;
    font-size: 11.5px !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-product-metadata__description {
    display: inline-flex !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 6px 9px !important;
    border: 1px solid #eceef5 !important;
    border-radius: 9px !important;
    background: #fbfbfd !important;
    color: #676d7f !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.75 !important;
}

body.dss-cart-page .wc-block-components-product-metadata__description::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    margin-top: .55em !important;
    flex: 0 0 7px !important;
    border-radius: 50% !important;
    background: var(--dss-primary) !important;
    opacity: .75 !important;
}

body.dss-cart-page .wc-block-components-product-metadata__description p,
body.dss-cart-page .wc-block-components-product-metadata__description > * {
    margin: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

/* Match the improved hierarchy in the classic WooCommerce cart */
body.woocommerce-cart .shop_table.cart td.product-price {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 5px 9px !important;
    padding: 7px 10px !important;
    border: 1px solid #e7e9f2 !important;
    border-radius: 10px !important;
    background: #f8f9fc !important;
    color: var(--dss-primary) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.5 !important;
}

body.woocommerce-cart .shop_table.cart td.product-price ins,
body.woocommerce-cart .shop_table.cart td.product-price ins .woocommerce-Price-amount {
    color: var(--dss-primary) !important;
    text-decoration: none !important;
}

body.woocommerce-cart .shop_table.cart td.product-price del,
body.woocommerce-cart .shop_table.cart td.product-price del .woocommerce-Price-amount {
    color: #9a9fb0 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-decoration-thickness: 1px !important;
}

body.woocommerce-cart .shop_table.cart td.product-name .variation,
body.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta {
    display: inline-block !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 6px 9px !important;
    border: 1px solid #eceef5 !important;
    border-radius: 9px !important;
    background: #fbfbfd !important;
    color: #676d7f !important;
    font-size: 11.5px !important;
    line-height: 1.75 !important;
}

@media (max-width: 600px) {
    body.dss-cart-page .wc-block-cart-item__prices {
        margin-bottom: 8px !important;
        padding: 6px 8px !important;
    }

    body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value,
    body.dss-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value.is-discounted,
    body.dss-cart-page .wc-block-cart-item__prices ins,
    body.dss-cart-page .wc-block-cart-item__prices > .woocommerce-Price-amount {
        font-size: 13px !important;
    }

    body.dss-cart-page .wc-block-components-product-metadata__description {
        padding: 5px 8px !important;
        font-size: 10.5px !important;
    }
}

/* Refine cart quantity control */
body.dss-cart-page .wc-block-components-quantity-selector,
body.woocommerce-cart .shop_table.cart .quantity {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.dss-cart-page .wc-block-components-quantity-selector:focus,
body.dss-cart-page .wc-block-components-quantity-selector:focus-within,
body.woocommerce-cart .shop_table.cart .quantity:focus,
body.woocommerce-cart .shop_table.cart .quantity:focus-within {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.dss-cart-page .wc-block-components-quantity-selector button,
body.dss-cart-page .wc-block-components-quantity-selector button:disabled,
body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control,
body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control:disabled {
    border: 0 !important;
    outline: 0 !important;
    background: rgba(12, 12, 104, 1) !important;
    color: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

body.dss-cart-page .wc-block-components-quantity-selector button:focus,
body.dss-cart-page .wc-block-components-quantity-selector button:focus-visible,
body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control:focus,
body.woocommerce-cart .shop_table.cart .quantity .dss-quantity-control:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Cart form and product metadata typography overrides */
.wc-block-components-form .wc-block-components-text-input.has-error label,
.wc-block-components-text-input.has-error label {
    color: #cc1818;
    font-size: 16px !important;
    font-weight: 700;
}

body.dss-cart-page .wc-block-components-text-input input {
    min-height: 60px !important;
    border: 1px solid #e4e7f0 !important;
    border-radius: 0 !important;
    background: #f8f9fc !important;
    color: #202235 !important;
    font-size: 17px !important;
    font-weight: 600;
}

.wc-block-components-validation-error {
    max-width: 100%;
    min-height: 1em;
    padding: 8px 0 0;
    color: #cc1818;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
}

body.dss-cart-page .wc-block-components-product-metadata {
    display: block !important;
    margin: 0 !important;
    color: #666c7e !important;
    font-size: 16.5px !important;
    font-weight: 700;
    line-height: 1.7 !important;
    text-align: right !important;
}

body.dss-cart-page .wc-block-components-product-metadata__description p,
body.dss-cart-page .wc-block-components-product-metadata__description > * {
    margin: 0 !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: inherit !important;
}



/* Remove click focus frames from all structural sections in the cart UI */
body.dss-cart-page :where(
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-components-main,
    .wc-block-components-sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items__row,
    .wc-block-components-order-summary,
    .wc-block-components-order-summary-item,
    .wc-block-components-totals-wrapper,
    .wc-block-components-totals-item,
    .wc-block-components-totals-coupon,
    .wc-block-components-panel,
    .wc-block-components-panel__button,
    .wc-block-components-totals-coupon__button,
    .wc-block-components-totals-coupon-link,
    .wc-block-components-shipping-rates-control,
    .wc-block-components-address-card,
    details,
    summary
) {
    -webkit-tap-highlight-color: transparent !important;
}

body.dss-cart-page :where(
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-components-main,
    .wc-block-components-sidebar,
    .wc-block-cart-items,
    .wc-block-cart-items__row,
    .wc-block-components-order-summary,
    .wc-block-components-order-summary-item,
    .wc-block-components-totals-wrapper,
    .wc-block-components-totals-item,
    .wc-block-components-totals-coupon,
    .wc-block-components-panel,
    .wc-block-components-panel__button,
    .wc-block-components-totals-coupon__button,
    .wc-block-components-totals-coupon-link,
    .wc-block-components-shipping-rates-control,
    .wc-block-components-address-card,
    details,
    summary
):is(:focus, :focus-visible, :focus-within) {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

body.dss-cart-page :where(
    .wc-block-components-panel__button,
    .wc-block-components-totals-coupon__button,
    .wc-block-components-totals-coupon-link,
    summary
):is(:focus, :focus-visible, :active) {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}


/* Mobile-only cart responsive hardening */
@media (max-width: 767px) {
    html,
    body.dss-cart-page {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    body.dss-cart-page,
    body.dss-cart-page * {
        box-sizing: border-box;
    }

    body.dss-cart-page .wp-site-blocks,
    body.dss-cart-page main,
    body.dss-cart-page main.site-main,
    body.dss-cart-page .site-main,
    body.dss-cart-page .entry-content,
    body.dss-cart-page .wp-block-post-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.dss-cart-page .entry-content,
    body.dss-cart-page .wp-block-post-content {
        margin-inline: 0 !important;
        padding-inline: 12px !important;
    }

    body.dss-cart-page .wp-block-woocommerce-cart,
    body.dss-cart-page .wc-block-cart,
    body.dss-cart-page .wc-block-components-main,
    body.dss-cart-page .wc-block-components-sidebar-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.dss-cart-page .wc-block-cart__main,
    body.dss-cart-page .wc-block-cart__sidebar,
    body.dss-cart-page .wc-block-components-main,
    body.dss-cart-page .wc-block-components-sidebar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        padding-inline: 0 !important;
    }

    body.dss-cart-page .wc-block-cart__sidebar,
    body.dss-cart-page .wc-block-components-sidebar {
        margin-top: 18px !important;
    }

    body.dss-cart-page table.wc-block-cart-items,
    body.dss-cart-page .wc-block-cart-items,
    body.dss-cart-page .wc-block-cart-items tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-spacing: 0 !important;
    }

    body.dss-cart-page .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-areas:
            "image product"
            "image total" !important;
        column-gap: 12px !important;
        row-gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 14px !important;
        padding: 14px !important;
        border: 1px solid #e1e5ef !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 7px 20px rgba(22, 29, 56, .055) !important;
    }

    body.dss-cart-page .wc-block-cart-items__row td {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.dss-cart-page .wc-block-cart-item__image {
        grid-area: image !important;
        align-self: start !important;
        width: 82px !important;
        max-width: 82px !important;
        padding: 0 !important;
    }

    body.dss-cart-page .wc-block-cart-item__image a,
    body.dss-cart-page .wc-block-cart-item__image img {
        width: 82px !important;
        max-width: 82px !important;
        height: 92px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        object-fit: contain !important;
        background: #fff !important;
    }

    body.dss-cart-page .wc-block-cart-item__product {
        grid-area: product !important;
        align-self: start !important;
        padding: 0 !important;
        text-align: right !important;
    }

    body.dss-cart-page .wc-block-cart-item__total {
        grid-area: total !important;
        align-self: end !important;
        min-width: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        white-space: normal !important;
    }

    body.dss-cart-page .wc-block-components-product-name {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 5px !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.dss-cart-page .wc-block-cart-item__prices,
    body.dss-cart-page .wc-block-components-product-price,
    body.dss-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 4px 7px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
    }

    body.dss-cart-page .wc-block-cart-item__prices {
        margin: 6px 0 !important;
        padding: 6px 8px !important;
    }

    body.dss-cart-page .wc-block-components-product-metadata,
    body.dss-cart-page .wc-block-components-product-metadata__description,
    body.dss-cart-page .wc-block-components-product-metadata__description > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }

    body.dss-cart-page .wc-block-components-quantity-selector {
        width: 108px !important;
        max-width: 100% !important;
        height: 38px !important;
        margin: 8px 0 0 !important;
    }

    body.dss-cart-page .wc-block-cart-item__remove-link {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        margin-top: 9px !important;
    }

    body.dss-cart-page .wc-block-cart__sidebar > div,
    body.dss-cart-page .wp-block-woocommerce-cart-order-summary-block {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    body.dss-cart-page .wc-block-cart__totals-title {
        padding: 16px 14px 12px !important;
        font-size: 16px !important;
    }

    body.dss-cart-page .wc-block-components-totals-wrapper {
        padding: 12px 14px !important;
    }

    body.dss-cart-page .wc-block-components-totals-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.dss-cart-page .wc-block-components-totals-item__label,
    body.dss-cart-page .wc-block-components-totals-item__value {
        width: auto !important;
        max-width: 65% !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.dss-cart-page .wc-block-components-totals-coupon__form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.dss-cart-page .wc-block-components-totals-coupon__form .wc-block-components-text-input,
    body.dss-cart-page .wc-block-components-totals-coupon__form input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.dss-cart-page .wc-block-cart__submit {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 14px 14px !important;
    }

    body.dss-cart-page .wc-block-cart__submit-container,
    body.dss-cart-page .wc-block-cart__submit-container--sticky {
        position: static !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.dss-cart-page .wc-block-cart__submit-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 52px !important;
    }

    body.dss-cart-page .wc-block-cart__empty-cart__title,
    body.dss-cart-page .wc-block-cart__empty-cart__title.with-empty-cart-icon {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 8px !important;
        font-size: 22px !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }

    body.dss-cart-page .wc-block-grid__products,
    body.dss-cart-page .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.dss-cart-page .wc-block-grid__product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 10px !important;
        border: 1px solid #e5e8f1 !important;
        border-radius: 12px !important;
        background: #fff !important;
    }

    body.dss-cart-page .wc-block-grid__product-image img {
        width: 100% !important;
        height: 130px !important;
        object-fit: contain !important;
    }

    body.dss-cart-page .wc-block-grid__product-title,
    body.dss-cart-page .wc-block-grid__product-price,
    body.dss-cart-page .wc-block-grid__product-add-to-cart {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-cart .woocommerce,
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-inline: 0 !important;
    }

    body.woocommerce-cart .shop_table.cart,
    body.woocommerce-cart .shop_table.cart tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .shop_table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 10px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 14px !important;
        padding: 14px !important;
        border: 1px solid #e1e5ef !important;
        border-radius: 14px !important;
        background: #fff !important;
    }

    body.woocommerce-cart .shop_table.cart tr.cart_item td {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        white-space: normal !important;
    }

    body.woocommerce-cart .shop_table.cart td.product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 / span 4 !important;
    }

    body.woocommerce-cart .shop_table.cart td.product-thumbnail img {
        width: 82px !important;
        height: 92px !important;
        object-fit: contain !important;
    }

    body.woocommerce-cart .shop_table.cart td.product-name,
    body.woocommerce-cart .shop_table.cart td.product-price,
    body.woocommerce-cart .shop_table.cart td.product-quantity,
    body.woocommerce-cart .shop_table.cart td.product-subtotal,
    body.woocommerce-cart .shop_table.cart td.product-remove {
        grid-column: 2 !important;
        text-align: right !important;
    }

    body.woocommerce-cart .shop_table.cart td.product-name,
    body.woocommerce-cart .shop_table.cart td.product-name a {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-cart .cart_totals {
        float: none !important;
        clear: both !important;
    }
}

@media (max-width: 420px) {
    body.dss-cart-page .entry-content,
    body.dss-cart-page .wp-block-post-content {
        padding-inline: 9px !important;
    }

    body.dss-cart-page .wc-block-cart-items__row {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        column-gap: 10px !important;
        padding: 11px !important;
    }

    body.dss-cart-page .wc-block-cart-item__image,
    body.dss-cart-page .wc-block-cart-item__image a,
    body.dss-cart-page .wc-block-cart-item__image img {
        width: 72px !important;
        max-width: 72px !important;
    }

    body.dss-cart-page .wc-block-cart-item__image img {
        height: 82px !important;
    }

    body.dss-cart-page .wc-block-components-totals-coupon__form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.dss-cart-page .wc-block-components-totals-coupon__form button {
        width: 100% !important;
    }

    body.dss-cart-page .wc-block-grid__products,
    body.dss-cart-page .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
