/**
 * Super Gift Pro - Frontend Styles
 * Version: 3.0.0
 * Conflict-free styling with unique prefixes
 */

/* CSS Variables */
:root {
    --super-gift-primary: #6366f1;
    --super-gift-primary-hover: #4f46e5;
    --super-gift-success: #10b981;
    --super-gift-warning: #f59e0b;
    --super-gift-danger: #ef4444;
    --super-gift-dark: #1f2937;
    --super-gift-light: #f9fafb;
    --super-gift-border: #e5e7eb;
    --super-gift-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --super-gift-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BANNER STYLES - Multiple Themes
   ========================================== */

/* Base Banner */
.super-gift-wrapper,
.super-gift-progress-wrapper {
    margin-bottom: 25px;
    animation: superGiftSlideDown 0.5s ease-out;
}

@keyframes superGiftSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.super-gift-banner,
.super-gift-progress-banner {
    border-radius: 16px;
    padding: 20px 25px;
    position: relative;
    overflow: hidden;
}

.super-gift-banner-content,
.super-gift-progress-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Gradient Style (Default) */
.super-gift-style-gradient .super-gift-banner,
.super-gift-style-gradient .super-gift-progress-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.super-gift-style-gradient .super-gift-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: superGiftFloat 6s ease-in-out infinite;
}

@keyframes superGiftFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Festive Style */
.super-gift-style-festive .super-gift-banner,
.super-gift-style-festive .super-gift-progress-banner {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.super-gift-style-festive .super-gift-banner::before {
    content: '🎄';
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    right: 20px;
    top: -20px;
}

/* Minimal Style */
.super-gift-style-minimal .super-gift-banner,
.super-gift-style-minimal .super-gift-progress-banner {
    background: white;
    color: var(--super-gift-dark);
    border: 2px solid var(--super-gift-border);
    box-shadow: var(--super-gift-shadow);
}

.super-gift-style-minimal .super-gift-banner-icon,
.super-gift-style-minimal .super-gift-progress-icon {
    background: var(--super-gift-light) !important;
    color: var(--super-gift-primary) !important;
}

.super-gift-style-minimal .super-gift-trigger-btn {
    background: var(--super-gift-primary) !important;
    color: white !important;
}

/* Urgent Style */
.super-gift-style-urgent .super-gift-banner,
.super-gift-style-urgent .super-gift-progress-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.super-gift-style-urgent .super-gift-banner::after {
    content: '⚡';
    position: absolute;
    font-size: 80px;
    opacity: 0.15;
    right: 30px;
    top: -10px;
}

/* Eco Style */
.super-gift-style-eco .super-gift-banner,
.super-gift-style-eco .super-gift-progress-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Luxury Style */
.super-gift-style-luxury .super-gift-banner,
.super-gift-style-luxury .super-gift-progress-banner {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fbbf24;
    border: 1px solid #fbbf2440;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.super-gift-style-luxury .super-gift-banner-icon {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #fbbf24 !important;
}

.super-gift-style-luxury .super-gift-banner-text h3 {
    color: #fbbf24;
}

.super-gift-style-luxury .super-gift-banner-text p {
    color: #d1d5db;
}

/* Banner Icon */
.super-gift-banner-icon,
.super-gift-progress-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: superGiftPulse 2s ease-in-out infinite;
}

@keyframes superGiftPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Banner Text */
.super-gift-banner-text {
    flex: 1;
}

.super-gift-banner-text h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
}

.super-gift-banner-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Trigger Button */
.super-gift-trigger-btn {
    flex-shrink: 0;
    padding: 14px 28px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--super-gift-transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.super-gift-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   PROGRESS BAR
   ========================================== */

.super-gift-progress-content {
    flex: 1;
}

.super-gift-progress-text {
    margin-bottom: 10px;
}

.super-gift-progress-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.super-gift-progress-bar-container {
    width: 100%;
}

.super-gift-progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.super-gift-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 10px;
    transition: width 0.5s ease-out;
    position: relative;
}

.super-gift-progress-glow {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
    animation: superGiftGlow 1.5s ease-in-out infinite;
}

@keyframes superGiftGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.super-gift-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
}

.super-gift-progress-dismiss {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--super-gift-transition);
    color: inherit;
}

.super-gift-progress-dismiss:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================
   MODAL STYLES
   ========================================== */

.super-gift-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.super-gift-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.super-gift-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    z-index: 1 !important;
}

.super-gift-modal-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 1000px !important;
    max-height: 90vh !important;
    z-index: 2 !important;
}

.super-gift-modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    animation: superGiftModalIn 0.4s ease-out;
}

@keyframes superGiftModalIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.super-gift-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--super-gift-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--super-gift-transition);
    z-index: 10;
    color: var(--super-gift-dark);
}

.super-gift-close:hover {
    background: var(--super-gift-border);
    transform: rotate(90deg);
}

/* Modal Header */
.super-gift-modal-header {
    padding: 35px 35px 25px;
    border-bottom: 1px solid var(--super-gift-border);
    background: linear-gradient(to bottom, #f9fafb, white);
    flex-shrink: 0;
}

.super-gift-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--super-gift-dark);
}

.super-gift-selection-info {
    margin: 0 0 20px 0;
    color: #6b7280;
    font-size: 15px;
}

/* Modal Progress */
.super-gift-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.super-gift-modal-header .super-gift-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.super-gift-modal-header .super-gift-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--super-gift-success), #059669);
    border-radius: 10px;
    transition: width 0.4s ease-out;
}

.super-gift-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.super-gift-selected-count {
    color: var(--super-gift-primary);
    font-size: 16px;
}

/* Products Grid */
.super-gift-form {
    display: block;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.super-gift-products-grid {
    padding: 25px 35px;
    overflow-y: auto;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-content: start;
    max-height: calc(80vh - 280px);
    min-height: 250px;
}

/* Product Card */
.super-gift-product-card {
    position: relative !important;
    border: 2px solid var(--super-gift-border) !important;
    border-radius: 16px !important;
    background: white !important;
    transition: var(--super-gift-transition) !important;
    cursor: pointer !important;
    overflow: hidden !important;
    user-select: none !important;
}

.super-gift-product-card:hover {
    border-color: var(--super-gift-primary) !important;
    box-shadow: var(--super-gift-shadow) !important;
    transform: translateY(-4px) !important;
}

.super-gift-product-card.selected {
    border-color: var(--super-gift-primary) !important;
    background: #f0f9ff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.super-gift-product-card.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.super-gift-product-card.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--super-gift-border) !important;
}

.super-gift-product-card input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.super-gift-product-card label {
    display: block !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
}

.super-gift-product-card *:not(input) {
    pointer-events: none !important;
}

/* Product Image */
.super-gift-product-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--super-gift-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.super-gift-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: var(--super-gift-transition);
}

.super-gift-product-card:hover .super-gift-product-image img {
    transform: scale(1.05);
}

/* Checkmark */
.super-gift-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--super-gift-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: var(--super-gift-transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.super-gift-product-card.selected .super-gift-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Product Info */
.super-gift-product-info {
    padding: 18px;
    text-align: center;
}

.super-gift-product-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--super-gift-dark);
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.super-gift-product-desc {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.super-gift-product-price {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--super-gift-success), #059669);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal Footer */
.super-gift-modal-footer {
    padding: 20px 35px;
    border-top: 1px solid var(--super-gift-border);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: var(--super-gift-light);
    flex-shrink: 0;
}

/* Buttons */
.super-gift-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--super-gift-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.super-gift-btn-primary {
    background: var(--super-gift-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.super-gift-btn-primary:hover:not(:disabled) {
    background: var(--super-gift-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.super-gift-btn-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.super-gift-btn-secondary {
    background: white;
    color: var(--super-gift-dark);
    border: 2px solid var(--super-gift-border);
}

.super-gift-btn-secondary:hover {
    background: var(--super-gift-light);
    border-color: var(--super-gift-dark);
}

/* ==========================================
   PRODUCT PAGE TEASERS
   ========================================== */

.super-gift-product-teaser {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 10px;
    margin: 15px 0;
    animation: superGiftSlideDown 0.4s ease-out;
}

.super-gift-bogo-teaser {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
}

.super-gift-spend-teaser {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: 1px solid #3b82f6;
}

.super-gift-teaser-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.super-gift-bogo-teaser .super-gift-teaser-icon {
    color: #d97706;
}

.super-gift-spend-teaser .super-gift-teaser-icon {
    color: #2563eb;
}

.super-gift-teaser-content {
    flex: 1;
}

.super-gift-teaser-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.super-gift-teaser-content span {
    font-size: 13px;
    opacity: 0.9;
}

/* ==========================================
   BOGO BADGE
   ========================================== */

.super-gift-bogo-badge,
.super-gift-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    line-height: 1.3;
    max-width: calc(100% - 20px);
}

/* BOGO Badge - Red */
.super-gift-bogo-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Specific Product BOGO - Orange */
.super-gift-badge-specific {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

/* Cheapest Free - Pink */
.super-gift-badge-cheapest {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* Cart Total Badge - Blue/Purple */
.super-gift-badge-cart {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Category Badge - Teal */
.super-gift-badge-category {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

/* Quantity Badge - Amber */
.super-gift-badge-quantity {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Product Bundle Badge - Green */
.super-gift-badge-product {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* ==========================================
   SHOP PAGE PROMO BANNER
   ========================================== */

.super-gift-shop-promo {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    animation: superGiftSlideDown 0.5s ease-out;
}

.super-gift-shop-promo-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    flex-wrap: wrap;
}

.super-gift-shop-promo-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.super-gift-shop-promo-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.super-gift-shop-promo-text {
    font-size: 15px;
    font-weight: 600;
}

.super-gift-shop-promo-progress {
    font-size: 14px;
    opacity: 0.9;
}

.super-gift-shop-promo-qualified {
    font-size: 15px;
    font-weight: 700;
}

.super-gift-shop-promo-qualified a {
    margin-left: 10px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.25);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.super-gift-shop-promo-qualified a:hover {
    background: rgba(255,255,255,0.4);
}

.super-gift-shop-promo-gifts {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 5px;
}

.super-gift-shop-promo-gifts small {
    font-size: 12px;
    opacity: 0.85;
}

/* Promo Banner with Style Themes */
.super-gift-shop-promo.super-gift-style-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.super-gift-shop-promo.super-gift-style-gradient a {
    color: white;
}

.super-gift-shop-promo.super-gift-style-festive {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.super-gift-shop-promo.super-gift-style-festive a {
    color: white;
}

.super-gift-shop-promo.super-gift-style-minimal {
    background: #f8fafc;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.super-gift-shop-promo.super-gift-style-minimal a {
    color: #6366f1;
    background: #e0e7ff;
}

.super-gift-shop-promo.super-gift-style-minimal .super-gift-shop-promo-gifts {
    border-top-color: #e2e8f0;
}

.super-gift-shop-promo.super-gift-style-urgent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.super-gift-shop-promo.super-gift-style-urgent a {
    color: white;
}

.super-gift-shop-promo.super-gift-style-eco {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.super-gift-shop-promo.super-gift-style-eco a {
    color: white;
}

.super-gift-shop-promo.super-gift-style-luxury {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fbbf24;
}

.super-gift-shop-promo.super-gift-style-luxury a {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.super-gift-shop-promo.super-gift-style-luxury .super-gift-shop-promo-gifts {
    border-top-color: rgba(251, 191, 36, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
    .super-gift-shop-promo-inner {
        padding: 14px 18px;
        text-align: center;
        justify-content: center;
    }
    
    .super-gift-shop-promo-content {
        justify-content: center;
        text-align: center;
    }
    
    .super-gift-shop-promo-qualified a {
        display: block;
        margin: 10px auto 0;
    }
}

/* ==========================================
   MINI CART NOTICES
   ========================================== */

.super-gift-mini-notice,
.super-gift-mini-progress {
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.super-gift-mini-notice {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.super-gift-mini-progress {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #f59e0b;
}

/* ==========================================
   CART ITEM STYLES
   ========================================== */

.super-gift-qty {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--super-gift-success);
    font-weight: 600;
}

.super-gift-qty small {
    color: #6b7280;
    font-weight: 500;
}

.super-gift-locked {
    display: inline-block;
    font-size: 18px;
    cursor: help;
}

/* FREE Price Display */
.super-gift-free-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.super-gift-free-price del {
    color: #9ca3af;
    font-size: 0.9em;
}

.super-gift-free-price ins,
.super-gift-free-price strong {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .super-gift-banner-content,
    .super-gift-progress-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .super-gift-banner-text h3 {
        font-size: 18px;
    }
    
    .super-gift-trigger-btn {
        width: 100%;
    }
    
    .super-gift-modal-header {
        padding: 25px 20px 20px;
    }
    
    .super-gift-modal-header h2 {
        font-size: 20px;
    }
    
    .super-gift-products-grid {
        padding: 20px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        max-height: calc(80vh - 260px);
    }
    
    .super-gift-product-image {
        height: 150px;
    }
    
    .super-gift-product-info {
        padding: 15px;
    }
    
    .super-gift-product-info h4 {
        font-size: 13px;
        min-height: auto;
    }
    
    .super-gift-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .super-gift-btn {
        width: 100%;
        justify-content: center;
    }
    
    .super-gift-progress {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .super-gift-products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .super-gift-modal-content {
        border-radius: 16px !important;
    }
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */

.super-gift-products-grid::-webkit-scrollbar {
    width: 10px;
}

.super-gift-products-grid::-webkit-scrollbar-track {
    background: var(--super-gift-light);
    border-radius: 10px;
}

.super-gift-products-grid::-webkit-scrollbar-thumb {
    background: var(--super-gift-border);
    border-radius: 10px;
}

.super-gift-products-grid::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ==========================================
   BODY CLASS WHEN MODAL OPEN
   ========================================== */

body.super-gift-modal-open {
    overflow: hidden !important;
}

/* ==========================================
   LOADING STATE
   ========================================== */

.super-gift-loading {
    pointer-events: none;
    opacity: 0.6;
}

.super-gift-btn.loading svg {
    animation: superGiftSpin 1s linear infinite;
}

@keyframes superGiftSpin {
    to { transform: rotate(360deg); }
}
