@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;
}

i,.fa, .fas {
    font-family: "Font Awesome 6 Free", Arial, sans-serif !important;
}

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;
}

html,
body {
    margin: 0;
    padding: 0;
}

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%;
}

header.dark {
    color: var(--color-white) !important;
    background-color: #212121 !important;
    width: 100%;
    height: fit-content;
}

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

.top-header-link {
    font-size: 14px;
}

/* .mt-80 {
    margin-top: 80px !important;
} */

::-webkit-scrollbar {
    width: 4px;
}
::-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,
.for-you-swiper-button-next,
.for-you-swiper-button-prev,
.support-swiper-button-next,
.support-swiper-button-prev,
.products-liked-swiper-button-next,
.products-liked-swiper-button-prev {
    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,
.for-you-swiper-button-next svg,
.for-you-swiper-button-prev svg {
    width: 20px;
    height: 20px;
}

.left-50 {
    left: 50px;
}

.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 !important;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: var(--font-size-md);
}

.hero-left {
    aspect-ratio: 1 / 1;
    transform: scale(0.3) rotate(180deg) !important;
}

.hero-right {
    aspect-ratio: 1/1;
    transform: scale(0.3) !important;
}

.hero-left .line,
.hero-right .line {
    background-color: #fff !important;
    background: unset;
}

/*
========================================
============== 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);
    margin-top: 0 !important;
}

@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-offer-banner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
}

.latest-offers-swiper-button-prev,
.latest-offers-swiper-button-next {
    position: absolute;
    top: 3%;
    z-index: 10;
    background-color: var(--color-gray-medium);
}
.latest-offers-swiper-button-prev {
    left: 55px;
}
.latest-offers-swiper-button-next {
    left: 10px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}
#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;
    margin-bottom: 1rem;
}

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

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

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

.product-card .current-price {
    grid-area: 2/2/-2/-1;
    font-weight: 800;
    font-size: 20px;
    text-align: left;
}

.product-card .old-price-wrapper {
    grid-area: 1 / 2 / 1 / -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);
    z-index: 10;
}

.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: 14px;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--color-dark);
    line-height: 170%;
}
.product-title:hover {
    color: var(--color-primary-red);
}

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

.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%;
    direction: ltr;
    margin-top: auto;
}

.unavailable-box {
    width: 100%;
    height: 48px;
    background-color: rgb(212, 212, 212);
    color: black;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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);
}

.price .save-tag {
    color: var(--color-primary-red);
    font-size: var(--font-size-sm);
    font-weight: bold;
    border-radius: 8px;
    white-space: nowrap;
}

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

.latest-offer-container {
    max-width: unset;
}

.add-to-cart-btn {
    height: 48px;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: 2 / 1 / 3 / 2;
}

.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;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--color-stock-available);
    margin-bottom: 1rem;
    grid-area: 3 / 2 / -2 / -1;
}

.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);
}
.latest-image-wrapper {
    margin-right: 2%;
    min-height: 400px;
    height: 500px !important;
}

.grid2132 {
    grid-area: 2 /1 / 3/2;
}

@media (max-width: 768px) {
    .fixed-mobile-header-height {
        height: 80px !important;
    }

    .mt-80 {
        margin-top: 80px !important;
    }
    .fs-mobile {
        font-size: 0.7rem;
    }
    .latest-image-wrapper {
        margin-right: 0;
        min-height: 0;
        height: auto !important;
        width: 100%;
    }
    .latest-offer-container {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        margin-left: auto;
        margin-right: auto;
    }
    .add-to-cart-btn {
        width: 70px;
    }
    .banner {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        margin-left: auto;
        margin-right: auto;
    }
    .price {
        grid-template-columns: 1fr 1fr;
    }
    .attibute-table tbody tr td {
        padding-right: 50px !important;
    }
    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .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,
    .price .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;
    display: none;
}

#preloader-content {
    display: none;
}

#preloader-content.show {
    display: block;
}

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

.text-justify {
    text-align: justify !important;
}

.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: 25px;
    margin:0 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 {
    border-radius: 1px;
    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: fit-content;
        margin-top: 104px;
    }
}

/* 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);
    z-index: 10;
    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;
    display: flex;
    flex-direction: row-reverse;
    margin-right: auto !important;
}
.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: all 0.2s;
}
.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.5rem;
    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;
}

.parent-two-col-style {
    height: 100%;
}

.product-image-wrapper a {
    height: 100%;
    display: flex;
}

.product-two-col-style {
    padding: 0.5rem;
}

.product-two-col-style .add-to-cart-btn {
    font-size: 12px;
}

.product-two-col-style .price-section {
    margin-top: auto;
}

.product-two-col-style .save-badge {
    font-weight: normal;
    font-size: 12px !important;
}

.page-link {
    font-size: 16px;
}

.product-two-col-style .product-footer {
    top: 0%;
    left: 0.5rem;
}

.product-two-col-style .circle-btn {
    width: 30px;
    height: 30px;
}

.product-two-col-style .current-price {
    font-size: 16px;
}

.product-two-col-style .product-title {
    font-size: 14px;
}

.product-two-col-style .add-to-cart-btn i {
    margin: 0 5px;
}

.product-two-col-style .product-title {
    min-height: 0 !important;
}

.product-two-col-style .add-to-cart-btn {
    height: 40px;
}

.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;
    }
}

.mobile-margin-100 {
    margin-top: 40px;
}

/*
========================================
========== 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.8rem;
    height: 0.8rem;
    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.8rem;
    height: 0.8rem;
    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;
        height: 2.8rem;
    }
    #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 !important;
    }
    .desktop {
        display: none !important;
    }
    #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 !important;
        z-index: 1000;
    }
    .mobile {
        display: none !important;
    }
    .navbar-brand {
        height: 3rem;
    }
    #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;*/

/*    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: 0.7rem;
    padding: 0.75rem;
    border-radius: 0 !important;
    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: 1rem;
}

.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: 0.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; */
    }
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
========================================
========== LOGIN MODAL STYLES ==========
========================================
*/
@keyframes loginModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loginModalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

#login-modal {
    padding: 0;
    border: none;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#login-modal .modal-content {
    border: none !important;
}

#login-modal[open] .container {
    animation: loginModalFadeIn 0.3s ease-out forwards;
}

#login-modal.closing .container {
    animation: loginModalFadeOut 0.3s ease-in forwards;
}

#login-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

#login-modal .dialog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#login-modal .container {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background-color: var(--color-dark);
    color: var(--color-white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#login-modal .close-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 1.875rem;
    line-height: 1;
    color: #9ca3af; /* gray-400 */
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    padding: 0.5rem;
    transition: color 0.2s;
}
#login-modal .close-btn:hover {
    color: var(--color-white);
}

#login-modal .content {
    overflow-y: auto;
}

#login-modal .content::-webkit-scrollbar {
    width: 8px;
}
#login-modal .content::-webkit-scrollbar-track {
    background: var(--color-dark);
}
#login-modal .content::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-red);
    border-radius: 4px;
}
#login-modal .content::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary-red-hover);
}

#login-modal .slider-wrapper {
    overflow: hidden;
    position: relative;
}

#login-modal .slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

#login-modal .form-slide {
    flex: 1 0 100%;
    box-sizing: border-box;
    padding: 0 0.25rem;
    height: auto;
    padding: 2.5rem;
}

#login-modal .form-slide input[type="tel"] {
    padding-left: 35px;
}

#login-modal .title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

#login-modal .subtitle {
    text-align: center;
    color: var(--color-gray-300);
    font-size: 14px;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

#login-modal .form-switch-link {
    text-align: center;
    color: var(--color-gray-300);
    font-size: 14px;
    margin-bottom: 1.5rem;
}
#login-modal .form-switch-link a {
    font-weight: bold;
    color: var(--color-white);
    text-decoration: none;
}
#login-modal .form-switch-link a:hover {
    text-decoration: underline;
}

#login-modal .subtitle strong {
    color: var(--color-white);
}
#login-modal .subtitle a {
    font-weight: bold;
    color: var(--color-white);
    text-decoration: none;
}
#login-modal .subtitle a:hover {
    text-decoration: underline;
}

#login-modal form {
    margin-top: 1rem;
}

#login-modal .form-label {
    display: block;
    font-size: 14px;
    color: var(--color-gray-300);
    margin-bottom: 0.5rem;
    text-align: right;
}

#login-modal .form-control {
    width: 100%;
    padding: 0.45rem;
    background-color: var(--color-gray-700);
    border: 1px solid #4b5563;
    color: white;
    box-sizing: border-box;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 16px;
}

#login-modal .form-control:focus {
    outline: none;
    border-color: var(--color-primary-red) !important;
    box-shadow: 0 0 0 2px rgba(144, 0, 40, 0.5);
    background-color: var(--color-gray-700);
    color: white;
}

#login-modal .btn-submit {
    width: 100%;
    background-color: var(--color-primary-red);
    color: white;
    padding: 0.45rem;
    border: none;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 16px;
}
#login-modal .btn-submit:hover {
    background-color: var(--color-primary-red-hover);
    transform: translateY(-2px);
}

#login-modal .otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    direction: ltr;
    margin-bottom: 1.5rem;
}

#login-modal .otp-inputs input {
    width: 100%;
    height: 3.5rem;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    -moz-appearance: textfield;
}
#login-modal .otp-inputs input::-webkit-outer-spin-button,
#login-modal .otp-inputs input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#login-modal .form-links {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

#login-modal .form-links a {
    color: var(--color-gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

#login-modal .form-links a:hover {
    text-decoration: underline;
    color: var(--color-white);
}

#login-modal .representative-login {
    margin-top: 1.5rem;
}

#login-modal .btn-secondary-custom {
    display: block;
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: var(--color-gray-300);
    padding: 0.65rem;
    border: 1px solid #4b5563;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    box-sizing: border-box;
    font-size: 16px;
}

#login-modal .btn-secondary-custom:hover {
    background-color: var(--color-gray-700);
    color: var(--color-white);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    #login-modal .dialog-container {
        padding: 0;
        align-items: center;
        max-height: unset;
    }

    #login-modal .container {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        max-height: 100vh;
    }
    #login-modal .content {
        padding: 0;
    }
    #login-modal .slider-wrapper {
        height: auto;
        transition: height 0.3s ease-in-out;
    }
    #login-modal .title {
        font-size: 18px;
    }
    #login-modal .otp-inputs {
        gap: 0.5rem;
    }
    #login-modal .otp-inputs input {
        height: 3rem;
        font-size: 18px;
    }
}

.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-modal input:focus {
    border-color: var(--color-primary-red) !important;
    box-shadow: 0 0 0 1px var(--color-primary-red);
}

#login-modal .modal-content {
    background-color: transparent !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 14px;
    color: #f8d7da; /* Light red for dark backgrounds */
    text-align: right;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

#login-modal .form-control.is-invalid {
    border-color: #dc3545 !important;
}

#login-modal .form-control.is-invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.5) !important;
}

/* 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;
}

input[type="tel"] {
    padding-inline-start: 10px;
}

.latest-offer img {
    height: 100%;
    object-fit: cover;
}

.product-footer {
    margin-top: auto;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 42px;
}

/* Make the modal body scrollable */
.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Ensure Swiper container is scrollable */
.login-modal-swiper {
    /* overflow-y: auto; */
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.unq-newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #900028;
    color: white;
    padding: 25px 45px;
    border-radius: 1px !important;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    position: relative;
    margin-bottom: -70px;
    border-radius: 10px;
}

.unq-title {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
}

.unq-form-fields {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    margin: 0 40px;
}

.unq-input-field {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unq-input-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: right;
}

.unq-input-field input {
    width: 100%;
    background: transparent;
    border: none;
    border: 1px solid #bd0538;
    padding: 5px 15px !important;
    border-radius: 1px;
    color: white;
    padding: 5px 0;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    max-width: 50%;
    margin: 0 auto;
    text-align: right;
    padding: 5px 10px;
}

.unq-input-field input::placeholder {
    color: #fff;
}

.unq-submit-btn {
    background-color: white;
    color: #900028;
    border: none;
    border-radius: 1px;
    padding: 14px 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .unq-newsletter-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 30px;
    }

    .unq-form-fields {
        margin: 0;
        text-align: right;
    }

    .unq-title {
        font-size: 24px;
    }

    .unq-input-field input {
        max-width: 100%;
        margin: 0 auto;
    }
}

.smallborder-bottom {
    border-bottom: 1px solid var(--color-background-light);
}

.banner-section {
    min-height: 750px;
}

@media (max-width: 768px) {
    .banner-section {
        min-height: unset;
    }
    .latest-controls {
        top: 330px !important;
        left: -66px !important;
        transform: scale(0.4);
        z-index: 100;
    }
    .mobile-margin-100 {
        margin-top: 100px;
    }
}

.drawer-action-buttons {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
}

.drawer-delete-button {
    padding: 0 !important;
    margin-top: auto;
}

.attibute-table tbody tr th {
    vertical-align: middle;
    padding-right: 50px !important;
}

.attibute-table tbody tr td {
    /* padding-right: 0; */
}

.format-price {
    font-size: 1.4rem;
}

.slider-controls,
.latest-controls {
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: -31px;
    left: -66px;
    transform: scale(0.4);
}

.arrow-container {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    background-color: transparent;
    border-radius: 15px;
}

.arrow-left:hover .arrow-text {
    animation: fadeMoveRight 0.5s ease forwards;
}

.arrow-right:hover .arrow-text {
    animation: fadeMoveLeft 0.5s ease forwards;
}

.line {
    position: absolute;
    top: calc(50% - 3px);
    left: 30px;
    width: 40px;
    height: 6px;
    background: linear-gradient(
        to right,
        #000000 50%,
        var(--color-primary-red) 50%
    );
    background-size: 200% 100%;
    background-position: right;
    border-radius: 3px;
    transition: transform 0.3s ease, background-position 0.3s ease;
    transform-origin: left center;
}

.line:nth-child(1) {
    transform: rotate(45deg);
}

.line:nth-child(2) {
    transform: rotate(-45deg);
}

.arrow-container:hover .line {
    background-position: left;
}

.arrow-container:hover .line:nth-child(1) {
    transform: rotate(35deg);
}

.arrow-container:hover .line:nth-child(2) {
    transform: rotate(-35deg);
}

.arrow-right {
    transform: rotate(180deg);
}
.arrow-text {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translateY(-50%);
    opacity: 0;
    font-size: 28px;
}
.flip {
    transform: rotate(180deg);
}
@keyframes fadeMoveRight {
    from {
        opacity: 0;
        transform: translateX(0) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(15px) translateY(-50%);
    }
}
@keyframes fadeMoveLeft {
    from {
        opacity: 0;
        transform: translateX(0) translateY(-50%) rotate(180deg);
    }
    to {
        opacity: 1;
        transform: translateX(15px) translateY(-50%) rotate(180deg);
    }
}

.nav-item.dropend:hover > .dropdown-menu {
    display: block;
}

.for-you-card-component,
.card-img-overlay {
    border-radius: 0 !important;
}

.latest-offers-swiper .swiper-wrapper {
    height: unset !important;
}

.mobile-categories-wrapper {
    gap: 8px !important;
}

.home-category-link {
    padding: 8px 20px;
}

.fs-mobile {
    font-size: large;
}

.product-variation-thumnail {
    padding: 0.25rem;
    background-color: transparent;
    border: none;
    max-width: 100%;
    height: auto;
}

/*
========== COMING SOON PAGE STYLES =====
*/

.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80dvh;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    border: 1px dashed var(--color-primary-red);
}

.coming-soon-icon {
    font-size: 5rem;
    color: var(--color-primary-red);
    margin-bottom: 1.5rem;
    line-height: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.coming-soon-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.coming-soon-text {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    max-width: 50ch;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.coming-soon-cta {
    display: inline-block;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 0.7rem 2.2rem;
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-sm);
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.coming-soon-cta:hover {
    background-color: var(--color-primary-red-hover);
    transform: translateY(-3px);
    color: var(--color-white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .coming-soon-icon {
        font-size: 4rem;
    }
    .coming-soon-title {
        font-size: var(--font-size-lg);
    }
    .coming-soon-text {
        font-size: var(--font-size-sm);
    }

    .content {
        padding-top: 0px;
    }
}

.clock {
    --clock-size: 96px; /* می‌توانید 64px یا 120px بگذارید */
    width: var(--clock-size);
    height: var(--clock-size);
    border-radius: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(0, 0, 0, 0.08)
    );
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) inset,
        0 6px 18px rgba(0, 0, 0, 0.12);
    position: relative;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    padding: calc(var(--clock-size) * 0.06);
    overflow: visible;
}

/*
========================================
========== COMING SOON PAGE STYLES =====
========================================
*/

body {
    background-color: var(--color-background-light);
}

.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    overflow: hidden; /* Prevents scrollbars during animation */
}

.clock {
    width: 120px;
    height: 120px;
    border: 5px solid var(--color-primary-red);
    border-radius: 50%;
    position: relative;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background-color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.hand {
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--color-dark);
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg); /* Start pointing up */
    transition: transform 0.05s cubic-bezier(0.1, 2.7, 0.58, 1);
}

.hour-hand {
    width: 35%;
    left: 15%;
    height: 4px;
    background: var(--color-dark);
}

.minute-hand {
    width: 45%;
    left: 5%;
    height: 3px;
    background: var(--color-text-secondary);
}

.second-hand {
    width: 48%;
    left: 2%;
    height: 1px;
    background: var(--color-primary-red);
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary-red);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    z-index: 10;
}

.coming-soon-title {
    font-size: var(--font-size-lg); /* 18px */
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.coming-soon-text {
    font-size: var(--font-size-md); /* 16px */
    color: var(--color-text-secondary);
    max-width: 50ch;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.coming-soon-cta {
    display: inline-block;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 0.7rem 2.2rem;
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-sm); /* 14px */
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.coming-soon-cta:hover {
    background-color: var(--color-primary-red-hover);
    transform: translateY(-3px);
    color: var(--color-white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clock {
        width: 100px;
        height: 100px;
    }
    .coming-soon-title {
        font-size: var(--font-size-lg);
    }
    .coming-soon-text {
        font-size: var(--font-size-sm);
    }
    n-title {
        font-size: var(--font-size-lg);
    }
    .coming-soon-text {
        font-size: var(--font-size-sm);
    }
}

.tech-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.tech-title {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.tech-subtitle {
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 18px;
}

.tech-card-wrapper {
    perspective: 1000px;
    display: inline-block;
    margin: 20px;
    padding: 20px;
    margin: -20px;
}

.tech-card {
    width: 70px;
    height: 70px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-radius: 2px;
}

.tech-card-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-card-wrapper:hover .tech-card {
    transform: rotateY(180deg);
}

.tech-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.147);
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}

.tech-card-front {
    background: var(--color-primary-red);
    color: var(--color-black);
}

.tech-card-back {
    background: var(--color-black);
    color: #fff;
    transform: rotateY(180deg);
    justify-content: center;
}

.tech-product-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 50%
    );
}

.tech-product-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tech-product-description {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.tech-price {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: auto;
}

.tech-add-to-cart {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
}

.tech-add-to-cart:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.tech-add-to-cart:hover:before {
    left: 100%;
}

.tech-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.tech-features {
    list-style-type: none;
    text-align: left;
    margin-bottom: 30px;
}

.tech-features li {
    margin-bottom: 12px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tech-features li:before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.tech-discount {
    color: white;
    display: inline-block;
    font-size: 16px;
}

.tech-instructions {
    margin-top: 40px;
    color: #7f8c8d;
    font-style: italic;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-rating {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.tech-star {
    color: #f1c40f;
    font-size: 20px;
    margin: 0 2px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.tech-back-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.tech-back-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 3px;
}
