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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;
    color: #171717;
    background: #ffffff;
    padding-bottom: 90px;
}


/* ================= HEADER ================= */

.header {
    height: 74px;

    display: flex;
    align-items: center;

    gap: 30px;

    padding: 0 5%;

    border-bottom: 1px solid #eeeeee;

    background: rgba(255,255,255,.97);

    position: sticky;
    top: 0;

    z-index: 100;
}


.logo-area {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 190px;
}


.logo-box {
    width: 43px;
    height: 43px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: #ed163c;

    color: white;

    font-weight: 900;

    box-shadow: 0 8px 20px rgba(237,22,60,.25);
}

.logo-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: inherit;
}

.logo-box:has(img) {
    overflow: hidden;
    background: #fff;
}


.logo-text strong {
    display: block;

    font-size: 17px;

    letter-spacing: .5px;
}


.logo-text span {
    display: block;

    color: #ed163c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* SEARCH */

.search-box {
    flex: 1;

    max-width: 650px;

    display: flex;

    background: #f6f6f7;

    border: 1px solid #eeeeee;

    border-radius: 13px;

    overflow: hidden;
}


.search-box input {
    flex: 1;

    border: 0;

    outline: none;

    background: transparent;

    padding: 14px 16px;

    font-size: 14px;
}


.search-box button {
    width: 55px;

    border: 0;

    background: #ed163c;

    color: white;

    font-size: 22px;

    cursor: pointer;
}


.header-icons {
    display: flex;

    gap: 7px;

    margin-left: auto;
}


.header-btn {
    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    border-radius: 50%;

    cursor: pointer;

    font-size: 21px;

    position: relative;
}


.header-btn:hover {
    background: #f5f5f5;
}


.cart-button span {
    position: absolute;

    top: -2px;
    right: -2px;

    background: #ed163c;

    color: white;

    font-size: 10px;

    padding: 3px 6px;

    border-radius: 20px;
}


/* MOBILE SEARCH */

.mobile-search {
    display: none;

    padding: 12px 5%;

    background: white;

    border-bottom: 1px solid #eee;
}


.mobile-search input {
    width: 75%;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 9px;
}


.mobile-search button {
    padding: 12px 15px;

    margin-left: 5px;

    border: 0;

    border-radius: 9px;

    background: #ed163c;

    color: white;
}


.mobile-search.show {
    display: block;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    width: 90%;

    max-width: 1400px;

    min-height: 560px;

    margin: 28px auto 0;

    border-radius: 28px;

    overflow: hidden;

    background: #111216;

    color: white;

    display: flex;
    isolation: isolate;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(8, 8, 10, .88) 0%, rgba(8, 8, 10, .66) 48%, rgba(8, 8, 10, .12) 100%);
    content: "";
    pointer-events: none;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    padding: clamp(55px, 8vw, 100px);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    text-align: left;
}


.small-title {
    color: #ed163c;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


.hero h1 {
    max-width: 650px;
    font-size: clamp(48px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -4px;

    margin-bottom: 23px;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .4);
}


.hero h1 span {
    display: block;

    color: #ff4a64;
}


.hero-description {
    color: rgba(255, 255, 255, .88);

    max-width: 550px;

    line-height: 1.7;

    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}


.red-button {
    width: max-content;

    border: 0;

    background: #ed163c;

    color: white;

    font-weight: 800;

    padding: 15px 23px;

    border-radius: 10px;

    cursor: pointer;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-service-button {
    min-height: 48px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 10px;
    background: rgba(16, 16, 18, .35);
    color: white;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.hero-service-button:hover {
    background: rgba(255, 255, 255, .14);
}


.red-button:hover {
    transform: translateY(-2px);
}


.placeholder-icon {
    width: 150px;
    height: 150px;

    margin: auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 2px dashed #555;

    color: #555;

    font-size: 35px;

    font-weight: 900;

    margin-bottom: 15px;
}


/* ================= SECTIONS ================= */

.section {
    width: 90%;

    max-width: 1400px;

    margin: 60px auto;
}


.section-title {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 25px;
}


.section-title h2 {
    font-size: 32px;

    letter-spacing: -1px;
}


.section-title p {
    color: #888;

    margin-top: 5px;
}


.view-button {
    border: 0;

    background: none;

    color: #ed163c;

    font-weight: 700;

    cursor: pointer;
}


/* ================= CATEGORIES ================= */

.categories {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 22px;
}


.category {
    border: 0;

    background: none;

    cursor: pointer;

    text-align: center;
}


.category-image {
    width: 100%;

    aspect-ratio: 1;

    border-radius: 50%;

    overflow: hidden;

    border: 5px solid white;

    box-shadow:
        0 5px 20px rgba(0,0,0,.15);

    transition: .25s;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.category:hover .category-image {
    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.2);
}


.image-placeholder {
    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    background:
        linear-gradient(
            135deg,
            #eeeeee,
            #d8d8d8
        );

    color: #999;

    font-size: 12px;

    font-weight: 700;
}


.category h3 {
    margin-top: 13px;

    font-size: 13px;

    line-height: 1.3;
}


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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #eeeeee;
    border-radius: 16px;

    background: white;

    transition: transform .2s, box-shadow .2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / .82;

    overflow: hidden;
    background: #f7f7f7;
}

.product-image-wrap > img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-gallery-trigger {
    cursor: zoom-in;
}

.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    padding: 5px 8px;
    border-radius: 20px;

    background: #e9f7ed;
    color: #247a39;

    font-size: 10px;
    font-weight: 700;
}

.stock-badge.out-of-stock {
    background: #fff0f1;
    color: #c5303e;
}

.wishlist-toggle {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: white;
    color: #555;

    font-size: 22px;
    cursor: pointer;
}

.wishlist-toggle.is-active {
    color: #ed163c;
}

.product-card-content {
    padding: 15px;
}

.product-category {
    margin-bottom: 7px;

    color: #ed163c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.product-card h3 {
    min-height: 42px;
    margin-bottom: 14px;
    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    font-size: 14px;
    line-height: 1.5;
}

.product-title-trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.product-description-slot {
    margin: 0 0 14px;
    padding: 10px 11px;
    border: 1px solid #e7e7eb;
    border-left: 3px solid #ed163c;
    border-radius: 9px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    box-shadow: 0 3px 10px rgba(25, 25, 35, .05);
}

.product-description-slot > span {
    display: block;
    margin-bottom: 5px;
    color: #ed163c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.product-description-preview {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    color: #666;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card-bottom > strong {
    white-space: nowrap;
    font-size: 16px;
}

.product-card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.add-to-cart,
.share-product-button {
    min-width: 0;
    padding: 9px 7px;

    border: 0;
    border-radius: 8px;

    background: #ed163c;
    color: white;

    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.share-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #222;
}

.share-product-button span {
    font-size: 13px;
    line-height: 1;
}

.share-product-button:hover {
    background: #ed163c;
}

.buy-now-button {
    background: #222;
}

.add-to-cart:disabled {
    background: #ddd;
    color: #777;
    cursor: not-allowed;
}

.empty-products {
    grid-column: 1 / -1;

    border: 2px dashed #eeeeee;

    border-radius: 20px;

    padding: 60px 20px;

    text-align: center;
}


.empty-icon {
    width: 60px;
    height: 60px;

    margin: auto auto 15px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #f8f8f8;

    color: #ed163c;

    font-size: 30px;
}


.empty-products h3 {
    margin-bottom: 8px;
}


.empty-products p {
    color: #999;

    font-size: 14px;
}


/* ================= PROMO ================= */

.promo {
    width: 90%;

    max-width: 1400px;

    min-height: 350px;

    margin: 70px auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #111216;

    border-radius: 25px;

    overflow: hidden;

    color: white;
}

.promo.no-promo-image {
    grid-template-columns: 1fr;
}


.promo-content {
    padding: 55px 7%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.promo h2 {
    font-size: 39px;

    line-height: 1.05;

    margin-bottom: 15px;
}


.promo-content > p:not(.small-title) {
    color: #aaa;

    line-height: 1.6;

    margin-bottom: 22px;
}


.white-button {
    width: max-content;

    padding: 14px 20px;

    border: 0;

    border-radius: 9px;

    background: white;

    color: #111;

    font-weight: 800;

    cursor: pointer;
}


.promo-image {
    min-height: 350px;

    display: grid;

    place-items: center;

    background:
        radial-gradient(
            circle,
            #33353b,
            #111216
        );
}


.promo-placeholder {
    color: #666;

    border: 2px dashed #555;

    padding: 50px;
}

.promo-image > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ================= TRUST ================= */

.trust-section {
    width: 90%;

    max-width: 1400px;

    margin: 60px auto;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 16px;
}


.trust-card {
    padding: 24px;

    border: 1px solid #eeeeee;

    border-radius: 16px;

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.trust-icon {
    font-size: 27px;

    margin-bottom: 5px;
}


.trust-card small {
    color: #888;
}


/* ================= FOOTER ================= */

footer {
    background: #fafafa;

    border-top: 1px solid #eee;

    padding: 55px 5% 25px;
}


.footer-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;

    text-align: center;
}


.footer-about p {
    color: #888;

    max-width: 350px;

    margin-right: auto;

    line-height: 1.7;

    margin-top: 15px;

    margin-left: auto;
}

.footer-about .logo-area {
    justify-content: center;
}


.footer-grid h4 {
    margin-bottom: 16px;
}


.footer-grid a {
    display: block;

    color: #777;

    text-decoration: none;

    margin: 10px 0;

    font-size: 14px;
}


.footer-grid a:hover {
    color: #ed163c;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright p {
    margin: 0;
}

.footer-grid .admin-portal-link {
    color: #ed163c;
    font-weight: 700;
}

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

.quick-links-list button {
    padding: 0;
    border: 0;
    background: none;
    color: #ed163c;
    font: inherit;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.quick-links-list button:hover {
    text-decoration: underline;
}


.website-name {
    color: #999;

    margin-top: 20px;
}


.copyright {
    max-width: 1400px;

    margin: 35px auto 0;

    padding-top: 20px;

    border-top: 1px solid #e5e5e5;

    color: #999;

    text-align: center;

    font-size: 12px;
}


/* ================= BOTTOM NAV ================= */

.bottom-nav {
    position: fixed;

    z-index: 90;

    bottom: 14px;

    left: 50%;

    transform: translateX(-50%);

    width: min(760px, calc(100% - 30px));

    height: 70px;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.15);

    border: 1px solid #eee;

    display: flex;

    justify-content: space-around;

    align-items: center;
}


.bottom-nav button {
    border: 0;

    background: none;

    color: #777;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    font-weight: 600;
}


.bottom-nav button span {
    font-size: 23px;

    line-height: 20px;
}


.bottom-nav button.active {
    color: #ed163c;
}


/* ================= MODAL ================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.7);

    z-index: 200;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.modal.show {
    display: flex;
}


.modal-box {
    width: min(650px,100%);

    max-height: 85vh;

    overflow: auto;

    background: white;

    border-radius: 20px;

    padding: 30px;

    position: relative;
}

.modal-empty {
    padding: 30px 0;
    color: #888;
}

.modal-product-list {
    margin-top: 20px;
    padding-left: 20px;
}

.modal-product-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.modal-product-list strong {
    display: block;
    margin-top: 4px;
}

.product-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.25;
    overflow: hidden;
    background: #f6f6f6;
}

.product-gallery-main > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #222;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.product-gallery-arrow.previous {
    left: 12px;
}

.product-gallery-arrow.next {
    right: 12px;
}

.product-gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .65);
    color: white;
    font-size: 12px;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 4px;
}

.product-gallery-thumbnail {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.product-gallery-thumbnail.is-active {
    border: 2px solid #ed163c;
}

.product-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-category {
    margin-top: 16px;
}

.product-detail-title {
    margin-top: 6px;
    font-size: 22px;
    line-height: 1.35;
}

.product-detail-price {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
}

.product-detail-stock {
    margin-top: 6px;
    color: #247a39;
    font-size: 13px;
    font-weight: 700;
}

.product-detail-stock.out-of-stock {
    color: #c5303e;
}

.product-description {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fafafa;
}

.product-description h3 {
    margin-bottom: 8px;
    color: #2b2b2b;
    font-size: 15px;
}

.product-description p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.order-form {
    display: grid;
    gap: 13px;
    margin-top: 20px;
}

.order-form label {
    display: grid;
    gap: 6px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.order-form input,
.order-form textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    background: white;
    color: #222;
    font: inherit;
    font-weight: 400;
}

.order-form textarea {
    resize: vertical;
}

.order-form-location {
    display: grid;
    grid-template-columns: 1fr 1fr 110px;
    gap: 10px;
}

.service-slot-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-booking-note {
    margin-top: 8px;
    color: #666;
    line-height: 1.5;
}

.order-button {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #168b46;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.quick-link-content {
    margin-top: 18px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 520px) {
    .service-slot-fields {
        grid-template-columns: 1fr;
    }

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

    .order-form-location label:last-child {
        grid-column: 1 / -1;
    }
}


.close-button {
    position: absolute;

    top: 13px;
    right: 15px;

    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 50%;

    background: #f2f2f2;

    font-size: 24px;

    cursor: pointer;
}


/* ================= MOBILE ================= */

@media(max-width:900px) {

    .header {
        padding: 0 4%;

        gap: 10px;
    }


    .search-box {
        display: none;
    }


    .logo-area {
        min-width: auto;
    }


    .hero {
        min-height: 520px;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(8, 8, 10, .84) 0%, rgba(8, 8, 10, .46) 100%);
    }


    .categories {
        grid-template-columns:
            repeat(3,1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-content {
        padding: 11px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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


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


    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media(max-width:600px) {

    body {
        padding-bottom: 90px;
    }


    .header {
        height: 65px;
    }


    .logo-box {
        width: 36px;
        height: 36px;
    }


    .logo-text strong {
        font-size: 14px;
    }


    .logo-text span {
        font-size: 8px;
    }


    .header-btn {
        width: 35px;
        height: 35px;
    }


    .hero {
        width: 94%;

        min-height: 505px;

        margin-top: 15px;

        border-radius: 20px;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(8, 8, 10, .78) 0%, rgba(8, 8, 10, .16) 100%);
    }

    .hero-media {
        object-position: 62% center;
    }


    .hero-content {
        width: 100%;
        padding: 45px 8%;
        justify-content: flex-end;
    }


    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        justify-content: flex-start;
    }


    .section {
        width: 94%;

        margin: 45px auto;
    }


    .section-title h2 {
        font-size: 25px;
    }


    .section-title p {
        font-size: 12px;
    }


    .categories {
        grid-template-columns:
            repeat(3,1fr);

        gap: 15px;
    }


    .category h3 {
        font-size: 10px;
    }


    .promo {
        width: 94%;

        grid-template-columns: 1fr;
    }


    .promo h2 {
        font-size: 30px;
    }


    .promo-image {
        min-height: 220px;
    }


    .trust-section {
        width: 94%;

        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }


    .trust-card {
        padding: 15px;
    }


    .trust-card strong {
        font-size: 13px;
    }


    .trust-card small {
        font-size: 10px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    .bottom-nav {
        height: 66px;

        bottom: 8px;
    }

}