/* =============================================
   Chic Store - Custom Components Styles
   ============================================= */
:root {
    --secondary-color: #00ADD8;
}

/* ----- Hero Section ----- */

.chic-hero .swiper-slide,
.chic-hero .swiper-wrapper {
    min-height: 300px;
}

.chic-hero .home-slider__content {
    justify-content: flex-end;
}

.chic-hero .home-slider__content .gap-2 {
    gap: 1.5rem;
}


.chic-hero .home-slider__content h3 {
    font-size: 44px;
    font-weight: bold;
}

.chic-hero .home-slider__content span {
    font-size: 20px;
}

.chic-hero .home-slider__content .hero-slider-btn a {
    background-color: #fff;
    color: var(--color-primary);
}

.chic-hero .home-slider__content .hero-slider-btn a:hover {
    background-color: var(--color-primary);
    color: #fff;
}


@media (max-width: 768px) {

    .chic-hero,
    .chic-hero .swiper-slide,
    .chic-hero .swiper-wrapper,
    .banner__2 .swiper-slide,
    .banner__2 .swiper-wrapper {
        min-height: 300px;
    }

    .chic-hero .home-slider__content {
        justify-content: flex-end;
        align-items: flex-start;
    }

    .chic-hero .home-slider__content>div {
        align-items: flex-start;
    }

    .chic-hero .home-slider__content .text-center {
        text-align: start;
    }

    .banner__2 .home-slider__content {
        inset: 0;
        left: 10px;
        top: 50%;
        transform: translate(0, -50%);
    }

    .chic-hero .home-slider__content h3,
    .banner__2 .home-slider__content h3 {
        font-size: 24px;
    }

    .chic-hero .home-slider__content span,
    .banner__2 .home-slider__content span {
        font-size: 14px;
    }

    .chic-hero .home-slider__content .hero-slider-subtitle {
        max-width: 200px;
    }

    .chic-hero .swiper-slide img,
    .banner__2 .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }
}

/* ----- Angel Features ----- */
.angel-features {
    margin-block: 20px;
}

.angel-feature>div {
    height: 40px;
}

.custom-image-title .text-wrapper {
    inset: unset;
    bottom: 10px;
    transform: unset;
}

.custom-image-title .text-wrapper h3 {
    color: white;
    font-weight: bold;
}

/* ----- Product Card ----- */

/* Add to cart button */
.s-product-card-entry .s-product-card-content-footer .s-button-element.s-button-primary-outline {
    color: #231F1E !important;
    border-color: #231F1E !important;
}

.s-product-card-entry .s-product-card-content-footer .s-button-element.s-button-primary-outline:hover {
    background-color: #00ADD8 !important;
    border-color: #00ADD8 !important;
    color: #fff !important;
}

/* Price */
.s-product-card-entry .s-product-card-price {
    color: #00ADD8 !important;
}

.s-product-card-entry .s-product-card-price-before {
    color: #A8A8A8 !important;
}

/* Discount badge - pill with "Sale" prefix */
.s-product-card-entry .s-product-card-discount {
    background: transparent !important;
    padding: 0;
    position: absolute;
    top: 4px;
    left: 27px;
    right: unset;
}

.s-product-card-entry .s-product-card-discount .off-ratio {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    background-color: #D30B0B;
    color: #fff;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 13px;
    line-height: 1;
}

.s-product-card-entry .s-product-card-discount .off-ratio::before {
    content: "Sale";
}

.faq-container:hover i.faq-item {
    color: white;
}

.faqs-list__item {
    background-color: #F6F6F6;
}

/* Single Product Page */
.product-single .sidebar salla-slider.details-slider .s-slider-container,
.product-single .sidebar salla-slider.details-slider .swiper-wrapper,
.product-single .sidebar salla-slider.details-slider .swiper-slide {
    height: auto !important;
}

.product-single .sidebar salla-slider.details-slider .swiper-slide img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2;
}

.product-single .total-price {
    color: var(--secondary-color);
}

.product-single .before-price {
    color: #A8A8A8;
}

/* ----- Product Tabs ----- */
.s-product-tabs .tabs.tabs__product {
    display: flex;
    gap: 10px;
    border: none;
}

.s-product-tabs .tabs__product .tab-trigger {
    box-shadow: 0px 0px 12.5px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(221, 221, 221, 1) !important;
    background: #fff !important;
    color: rgba(35, 31, 30, 1) !important;
    border-radius: 8px !important;
    padding: 8px 20px;
}

.s-product-tabs .tabs__product .tab-trigger.is-active {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    box-shadow: none;
}

/* ----- Testimonials ----- */

/* Card background & radius */
.s-block--testimonials .swiper-slide>div {
    background: rgba(249, 249, 249, 1) !important;
    border-radius: 16px !important;
}

/* Keep avatar inside card */
.s-block--testimonials .swiper-slide {
    margin-top: 0 !important;
}

.s-block--testimonials .swiper-slide>div>div {
    display: flex;
    flex-direction: column;
    margin-top: 0 !important;
    padding-top: 24px;
}

/* Remove quote icon */
.s-block--testimonials .testimonial__icon {
    display: none !important;
}

.s-testimonials--slider--img {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Avatar - 48x48 */
.s-testimonials--slider--img .testimonial__avatar {
    width: 48px !important;
    height: 48px !important;
}

/* Stars - 16x16, after avatar */
.s-testimonials--slider--img .testimonial__rating .s-rating-stars-wrapper {
    display: flex;
    gap: 2px;
}

.s-testimonials--slider--img .testimonial__rating .s-rating-stars-wrapper svg {
    width: 16px !important;
    height: 16px !important;
}

/* Comment text with quotes (only if not empty) */
.s-block--testimonials .swiper-slide>div>div>p {
    font-size: 16px !important;
    color: rgba(35, 31, 30, 1) !important;
}

.s-block--testimonials .swiper-slide>div>div>p:not(.empty-comment)::before {
    content: '" ';
}

.s-block--testimonials .swiper-slide>div>div>p:not(.empty-comment)::after {
    content: ' "';
}

/* Name - moved to bottom via JS */
.s-block--testimonials .swiper-slide h4 {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: rgba(35, 31, 30, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* Verified badge before name */
.s-block--testimonials .swiper-slide h4::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("https://i.ibb.co/N2fTC5J9/verivied.png") no-repeat center / contain;
    flex-shrink: 0;
}

.s-block--faqs h2,
.s-block--faqs p {
    text-align: start;
}

.store-footer .footer-container .footer-list a:hover {
    color: var(--secondary-color) !important;
}

.store-footer h3 {
    color: white;
}