:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #333333;
    --card-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --font-main: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-logo {
    height: 140px; /* Increased size */
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    position: relative;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: #333;
    border-bottom: none;
}

.currency-indicator {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    border: 2px solid transparent; /* Prepare for border change */
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    cursor: default;
}

.currency-indicator:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #25D366; /* Green Border */
    color: #25D366; /* Green Text */
}

/* Floating Bills Animation */
.currency-indicator::before,
.currency-indicator::after {
    content: '💵';
    position: absolute;
    opacity: 0;
    pointer-events: none;
    font-size: 1.5rem;
}

.currency-indicator:hover::before {
    animation: floatUp 1s ease-out infinite;
    left: 10%;
    top: -20px;
}

.currency-indicator:hover::after {
    animation: floatUp 1s ease-out infinite 0.5s; /* Delay */
    right: 10%;
    top: -20px;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-30px) rotate(20deg); opacity: 0; }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 1rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #000;
    color: #fff;
    min-height: 500px; /* Increased height to accommodate search bar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #000;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-size: 1rem;
    letter-spacing: 1px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Catalog Grid */
.catalog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Filter Bar */
.filter-bar {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent Black */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 16px; /* Rounded corners */
    margin-top: 2rem; /* Add spacing from hero text */
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff; /* White text for contrast */
}

.filter-select, .filter-input {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.filter-select:focus, .filter-input:focus {
    border-color: #000;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    margin-top: 1rem;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    text-transform: none;
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Wider columns */
    gap: 2rem;
}

/* Product Card - Designed to match image.png */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

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

.card-image-container {
    position: relative;
    width: 100%;
    height: 450px; /* Increased height for better details */
    background-color: #fff;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain for clean look without cutting */
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-brand {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.card-pricing {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.price-usd {
    font-size: 0.9rem;
    color: #666;
    order: 2; /* Move below ARS */
}

.price-ars {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    order: 1; /* Move above USD */
}

.btn-details {
    width: 100%;
    padding: 0.8rem;
    background-color: transparent;
    border: 1px solid #000;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-details:hover {
    background-color: #000;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #777;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 200; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px); /* Modern blur effect */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-content {
    background-color: #fff;
    margin: 2% auto; 
    padding: 0;
    border: none;
    width: 95%; 
    max-width: 1200px; /* Increased width */
    border-radius: 12px; /* Smooth rounded corners */
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.close-modal {
    color: #333;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s, transform 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.modal-gallery {
    flex: 1.5; /* Give gallery more relative space */
    min-width: 300px;
    position: relative;
    background-color: #fff; /* Changed from black to white */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 650px; /* Significantly increased height */
    padding: 1rem;
}

.modal-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.nav-btn.prev { left: 0; }
.nav-btn.next { right: 0; }

.nav-btn:hover { background-color: rgba(0,0,0,0.8); }

.modal-info {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-pricing {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.price-ars-main {
    font-size: 2rem;
    font-weight: 900;
    color: #000;
}

.price-usd-sub {
    font-size: 1rem;
    color: #666;
}

.btn-buy-modal {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: auto;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.fab-btn img {
    width: 35px;
    height: 35px;
}

.fab-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25D366;
}

.instagram {
    background-color: #fff; /* Instagram usually white or gradient, keeping simple white */
}

/* Checkout Page */
.checkout-page {
    background-color: #f4f4f4;
}

.checkout-steps {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
}

.checkout-steps .step.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.checkout-form-section, .checkout-summary-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkout-form-section h2, .checkout-summary-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #000;
    background-color: #fdfdfd;
}

.payment-option input {
    width: auto;
}

.payment-details {
    display: flex;
    flex-direction: column;
}

.payment-title {
    font-weight: bold;
}

.payment-desc {
    font-size: 0.85rem;
    color: #666;
}

#transfer-discount-text {
    color: #25D366;
    font-weight: bold;
}

/* Checkout Summary */
.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
    position: relative;
}

.summary-item-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.summary-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.summary-item-details p {
    font-size: 0.85rem;
    color: #666;
}

.summary-item-price {
    font-weight: bold;
    color: #000 !important;
}

.btn-remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}

.btn-remove-item:hover {
    color: #ff4444;
}

.summary-totals {
    margin-top: 2rem;
    border-top: 2px solid #000;
    padding-top: 1rem;
}

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

.discount-row {
    color: #25D366;
    font-weight: bold;
}

.total-row {
    font-size: 1.4rem;
    font-weight: 900;
    margin-top: 1rem;
}

.btn-checkout-submit {
    width: 100%;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-checkout-submit:hover {
    background-color: #333;
}

.btn-checkout-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Success Page */
.success-page {
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.success-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.check-icon {
    width: 80px;
    height: 80px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.success-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.order-id {
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    background-color: #f4f4f4;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.payment-instruction-box {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

.payment-instruction-box h3 {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.cbu-card p {
    margin-bottom: 0.5rem;
}

.cbu-number {
    font-family: monospace;
    font-size: 1.1rem;
    background-color: #fff;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.total-highlight {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    color: #000;
}

.btn-mp {
    display: block;
    background-color: #009EE3;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-mp:hover {
    background-color: #007bb0;
}

.validation-section {
    text-align: left;
    margin-bottom: 2rem;
}

.validation-section input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.validation-section input:focus {
    border-color: #000;
    outline: none;
}

.btn-whatsapp-final {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-whatsapp-final.disabled {
    background-color: #ccc;
    pointer-events: none;
    opacity: 0.7;
}

.btn-whatsapp-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.back-home {
    display: inline-block;
    margin-top: 2rem;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .checkout-summary-section {
        order: -1; /* Show summary first on mobile? Usually better last or hidden. Leaving as is (User Data first usually better for flow unless accordions) */
        /* Actually, let's keep it below form on mobile to focus on input */
        order: 1;
    }
}

/* Purchase Method Page Specifics */
.purchase-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    text-align: center;
}

.purchase-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.purchase-image-container {
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.purchase-image {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%); /* Black and White aesthetic */
    transition: filter 0.3s;
}

.purchase-image:hover {
    filter: grayscale(0%); /* Reveal color on hover for effect */
}

.steps-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.2s;
}

.step-item:hover {
    transform: translateX(10px);
    background-color: #fafafa;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: #e0e0e0; /* Subtle number */
    margin-right: 1.5rem;
    line-height: 1;
}

.step-item p {
    font-size: 1.1rem;
    margin: 0;
    padding-top: 0.2rem;
}

.cta-container {
    margin-top: 3rem;
}

.btn-striking {
    display: inline-block;
    background: linear-gradient(45deg, #00c6ff, #0072ff); /* Blue Gradient default */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-striking:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.6);
    background: linear-gradient(45deg, #ff00cc, #333399); /* Pink/Purple shift on hover */
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    .modal-gallery {
        height: 300px;
    }
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .purchase-container h2 {
        font-size: 1.8rem;
    }
    .btn-striking {
        width: 100%;
        padding: 1rem;
    }
}
/* About Page Styles */
.about-hero-img, .about-bottom-img {
    width: 100%;
    overflow: hidden;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.about-content-section {
    padding: 4rem 1rem;
    background-color: #fff;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
    display: inline-block;
    width: 50%;
}

.about-text {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-list {
    margin: 2rem 0;
    padding-left: 2rem;
    list-style-type: square;
}

.about-list li {
    margin-bottom: 1rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-subtitle {
        width: 80%;
        font-size: 1rem;
    }
    
    .about-content-section {
        padding: 2rem 1rem;
    }

    .full-width-img {
        max-height: 300px;
    }
}
