:root {
    /* Brand Colors extracted from your logo and theme */
    --brand-primary: #7b1a2d; /* Deep Burgundy */
    --brand-accent: #ff6b8b; /* Playful Pink */
    --brand-dark: #1a1a1a;
    --brand-light: #f8f9fa;

    /* UI Elements */
    --text-main: #2d2d2d;
    --text-muted: #6c757d;
    --card-radius: 16px;
    --btn-radius: 8px;
    --input-radius: 10px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: #fcfcfc; /* Slightly off-white to make cards pop */
}

/* Modern Product Card */
.product-card-modern {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 20px;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-card-modern .img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    background: #f9f9f9; /* Soft background for transparent PNGs */
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-modern .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .img-wrapper img {
    transform: scale(1.05);
}

.product-card-modern .badge-shipping {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-primary);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-wrapper {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-primary);
}

.price-old {
    font-size: 13px;
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Modern Buttons */
.btn-modern-primary {
    background: var(--brand-primary);
    color: #fff;
    border-radius: var(--btn-radius);
    padding: 14px 24px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-modern-primary:hover {
    background: #5e1322;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: #fff;
}

.btn-modern-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: var(--btn-radius);
    padding: 14px 24px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-modern-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    color: #fff;
}

/* Modern Inputs */
.form-control-modern {
    border: 1px solid #e0e0e0;
    border-radius: var(--input-radius);
    padding: 14px 16px;
    font-size: 14px;
    transition: var(--transition);
    background-color: #fff;
}

.form-control-modern:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(123, 26, 45, 0.1);
    outline: none;
}

.product-detail-modern {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin-bottom: 60px;
}

.gallery-main {
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.pd-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pd-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.pd-shipping-alert {
    background: #f0f4ff;
    color: #2b4cb3;
    padding: 12px 16px;
    border-radius: var(--btn-radius);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.pd-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.pd-features-list li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    color: var(--text-muted);
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.checkout-main {
    flex: 1 1 60%;
    background: #fff;
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.checkout-sidebar {
    flex: 1 1 35%;
    background: var(--brand-light);
    padding: 30px;
    border-radius: var(--card-radius);
    border: 1px solid #ebebeb;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.checkout-step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
}

/* Summary specific */
.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: var(--text-main);
}