/* Product card styling */
.sago-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sago-shadow);
    border: 1px solid var(--sago-border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.sago-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sago-shadow-hover);
}
.sago-product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--sago-light-bg);
}
.sago-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.sago-product-card:hover .sago-product-image img {
    transform: scale(1.05);
}
.sago-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.badge {
    background: var(--sago-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
}
.badge.sale { background: var(--sago-primary); }
.badge.new { background: var(--sago-green); }

.sago-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.sago-actions a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s;
}
.sago-actions a:hover {
    background: var(--sago-primary);
    color: #fff;
    transform: scale(1.1);
}
.sago-product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.sago-product-content .title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--sago-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sago-product-content .meta {
    font-size: 0.7rem;
    color: #6c757d;
}
.sago-product-content .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sago-primary);
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin: 4px 0;
}
.sago-product-content .price del {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: normal;
}
.sago-product-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.sago-product-buttons .button,
.sago-product-buttons .sago-wa {
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.2s;
}
.sago-product-buttons .button {
    background: var(--sago-light-bg);
    color: var(--sago-text);
    border: 1px solid var(--sago-border);
}
.sago-product-buttons .button:hover {
    background: var(--sago-primary);
    color: #fff;
    border-color: var(--sago-primary);
}
.sago-product-buttons .sago-wa {
    background: #25D366;
    color: #fff;
}
.sago-product-buttons .sago-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Single Product Grid Layout */
.sago-single-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.sago-single-product-gallery {
    flex: 1.2;
    min-width: 280px;
    position: relative;
}

.sago-single-product-summary {
    flex: 0.8;
    min-width: 280px;
}

/* Dynamic Badges on Single Product */
.sago-single-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sago-single-badges .badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    width: auto;
}

.sago-single-badges .badge.sale {
    background: #e63946;
    color: white;
}

.sago-single-badges .badge.new {
    background: #2a9d8f;
    color: white;
}

.sago-single-badges .badge.hot {
    background: #f4a261;
    color: white;
}

.sago-single-badges .badge.out-of-stock {
    background: #6c757d;
    color: white;
}

/* Trust Badges */
.sago-trust-badges {
    margin: 25px 0 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.sago-trust-badges .trust-item {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
}

.sago-trust-badges .trust-item i {
    width: 24px;
    color: #2a9d8f;
    font-size: 18px;
}

/* WhatsApp Button on Single Product */
.sago-single-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s;
}

.sago-single-wa-btn:hover {
    background: #128C7E;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .sago-single-product-grid {
        flex-direction: column;
        gap: 20px;
    }
}
