@import "reset.css";
@import "base.css";
@import "layout.css";

#content {
    margin-bottom: 40px;
}

.page-cms #content p {
    margin-bottom: 1em;
}

.page-cms h2,
.page-cms h3,
.page-cms h4,
.page-cms h5,
.page-cms h6 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.content-wrapper {
    margin-top: 30px;
}

header {
    display: flex;
    flex-direction: column;
}

footer {
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.home-products__empty {
    font-size: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */

.product-card {
    background-color: var(--white);
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    max-height: fit-content;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    display: block;
    flex-shrink: 0;
}

.product-card__image img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.product-card__title {
    margin-top: 14px;
    font-size: 16px;
    min-height: 50px;
    max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-transform: none;
}

.product-card__price {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 400;
}

.product-card__actions {
    margin-top: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
}

.product-card__quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #f7f7f7;
    border-radius: 8px;
}

.quantity__btn {
    background-color: transparent;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quantity__btn:hover {
    background: #e3e3e3;
}

.quantity__input {
    width: 38px;
    height: 32px;
    text-align: center;
    border: none;
    background-color: transparent;
    border-radius: 6px;
}

.product-card__button {
    width: 100%;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    border-radius: 8px;
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    transition: background 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
    position: relative;
}

.product-card__button:hover {
    background: var(--green-hover);
}

.product-card__button:disabled,
.product-card__button[disabled] {
    background: var(--disabled);
    cursor: not-allowed;
    pointer-events: none;
}

/* ================================
   OOS BADGE
================================ */
.product-card__oos-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #b0281a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.product-card__image-wrapper.is-oos .product-card__image img {
    opacity: 0.65;
}

.product-card__button.success {
    background: var(--green) !important;
    transform: scale(1.04);
}

.product-card__button.loading {
    pointer-events: none;
    opacity: 0.7;
    color: transparent;
}

.product-card__button.loading::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   IMAGE WRAPPER
================================ */
.product-card__image-wrapper {
    position: relative;
}

/* ================================
   WISHLIST BUTTON
================================ */
.product-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.product-card:hover .product-card__wishlist {
    opacity: 1;
}

.product-card__wishlist .wishlist-heart {
    width: 18px;
    height: 18px;
}

.product-card__wishlist .wishlist-heart path {
    fill: none;
    stroke: #000;
    transition: fill 0.2s ease,
    stroke 0.2s ease,
    transform 0.2s ease;
}

.product-card__wishlist.in-wishlist .wishlist-heart path {
    fill: #e60023;
    stroke: #e60023;
}

/* ============================================================
   ADD TO CART - PRODUCT PAGE
   ============================================================ */

.quantity-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 0;
    width: fit-content;
    height: 44px;
}

.quantity-selector::before,
.quantity-selector::after {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 22px;
    color: #333;
    user-select: none;
    font-weight: 300;
}

.quantity-selector::before {
    content: "−";
    order: -1;
}

.quantity-selector::after {
    content: "+";
    order: 1;
}

.quantity-selector::before:hover,
.quantity-selector::after:hover {
    background-color: #ececec;
}

.quantity-selector::before:active,
.quantity-selector::after:active {
    background-color: #e0e0e0;
}

.quantity-selector::before {
    border-radius: 6px 0 0 6px;
}

.quantity-selector::after {
    border-radius: 0 6px 6px 0;
}

.quantity-selector .bootstrap-touchspin {
    display: contents;
}

.quantity-selector .input-group-btn-vertical,
.quantity-selector .bootstrap-touchspin-prefix,
.quantity-selector .bootstrap-touchspin-postfix {
    display: none !important;
}

.quantity-input {
    border: none;
    background: none;
    text-align: center;
    width: 50px;
    height: 44px;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    outline: none;
    order: 0;
    color: #333;
}

.cart-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.add-to-cart-button {
    background-color: var(--green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0 28px;
    font-size: 16px;
    cursor: pointer;
    min-width: 60%;
    height: 44px;
    white-space: nowrap;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.add-to-cart-button:hover {
    background-color: var(--green-hover);
}

.add-to-cart-button:disabled {
    background-color: var(--disabled);
    cursor: not-allowed;
    width: 100%;
}

/* ── Product availability ─────────────────────── */
.product-availability {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.product-available {
    fill: var(--green);
}

.product-last-items {
    fill: #c97800;
}

.product-unavailable {
    fill: #b0281a;
    flex-shrink: 0;
}

.product-availability:has(.product-unavailable) {
    color: #b0281a;
    background-color: #fdf1f0;
    border: 1px solid #e8c0bc;
    border-radius: 4px;
    padding: 5px 10px;
}

@media (max-width: 991px) {
    .quantity-controls {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .add-to-cart-button {
        width: 100%;
    }

    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .cart-actions {
        width: 100%;
    }
}

/* ============================================================
   PRODUCT GALLERY (Main + Modal)
   ============================================================ */

.product-images {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.product-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-media__main {
    margin: 0;
}

.product-media__image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.product-media__thumbnails {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.product-media__thumbnail {
    width: 70px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-media__thumbnail.is-active {
    border-color: var(--black);
}

.media-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99990;
}

.media-modal.is-open {
    display: flex;
}

.media-modal__overlay {
    position: absolute;
    inset: 0;
}

.media-modal__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.media-modal__main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-modal__image {
    max-width: 100%;
    max-height: 80vh;
}

.media-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 24px;
    cursor: pointer;
}

.media-modal__thumbnails {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.media-modal__thumbnail {
    width: 60px;
    border: 2px solid transparent;
    cursor: pointer;
}

.media-modal__thumbnail.is-active {
    border-color: var(--white);
}

.media-modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 8px 16px;
    font-size: 32px;
    cursor: pointer;
}

.media-modal__arrow--left {
    left: 16px;
}

.media-modal__arrow--right {
    right: 16px;
}

/* ============================================================
   PAGE LAYOUT (DEFAULT: CATEGORY / LISTING)
   ============================================================ */

.page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 10px 40px;
    box-sizing: border-box;
}

/* ============================================================
   SEARCH PAGE LAYOUT OVERRIDE
   ============================================================ */

.page-layout--search {
    grid-template-columns: 1fr;
}

.page-layout--search .filters {
    display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .page-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        order: 1;
    }

    .products-section {
        order: 2;
    }

}

@media (max-width: 600px) {

    .page-layout {
        gap: 20px;
    }

    .products-header {
        display: none;
    }

    .products-header-right {
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* ============================================================
   CATEGORY HEADER BLOCK
   ============================================================ */

.category-header {
    padding: 25px 20px;
    background: #1c4a31;
    border-radius: 8px;
    color: var(--white);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-title {
    margin: 0;
    font-weight: 700;
    color: var(--white);
}

.category-description {
    color: #f5f5f5;
    max-width: 850px;
}

.category-cover {
    text-align: center;
    margin-top: 10px;
}

.category-image {
    max-width: 100%;
    border-radius: 10px;
}


/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.products-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: inherit;
}

.products-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.products-count {
    color: var(--brown-dark);
}

.products-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.products-showing {
    color: #444;
}

.products-header .row,
.products-header .col-sm-12,
.products-header .col-xs-4,
.products-header .col-sm-3 {
    all: unset !important;
    display: contents !important;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */

.products-grid-wrapper .products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 900px) {

    .products-grid-wrapper .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .products-grid-wrapper .products {
        grid-template-columns: 1fr;
    }
}

.product-miniature {
    text-align: center;
    margin: 0 !important;
}

.product-miniature img {
    width: 100%;
    border-radius: 8px;
}

.product-miniature .product-title a {
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.product-miniature .price {
    font-weight: 600;
    margin-top: 6px;
    color: #1c4a31;
}

.product-miniature .add-to-cart,
.product-miniature .product-actions button {
    width: 100%;
    padding: 10px 0;
    background: #1c4a31;
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
}

.product-miniature .product-actions button:hover {
    background: #256040;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.products-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.pg {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.pg__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg__item {
    display: flex;
}

.pg__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    color: #9a9a9a;
}

.pg__link:hover {
    color: #6f6f6f;
}

.pg__item.is-current .pg__link {
    background: #bdb1a6;
    color: var(--white);
}

.pg__item.is-disabled .pg__link {
    opacity: 0.45;
    pointer-events: none;
}

.pg__spacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 18px;
    color: #9a9a9a;
}

.pg__arrow {
    transform: translateY(-1px);
}

.pg__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   PRODUCT SORTING - CLICK TO OPEN
   ============================================================ */

.products-sort-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sort-by-label {
    font-weight: 600;
    color: #444;
}

.sort-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.sort-toggle {
    display: none;
}

.sort-current {
    color: var(--black);
}

.sort-arrow {
    border-width: 5px 4px 0 4px;
    border-style: solid;
    border-color: var(--black) transparent transparent transparent;
    margin-top: 2px;
    transition: 0.2s;
}

.sort-toggle:checked + .sort-current + .sort-arrow {
    transform: rotate(180deg);
}

.sort-options {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    display: none;
    min-width: 100%;

    padding: 4px 0;
    background: var(--white);
    border: 1px solid #ccc;
    border-radius: 4px;

    list-style: none;
    margin: 0;
    white-space: nowrap;
    z-index: 20;
}

.sort-toggle:checked ~ .sort-options {
    display: block;
}

.sort-options li a {
    display: block;
    padding: 6px 12px;
    color: var(--black);
    text-decoration: none;
}

.sort-options li a:hover {
    background: #f3f3f3;
}

.sort-options li a.active {
    background: #e8f2eb;
    font-weight: 600;
}

/* ============================================================
   FACETS (Filters Sidebar + Mobile Drawer)
   ============================================================ */

.fs-mobileButton {
    background: inherit;
    color: var(--black);
    cursor: pointer;
    margin-bottom: 16px;

    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    text-transform: uppercase;
    border: none;
}

.fs-mobileButton__icon {
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .fs-mobileButton {
        display: flex !important;
    }
}

.fs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.fs-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.fs-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ============================================================
   FACETS - MOBILE DRAWER
   ============================================================ */

@media (max-width: 991px) {
    .fs-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: auto !important;

        width: 86%;
        max-width: 420px;
        height: 100vh;
        background: var(--white);

        z-index: 9999;
        overflow-y: auto;
        padding: 18px 18px 24px;

        transform: translateX(-110%);
        transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.2, 1);
        box-shadow: 6px 0 22px rgba(0, 0, 0, 0.16);
        will-change: transform;
    }

    .fs-panel.active {
        transform: translateX(0);
    }
}

.fs-header {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f5f5f5;
}

@media (min-width: 992px) {
    .fs-header {
        display: none;
    }
}

@media (max-width: 991px) {
    .fs-header {
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 2;

        padding: 10px 12px;
        margin: -18px -18px 14px;
    }
}

.fs-header__close {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--black);
    font-size: 30px;
}

.fs-panel__title {
    margin: 0 0 12px;
    text-transform: uppercase;
    color: var(--black);
}

@media (max-width: 991px) {
    .fs-panel__title {
        display: none;
    }
}

.fs-facet {
    padding-bottom: 18px;
    border-bottom: 1px solid #f5f5f5;
}

.fs-facet:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.fs-facet__title {
    margin: 10px 0 12px;
    text-transform: uppercase;
    color: var(--black);
}

@media (max-width: 991px) {
    .fs-facet__title {
        display: none;
    }
}

.fs-facet__toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.fs-facet__toggleText {
    text-transform: uppercase;
    color: var(--black);
}

.fs-facet__toggleIcons {
    display: flex;
    gap: 10px;
}

.fs-facet__icon {
    opacity: 0.9;
}

.fs-facet__icon--close {
    display: none;
}

@media (max-width: 991px) {
    .fs-facet__toggle {
        display: flex;
    }
}

/* ============================================================
   ACCORDION (mobile only)
   ============================================================ */

.fs-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .fs-options {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 991px) {
    .fs-options {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-2px);
        transition: max-height 0.32s cubic-bezier(0.22, 0.8, 0.2, 1),
        opacity 0.18s ease,
        transform 0.18s ease;
    }

    .fs-options.is-open {
        opacity: 1;
        transform: translateY(0);
    }
}

.fs-option {
    margin: 0 0 12px;
}

.fs-option__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.facet-label .ps-shown-by-js,
.facet-label .checkbox-checked {
    display: none !important;
}

.fs-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.fs-swatch--texture {
    background-size: cover;
    background-position: center;
}

.fs-control {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fs-control__input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #d9d9d9;
    background: var(--white);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.custom-radio .fs-control__input {
    border-radius: 50%;
}

.custom-checkbox .fs-control__input:checked {
    border-color: #cbbeb2;
}

.custom-checkbox .fs-control__input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #cbbeb2;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio .fs-control__input:checked {
    border-color: #cbbeb2;
}

.custom-radio .fs-control__input:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #cbbeb2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.fs-option__link {
    flex: 1;
    color: var(--black);
    text-decoration: none;
}

.fs-option__count {
    margin-left: 6px;
    color: var(--brown);
}

.fs-dropdown {
    position: relative;
    width: 100%;
}

.fs-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    color: var(--black);
    background: var(--white);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    cursor: pointer;
}

.fs-dropdown__menu {
    display: none;
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 8px 0;
    margin-top: 6px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.fs-dropdown.is-open .fs-dropdown__menu {
    display: block;
}

.fs-dropdown__item {
    display: block;
    padding: 8px 14px;
    color: var(--black);
    text-decoration: none;
}

.fs-dropdown__item:hover {
    background: #f5f5f5;
}

[id^="slider-range_"] {
    padding: 0 12px;
    box-sizing: border-box;
}

.ui-slider-horizontal {
    height: 4px !important;
    background: #e8e2db !important;
    border-radius: 999px !important;
    margin: 10px 10px !important;
}

.ui-slider .ui-slider-range {
    background: #bfb2a6 !important;
    border-radius: 999px !important;
}

.ui-slider .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    background: var(--white) !important;
    border: 3px solid #bfb2a6 !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    cursor: grab !important;
}

.ui-slider .ui-slider-handle:hover {
    box-shadow: 0 0 0 8px rgba(191, 178, 166, 0.15) !important;
}

.ui-slider .ui-slider-handle:active {
    cursor: grabbing !important;
    box-shadow: 0 0 0 12px rgba(191, 178, 166, 0.22) !important;
}

.fs-clear {
    margin-top: 0;
    padding-top: 18px;
    border-top: 1px solid #ddd;
}

.fs-clear__btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: 0;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
}

/* ============================================================
   CART PAGE - MAIN LAYOUT
============================================================ */

.cartPage__container {
    padding: 25px 0;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cartPage__main {
    flex: 1 1 auto;
    min-width: 0;
}

.cartPage__aside {
    flex: 0 0 360px;
}

.cartPanel {
    overflow: clip;
}

.cartPanel__header {
    background-color: inherit;
    padding: 10px 0 10px;
}

.cartPanel__title {
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cartPanel__body {
    margin: 15px 0;
    padding: 0;
    border-bottom: 1px solid var(--brown-bright);
    border-top: 1px solid var(--brown-bright);
}

.cartPanel__body ul {
    padding-left: 0;
    margin: 0;
}

.cartPanel__body li {
    list-style: none;
}

.cartPanel__body .cart-item,
.cartPanel__body .cart-items > li {
    padding: 20px 0;
}

.cartPanel__footer {
    background: inherit;
}

.btn {
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    padding: 10px 20px;
    min-width: 220px;
    transition: background-color 0.2s ease;
}

.btn--primary:hover {
    background-color: var(--green-hover);
}

.cartPanel--summary {
    background: #f8f8f8;
    border-radius: 14px;
    padding: 20px 22px 22px;
    color: var(--black);
}

.cartPanel--summary hr {
    margin: 14px -4px;
    border: 0;
    border-top: 1px solid #ddd;
}

.cartPanel--summary .cart-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    color: #333;
}

.cartPanel--summary .cart-summary-line .label {
    font-weight: 400;
}

.cartPanel--summary .cart-summary-line .value {
    white-space: nowrap;
    font-weight: 500;
}

.cartPanel--summary .cart-total {
    font-weight: 700;
}

.cartPanel--summary .cart-fee-warning {
    color: #d11;
    margin: 6px 0 4px;
}

.cartPanel--summary .promo-code,
.cartPanel--summary a.discount-link,
.cart-detailed-totals .promo-code {
    display: block;
    text-align: center;
    margin: 12px 0 6px;
    text-decoration: underline;
    cursor: pointer;
    color: #1a1a1a;
}

@media (max-width: 960px) {
    .cartPage__container {
        flex-direction: column;
    }

    .cartPage__aside {
        flex: 1 1 auto;
        width: 100%;
    }

    .btn--primary {
        display: none;
    }
}

/* ============================================================
   CART VOUCHER MODULE
============================================================ */

.voucherBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voucherList {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.voucherItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.voucherName {
    flex: 1 1 auto;
}

.voucherValue {
    margin-left: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.voucherRemove {
    margin-left: 10px;
    color: #aa0000;
    cursor: pointer;
    text-decoration: none;
}

.voucherRemove:hover {
    color: #dd0000;
}

.voucherToggle {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    color: var(--black);
    margin-bottom: 10px;
}

.voucherForm {
    display: none;
    margin-bottom: 12px;
}

.voucherForm[data-collapsed="false"] {
    display: block;
}

.voucherFormRow {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.voucherInput {
    flex: 1 1 auto;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.voucherSubmit {
    padding: 8px 14px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.voucherSubmit:hover {
    background: var(--green-hover);
}

.voucherError {
    display: none;
    margin-top: 6px;
    padding: 8px 10px;
    background: #ffdede;
    border-left: 3px solid #d00;
    border-radius: 4px;
    color: #c00;
}

.voucherError.active {
    display: block;
}

.voucherNote {
    margin: 18px 0 6px;
    color: #444;
}

.voucherOffers {
    list-style: none;
    margin: 0;
    padding: 0;
}

.voucherOfferItem {
    padding: 4px 0;
}

.voucherCode {
    font-weight: 600;
}

/* ============================================================
   CHECKOUT ACTIONS (cart-detailed-actions.tpl)
============================================================ */

.cartActionMessage {
    background: var(--white);
    border-left: 3px solid #e0a800;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #664d03;
}

.cartActionButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.actionButton {
    appearance: none;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
}

.actionButton--primary {
    background: var(--green);
    color: var(--white);
    transition: background-color 0.2s ease;
}

.actionButton--primary:hover {
    background: var(--green-hover);
}

.actionButton--disabled {
    background: var(--disabled);
    cursor: not-allowed;
}

/* ============================================================
   Cart Empty page
============================================================ */

.cartEmpty {
    padding: 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cartEmptyIcon {
    font-size: 56px;
    opacity: 0.6;
}

.cartEmptyTitle {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--black);
}

.cartEmptyButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: var(--green);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.cartEmptyButton:hover {
    background: var(--green-hover);
}

/* ============================================================
   CART PRODUCT LINE (cart-detailed-product-line.tpl)
============================================================ */

.ps-cartItem,
.ps-cartItem * {
    box-sizing: border-box;
}

.ps-cartItem {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 0;
    width: 100%;
}

.ps-cartItem__media {
    flex: 0 0 82px;
    height: 82px;
    display: grid;
    place-items: center;
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
}

.ps-cartItem__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ps-cartItem__info {
    flex: 1 1 auto;
    min-width: 0;
}

.ps-cartItem__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 500;
}

.ps-cartItem__title a {
    color: var(--black);
    text-decoration: none;
}

.ps-cartItem__title a:hover {
    text-decoration: underline;
}

.ps-cartItem__unit {
    margin: 0;
    font-weight: 500;
    color: var(--black);
}

.ps-cartItem__qty {
    flex: 0 0 132px;
    display: flex;
    justify-content: center;
}

.qtyStepper {
    width: 112px;
    height: 44px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.qtyStepper__btn {
    width: 36px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--black);
    user-select: none;
}

.qtyStepper__input {
    width: 40px;
    height: 44px;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: var(--black);
    outline: none;
}

.ps-cartItem__total {
    flex: 0 0 110px;
    text-align: right;
    font-weight: 500;
    color: var(--brown);
    white-space: nowrap;
}

.ps-cartItem__total strong {
    font-weight: 500;
}

.ps-cartItem__removeWrap {
    flex: 0 0 56px;
    display: flex;
    justify-content: flex-end;
}

.ps-cartItem__remove {
    width: 32px;
    height: 32px;
    background: #cfcfcf;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ps-cartItem__remove:hover {
    background: #b8b8b8;
}

.ps-cartItem__remove::before {
    content: "×";
    color: var(--white);
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 960px) {
    .ps-cartItem__qty {
        justify-content: flex-start;
    }

    .ps-cartItem__total {
        text-align: left;
    }

    .ps-cartItem__removeWrap {
        justify-content: flex-start;
    }
}

.js-cart {
    position: relative;
}

.js-cart::after {
    content: "";
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
    z-index: 50;
}

.js-cart::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.55);
    animation: psSpin 0.8s linear infinite;
    display: none;
    z-index: 51;
}

.js-cart.is-loading::after,
.js-cart.is-loading::before {
    display: block;
}

@keyframes psSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   CART DETAILED WRAPPER (cart-detailed.tpl)
============================================================ */

.cartItems,
.cartItems * {
    box-sizing: border-box;
}

.cartItems__empty {
    margin: 0;
    padding: 18px 0;
    color: var(--brown-dark);
    font-size: 16px;
}

.cartItems__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cartItems__row {
    margin: 0;
    padding: 18px 0;
}

.cartItems__row img {
    max-width: 100%;
    height: auto;
}

.cartItems__row .product-line-grid,
.cartItems__row .product-line {
    display: block;
}

/* ============================================================
   CHECKOUT - CUSTOMER FORM (customer-form.tpl)
============================================================ */

.guestForm {
    margin-bottom: 20px;
}

.customerCreateInfo {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.customerCreateInfo__title {
    font-weight: 700;
    font-size: 16px;
}

.customerCreateInfo__optional {
    font-size: 15px;
    font-style: italic;
    color: #666;
    margin-left: 4px;
}

.customerCreateInfo__desc {
    margin-top: 4px;
    font-size: 14px;
    color: #555;
}

.customerForm__submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    float: right;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.customerForm__submit:hover {
    background: var(--green-hover);
}

.customerForm__submit:disabled {
    opacity: 0.6;
    background-color: var(--disabled);
    cursor: not-allowed;
}

/* ============================================================
   CHECKOUT - FORM FIELDS (form-fields.tpl)
============================================================ */

.pi-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 22px;
    margin-bottom: 22px;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .pi-row {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .pi-row > * {
        grid-column: 1 / -1;
    }
}

.pi-label {
    font-weight: 600;
    padding-top: 6px;
    color: var(--black);
}

.pi-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pi-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background: var(--white);
    font-size: 15px;
}

.pi-input--small {
    padding: 10px 10px;
}

.pi-help {
    font-size: 13px;
    color: var(--brown-dark);
}

.pi-password {
    position: relative;
}

.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-35%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.pw-icon {
    pointer-events: none;
}

.pi-optional {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--brown-dark);
    font-style: italic;
}

.pi-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.pi-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.pi-checkbox input:not(:checked):invalid + .pi-checkbox-box {
    border-color: #e74c3c;
}

.pi-checkbox-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}

.pi-checkbox-box {
    min-width: 18px;
    height: 18px;
    border: 1px solid #555;
    border-radius: 3px;
    position: relative;
}

.pi-checkbox input:checked + .pi-checkbox-box::after {
    content: "✔";
    font-size: 13px;
    position: absolute;
    top: -2px;
    left: 2px;
    color: var(--green);
}

.pi-checkbox-text {
    display: flex;
    flex-direction: column;
    max-width: 520px;
}

.pi-checkbox-title > em {
    font-style: italic;
    color: #878787;
    font-size: 12px;
}

.pi-radios {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pi-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pi-radio input {
    display: none;
}

.pi-radio-check {
    width: 17px;
    height: 17px;
    border: 2px solid #444;
    border-radius: 50%;
    position: relative;
}

.pi-radio input:checked + .pi-radio-check::after {
    content: "";
    width: 9px;
    height: 9px;
    background: #0a5030;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

.pi-error-block {
    margin-top: 4px;
}

.pi-error-item {
    color: #c00;
    font-size: 14px;
    padding: 2px 0;
    font-weight: 500;
}

/* ============================================================
   CHECKOUT - PERSONAL INFO TABS (personal-information.tpl)
============================================================ */

.pi-tabs {
    font-size: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
}

.pi-tab {
    all: unset;
    cursor: pointer;
    font-weight: 600;
    color: var(--brown-dark);
    font-size: 16px;
    padding: 2px 4px;
}

.pi-tab.active {
    color: var(--black);
    font-weight: 700;
}

.pi-separator {
    color: var(--brown-bright);
    font-size: 16px;
}

.pi-form-block {
    display: none !important;
}

.pi-form-block.visible {
    display: block !important;
}

.identity {
    font-size: 16px;
    margin-bottom: 6px;
}

.identity a {
    font-weight: 600;
    color: var(--black);
}

.logged-logout {
    font-size: 15px;
    margin-bottom: 10px;
}

.logged-logout a {
    color: var(--green);
    text-decoration: underline;
    font-weight: 500;
}

.logged-warning small {
    font-size: 14px;
    color: var(--brown);
}

.logged-continue {
    text-align: right;
    margin-top: 22px;
}

.logged-continue-btn {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    float: right;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.logged-continue-btn:hover {
    background: var(--green-hover);
}

/* ============================================================
   CHECKOUT - SHIPPING METHODS (shipping.tpl)
============================================================ */

.shipping-wrapper *,
.shipping-wrapper *::before,
.shipping-wrapper *::after {
}

.shipping-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.shipping-item {
    background: #fafafa;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px 19px 20px;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
}

.shipping-row {
    display: grid;
    grid-template-columns: 30px 1fr 150px 90px;
    align-items: center;
    gap: 14px;
    width: 100%;
    cursor: pointer;
}

.shipping-row input[type="radio"] {
    width: 19px;
    height: 19px;
    border: 2px solid #999;
    border-radius: 50%;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.shipping-row input[type="radio"]:checked {
    border-color: var(--green);
}

.shipping-row input[type="radio"]:checked::after {
    content: "";
    width: 11px;
    height: 11px;
    background: var(--green);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.ship-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ship-logo img {
    width: 30px;
}

.ship-title {
    font-weight: 700;
}

.ship-delay {
    font-size: 16px;
    justify-self: center;
}

.ship-price {
    color: var(--black);
    text-align: right;
    justify-self: end;
}

@media (max-width: 767px) {
    .shipping-row {
        grid-template-columns: 28px 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "radio info price"
            ".     delay delay";
        gap: 6px 10px;
        align-items: start;
    }

    .shipping-row input[type="radio"] {
        grid-area: radio;
        margin-top: 2px;
    }

    .ship-info {
        grid-area: info;
    }

    .ship-delay {
        grid-area: delay;
        justify-self: start;
        font-size: 13px;
        color: #666;
    }

    .ship-price {
        grid-area: price;
        white-space: nowrap;
    }

    .ship-logo img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }
}

.shipping-extra {
    margin-top: 12px;
}

.shipping-comment {
    margin-top: 25px;
}

.comment-label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--black);
}

.comment-box {
    width: 100%;
    height: 150px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px;
    resize: vertical;
}

.shipping-submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    float: right;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.shipping-submit:hover {
    background: var(--green-hover);
}

.shipping-empty {
    background: #ffe5e5;
    border: 1px solid #ffb2b2;
    padding: 14px;
    border-radius: 8px;
    color: #c00;
}

/* ============================================================
   CHECKOUT - PAYMENT METHODS (payment.tpl)
============================================================ */

.ps-hidden {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

.payment-wrapper *,
.payment-wrapper *::before,
.payment-wrapper *::after {
    box-sizing: border-box;
    font-family: "Inter", "Open Sans", sans-serif;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

.payment-label img {
    max-height: 36px;
    width: auto;
}

.payment-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 26px 0 6px;
}

.payment-extra-block {
    margin-left: 34px;
    margin-top: 4px;
}

.payment-condition {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.payment-condition input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-condition label {
    font-size: 15px;
    cursor: pointer;
}

.payment-submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    float: right;
}

.payment-submit:hover {
    background: var(--green-hover);
}

.payment-submit:disabled {
    background: var(--disabled);
    cursor: not-allowed;
}

/* ============================================================
   CHECKOUT - ADDRESS FORM (address-form.tpl)
============================================================ */

.customerForm1__submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    transition: all 0.2s ease;
}

.customerForm1__submit:hover {
    background: var(--green-hover);
}

.addressForm__cancel {
    font-size: 14px;
    text-decoration: underline;
    color: var(--brown);
}

.addressForm__cancel:hover {
    color: var(--black);
}

.addressForm__buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.addressForm__checkbox {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   ORDER CONFIRMATION - HEADER
============================================================ */

#order-confirmation-header {
    margin: 30px 0;
}

.oc-title {
    font-size: 40px;
    display: flex;
    align-items: center;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.oc-icon {
    font-size: 40px;
    font-weight: 700;
    color: var(--green);
    margin-right: 10px;
}

.oc-hook > section > p,
.oc-email-info {
    margin-bottom: 10px;
}

.oc-link {
    color: var(--green);
    text-decoration: underline;
}

/* ============================================================
   ORDER CONFIRMATION - TWO-COLUMN LAYOUT
============================================================ */

.oc-layout {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.oc-left {
    flex: 2;
    padding-right: 15px;
    border-right: 1px solid #d8d8d8;
}

.oc-right {
    flex: 1;
}

@media (max-width: 900px) {
    .oc-layout {
        flex-direction: column;
    }

    .oc-left {
        padding-right: 0;
        border-right: none;
    }

    .oc-right {
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }
}

/* ============================================================
   ORDER CONFIRMATION - DETAILS LIST (Sidebar)
============================================================ */

.oc-subtitle {
    font-weight: 600;
    margin-bottom: 15px;
}

.oc-details {
    padding: 0;
    margin: 0;
    list-style: none;
}

.oc-details li {
    margin: 10px 0;
}

.oc-dot {
    display: inline-block;
    margin-right: 6px;
    font-size: 20px;
    vertical-align: top;
}

.oc-text {
    display: inline-block;
    vertical-align: top;
    max-width: 260px;
}

.oc-text em {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

/* ============================================================
   ORDER CONFIRMATION - REGISTRATION BLOCK
============================================================ */

#registration-section h2 {
    margin-bottom: 15px;
}

/* ============================================================
   ORDER CONFIRMATION - TABLE STYLING
============================================================ */

.page-order-confirmation table {
    width: 100%;
    border-collapse: collapse;
}

.page-order-confirmation th,
.page-order-confirmation td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
}

.page-order-confirmation th {
    text-align: left;
    font-size: 15px;
    color: var(--black);
}

.page-order-confirmation td {
    font-size: 16px;
}

.page-order-confirmation .total-line {
    font-weight: 700;
}

/* ============================================================
   ADDRESSES PAGE - TITLES & DESCRIPTION
============================================================ */

.address-section-title {
    font-weight: 600;
    margin-bottom: 30px;
}

.address-description {
    color: var(--black);
    margin-bottom: 15px;
}

.address-section.address-selector {
    margin-top: 10px;
}

/* ============================================================
   ADDRESSES PAGE - ADD NEW ADDRESS LINK
============================================================ */

.address-add-link {
    margin: 10px 0;
}

.address-add-link a {
    color: var(--green);
    text-decoration: none !important;
}

.address-add-link a:hover {
    color: var(--green-hover);
}

.address-add-icon {
    margin-right: 4px;
}

/* ============================================================
   BILLING ADDRESS DIFFERENT LINK
============================================================ */

.address-alt-link {
    margin: 12px 0 26px;
    font-size: 15px;
}

.address-alt-link a {
    color: var(--green);
    text-decoration: none !important;
}

.address-alt-link a:hover {
    color: var(--green-hover);
}

/* ============================================================
   CONTINUE BUTTON
============================================================ */

.address-actions {
    text-align: right;
    margin-top: 24px;
}

.address-continue-btn {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    float: right;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.address-continue-btn:hover {
    background: var(--green-hover);
}

/* ============================================================
   ADDRESS SELECTOR GRID
============================================================ */

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(254px, 1fr));
    gap: 22px;
    margin-bottom: 20px;
}

/* ============================================================
   ADDRESS CARD
============================================================ */

.address-item {
    background: #fafafa;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px;
    transition: border-color .2s, box-shadow .2s;
}

.address-item,
.address-item * {
    background-color: transparent;
}

.address-item.selected {
    border-color: var(--green);
    box-shadow: 0 2px 8px rgba(19, 78, 58, 0.18);
}

.address-item__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.custom-radio {
    margin-top: 4px;
}

.address-main {
    flex: 1;
}

.address-alias {
    font-weight: 700;
    margin-bottom: 6px;
}

.address-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 14px -18px 10px;
}

.address-footer {
    display: flex;
    gap: 20px;
}

.address-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--black);
    text-decoration: none !important;
}

.address-footer a:hover {
    color: var(--brown);
}

.address-footer svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ============================================================
   ORDER CONFIRMATION - PRODUCT LIST TABLE
============================================================ */

.order-items-container {
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    text-transform: capitalize;
    font-weight: 400;
    margin-bottom: 20px;
}

.order-items-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.item-image img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
}

.item-info {
    flex: 1;
    font-size: 16px;
}

.item-name {
    margin-bottom: 5px;
}

.item-pricing {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 30px;
    text-align: right;
}

.item-pricing .unit-price,
.item-pricing .qty,
.item-pricing .total-price {
    font-size: 16px;
    margin: 2px 0;
}

.separator {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.totals-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    display: flex;
}

.totals-table > tbody {
    width: 100%;
}

.totals-table > tbody > tr {
    display: flex;
    justify-content: space-between;
}

.totals-table td {
    padding: 8px 0;
}

.total-row td {
    font-size: 16px;
}

/* ============================================================
   CHECKOUT PAGE LAYOUT
============================================================ */

.checkoutPage {
    padding: 25px 0;
}

.checkoutContent {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.checkoutMain {
    flex: 1 1 auto;
    min-width: 0;
}

.checkoutSidebar {
    flex: 0 0 360px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

@media (max-width: 960px) {
    .checkoutContent {
        flex-direction: column;
        gap: 20px;
    }

    .checkoutSidebar {
        width: 100%;
        position: static;
    }
}

/* ============================================================
   CHECKOUT PAGE DUPLICATE WRAPPER
============================================================ */

.checkoutpage__container {
    padding: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.chekcoutPage__main {
    flex: 1 1 auto;
    min-width: 0;
}

/* ============================================================
   LOGIN - LINKS & FOOTER
============================================================ */

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    margin-bottom: 22px;
}

.login-links a {
    font-size: 14px;
    color: var(--brown);
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-footer {
    margin-top: 10px;
    text-align: right;
}

/* ============================================================
   STEP TITLES
============================================================ */

.step-title {
    margin-bottom: 15px;
}

.step-title__actions {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: normal;
    margin-left: 12px;
}

.checkout-step.-open .step-title__actions {
    display: none;
}

@media (max-width: 767px) {
    .step-title__actions {
        float: none;
        display: flex;
        margin-left: 0;
        margin-top: 4px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .step-title {
        font-size: 26px;
    }

    .customerCreateInfo__optional {
        display: none;
    }
}

/* ============================================================
   SIMPLE COLLAPSE UTILITY (checkout + cart summary)
============================================================ */

.collapse {
    display: none;
}

.collapse.open {
    display: block;
}

/* ============================================================
   CHECKOUT SUMMARY - TOGGLE & ELEMENTS
============================================================ */

.checkoutSummary {
    background: #F8F8F8;
    padding: 20px 22px 22px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    color: var(--black);
}

.checkoutSummary__block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkoutSummary__productsCount {
    font-weight: 700;
    margin: 0 0 4px;
}

.checkoutSummary__toggleRow {
    margin: 0;
}

.checkoutSummary__toggle {
    text-decoration: underline;
    color: var(--black);
    cursor: pointer;
}

.checkoutSummary__detailsList {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkoutSummary__productItem {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 10px;
    align-items: center;
}

.checkoutSummary__thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.checkoutSummary__productInfo .name {
    margin: 0;
}

.checkoutSummary__productPrice {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.checkoutSummary__divider {
    height: 1px;
    background: #e4e4e4;
    margin: 8px 0 4px;
}

.checkoutSummary__divider--strong {
    margin-top: 10px;
}

.checkoutSummary__line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.checkoutSummary__line .label {
    color: var(--black);
}

.checkoutSummary__line .value {
    white-space: nowrap;
}

.checkoutSummary__warning {
    color: #c00;
    margin: 2px 0 4px;
}

.checkoutSummary__total {
    font-weight: 700;
}

.checkoutSummary__voucher {
    display: flex;
}

/* ============================================================
   GLOBAL MISC ELEMENTS & RESETS
============================================================ */

.ps-cartItem,
.ps-cartItem * {
    box-sizing: border-box;
}

.cartItems,
.cartItems * {
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .cartItems,
    .cartItems * {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

.cartItems__empty {
    margin: 0;
    padding: 18px 0;
    color: var(--brown);
    font-size: 16px;
}

.cartItems__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cartItems__row {
    margin: 0;
    padding: 18px 0;
}

.cartItems__row img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cartItems__row .product-line-grid,
.cartItems__row .product-line {
    display: block;
}

/* ============================================================
   Customer-form.tpl
============================================================ */

.customer-form__fields {
    width: 100%;
}

.customer-form__footer {
    display: flex;
    justify-content: center;
}

.customer-form__submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 45px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.customer-form__submit:hover {
    background: var(--green-hover);
}

/* ============================================================
   Registration.tpl
============================================================ */

.register-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 20px;
}

.register-form > p > a:hover {
    color: var(--brown);
}

/* ============================================================
   Page.tpl
============================================================ */

.page-header {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    font-weight: 400;
}

.page-header h1 {
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

#authentication .page-content {
    width: 50%;
}

@media (max-width: 767px) {
    #authentication .page-content {
        width: 100%;
    }
}

#authentication #main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#password #content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#password .page-content {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.forgot-form__header p {
    margin: 0 auto 40px;
    color: var(--black);
}

.forgot-form__fields {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
}

.forgot-form__label {
    font-size: 1rem;
    color: #111;
    white-space: nowrap;
}

.forgot-form__input {
    padding: 12px 14px;
    width: 320px;
    background: #efefef;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
}

.forgot-form__submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    transition: all 0.2s ease;
}

.forgot-form__submit:hover {
    background: var(--green-hover);
}

#password .page-footer {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
    margin-bottom: 30px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #000;
    text-decoration: none;
}


.back-link__icon {
    font-size: 1.3rem;
}

.back-link:hover {
    color: var(--brown);
}

@media (max-width: 600px) {
    .forgot-form__fields {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .forgot-form__input {
        width: 100%;
    }

    .forgot-form__submit {
        width: 100%;
        text-align: center;
    }

    .forgot-form__label {
        text-align: left;
        width: 100%;
    }
}

.form-submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    transition: all 0.2s ease;
}

.form-submit:hover {
    background: var(--green-hover);
}

.page-footer {
    margin-bottom: 50px;
}

/* =========================================================
   Notifications.tpl
========================================================= */

.notifications {
    margin: 1.5rem 0;
}

.notifications__container {
    display: grid;
    gap: 0.75rem;
}

.notification {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.notification ul {
    margin: 0;
    padding-left: 1.1rem;
}

.notification--error {
    background: #fdecea;
    color: #611a15;
}

.notification--warning {
    background: #fff4e5;
    color: #663c00;
}

.notification--success {
    background: #edf7ed;
    color: #1e4620;
}

.notification--info {
    background: #e8f1fd;
    color: #0b3c7a;
}

/* =========================================================
   History.tpl
========================================================= */

.infoGrid_intro {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.infoGrid_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.infoGrid_table thead th {
    padding: 14px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #777;
    text-align: left;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.infoGrid_table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 0.9rem;
}

.infoGrid_table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

.infoGrid_code {
    border-bottom: 1px solid #f0f0f0;
}

.infoGrid_reference {
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
}

.order-total {
    text-align: right;
    white-space: nowrap;
}

.infoGrid_invoice {
    text-align: center;
}

.infoGrid_invoice a {
    display: flex;
}

.infoGrid_invoice a:hover {
    color: var(--brown);
}

.order-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}

.order-actions {
    text-align: right;
    white-space: nowrap;
}

.order-actions a {
    color: #000;
    text-decoration: none;
    margin-left: 14px;
}

.order-actions a:hover {
    text-decoration: underline;
}

/* =========================================================
   VISIBILITY CONTROL
   ========================================================= */

/* Default = DESKTOP */
.infoGrid_mobile {
    display: none;
}

@media (max-width: 925px) {

    .infoGrid_table {
        display: none;
    }

    .infoGrid_mobile {
        display: block;
    }

    .infoGrid_card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 16px;
    }

    .infoGrid_header {
        margin-bottom: 10px;
    }

    .infoGrid_code {
        font-weight: 700;
        font-size: 1rem;
    }

    .infoGrid_details {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .infoGrid_details li {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 6px 0;
        font-size: 0.9rem;
    }

    .infoGrid_details li:not(:last-child) {
        border-bottom: 1px solid #f0f0f0;
    }

    .infoGrid_details .label {
        color: #666;
        font-weight: 500;
        white-space: nowrap;
    }

    .infoGrid_details .value {
        color: #000;
        font-weight: 600;
        text-align: right;
    }
}

/* =========================================================
   Checkout-step.tpl
========================================================= */

.checkout-step .content {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.checkout-step.-open .content {
    max-height: 2000px;
    opacity: 1;
}

.step-icon,
.edit-icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.done-icon {
    color: var(--green);
    background: #BCAC9F;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: white;
    font-size: 15px;
}

.step-edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: normal;
    color: inherit;
}

/* =========================================================
   Order-detail-no-return.tpl
========================================================= */

.order-products {
    margin-bottom: 40px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th {
    background: #f5f5f5;
    padding: 10px 12px;
    font-weight: 600;
    text-align: left;
    border-right: 1px solid #f5f5f5;
}

.order-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    vertical-align: top;
}

.order-qty,
.order-unit,
.order-total {
    white-space: nowrap;
}

.order-unit,
.order-total {
    text-align: right;
}

.order-product__name {
    font-weight: 600;
}

.order-product__ref {
    font-size: 12px;
    margin-top: 2px;
    color: #666;
}

.order-product__customization {
    margin-top: 4px;
    font-size: 12px;
}

.customization-line {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin-bottom: 6px;
}

.customization-label {
    font-weight: 500;
    color: #555;
}

.order-summary__label {
    text-align: right;
}

.order-summary__value {
    text-align: right;
}

.order-summary--grand td {
    font-weight: 700;
}

@media (max-width: 768px) {

    .order-table,
    .order-table thead,
    .order-table tbody,
    .order-table tfoot,
    .order-table tr,
    .order-table th,
    .order-table td {
        display: block;
        width: 100%;
    }

    .order-table thead {
        display: none;
    }

    .order-table tbody tr {
        margin-bottom: 20px;
    }

    .order-table tbody td {
        border: none;
        padding: 0;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-table tbody td:last-child {
        margin-bottom: 0;
    }

    .order-table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #666;
        font-size: 14px;
        flex-shrink: 0;
    }

    .order-product {
        display: block;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
    }

    .order-product::before {
        display: none !important;
    }

    .order-product__name {
        display: block;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .order-product__ref {
        font-size: 13px;
        color: #888;
    }

    .order-qty,
    .order-unit,
    .order-total {
        padding: 6px 0;
        text-align: right;
        font-size: 14px;
        font-weight: 500;
    }

    .order-table tfoot {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
    }

    .order-summary {
        padding: 0;
        margin-bottom: 8px;
    }

    .order-summary td {
        border: none;
        padding: 6px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-summary__label {
        text-align: left;
        font-size: 14px;
        color: #666;
    }

    .order-summary__value {
        text-align: right;
        font-size: 14px;
        font-weight: 500;
    }

    .order-summary--grand {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #ddd;
    }

    .order-summary--grand td {
        font-weight: 700;
        font-size: 16px;
    }

    .order-summary--grand .order-summary__label {
        color: #333;
    }

    .order-summary--grand .order-summary__value {
        color: #333;
    }
}

/* =========================================================
   Order-detail.tpl
========================================================= */

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.order-reorder {
    color: #000;
}

.order-reorder:hover {
    color: var(--brown);
    text-decoration: underline;
}

.order-meta {
    list-style: none;
    margin-left: 15px;
    margin-bottom: 30px;
}

.order-meta li {
    position: relative;
    padding-left: 15px;
}

.order-meta li::before {
    font-weight: 700;
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}


/* =========================
   BOX STYLE
========================= */
.box {
    margin-bottom: 32px;
    border-radius: 2px;
}

.box h2 {
    margin-bottom: 20px;
}

/* =========================
   TABLES
========================= */
.table-clean {
    width: 100%;
    border-collapse: collapse;
}

.table-clean th {
    text-align: left;
    font-weight: 600;
    padding: 10px;
    background: #f5f5f5;
}

.table-clean td {
    padding: 10px;
}

/* =========================
   STATUS LABEL
========================= */
.status-label {
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--white);
    white-space: nowrap;
}

/* =========================
   ADDRESSES
========================= */
.order-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.order-addresses h4 {
    margin-bottom: 6px;
}

.order-addresses address {
    font-style: normal;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .order-addresses {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ORDER DETAIL – MOBILE LAYOUT
========================================================= */
@media (max-width: 768px) {

    .box h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .table-clean tbody tr {
        display: block;
        margin-bottom: 12px;
    }

    .table-clean td {
        display: block;
        padding: 0;
        border: none;
    }

    .table-clean td:first-child {
        font-size: 14px;
        color: #777;
        margin-bottom: 6px;
    }

    .status-label {
        display: inline-block;
        margin-top: 4px;
    }

    /* -------------------------
       ADDRESSES
    ------------------------- */
    .order-addresses {
        margin-bottom: 40px;
    }

    .order-addresses article {
        margin-bottom: 28px;
    }

    .order-addresses h4 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .order-addresses address {
        font-size: 14px;
        color: #777;
        line-height: 1.6;
    }

    .order-meta {
        margin-bottom: 40px;
    }

    .order-meta li {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin-bottom: 4px;
    }

    .order-meta li strong {
        font-weight: 600;
        color: #555;
    }

    .box table.table-clean {
        margin-bottom: 20px;
    }

    .box table.table-clean thead {
        display: none;
    }

    .box table.table-clean tr {
        display: block;
        margin-bottom: 10px;
    }

    .box table.table-clean td {
        display: block;
        font-size: 14px;
        color: #666;
    }

    .box table.table-clean td::before {
        display: none;
    }
}

/* =========================================================
   Order-messages.tpl
========================================================= */

.order-message-form {
    margin-top: 40px;
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.order-message-form__header {
    max-width: 900px;
    margin: 0 auto 24px;
}

.order-message-form__title {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.order-message-form__description {
    color: var(--black);
}

.order-message-form__fields {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-message-form__label {
    font-size: 14px;
    color: #666;
}

.order-message-form__select {
    max-width: 420px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
}

@media (max-width: 767px) {
    .order-message-form__select {
        min-width: 100%;
    }
}

.order-message-form__textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    resize: vertical;
}

.order-message-form__footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.order-message-form__submit {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.order-message-form__submit:hover {
    background: var(--green-hover);
}

/* =========================================================
   My-account.tpl
========================================================= */

.account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.account-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--black);
    background: var(--white);
    border: none;
    transition: all 0.2s ease;
}

.account-link-card:hover {
    color: var(--brown);
    text-decoration: none;
    transform: translateY(-1px);
}

.account-link-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-link-icon svg {
    width: 4rem;
    height: 4rem;
    color: inherit;
    display: block;
}

.account-link-title {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    color: inherit;
}

.account-footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
}

.logout-link {
    color: var(--black);
    font-size: 1rem;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: var(--brown);
}

@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .account-link-card {
        padding: 2.5rem 1.5rem;
        min-height: 180px;
    }
}

@media (max-width: 576px) {
    .customer-account-links {
        padding: 20px 10px
    }

    .account-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .account-link-card {
        padding: 20px 10px;
        min-height: 160px;
    }

    .account-link-icon svg {
        width: auto;
        height: 30px;
    }

    .account-footer {
        padding-top: 2rem;
    }
}


/* =========================================================
   Alerts
========================================================= */

.alert-success-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.alert-success-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background-color: #2ecc71;
    border-radius: 12px;
    color: #fff;
}

.alert-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.alert-success-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.alert-success-text {
    margin: 0;
    font-size: 16px;
}

/* ===============================
   SITE SEARCH
================================ */

.site-search {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.site-search__widget {
    position: relative;
    width: 320px;
    font-family: inherit;
}

.site-search__form {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);

    transition: border-color .2s ease;
}

.site-search__form:focus-within {
    border-bottom-color: #000;
}

.site-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

.site-search__submit,
.site-search__clear {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    cursor: pointer;
    display: flex;
    align-items: center;
}

.site-search__form svg {
    width: 18px;
    height: 18px;
    stroke: #000;
    fill: none;
    opacity: 0.7;
    transition: opacity .2s ease;
}

.site-search__submit:hover svg,
.site-search__clear:hover svg {
    opacity: 1;
}

.site-search__clear {
    display: none;
}

.site-search__widget.has-value .site-search__clear {
    display: flex;
}

/* ===============================
   404.tpl
================================ */

.page-not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(40vh - 100px);
}

.not-found-wrapper {
    text-align: center;
}

.error-code {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    color: var(--green);
}

.error-text {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--green);
}


/* ===============================
   Not-found.tpl
================================ */

.not-found {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    color: #000;
}

.not-found {
    width: 100%;
}

.not-found__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.not-found__description {
    margin: 0;
    font-size: 16px;
    max-width: 520px;
}

.not-found__search {
    margin-top: 24px;
    width: 320px;
}

.not-found__search #_desktop_search {
    margin: 0 auto;
}
