/* Featured Products Section Styles */
:root {
    --dz-pink: #ff006e;
    --dz-glass: rgba(255, 255, 255, 0.08); /* More transparent for pop */
    --dz-glass-border: rgba(255, 255, 255, 0.4);
    --dz-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.1);
    --dz-gradient: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
}

.dz-featured-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
    position: relative;
}

.dz-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dz-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dz-section-title {
    font-size: 22px;
    font-weight: 950;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.dz-section-title i {
    color: var(--dz-pink);
    font-size: 26px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.3));
}

/* Slider Navigation */
.dz-featured-nav {
    display: flex;
    gap: 12px;
}

.dz-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.dz-nav-btn:hover {
    background: #111;
    color: #fff;
    transform: scale(1.1);
}

/* Slider Layout */
.dz-featured-slider-window {
    overflow: hidden;
    margin: 0 -10px;
    padding: 15px 10px 40px;
}

.dz-featured-grid {
    display: flex !important; /* Switch to flex for easier sliding */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 0 !important;
    width: 100% !important;
}

/* Glassy Product Card */
.dz-product-card {
    flex: 0 0 25%; /* 4 columns on desktop */
    padding: 12px !important;
    box-sizing: border-box;
    position: relative;
}

.dz-product-card.glassy {
    background: var(--dz-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 22px;
    margin: 0 8px; /* Gap logic for flex */
    box-shadow: var(--dz-shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Required for the pseudo-border */
}

/* Gradient Stroke / Pop */
.dz-product-card.glassy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px; /* Stroke width */
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.7), rgba(58, 134, 255, 0.7));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.dz-product-card.glassy:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.dz-product-card.glassy:hover::before {
    opacity: 1;
}

.dz-card-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.dz-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.dz-product-card:hover .dz-product-img {
    transform: scale(1.15);
}

.dz-card-body {
    padding: 0 5px 12px;
}

.dz-product-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

/* Inline Action Row */
.dz-card-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* Smaller Price */
.dz-product-price {
    font-size: 16px; /* Reduced as requested */
    font-weight: 800;
    color: var(--dz-pink);
}

/* Compact Small Add Button */
.dz-add-to-cart-small {
    padding: 8px 14px;
    border: none;
    border-radius: 50px; /* Pill shape */
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.dz-add-to-cart-small:hover {
    background: #000;
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.4);
    transform: scale(1.05);
}

/* Footer Section */
.dz-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
}

.dz-store-name-small {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dz-city {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dz-city i {
    color: var(--dz-pink);
    font-size: 10px;
}

/* Desktop Responsive Flex */
@media (max-width: 1200px) {
    .dz-product-card { flex: 0 0 33.333%; }
}

@media (max-width: 900px) {
    .dz-product-card { flex: 0 0 50%; }
}

/* Mobile Layout - 2 columns per slide as requested */
@media (max-width: 768px) {
    .dz-featured-section { padding: 10px 0 60px; }
    .dz-section-title { font-size: 22px; }
    .dz-product-card { flex: 0 0 50%; } /* 2 columns visible */
    
    .dz-nav-btn {
        width: 38px;
        height: 38px;
    }
}

/* Wishlist Icon Styling */
.dz-card-img-wrapper {
    position: relative;
}

.dz-wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    font-size: 18px;
}

.dz-wishlist-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dz-wishlist-toggle.active {
    background: #fff;
    color: var(--dz-pink);
    border-color: #fff;
}

.dz-wishlist-toggle.active i {
    font-weight: 900; /* Solid heart */
}
