:root {
    --color-catalog-primary: #ffff00;
    --color-catalog-secondary: #F8F9FA;
    --color-catalog-light: #FFFFFF;
    --color-catalog-dark: #2C2B2B;
    --color-catalog-dark50: #2c2b2b80;
    --color-catalog-dark25: #2c2b2b40;
    --color-catalog-action: #204D6D;
    --color-catalog-reaction: #FF4F0F;
    --color-catalog-mute: #eef2f6;
    --color-catalog-status-success: #4CAF50;
    --color-catalog-status-warning: #FFB600;
    --color-catalog-status-info: #0D5EA6;
    --color-catalog-status-error: #FF0101;
    --color-catalog-status-neutral: #F6F3F4;
    --color-catalog-status-success-light: #E8F5E9;
    --color-catalog-status-warning-light: #FFF3E0;
    --color-catalog-status-info-light: #F6F3F6;
    --color-catalog-status-neutral-light: #F3E5F5;
    --color-catalog-status-neutral-error: #F76D6D;

    --color-gradient-primary: linear-gradient(320deg, #ffb600 0%, #ffff00 100%);
    --color-gradient-secondary: linear-gradient(300deg, #2c2b2b 0%, #ffffff 15%, #ffffff 85%, #2c2b2b 100%);
    --color-gradient-focus: linear-gradient(320deg, #FFB600 0%, #14699f 100%);

    --control-title: clamp(0.75rem, 0.75rem + 0.5vw, 1rem);

    --hover-catalog-transform: translateY(-5px);
    --hover-catalog-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    --box-catalog-shadow: 0px 4px 10px rgb(0, 0, 0, 0.15);
    --drop-catalog-shadow: drop-shadow(-6px 6px 4px rgb(0, 0, 0, .25));

    --bg-product-default: url('/storage/smart/photos/shares/product-bg.png');
    --bg-product-default-2: url('/storage/smart/photos/shares/product-bg-2.png');

}

body {
    --color-template-darkblue: var(--footer-bg, darkblue);
    --color-catalog-action: var(--footer-bg, darkblue);
}

article {
    min-height: 80dvh
}

.breadcrumb li {
    position: relative;
    z-index: 7;
}

@media screen and (width <=1000px) {
    .breadcrumb {
        position: fixed;
        top: 96px;
        left: 0;
        z-index: 6;
        width: 100%;
        padding-top: 0;
    }

    .breadcrumb ul {
        justify-content: center;
    }

    .breadcrumb:has(.in-kits) {
        top: 52px;
    }
}

@media screen and (width <=600px) {
    .breadcrumb {
        top: 104px;
    }

    .breadcrumb:has(.in-kits) {
        top: 54px;
    }
}

.arrow-down {
    background-color: var(--color-catalog-light);
}

.arrow-down:hover {
    color: var(--color-catalog-primary);
    border-color: var(--color-catalog-primary);
    background-color: var(--color-catalog-action);
}

.space-fixer-top {
    padding-top: 10px;
    margin-top: 52px;
}

.free-price:has(i) {
    color: #204d6d;
    display: inline-flex;
    width: 32px;
    height: 32px;
    background-color: #ffbf00;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.free-price :where(i) {
    font-size: 1.2rem;
}

.stock {
    position: relative;
}

.stock:has(.success) {
    color: #198754;
}

.stock:has(.warning) {
    color: #204d6d;
}

.stock:has(.fail) {
    color: #8e71c1;
}

.bg-catalog-primary {
    background-color: #ffff00;
    color: var(--color-catalog-dark);
}

.bg-catalog-secondary {
    background-color: #F8F9FA;
    color: var(--color-catalog-dark);
}

.bg-catalog-light {
    background-color: #F7F7F7;
    color: var(--color-catalog-dark);
}

.bg-catalog-dark {
    background-color: var(--color-catalog-dark);
    color: var(--color-catalog-light);
}

.bg-catalog-action {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
}

.bg-catalog-status-success {
    background-color: var(--color-catalog-status-success);
}

.bg-catalog-status-warning {
    background-color: var(--color-catalog-status-warning);
}

.bg-catalog-status-info {
    background-color: var(--color-catalog-status-info);
}

.bg-catalog-status-error {
    background-color: var(--color-catalog-status-error);
}

.border-current {
    border: 1px solid currentColor;
}

small.text-danger {
    font-size: 72%;
}

/* By role and type */
[class*="catalog-"] *:where([role="button"], [type="button"]) {
    padding: 6px;
    color: var(--color-catalog-dark50);
    background-color: transparent;
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 6px;
}

[class*="catalog-"] *:where([role="button"], [type="button"]):hover {
    color: var(--color-catalog-dark);
}

/* icons */
.icon-catalog {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    position: relative;
}

.icon-handshake:before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url('/storage/smart/photos/shares/partner.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


/* Component: checkbox */
.check-box input[type="checkbox"] {
    margin-right: 6px;
    accent-color: var(--color-catalog-action);
    height: 16px;
    width: 16px;
}

/* Component: buton wishlist or add to cart */
.add-to-cart {
    color: var(--color-catalog-dark);
    background: var(--color-catalog-primary);
    border: 2px solid var(--color-catalog-primary);
    padding: 6px 12px;
    font-size: clamp(1rem, 0.875rem + 0.25vw, 1.125rem);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    gap: 0 6px;
    position: relative;
    transition: all .15s ease-in-out;
    z-index: 1;
}

.add-to-cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--color-catalog-status-warning);
    background-size: 100% 100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.add-to-cart:is(:hover, :focus) {
    font-weight: bold;
    background: var(--color-catalog-primary);
    transform: scale(1.1);
}

.add-to-cart:is(:hover, :focus)::before {
    opacity: .2;
}

.add-to-cart .icon-group {
    position: relative;
}

.add-to-cart .icon-group .loading {
    position: absolute;
}

.add-to-cart .on-cart {
    position: absolute;
    top: -4px;
    right: -14px;
    width: 14px;
    height: 14px;
    font-size: 10px;
    border-radius: 50%;
    border: 1px solid var(--color-catalog-primary);
    background-color: var(--color-catalog-secondary);
}

.add-to-cart:hover .on-cart {
    border: 1px solid var(--color-catalog-primary);
    background-color: var(--color-catalog-dark);
    color: var(--color-catalog-light);
}

.add-to-cart .on-cart i {
    font-size: 12px !important;
    margin: 0 !important;
}

/* Component: One click button */
.one-click {
    color: var(--color-catalog-dark);
    background-color: var(--color-catalog-secondary);
    border: 2px solid var(--color-catalog-secondary);
    padding: 6px 12px;
    font-size: clamp(1rem, 0.875rem + 0.25vw, 1.125rem);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    gap: 0 6px;
    position: relative;
    transition: all .15s ease-in-out;
}

.one-click:hover {
    color: var(--color-catalog-action);
    border-color: var(--color-catalog-action);
}

.one-click:where([type="submit"]) {
    color: var(--color-catalog-light);
    background-color: var(--color-catalog-action);
}

.one-click:where([type="submit"]):hover {
    color: var(--color-catalog-dark);
    background-color: var(--color-catalog-primary);
    box-shadow: none;
}


/* Component: button default  */
.btn-stud {
    background-color: transparent;
    border: 1px solid var(--color-catalog-dark);
    color: var(--color-catalog-dark);
}

/* Component: Single Nav Button  */
.single-nav-btn {
    position: relative;
    padding: 6px 12px;
    border: 1px solid transparent;
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

/* Component: Single Style Sticker  */
.btn-sticker {
    --bg-clip: var(--color-catalog-light);
    --bg-pick: var(--color-catalog-primary);
}

.btn-sticker.dark {
    --bg-clip: var(--color-catalog-light);
    --bg-pick: var(--color-catalog-primary);
}

.btn-sticker::before {
    background-color: var(--bg-pick);
    border: 1px solid var(--color-catalog-dark);
}

/* Component: Call me form  */
.call-me-form {
    position: relative;
}

.call-me-form .message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff66;
    z-index: 1;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-me-form .message:not(:has(>*)) {
    z-index: -1;
}

.call-me-form .message-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px 0;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    padding: 12px 24px;
    margin-bottom: clamp(20px, 6%, 40px);
    border: 1px solid var(--color-catalog-secondary);
}

.call-me-form .message-content .icon {
    font-size: clamp(16px, 14px + 2vw, 22px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-me-form .message-content.success {
    color: var(--color-catalog-status-success);
    border-color: var(--color-catalog-status-success);
}

.call-me-form .message-content.success .icon {
    background-color: var(--color-catalog-status-success);
    color: var(--color-catalog-light);
}

.call-me-form .message-content.warning {
    color: var(--color-catalog-status-warning);
    border-color: var(--color-catalog-status-warning);
}

.call-me-form .message-content.warning .icon {
    background-color: var(--color-catalog-status-warning);
    color: currentColor;
}

.call-me-form .message-content.error {
    color: var(--color-catalog-status-error);
    border-color: var(--color-catalog-status-error);
}

.call-me-form .message-content.error .icon {
    background-color: var(--color-catalog-status-error);
    color: var(--color-catalog-light);
}

/* Component: price slider */
.price-slider {
    position: relative;
}

.price-range-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.range-slider {
    width: 100%;
    margin: 10px 0;
}

@media screen and (width <=600px) {
    .price-slider {
        display: flex;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .range-slider {
        display: none;
    }
}

/* Component: range slider */
.range-slider input.form-range {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

/* Component: price input */
.input-group-price {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.price-input {
    flex: 1;
}

.price-input label {
    display: block;
    margin-bottom: 5px;
    font-size: clamp(10px, 10px + 0.25vw, 14px);
    color: #666;
}

@media screen and (width <=600px) {
    .input-group-price {
        width: 60%;
        gap: 5px;
        margin-bottom: 0;
    }

    .price-input input {
        line-height: 1;
        font-size: 12px;
    }
}

/* Component: price slider apply button */
.price-slider .apply-btn {
    width: 100%;
    padding: 10px;
    color: var(--color-catalog-light);
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 500;
    font-size: clamp(0.75rem, 0.625rem + 0.25vw, 1rem);
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: var(--color-catalog-action);
}

.price-slider .apply-btn:hover {
    box-shadow: var(--hover-catalog-shadow);
}

@media screen and (width <=600px) {
    .price-slider .apply-btn {
        width: 40%;
        padding: 4px;
    }
}

/* Component: range slider */
.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

.form-range::-ms-thumb {
    background: #0d6efd;
}

/* Component: button show filters in mobile  */
#show-filters-mobile {
    display: none;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-catalog-dark);
    background-color: #fed700;
    border: 1px solid #fed700;
}

#show-filters-mobile:hover {
    background-color: #fed700;
    border-top: 1px solid #878787;

}

/* Component: close filters button  */
#close-filters {
    display: none;
    margin-left: auto;
    border: 1px solid var(--color-catalog-secondary);
    background-color: transparent;
    color: #204d6d;
    position: relative;
    z-index: 2;
    border-radius: inherit;
}

@media screen and (width <=600px) {
    #close-filters {
        display: block;
    }
}

/* Component: read more button  */
.read-more {
    border: 1px solid var(--color-catalog-action);
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    padding: 6px 12px;
    transition: all 0.3s ease-in-out;
    font-size: clamp(10px, 1vw, 14px);
    margin: 6px 0;
}

.read-more:hover {
    border-color: transparent;
}

.read-more i {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-action);
    width: auto;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    padding-left: 6px;
    font-size: clamp(10px, 1vw, 14px);
}

.read-more:hover i {
    font-weight: bold;
}

.read-more .open,
.read-more.collapsed .close {
    display: none;
    transition: all .15s ease-out;
}

.read-more.collapsed .open,
.read-more .close {
    display: block;
    transition: all .15s ease-out;
}

/* Component: line (row) in list (ul li)  */
.line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 6px;
    gap: 10px;
    border-radius: 0;
    font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
    width: 100%;
    justify-content: flex-start;
    border: 2px solid transparent;
    border-bottom: 2px solid var(--color-catalog-secondary);
    background-color: transparent;
}

.line> :is(.name, .value) {
    margin: 0;
    max-width: 100%;
    text-align: justify;
    white-space: pre-line;
}

.line> :is(.name, .value)::first-letter {
    text-transform: uppercase;
}

.line>.name {
    font-weight: 500;
    margin-left: 10px;
}

.line a {
    color: var(--color-catalog-dark);
    display: inline-flex;
    column-gap: 10px;
}

.line a:hover {
    color: var(--color-catalog-status-info);
}

/* Statusess text colors */
.top-sales {
    color: var(--color-catalog-reaction, orange);
}

.new {
    color: var(--color-catalog-status-info, blue);
}

.status-auto {
    color: currentColor;
}

.status-success {
    color: var(--color-catalog-status-success, green);
}

.status-warning {
    color: var(--color-catalog-status-warning, darkorange);
}

.status-danger {
    color: var(--color-catalog-status-error, red);
}

.has-video {
    color: var(--color-catalog-status-error);
}

.has-files {
    color: var(--color-catalog-status-success-light);
}

/* Component: product pins  */
.pin {
    padding: 4px 8px;
    font-size: clamp(0.5rem, 0.625rem + 0.20vw, 0.875rem);
    border-radius: .35rem;
    text-align: center;
    background-color: var(--color-catalog-status-neutral);
    border: 1px solid var(--color-catalog-status-neutral);
    color: currentColor;
}

.pin.top-sales {
    background-color: var(--color-catalog-reaction, orange);
    color: var(--color-catalog-light);
}

.pin.new {
    background-color: var(--color-catalog-status-info, blue);
    color: var(--color-catalog-light);
}

.pin.status-auto {
    background-color: var(--color-catalog-status-info-light, lightgray);
    color: currentColor;
}

.pin.status-success {
    background-color: var(--color-catalog-status-success, green);
    color: var(--color-catalog-light);
}

.pin.status-warning {
    background-color: var(--color-catalog-status-warning, darkorange);
    color: var(--color-catalog-light);
}

.pin.has-video {
    background-color: var(--color-catalog-status-error);
    color: var(--color-catalog-light);
}

.pin.has-files {
    background-color: var(--color-catalog-status-success-light);
    color: currentColor;
}

.not-found {
    padding: 16px;
    background-color: var(--color-catalog-secondary);
    border: 1px solid var(--color-catalog-secondary);
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.img-empty-box {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    background-image: url('/css/svgs/box-empty.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.img-empty-cart {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    background-image: url('/css/svgs/cart-empty.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/**
 * 1. CATALOG AREA
 */

/* Layout: catalog area */
.catalog-area {
    --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    gap: var(--gap);
    position: relative;
    margin-bottom: 20px;
}

.catalog-area .catalog-spinner-wrapper {
    transform: translateX(150px);
}

@media screen and (width <=1000px) {
    .catalog-area {
        gap: 0;
    }

    .catalog-area .catalog-spinner-wrapper {
        transform: translateX(0);
    }
}

/* Catalog Hero layout */
.catalog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
}

.catalog-hero-inner {
    max-width: 820px;
    text-align: left;
    padding: 2rem;
    position: relative;
}

.catalog-hero-inner a {
    text-decoration: underline;
}

.catalog-hero-inner a:hover {
    text-decoration: none;
    color: var(--color-catalog-action) !important;
    opacity: 1;
}

/* Typography */
.catalog-hero-inner .eyebrow {
    display: inline-block;
    color: var(--color-catalog-dark50);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: .775rem;
    margin-bottom: .75rem;
}

.catalog-hero-inner .headline {
    font-size: 2.25rem;
    line-height: 1.03;
    font-weight: 800;
    color: var(--color-catalog-dark);
    margin: 0 0 .75rem 0;
    letter-spacing: -0.01em;
}

.catalog-hero .stamp i {
    font-size: 20px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-hero-inner .divider {
    width: 48px;
    height: 3px;
    background: #101827;
    margin: 1.25rem 0;
    border-radius: 2px;
}

.catalog-hero-inner .sub {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: .5rem;
}

.catalog-hero-inner p {
    line-height: normal;
}

.catalog-hero-partner {
    position: absolute;
    margin-top: clamp(1rem, 3vw, 2.5rem);
    top: 2rem;
    left: 0;
}

.catalog-hero-partner i {
    color: var(--color-template-darkblue);
}

@media screen and (width <=1000px) {
    .catalog-hero {
        min-height: 20vh;
    }

    .catalog-hero-inner .headline {
        font-size: 2rem;
    }

    .catalog-hero-inner {
        padding: 1rem;
    }

    .catalog-hero-partner {
        top: calc(100% - 50px);
    }
}

@media screen and (width <=600px) {
    .catalog-hero {
        min-height: 20vh;
    }

    .catalog-hero-inner .headline {
        font-size: 1.6rem;
    }
}

/* Layout: header image */
.catalog-header-image {
    width: 100%;
    height: auto;
    aspect-ratio: 12/3;
    overflow: hidden;
    border-color: transparent;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.catalog-header-image .image-box-wrapper {
    width: 100%;
    height: 100%;
}

.catalog-header-image .img-box {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1px;
    color: transparent;
}

.catalog-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@media screen and (width <=600px) {
    .catalog-header-image {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

/* Layout: catalog pannel */
.catalog-panel {
    width: calc(75% - 20px);
    height: max-content;
    overflow-x: hidden;
    position: sticky;
    top: clamp(76px, 100px + 2vw, 120px);
}

@media screen and (width <=800px) {
    .catalog-panel {
        width: 70%;
    }
}

@media screen and (width <=600px) {
    .catalog-panel {
        width: 100%;
    }
}

/* Layout: catalog spinner(loading) */
.catalog-spinner {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.catalog-spinner .status {
    width: 100px;
    height: 100px;
    opacity: .5;
    border-color: var(--color-catalog-status-warning);
    border-width: 8px;
    border-right-color: transparent;
}

/* Layout: catalog sidebar */
.catalog-sidebar {
    width: 25%;
    height: 100%;
    background-color: var(--color-catalog-light);
    border-radius: 6px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.catalog-sidebar::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    display: none;
    background-color: rgb(0, 0, 0, .8);
    backdrop-filter: blur(2px);
    z-index: -1;
}

@media screen and (width <=800px) {
    .catalog-sidebar {
        width: 30%;
    }
}

@media screen and (width <=600px) {
    .catalog-sidebar {
        width: 80%;
        position: fixed;
        top: 20dvh;
        left: 0;
        display: none;
        z-index: 1;
        padding: 12px;
        height: 86dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .catalog-sidebar::before {
        display: block;
    }
}

.catalog-sidebar-header {
    width: 100%;
    height: auto;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
}

.catalog-sidebar-control {
    width: 100%;
    height: auto;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    padding: clamp(8px, 10px + 0.25vw, 14px);
    margin-bottom: 12px;
    position: relative;
}

.catalog-sidebar-control .elements {
    display: flex;
    flex-direction: column;
}

.catalog-sidebar-control.ordered {
    margin-bottom: 0;
    border-radius: 0;
    border-color: transparent;
}

.catalog-sidebar-control.ordered::after {
    content: '';
    position: absolute;
    top: 95%;
    left: 10px;
    right: 10px;
    width: 90%;
    height: 0.0425rem;
    background-color: var(--color-catalog-dark);
    opacity: .2;
}

.catalog-sidebar-control.ordered.first {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.catalog-sidebar-control.ordered.last {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.catalog-sidebar-control:not(:has(div)) {
    display: none;
}

.catalog-sidebar-control .title {
    text-transform: capitalize;
    display: inline-flex;
    width: 100%;
    font-size: var(--control-title);
    margin-bottom: 4px;
    font-weight: bold;
}

.catalog-sidebar-control .title *:last-child {
    margin-left: auto;
}

.catalog-sidebar-control .link {
    color: inherit;
    margin-bottom: 2px;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    width: auto;
    border-radius: 4px;
    padding: 4px 0;
}

.catalog-sidebar-control .link:is(:hover, .active) {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-secondary);
    padding-inline: 6px;
}

.catalog-sidebar-control .link span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.catalog-sidebar-control .link i {
    margin-left: 10px;
    text-decoration: none;
}

.catalog-sidebar-control .toogle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min-content;
    padding: 4px;
    border: 0;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
}

.catalog-sidebar-control .toogle .open {
    display: none;
    opacity: 0;
    transition: display linear .25s, opacity ease-in-out .25s;
}

.catalog-sidebar-control .toogle .close {
    display: inline-block;
    opacity: 1;
    transition: display linear .25s, opacity ease-in-out .25s;
}

.catalog-sidebar-control .toogle.collapsed .open {
    display: inline-block;
    opacity: 1;
    transition: display linear .25s, opacity ease-in-out .25s;
}

.catalog-sidebar-control .toogle.collapsed .close {
    display: none;
    opacity: 0;
    transition: display linear .25s, opacity ease-in-out .25s;
}

.catalog-sidebar-control .collapse {
    height: min-content;
    max-height: clamp(72px, 60px + 1vw, 100px);
    overflow: hidden;
    scroll-behavior: smooth;
    position: relative;
    margin-right: 8px;
}

.catalog-sidebar-control .collapse.show {
    overflow-y: auto;
}

.catalog-sidebar-control ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-sidebar-control li label {
    text-transform: capitalize;
}

.catalog-sidebar-fixer {
    width: 25%;
    height: 100%;
}

.catalog-sidebar-title {
    font-size: 1.207rem;
    line-height: normal;
    font-weight: 700;
    color: #575560;
    margin-bottom: 0;
    border: none;
    padding: 0.625rem 0.625rem;
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    text-transform: capitalize;
    align-items: flex-start;
}

.catalog-sidebar-title> :is(h1, h2) {
    font-size: inherit !important;
}

@media screen and (width <=600px) {
    .catalog-sidebar-control {
        margin-bottom: 6px;
    }
}

/* Sidebar.Component: sidebar active filters */
.catalog-filtering h6 {
    font-size: clamp(0.75rem, 0.875rem + 0.15vw, 1rem);
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 4px;
    opacity: .9;
}

.catalog-filtering .filter-by {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
}

.catalog-filtering .filter-by:not(:has(button)) {
    display: none;
}

.catalog-filtering .using {
    padding: 4px;
    background-color: whitesmoke;
    font-size: 14px;
}

.catalog-filtering .using i {
    margin-left: 2px;
    border-left: 1px solid var(--color-catalog-action);
    padding-left: 2px;
}

.catalog-filtering .using:hover {
    background-color: var(--color-catalog-status-error);
    color: var(--color-catalog-light);
}

/* Sidebar.Component: sidebar active filters */
.catalog-goods-filters .filter {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.catalog-goods-filters .filter form {
    padding: 1rem 0.625rem;
}

.catalog-goods-filters .filter-title {
    font-weight: 700;
    font-size: 1rem;
    color: #575560;
    margin-bottom: 0;
    border: none;
    padding: 0 0.625rem;
    text-transform: capitalize;
}

.catalog-goods-filters ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* catalog buttons filter */
.catalog-btn-filter {
    background-color: var(--header-bg, darkblue);
    color: var(--color-catalog-light);
    text-transform: uppercase;
    padding: 0.625rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: clamp(0.75rem, 1vw + 0.5rem, 1rem);
}

.catalog-btn-filter:hover {
    border-color: var(--header-bg, darkblue);
    border: 1px solid var(--color-catalog-light);
}

.catalog-btn-filter-sm {
    background-color: var(--header-bg, darkblue);
    padding: 0.25rem 0.5rem;
    font-size: clamp(0.625rem, 0.625rem + 0.25vw, 0.75rem);
    border-radius: 6px;
    color: var(--color-catalog-light);
    text-transform: uppercase;
    border: 1px solid transparent;
}

.catalog-btn-filter-sm:hover {
    border-color: var(--header-bg, darkblue);
    border: 1px solid var(--color-catalog-light);
}

/* sidebar filters all-in-one-filters */
#all-in-one-filters {
    display: flex;
    flex-direction: column;
}

.accordion-item.is-filter label {
    text-transform: capitalize;
}

/* Layout: catalog tool bar */
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--color-catalog-secondary);
    padding: clamp(0.75rem, 0.875rem + 0.1vw, 1rem);
    border-radius: 6px;
    column-gap: 10px;
    position: relative;
}

.catalog-toolbar-control {
    flex: 1 0 auto;
    width: calc((100% / 3) - 10px);
    position: relative;
    height: auto;
}

.catalog-toolbar-control .list-options {
    background-color: var(--color-catalog-light);
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 5;
    overflow: hidden;
    width: 100%;
    border: 1px solid var(--color-catalog-secondary);
    border-top-color: transparent;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    padding: 6px 0;
    display: none;
    max-height: calc(200px + 4vh);
    overflow-x: hidden;
    overflow-y: auto;
}

.catalog-toolbar-control .list-options.show {
    display: block;
}

.catalog-toolbar-control .list-options ul {
    padding: 0;
    margin: 0;
}

.catalog-toolbar-control .list-options li {
    padding: 2px 12px;
}

.catalog-toolbar-control .list-options li:hover {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-dark);
}

.catalog-toolbar-control .list-options li> :is(a, span, p) {
    display: block;
    width: 100%;
    border: none;
}

/* catalog-toolbar-control.hookup */
.catalog-toolbar-control.hookup {
    display: none;
    width: fit-content;
    margin-bottom: 6px;
    flex: 0 0 auto;
}

.catalog-toolbar-control.hookup .wrapper {
    display: flex;
    width: auto;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.catalog-toolbar-control.hookup .title {
    text-transform: capitalize;
    display: inline-flex;
    width: auto;
    font-size: var(--control-title);
    margin-bottom: 0;
    position: relative;
    display: none;
}

.catalog-toolbar-control.hookup .title::after {
    content: ':';
    position: absolute;
    left: 100%;
    top: auto;
}

.catalog-toolbar-control.hookup .link {
    color: inherit;
    font-size: inherit;
    padding: 4px;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid var(--color-catalog-action);
}

.catalog-toolbar-control.hookup .link:not(:last-child) {
    margin-right: 5px;
}

.catalog-toolbar-control.hookup .link:is(:hover, .active) {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-secondary);
}

.catalog-toolbar-control.hookup .link i {
    display: none;
}

@media screen and (width <=600px) {
    .catalog-toolbar-control.hookup {
        display: block;
    }
}

/* Layout.Component:catalog tool view switcher */
.catalog-toolbar-control:has(.view-switcher) {
    width: calc(20% - 10px);
}

@media screen and (width <=800px) {
    .catalog-toolbar-control:has(.view-switcher) {
        width: calc(25% - 10px);
    }
}

@media screen and (width <=600px) {
    .catalog-toolbar-control:has(.view-switcher) {
        width: auto;
        margin-bottom: 6px;
        flex: 0 0 auto;
    }

    .catalog-toolbar-control:has(.orderby) {
        width: auto;
    }

    #search-container.catalog-toolbar-control {
        display: none;
    }

    #show-filters-mobile {
        display: block;
    }
}

.catalog-toolbar-control .view-switcher {
    display: flex;
    justify-content: flex-start;
    gap: 0 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-toolbar-control .view-switcher button {
    background-color: var(--color-catalog-light);
    color: var(--color-catalog-action);
    border: 1px solid var(--color-catalog-action);
    border-radius: 6px;
    padding: 6px 12px;
}

.catalog-toolbar-control .view-switcher button:is(:hover, .active) {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
}

.catalog-toolbar-control:has(.orderby) {
    width: calc(40% - 10px);
}

.catalog-toolbar-control .orderby {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid var(--color-catalog-secondary);
    background-color: var(--color-catalog-light);
    position: relative;
}

.catalog-toolbar-control .orderby button {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    color: currentColor;
    position: relative;
    padding: 6px 12px;
}

.catalog-toolbar-control .orderby button i {
    position: absolute;
    right: 6px;
    top: 8px;
}

.catalog-toolbar-control:has(.search) {
    width: calc(40% - 10px);
}

.catalog-toolbar-control .search {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--color-catalog-secondary);
    background-color: var(--color-catalog-light);
    position: relative;
}

.catalog-toolbar-control .search input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
}

.catalog-toolbar-control .search input::placeholder {
    color: var(--color-catalog-secondary);
}

.catalog-toolbar-control .search .spinner {
    position: absolute;
    top: 10px;
    right: 12px;
    background-color: var(--color-catalog-light);
}

/* Layout: catalog top bar */
.catalog-topbar {
    --optimized: 5%;
    position: fixed;
    top: clamp(63px, var(--optimized, 5dvh), 67.5px);
    left: 0;
    right: 0;
    z-index: 6;
    padding: 6px;
    border: 0;
    border-bottom: 1px solid var(--color-template-darkblue);
    background-color: var(--color-template-darkblue);
}

.catalog-topbar-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    column-gap: 10px;
    padding-top: 10px;
    position: relative;
}

.catalog-topbar-wrapper .breadcrumb {
    position: absolute;
    top: auto;
    left: 0;
    z-index: 6;
    height: inherit;
    width: auto;
    padding-top: 0;
}

.catalog-topbar-wrapper .breadcrumb ul {
    justify-content: flex-start;
}

@media screen and (width <=1000px) {
    .catalog-topbar-wrapper .breadcrumb {
        margin: 0;
        width: 50%;
    }
}

@media screen and (width <=600px) {
    .catalog-topbar-wrapper .breadcrumb {
        position: relative;
        width: 100%;
        order: 1;
    }

    .catalog-topbar-wrapper .breadcrumb ul {
        padding: 0;
    }
}

.catalog-topbar-control {
    position: relative;
    height: auto;
}

.catalog-topbar-control .search {
    background-color: var(--color-catalog-light);
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 6px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: clamp(200px, 33vw + 33vh, 450px);
}

.catalog-topbar-control .search .search-input-wrapp {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.catalog-topbar-control .search .search-input-wrapp .spinner {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 4px;
    width: auto;
    height: auto;
    background-color: var(--color-catalog-light);
}

.catalog-topbar-control .search input {
    background-color: transparent;
    border: 0;
    width: 100%;
}

.catalog-topbar-control .search button {
    padding: 4px 6px;
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 0;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.catalog-topbar-control .search button:hover {
    background-color: var(--color-catalog-primary);
    color: currentColor;
    font-weight: 500;
}

.catalog-topbar-control .button-cart {
    padding: 6px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--color-catalog-light);
}

.catalog-topbar-control .button-cart:hover {
    padding: 6px;
    background-color: var(--color-catalog-primary);
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 6px;
    color: var(--color-catalog-dark);
}

.catalog-topbar-control .button-cart .count {
    background-color: var(--color-catalog-primary);
    color: var(--color-catalog-dark);
    border-radius: 50%;
    height: 16px;
    width: 16px;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-left: -4px;
    font-size: 12px;
    font-weight: 600;
}

.catalog-topbar-control .list-options {
    background-color: var(--color-catalog-light);
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 5;
    width: 100%;
    height: fit-content;
    border: 1px solid var(--color-catalog-secondary);
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    padding: 0;
    opacity: 0;
    box-shadow: var(--box-catalog-shadow);
    display: none;
}

.catalog-topbar-control .list-options.wide {
    width: clamp(212px, 40vw + 10vh, 100vw - 20px);
    border-top-left-radius: 6px;
    border: none;
}

.catalog-topbar-control .list-options.show {
    opacity: 1;
    display: block;
}

.catalog-topbar-control .list-options .spinner {
    display: flex;
    justify-content: center;
    width: 100%;
}

.catalog-topbar-control .list-options ul {
    padding: 0;
    margin: 0;
}

.catalog-topbar-control .list-options li {
    padding: 2px 12px;
    border-bottom: 1px solid var(--color-catalog-dark25);
}

.catalog-topbar-control .list-options li> :is(a, span, p) {
    display: block;
    width: 100%;
    background-color: transparent;
    border-color: transparent;
    color: var(--color-catalog-dark);
    padding: 0;
    font-size: clamp(0.75rem, 70% + 0.4vw, 1rem);
}

.catalog-topbar-control .list-options li:hover {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-dark);
}

.catalog-topbar-control .list-options li:hover> :is(a, span, p) {
    color: inherit;
}

.catalog-topbar-control .list-options li[role="search"] {
    border-bottom-color: transparent;
    padding: 0;
    padding-top: 2px;
}

.catalog-topbar-control .list-options li[role="search"] button {
    width: 100%;
    border-radius: inherit;
    padding: 12px;
    background-color: var(--color-catalog-mute);
    color: var(--color-catalog-dark);
    font-size: inherit;
    font-weight: 500;
}

.catalog-topbar-control .list-options li[role="search"]:hover {
    background-color: var(--color-catalog-light);
    color: currentColor;
}

.catalog-topbar-control .list-options li[role="search"] button:hover {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
}

.catalog-topbar-control .cart-contiue {
    padding: 4px 8px;
    background-color: transparent;
    color: var(--color-catalog-light);
    border-color: transparent;
}

@media screen and (width <=1000px) {
    .catalog-topbar {
        --optimized: 4%;
        margin-top: -13px;
    }
}

@media screen and (width <=600px) {
    .catalog-topbar-wrapper:has(#search-container) {
        justify-content: space-between;
    }

    #search-container.catalog-topbar-control {
        width: 80%;
    }

    .catalog-topbar-control .search {
        width: auto;
    }

    .catalog-topbar {
        margin-top: -12px;
    }
}

/* customize on show list with options */
.catalog-topbar-control .list-options:has(li) {
    padding: 6px 0 0;
}

.catalog-topbar-control .search:has(.list-options.show),
.catalog-topbar-control .search:has(.list-options.show) button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Layout.Component: Catalog Goods(Products) */
.catalog-goods {
    --own-gap: 14px;
    display: flex;
    gap: var(--own-gap);
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 16px;
    margin-bottom: 20px;
}

.catalog-goods[data-justfy="1"] {
    justify-content: space-between;
}

/* Skeleton Loader - Shows while filters are loading */
.catalog-goods.skeleton-loading {
    display: flex;
    flex-wrap: wrap;
    gap: var(--own-gap);
}

.catalog-goods.skeleton-loading .item {
    width: calc((100% / 3) - var(--own-gap));
    height: auto;
    overflow: hidden;
    position: relative;
    background-color: var(--color-catalog-light);
    border-radius: 6px;
    opacity: 0.7;
}

.catalog-goods.skeleton-loading .item-wrapper {
    display: flex;
    flex-direction: column;
}

.catalog-goods.skeleton-loading .item-img {
    position: relative;
    width: 100%;
    height: clamp(130px, 140px + 0.5vw, 170px);
    background-color: var(--color-catalog-mute);
}

.catalog-goods.skeleton-loading .item-img .img.skeleton {
    width: 100%;
    height: 100%;
    background-color: var(--color-catalog-mute);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.catalog-goods.skeleton-loading .item-content {
    position: relative;
    width: 100%;
    padding-inline: clamp(12px, 2%, 14px);
    padding-bottom: 14px;
    padding-top: 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-goods.skeleton-loading .item-content .skeleton {
    background-color: var(--color-catalog-mute);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.catalog-goods.skeleton-loading .item-content .item-status {
    height: clamp(10px, 15px + 0.5vw, 30px);
    width: 50%;
}

.catalog-goods.skeleton-loading .item-content .item-title {
    height: clamp(40px, 30px + 0.5vw, 86px);
    width: 100%;
}

.catalog-goods.skeleton-loading .item-content .item-price {
    height: 24px;
    width: calc(60% - 8px);
}

.catalog-goods.skeleton-loading .item-content .item-category {
    height: 24px;
    width: calc(40% - 8px);
}

.catalog-goods.skeleton-loading .item-content .item-action {
    height: 40px;
    width: 100%;
}

/* Animación del skeleton */
@keyframes skeleton-pulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.8;
    }
}

@media screen and (width <=600px) {
    .catalog-goods {
        --own-gap: 6px;
    }

    .catalog-goods.skeleton-loading .item {
        width: 100%;
    }

    .catalog-goods.skeleton-loading .item-img .img.skeleton {
        height: clamp(100px, 120px + 0.5vw, 150px);
    }
}

@media screen and (width <=800px) {
    .catalog-goods.skeleton-loading .item {
        width: calc((100% / 2) - var(--own-gap, 4px));
    }
}

@media screen and (width <=600px) {
    .catalog-goods.skeleton-loading .item {
        width: 100%;
    }
}

/* catalog item */
.catalog-goods>.item {
    width: calc((100% / 3) - var(--own-gap));
}

.catalog-goods .item {
    --item-header-height: clamp(130px, 140px + 0.5vw, 170px);
    --item-transition: all ease-in-out .15s;
    --item-padding: clamp(12px, 2%, 14px);
    height: auto;
    overflow: hidden;
    position: relative;
    background-color: var(--color-catalog-light);
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 6px;
    transition: var(--item-transition);
}

.catalog-goods .item-wrapper {
    display: flex;
    flex-direction: column;
}

@media screen and (width <=800px) {
    .catalog-goods>.item {
        width: calc((100% / 2) - var(--own-gap));
    }
}

/* catalog item image */
.catalog-goods .item-img {
    position: relative;
    width: 100%;
    height: var(--item-header-height, auto);
    object-fit: contain;
    z-index: 0;
}

.catalog-goods .item-img [data-show] {
    display: none;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* animation: shine-bg 2s linear 2; */
}

.catalog-goods .item-img :is(img, .img) {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: contain;
    aspect-ratio: auto;
    background-color: var(--color-catalog-secondary);
    background-blend-mode: multiply;
    margin-bottom: 0;
}

.catalog-goods .item-img:has([data-show="true"]) [data-show] {
    display: block;
}

.catalog-goods .item-img .has-markers {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 50%;
    height: 100%;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px 0;
    align-items: flex-end;
}

/* catalog item link button */
.catalog-goods .item-link {
    position: absolute;
    width: 100%;
    height: var(--item-header-height, auto);
    top: 0;
    left: 0;
    transition: all ease-in-out .25s;
}

.catalog-goods .item-link a {
    position: relative;
    background-color: transparent;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: inherit;
}

.catalog-goods .item-link a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-catalog-light);
    opacity: 0;
    transition: inherit;
}

/* catalog item content */
.catalog-goods .item-content {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-inline: var(--item-padding);
    padding-bottom: 14px;
    gap: 6px 0;
}

.catalog-goods .item-content>* {
    margin: 0;
    width: 100%;
}

/* catalog item content: item status  */
.catalog-goods .item-status {
    font-size: clamp(10px, 8px + 0.4vw, 14px);
    opacity: 1;
    font-weight: 500;
    text-transform: lowercase;
}

/* catalog item content: item article  */
.catalog-goods .item-article {
    font-size: clamp(12px, 10px + 0.25vw, 14px);
    color: var(--body-text);
    opacity: .6;
}

/* catalog item content: item title  */
.catalog-goods .item-title {
    height: clamp(40px, 30px + 0.5vw, 86px);
    font-size: clamp(0.875rem, 1rem, 1.2rem);
    font-weight: normal;
    overflow: hidden;
}

.catalog-goods.item-title a:hover {
    color: #204d6d;
}

/* catalog item content: item category  */
.catalog-goods .item-category {
    color: var(--body-text);
    opacity: .7;
    position: relative;
    z-index: 2;
    width: 100%;
}

.catalog-goods .item-category a {
    font-size: clamp(12px, 10px + 0.25vw, 14px);
    background-color: var(--color-catalog-secondary);
}

.catalog-goods .item-category:hover {
    opacity: 1;
    color: var(--color-template-darkblue);
}

/* catalog item content: item price  */
.catalog-goods .item-price {
    text-size-adjust: 100%;
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    font-weight: bold;
    position: relative;
    color: var(--color-template-darkblue);
    width: fit-content;
    order: 1;
    align-self: center;
}

/* catalog item content: item action  */
.catalog-goods .item-action {
    width: auto;
    position: relative;
    z-index: 2;
    order: 1;
}

.catalog-goods .add-to-cart {
    font-size: 0;
}

.catalog-goods .add-to-cart i {
    font-size: 1rem;
    margin-left: -10px;
}

/* catalog item hover  */
.catalog-goods .item:hover {
    transform: var(--hover-catalog-transform);
    box-shadow: var(--hover-catalog-shadow);
    cursor: pointer;
}

.catalog-goods .item:hover .item-title {
    color: var(--color-catalog-action);
}

.catalog-goods .item:hover .item-link a {
    z-index: 1;
}

.catalog-goods .item:hover .item-link a::after {
    opacity: .6;
}

/* catalog leading(banner)  */
.catalog-leading {
    width: 100%;
    height: fit-content;
    max-height: clamp(200px, 250px + 5vw, 400px);
    overflow: hidden;
    border-radius: 6px;
}

.catalog-leading-wrapper {
    width: 100%;
    height: 100%;
    background: transparent;
}

.catalog-leading-wrapper>* {
    width: 100%;
    height: 100%;
}

.catalog-leading-wrapper :is(.image, img[style], img:not([class])) {
    width: 100%;
    height: clamp(100px, 15vw + 10vh, 300px);
    object-fit: cover;
    object-position: center;
    margin: 0;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

/* Layout.Component: Catalog Goods(Products) list */
.catalog-goods.is-list {
    --item-header-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

/* catalog list item  */
.catalog-goods.is-list .item {
    height: calc(170px + 5vh);
    width: 100%;
}

.catalog-goods.is-list .item-wrapper {
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding: var(--item-padding);
    gap: 0 12px;
}

/* catalog list item link  */
.catalog-goods.is-list .item-link {
    width: 35%;
    height: 100%;
    padding: var(--item-padding);
    padding-right: 0;
}

/* catalog list item image  */
.catalog-goods.is-list .item-img {
    width: 35%;
    height: 100%;
    border: 1px solid var(--color-catalog-secondary);
    border-radius: 6px;
}

/* catalog list item content  */
.catalog-goods.is-list .item-content {
    height: 100%;
    display: flex;
    padding: 0;
    gap: 6px;
}

/* catalog list item content: item article  */
.catalog-goods.is-list .item-article {
    width: calc(70% - 6px);
}

.catalog-goods.is-list .item-title {
    width: calc(70% - 6px);
    height: auto;
    order: 1;
}

/* catalog list item content: item category  */
.catalog-goods.is-list .item-category {
    width: calc(70% - 6px);
    height: fit-content;
    order: 1;
}

/* catalog list item content: item price  */
.catalog-goods.is-list .item-price {
    width: calc(30% - 6px);
    text-align: right;
}

/* catalog list item content: item action  */
.catalog-goods.is-list .item-action {
    width: calc(30% - 6px);
    margin-top: auto;
    order: 1;
}

@media screen and (width <=800px) {
    .catalog-goods.is-list .item-link {
        width: 45%;
    }

    .catalog-goods.is-list .item-img {
        width: 45%;
    }

    .catalog-goods.is-list .item-article {
        width: 100%;
        text-align: end;
        height: fit-content;
    }

    .catalog-goods.is-list .item-title {
        width: 100%;
        height: fit-content;
        order: 0;
    }

    .catalog-goods.is-list .item-category {
        width: 100%;
        height: fit-content;
        order: 0;
    }

    .catalog-goods.is-list .item-price {
        width: calc(50% - 6px);
        order: 1;
        height: fit-content;
        align-self: flex-end;
        text-align: left;
    }

    .catalog-goods.is-list .item-action {
        width: 50%;
        margin-top: auto;
        order: 1;
    }
}

@media screen and (width <=600px) {}

/* Layout.Component: Catalog Pagination */
.catalog-pagination {
    background-color: var(--color-catalog-light);
    border-radius: 9px;
    margin-top: 0px;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.catalog-pagination nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.catalog-pagination nav ul {
    margin-bottom: 0;
    background-color: transparent !important;
}

.catalog-pagination nav .page-link {
    font-size: 0.875rem !important;
}

.catalog-pagination ul li:not(:first-child) {
    margin-left: 4px;
}

.catalog-pagination .page-item.disabled {
    display: none;
}

.catalog-pagination .page-item.active .page-link {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
    font-weight: bold;
}

/* Layout.Component: Manufacturers */
.manufacturers {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 10px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.manufacturers .title {
    display: block;
    font-weight: bold;
    text-align: center;
    font-size: clamp(1rem, 1rem + .5vw, 1.375rem);
    color: var(--color-catalog-dark, currentColor);
}

.manufacturers-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.manufacturers .has-image {
    display: block;
    width: clamp(100px, (100% / 3) - 10px, 150px);
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (width <=1000px) {
    .manufacturers {
        width: fit-content;
    }

    .manufacturers .title {
        text-align: center;
        width: fit-content;
        filter: invert(1);
    }
}

@media screen and (width <=600px) {
    .manufacturers {
        margin-right: auto;
    }
}

/**
 * 2. CART AREA
 */
.cart-container {
    position: relative;
}

.cart {
    position: relative;
}

.cart .img-empty-cart {
    width: clamp(200px, 200px + 4vw, 300px);
    height: clamp(200px, 200px + 4vw, 300px);
}

.cart-title {
    --fs: calc(100% + 1vw);
    font-size: clamp(1rem, var(--fs), 1.5rem);
}

/* Cart.Layout: top bar */
.cart-top-bar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Cart.Component: button to set empty cart */
.cart-clean {
    background-color: transparent;
    border: 1px solid transparent;
    color: var(--color-catalog-dark50);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 6px;
    padding: 6px;
    overflow: hidden;
    height: 30px;
}

.cart-clean>span {
    display: none;
}

.cart-clean:hover {
    background-color: var(--color-catalog-status-error);
    border-color: var(--color-catalog-status-error);
    color: var(--color-catalog-light);
}

.cart-clean:hover>span {
    display: inline-block;
}

/* Cart.Layout: item */
.cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.cart-item>* {
    flex: 1 0 auto;
}

.cart-item .image {
    width: calc(15% - 10px);
    border-radius: 12px;
}

.cart-item .image span {
    display: block;
    width: 100%;
    height: clamp(60px, 5vw + 2vh, 100px);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: var(--color-catalog-secondary);
    color: transparent;
    border-radius: inherit;
}

.cart-item .details {
    width: calc(85% - 10px);
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cart-item .title {
    --fs: 90%;
    font-size: clamp(0.75rem, var(--fs), 1.125rem);
    width: clamp(300px, 80% - 10px, 70% - 10px);
}

.cart-item .title:hover {
    text-decoration: underline;
}

.cart-item .mode {
    --fs: 90%;
    font-size: clamp(0.75rem, var(--fs), 1rem);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: clamp(90px, 10% - 10px, 15% - 10px);
    justify-content: center;
    user-select: none;
}

.cart-item .price {
    --fs: 110%;
    font-size: clamp(0.75rem, var(--fs), 1.25rem);
    width: fit-content;
    text-align: end;
}

.cart-item .old-price {
    --fs: 80%;
    font-size: clamp(0.75rem, var(--fs), 1.25rem);
}

.cart-item .options {
    --fs: 80%;
    font-size: clamp(0.75rem, var(--fs), 1rem);
    text-align: end;
}

.cart-item .options span {
    font-size: inherit;
}

@media screen and (width <=600px) {
    .cart-item-wrapper {
        padding: 0;
    }

    .cart-item {
        padding: 6px;
        justify-content: end;
    }

    .cart-item .image {
        margin-right: auto;
    }

    .cart-item .title {
        width: 100%;
        font-size: 12px;
    }

    .cart-item .mode {
        order: 1;
    }

    .cart-item .options {
        order: 1;
    }

    .cart-item .price {
        width: auto;
        text-align: left;
        margin-right: auto;
    }
}

/* Cart.item: buttons */
.cart-item .action {
    padding: 0;
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 2/3;
}

.cart-item .minus {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cart-item .minus:is(:hover, .active) {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-status-error);
}

.cart-item .minus:is(:disabled, [disabled]):hover {
    background-color: var(--color-catalog-light);
    color: var(--color-catalog-dark50);
    cursor: not-allowed;
}

.cart-item .plus {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cart-item .plus:is(:hover, .active) {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-status-info);
}

.cart-item .plus:is(:disabled, [disabled]):hover {
    background-color: var(--color-catalog-light);
    color: var(--color-catalog-dark50);
    cursor: not-allowed;
}

/* Cart.item: input */
.cart-item .count {
    border: 1px solid var(--color-catalog-secondary);
    width: min-content;
}

.cart-item .count input {
    padding: 6px;
    border: none;
    width: 40px;
    text-align: center;
}

.cart-item .count input::-webkit-outer-spin-button,
.cart-item .count input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart.item: button optional to delete item */
.cart-item .options .dropdown-toggle {
    padding: 6px 12px;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    position: relative;
}

.cart-item .options .dropdown-toggle::before {
    display: none;
    position: absolute;
    left: 0;
    top: 14px;
}

.cart-item .options .dropdown-toggle.show::before {
    display: inline-block;
    opacity: .5;
}

.cart-item .options .dropdown-toggle:hover {
    color: var(--color-catalog-dark);
}

.cart-item .dropdown-menu {
    padding: 0;
}

.cart-item .remove {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: clamp(0.75rem, var(--fs), 1rem);
}

.cart-item .remove:hover {
    color: var(--color-catalog-status-error);
}

/* Cart.Layout: bottom bar */
.cart-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    border-radius: 6px;
    position: sticky;
    bottom: -16px;
    z-index: 1;
    background-color: var(--color-catalog-light);
    margin-top: 10px;
}

@media screen and (width < 600px) {
    .cart-bottom-bar {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .cart-bottom-bar .cart-action {
        width: 100%;
    }
}

/* Cart.BottomBar: button to continue in catalog */
.cart-contiue {
    --fs: calc(1rem + 2vw);
    font-size: clamp(0.75rem, var(--fs), 1rem);
    background-color: var(--color-catalog-secondary);
    border: 1px solid var(--color-catalog-dark);
    color: var(--color-catalog-dark);
    padding: 12px 24px;
    width: fit-content;
    display: inline-block;
    opacity: 1;
}

.cart-contiue:hover {
    border-color: var(--color-catalog-dark);
    opacity: 1;
    box-shadow: var(--hover-catalog-shadow);
}

@media screen and (width < 600px) {
    .cart-contiue {
        padding: 6px 12px;
        width: 100%;
        text-align: center;
    }
}

/* Cart.BottomBar.Component: cart-price */
.cart-price {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px;
    border-bottom: 1px solid var(--color-catalog-dark25);
    margin-bottom: 10px;
    font-weight: bold;
}

.cart-price .value {
    --fs: calc(90% + 1vw);
    font-size: clamp(0.5rem, var(--fs), 1.8rem);
}
@media screen and (width <= 600px) {
    .cart-price {
        margin-bottom: 0;
    }
}

/* Cart.BottomBar.Component: make order */
.cart-make-order {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 100%;
    margin-bottom: 10px;
    order: 1;
}

.cart-make-order>* {
    position: relative;
    z-index: 1;
    width: 100%;
}

.cart-make-order .cart-checkout {
    --fs: calc(100% + 2vw);
    font-size: clamp(1rem, var(--fs), 1.1rem);
    font-weight: bold;
    background-color: var(--color-catalog-primary);
    border: 1px solid var(--color-catalog-dark);
    color: var(--color-catalog-action);
    padding: 12px 24px;
    opacity: 1;
    transition: all ease-in-out .15s;
    display: block;
    text-align: center;
}

.cart-make-order .cart-checkout:hover {
    border-color: var(--color-catalog-action);
    opacity: 1;
    box-shadow: var(--hover-catalog-shadow);
}

@media screen and (width <=600px) {
    .cart-make-order {
        gap: 0;
        height: auto;
        order: 0;
        margin-bottom: 0;
    }
    .cart-make-order .cart-checkout {
        font-size: clamp(.5rem, var(--fs), 1.1rem);
        padding: 6px 12px;
    }
}

/**
 * 3. PRODUCT AREA (SINGLE PAGE)
 */
.product-area {
    --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: var(--gap);
    position: relative;
    overflow-x: hidden;
    min-height: 70vh;
}

.product-area-2 {
    --gap: 20px;
    position: relative;
    overflow-x: hidden;
}

.product-area-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('https://smart.brisa/storage/smart/photos/shares/bg-lines.png'); */
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 1;
}

.product-panel {
    --gap: 20px;
    width: 100%;
    height: auto;
    position: relative;
}

.product-panel :is(h2, h2.title) {
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.03;
    font-weight: 800;
    color: var(--color-catalog-dark);
    margin: 0 0 .75rem 0;
    letter-spacing: -0.01em;
}

.product-panel .subtitle {
    text-align: center;
    max-width: 75%;
    margin-inline: auto;
}

.product-panel :has(.title+.subtitle) .title {
    margin-bottom: 1rem;
}

.product-panel>section {
    border-top: 1px solid var(--color-catalog-mute);
    margin-bottom: clamp(14px, 2vw, 24px);
    padding: clamp(1rem, 3vw, 2.5rem) 0;
}

/* product-panel support section */
.product-panel .support {
    --mute: var(--color-catalog-mute);
    --ink: var(--color-catalog-dark);
}

.product-panel .support-desc {
    color: var(--color-catalog-dark50);
}

.product-panel .info-container .icon-wrap {
    background-color: var(--color-catalog-light);
    color: var(--color-catalog-action);
    border: 1px solid var(--color-catalog-secondary);
}

.product {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    position: relative;
}

.product-images {
    width: calc(50% - var(--gap));
    height: clamp(50vh, 450px + 2vw, 65vh);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--hover-catalog-shadow);
    border-radius: 10px;
    padding: 12px;
}

.product-images .img-box {
    width: 100%;
    height: 100%;
}

.product-images .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-images .gallery-item img {
    object-position: center center;
    object-fit: contain;
    aspect-ratio: 4/4;
}

.product-details {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    scroll-margin-top: clamp(80px, 10vh, 100px);
}

.product-details>div {
    width: calc(50% - var(--gap));
    ;
}

.product-details .side-image {
    width: calc(50% - var(--gap));
    height: 50vh;
    border-radius: 6px;
    overflow: hidden;
}

.product-details .side-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.product-details .side-image a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(24%, 0);
    width: 100%;
    height: 100%;
    background-image: var(--shape, '');
    background-repeat: no-repeat;
    background-size: contain;
    filter: grayscale(1);
}

.product-details .side-image a:hover::before {
    filter: none;
}

.product-details .side-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.product-details .side-image .image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-details .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--hover-catalog-shadow);
}

.product-details .nav-link {
    color: #204d6d;
    text-transform: capitalize;
}

.product-details .nav-link:hover {
    color: #204d6d;
}

.product-details small {
    color: #7e7e7e;
}

.product-details .title {
    font-size: calc(2rem - 2vh);
}

.product-details .kind {
    text-transform: capitalize;
}

.product-details .kind a {
    color: var(--header-bg, darkblue);
    border: 1px solid;
    border-color: var(--header-bg, darkblue);
}

.product-details .kind a:hover {
    color: var(--color-catalog-light);
    background-color: var(--header-bg, darkblue);
    border-color: transparent;
}

.product-details .manufacturer .img-box {
    width: 100%;
    height: calc(100px + 2vh);
    display: inline-flex;
}

.product-details .manufacturer .img-box img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.product-details .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
}

.product-details .bottom .price {
    font-size: calc(24px - 1vh);
    font-weight: bold;
    position: relative;
}

.product-details .bottom .price :where(.discount, sup) {
    font-size: calc(1.875rem - 1vh);
    font-weight: normal;
    color: #888585;
    text-decoration: line-through;
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
}

.product-details .bottom .price small {
    color: inherit;
}

.product-details .bottom .add-to-cart {
    background: var(--color-catalog-primary-gradient);
    font-size: 1.125rem;
}

.product-details .bottom .one-click {
    font-size: 1.125rem;
}

.product-details .table :is(td, th):first-child {
    text-transform: capitalize;
    border-bottom: 1px solid #dfdfdf;
}

.product-details .table :is(td, th):first-child+td {
    border-bottom: 1px solid #dfdfdf;
}

.product-details .table:focus-visible {
    outline: none;
}

.product-details-bottom {
    position: relative;
    width: 100%;
}

.product-details-bottom .nav-link {
    color: var(--header-bg);
    text-transform: capitalize;
}

@media screen and (width <=600px) {
    .product-details {
        width: 100%;
        flex-direction: column;
    }

    .product-details>div {
        width: 100%;
    }

    .product-details .side-image {
        display: none;
    }
}

/* Product-hero Layout */
.product-hero {
    position: relative;
    padding: 3rem 0;
}

/* Product.Leading.Component: Image */
.product-hero .main-image {
    flex: 0 0 auto;
    width: calc(50% - var(--gap));
    height: clamp(200px, 50vh, 384px);
    overflow: hidden;
}

.product-hero .main-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.product-hero .main-image a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--coil, '');
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
    transition: transform .15s ease-in-out;
}

.product-hero .main-image a:hover::before {
    transform: rotate(90deg);
}

.product-hero .main-image img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    transform: scale(1);
}

.product-hero .product-price {
    font-size: clamp(1.125rem, 1rem + 1.2vw, 2rem);
    font-weight: bold;
    color: var(--color-catalog-dark);
}

/* Product.Leading.Component: Buttons */
.product-hero .product-buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--gap);
    align-items: flex-end;
    justify-content: space-between;
}

.product-hero .product-action {
    width: calc(50% - (var(--gap) / 2));
    height: 42px;
    font-size: clamp(0.875rem, 0.625rem + 0.5rem, 1.125rem);
    overflow: hidden;
    text-wrap: nowrap;
}

.product-hero .product-action> :is(button, a):not([class]) {
    height: 100%;
    color: var(--color-catalog-dark);
    font-size: inherit;
}

.product-hero .product-action button {
    font-weight: 700;
}

.product-hero .arrow-down {
    bottom: -20px;
    left: -40px;
    transform: translateX(0);
    background-color: var(--color-catalog-light);
    color: var(--color-catalog-dark);
    border-color: var(--color-catalog-dark);
}

.product-hero .arrow-down:hover {
    color: var(--color-catalog-primary);
    border-color: var(--color-catalog-primary);
}

@media screen and (width <=600px) {
    .product-hero {
        flex-wrap: wrap-reverse;
    }

    .product-hero .main-image {
        width: 100%;
        height: 250px;
    }

    .product-hero .arrow-down {
        bottom: 90px;
        left: auto;
        right: 20px;
    }

}

/* Product.Component: Detailed */
.product-detailed {
    height: auto;
    margin: 20px 0;
    position: relative;
    gap: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    scroll-margin-top: clamp(80px, 10vh, 120px);
}

.product-detailed>div {
    width: 100%;
    height: 100%;
}

.product-detailed.cols {
    justify-content: space-between;
    height: auto;
}

.product-detailed.cols>div {
    width: calc(50% - 10px);
    height: 100%;
}

.product-detailed .rectangle {
    bottom: 20px;
    right: 0;
    width: 20%;
    height: 4%;
    background-color: var(--color-catalog-action);
    display: block;
}

@media screen and (width <=600px) {
    .product-detailed {
        margin: 0;
    }

    .product-detailed.cols {
        flex-direction: column;
        height: auto;
    }

    .product-detailed.cols {
        justify-content: flex-start;
    }

    .product-detailed.cols>div {
        width: 100%;
        height: auto;
    }
}

/* Product.Detailed: Carrousel */
.product-carousel {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.product-carousel div {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.product-carousel .image {
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
}

.product-carousel .carousel {
    height: 100%;
    position: relative;
    background-color: var(--color-catalog-light);
    background-image: var(--bg-product-default);
    background-position: top center;
    background-blend-mode: luminosity;
    background-size: 100% 100%;
    background-repeat: round;
}

.product-carousel:not(:has(.indicators)) .carousel {
    height: 100%;
}

.product-carousel .triangle {
    top: 0;
    left: 0;
    width: 20%;
    height: 30%;
    z-index: 1;
}

/* Product.Detailed.Carrousel: Manufacturers */
.product-carousel .manufacturers-tag {
    width: 100%;
    height: auto;
    padding: 20px 0;
    z-index: 1;
}

@media screen and (width <=1000px) {
    .manufacturers {
        display: flex;
        justify-content: center;
    }
}


/* Product.Detailed.Carrousel: Indicators Buttons */
.product-carousel .indicators {
    height: fit-content;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    justify-content: center;
    padding: 10px;
    background-color: var(--color-catalog-light);
}

.product-carousel .indicator {
    width: calc((100% / 5) - 10px);
    height: 60px;
    text-indent: initial;
    border: 2px solid transparent;
    margin: 0;
    background-color: var(--color-catalog-secondary);
}

.product-carousel .indicator:where(.active, :hover) {
    border: 2px solid var(--color-catalog-action);
    opacity: 1;
    background-color: var(--color-catalog-light);
}

@media screen and (width <=600px) {
    .product-carousel .indicator {
        width: 16px;
        height: 16px;
        text-indent: initial;
        border: 1px solid var(--color-template-darkblue);
        margin: 0;
        background-color: var(--color-catalog-secondary);
        border-radius: 50%;
    }

    .product-carousel .indicator:where(.active, :hover) {
        background-color: var(--color-template-darkblue);
    }

    .product-carousel .indicator .image {
        visibility: hidden;
    }
}

/* Product.Detailed.Carrousel: Control Buttons  */
.product-carousel .control {
    position: absolute;
    top: 0;
    left: auto;
    right: auto;
    background-color: transparent;
    color: var(--color-catalog-dark50);
    width: 10%;
    height: 100%;
    font-size: clamp(1rem, 1.25rem + 0.4vw, 1.75rem);
    border-radius: 6px;
    border-color: transparent;
}

.product-carousel .control:hover,
.product-carousel .control:focus {
    background-color: var(--color-catalog-secondary);
    color: var(--color-catalog-dark);
}

.product-carousel .control.prev {
    left: 0;
}

.product-carousel .control.next {
    right: 0;
}

.product-carousel .video {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (width <=600px) {
    .product-carousel .video {
        font-size: 0.625rem;
    }
}

/* Product.Detailed: Gallery */
.product-gallery {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    background-color: var(--color-catalog-light);
}

.product-gallery .title {
    text-align: center;
}

.product-gallery .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.product-gallery .gallery-container.show-1,
.product-gallery .gallery-container.show-2 {
    justify-content: center;
}

.product-gallery .gallery-item {
    flex: 0 0 auto;
    display: block;
    overflow: hidden;
    background-color: var(--color-catalog-light);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: var(--box-catalog-shadow);
    width: calc((100% / 3) - 20px);
    height: clamp(160px, 50vh, 320px);
}

.product-gallery .gallery-item :is(a, span) {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-gallery .gallery-item a {
    padding: 20px;
    overflow: hidden;
}

.product-gallery .gallery-item a::before {
    content: '';
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    height: 4px;
    width: 0;
    transition: width .25s ease-in-out;
    background: var(--color-catalog-primary);
    border-radius: 20px;
    filter: grayscale(1);
}

.product-gallery .gallery-item a:hover::before {
    width: 60%;
    height: 50%;
    left: -10%;
    top: 90%;
    box-shadow: 0px 0px 0px 15px var(--color-catalog-action);
    transform: rotate(45deg);
    filter: none;
}

.product-gallery .gallery-item .image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-gallery .gallery-item.video {
    order: 1;
    width: 50%;
    height: auto;
    margin-inline: auto;
}

@media screen and (width <=600px) {
    .product-gallery .gallery-item {
        width: calc((100% / 2) - 20px);
        height: 160px;
    }

    .product-gallery .gallery-item.video {
        order: 1;
        width: calc((100% / 2) - 20px);
        height: 160px;
        display: flex;
    }
}

/* Product.Detailed.FeattureList */
.product-features-list {
    padding: 20px;
}

.product-features-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-features-list .line .icon {
    color: var(--color-catalog-action);
    margin: 0;
}

/* Product.Detailed.Component: Tabs Details */
.product-tabs-details {
    position: relative;
    padding: 20px 0;
    background-color: transparent;
    scroll-margin-top: clamp(80px, 10vh, 120px);
    background-color: var(--color-catalog-light);
}

.product-tabs-details:not(:has(li)) {
    display: none;
}

.product-tabs-details .nav {
    justify-content: flex-start;
    column-gap: 16px;
    position: relative;
}

.product-tabs-details .nav::before {
    content: "";
    height: 6px;
    position: absolute;
    background-color: var(--color-catalog-status-neutral);
    width: 100%;
    bottom: 0;
}

.product-tabs-details .nav-item {
    width: clamp(160px, 2vw, 25%);
}

.product-tabs-details .nav-link {
    font-size: clamp(0.75rem, 0.75rem + 0.5vw, 1.25rem);
    padding: 12px 16px;
    border-color: transparent;
    border-bottom-color: var(--color-catalog-secondary);
    border-width: 2px;
    position: relative;
    width: 100%;
}

.product-tabs-details .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    font-size: calc(16px + 1.5vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: transparent;
}

.product-tabs-details .nav-link::first-letter {
    text-transform: uppercase;
}

.product-tabs-details .nav-link:is(.active, :hover) {
    color: var(--color-catalog-dark);
}

.product-tabs-details .nav-link:is(.active, :hover)::before {
    background-color: var(--color-catalog-primary);
    animation: grown-underline linear .15s;
}

.product-tabs-details .content {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
}

.product-tabs-details .content-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0 5px;
    overflow: hidden;
    transition: all linear .15s;
}

.product-tabs-details .content-wrapper.cols {
    width: calc(50% - 10px);
}

.product-tabs-details .content-wrapper.collapse {
    height: clamp(200px, 24vw, 370px);
}

.product-tabs-details .content-wrapper.show {
    height: auto;
}

.product-tabs-details .line:nth-child(even) {
    background-color: var(--color-catalog-status-info-light);
}

.product-tabs-details .line>.name {
    font-weight: bold;
    width: 50%;
    margin: 0;
    opacity: 0.7;
}

.product-tabs-details .line>.value {
    width: 50%;
}

.product-tabs-details .line>:is(.name, .value) {
    text-align: left;
}

.product-tabs-details .line:not(:has(.name))>.value {
    width: 100%;
}

@media screen and (width <=1000px) {
    .product-tabs-details .content {
        flex-wrap: wrap;
        gap: 0;
        font-size: 12px;
    }

    .product-tabs-details .content-wrapper.cols {
        width: 100%;
    }
}

@media screen and (width <=600px) {
    .product-tabs-details .content {
        padding: 0;
    }

    .product-tabs-details .nav {
        justify-content: flex-start;
        column-gap: 10px;
        position: relative;
    }

    .product-tabs-details .nav-item {
        width: fit-content;
    }

    .product-tabs-details .nav-link {
        padding: 8px 10px;
    }
}

/* product-services */
.product-services {
    position: relative;
    padding: clamp(20px, 20%, 40px) 20px;
    background-color: var(--color-catalog-light);
}

.product-services .head {
    max-width: 70%;
    text-align: center;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.product-services .head p {
    color: var(--color-catalog-dark50);
}

.product-services .service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(16px, 12px + 3vw, 20px);
    border-radius: 6px;
    text-align: center;
    background-color: var(--color-catalog-secondary);
    width: 100%;
    height: 100%;
}

.product-services .service .icon {
    width: clamp(48px, 2vw + 52px, 64px);
    height: clamp(48px, 2vw + 52px, 64px);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid transparent;
}

.product-services .service i {
    font-size: clamp(1rem, 2vw + 1.75rem, 2rem);
    opacity: .8;
    color: var(--color-catalog-status-info);
}

.product-services .service p {
    font-size: 0.75rem;
    opacity: .8;
    max-height: 54px;
    overflow: hidden;
}

/* product-montage */
.product-montage {
    --y: clamp(16px, 60%, 40px);
    padding: var(--y) 16px;
    background-color: var(--color-catalog-secondary);
    border-radius: 6px;
    margin: 20px auto auto;
    width: 90%;
    position: relative;
}

.product-montage .row {
    align-items: center;
}

.product-montage .content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.product-montage .content>* {
    flex: 0 0 auto;
    width: fit-content;
}

.product-montage .content>h2 {
    width: 100%;
}

.product-montage .content>h2+p {
    width: 100%;
}

.product-montage .content>*:not(h2, .product-montage-btns) {
    opacity: .8;
    font-size: 0.875rem;
}

.product-montage-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media screen and (width <=1000px) {
    .product-montage .content>* {
        flex: 0 0 auto;
        width: auto;
    }
}

@media screen and (width <=600px) {
    .product-montage .content>* {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .product-montage-btns {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }
}


@media print {
    .noprint {
        visibility: hidden;
    }
}

@media screen and (max-width:992px) {
    .wish-list-container {
        width: 100%;
    }

    .product-panel {
        width: 100%;
        height: auto;
    }

    .product-images {
        width: 100%;
    }
}

.note-wrapper:not(:has(li)) {
    display: none;
}

.gallery-panel {
    height: auto;
    width: fit-content;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

@media screen and (width <=600px) {
    .gallery-panel {
        height: auto;
        width: 100%;
        top: auto;
        z-index: 10;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
        gap: 10px;
    }
}


/* Kits page */
.catalog-kits {
    position: relative;
}

.kits-list {
    position: relative;
}

.kits-list-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-margin-top: clamp(80px, 10vh, 100px);
}

.kits-list-content *:has(.kit-item):nth-child(1n) {
    --item-bg: blue;
    --item-image-bg: var(--wall-light, '');
    --item-color: var(--color-catalog-dark);
}

.kits-list-content *:has(.kit-item):nth-child(2n) {
    --item-bg: yellow;
    --item-image-bg: var(--wall-dark, '');
    --item-color: var(--color-catalog-light);
}

.kits-list-content :is(.prev, .next) {
    width: fit-content;
    border: none;
}

.kit-item {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 6px;
    z-index: 1;
}

.kit-item::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--item-bg, lightgray);
    background-image: var(--item-image-bg);
    background-size: cover;
    background-position: center left;
}

.kit-item-media {
    width: 50%;
    height: 100%;
    position: relative;
}

.kit-item-image {
    display: block;
    width: 100%;
    height: clamp(150px, 50vw + 5vh, 280px);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.kit-item-image-stack {
    position: relative;
    width: 100%;
    height: clamp(150px, 50vw + 5vh, 280px);
    perspective: 1000px;
    overflow: visible;
}

/* base styles for all product images */
.kit-item-image-stack .img-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(180px, 50%, 260px);
    height: clamp(180px, 100%, 260px);
    transform-origin: center center;
    transition: transform .45s cubic-bezier(.2, .9, .25, 1), box-shadow .3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    border-radius: 10px;
    transform: translate(-50%, -50%);
    will-change: transform;
    z-index: var(--image-zindex, 2);
}

.kit-item-image-stack .img-box>span {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    display: block;
}

/* translated / rotated composition — tweak values to taste */
.kit-item-image-stack .image-box-wrapper:nth-child(1n) .img-box {
    transform: translate(calc(-50% - 90px), calc(-50% + 40px)) rotate(-8deg) scale(1);
    filter: saturate(.98) brightness(.98);
}

.kit-item-image-stack .image-box-wrapper:nth-child(2n) .img-box {
    transform: translate(calc(-50% + 10px), calc(-50% - 10px)) rotate(6deg) scale(1);
    filter: saturate(1.02) brightness(1);
}

.kit-item-image-stack .image-box-wrapper:nth-child(3n) .img-box {
    transform: translate(calc(-50% + 110px), calc(-50% + 30px)) rotate(12deg) scale(1);
    filter: saturate(1.01) brightness(1.02);
}

/* hover interaction (optional) — separate the stack and lift hovered image */
.kit-item-image-stack:hover .image-box-wrapper .img-box {
    transform-style: preserve-3d;
    filter: blur(0);
}

.kit-item-image-stack .image-box-wrapper .img-box:hover {
    transform: translate(-50%, -60%) scale(1.06) rotate(0deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, .32);
    z-index: 20;
    background-color: var(--color-catalog-light);
    cursor: pointer;
}

@media screen and (width <=600px) {

    /* translated / rotated composition — tweak values to taste */
    .kit-item-image-stack .image-box-wrapper:nth-child(1n) .img-box {
        transform: translate(calc(-50% - 90px), calc(-60% + 10px)) rotate(-8deg) scale(1);
        filter: saturate(.98) brightness(.98);
    }

    .kit-item-image-stack .image-box-wrapper:nth-child(2n) .img-box {
        transform: translate(calc(-50% + 10px), calc(-50% - 10px)) rotate(6deg) scale(1);
        filter: saturate(1.02) brightness(1);
    }

    .kit-item-image-stack .image-box-wrapper:nth-child(3n) .img-box {
        transform: translate(calc(-50% + 110px), calc(-60% + 10px)) rotate(8deg) scale(1);
        filter: saturate(1.01) brightness(1.02);
    }

    .kit-item-image-stack .image-box-wrapper .img-box:hover {
        transform: translate(-50%, -50%) scale(1.06) rotate(0deg);
        box-shadow: 0 30px 50px rgba(0, 0, 0, .32);
        z-index: 20;
        background-color: var(--color-catalog-light);
    }
}

.kit-item-content {
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--item-color);
}

.kit-item-content .title {
    text-align: left !important;
    color: var(--item-color, grey) !important;
}

.kit-item-content .price {
    font-size: 1.5rem;
}

.kit-item-content .old-price {
    opacity: .8;
    text-decoration: line-through var(--color-catalog-status-error);
    margin-left: 10px;
    font-size: clamp(0.75rem, 2vw + 2vh, 1.2rem);
}

.kit-item-content .final-price {
    font-weight: bold;
    font-size: clamp(1.2rem, 2vw + 4vh, 2rem);
}

.kit-item-content .buttons {
    margin-top: auto;
    width: 100%;
    display: flex;
    gap: 20px;
    padding-top: 20px;
}

.kit-item-content .add-to-cart {
    width: auto;
}

.kit-item-content .add-to-cart:hover {
    box-shadow: none;
    color: var(--color-catalog-dark);
}

.kit-item-content .show-inside {
    border: 1px solid var(--item-color);
    color: var(--item-color);
    transition: ease-in-out .15s;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kit-item-content .show-inside:hover {
    background-color: var(--color-catalog-dark);
    color: var(--color-catalog-light);
    border-color: var(--color-catalog-dark);
}

.kit-item-content .details-inside {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.kit-item-content .details-inside .card {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    text-align: justify;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 2rem;
    color: var(--color-catalog-dark);
}

.kit-item-content .details-inside .btn-close {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 1;
    font-size: 0.75rem;
}

.kit-item-content .elements .line {
    font-size: 0.75rem;
    height: 32px;
    width: 100%;
    border: none;
    display: flex;
    align-items: end;
}

.kit-item-content .elements .line p {
    margin: 0;
    height: fit-content;
}

@media screen and (width <=1000px) {
    .kit-item {
        padding: 1rem;
    }
}

@media screen and (width <=600px) {
    .kit-item::before {
        background-position: 100vh;
    }

    .kit-item-media {
        width: 100%;
    }

    .kit-item-content {
        width: 100%;
        margin-top: 12px;
    }
}

/* page-content */
.page-content {
    position: relative;
    overflow: hidden;
    scrollbar-width: none;
    background-color: transparent;
    height: clamp(100px, 8vh + 8vw, 210px);
    padding-top: 2rem;
    padding-bottom: max(2vw, 30px);
}

.page-content.collapse {
    display: block;
    transition: height .5s ease-in-out;
}

.page-content+.content-toolbar {
    margin: 0;
    padding: 6px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    position: relative;
    top: calc(100% - 10px);
    right: 0;
    background-color: var(--color-catalog-light);
}

.page-content.collapse.show {
    height: min-content;
}

.page-content.collapse.show::after {
    display: none;
}

.page-content.collapse.show+.content-toolbar {
    background-color: transparent;
}

/* checkout page */
#catalog-shopping {
    min-height: 100vh;
    height: auto;
}

.checkout-area {
    --gap: 10px;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap);
    justify-content: space-between;
}

.checkout-area .title:has(h1) {
    width: 100%;
    text-align: center;
}

.checkout-area .checkout-header {
    color: var(--color-catalog-dark50);
    border: 2px solid transparent;
    border-bottom-color: var(--color-catalog-secondary);
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.checkout-client {
    position: sticky;
    top: 136px;
}

@media screen and (width <=600px) {
    .checkout-area {
        width: 100%;
        flex-direction: column;
    }

    .checkout-client {
        position: relative;
        top: auto;
    }
}

/* .checkout-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "goods    contact"
        "services address"
        "total    payer"
        ".        terms"
        ".        submit";

    gap: 16px;
    align-items: start;
}

.checkout-form .goods {
    grid-area: goods;
}

.checkout-form .services {
    grid-area: services;
}

.checkout-form .total {
    grid-area: total;
}

.checkout-form .contact {
    grid-area: contact;
}

.checkout-form .address {
    grid-area: address;
}

.checkout-form .payer {
    grid-area: payer;
}

.checkout-form .terms {
    grid-area: terms;
}

.checkout-form .submit {
    grid-area: submit;
}

.checkout-form h2 {
    text-align: left !important;
} */

.checkout-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 40px;
}

.checkout-form>.step {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 10px;
}

.checkout-form .card {
    border: var(--bs-card-border-width) solid var(--bs-card-border-color) !important;
    margin-bottom: 0;
    padding: 0;
    height: fit-content;
}

.checkout-form :is(.card, .card-body) {
    height: fit-content;
}

.checkout-form .list-group-item {
    border-top: none;
    border-left: none;
    border-right: none;
    padding-inline: 0;
}

.checkout-form .list-group-item:last-child {
    border-bottom: none;
}

.checkout-form .card-title {
    font-size: clamp(0.75rem, 40% + 1vw, 1.125rem);
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.checkout-form .form-group:not(:last-child) {
    margin-bottom: 10px;
}

.checkout-form .form-group label {
    font-weight: 600;
    font-size: clamp(0.75rem, 75%, 0.875rem);
}

.checkout-form .form-group label .text-danger {
    opacity: 0;
}

.checkout-form .notices:not(:has(>*)) {
    display: none;
}

.checkout-form .cart-item .title {
    width: 100%;
}

.checkout-form a {
    text-decoration: underline;
}

.checkout-form a:hover {
    color: var(--color-catalog-action);
}

.checkout-form .form-check-input:checked {
    background-color: var(--color-catalog-action);
    border-color: var(--color-catalog-secondary);
}

.checkout-form .form-control:focus:invalid {
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

@media screen and (width <=600px) {
    .checkout-form>.step {
        width: 100%;
    }

    .checkout-form .card-title {
        margin-bottom: 4px;
    }

    .checkout-form .form-check .note {
        display: none;
    }

    .checkout-form .form-check:has(>:checked) .note {
        display: block;
    }
}

.checkout-cart {
    width: calc(50% - var(--gap));
}

.checkout-cart .cart-item {
    border-radius: 0;
    border-color: transparent;
    border-bottom: 2px solid var(--color-catalog-secondary);
    flex-wrap: nowrap;
}

.checkout-cart .cart-item .image {
    width: calc(15% - 10px);
    height: clamp(40px, 40px + 0.5vw, 60px);
    background-repeat: no-repeat;
    background-size: contain;
}

.checkout-cart .cart-item .title {
    width: calc(60% - 10px);
    font-size: clamp(0.75rem, 0.625rem + 0.25vw, 0.875rem);
}

.checkout-cart .cart-item .price {
    width: calc(25% - 10px);
    text-align: end;
}


.checkout-cart .total {
    border: 2px solid transparent;
    border-bottom-color: var(--color-catalog-secondary);
    margin-top: 16px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 6px 12px;
}

.checkout-cart .total h5 {
    color: var(--color-catalog-dark50);
}

@media screen and (width <=1000px) {
    .checkout-cart .cart-item {
        flex-wrap: wrap;
    }

    .checkout-cart .cart-item .image {
        width: calc(40% - 10px);
        height: auto;
        aspect-ratio: 4/3;
    }

    .cart-item :is(.mode, .options) {
        order: 1;
    }

    .checkout-cart .cart-item .price {
        width: auto;
        text-align: start;
    }
}

@media screen and (width <=600px) {
    .checkout-cart {
        width: 100%;
    }

    .checkout-cart .total {
        padding: 6px 0;
    }
}

/* checkout-modal */
.outcome-end-header {
    padding: 14px;
    display: flex;
    align-items: baseline;
    flex-direction: row-reverse;
    gap: 20px;
    height: auto;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--color-catalog-light);
}

.outcome-box {
    background-color: var(--color-catalog-light);
    border-radius: 6px;
    border: 1px solid var(--color-catalog-dark25);
    margin-bottom: 6px;
}

.outcome-box-head {
    position: relative;
    margin: 0;
    border-bottom: 1px solid var(--color-catalog-light);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0 10px;
    padding: 16px;
}

.outcome-box-head>h5 {
    width: auto;
    margin: 0 auto 0 0;
    font-size: 0.875rem;
}

.outcome-box-head>span {
    font-size: 0.75rem;
    opacity: .7;
}

.outcome-end-icon {
    padding: 20px;
    width: 64px;
    height: 64px;
    position: relative;
    border-radius: 50%;
    color: var(--color-catalog-secondary);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    z-index: 1;
    background-color: var(--color-catalog-status-success);
}

.outcome-box.products-book li>span:first-child {
    width: 80%;
}
.outcome-box.products-book li>span:last-child {
    width: 20%;
    text-align: end;
}

.outcome-box ul {
    list-style: none;
    margin: 0;
    padding: 16px;
}

.outcome-box li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.outcome-box li>span {
    width: auto;
    opacity: .7;
    font-size: clamp(0.625rem, 80%, 0.875rem);
}

.outcome-box li>span:last-child {
    width: auto;
    opacity: 1;
}

.outcome-rows {
    font-size: 0.875rem;
}

.outcome-button-box :is(button, a) {
    position: relative;
    min-width: 100px;
    border-radius: 6px;
    border: 1px solid var(--color-catalog-dark);
    color: var(--color-catalog-dark);
    padding: 0.875rem;
    margin: 0;
}

.outcome-button-box :is(button, a):hover {
    box-shadow: var(--hover-catalog-shadow);
    border: 1px solid var(--color-catalog-dark);
}

.outcome-button-box .download {
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
}
.outcome-button-box .download:hover {
    background-color: var(--color-catalog-action);
    border-color: var(--color-catalog-light);
    color: var(--color-catalog-light);
}

.outcome-show {
    border: 1px solid var(--color-catalog-dark);
    color: var(--color-catalog-dark);
    width: 100%;
}

.outcome-show:hover {
    background-color: var(--color-catalog-dark);
    color: var(--color-catalog-light);
}

@media screen and (width <= 600px) {
    .outcome-box-head {
        padding: 6px 12px;
    }
    .outcome-box ul {
        padding: 6px 12px;
    }
}

/* Error Page */
body:has(.error-page) {
    background-color: var(--color-catalog-primary);
}

.error-page {
    background: transparent;
}

/* Catalog Page */
.catalog-page {
    position: relative;
}

.catalog-page .space-fixer-top {
    display: none;
}

.catalog-page:has(:where(.catalog-area, .catalog-product, .catalog-pay)) .space-fixer-top {
    display: block;
}

.catalog-page h1 {
    line-height: 1.03;
    font-weight: 800;
    color: var(--color-catalog-dark);
    margin: 0 0 .75rem 0;
    letter-spacing: -0.01em;
}

.catalog-page h2 {
    text-align: center;
    line-height: 1.03;
    font-weight: 800;
    color: var(--color-catalog-dark);
    margin: 0 0 .75rem 0;
    letter-spacing: -0.01em;
    font-size: clamp(1.125rem, 50% + 2.5vw, 1.875rem);
}

.catalog-page h2+ :is(.subtitle, p:not([class])) {
    text-align: center;
    max-width: 75%;
    margin-inline: auto;
}

.catalog-page section {
    border-top: 1px solid var(--color-catalog-mute);
    margin-bottom: clamp(14px, 2vw, 20px);
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.catalog-page figure.image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 1px;
    color: transparent;
    margin-top: 0;
    border-radius: 6px;
    overflow: hidden;
}

.catalog-page figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.shop-card .card-img {
    position: relative;
    margin-bottom: 10px;
    height: fit-content;
    z-index: 1;
    overflow: hidden;
}

.shop-card.use-shape .card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(24px, 0) scale(1.2);
    width: 100%;
    height: 100%;
    background-image: var(--shape, '');
    background-repeat: no-repeat;
    background-size: contain;
    filter: grayscale(1);
    z-index: -1;
    overflow: hidden;
}

.shop-card .card-img img {
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center;
}

.shop-card a {
    color: var(--color-catalog-dark);
}

.shop-card i {
    padding: 4px;
    background-color: transparent;
    border-radius: 50%;
}

.shop-card:hover .bg-body-secondary {
    background-color: transparent !important;
}

.shop-card:hover .card-img::before {
    filter: none;
    transform: translate(24px, 0) scale(1.2);
}

.shop-card:hover a {
    color: var(--color-catalog-action);
}

.shop-card:hover i {
    background-color: var(--color-catalog-primary);
}

/* MISC */
div:has(>.modal) {
    height: min-content;
}

@media screen and (width <=800px) {
    .modal-dialog-centered {
        align-items: flex-start;
    }
}

.swal2-styled.swal2-confirm {
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: var(--color-catalog-action);
    color: var(--color-catalog-light);
    font-size: 1em;
}