@font-face {
    font-family: Dana;
    src: url("../font/dana-regular.woff2");
}

:root {
    --color-primary-red: #900028;
    --color-primary-red-hover: #a01038;
    --color-primary-red-dark: #7a0021;
    --color-primary-red-light: #eddde1;
    --color-dark: #212121;
    --color-white: #fff;
    --color-black: #000;
    --color-background-body: #f0f0f0;
    --color-text-primary: #333;
    --color-text-secondary: #666;
    --color-text-tertiary: #888;
    --color-border: #eee;
    --color-border-light: #e5e7eb;
    --color-border-medium: rgb(232, 232, 232);
    --color-gray-light: #ccc;
    --color-gray-medium: rgb(216, 216, 216);
    --color-background-light: #f8f8f8;
    --color-background-hover: #f3f4f6;
    --color-stock-available: #28a745;
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-30: rgba(255, 255, 255, 0.3);
    --color-white-20: rgba(255, 255, 255, 0.2);
    --color-black-60: rgba(0, 0, 0, 0.6);
    --color-black-10: rgb(0 0 0 / 0.1);
    --color-gray-dark-80: rgba(154, 154, 154, 0.8);
    --color-energy-a: #179647;
    --color-energy-b: #68ac43;
    --color-energy-c: #cddc39;
    --color-energy-d: #ffeb3b;
    --color-energy-e: #ffc107;
    --color-energy-f: #ff9800;
    --color-energy-g: #e52920;
    --color-gray-700: #374151;
    --color-warning: #ffc107;

    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;

    --fs-px-6: 6px;
    --fs-px-8: 8px;

    --border-r: 5px;

    --color-primary-red: #900028;
    --color-primary-red-hover: #a01038;
    --color-primary-red-dark: #7a0021;
    --color-primary-red-light: #eddde1;
    --color-dark: #212121;
    --color-white: #fff;
    --color-black: #000;
    --color-background-body: #f0f0f0;
    --color-text-primary: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-background-body);
    color: var(--color-text-primary);
    font-family: "Dana", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: var(--font-size-md);
}
body * {
    font-family: "Dana" !important;
}

main {
    margin-top:-70px;
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar-brand img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.bg-aplus-dark {
    background-color: var(--color-dark);
}
.bg-aplus-dark-2 {
    background-color: #f8f8f8;
}
.bg-aplus-dark-2 * {
    color: #000 !important;
}
.bg-aplus-maroon {
    background-color: var(--color-primary-red);
}
.text-aplus-maroon {
    color: var(--color-primary-red);
}
.border-aplus-maroon {
    border-color: var(--color-primary-red);
}

header {
    position: static;
    width: 100%;
    z-index: 2000;
}

header.dark {
    color: var(--color-white) !important;
    background-color: #212121 !important;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-red);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-red-hover);
}

.hero-slider {
}

.hero-swiper {
    width: 100%;
    height: 100%;
}
.hero-swiper .swiper-slide {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    z-index: 1;
}
.hero-content {
    position: absolute;
    top: 30%;
    right: 10%;
    left: auto;
    z-index: 5;
    max-width: 50%;
    text-align: right;
    color: var(--color-white);
}
.hero-subtitle {
    margin-bottom: 0.5rem;
}
.hero-title {
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-cta {
    display: inline-block;
    border: 1px solid var(--color-white);
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--color-white);
    transition: background-color 0.3s, color 0.3s;
}
.hero-cta:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}
.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-swiper-button-prev,
.hero-swiper-button-next {
    position: static;
    margin: 0;
    width: 32px;
    height: 32px;
    background-color: var(--color-white-80);
    border-radius: 50%;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-swiper-button-prev svg,
.hero-swiper-button-next svg {
    width: 20px;
    height: 20px;
}

.hero-swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 0.5rem;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 80px;
    height: 4px;
    background-color: var(--color-white-50);
    border-radius: 2px;
    opacity: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-white);
}
.hero-pagination-bullet-active-loading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-primary-red);
    transform-origin: left;
}

.light-swiper-button-prev,
.light-swiper-button-next {
    background: var(--color-black-60);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.light-swiper-button-prev:hover,
.light-swiper-button-next:hover {
    background: var(--color-gray-dark-80);
}

.light-swiper-button-prev.swiper-button-disabled,
.light-swiper-button-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.light-swiper .swiper-pagination-bullet {
    background-color: var(--color-gray-light);
    opacity: 1;
}
.light-swiper .swiper-pagination-bullet-active {
    background-color: var(--color-dark);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 80vh;
}

.hero-controls button {
    background: var(--color-black-60);
    color: var(--color-white);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: var(--font-size-md);
}
/*
========================================
============== homepage ===============
========================================
 */

.hero-swiper-pagination {
    display: flex;
    gap: 8px;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-white);
    opacity: 0.5;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 60px;
    height: 4px;
    border-radius: 3px;
    background-color: var(--color-white-30);
}

.hero-swiper-pagination .swiper-pagination-bullet-active .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-white);
    transition: width linear;
}

.bx-chevron-left,
.bx-chevron-right,
.bx-pause,
.bx-play {
    color: var(--color-white) !important;
    fill: var(--color-white) !important;
    stroke: var(--color-white) !important;
    font-size: var(--font-size-lg);
}

.best-sellers button {
    background-color: var(--color-gray-medium);
}

.best-sellers button i {
    color: var(--color-black) !important;
}

#main-nav.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    animation: slideDown 0.35s ease-out;
    box-shadow: 0 4px 6px -1px var(--color-black-10),
    0 2px 4px -2px var(--color-black-10);
    background-color: var(--color-dark);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.pause {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 30px;
    height: 30px;
}

.hero-controls .hero-swiper-pagination {
    padding: 10px;
    background-color: var(--color-black-60);
    border-radius: 50px;
}

.latest-offers-swiper-button-prev,
.latest-offers-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--color-gray-medium);
}
.latest-offers-swiper-button-prev {
    right: -10px;
}
.latest-offers-swiper-button-next {
    left: -10px;
}
.navbar-brand {
    width: 80px;
}
#main-nav {
    background-color: #212121;
}

/*
========================================
========== NEW PRODUCT CARD STYLES =====
========================================
*/

.product-card {
    text-align: right;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    padding: 1rem;
    transition: box-shadow 0.3s ease-in-out;
}

.product-card .category-save-badge {
    grid-area: 2 /1 /1 / 2;
}

.product-card .save-tag {
    font-size: 12px;
    color: var(--color-primary-red);
}

.product-card .price {
    grid-template-rows: 40px 40px;
    align-items: center;
}

.product-card .price-section {
    direction: rtl;
}

.product-card .current-price {
    grid-area: 1/4/1/-1;
    font-weight: 800;
    font-size: 20px;
    margin-top:30px;
}

.product-card .old-price-wrapper {
    grid-area: 2 / 4 / -2 / -1;
    justify-content: flex-end;
}

.product-card:hover {
    box-shadow: 0 4px 12px var(--color-black-10);
}

.product-card .save-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: bold;
    z-index: 10;
    border-radius: 5px;
}

.product-card .off-badge {
    left: 0.5rem !important;
    right: unset !important;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-info-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-rating i {
}

.product-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-dark);
}
.product-title:hover {
    color: var(--color-primary-red);
}

.price {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 50px;
    align-items: center;
}

.category-save-badge {
    grid-area: 2/3/-2/4;
}

.current-price {
    grid-area: 1/1/-1/4;
}

.old-price {
    grid-area: 2/-4/-1/-1;
}

.price-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 0.75rem;
    direction: ltr;
}

.price-details .current-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1;
}

.old-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.old-price-wrapper .old-price {
    text-decoration: line-through;
    color: var(--color-text-tertiary);
    font-size: var(--font-size-sm);
}

.old-price-wrapper .save-tag {
    color: var(--color-primary-red);
    font-size: var(--font-size-sm);
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
}

.vat-info {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

.add-to-cart-btn {
    width: 100%;
    height: 48px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn i {
    margin: 10px;
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary-red-dark);
}
.add-to-cart-btn i {
    font-size: var(--font-size-lg);
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--color-stock-available);
    margin-bottom: 1rem;
}

.stock-status .stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-stock-available);
}

.info-sheet-link {
    font-size: var(--font-size-sm);
    text-decoration: underline;
    color: var(--color-text-primary);
}

.info-sheet-link:hover {
    color: var(--color-primary-red);
}

.energy-badge-new {
    display: flex;
    height: 28px;
    width: 90px;
    font-family: Arial, sans-serif;
    margin-bottom: 0.75rem;
    direction: ltr;
    margin-right: auto;
}

.energy-scale-new {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-px-8);
    font-weight: bold;
    line-height: 1;
    border-radius: 3px 0 0 3px;
}
.energy-scale-new span {
    display: block;
}
.energy-scale-new .bxs-up-arrow {
    font-size: var(--fs-px-6);
    margin: 1px 0;
}

.energy-rating-new {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: bold;
    font-size: var(--font-size-md);
    width: 80px;
}

.energy-rating-new::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent var(--badge-color);
}

.energy-badge-new[data-rating="A"] {
    width: 95px;
}
.energy-badge-new[data-rating="A+"] {
    width: 105px;
}
.energy-badge-new[data-rating="A++"] {
    width: 110px;
}
.energy-badge-new[data-rating="A+++"] {
    width: 115px;
}

.energy-badge-new[data-rating="A"],
.energy-badge-new[data-rating="A+"],
.energy-badge-new[data-rating="A++"],
.energy-badge-new[data-rating="A+++"] .energy-rating-new {
    --badge-color: var(--color-energy-a);
    background-color: var(--color-energy-a);
}
.energy-badge-new[data-rating="B"] .energy-rating-new {
    --badge-color: var(--color-energy-b);
    background-color: var(--color-energy-b);
}
.energy-badge-new[data-rating="C"] .energy-rating-new {
    --badge-color: var(--color-energy-c);
    background-color: var(--color-energy-c);
    color: var(--color-black);
}
.energy-badge-new[data-rating="D"] .energy-rating-new {
    --badge-color: var(--color-energy-d);
    background-color: var(--color-energy-d);
    color: var(--color-black);
}
.energy-badge-new[data-rating="E"] .energy-rating-new {
    --badge-color: var(--color-energy-e);
    background-color: var(--color-energy-e);
    color: var(--color-black);
}
.energy-badge-new[data-rating="F"] .energy-rating-new {
    --badge-color: var(--color-energy-f);
    background-color: var(--color-energy-f);
}
.energy-badge-new[data-rating="G"] .energy-rating-new {
    --badge-color: var(--color-energy-g);
    background-color: var(--color-energy-g);
}

@media (max-width: 768px) {
    .form-check {
        margin: 10px 0;
    }
    .hero-title {
        font-size: var(--font-size-lg);
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    .hero-cta {
        font-size: var(--font-size-sm);
        padding: 0.6rem 1.2rem;
    }
    .product-title {
        font-size: var(--font-size-sm);
        min-height: 40px;
    }
    .product-meta,
    .vat-info {
        font-size: var(--font-size-sm);
    }
    .stock-status,
    .info-sheet-link,
    .old-price {
        font-size: var(--font-size-sm);
    }
    .current-price {
        font-size: var(--font-size-sm);
    }

    .save-badge,
    .old-price-wrapper .save-tag {
        font-size: var(--font-size-sm);
        padding: 0.2rem 0.4rem;
    }
}

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

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    visibility: visible;
    opacity: 1;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 150px;
    margin-bottom: 20px;
}

.spinner {
    position: relative;
    width: 50px;
    height: 50px;
}

.spinner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2); /* light track */
    border-left-color: var(--color-primary-red); /* accent color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.footer-payment-svg {
    height: 20px;
}

.support-swiper,
.for-you-swiper {
    height: 600px;
}

.support-swiper .swiper-slide a {
    height: 100%;
}

.for-you-swiper .swiper-slide a {
    height: 100%;
}

.custom-payment {
    background: var(--color-background-light);
    border-radius: 30px;
    padding: 10px 30px;
    width: fit-content;
    margin: 20px auto;
}

/*
========================================
========== PRODUCT PAGE STYLES =========
========================================
*/

#product-gallery-container {
    z-index: 10;
}

.gallery-thumbs .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.3s, border-color 0.3s;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--color-dark);
}

#gallery-modal-mobile .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-thumbs-mobile .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.3s, border-color 0.3s;
}

.gallery-modal-thumbs-mobile .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--color-white);
}

.gallery-modal-prev,
.gallery-modal-next {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    padding-top: 140px;
}

.header-spec i {
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

#content-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--color-gray-700);
}

#content-tabs::-webkit-scrollbar {
    display: none !important;
}

.spec-container {
    text-align: justify;
}

.spec-container h2 {
    font-size: var(--font-size-lg);
    font-weight: 900;
    margin: 15px 0 10px 0;
}

.spec-container p {
    font-size: var(--font-size-sm);
    font-weight: 100;
}

#spec-file {
    color: #000;
    fill: #000;
}

.spec-accordion .spec-header {
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.spec-accordion .spec-header .spec-toggle-icon {
    transition: transform 0.3s ease-in-out;
}
.spec-accordion .spec-header.active .spec-toggle-icon {
    transform: rotate(180deg);
}

.spec-accordion .spec-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: var(--color-dark);
}

#spec-tech table {
    width: 100%;
}

#spec-tech table tr th {
    text-align: right;
}

#spec-tech table tr:nth-child(even) {
    background-color: #3c3c3c;
}

/* Responsive styles for spec table on mobile */
@media (max-width: 576px) {
    #spec-tech table tr {
        display: flex;
        flex-direction: column;
        padding: 0.75rem 0;
    }
    #spec-tech table th,
    #spec-tech table td {
        display: block;
        width: 100% !important;
        border: none;
        padding: 0.25rem 0;
        text-align: right;
    }
    #spec-tech table th {
        color: var(--color-text-tertiary);
        font-weight: normal;
        font-size: var(--font-size-sm);
    }
    #spec-tech table td {
        font-weight: bold;
    }
    #spec-tech table tr:nth-child(even) {
        background-color: transparent; /* Override striping for stacked layout */
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 450px;
    }
}

/* Product Variation Styles */
.color-swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--color-border-light);
    transition: all 0.2s;
    position: relative;
}

.color-swatch:hover {
    border-color: var(--color-gray-700);
    transform: scale(1.1);
}

input[name="productColor"]:checked + .color-swatch {
    border-color: var(--color-primary-red);
    box-shadow: 0 0 0 2px var(--color-primary-red);
}

input[name="productColor"]:checked + .color-swatch::after {
    font-family: "boxicons" !important;
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    mix-blend-mode: exclusion;
}

.size-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border-medium);
    border-radius: var(--border-r);
    cursor: pointer;
    transition: all 0.2s;
    font-size: var(--font-size-sm);
    background-color: var(--color-white);
    color: var(--color-dark);
}

.size-tag:hover {
    background-color: var(--color-background-hover);
    border-color: var(--color-gray-700);
}

input[name="productSize"]:checked + .size-tag {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    font-weight: bold;
}
/*
========================================
========== CATEGORY PAGE STYLES ========
========================================
*/
.category-header {
    background-color: #1c1c1c;
    color: white;
}

.category-header a {
    color: white;
}

.category-header input[type="search"] {
    background-color: #333;
    border-color: #555;
}
.category-header input[type="search"]::placeholder {
    color: #999;
}

/* New Product Card */
.new-product-card {
    background-color: white;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease-in-out;
    padding: 1rem;
    position: relative;
    height: 100%;
}
.new-product-card:hover {
    box-shadow: 0 4px 12px var(--color-black-10);
}

.new-product-card .save-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    font-size: var(--font-size-sm);
    font-weight: bold;
    z-index: 10;
}
.new-product-card .product-image-wrapper {
    text-align: center;
    margin-bottom: 1rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-save-badge {
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 0.15rem 0.45rem;
    font-size: var(--font-size-sm);
    font-weight: bold;
    z-index: 10;
    border-radius: 8px;
    width: fit-content;
    height: fit-content;
    margin-left: auto;
}
.new-product-card .product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.new-product-card .product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.new-product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}
.new-product-card .rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.new-product-card .rating-count {
    text-decoration: underline;
    color: var(--color-text-secondary);
}
.new-product-card .rating .bx {
    color: var(--color-primary-red);
}

.new-product-card .product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
    min-height: 3rem;
}
.new-product-card .product-title a {
    color: inherit;
    text-decoration: none;
}
.new-product-card .product-title a:hover {
    color: var(--color-primary-red);
}

.new-product-card .energy-saving-badge {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-medium);
    padding: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: var(--font-size-sm);
}
.new-product-card .energy-saving-badge:hover .tooltip {
    opacity: 1;
    visibility: visible;
}
.new-product-card .badge-icon {
    color: var(--color-primary-red);
    font-size: 18px;
}
.new-product-card .badge-text {
    flex-grow: 1;
    margin: 0 0.5rem;
}
.new-product-card .badge-text p {
    margin: 0;
}
.new-product-card .badge-text span {
    color: var(--color-text-secondary);
}
.new-product-card .badge-dropdown {
    color: var(--color-text-tertiary);
}
.new-product-card .tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 0.5rem;
    border-radius: var(--border-r);
    font-size: var(--font-size-sm);
    width: 100%;
    margin-bottom: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    text-align: right;
}

.new-product-card .specs {
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
}
.new-product-card .specs div {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--color-border);
}
.new-product-card .specs dt {
    color: var(--color-text-secondary);
}

.new-product-card .icons {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    direction: rtl;
    margin: 0 auto;
}
.new-product-card .icon-wrapper {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--color-black);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
}

.new-product-card .current-price {
    font-size: var(--font-size-lg);
    font-weight: 900;
}
.new-product-card .old-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
}
.new-product-card .old-price {
    color: var(--color-text-tertiary);
}
.new-product-card .save-tag {
    color: var(--color-primary-red);
    padding: 2px 6px;
    font-size: var(--font-size-sm);
    border-radius: 3px;
}
.new-product-card .vat-info {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}
.new-product-card .stock-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--font-size-sm);
    color: var(--color-stock-available);
}
.new-product-card .stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-stock-available);
}
.new-product-card .add-to-cart-btn {
    width: 100%;
    height: 48px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 8px;
}
.new-product-card .add-to-cart-btn i {
    margin: 10px;
}
.new-product-card .add-to-cart-btn:hover {
    background-color: var(--color-primary-red-dark);
}
.new-product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    position: absolute;
    top: 0;
    left: 1rem;
}
.new-product-card .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.new-product-card .info-sheet-link {
    font-size: var(--font-size-sm);
    text-decoration: underline;
}
.new-product-card .footer-right {
    display: flex;
    gap: 0.5rem;
}
.new-product-card .circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 1px solid var(--color-border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.new-product-card .circle-btn:hover {
    background-color: #e0e0e0;
}
.new-product-card .energy-badge-vertical {
    display: flex;
    font-family: Arial, sans-serif;
    border: 1px solid var(--color-border-medium);
    width: fit-content;
    direction: ltr;
}
.new-product-card .energy-badge-vertical[data-rating="A"] .energy-rating-val {
    background-color: #a3d038;
    color: var(--color-dark);
}
.new-product-card .energy-rating-val {
    padding: 0.5rem 1rem;
    font-size: 18px;
    font-weight: bold;
}
.new-product-card .energy-rating-scale {
    padding: 0.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: bold;
}
.new-product-card .energy-rating-scale .bx {
    font-size: 16px;
}

.cashback-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: var(--font-size-sm);
    border-radius: var(--border-r);
}

.shop-button {
    border-radius: var(--border-r);
    background-color: var(--color-primary-red);
}

#description-content {
    transition: all 1s ease-in-out;
    text-align: justify;
    line-height: 150%;
}

#description-content > * {
    font-size: 15px !important;
    text-align: justify;
}

#description-content.deactive {
    position: relative;
}

#description-content.deactive::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        rgba(207, 46, 46, 0) 0%,
        rgba(255, 255, 255, 1) 70%
    );

    width: 100%;
    height: 60%;
}

#toggle-icon i {
    width: 20px;
    height: 20px;
}

/*
========================================
========== LOGIN MODAL STYLES ==========
========================================
*/
.login-tab-btn {
    border-color: transparent;
    color: var(--color-text-tertiary);
    transition: all 0.2s ease-in-out;
}

.login-tab-btn:hover {
    color: var(--color-white);
}

.login-tab-btn.active {
    color: var(--color-white);
    border-color: var(--color-primary-red);
}

#login-dialog input:focus {
    border-color: var(--color-primary-red) !important;
    box-shadow: 0 0 0 1px var(--color-primary-red);
}

/* Categories Swiper Styles */
.categories-swiper .swiper-pagination {
    bottom: -6px !important;
}

.category-svg-wrapper svg {
    width: 100%;
    height: 100%;
}

/* Custom Bootstrap Form Controls */
.form-check-input:checked {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
}

.form-check-input:focus {
    border-color: var(--color-primary-red-hover);
    box-shadow: 0 0 0 0.25rem rgba(144, 0, 40, 0.25);
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23a01038'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

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

/*
========================================
========== HEADER DROPDOWN HOVER =======
========================================
*/
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .content {
        padding-top: 40px;
    }
    .navbar .dropend:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        left: auto;
        right: 100%;
        top: 0;
    }
}

/*
========================================
========== PRODUCT PAGE TABS ==========
========================================
*/

.tab-button {
    background: none;
    border: none;
    color: var(--color-text-tertiary);
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    padding-right: 1rem;
    padding-left: 1rem;
    white-space: nowrap; /* Prevent button text from wrapping on mobile */
}

@media (min-width: 576px) {
    .tab-button {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

.tab-button:hover {
    color: var(--color-white);
}

.tab-button.active {
    color: var(--color-white);
    font-weight: 700;
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-30px);
        opacity: 0;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(30px);
        opacity: 0;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.tab-content {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

.tab-content.active {
    display: block;
    position: relative;
}

.anim-out-to-left {
    animation: slideOutToLeft 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.anim-in-from-right {
    display: block;
    animation: slideInFromRight 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.anim-out-to-right {
    animation: slideOutToRight 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.anim-in-from-left {
    display: block;
    animation: slideInFromLeft 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/*
========================================
========== PRODUCT COMMENTS TAB ========
========================================
*/

.rating-bars .progress {
    background-color: var(--color-gray-700);
}

.comment-card {
    border-bottom: 1px solid var(--color-gray-700);
}
.comment-card:last-of-type {
    border-bottom: none;
}

.verified-badge {
    color: var(--color-stock-available);
    font-size: var(--font-size-sm);
    font-weight: 500;
}
.verified-badge i {
    vertical-align: middle;
}

.helpful-btn {
    background-color: transparent;
    border: 1px solid var(--color-gray-700);
    color: var(--color-text-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpful-btn:hover {
    background-color: var(--color-gray-700);
    color: var(--color-white);
}

.helpful-btn.active {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    color: var(--color-white) !important;
}

.helpful-btn.active i {
    color: var(--color-white) !important;
    margin: auto 5px;
}

#comment-form-wrapper .form-control {
    border-color: var(--color-gray-700);
    color: var(--color-white);
}

#comment-form-wrapper .form-control:focus {
    background-color: var(--color-gray-700);
    border-color: var(--color-primary-red);
    box-shadow: 0 0 0 2px rgba(144, 0, 40, 0.5);
    color: var(--color-white);
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.star-rating-input input[type="radio"] {
    display: none;
}
.star-rating-input label {
    font-size: 2rem;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input input[type="radio"]:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: var(--color-warning);
}

/*
==================================================
========== CUSTOM DESKTOP GALLERY MODAL ==========
==================================================
*/
.custom-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1060;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 4rem;
}

.custom-gallery-modal.show {
    display: block;
    opacity: 1;
}

.custom-gallery-modal .custom-modal-content {
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
    gap: 1rem;
}

.custom-gallery-modal .btn-close {
    z-index: 1061;
}
.custom-gallery-modal .gallery-modal-thumbs-desktop .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.3s, border-color 0.3s;
}

.custom-gallery-modal .gallery-modal-thumbs-desktop .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--color-white);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: auto;
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(90deg) !important;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: auto;
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(0deg) !important;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    main {
        overflow-x: hidden;
    }

    #login-dialog .container {
        max-height: 100vh !important;
    }

    #mobileMenuAccordion .accordion-button::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-right: auto;
        content: "";
        width: 0.6rem;
        height: 0.6rem;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: rotate(135deg) !important;
        transition: transform 0.3s ease;
    }
    #mobileMenuAccordion .accordion-button:not(.collapsed)::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-right: auto;
        content: "";
        width: 0.6rem;
        height: 0.6rem;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: rotate(45deg) !important;
        transition: transform 0.3s ease;
    }
    .accordion-item {
        border: none !important;
        border-bottom: 1px solid #ffffff !important;
        background-color: transparent !important;
    }
    .accordion-button {
        font-size: 16px !important;
    }
    .navbar-brand {
        margin-left: 0 !important;
    }
    #main-nav button {
        padding: 0 10px !important;
    }
    #main-nav span,
    #main-nav span button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile {
        display: block;
    }
    .desktop {
        display: none;
    }
    #cart-drawer .offcanvas-body {
        padding: 0 !important;
    }
    .support-swiper,
    .for-you-swiper {
        height: 400px;
    }
    .latest-offers-swiper-button-prev,
    .latest-offers-swiper-button-next {
        display: none;
    }
    .product-card * {
        font-size: 22px;
    }
    .old-price,
    .save-tag,
    .save-badge {
        font-size: 18px !important;
    }
}
@media (min-width: 768px) {
    .desktop {
        display: block;
        z-index: 1000;
    }
    .mobile {
        display: none;
    }
    .navbar-brand {
        height: 2rem;
    }
    #main-nav .btn {
        background-color: transparent;
        color: #fff;
        border: none;
    }
    #main-nav .nav-link {
        color: #fff;
    }

    #main-nav {
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }
    #main-nav:hover {
        background-color: var(--color-dark);
    }

    /* .latest-offers-swiper-button-prev {
      left: 8px;
    }
    .latest-offers-swiper-button-next {
      right: 8px;
    } */
}
.add-to-cart-wrapper {
    display: flex;
    background-color: var(--color-primary-red-light) !important;
    padding: 10px !important;
    border-radius: 10px;
    gap: 2px;
    justify-content: space-evenly;
}

.add-to-cart-wrapper > .btn-outline-danger {
    border: 1px solid var(--color-primary-red) !important;
}

.add-to-cart-btn {
    background-color: var(--color-primary-red);
    transition: all 0.25s ease-in-out;
}

.add-to-cart-btn:hover {
    transform: scale(1.02);
    color: #fff !important;
}

.add-to-cart-remove {
    margin-right: auto;
}
.add-to-cart-add {
    margin-left: auto;
}

/* Wrapper */
.add-to-cart-wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Add to Cart button */
.add-to-cart-btn {
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.add-to-cart-btn:hover {
    background-color: #bb2d3b; /* darker red */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Quantity selector container */
.add-to-cart-wrapper .col-sm-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quantity buttons */
.add-to-cart-subtract,
.add-to-cart-add {
    background-color: #fff;
    border: 2px solid #dc3545;
    color: #dc3545;
    border-radius: 0.4rem;
    font-size: 1.25rem;
    line-height: 1.25rem;
    transition: all 0.2s ease-in-out;
    width: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 40px;
    width: 40px;
}

.add-to-cart-add::after {
    content: "\002B";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.add-to-cart-subtract::after {
    content: "\2212";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-55%, -50%);
}

.add-to-cart-subtract:hover,
.add-to-cart-add:hover {
    background-color: #dc3545;
    color: #fff;
    transform: scale(1.05);
}

/* Quantity number */
.add-to-cart-wrapper span {
    min-width: 2rem;
    text-align: center;
    font-size: 1.25rem;
}

.sticky-buttons-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
 */

:root {
    --color-primary-red: #900028;
    --color-primary-red-hover: #a01038;
    --color-primary-red-dark: #7a0021;
    --color-primary-red-light: #eddde1;
    --color-dark: #212121;
    --color-white: #fff;
    --color-black: #000;
    --color-background-body: #f0f0f0;
    --color-text-primary: #333;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}


.timer-title {
    font-size: .5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.timer-countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    direction:ltr
}

.timer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* Gap between blocks in a row */
}

.timer-time-block {
    background: var(--color-white);
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-width: 60px; /* Reduced min-width */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timer-time-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(144, 0, 40, 0.15);
}

.timer-time-value {
    font-size: 18px; /* As requested */
    font-weight: 700;
    color: var(--color-primary-red);
    line-height: 1.2;
}

.timer-time-label {
    font-size: 10px; /* Smaller label for hierarchy */
    text-transform: uppercase;
    color: var(--color-text-primary);
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.timer-separator {
    font-size: 18px; /* Match value font size */
    font-weight: 700;
    color: var(--color-primary-red);
    padding: 0;
    display:none
}

.timer-expired-message {
    text-align: center;
    margin-top: 1rem;
}

.timer-expired-message h2 {
    font-size: 2rem; /* Reduced font size */
    color: var(--color-primary-red);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 420px) {
    .product-box {
        padding: 1rem;
    }
    .timer-row {
        gap: 0.25rem;
    }
    .timer-time-block {
        min-width: 50px;
        padding: 0.4rem;
    }
    .product-title {
        font-size: 1.25rem;
    }
}
