﻿/* ===== BASE STYLES & VARIABLES ===== */
:root {
    --bg-color: #f5f5f7;
    --surface-color: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #1d1d1f; /* Black for primary CTA like Apple */
    --link-color: #0066cc; /* Apple Blue for text links */
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.015em;
}

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

.container {
    max-width: 980px; /* Apple's standard max width for main content */
    margin: 0 auto;
    padding: 0 22px;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #f5f5f7;
    color: var(--text-primary);
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    border-bottom: 1px solid #d2d2d7;
}
.top-bar a {
    color: var(--link-color);
    font-weight: 500;
}
.top-bar a:hover {
    text-decoration: underline;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 48px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img {
    height: 24px;
    opacity: 0.88;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 12px;
    color: rgba(0,0,0,0.8);
    transition: opacity 0.2s;
}
.nav-links a:hover {
    opacity: 0.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: #333336;
}
.btn-link {
    color: var(--link-color);
    font-weight: 400;
    padding: 12px 0;
}
.btn-link:hover {
    text-decoration: underline;
}
.btn-buy {
    background-color: #f5f5f7;
    color: var(--link-color);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 980px;
}
.btn-buy:hover {
    background-color: var(--link-color);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    background: #ffffff;
    padding-top: 80px;
    overflow: hidden;
}
.hero-content {
    margin-bottom: 40px;
}
.sub-headline {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
}
.main-headline {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.hero-description {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 30px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.hero-image-large {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 22px;
}
.hero-image-large img {
    width: 100%;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* ===== CATALOG SECTION ===== */
.products {
    background-color: var(--bg-color);
    padding: 100px 0;
}
.section-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}
.product-card:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-img-wrapper {
    height: 300px;
    background: #ffffff;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-info h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.dimensions {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 24px;
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f7;
    border-radius: 8px;
    align-self: flex-start;
}
.price-action {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

/* ===== WHOLESALE INFO ===== */
.info-section {
    background: #ffffff;
    padding: 100px 0;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.info-card {
    text-align: center;
}
.info-icon {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.info-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}
.info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: transform 0.3s ease;
}
.floating-wa:hover {
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: #f5f5f7;
    padding: 60px 0 30px;
    border-top: 1px solid #d2d2d7;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-links a {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--link-color);
}
.footer-bottom {
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid #d2d2d7;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .main-headline { font-size: 44px; }
    .hero-description { font-size: 19px; }
    .info-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; gap: 16px; }
}
