/* Consistent storefront geometry and visual polish. */
:root {
    --store-primary: #087f89;
    --store-brand: #57c3cd;
    --store-accent: #58595b;
    --store-ink: #30383a;
    --store-muted: #687376;
    --store-line: #ddebed;
    --store-surface: #ffffff;
    --store-soft: #f4fafb;
    --store-radius: 14px;
    --store-shadow: 0 10px 28px rgba(48, 56, 58, 0.08);
    --store-shadow-hover: 0 18px 42px rgba(8, 127, 137, 0.16);
}

html,
body {
    overflow-x: hidden;
}

/* Preserve the logo's original proportions and brand clarity. */
.header__middle-2 .logo img {
    width: auto !important;
    max-width: 100%;
    height: 46px !important;
    object-fit: contain;
    object-position: left center;
}

.mobile-logo img,
.offcanvas__top .logo img {
    width: auto !important;
    max-width: 100%;
    height: 42px !important;
    object-fit: contain;
    object-position: left center;
}

.header__bottom,
.mrq {
    background: var(--store-primary) !important;
}

body {
    color: var(--store-ink);
    background: var(--store-surface);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

/* Hero banners keep one predictable viewport on every slide. */
.slider__area,
.slider__active,
.slider__active .swiper-wrapper,
.slider__active .swiper-slide {
    width: 100%;
}

.slider__item.slider__height {
    min-height: 0;
    height: clamp(160px, 28.65vw, 550px);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--store-soft);
}

.slider__active {
    position: relative;
    overflow: hidden;
    background: var(--store-soft);
}

.slider__active .main-slider-pagination {
    z-index: 30;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.slider__active .main-slider-pagination button {
    position: relative;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(24, 45, 48, 0.18);
    pointer-events: auto;
}

.slider__content {
    max-width: 650px;
}

.slider__title {
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1.08;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.22);
}

/* Remove stacked utility margins around the secondary banner. */
.home-page .home-promo {
    padding: 24px 0;
    margin: 0;
}

.home-promo .department__image,
.home-promo .department__product-sm-image {
    width: 100%;
    overflow: hidden;
    border-radius: var(--store-radius);
    background: var(--store-soft);
    box-shadow: var(--store-shadow);
}

.home-promo .department__product-sm-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 1;
    object-fit: cover;
}

/* Cleaner section rhythm without large accidental gaps. */
.home-page .product__area,
.home-page .product__area-trending,
.home-page .shop-details {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}

.home-page .home-promo + .product__area-trending {
    padding-top: 12px !important;
}

.home-page .section__title-line {
    border-color: var(--store-line);
}

.home-page .section__title-3,
.home-page .trending__info h5 {
    color: var(--store-ink) !important;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.home-page .trending__info p {
    color: var(--store-muted);
    margin-bottom: 22px;
}

/* All sale cards share the same dimensions regardless of source-image ratio. */
.product__item.product_border,
.shop-main-area .product__item.border {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 20px);
    min-height: 410px;
    overflow: hidden;
    border: 1px solid var(--store-line) !important;
    border-radius: var(--store-radius);
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product__item.product_border:hover,
.shop-main-area .product__item.border:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 127, 137, 0.3) !important;
    box-shadow: var(--store-shadow-hover);
}

.product__item.product_border .product__thumb,
.shop-main-area .product__item.border .product__thumb {
    flex: 0 0 255px;
    width: 100%;
    height: 255px;
    min-height: 255px;
    background: var(--store-soft);
    border-bottom: 1px solid var(--store-line);
}

.product__item.product_border .product__thumb > a,
.shop-main-area .product__item.border .product__thumb > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product__item.product_border .product__thumb img,
.shop-main-area .product__item.border .product__thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 12px;
    object-fit: contain;
    object-position: center;
}

.product__item.product_border .product__content,
.shop-main-area .product__item.border .product__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.product__item.product_border .product__title,
.shop-main-area .product__item.border .product__title {
    min-height: 42px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.product__item.product_border .product__title a,
.shop-main-area .product__item.border .product__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product__item.product_border .product__select-button,
.shop-main-area .product__item.border .product__select-button {
    margin-top: auto;
}

.product__item.product_border .product__price .price,
.product__item.product_border .product__price .new-price,
.shop-main-area .product__item.border .product__price .price,
.shop-main-area .product__item.border .product__price .new-price {
    color: var(--store-primary);
}

.product__item.product_border .select-btn,
.shop-main-area .product__item.border .select-btn {
    border-color: var(--store-primary);
    border-radius: 8px;
    color: var(--store-primary);
    font-weight: 600;
}

.product__item.product_border .select-btn:hover,
.shop-main-area .product__item.border .select-btn:hover {
    color: #fff;
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item,
.owl-carousel .owl-item .item {
    height: 100%;
}

.shop-main-area .row > [class*="col-"] {
    display: flex;
}

/* Category tiles use a separate, compact fixed image size. */
.product__area-trending .product__tb-slider .product__thumb {
    height: 180px;
    border-radius: 12px;
    background: var(--store-soft);
}

.product__area-trending .product__tb-slider .product__thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.product__area-trending .product__tb-slider .product__thumb img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.product__flash-4 span {
    box-shadow: 0 5px 14px rgba(8, 127, 137, 0.22);
}

@media (max-width: 767px) {
    .slider__item.slider__height {
        height: clamp(160px, 28.65vw, 220px);
    }

    .slider__content span,
    .slider__content .slider__title,
    .slider__content .slider__btn {
        margin-bottom: 10px;
    }

    .home-page .home-promo {
        padding: 14px 0 20px;
    }

    .home-promo .department__product-sm-image img {
        aspect-ratio: 4 / 1;
    }

    .home-page .product__area,
    .home-page .product__area-trending,
    .home-page .shop-details {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .product__item.product_border,
    .shop-main-area .product__item.border {
        min-height: 350px;
    }

    .product__item.product_border .product__thumb,
    .shop-main-area .product__item.border .product__thumb {
        flex-basis: 180px;
        height: 180px;
        min-height: 180px;
    }

    .product__item.product_border .product__content,
    .shop-main-area .product__item.border .product__content {
        margin: 12px !important;
    }

    .product__item.product_border .product__title,
    .shop-main-area .product__item.border .product__title {
        min-height: 38px;
        font-size: 13px;
    }

    .product__area-trending .product__tb-slider .product__thumb {
        height: 145px;
    }
}

/* Brand footer */
.brand-footer {
    position: relative;
    margin-bottom: 30px;
    color: #c9d4d6;
    background: #263234;
}

.brand-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--store-primary), var(--store-brand), var(--store-primary));
    content: "";
}

.brand-footer .footer__top {
    padding: 58px 0 42px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    margin-bottom: 22px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.footer-brand-logo img {
    width: auto;
    max-width: 250px;
    height: 42px;
    object-fit: contain;
}

.footer-brand-copy {
    max-width: 590px;
    margin-bottom: 22px;
    color: #afbec0;
    font-size: 13px;
    line-height: 1.75;
}

.footer-contact-list {
    display: grid;
    gap: 11px;
    margin: 0 0 22px;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #c9d4d6;
    font-size: 13px;
    line-height: 1.55;
}

.footer-contact-list li i {
    flex: 0 0 18px;
    margin-top: 3px;
    color: var(--store-brand);
    text-align: center;
}

.footer-contact-list a {
    color: #dce5e6;
}

.footer-contact-list a:hover {
    color: var(--store-brand);
}

.brand-footer .footer__widget-title {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand-footer .footer__widget-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--store-brand);
    content: "";
}

.brand-footer .footer__links ul li {
    margin-bottom: 13px;
    line-height: 1.45;
}

.brand-footer .footer__links ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #afbec0;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.brand-footer .footer__links ul li a::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--store-brand);
    content: "";
    opacity: 0.65;
}

.brand-footer .footer__links ul li a::after {
    display: none;
}

.brand-footer .footer__links ul li a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-brand-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-brand-social ul li {
    margin: 0;
}

.footer-brand-social ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(87, 195, 205, 0.28);
    border-radius: 9px;
    color: var(--store-brand);
    background: rgba(87, 195, 205, 0.08);
    font-size: 14px;
}

.footer-brand-social ul li a:hover {
    color: #263234;
    background: var(--store-brand);
    border-color: var(--store-brand);
    transform: translateY(-2px);
}

.footer-app-widget {
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(87, 195, 205, 0.18);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(87, 195, 205, 0.1), rgba(255, 255, 255, 0.025));
}

.footer-app-widget .footer-app-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--store-brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-app-widget .footer__widget-title {
    margin-bottom: 14px;
    font-size: 21px;
}

.footer-app-widget p {
    margin-bottom: 22px;
    color: #afbec0;
    font-size: 13px;
    line-height: 1.65;
}

.footer-app-widget .app_store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    min-width: 210px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    color: #fff;
    background: #182123;
}

.footer-app-widget .app_store:hover {
    border-color: var(--store-brand);
    transform: translateY(-2px);
}

.footer-app-widget .app_store > i:first-child {
    color: var(--store-brand);
    font-size: 27px;
}

.footer-app-widget .app_store span {
    display: flex;
    flex: 1;
    flex-direction: column;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}

.footer-app-widget .app_store small {
    color: #92a3a6;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-app-widget .app_store .app-download-arrow {
    color: #809194;
    font-size: 15px;
}

.footer-newsletter-area {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #202a2c;
}

.brand-footer .footer-newsletter-area .footer__offer-inner {
    padding: 24px 0;
    border: 0;
}

@media (min-width: 992px) {
    .footer-newsletter-area .row {
        flex-wrap: nowrap;
    }

    .footer-newsletter-copy,
    .footer-newsletter-form,
    .brand-footer .payment-image-2 {
        width: 100%;
    }
}

.footer-newsletter-copy > span {
    display: block;
    margin-bottom: 5px;
    color: var(--store-brand);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footer-newsletter-copy h3 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.footer-newsletter-copy p {
    margin: 0;
    color: #91a2a5;
    font-size: 12px;
}

.footer-newsletter-form {
    position: relative;
    display: flex;
    height: 50px;
    overflow: hidden;
    border: 1px solid rgba(87, 195, 205, 0.32);
    border-radius: 9px;
    background: #fff;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: var(--store-ink);
    background: transparent;
    font-size: 13px;
}

.footer-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 125px;
    padding: 0 17px;
    color: #fff;
    background: var(--store-primary);
    font-size: 12px;
    font-weight: 700;
}

.footer-newsletter-form button:hover {
    background: #055d64;
}

.brand-footer .payment-image-2 {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}

.brand-footer .payment-image-2 span {
    color: #91a2a5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-footer .payment-image-2 img {
    width: auto;
    max-width: 100%;
    height: 40px;
    object-fit: contain;
    object-position: right center;
}

.brand-footer .footer__bottom {
    background: #1b2426;
}

.brand-footer .footer__bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
}

.brand-footer .footer__copyright p,
.brand-footer .footer__copyright a,
.brand-footer .footer__bottom-links a {
    color: #899b9e;
    font-size: 12px;
}

.brand-footer .footer__copyright a {
    color: var(--store-brand);
}

.brand-footer .footer__bottom-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.brand-footer .footer__bottom-links ul li {
    margin: 0;
}

.brand-footer .footer__bottom-links a:hover,
.brand-footer .footer__copyright a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .brand-footer .footer__top {
        padding: 54px 0 42px;
    }

    .brand-footer .payment-image-2 {
        align-items: flex-start;
    }

    .brand-footer .payment-image-2 img {
        object-position: left center;
    }

    .brand-footer .footer__bottom-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-footer .footer__bottom-links ul {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .brand-footer .footer__top {
        padding: 44px 0 34px;
    }

    .footer-brand-logo img {
        max-width: 215px;
        height: 37px;
    }

    .footer-app-widget {
        padding: 20px;
    }

    .footer-newsletter-form {
        height: 48px;
    }

    .footer-newsletter-form button {
        min-width: 50px;
        padding: 0 15px;
    }

    .footer-newsletter-form button span {
        display: none;
    }

    .brand-footer .footer__bottom-links ul {
        gap: 7px 14px;
    }
}

/* Centered desktop search */
.header__middle-2 {
    padding: 14px 0;
    border-bottom: 1px solid var(--store-line);
}

.header-main-row {
    min-height: 52px;
}

.header-main-row .header__search,
.header-main-row .header__search-input-2,
.header-main-row .header__search-input-2 form {
    width: 100%;
}

.header-main-row .header__search {
    max-width: 640px;
    margin: 0 auto;
}

.header-main-row .header__search-input-2 input {
    height: 46px;
    padding: 0 58px 0 21px;
    border: 1px solid #cfe2e5;
    border-radius: 999px;
    color: var(--store-ink);
    background: var(--store-soft);
    font-size: 13px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-main-row .header__search-input-2 input:focus {
    border-color: var(--store-brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(87, 195, 205, 0.14);
}

.header-main-row .header__search-input-2 button {
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--store-primary);
    font-size: 14px;
}

.header-main-row .header__search-input-2 button:hover {
    background: #055d64;
}

.header-main-row .header__middle-right-2 {
    align-items: center;
}

.header-main-row .header__action {
    margin-left: 0 !important;
}

.header-main-row .header__action ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.header-main-row .header__action ul li,
.header-main-row .header__action ul li:not(:last-child) {
    margin: 0;
}

.header-main-row .header__action ul li p,
.header-main-row .header__action ul li form {
    margin: 0;
}

.header-main-row .header__action ul li a,
.header-main-row .header__action ul li button {
    font-size: 21px;
    line-height: 1;
}

/* Premium cart drawer */
.cartmini__area .modal-dialog {
    max-width: 460px;
    background: transparent;
}

.cartmini__area .modal-content {
    height: 100vh;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(30, 45, 47, 0.2);
}

.cartmini__area .cartmini__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
}

.cartmini__area .cartmini__top {
    flex: 0 0 auto;
    padding: 25px 28px 22px;
    border-bottom: 1px solid var(--store-line);
    background: linear-gradient(135deg, var(--store-soft), #fff);
}

.cartmini__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--store-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cartmini__area .cartmini__top h4 {
    color: var(--store-ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cartmini__area .cartmini__top h4 small {
    margin-left: 6px;
    color: var(--store-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}

.cartmini__area .cartmini__close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--store-line);
    border-radius: 50%;
    color: var(--store-ink);
    background: #fff;
    font-size: 17px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.cartmini__area .cartmini__close-btn:hover {
    color: #fff;
    background: var(--store-primary);
    transform: rotate(90deg);
}

.cartmini__area .cartmini__list {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 8px 26px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #c8dddf transparent;
    scrollbar-width: thin;
}

.cartmini__area .cartmini__list > ul {
    height: 100%;
}

.cartmini__area .cartmini__item {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 30px;
    align-items: center !important;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--store-line);
}

.cartmini__area .cartmini__thumb {
    width: 82px;
    height: 82px;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 11px;
    background: var(--store-soft);
}

.cartmini__area .cartmini__thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cartmini__area .cartmini__thumb img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
}

.cartmini__area .cartmini__content {
    min-width: 0;
}

.cartmini__area .cartmini__title {
    margin-bottom: 7px;
    color: var(--store-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cartmini__area .cartmini__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cartmini__area .cartmini__price .price {
    color: var(--store-primary);
    font-size: 13px;
    font-weight: 700;
}

.cartmini__area .cartmini__remove {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: #8a999c;
    background: var(--store-soft);
    font-size: 12px;
}

.cartmini__area .cartmini__remove:hover {
    color: #fff;
    background: #c74c4c;
}

.cartmini__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    padding: 35px 20px;
    text-align: center;
}

.cartmini__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--store-primary);
    background: rgba(87, 195, 205, 0.16);
    font-size: 28px;
}

.cartmini__empty h5 {
    margin-bottom: 7px;
    color: var(--store-ink);
    font-size: 18px;
}

.cartmini__empty p {
    max-width: 245px;
    margin-bottom: 18px;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.6;
}

.cartmini__empty > a {
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--store-primary);
    font-size: 12px;
    font-weight: 700;
}

.cartmini__footer {
    flex: 0 0 auto;
    padding: 21px 28px 26px;
    border-top: 1px solid var(--store-line);
    background: var(--store-soft);
}

.cartmini__area .cartmini__total {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.cartmini__area .cartmini__total h5 {
    margin-bottom: 3px;
    color: var(--store-ink);
    font-size: 15px;
    font-weight: 700;
}

.cartmini__area .cartmini__total small {
    color: var(--store-muted);
    font-size: 10px;
}

.cartmini__area .cartmini__total > span {
    color: var(--store-primary);
    font-size: 21px;
    font-weight: 700;
}

.cartmini__area .cartmini__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cartmini__area .cartmini__bottom .b-btn,
.cartmini__area .cartmini__bottom .b-btn-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    margin: 0 !important;
    padding: 0 15px;
    border: 1px solid var(--store-primary);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.cartmini__area .cartmini__bottom .b-btn {
    color: var(--store-primary);
    background: #fff;
}

.cartmini__area .cartmini__bottom .b-btn-2 {
    color: #fff;
    background: var(--store-primary);
}

.cartmini__area .cartmini__bottom .b-btn:hover,
.cartmini__area .cartmini__bottom .b-btn-2:hover {
    color: #fff;
    background: #055d64;
    border-color: #055d64;
}

@media (max-width: 575px) {
    .cartmini__area .modal-dialog {
        max-width: 100%;
    }

    .cartmini__area .modal-content {
        border-radius: 0;
    }

    .cartmini__area .cartmini__top {
        padding: 20px;
    }

    .cartmini__area .cartmini__list {
        padding: 5px 18px;
    }

    .cartmini__area .cartmini__item {
        grid-template-columns: 70px minmax(0, 1fr) 28px;
        gap: 11px;
    }

    .cartmini__area .cartmini__thumb {
        width: 70px;
        height: 70px;
    }

    .cartmini__footer {
        padding: 18px 20px 22px;
    }
}

@media (max-width: 420px) {
    .product__item.product_border .product__thumb,
    .shop-main-area .product__item.border .product__thumb {
        flex-basis: 155px;
        height: 155px;
        min-height: 155px;
    }

    .product__item.product_border,
    .shop-main-area .product__item.border {
        min-height: 325px;
    }

    .product__item.product_border .select-btn,
    .shop-main-area .product__item.border .select-btn {
        height: 36px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 32px;
    }
}

/* Product details */
.product-detail-page {
    padding: 32px 0 64px;
    background: linear-gradient(180deg, var(--store-soft) 0, #fff 440px);
}

.product-detail-page .product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    color: #98a29c;
    font-size: 13px;
    font-weight: 500;
}

.product-detail-page .product-breadcrumb a {
    color: var(--store-muted);
}

.product-detail-page .product-breadcrumb a:hover {
    color: var(--store-primary);
}

.product-gallery-panel,
.product-summary-card {
    border: 1px solid var(--store-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--store-shadow);
}

.product-main-row > .col-lg-6 {
    display: flex;
}

.product-main-row .product-gallery-panel,
.product-main-row .product-summary-card {
    width: 100%;
}

.product-gallery-panel {
    padding: 18px;
}

.product-gallery-panel .product__modal-box {
    display: block !important;
}

.product-gallery-panel .tab-content,
.product-gallery-panel .tab-pane {
    width: 100%;
}

.product-gallery-panel .product__modal-img {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 13px;
    background: var(--store-soft);
}

.product-zoom-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-zoom-trigger img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-zoom-trigger:hover img {
    transform: scale(1.035);
}

.product-zoom-hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    color: var(--store-ink);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 16px rgba(20, 48, 34, 0.1);
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

.product-gallery-panel .product__sale {
    top: 16px;
    right: auto;
    left: 16px;
    display: flex;
    gap: 6px;
    min-width: 0;
    transform: none;
}

.product-gallery-panel .product__sale span {
    min-width: 0;
    height: auto;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 18px;
    box-shadow: 0 5px 15px rgba(8, 127, 137, 0.18);
}

.product-gallery-panel .product__sale span::before,
.product-gallery-panel .product__sale span::after {
    display: none;
}

.product-gallery-thumbs {
    margin: 14px 0 0;
}

.product-gallery-thumbs nav {
    padding: 0;
}

.product-gallery-thumbs .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 2px 2px 5px;
    overflow-x: auto;
    border: 0;
    scrollbar-width: thin;
}

.product-gallery-thumbs .nav-tabs .nav-link {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    background: var(--store-soft);
    opacity: 0.75;
}

.product-gallery-thumbs .nav-tabs .nav-link.active {
    border: 2px solid var(--store-primary);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(8, 127, 137, 0.12);
}

.product-gallery-thumbs .product__nav-img,
.product-gallery-thumbs .product__nav-img img {
    width: 100%;
    height: 100%;
}

.product-gallery-thumbs .product__nav-img img {
    object-fit: contain;
}

.product-summary-card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 42px);
}

.product-summary-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--store-primary);
    background: rgba(87, 195, 205, 0.16);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-summary-card h1 {
    margin-bottom: 17px;
    color: var(--store-ink);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.product-summary-card .detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--store-line);
}

.product-summary-card .detail-price span {
    margin: 0;
    color: var(--store-primary);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
}

.product-summary-card .detail-price span.old-price {
    color: #9aa39e;
    font-size: 16px;
    font-weight: 500;
}

.product-option-label,
.product-quantity-wrap > label {
    display: block;
    margin-bottom: 10px;
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-summary-card .product__details-color {
    margin-bottom: 22px;
}

.product-summary-card .product__details-color ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-summary-card .product__details-color ul li {
    margin: 0 !important;
}

.product-summary-card .product__details-color .btn {
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid var(--store-line) !important;
    border-radius: 8px;
    color: var(--store-ink);
    background: var(--store-soft);
    font-size: 13px;
    font-weight: 600;
}

.product-summary-card .product__details-color .btn:hover,
.product-summary-card .product__details-color .btn:focus {
    border-color: var(--store-primary) !important;
    color: var(--store-primary);
    background: #fff;
}

.product-purchase-form {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    background: var(--store-soft);
}

.product-purchase-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.product-quantity-wrap {
    flex: 0 0 112px;
}

.product-quantity-wrap .form-group {
    margin: 0;
}

.product-quantity-wrap .cart-plus-minus,
.product-quantity-wrap .product-quantity {
    width: 100%;
}

.product-quantity-wrap .cart-plus-minus {
    position: relative;
    display: block;
    height: 48px;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
}

.product-quantity-wrap .cart-plus-minus input {
    width: 100%;
    height: 46px;
    padding: 0 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
    line-height: 46px;
}

.product-quantity-wrap .cart-plus-minus .qtybutton {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 46px;
    border: 0;
    border-radius: 0;
    color: var(--store-primary);
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transform: none;
    user-select: none;
}

.product-quantity-wrap .cart-plus-minus .qtybutton:hover {
    color: #fff;
    background: var(--store-primary);
}

.product-quantity-wrap .cart-plus-minus .dec {
    left: 0;
    border-right: 1px solid var(--store-line);
}

.product-quantity-wrap .cart-plus-minus .inc {
    right: 0;
    border-left: 1px solid var(--store-line);
}

.product-purchase-actions {
    display: flex;
    flex: 1;
    gap: 10px;
}

.product-purchase-actions .add-cart-btn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--store-primary);
    border-radius: 9px;
    line-height: 1.2;
    font-weight: 600;
}

.product-purchase-actions .add-cart-btn:hover {
    color: #fff;
    background: #055d64;
    border-color: #055d64;
}

.product-purchase-actions .custom-order-btn {
    color: var(--store-primary);
    background: #fff;
}

.product-purchase-actions .custom-order-btn:hover {
    color: #fff;
    background: var(--store-primary);
}

.product-summary-card .product-sku {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--store-muted);
    font-size: 13px;
}

.product-summary-card .product-sku .ct {
    padding: 5px 8px;
    border-radius: 5px;
    color: var(--store-primary);
    background: rgba(87, 195, 205, 0.16);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.product-summary-card .product__share {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--store-line);
}

.product-summary-card .product__share span {
    color: var(--store-ink);
    font-weight: 600;
}

.product-summary-card .product__share ul {
    display: flex !important;
    align-items: center;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}

.product-summary-card .product__share ul li {
    display: block !important;
    flex: 0 0 36px;
    width: 36px;
    margin: 0 !important;
    padding: 0;
}

.product-summary-card .product__share ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--store-line);
    border-radius: 50%;
    background: var(--store-soft);
}

.product-summary-card .product__share ul li a:hover {
    color: #fff;
    background: var(--store-primary);
    border-color: var(--store-primary);
}

.detail-tabs-section {
    margin: 42px 0 0;
    padding: 0;
}

.detail-tabs-section .product__details-tab {
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--store-shadow);
}

.detail-tabs-section .product__details-tab-nav {
    padding: 10px 14px 0;
    border-bottom: 1px solid var(--store-line);
    background: var(--store-soft);
}

.detail-tabs-section .product__details-tab-nav .nav-tabs {
    gap: 5px;
}

.detail-tabs-section .product__details-tab-nav .nav-link {
    position: relative;
    padding: 14px 22px;
    border-radius: 8px 8px 0 0;
    color: var(--store-muted);
    font-size: 15px;
    font-weight: 600;
}

.detail-tabs-section .product__details-tab-nav .nav-link.active {
    color: var(--store-primary);
    background: #fff;
}

.detail-tabs-section .product__details-tab-nav .nav-link.active::after {
    position: absolute;
    right: 20px;
    bottom: -1px;
    left: 20px;
    height: 2px;
    background: var(--store-primary);
    content: "";
}

.detail-tabs-section .tab-content {
    padding: clamp(24px, 4vw, 44px);
}

.detail-tabs-section .product__details-des p,
.detail-tabs-section .product__details-des li,
.detail-tabs-section .product__desc-info {
    color: var(--store-muted);
    font-size: 15px;
    line-height: 1.8;
}

.detail-tabs-section .product-short-information {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-left: 3px solid var(--store-primary);
    border-radius: 0 10px 10px 0;
    color: var(--store-muted);
    background: var(--store-soft);
    font-size: 15px;
    line-height: 1.8;
}

.detail-tabs-section .product-short-information > :last-child {
    margin-bottom: 0;
}

.detail-tabs-section .tab-content img {
    height: auto;
    border-radius: 10px;
}

.detail-tabs-section .tab-content table {
    width: 100% !important;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 10px;
}

.detail-tabs-section .tab-content td,
.detail-tabs-section .tab-content th {
    padding: 13px 16px;
    border-color: var(--store-line);
}

.detail-tabs-section .comments-text,
.detail-tabs-section .post-comments-form {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    background: var(--store-soft);
}

.detail-tabs-section textarea.form-control {
    border-color: var(--store-line);
    border-radius: 10px;
    background: #fff;
}

.review-submit-btn {
    padding: 10px 24px;
    border-radius: 8px;
    color: #fff;
    background: var(--store-primary);
}

.review-submit-btn:hover {
    color: #fff;
    background: #055d64;
}

#lightboxModal .modal-dialog {
    max-width: min(900px, calc(100vw - 30px));
}

#lightboxModal .modal-content,
#colorImageShow .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

#lightboxImage {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

@media (min-width: 992px) {
    .product-gallery-panel {
        position: sticky;
        top: 105px;
    }
}

@media (max-width: 991px) {
    .product-detail-page {
        padding-top: 24px;
    }

    .product-summary-card {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .product-detail-page {
        padding: 18px 0 40px;
    }

    .product-detail-page .row.g-4 {
        --bs-gutter-y: 18px;
    }

    .product-gallery-panel {
        padding: 10px;
        border-radius: 14px;
    }

    .product-gallery-panel .product__modal-img {
        height: min(88vw, 430px);
    }

    .product-zoom-trigger {
        padding: 15px;
    }

    .product-gallery-thumbs .nav-tabs .nav-link {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .product-summary-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .product-summary-card h1 {
        font-size: 25px;
    }

    .product-purchase-row,
    .product-purchase-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-quantity-wrap {
        flex-basis: auto;
        width: 125px;
    }

    .product-purchase-actions .add-cart-btn {
        width: 100%;
    }

    .detail-tabs-section {
        margin-top: 26px;
    }

    .detail-tabs-section .product__details-tab-nav {
        padding: 8px 8px 0;
        overflow-x: auto;
    }

    .detail-tabs-section .product__details-tab-nav .nav-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        min-width: max-content;
    }

    .detail-tabs-section .product__details-tab-nav .nav-link {
        margin: 0;
        padding: 12px 13px;
        font-size: 13px;
        text-align: center;
    }

    .detail-tabs-section .tab-content {
        padding: 20px 16px;
    }
}
