/**
 * ToyThrive E-Commerce - Custom Styles
 * Extends Tailwind CSS with custom animations and components
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-color: #FBBF24;
    --primary-dark: #D97706;
    --secondary-color: #000000;
    --accent-color: #FBBF24;
    --light-blue: #38bdf8;
    --light-blue-dark: #0ea5e9;
    --light-blue-light: #7dd3fc;
    --danger-color: #ef4444;
    --success-color: #22c55e;
    --warning-color: #FBBF24;
    --text-dark: #000000;
    --text-light: #4B5563;
    --bg-light: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ========================================
   Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   Animations
======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 6s ease-in-out infinite;
}

.animate-float-delay-1 {
    animation: float 6s ease-in-out infinite 1s;
}

.animate-float-delay-2 {
    animation: float 6s ease-in-out infinite 2s;
}

.animate-pulse-ring {
    animation: pulse-ring 2s infinite;
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 10s linear infinite;
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

.animate-shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.5s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.3s ease forwards;
}

/* ========================================
   Header & Navigation
======================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav-link {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #fef9e7 50%, #fef3c7 100%);
}

.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(1px);
}

.floating-shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FBBF24, #D97706);
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.floating-shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000000, #1f2937);
    top: 60%;
    right: 15%;
    animation: float-reverse 7s ease-in-out infinite 1s;
}

.floating-shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    bottom: 20%;
    left: 20%;
    animation: float 9s ease-in-out infinite 2s;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #000000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #1f2937;
    color: #ffffff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: #000000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Light Blue Button */
.btn-light-blue {
    background: linear-gradient(135deg, var(--light-blue), var(--light-blue-dark));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-light-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, var(--light-blue-light), var(--light-blue));
}

/* Light Blue Outline Button */
.btn-outline-light-blue {
    background: transparent;
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
}

.btn-outline-light-blue:hover {
    background: var(--light-blue);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   Cards
======================================== */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.feature-card {
    position: relative;
    padding: 32px;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   Product Gallery
======================================== */
.product-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
}

.gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   3D Viewer Container
======================================== */
.viewer-3d-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    overflow: hidden;
}

.viewer-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.viewer-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.viewer-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.viewer-control-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ========================================
   Testimonials
======================================== */
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-stars {
    color: var(--accent-color);
}

/* ========================================
   FAQ Accordion
======================================== */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Forms
======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.form-input.error {
    border-color: var(--danger-color);
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 4px;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    position: relative;
}

.radio-option input,
.checkbox-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label,
.checkbox-option label {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
    border-color: var(--primary-color);
    background: rgba(251, 191, 36, 0.1);
}

.radio-option label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all var(--transition-fast);
}

.radio-option input:checked + label::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: inset 0 0 0 4px white;
}

/* ========================================
   Checkout
======================================== */
.checkout-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.checkout-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section-title i {
    color: var(--primary-color);
}

.order-summary {
    position: sticky;
    top: 100px;
}

.order-summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-summary-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.order-summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    margin-top: 12px;
    padding-top: 16px;
}

/* Payment Method Cards */
.payment-method-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method-card:hover {
    border-color: var(--primary-color);
}

.payment-method-card.selected {
    border-color: var(--primary-color);
    background: rgba(251, 191, 36, 0.1);
}

.payment-method-card input {
    display: none;
}

.bank-details {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.bank-account {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.bank-account:last-child {
    margin-bottom: 0;
}

/* ========================================
   Order Confirmation
======================================== */
.order-success {
    text-align: center;
    padding: 40px 20px;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--success-color), #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    animation: scaleIn 0.5s ease forwards;
}

.order-details-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 32px;
}

.order-details-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    text-align: center;
}

.order-details-body {
    padding: 24px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-detail-row:last-child {
    border-bottom: none;
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #000000;
    color: #FBBF24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #FBBF24;
    color: #000000;
    transform: translateY(-3px);
}

/* ========================================
   WhatsApp Button
======================================== */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 2s infinite;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: #000000;
    color: white;
}

.footer-link {
    color: #9ca3af;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: #FBBF24;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-icon:hover {
    background: #FBBF24;
    color: #000000;
    transform: translateY(-3px);
}

/* ========================================
   Light Blue Icons & Accents
======================================== */
/* Light Blue Icon Color */
.icon-light-blue {
    color: var(--light-blue) !important;
}

/* Light Blue Icon Circle */
.icon-circle-light-blue {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-blue-dark));
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.icon-circle-light-blue:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

/* Light Blue Icon Background */
.icon-bg-light-blue {
    background: rgba(56, 189, 248, 0.1);
    color: var(--light-blue);
    padding: 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Feature Icon Light Blue */
.feature-icon-light-blue {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.1));
    color: var(--light-blue);
}

/* Light Blue Text */
.text-light-blue {
    color: var(--light-blue) !important;
}

/* Light Blue Background */
.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.bg-light-blue-soft {
    background-color: rgba(56, 189, 248, 0.1) !important;
}

/* Light Blue Border */
.border-light-blue {
    border-color: var(--light-blue) !important;
}

/* Contact Info Light Blue Icons */
.contact-icon-light-blue {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-blue-dark));
    color: #ffffff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Tailwind-like Light Blue Classes */
.text-sky-400 {
    color: #38bdf8 !important;
}

.text-sky-500 {
    color: #0ea5e9 !important;
}

.bg-sky-400 {
    background-color: #38bdf8 !important;
}

.bg-sky-500 {
    background-color: #0ea5e9 !important;
}

.hover\:text-sky-400:hover {
    color: #38bdf8 !important;
}

.hover\:bg-sky-400:hover {
    background-color: #38bdf8 !important;
}

/* ========================================
   Swiper Custom Styles
======================================== */
.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* ========================================
   Loading States
======================================== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin-slow 0.8s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ========================================
   Alerts & Notifications
======================================== */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ========================================
   Badges
======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-primary {
    background: #d1fae5;
    color: #065f46;
}

/* ========================================
   Tabs
======================================== */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: none;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.tab:hover {
    color: var(--text-dark);
}

.tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========================================
   Reviews
======================================== */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.review-stars {
    color: var(--accent-color);
    display: flex;
    gap: 2px;
}

.review-content {
    color: var(--text-light);
    line-height: 1.7;
}

.review-images {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.review-image {
    width: 250px;
    height: 250px;
    border-radius: 16px;
    object-fit: cover;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.review-image:hover {
    transform: scale(1.05);
}

/* ========================================
   Responsive Utilities
======================================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
    }

    .floating-shape {
        display: none;
    }

    .checkout-section {
        padding: 16px;
    }

    .order-summary {
        position: static;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .viewer-3d-container {
        height: 300px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 24px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .tabs {
        flex-direction: column;
    }

    .radio-group,
    .checkbox-group {
        flex-direction: column;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 16px;
    }
}

/* Print Styles */
@media print {
    .header-fixed,
    .whatsapp-button,
    .back-to-top,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }

    .order-details-card {
        box-shadow: none;
        border: 1px solid #000;
    }
}
