
/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

.navbar-brand span {
    font-weight: 700;
}

.navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.navbar-nav .nav-link:hover {
    color: #e0363c !important;
}

form .btn-link {
    color: #e0363c;
    font-size: 1.2rem;
    padding-left: 0;
    padding-right: 0.6rem;
}

#mainNavbar {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: top 0.3s ease;
}

#offerBar {
    transition: all 0.3s ease-in-out;
}


/* =========================================================
   BANNER
========================================================= */

.banner-section {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .banner-section {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 180px;
    }
}


/* =========================================================
   CATEGORY SECTION
========================================================= */

.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-block {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.category-block:hover {
    transform: translateY(-5px);
}

.category-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 0.5rem;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #833ab4 0%,
        #e0363c 50%,
        #fcb045 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    transition: transform 0.3s ease;
}

.category-block:hover .category-img {
    padding: 6px;
    box-shadow: 0 10px 25px rgba(224, 54, 60, 0.20);
}

.category-block:hover .category-img img {
    transform: scale(1.05);
}

.category-label {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
    transition: color 0.2s ease;
}

.category-block:hover .category-label {
    color: #e0363c;
}

@media (max-width: 767px) {
    .category-img {
        width: 120px;
        height: 120px;
    }

    .category-label {
        font-size: 0.9rem;
    }
}


/* =========================================================
   PRODUCT GRID / MAIN PRODUCT SECTION
========================================================= */

.electronicSwiper {
    position: relative;
    padding: 35px 20px 55px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fffafa 50%,
        #ffffff 100%
    );
}


/* =========================================================
   PRODUCT SECTION HEADING
========================================================= */

.electronicSwiper h1 {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 5px !important;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #d9232e !important;
}

.electronicSwiper h1::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        #e0363c,
        #ff8a8a,
        #e0363c
    );
}

.electronicSwiper > div.text-center {
    margin-top: 8px;
    color: #777 !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.custom-card-row {
    width: 100% !important;

    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 24px;

    padding: 35px 5px 15px !important;

    margin: 0 auto;

    align-items: stretch;
}

.custom-card-row > div {
    width: 100% !important;
    min-width: 0;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.slider-item-box {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 14px 14px 18px;

    background: #ffffff;

    border: 1px solid #eeeeee !important;

    border-radius: 18px;

    text-align: center;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.slider-item-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #e0363c,
        #ff8b8f,
        #e0363c
    );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

.slider-item-box:hover {
    transform: translateY(-8px);

    border-color: rgba(224, 54, 60, 0.25) !important;

    box-shadow:
        0 15px 35px rgba(224, 54, 60, 0.13),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.slider-item-box:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.slider-img-hover {
    position: relative;

    width: 100% !important;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 14px;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #fafafa 65%,
            #f3f3f3 100%
        );

    border: 1px solid #f0f0f0;

    isolation: isolate;
}

.slider-img-hover img {
    position: absolute;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain;

    padding: 10px;

    transition:
        opacity 0.45s ease,
        transform 0.55s ease;
}

.slider-img-hover .main-img {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.slider-img-hover .hover-img {
    z-index: 2;
    opacity: 0;
    transform: scale(1);
}

.slider-img-hover:hover .main-img {
    opacity: 0;
    transform: scale(1.06);
}

.slider-img-hover:hover .hover-img {
    opacity: 1;
    transform: scale(1.06);
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.slider-title {
    width: 100%;

    min-height: 48px;

    margin-top: 15px !important;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;

    line-height: 1.45;

    font-weight: 650;

    color: #252525;

    transition: color 0.25s ease;
}

.slider-item-box:hover .slider-title {
    color: #d9232e;
}


/* =========================================================
   PRODUCT BUTTONS
========================================================= */

.slider-item-box .d-flex {
    margin-top: auto !important;

    padding-top: 14px;

    gap: 7px !important;

    flex-wrap: nowrap;
}

.slider-item-box .btn {
    flex: 1;

    min-height: 38px;

    padding: 8px;

    border-radius: 9px;

    font-size: 0.78rem;

    font-weight: 650;

    transition: all 0.25s ease;
}


/* VIEW DETAIL */

.slider-item-box .btn-outline-primary {
    color: #d9232e;

    border-color: #e0363c;

    background: #ffffff;
}

.slider-item-box .btn-outline-primary:hover {
    color: #ffffff;

    background: #e0363c;

    border-color: #e0363c;

    box-shadow:
        0 5px 14px rgba(224, 54, 60, 0.20);

    transform: translateY(-2px);
}


/* ENQUIRY */

.slider-item-box .btn-outline-danger {
    color: #ffffff;

    background: #e0363c;

    border-color: #e0363c;
}

.slider-item-box .btn-outline-danger:hover {
    color: #ffffff;

    background: #c82029;

    border-color: #c82029;

    box-shadow:
        0 5px 14px rgba(224, 54, 60, 0.25);

    transform: translateY(-2px);
}


/* BUTTON ICON */

.slider-item-box .btn i {
    margin-right: 3px;
    font-size: 0.85rem;
}


/* =========================================================
   SWIPER BUTTONS
========================================================= */

.electronicSwiper .swiper-button-next,
.electronicSwiper .swiper-button-prev {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #ffffff;

    color: #e0363c;

    border: 1px solid #eeeeee;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.10);

    transition: all 0.25s ease;
}

.electronicSwiper .swiper-button-next:hover,
.electronicSwiper .swiper-button-prev:hover {
    background: #e0363c;

    color: #ffffff;

    transform: scale(1.08);

    box-shadow:
        0 8px 22px rgba(224, 54, 60, 0.25);
}

.electronicSwiper .swiper-button-next::after,
.electronicSwiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   SWIPER PAGINATION
========================================================= */

.electronicSwiper .swiper-pagination {
    position: relative;
    margin-top: 22px;
}

.electronicSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    opacity: 0.35;

    transition: all 0.25s ease;
}

.electronicSwiper .swiper-pagination-bullet-active {
    width: 25px;

    border-radius: 20px;

    background: #e0363c;

    opacity: 1;
}


/* =========================================================
   NO PRODUCTS
========================================================= */

.custom-card-row .text-center.py-5 {
    width: 100%;

    padding: 60px 20px !important;

    border: 1px dashed #dddddd;

    border-radius: 15px;

    background: #fafafa;

    color: #777;

    font-size: 1rem;
}


/* =========================================================
   OLD PRODUCT GRID SUPPORT
========================================================= */

.product-grid-box {
    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-grid-box:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(224, 54, 60, 0.13);
}

.product-img {
    width: 85px;
    height: 85px;

    object-fit: contain;

    margin: 0 auto 8px;

    border-radius: 8px;

    background: #f9f8fa;
}

.product-label {
    font-size: 1.06rem;

    font-weight: 600;

    color: #222;

    letter-spacing: 0.04em;

    margin-bottom: 8px;
}


/* =========================================================
   BRAND SECTION
========================================================= */

.brand-row {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;
}

.brand-card {
    background: #ffffff;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    flex: 1 1 calc(20% - 20px);

    max-width: 220px;

    text-align: center;
}

.brand-card img {
    width: 100%;

    height: auto;

    display: block;
}

.brand-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-banner {
    background:
        linear-gradient(
            135deg,
            #d9232e,
            #e0363c,
            #c82029
        );

    padding: 2.5rem 0 1.5rem;

    color: #ffffff;
}

.newsletter-header {
    font-size: 2rem;

    font-weight: 700;

    letter-spacing: 0.01em;
}

.newsletter-desc {
    opacity: 0.95;
}

.newsletter-form {
    display: flex;

    align-items: center;

    justify-content: center;
}

.newsletter-form input[type="email"] {
    min-width: 210px;

    border: none;

    outline: none;

    font-size: 1rem;

    padding: 12px 15px;

    border-radius: 8px 0 0 8px;
}

.newsletter-form button {
    background: #ffffff;

    color: #e0363c;

    border: none;

    font-weight: bold;

    letter-spacing: 0.06em;

    padding: 12px 20px;

    border-radius: 0 8px 8px 0;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.newsletter-form button:hover {
    background: #ffe9eb;

    color: #b7242d;
}


/* =========================================================
   TRUST BADGES
========================================================= */

.container-fluid.my-5 > div > p {
    font-size: 1.25rem;

    color: #222;

    letter-spacing: 0.2px;
}

.container-fluid.my-5 .col-6 {
    padding: 22px 15px;

    border-radius: 15px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.container-fluid.my-5 .col-6:hover {
    background: #fffafa;

    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(224, 54, 60, 0.08);
}


/* TRUST ICON */

.container-fluid.my-5 .bi {
    display: inline-flex;

    width: 58px;
    height: 58px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #e0363c !important;

    background: #fff1f2;

    font-size: 1.7rem !important;

    transition: all 0.3s ease;
}

.container-fluid.my-5 .col-6:hover .bi {
    color: #ffffff !important;

    background: #e0363c;

    transform: scale(1.08);
}


/* TRUST TITLE */

.container-fluid.my-5 .fw-bold.small {
    margin-top: 10px;

    font-size: 0.82rem;

    color: #252525;

    letter-spacing: 0.4px;
}


/* TRUST DESCRIPTION */

.container-fluid.my-5 .extra-small {
    margin-top: 4px;

    line-height: 1.5;

    color: #777 !important;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-desc {
    font-size: 0.95rem;

    line-height: 1.7;

    color: #777;
}

.footer ul {
    padding-left: 0;

    list-style: none;
}

.footer .bi {
    font-size: 1rem;

    margin-right: 0.5rem;
}

.footer .fw-bold {
    color: #e0363c;
}

.footer a {
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer a:hover {
    color: #e0363c !important;
}


/* =========================================================
   GENERAL SMALL TEXT
========================================================= */

.extra-small {
    font-size: 0.82rem;
}


/* =========================================================
   RESPONSIVE - 1200px
========================================================= */

@media (max-width: 1200px) {

    .custom-card-row {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   RESPONSIVE - 992px
========================================================= */

@media (max-width: 992px) {

    .custom-card-row {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

    .electronicSwiper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .electronicSwiper h1 {
        font-size: 2.1rem;
    }

    .brand-card {
        flex: 1 1 calc(25% - 20px);
    }

}


/* =========================================================
   RESPONSIVE - 768px
========================================================= */

@media (max-width: 768px) {

    .custom-card-row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;

        padding-top: 25px !important;
    }

    .electronicSwiper {
        padding-top: 25px;

        padding-bottom: 35px;
    }

    .electronicSwiper h1 {
        font-size: 1.85rem;
    }

    .electronicSwiper h1::after {
        width: 50px;

        height: 3px;

        margin-top: 9px;
    }

    .electronicSwiper > div.text-center {
        font-size: 0.82rem;
    }

    .slider-item-box {
        padding: 10px 9px 13px;

        border-radius: 14px;
    }

    .slider-img-hover {
        border-radius: 11px;
    }

    .slider-img-hover img {
        padding: 7px;
    }

    .slider-title {
        min-height: 42px;

        margin-top: 10px !important;

        font-size: 0.87rem;

        line-height: 1.35;
    }

    .slider-item-box .d-flex {
        padding-top: 9px;
    }

    .slider-item-box .btn {
        min-height: 35px;

        padding: 6px 4px;

        font-size: 0.68rem;
    }

    .slider-item-box .btn i {
        font-size: 0.72rem;
    }

    .electronicSwiper .swiper-button-next,
    .electronicSwiper .swiper-button-prev {
        width: 34px;

        height: 34px;
    }

    .electronicSwiper .swiper-button-next::after,
    .electronicSwiper .swiper-button-prev::after {
        font-size: 13px;
    }

    .brand-card {
        flex: 1 1 calc(50% - 20px);
    }

    .newsletter-header {
        font-size: 1.3rem;
    }

    .newsletter-banner {
        padding: 1.2rem 0 1rem;
    }

    .newsletter-form input[type="email"] {
        min-width: 100px;

        font-size: 0.99rem;
    }

    .newsletter-form button {
        padding-left: 1.2rem;

        padding-right: 1.2rem;

        font-size: 0.98rem;
    }

    .footer .text-end {
        text-align: left !important;

        margin-top: 1rem;
    }

}


/* =========================================================
   RESPONSIVE - 480px
========================================================= */

@media (max-width: 480px) {

    .electronicSwiper h1 {
        font-size: 1.55rem;
    }

    .custom-card-row {
        gap: 10px;
    }

    .slider-item-box {
        padding: 8px 7px 11px;

        border-radius: 12px;
    }

    .slider-title {
        font-size: 0.78rem;

        min-height: 38px;
    }

    .slider-item-box .btn {
        font-size: 0.61rem;

        padding-left: 3px;

        padding-right: 3px;
    }

    .slider-item-box .btn i {
        display: none;
    }

    .container-fluid.my-5 > div > p {
        font-size: 1rem;
    }

    .container-fluid.my-5 .col-6 {
        padding: 16px 8px;
    }

    .container-fluid.my-5 .bi {
        width: 48px;

        height: 48px;

        font-size: 1.4rem !important;
    }

    .container-fluid.my-5 .fw-bold.small {
        font-size: 0.7rem;
    }

    .container-fluid.my-5 .extra-small {
        font-size: 0.7rem;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 65%;
    }

    .newsletter-form button {
        width: 35%;
    }

}


/* =========================================================
   RESPONSIVE - 360px
========================================================= */

@media (max-width: 360px) {

    .custom-card-row {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .slider-item-box {
        max-width: 320px;

        margin: auto;
    }

    .slider-title {
        font-size: 0.9rem;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.slider-item-box .btn:focus {
    box-shadow:
        0 0 0 3px rgba(224, 54, 60, 0.15);
}


/* =========================================================
   PERFORMANCE
========================================================= */

.slider-item-box,
.slider-img-hover img,
.slider-item-box .btn,
.container-fluid.my-5 .bi {
    will-change: transform;
}

