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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    background: #ffffff;
}

.app-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    width: 100%;
}

.top-bar {
    background: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 12px;
    height: 70px;
    min-height: 70px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    z-index: 100;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #f0f0f5;
}

.logo-area { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-negative: 0; flex-shrink: 0; }
.logo-title {
    font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: 2px; margin: 0;
    background: linear-gradient(90deg, #7b2ff7 0%, #3b82f6 25%, #ec4899 50%, #f97316 75%, #7b2ff7 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shimmer 4s ease-in-out infinite;
    animation: shimmer 4s ease-in-out infinite;
    line-height: 1.2;
}

@-webkit-keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-nav { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 4px; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
.nav-link {
    color: #4a4a6a; text-decoration: none; font-weight: 500; padding: 7px 9px;
    border-radius: 30px; -webkit-transition: all 0.25s ease; transition: all 0.25s ease; background: #f8f9fc;
    font-size: clamp(0.6rem, 1.5vw, 0.7rem); letter-spacing: 0.3px; border: 1px solid #e8e8f0;
    white-space: nowrap; cursor: pointer;
}
.nav-link:hover { background: #f0f0ff; color: #7b2ff7; border-color: #c4b5fd; }
.nav-link.active { background: linear-gradient(135deg, #7b2ff7, #3b82f6); color: white; font-weight: 600; border-color: transparent; box-shadow: 0 4px 16px rgba(123,47,247,0.35); }

.global-header { background: linear-gradient(135deg, #7b2ff7, #3b82f6); padding: 12px 20px; text-align: center; -ms-flex-negative: 0; flex-shrink: 0; }
.global-title { font-family: 'Pricedown', 'Impact', 'Arial Black', sans-serif; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 400; letter-spacing: 2px; color: #ffffff; text-transform: uppercase; font-style: italic; margin: 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); -webkit-animation: softPulse 3s ease-in-out infinite; animation: softPulse 3s ease-in-out infinite; }
@-webkit-keyframes softPulse { 0%, 100% { -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(1.02); transform: scale(1.02); } }
@keyframes softPulse { 0%, 100% { -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(1.02); transform: scale(1.02); } }

.sections-wrapper { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; position: relative; }

.section { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.section.active { display: -webkit-box; display: -ms-flexbox; display: flex; }

#section-home { background: #f5f5f7; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 20px; }
.home-layout { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 20px; max-width: 1100px; width: 100%; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
.left-column { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-negative: 0; flex-shrink: 0; }
.slider-container { position: relative; width: 350px; height: 680px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); -ms-touch-action: pan-y; touch-action: pan-y; }
.slider-wrapper { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; -webkit-transition: opacity 0.6s ease; transition: opacity 0.6s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.slider-arrow { position: absolute; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.8); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; color: #7b2ff7; -webkit-transition: all 0.3s; transition: all 0.3s; }
.slider-arrow:hover { background: #7b2ff7; color: white; }
.slider-prev { left: 10px; } .slider-next { right: 10px; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); display: -webkit-box; display: -ms-flexbox; display: flex; gap: 6px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; -webkit-transition: all 0.3s; transition: all 0.3s; }
.dot.active { background: #7b2ff7; width: 20px; border-radius: 6px; }

.right-column { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 12px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
.right-grid { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; -ms-grid-rows: auto; align-content: start; }
.product-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,0.07); -webkit-transition: all 0.3s; transition: all 0.3s; }
.product-card:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.card-info { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding: 8px 10px; gap: 6px; }
.card-price { font-weight: 700; font-size: 0.8rem; color: #7b2ff7; white-space: nowrap; }
.btn-card { display: inline-block; padding: 6px 11px; border-radius: 16px; text-decoration: none; font-weight: 600; font-size: 0.7rem; -webkit-transition: all 0.3s; transition: all 0.3s; white-space: nowrap; cursor: pointer; background: linear-gradient(135deg, #7b2ff7, #3b82f6); color: white; border: none; }
.btn-card:hover { -webkit-transform: scale(1.05); transform: scale(1.05); }
.home-features { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 20px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; padding-top: 6px; }
.feature-item { font-size: 0.85rem; font-weight: 600; color: #16a34a; white-space: nowrap; }

#section-strollers, #section-premium, #section-furniture, #section-beds, #section-diapers { background: #f5f5f7; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 20px; }
.products-grid { display: -ms-grid; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; max-width: 1500px; width: 100%; }
.products-grid .product-card img { height: 160px; }

#section-about { background: #ffffff; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 40px 60px; }
.content-block { text-align: center; max-width: 800px; }
.section-title { font-family: 'Pricedown', 'Impact', 'Arial Black', sans-serif; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 400; letter-spacing: 2px; margin-bottom: 16px; color: #7b2ff7; line-height: 1.1; text-transform: uppercase; font-style: italic; -webkit-transform: skew(-3deg); transform: skew(-3deg); }
.section-subtitle { font-size: 1.2rem; color: #333; margin-bottom: 20px; font-weight: 600; }
.section-text { font-size: 1rem; color: #555; margin-bottom: 32px; line-height: 1.7; }
.section-buttons { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 16px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 1rem; letter-spacing: 0.5px; -webkit-transition: all 0.3s; transition: all 0.3s; white-space: nowrap; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #7b2ff7, #3b82f6); color: white; border: none; }
.btn-primary:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: #7b2ff7; border: 2px solid #7b2ff7; }
.btn-secondary:hover { background: #7b2ff7; color: white; -webkit-transform: translateY(-3px); transform: translateY(-3px); }

@media (max-width: 1300px) { .products-grid { grid-template-columns: repeat(5, 1fr); -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr; } }
@media (max-width: 900px) {
    .home-layout { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
    .left-column { width: 100%; } .right-column { width: 100%; }
    .slider-container { width: 300px; height: 580px; }
    .right-grid { grid-template-columns: repeat(3, 1fr); -ms-grid-columns: 1fr 1fr 1fr; width: 100%; }
    .product-card img { height: 110px; }
    .home-features { gap: 12px; }
    .products-grid { grid-template-columns: repeat(4, 1fr); -ms-grid-columns: 1fr 1fr 1fr 1fr; }
}
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); -ms-grid-columns: 1fr 1fr 1fr; } .products-grid .product-card img { height: 130px; } }
@media (max-width: 600px) {
    .top-bar { height: auto; min-height: auto; padding: 10px; gap: 6px; }
    .global-header { padding: 8px 14px; }
    #section-home { padding: 10px; }
    .slider-container { width: 280px; height: 450px; }
    .right-grid { grid-template-columns: repeat(2, 1fr); -ms-grid-columns: 1fr 1fr; }
    .home-features { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; }
    .feature-item { font-size: 0.7rem; }
    #section-about { padding: 20px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); -ms-grid-columns: 1fr 1fr 1fr; }
    .slider-arrow { width: 28px; height: 28px; font-size: 0.9rem; }
}
@media (max-width: 500px) { .products-grid { grid-template-columns: repeat(2, 1fr); -ms-grid-columns: 1fr 1fr; gap: 8px; } .products-grid .product-card img { height: 110px; } }
@media (max-width: 400px) {
    .slider-container { width: 250px; height: 400px; }
    .right-grid { grid-template-columns: repeat(2, 1fr); -ms-grid-columns: 1fr 1fr; gap: 8px; }
    .product-card img { height: 90px; }
    .card-price { font-size: 0.65rem; }
    .btn-card { padding: 5px 8px; font-size: 0.6rem; }
}