/**
 * ScriptStore - Main Stylesheet
 * ==============================
 * Modern, responsive e-commerce styles
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --black: #000000;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, #334155 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    
    --transition: all 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NOTIFICATION BAR
   ============================================ */
.notification-bar {
    position: relative;
    z-index: 1050;
    font-size: 0.875rem;
    font-weight: 500;
}

.notification-link {
    text-decoration: underline;
}

.notification-close {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.notification-close:hover {
    opacity: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar.sticky {
    box-shadow: var(--shadow);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.625rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-btn {
    color: var(--dark) !important;
    padding: 0.5rem !important;
    font-size: 1.125rem;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: var(--light);
}

/* ============================================
   SEARCH MODAL
   ============================================ */
.search-form .form-control {
    font-size: 1.125rem;
}

.search-form .form-control:focus {
    box-shadow: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    border: none;
}

.btn-dark:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fce7f3 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -5%;
    animation: float 3s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.product-badge.sale {
    background: var(--danger);
    color: var(--white);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-title a {
    color: var(--dark);
}

.product-title a:hover {
    color: var(--primary);
}

.product-description {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    flex: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-sales {
    color: var(--gray);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price-original {
    font-size: 0.875rem;
    color: var(--gray);
    text-decoration: line-through;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 0;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.trust-badge-content h5 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.trust-badge-content p {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
}

.countdown-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.countdown-subtitle {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-newsletter {
    background: var(--gradient-primary);
    padding: 3rem 0;
    color: var(--white);
}

.footer-newsletter h3 {
    font-size: 1.5rem;
}

.footer-newsletter .form-control {
    border: none;
    padding: 0.875rem 1.25rem;
}

.footer-newsletter .btn {
    background: var(--dark);
    border: none;
    padding: 0.875rem 1.5rem;
}

.footer-main {
    padding: 4rem 0;
}

.footer-brand .logo-icon {
    background: var(--white);
    color: var(--primary);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   EXIT POPUP
   ============================================ */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.exit-popup.show .exit-popup-content {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.exit-popup-close:hover {
    color: var(--dark);
}

.exit-popup-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.exit-popup h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.exit-popup p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.exit-popup-form {
    max-width: 300px;
    margin: 0 auto;
}

.exit-popup-note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.product-main-image img {
    width: 100%;
    height: auto;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: var(--primary);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding-left: 2rem;
}

.product-details-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-details-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-details-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-details-price .current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-details-price .original-price {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: line-through;
}

.product-details-price .discount-badge {
    background: var(--danger);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-details-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-details-actions .btn {
    flex: 1;
    padding: 1rem 2rem;
}

.product-info-box {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.product-info-item:last-child {
    border-bottom: none;
}

.product-info-label {
    color: var(--gray);
}

.product-info-value {
    font-weight: 600;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-share-title {
    font-size: 0.875rem;
    color: var(--gray);
}

.product-share-links {
    display: flex;
    gap: 0.5rem;
}

.product-share-links a {
    width: 36px;
    height: 36px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.product-share-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   TABS
   ============================================ */
.nav-tabs {
    border-bottom: 2px solid var(--gray-light);
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--gray);
    font-weight: 600;
    padding: 1rem 1.5rem !important;
    border-radius: var(--radius) var(--radius) 0 0;
}

.nav-tabs .nav-link::after {
    display: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: var(--light);
}

.tab-content {
    padding: 2rem 0;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-title a {
    color: var(--dark);
}

.cart-item-meta {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-summary-row.discount {
    color: var(--success);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-light);
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-section {
    background: var(--light);
    min-height: calc(100vh - 200px);
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.checkout-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.auth-header h2 {
    margin-bottom: 0.5rem;
}

.auth-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.auth-body {
    padding: 2rem;
}

.auth-footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--light);
    border-top: 1px solid var(--gray-light);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.dashboard-user {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.dashboard-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 1rem;
    object-fit: cover;
}

.dashboard-user-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dashboard-user-email {
    font-size: 0.875rem;
    opacity: 0.9;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dashboard-nav li a:hover,
.dashboard-nav li a.active {
    background: var(--light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.dashboard-nav li a i {
    width: 20px;
    text-align: center;
}

.dashboard-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-stat-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.dashboard-stat-content h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.dashboard-stat-content p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ============================================
   DOWNLOADS
   ============================================ */
.download-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.download-item-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

.download-item-details {
    flex: 1;
}

.download-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.download-item-meta {
    font-size: 0.875rem;
    color: var(--gray);
}

.download-item-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.download-item-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.download-item-status.expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ============================================
   FORMS
   ============================================ */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-group-text {
    background: var(--light);
    border: 2px solid var(--gray-light);
    border-right: none;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
    border-radius: var(--radius);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    border-radius: var(--radius);
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.page-link:hover {
    background: var(--light);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--gray);
}

.breadcrumb-item.active {
    color: var(--dark);
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .product-details {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .dashboard-sidebar {
        margin-bottom: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-actions {
        flex-direction: row;
        align-items: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.75rem;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .product-details-actions {
        flex-direction: column;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-primary {
    color: var(--primary) !important;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}
