.tp-category-thumb-2 img{height:100%;width:100%}.tp-instagram-icon-2 a{height:auto;line-height:normal;padding:16px 20px;width:100%}.tp-blog-thumb-2 img{height:325px;-o-object-fit:cover;object-fit:cover}.tp-featured-thumb.include-bg{background-position:100%;background-repeat:no-repeat;background-size:50%}.tp-featured-content{max-width:50%}.tp-product-thumb-2{background-color:#f2f3f5}

/* ==========================================================================
   STYLE 6 PRODUCT CARD - PREMIUM & AESTHETIC (FLICKER-FREE, SPIN-FREE, SPACED)
   ========================================================================== */
.tp-product-item-6 {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eaecef;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 30px !important; /* Forces proper vertical spacing between rows - reduced from 50px */
}

.tp-product-item-6:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-color-rgb), 0.25);
    box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.08);
    z-index: 10; /* Lifts the card on hover to prevent overlapping and clipping by cards below */
}

.tp-product-thumb-6 {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    aspect-ratio: 1 / 1;
}

.tp-product-thumb-6 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Second Image Transitions - Flicker-Free Cross-fade */
.tp-product-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.tp-product-image-wrapper .primary-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.tp-product-image-wrapper .secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scale(1.02);
    z-index: 2;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity, transform;
}

.tp-product-item-6:hover .tp-product-image-wrapper .primary-img {
    transform: scale(1.05);
}

.tp-product-item-6:hover .tp-product-image-wrapper .secondary-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Floating Actions Container - Elegant Glassmorphic Pill */
.tp-product-actions-6-container {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 15px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 6px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

.tp-product-item-6:hover .tp-product-actions-6-container {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Action button inside style-6 */
.tp-product-action-btn-6 {
    background: transparent;
    border: none;
    outline: none;
    color: #334155;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.tp-product-action-btn-6:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.12);
}

/* Active Wishlist Button Style - Filled Brand Heart */
.tp-product-add-to-wishlist-btn.tp-product-action-btn-6.active {
    color: var(--primary-color) !important;
}

.tp-product-add-to-wishlist-btn.tp-product-action-btn-6.active svg {
    fill: var(--primary-color) !important;
    stroke: var(--primary-color) !important;
}

/* Active Compare Button Style - Filled Background & White Icon */
.tp-product-compare-btn.tp-product-action-btn-6.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* Modernized Badges inside style-6 */
.tp-product-item-6 .tp-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    gap: 6px; /* Spacings between multiple badges */
    flex-wrap: wrap;
}

.tp-product-item-6 .tp-product-badge span {
    border-radius: 6px;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Content block styling - Optimized and Reduced Spacing */
.tp-product-content-6 {
    padding: 12px 12px 14px 12px; /* reduced from 20px 16px */
    display: flex;
    flex-direction: column;
    gap: 4px; /* reduced from 6px */
    flex-grow: 1;
}

.tp-product-store-6 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    font-weight: 600;
}

.tp-product-store-6 a {
    color: inherit;
    transition: color 0.2s ease;
}

.tp-product-store-6 a:hover {
    color: var(--primary-color);
}

.tp-product-title-6 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 2px 0; /* reduced from 4px */
    color: #0f172a;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tp-product-title-6 a {
    color: inherit;
    transition: color 0.3s ease;
}

.tp-product-title-6 a:hover {
    color: var(--primary-color);
}

/* Rating & Price layout */
.tp-product-rating-price-6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px; /* reduced from 4px */
    gap: 10px;
    min-height: 24px;
}

/* Custom pricing styling to make it feel premium */
.tp-product-price-wrapper-6 {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tp-product-price-6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.tp-product-price-6.old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
}

/* Elegant Outline Add to Cart button - Reduced spacing */
.tp-product-add-cart-btn-large-wrapper-6 {
    margin-top: auto;
    padding-top: 8px; /* reduced from 14px */
}

.tp-product-add-cart-btn-large-6 {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px; /* reduced from 10px 16px */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tp-product-add-cart-btn-large-6:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.25);
}

.tp-product-add-cart-btn-large-6 svg {
    transition: transform 0.3s ease;
}

.tp-product-add-cart-btn-large-6:hover svg {
    transform: translateX(3px);
}
