.daraz-grid-wrapper-c3f95339 {
    --primary-accent: #ff4757;
    --orange-badge: #f57224;
    --badge-purple: #a55eea;
    --tag-green: #26af94;
    --text-main: #212121;
    --text-secondary: #757575;
    --bg-light: #f4f4f6;
    --border-color: #eaeaea;
    background-color: var(--bg-light);
    padding: 10px;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.daraz-grid-wrapper-c3f95339 * {
    box-sizing: border-box;
}

.daraz-grid-wrapper-c3f95339 .category-container {
    max-width: 1200px;
    margin: 10px auto 16px auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.daraz-grid-wrapper-c3f95339 .category-container::-webkit-scrollbar {
    display: none;
}

.daraz-grid-wrapper-c3f95339 .category-tab {
    background: #ffffff;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.daraz-grid-wrapper-c3f95339 .category-tab.active {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}

.daraz-grid-wrapper-c3f95339 .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .daraz-grid-wrapper-c3f95339 .grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .daraz-grid-wrapper-c3f95339 {
        padding: 30px;
    }
}

.daraz-grid-wrapper-c3f95339 .product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.daraz-grid-wrapper-c3f95339 .product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.daraz-grid-wrapper-c3f95339 .product-card.show { display: flex; }
.daraz-grid-wrapper-c3f95339 .product-card.hide { display: none; }

.daraz-grid-wrapper-c3f95339 .image-wrapper-link {
    display: block;
    width: 100%;
}

.daraz-grid-wrapper-c3f95339 .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: #fafafa;
}

.daraz-grid-wrapper-c3f95339 .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.daraz-grid-wrapper-c3f95339 .product-card:hover .image-wrapper img {
    transform: scale(1.03);
}

.daraz-grid-wrapper-c3f95339 .wow-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, var(--badge-purple), #8854d0);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.daraz-grid-wrapper-c3f95339 .delivery-tag {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: var(--tag-green);
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 2;
}

.daraz-grid-wrapper-c3f95339 .info-wrapper {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.daraz-grid-wrapper-c3f95339 .product-title {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.4;
    height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.daraz-grid-wrapper-c3f95339 .product-title:hover {
    color: var(--primary-accent);
}

.daraz-grid-wrapper-c3f95339 .promo-prefix {
    background: #5758bb;
    color: white;
    font-size: 10px;
    padding: 1px 3px;
    border-radius: 2px;
    margin-right: 4px;
    font-weight: bold;
}

.daraz-grid-wrapper-c3f95339 .stock-container {
    margin-bottom: 10px;
}

.daraz-grid-wrapper-c3f95339 .stock-text {
    font-size: 10px;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 3px;
    display: block;
}

.daraz-grid-wrapper-c3f95339 .progress-bar {
    width: 100%;
    height: 5px;
    background: #ffe0e3;
    border-radius: 10px;
}

.daraz-grid-wrapper-c3f95339 .progress-fill {
    height: 100%;
    background: var(--primary-accent);
    border-radius: 10px;
}

.daraz-grid-wrapper-c3f95339 .price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.daraz-grid-wrapper-c3f95339 .price-digits {
    display: flex;
    flex-direction: column;
}

.daraz-grid-wrapper-c3f95339 .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-accent);
}

.daraz-grid-wrapper-c3f95339 .current-price .woocommerce-Price-currencySymbol {
    font-weight: normal;
    font-size: 14px;
}

.daraz-grid-wrapper-c3f95339 .original-price {
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.daraz-grid-wrapper-c3f95339 .discount-ribbon {
    background: linear-gradient(135deg, #ff7675, var(--primary-accent));
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 4px;
    transform: skewX(-6deg);
}

/* Action Buttons */
.daraz-grid-wrapper-c3f95339 .action-buttons {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.daraz-grid-wrapper-c3f95339 .btn-buy-now,
.daraz-grid-wrapper-c3f95339 .btn-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.daraz-grid-wrapper-c3f95339 .btn-buy-now {
    background-color: var(--orange-badge);
    color: white;
}

.daraz-grid-wrapper-c3f95339 .btn-buy-now:hover {
    background-color: #d6601b;
}

.daraz-grid-wrapper-c3f95339 .btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.daraz-grid-wrapper-c3f95339 .btn-whatsapp:hover {
    background-color: #1ebe58;
}
