/* easy theme: component styles (moved out of header.php so browsers can cache them) */
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1050;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.product-gallery {
    text-align: center;
    position: relative;
}

/* Featured Image Section */
.product-gallery__featured {
    position: relative;
    max-width: 500px;
    margin: auto;
}

.prev-btn,
.next-btn,
.prev-thumb,
.next-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev-btn,
.prev-thumb {
    left: 10px;
}

.next-btn,
.next-thumb {
    right: 10px;
}

.product-gallery__thumbnails {
    margin-top: 20px;
    position: relative;
}

.thumbnail-carousel img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail-carousel img:hover {
    border: 2px solid #007bff;
}

/* Wrapper adjustments */
.block-sale__item {
    margin-bottom: 20px;
    min-width: 0;
    height: 100%;
}

.product-card-modern {
    background: #fff;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card-modern:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: transparent;
}

/* Image Area */
.card-img-box {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #fff;
    overflow: hidden;
}

.card-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .card-img-box img {
    transform: scale(1.08);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.p-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-sale {
    background: #ff5252;
}

.badge-new {
    background: #448aff;
}

.badge-hot {
    background: #ff9800;
}

.badge-out {
    background: #9e9e9e;
}

/* Wishlist Button */
.card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #b2bec3;
}

.card-wishlist-btn:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.card-wishlist-btn svg {
    transition: fill 0.2s;
    fill: currentColor;
}

/* Content Area */
.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #007bff;
}

/* Rating */
.card-rating {
    margin-bottom: 12px;
    font-size: 12px;
}

/* Footer & Actions */
.card-footer-column {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d3436;
}

.price-old {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #b2bec3;
}

/* Button Group - Vertical Stack for robustness on mobile */
.card-actions-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* General Button Style */
.btn-card-action {
    width: 100%;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

/* Add to Cart - Outlined/Light */
.btn-add-cart-text {
    background: #fff;
    color: #2d3436;
    border-color: #e0e0e0;
}

.btn-add-cart-text:hover {
    background: #f8f9fa;
    border-color: #b2bec3;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Buy Now - Solid/Primary */
.btn-buy-now-text {
    background: #007bff;
    color: white;
    /* Optional Gradient for 'Awesome' effect */
    background: linear-gradient(135deg, #007bff 0%, #0062cc 100%);
}

.btn-buy-now-text:hover {
    background: linear-gradient(135deg, #0069d9 0%, #0056b3 100%);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

.btn-inquiry {
    width: 100%;
    border-radius: 6px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE OPTIMIZATION (2 Columns) --- */
@media (max-width: 576px) {
    .card-content {
        padding: 10px;
    }

    .card-category {
        font-size: 0.6rem;
        margin-bottom: 2px;
    }

    .card-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.3;
        height: 2.6em;
    }

    .price-current {
        font-size: 1rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    /* Compact buttons for mobile */
    .btn-card-action {
        height: 34px;
        font-size: 11px;
        gap: 5px;
    }

    .btn-card-action svg {
        width: 14px;
        height: 14px;
    }

    .card-footer-column {
        gap: 8px;
    }

    .card-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .card-img-box img {
        padding: 12px;
    }

    /* Hide rating on very small screens if needed, 
   or keep it small */
    .card-rating {
        display: none;
    }
}

/* NEW CSS */
/* Wrapper adjustments */
.products-list__item {
    margin-bottom: 20px;
    min-width: 0;
    height: 100%;
}

.product-card-modern {
    background: #fff;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card-modern:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: transparent;
}

/* Image Area */
.card-img-box {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #fff;
    overflow: hidden;
}

.card-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .card-img-box img {
    transform: scale(1.08);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.p-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-sale {
    background: #ff5252;
}

.badge-new {
    background: #448aff;
}

.badge-hot {
    background: #ff9800;
}

.badge-out {
    background: #9e9e9e;
}

.badge-success {
    background: #28a745;
}

/* Wishlist Button */
.card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #b2bec3;
}

.card-wishlist-btn:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.card-wishlist-btn svg {
    transition: fill 0.2s;
    fill: currentColor;
}

/* Content Area */
.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #007bff;
}

/* Rating */
.card-rating {
    margin-bottom: 12px;
    font-size: 12px;
}

/* Footer & Actions */
.card-footer-column {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d3436;
}

.price-old {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #b2bec3;
}

/* Button Group - Vertical Stack */
.card-actions-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* General Button Style */
.btn-card-action {
    width: 100%;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

/* Add to Cart - Outlined */
.btn-add-cart-text {
    background: #a2f6e3;
    color: #2d3436;
    border-color: #869bda;
}

.btn-add-cart-text:hover {
    background: #f8f9fa;
    border-color: #b2bec3;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Buy Now - Solid/Primary */
.btn-buy-now-text {
    background: linear-gradient(135deg, #915659 0%, #822e55 100%);
    color: white;
}

.btn-buy-now-text:hover {
    background: linear-gradient(135deg, #e5d33d 0%, #51b300 100%);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

.btn-inquiry {
    width: 100%;
    border-radius: 6px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 576px) {
    .card-content {
        padding: 10px;
    }

    .card-category {
        font-size: 0.6rem;
        margin-bottom: 2px;
    }

    .card-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
        height: 2.6em;
    }

    .price-current {
        font-size: 1rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .btn-card-action {
        height: 34px;
        font-size: 11px;
        gap: 5px;
    }

    .btn-card-action svg {
        width: 14px;
        height: 14px;
    }

    .card-footer-column {
        gap: 8px;
    }

    .card-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .card-img-box img {
        padding: 12px;
    }

    .card-rating {
        display: none;
    }
}

/* ============================================================
       PCM CARD + PRODUCT GRID REGENERATION
       Full responsive alignment with fixed 2-column mobile grid
    ============================================================ */

.block-sale__item,
.products-list__item {
    height: 100%;
    min-width: 0;
    display: flex;
}

.block-sale .owl-carousel .owl-item {
    height: auto;
    display: flex;
}

.block-sale__carousel .owl-stage,
.block-products-carousel__carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.block-products-carousel__carousel .owl-item,
.block-sale__carousel .owl-item {
    height: auto;
    display: flex;
}

.block-products-carousel__cell,
.block-products-carousel__column {
    height: 100%;
    display: flex;
}

.block-products-carousel__carousel .owl-item>.block-sale__item,
.block-products-carousel__carousel .owl-item>.products-list__item,
.block-products-carousel__cell>.block-sale__item,
.block-products-carousel__cell>.products-list__item {
    width: 100%;
}

.block-sale .owl-carousel .owl-item .block-sale__item {
    width: 100%;
}

.products-list[data-layout=grid] .products-list__content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
}

.products-list[data-layout=grid] .products-list__item {
    width: auto !important;
    margin: 0 !important;
    display: flex;
}

.products-list[data-layout=grid] .products-list__item .product-card,
.products-list[data-layout=grid] .products-list__item .pcm-card {
    width: 100%;
}

.pcm-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pcm-card:hover {
    transform: translateY(-4px);
    border-color: #e2e2e2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.pcm-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f6f8;
    aspect-ratio: 1 / 1;
}

.pcm-img-link {
    position: absolute;
    inset: 0;
    display: block;
}

.pcm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
    display: block;
}

.pcm-card:hover .pcm-img {
    transform: scale(1.05);
}

.pcm-overlay-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    text-align: center;
    padding: 22px 8px 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pcm-card:hover .pcm-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.pcm-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 54px);
}

.pcm-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 20px;
    color: #fff;
    line-height: 1.25;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.pcm-badge--sale {
    background: #e74c3c;
}

.pcm-badge--hot {
    background: #f39c12;
}

.pcm-badge--out {
    background: #95a5a6;
}

.pcm-badge--stock {
    background: #27ae60;
}

.pcm-badge--new {
    background: #3498db;
}

.pcm-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #b4bbc3;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pcm-wishlist-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: scale(1.08);
}

.pcm-wishlist-btn svg {
    fill: currentColor;
}

.pcm-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex-grow: 1;
}

.pcm-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #9aa2aa;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcm-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 38px;
    max-height: 38px;
    overflow: hidden;
    word-break: break-word;
}

.pcm-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pcm-title a:hover {
    color: #915659;
}

.pcm-rating {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 18px;
}

.pcm-rating .rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #c5cbd2;
    font-size: 11px;
    line-height: 1;
}

.pcm-rating .rating-stars .filled {
    color: #f5b301;
}

.pcm-rating .rating-text {
    font-size: 11px;
    color: #87919c;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcm-footer {
    margin-top: auto;
    display: grid;
    gap: 8px;
}

.pcm-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    min-height: 20px;
}

.pcm-price-now {
    font-size: 18px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}

.pcm-price-old {
    font-size: 12px;
    color: #b7bec6;
    text-decoration: line-through;
    line-height: 1;
}

.pcm-price-inquiry {
    font-size: 13px;
    font-weight: 700;
    color: #915659;
    line-height: 1;
}

.pcm-actions {
    display: grid;
    gap: 6px;
}

.pcm-btn {
    width: 100%;
    min-height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pcm-btn svg,
.pcm-btn i {
    font-size: 12px;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.pcm-btn--cart {
    background: #f0f4ff;
    color: #2c3e50;
    border: 1px solid #d9e2ff;
}

.pcm-btn--cart:hover {
    background: #e5ecff;
    border-color: #b8c8ff;
    transform: translateY(-1px);
}

.pcm-btn--buy {
    background: linear-gradient(135deg, #915659 0%, #72233d 100%);
    color: #fff;
}

.pcm-btn--buy:hover {
    background: linear-gradient(135deg, #9f6164 0%, #7e2a49 100%);
    box-shadow: 0 5px 14px rgba(145, 86, 89, 0.32);
    transform: translateY(-1px);
}

.pcm-btn--inquiry {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    text-align: center;
}

.pcm-btn--inquiry:hover {
    background: linear-gradient(135deg, #efaa2e 0%, #d97712 100%);
    box-shadow: 0 5px 12px rgba(243, 156, 18, 0.3);
    transform: translateY(-1px);
}

.products-list--grid--3[data-layout=grid] .products-list__content,
.products-list--grid--4[data-layout=grid] .products-list__content,
.products-list--grid--5[data-layout=grid] .products-list__content,
.products-list--grid--6[data-layout=grid] .products-list__content {
    margin: 0 !important;
}

.products-list--grid--3[data-layout=grid] .products-list__item,
.products-list--grid--4[data-layout=grid] .products-list__item,
.products-list--grid--5[data-layout=grid] .products-list__item,
.products-list--grid--6[data-layout=grid] .products-list__item {
    width: auto !important;
    margin: 0 !important;
}

@media (max-width: 1399px) {
    .products-list[data-layout=grid] .products-list__content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .products-list[data-layout=grid] .products-list__content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .products-list[data-layout=grid] .products-list__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-list--grid--3[data-layout=grid] .products-list__content,
    .products-list--grid--4[data-layout=grid] .products-list__content,
    .products-list--grid--5[data-layout=grid] .products-list__content,
    .products-list--grid--6[data-layout=grid] .products-list__content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .pcm-body {
        padding: 11px;
    }

    .pcm-title {
        font-size: 13px;
        min-height: 36px;
        max-height: 36px;
    }
}

@media (max-width: 576px) {
    .products-list[data-layout=grid] .products-list__content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .products-list--grid--3[data-layout=grid] .products-list__content,
    .products-list--grid--4[data-layout=grid] .products-list__content,
    .products-list--grid--5[data-layout=grid] .products-list__content,
    .products-list--grid--6[data-layout=grid] .products-list__content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .products-list--grid--3[data-layout=grid] .products-list__item,
    .products-list--grid--4[data-layout=grid] .products-list__item,
    .products-list--grid--5[data-layout=grid] .products-list__item,
    .products-list--grid--6[data-layout=grid] .products-list__item {
        width: auto !important;
        margin: 0 !important;
    }

    .pcm-img-wrap {
        aspect-ratio: 1 / 1;
    }

    .pcm-body {
        padding: 9px;
        gap: 5px;
    }

    .pcm-title {
        font-size: 12px;
        line-height: 1.32;
        min-height: 32px;
        max-height: 32px;
    }

    .pcm-price-now {
        font-size: 15px;
    }

    .pcm-price-old,
    .pcm-price-inquiry,
    .pcm-rating .rating-text {
        font-size: 10px;
    }

    .pcm-btn {
        min-height: 30px;
        font-size: 10px;
        padding: 6px;
        gap: 4px;
    }

    .pcm-btn svg,
    .pcm-btn i {
        width: 11px;
        height: 11px;
        font-size: 11px;
    }

    .pcm-wishlist-btn {
        width: 28px;
        height: 28px;
    }

    .pcm-overlay-text {
        font-size: 10px;
        padding: 16px 6px 6px;
    }
}

@media (hover: none) {
    .pcm-overlay-text {
        opacity: 1;
        transform: none;
        font-size: 10px;
    }

    .pcm-card:hover {
        transform: none;
    }
}

/* ============================================================ */

/* --- Branding Text --- */
.logo__brand-text {
    text-align: center;
    font-size: 14px;
    color: #777;
    letter-spacing: 0.8px;
    font-weight: 500;
    margin-top: 5px;
    animation: fadeIn 1.5s ease-in-out;
}

.logo__brand-text-mobile {
    text-align: center;
    font-size: 10px;
    color: #808080;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-logo .logo__brand-text {
    text-align: left;
    color: #ccc;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Trust & Delivery Marquee --- */
.trust-marquee-section {
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--color-secondary);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
    min-width: 200%;
}

.trust-marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content span {
    font-weight: 600;
    margin: 0 40px;
    display: inline-flex;
    align-items: center;
}


@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 14px;
        margin: 0 25px;
    }
}

@media (max-width: 480px) {
    .logo__brand-text {
        font-size: 12px;
    }

    .marquee-content span {
        font-size: 12px;
        margin: 0 20px;
    }
}

/* ---- Currency Switcher Dropdown ---- */
#currency-switcher-wrap {
    position: relative;
}

#currency-switcher-wrap .topbar__menu-body {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    min-width: 130px;
    padding: 4px 0;
}

.currency-item {
    display: block;
    padding: 7px 14px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s;
}

.currency-item:hover,
.currency-item.active {
    background: #f0f4ff;
    color: #0d6efd;
}

/* Mobile currency bar */
.mobile-currency-bar {
    background: #1a2530;
    color: #ccc;
    padding: 4px 12px;
    font-size: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.mobile-currency-bar .mcur-item {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    color: #aac;
    border: 1px solid transparent;
    font-size: 11px;
}

.mobile-currency-bar .mcur-item.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}
