/* Custom styling for quick-action-button */
.product-item .quick-action-button {
    background: rgba(230, 230, 250, 0.8) !important; /* Light lavender with 80% opacity */
}

/* Product By Category Section - Quick Action Button Styles (Same as Hand-Picked Section) */
.rts-product-by-category-section .product-item {
    position: relative !important;
    margin-bottom: 0 !important;
}

.rts-product-by-category-section .product-item .quick-action-button {
    z-index: 11;
    position: absolute;
    cursor: pointer;
    left: 12px;
    top: 12px;
    background: #fff;
    width: 54px;
    height: 15px;
    padding-top: 15px;
    padding-bottom: 25px;
    border-radius: 100px;
    transition: all 0.4s;
    overflow: hidden;
}

.rts-product-by-category-section .product-item .quick-action-button:hover {
    height: 150px;
}

.rts-product-by-category-section .product-item .quick-action-button:hover .cta-single.cta-quickview,
.rts-product-by-category-section .product-item .quick-action-button:hover .cta-single.cta-wishlist,
.rts-product-by-category-section .product-item .quick-action-button:hover .cta-single.cta-addtocart {
    opacity: 1;
    visibility: visible;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single {
    padding-left: 16px;
    padding-top: 4px;
    width: 56px;
    transition: all 0.7s;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single a {
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-plus:hover a {
    color: #C8102E;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-quickview {
    opacity: 0;
    visibility: hidden;
    padding-left: 19px;
    padding-top: 15px;
    transition: all 0.2s;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-quickview .product-details-popup-btn:hover,
.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-quickview a:hover {
    color: #C8102E;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-wishlist {
    opacity: 0;
    visibility: hidden;
    padding-left: 20px;
    margin-top: 18px;
    transition: all 0.2s;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-wishlist:hover a {
    color: #C8102E;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-addtocart {
    opacity: 0;
    visibility: hidden;
    padding-left: 16px;
    padding-top: 18px;
    transition: all 0.2s;
}

.rts-product-by-category-section .product-item .quick-action-button .cta-single.cta-addtocart:hover a {
    color: #C8102E;
}

/* Product By Category Section - Product Features (SALE tag) - Right Side */
.rts-product-by-category-section .product-item .product-features {
    position: absolute !important;
    top: 3% !important;
    right: 3% !important;
    left: unset !important;
    transition: all 300ms !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

.rts-product-by-category-section .product-item .product-features .discount-tag {
    background: #ff0101 !important; /* Purple background */
    color: #fff !important; /* White text for better contrast */
    width: 56px !important;
    height: 56px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(119, 119, 119, 0.3) !important;
    border: 2px solid #ffbcbc !important;
}

.rts-product-by-category-section .product-item .product-features .discount-tag,
.rts-product-by-category-section .product-item .product-features .discount-tag span {
    color: #fff !important;
}

.rts-product-by-category-section .product-item .product-features .new-tag {
    background: #fff !important;
    color: #040404 !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.rts-product-by-category-section .product-item .product-features .hot-tag {
    background: #fff !important;
    color: #000000 !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.rts-product-by-category-section .product-item:hover .product-features {
    opacity: 1 !important;
}

/* Make all product cards same size */
.product-item {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    background: #fff !important;
}

/* Product images are 1080×1080 — always display in a 1:1 box, full image visible */
.product-item .product-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f8f8f8 !important;
}

.product-item .product-image .image-vari1.image-vari {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.product-item .product-image .image-vari2.image-vari {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.product-item .product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Hover swap without zoom-crop so 1080×1080 stays fully visible */
@media (hover: hover) and (pointer: fine) {
    .product-item .image-hover-variations:hover .image-vari1,
    .product-item .image-hover-variations:hover .image-vari2 {
        transform: none !important;
    }
}

/* Mobile / tablet: keep SALE badge fully inside card */
@media (max-width: 991px) {
    .product-item .product-features,
    .rts-product-by-category-section .product-item .product-features,
    .rts-hand-picked-products-section .product-item .product-features {
        top: 8px !important;
        right: 8px !important;
    }

    .product-item .product-features .discount-tag,
    .rts-product-by-category-section .product-item .product-features .discount-tag,
    .rts-hand-picked-products-section .product-item .product-features .discount-tag {
        width: 48px !important;
        height: 48px !important;
        font-size: 11px !important;
    }
}

/* Bottom content - flex grow to fill space */
.product-item .bottom-content {
    flex-grow: 1 !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 150px !important;
}

/* Ensure product name doesn't break layout */
.product-item .product-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 10px !important;
    min-height: 48px !important;
}

/* Ensure buttons container has consistent height */
.product-card-buttons {
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

/* Hover highlight effect */
.product-item:hover {
    border-color: rgba(230, 230, 250, 0.6) !important;
    box-shadow: 0 4px 12px rgba(230, 230, 250, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Ensure row uses flexbox for equal heights */
.rts-featured-product-section1 .row,
.rts-hand-picked-products-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Ensure all cards in row have same height and add bottom margin */
.row:has(.product-item) .col-xl-3,
.row:has(.product-item) .col-md-4,
.row:has(.product-item) .col-sm-6,
.row:has(.product-item) .col-12 {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    align-items: stretch !important;
}

/* Fallback for browsers that don't support :has() */
.rts-featured-product-section1 .row .col-xl-3,
.rts-featured-product-section1 .row .col-md-4,
.rts-featured-product-section1 .row .col-sm-6,
.rts-featured-product-section1 .row .col-12,
.rts-hand-picked-products-section .row .col-xl-3,
.rts-hand-picked-products-section .row .col-md-4,
.rts-hand-picked-products-section .row .col-sm-6,
.rts-hand-picked-products-section .row .col-12 {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    align-items: stretch !important;
}

.row .col-xl-3 > .product-item,
.row .col-md-4 > .product-item,
.row .col-sm-6 > .product-item,
.row .col-12 > .product-item {
    width: 100% !important;
    margin-bottom: 0 !important;
    flex: 1 !important;
}

/* Product card buttons styling */
.product-card-buttons {
    margin-top: 15px !important;
    display: flex !important;
    gap: 10px !important;
    position: relative !important;
    z-index: 12 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

.rts-product-by-category-section .product-card-buttons .btn-add-to-cart,
.rts-product-by-category-section .product-card-buttons .btn-view-details {
    position: relative !important;
    z-index: 12 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.btn-view-details {
    flex: 1 !important;
    padding: 10px 15px !important;
    background: rgba(230, 230, 250, 0.8) !important;
    color: #333 !important;
    text-align: center !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(230, 230, 250, 1) !important;
}

.btn-view-details:hover {
    background: rgba(230, 230, 250, 1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(230, 230, 250, 0.4) !important;
}

.btn-add-to-cart {
    flex: 1 !important;
    padding: 10px 15px !important;
    background: #000000 !important;
    color: #fff !important;
    text-align: center !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #000000 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

.btn-add-to-cart:hover {
    background: #C8102E !important;
    border-color: #C8102E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.btn-add-to-cart.is-disabled,
.btn-add-to-cart.out-of-stock,
a.btn-add-to-cart.is-disabled,
span.btn-add-to-cart.is-disabled {
    background: #9a9a9a !important;
    border-color: #9a9a9a !important;
    color: #fff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.85 !important;
    box-shadow: none !important;
    transform: none !important;
    border-radius: 0 !important;
}

.cta-single.cta-addtocart .is-disabled,
.cta-single.cta-addtocart .out-of-stock {
    color: #999 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.55 !important;
}

.product-item .addto-cart.is-disabled,
.product-item .addto-cart.out-of-stock,
.addto-cart-btn.is-disabled,
.product-add-to-cart-btn.is-disabled {
    background: #9a9a9a !important;
    border-color: #9a9a9a !important;
    color: #fff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.85 !important;
}

@media (max-width: 768px) {
    .rts-sixSlide-over.swiper,
    .trending-products-swiper.swiper {
        touch-action: pan-y pinch-zoom;
    }

    .rts-shop-section {
        margin-top: 8px !important;
        margin-bottom: 16px !important;
        padding: 4px 0 32px !important;
    }

    .rts-shop-section h1.shop-category-title {
        margin: 0 0 8px !important;
    }

    .rts-shop-section .shop-product-topbar {
        margin-bottom: 12px !important;
    }
}

.rts-shop-section h1.shop-category-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0;
    text-transform: none;
    color: #333 !important;
    margin: 0 0 16px;
}

/* Homepage section titles: SHOP BY CATEGORY, SKIN, HAIR, BODY, SAMPLE KIT, GIFT, COMBO, DISCLAIMER */
.sadarbazardelhi-section-title,
.rts-product-by-category-section .category-title,
.rts-product-by-category-section .category-title a,
.rts-featured-product-section1 .section-header3 .wrapper .title,
.rts-new-collection-section .section-header3 .wrapper .title.sadarbazardelhi-section-title,
.homepage-disclaimer-section .sadarbazardelhi-section-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333 !important;
    margin-bottom: 5px;
}

.rts-product-by-category-section .category-title a {
    color: #333 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rts-product-by-category-section.section-gap {
    padding-top: 8px;
    padding-bottom: 8px;
}
.rts-product-by-category-section .category-products-section {
    margin-bottom: 12px;
}
.rts-product-by-category-section .category-header {
    margin-top: 0;
    margin-bottom: 8px;
}
.rts-product-by-category-section .slider-div,
.rts-product-by-category-section .swiper {
    margin-bottom: 0;
    padding-bottom: 0;
}
.rts-product-by-category-section .category-title {
    margin: 0;
}
.rts-product-by-category-section .category-description {
    color: #666;
    margin: 4px 0 0;
    font-size: 14px;
}
@media (max-width: 768px) {
    .rts-new-collection-section {
        padding: 16px 0 8px !important;
    }
    .rts-product-by-category-section.section-gap {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .rts-product-by-category-section .category-products-section {
        margin-bottom: 4px;
    }
    .rts-product-by-category-section .category-header {
        margin-bottom: 6px;
    }
    .rts-product-by-category-section .category-description {
        margin-top: 2px;
    }
}

.rts-product-by-category-section .category-title a:hover {
    color: #C8102E !important;
}

.homepage-disclaimer-section .homepage-disclaimer-content > :is(h1, h2, h3):first-child {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333 !important;
}

/* Password eye icon — site uses FA6 Free, not FA5 Pro */
.password-input .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    line-height: 1;
    cursor: pointer;
}
.password-input .show-password-input::after {
    content: "\f06e" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: #777777 !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
}
.password-input .show-password-input.is-visible::after {
    content: "\f070" !important;
}

/* Shop / category listing — smaller fonts only */
.rts-shop-section .shop-product-topbar .items-onlist {
    font-size: 12px !important;
}
.rts-shop-section .shop-product-topbar .filter-area .select-area .select {
    font-size: 12px !important;
}
.rts-shop-section .products-area3 .product-item .bottom-content .product-category,
.rts-shop-section .products-area3 .product-item .bottom-content .product-catagory {
    font-size: 11px !important;
}
.rts-shop-section .products-area3 .product-item .bottom-content .product-name,
.rts-shop-section .product-item .product-name {
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.rts-shop-section .products-area3 .product-item .bottom-content .product-price,
.rts-shop-section .product-item .product-price {
    font-size: 13px !important;
    line-height: 1.4 !important;
    transform: none !important;
    display: block !important;
    color: #040404 !important;
}
.rts-shop-section .product-item .product-price .old-price {
    text-decoration: line-through !important;
    color: #777 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-left: 6px !important;
}
/* Keep price always visible */
.rts-shop-section .product-item .action-wrap {
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 10px !important;
}
.rts-shop-section .product-item:hover .action-wrap .product-price {
    transform: none !important;
}
/* Home-style purple Add to Cart button */
.rts-shop-section .product-card-buttons {
    display: flex !important;
    margin-top: 8px !important;
}
.rts-shop-section .product-card-buttons .btn-add-to-cart {
    flex: 1 !important;
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background: #000000 !important;
    color: #fff !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    text-align: center !important;
}
.rts-shop-section .product-card-buttons .btn-add-to-cart.is-disabled,
.rts-shop-section .product-card-buttons .btn-add-to-cart.out-of-stock {
    background: #9a9a9a !important;
    border-color: #9a9a9a !important;
    color: #fff !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.9 !important;
    box-shadow: none !important;
    transform: none !important;
}
.rts-shop-section .shop-side-action .action-item .action-top .action-title {
    font-size: 14px !important;
}
.rts-shop-section .shop-side-action .action-item .category-item .category-title {
    font-size: 12px !important;
}
.rts-shop-section .shop-side-action .action-item .category-item .sub-categorys a {
    font-size: 12px !important;
}

.blog-page {
    padding: 28px 0 48px;
    background: #fff;
}
.blog-page-head {
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ebebeb;
}
.blog-page-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C8102E;
}
.blog-page-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #040404;
    letter-spacing: 0;
    text-transform: none;
}
.blog-page-lead {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}
@media (max-width: 768px) {
    .blog-page-title {
        font-size: 24px;
    }
}
.blog-card {
    margin-bottom: 24px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: calc(100% - 24px);
}
.blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f4f4;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card-body {
    padding: 16px 16px 18px;
}
.blog-card-date {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
}
.blog-card-meta,
.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.blog-card-meta a,
.blog-card-tags a {
    font-size: 12px;
    font-weight: 600;
    color: #040404;
    background: #f6f6f6;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 4px 8px;
    text-decoration: none;
}
.blog-card-meta a:hover,
.blog-card-tags a:hover,
.blog-sidebar .cat-link:hover,
.blog-sidebar .sub-link:hover,
.blog-sidebar .tag-list a:hover,
.blog-sidebar .cat-link.active,
.blog-sidebar .sub-link.active,
.blog-sidebar .tag-list a.active {
    background: #C8102E;
    border-color: #C8102E;
    color: #fff;
}
.blog-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}
.blog-card-title a {
    color: #040404;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: #C8102E;
}
.blog-card-text {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}
.blog-view-btn {
    display: inline-block;
    padding: 9px 16px;
    background: #040404;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.blog-view-btn:hover {
    background: #C8102E;
    color: #fff;
}
.blog-empty {
    padding: 48px 16px;
    text-align: center;
    border: 1px solid #ebebeb;
    border-radius: 8px;
}
.blog-empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #040404;
}
.blog-empty p {
    margin: 0;
    color: #777;
}
.blog-sidebar,
.blog-related {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 22px 20px;
    margin-bottom: 20px;
}
.blog-sidebar .widget {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}
.blog-sidebar .widget:last-child {
    margin-bottom: 0;
}
.blog-sidebar .widget-sub-title2,
.blog-related .widget-sub-title2 {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #040404;
    color: #040404;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.blog-search {
    display: flex;
    gap: 8px;
}
.blog-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 10px 12px;
    color: #040404;
    background: #fff;
}
.blog-search input:focus {
    outline: none;
    border-color: #C8102E;
}
.blog-search button {
    width: 42px;
    border: 0;
    border-radius: 4px;
    background: #040404;
    color: #fff;
}
.blog-search button:hover {
    background: #C8102E;
}
.blog-cat-list,
.blog-subcat-list,
.blog-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-cat-list > li {
    margin-bottom: 6px;
}
.blog-sidebar .cat-link,
.blog-sidebar .sub-link {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}
.blog-sidebar .sub-link {
    margin-left: 12px;
    font-weight: 500;
    font-size: 14px;
    color: #555;
}
.blog-sidebar .count {
    color: inherit;
    font-weight: 600;
}
.blog-sidebar .tag-list a {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 7px 12px;
    background: #f6f6f6;
    color: #040404;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.blog-related-list li + li {
    margin-top: 12px;
}
.blog-related-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #040404;
    text-decoration: none;
}
.blog-related-list img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    flex: 0 0 72px;
}
.blog-related-list strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}
.blog-related-list small {
    color: #777;
}
.blog-related-list a:hover strong {
    color: #C8102E;
}
.blog-page .tag-area h3 {
    margin: 12px 0 8px;
    font-size: 16px;
    color: #040404;
}
@media (max-width: 991px) {
    .blog-sidebar,
    .blog-related {
        margin-top: 8px;
    }
}

