/**
* Theme Name: Grogin Child
* Description: This is a child theme of Grogin, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: grogin
* Version: 1.3.3
*/

/* ══════════════════════════════════════════════════════════════════
   FEATURED PRODUCTS DEAL GRID & CARDS (Exact Grogin Match)
   ══════════════════════════════════════════════════════════════════ */
.featured-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.featured-deals-grid .featured-deal-card {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.featured-deals-grid .featured-deal-card:nth-child(3n) {
    border-right: none;
}

.featured-deals-grid .featured-deal-card:nth-child(n+4) {
    border-bottom: none;
}

@media (max-width: 991.98px) {
    .featured-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-deals-grid .featured-deal-card {
        border-right: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .featured-deals-grid .featured-deal-card:nth-child(2n) {
        border-right: none !important;
    }
    .featured-deals-grid .featured-deal-card:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}

@media (max-width: 575.98px) {
    .featured-deals-grid {
        grid-template-columns: 1fr;
    }
    .featured-deals-grid .featured-deal-card {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .featured-deals-grid .featured-deal-card:last-child {
        border-bottom: none !important;
    }
}

.featured-deal-card {
    position: relative;
    padding: 16px 18px 14px 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.featured-deal-card:hover {
    background-color: #fbfcfe;
}

.featured-card-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

/* Left Media Column */
.featured-media-col {
    position: relative;
    flex: 0 0 135px;
    width: 135px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.featured-badge-sale {
    position: absolute;
    top: 0;
    left: 0;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.featured-thumb {
    width: 100%;
    text-align: center;
}

.featured-thumb img {
    max-width: 100%;
    max-height: 125px;
    width: auto;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1/1;
    display: inline-block;
    transition: transform 0.25s ease;
}

.featured-deal-card:hover .featured-thumb img {
    transform: scale(1.04);
}

.featured-badge-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2.5px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
    z-index: 2;
}

.featured-badge-tag.organic {
    background: #dcfce7;
    color: #16a34a;
}

.featured-badge-tag.cold {
    background: #e0f2fe;
    color: #0284c7;
}

/* Right Info Column */
.featured-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    position: relative;
}

.featured-heart-btn {
    position: absolute;
    top: -2px;
    right: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s ease, transform 0.15s ease;
    z-index: 3;
}

.featured-heart-btn:hover {
    color: #e11d48;
    transform: scale(1.15);
}

.featured-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    padding-right: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

.featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.featured-title a:hover {
    color: #2563eb;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.featured-stars {
    display: inline-flex;
    gap: 1.5px;
    font-size: 11px;
}

.featured-review-count {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.featured-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.featured-current-price {
    font-size: 19px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
}

.featured-old-price {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    text-decoration: line-through;
}

.featured-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 155px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1.5px solid #c7d2fe;
    background: #ffffff;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.featured-cart-btn:hover {
    border-color: #4338ca;
    background: #eef2ff;
    color: #3730a3;
    text-decoration: none;
}

.featured-cart-btn .plus-sign {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    margin-left: 8px;
}

/* Bottom Countdown Strip */
.featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.featured-card-footer .site-countdown {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.featured-card-footer .cd-box {
    min-width: 23px;
    height: 22px;
    padding: 0 4px;
    background: #f1f5f9;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    line-height: 1;
    transition: all 0.2s ease;
}

.featured-deal-card:hover .cd-box {
    background: #fee2e2;
    color: #b91c1c;
}

.featured-card-footer .cd-colon {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin: 0 1px;
}

.featured-card-footer .cd-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}