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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.5;
    color: #030213;
    background-color: #ffffff;
    font-size: 16px;
}

/* CSS Variables (Theme) */
:root {
    --background: #ffffff;
    --foreground: #030213;
    --primary: #030213;
    --primary-foreground: #ffffff;
    --secondary: #f3f3f5;
    --secondary-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input-background: #f3f3f5;
    --ring: #030213;
    --radius: 0.625rem;
}

/* Utility Classes */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.inset-4 {
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
}

.top-0 {
    top: 0;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.right-6 {
    right: 1.5rem;
}

.bottom-6 {
    bottom: 1.5rem;
}

.left-0 {
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

.w-full {
    width: 100%;
}

.w-6 {
    width: 1.5rem;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.w-12 {
    width: 3rem;
}

.w-10 {
    width: 2.5rem;
}

.w-14 {
    width: 3.5rem;
}

.w-16 {
    width: 4rem;
}

.w-8 {
    width: 2rem;
}

.h-full {
    height: 100%;
}

.h-6 {
    height: 1.5rem;
}

.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.h-10 {
    height: 2.5rem;
}

.h-14 {
    height: 3.5rem;
}

.h-16 {
    height: 4rem;
}

.h-8 {
    height: 2rem;
}

.h-screen {
    height: 100vh;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

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

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

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-foreground {
    color: var(--foreground);
}

.text-destructive {
    color: var(--destructive);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

/* Image loading styles */
.loading-placeholder {
    background-color: #f3f4f6;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.font-medium {
    font-weight: 500;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-normal {
    font-weight: 400;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.rounded-lg {
    border-radius: var(--radius);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded {
    border-radius: 0.25rem;
}

.bg-background {
    background-color: var(--background);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary-foreground {
    background-color: var(--primary-foreground);
}

.bg-muted {
    background-color: var(--muted);
}

.bg-input-background {
    background-color: var(--input-background);
}

.bg-\[#25D366\] {
    background-color: #25D366;
}

.bg-white {
    background-color: #ffffff;
}

.bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}

.bg-primary\/10 {
    background-color: rgba(3, 2, 19, 0.1);
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6);
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-black\/30 {
    --tw-gradient-to: rgba(0, 0, 0, 0.3);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-border {
    border-color: var(--border);
}

.object-cover {
    object-fit: cover;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out, fill 0.15s ease-in-out, stroke 0.15s ease-in-out, opacity 0.15s ease-in-out, box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.transition-opacity {
    transition: opacity 0.15s ease-in-out;
}

.transition-shadow {
    transition: box-shadow 0.15s ease-in-out;
}

.transition-transform {
    transition: transform 0.15s ease-in-out;
}

.duration-500 {
    transition-duration: 0.5s;
}

.hover\:bg-white\/90:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(3, 2, 19, 0.9);
}

.hover\:bg-muted:hover {
    background-color: var(--muted);
}

.hover\:bg-muted\/80:hover {
    background-color: rgba(236, 236, 240, 0.8);
}

.hover\:text-foreground:hover {
    color: var(--foreground);
}

.hover\:text-muted-foreground:hover {
    color: var(--muted-foreground);
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:y--8 {
    transform: translateY(-2rem);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.opacity-90 {
    opacity: 0.9;
}

.outline-none {
    outline: none;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--ring);
}

.focus\:ring-primary:focus {
    --tw-ring-color: var(--primary);
}

.resize-none {
    resize: none;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

/* Grid Classes */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Flex Direction */
.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.5;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

button {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    border: none;
    background: none;
    cursor: pointer;
}

input, select, textarea {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Navigation */
.nav-link {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* Modal Styles */
#product-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 50;
    align-items: center;
    justify-content: center;
}

#product-modal.hidden {
    display: none;
}

#modal-content {
    max-height: 90vh;
    width: calc(100% - 2rem);
    max-width: 56rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:inset-auto {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .md\:left-1\/2 {
        left: 50%;
    }

    .md\:top-1\/2 {
        top: 50%;
    }

    .md\:w-full {
        width: 100%;
    }

    .md\:max-w-4xl {
        max-width: 56rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Product Card Styles */
.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-0.5rem);
}

.product-image {
    transition: transform 0.5s ease;
}

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

/* Form Styles */
input, select, textarea {
    border: 1px solid var(--border);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--ring);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: background-color 0.15s ease;
}

.btn-primary:hover {
    background-color: rgba(3, 2, 19, 0.9);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: background-color 0.15s ease;
}

.btn-secondary:hover {
    background-color: rgba(243, 243, 245, 0.8);
}

/* Toast Styles (simple notification) */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #10b981;
}

.toast.error {
    background-color: var(--destructive);
}

/* Enhanced Footer Styles */
footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--background), rgba(255, 255, 255, 0.98));
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    font-size: 1.25rem;
    color: white;
}

.footer-logo-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0.25rem 0 0;
}

.footer-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 26rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.footer-divider {
    width: 1px;
    height: 1rem;
    background: var(--border);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-nav-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.footer-nav-link:hover i {
    transform: rotate(20deg);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: var(--background);
    color: var(--foreground);
    transition: all 0.2s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(3, 2, 19, 0.1);
}

.footer-newsletter-button {
    padding: 0 1.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-newsletter-button:hover {
    background: rgba(3, 2, 19, 0.9);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-3px) scale(1.05);
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.footer-social-link:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-copyright {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-social {
        justify-content: center;
    }
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #10b981;
}

.toast.error {
    background-color: var(--destructive);
}

/* Payment Methods Section Styles */
#pago .grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

#pago .text-center {
    text-align: center;
}

#pago .p-4 {
    padding: 1rem;
}

#pago .bg-white {
    background-color: #ffffff;
}

#pago .rounded-lg {
    border-radius: 0.5rem;
}

#pago .shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

#pago .hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

#pago .text-gray-800 {
    color: #2f2f3f;
}

#pago .text-gray-500 {
    color: #6b7280;
}

#pago .text-blue-500 {
    color: #3b82f6;
}

#pago .text-red-500 {
    color: #ef4444;
}

#pago .text-orange-500 {
    color: #f97316;
}

#pago .text-green-500 {
    color: #10b981;
}

#pago .text-purple-500 {
    color: #a855f7;
}

#pago .w-16 {
    width: 4rem;
}

#pago .h-12 {
    height: 3rem;
}

#pago .mb-3 {
    margin-bottom: 0.75rem;
}

#pago .font-semibold {
    font-weight: 600;
}

#pago .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}