/* ===== CSS Variables ===== */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Header ===== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: var(--highlight-color);
    letter-spacing: 3px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--highlight-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 140px 0 80px;
    color: var(--white);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo-img {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h2 span {
    color: var(--highlight-color);
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Info Banner ===== */
.info-banner {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item svg {
    color: var(--highlight-color);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
}

.info-item span {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Catalog Section ===== */
.catalog {
    padding: 60px 0;
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
}

.catalog-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.catalog-header p {
    color: var(--text-light);
}

/* ===== Filters ===== */
.filters {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.price-toggle {
    display: flex;
    gap: 8px;
}

.price-btn {
    padding: 10px 24px;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.price-btn:hover {
    border-color: var(--highlight-color);
}

.price-btn.active {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: var(--white);
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background-color: var(--highlight-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-size {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-prices {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.product-price .label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
}

.product-price .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .value.highlight {
    color: var(--highlight-color);
}

.product-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.product-whatsapp:hover {
    background-color: var(--whatsapp-hover);
}

/* ===== About Section ===== */
.about {
    background-color: var(--white);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 24px;
}

.about-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-weight: 500;
}

.about-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.about-card p {
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.contact-phone {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 13px;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--highlight-color);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    padding: 24px;
    background-color: var(--bg-color);
}

.modal-main-image {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--white);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: var(--transition);
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: var(--highlight-color);
}

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

.modal-info {
    padding: 40px;
}

.modal-info h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.modal-prices {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.modal-price {
    flex: 1;
    padding: 16px;
    border-radius: var(--radius);
    background-color: var(--bg-color);
}

.modal-price .price-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.modal-price .price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-price.dropshipping .price-value {
    color: var(--highlight-color);
}

.modal-details {
    margin-bottom: 32px;
}

.modal-details p {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.modal-details p:last-child {
    border-bottom: none;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-logo-img {
        width: 200px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .info-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-header h2 {
        font-size: 24px;
    }

    .filter-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-prices {
        flex-direction: column;
        gap: 8px;
    }

    .product-price .value {
        font-size: 16px;
    }

    .about {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact h2 {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-info {
        padding: 24px;
    }

    .modal-info h2 {
        font-size: 20px;
    }

    .modal-prices {
        flex-direction: column;
        gap: 12px;
    }

    .modal-price .price-value {
        font-size: 24px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        height: 60px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .filters {
        padding: 16px;
    }
}

/* ===== No Products Message ===== */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-products svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-products h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}
