/* c:\Users\Informatics\Desktop\e-com-small\assets\css\custom.css */
* { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background: #f8f9fa; }

/* Feeef-Style Components */
.feeef-card {
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.feeef-field {
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.feeef-field:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.feeef-btn {
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.feeef-btn-primary {
    background-color: #059669;
    color: #ffffff;
}

.feeef-btn-primary:hover {
    background-color: #047857;
}

/* Pack Card */
.pack-card {
    transition: all 0.2s ease;
    cursor: pointer;
}

.pack-card.active {
    border-color: #f59e0b;
    background-color: #fffbeb;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.2);
    transform: scale(1.01);
}

.pack-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Variant Pills */
.color-pill, .size-chip {
    transition: all 0.2s ease;
    cursor: pointer;
}

.color-pill.active, .size-chip.active {
    border-color: #f59e0b;
    background-color: #fffbeb;
}

/* Delivery Card */
.delivery-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-card.active {
    border-color: #f59e0b;
    background-color: #fffbeb;
}

/* Media Gallery */
.thumbnail-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail-item.active {
    --tw-ring-color: #f59e0b;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

#hero-container {
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    #hero-container {
        aspect-ratio: 1 / 1;
    }
}

#zoom-overlay {
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.sound-btn {
    animation: pulse-glow 2s infinite;
}

/* Scarcity Bar */
.scarcity-bar {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    animation: shimmer 2s infinite linear;
}

@keyframes scarcity-pulse {
    0% { opacity: 0.8; box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(245, 158, 11, 0.8); }
    100% { opacity: 0.8; box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
}

/* Sticky Bottom Bar */
.bottom-bar {
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bottom-bar.visible {
    transform: translateY(0);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #059669, #10b981) !important;
    text-align: center;
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}
.faq-item .chevron {
    transition: transform 0.3s ease;
}
.faq-item.open .chevron {
    transform: rotate(180deg);
}

/* Guarantee Grid */
.guarantee-card {
    transition: transform 0.2s ease;
}
.guarantee-card:hover {
    transform: translateY(-5px);
}

/* Reviews */
.star-rating {
    color: #fbbf24;
}
.verified-badge {
    color: #10b981;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .guarantee-grid {
        display: flex;
        flex-direction: column;
    }
    input, select, textarea {
        width: 100%;
    }
}

/* Print */
@media print {
    .sticky-bar, .whatsapp-float, .announcement-bar { display: none !important; }
}

/* RTL Specifics */
[dir="rtl"] .input-icon {
    right: 12px;
    left: auto;
}
[dir="rtl"] .feeef-field {
    padding-right: 40px;
    padding-left: 16px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
