@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Design Tokens & Theme Variables */
:root {
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Light Theme Palette */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent: #ff4500; /* Vibrant Orange-Red */
    --accent-hover: #e03d00;
    --accent-glow: rgba(255, 69, 0, 0.15);
    
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 16px -6px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

[data-theme="dark"] {
    /* Dark Theme Palette */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #6b7280;
    
    --accent: #ff5722;
    --accent-hover: #f4511e;
    --accent-glow: rgba(255, 87, 34, 0.25);
    
    --border-color: #374151;
    --glass-bg: rgba(17, 24, 39, 0.8);
    --glass-border: rgba(55, 65, 81, 0.5);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent), #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.logo-block {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 6px;
    position: relative;
    display: inline-block;
    box-shadow: 0 4px 10px var(--accent-glow);
}

.logo-block::before, .logo-block::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 6px;
}
.logo-block::before { left: 5px; }
.logo-block::after { right: 5px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Controls (Theme & Lang) */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.icon-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.lang-select-wrapper {
    position: relative;
}

.lang-select {
    padding: 8px 32px 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition);
}

.lang-select:hover {
    border-color: var(--accent);
}

.lang-select-wrapper::after {
    content: '▼';
    font-size: 10px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--accent-glow);
    border: 2px solid var(--accent);
}

.btn:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium Block Illustration instead of blank space */
.hero-image-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 460px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-toy-illustration {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.toy-brick {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    position: relative;
    animation: bounce 2s infinite ease-in-out;
}
.toy-brick-1 { background: #e03d00; animation-delay: 0s; }
.toy-brick-2 { background: #ff9500; animation-delay: 0.2s; }
.toy-brick-3 { background: #007aff; animation-delay: 0.4s; }
.toy-brick-4 { background: #34c759; animation-delay: 0.6s; }

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

.toy-brick::after, .toy-brick::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 6px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px 2px 0 0;
    top: -6px;
}
.toy-brick::before { left: 8px; }
.toy-brick::after { right: 8px; }

.hero-image-card-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-image-card-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* Catalog Filter and Search */
.catalog-controls {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-filter-bar {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-wrapper {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: var(--bg-secondary);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 20px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tab {
    padding: 12px 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.category-tab:hover, .category-tab.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

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

.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-image-container {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-name {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.product-meta-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.spec-pill {
    background-color: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

.product-price-format::before {
    content: 'Rp ';
    font-size: 14px;
    font-weight: 600;
}

.product-status {
    font-size: 12px;
    font-weight: 600;
}

.status-in-stock { color: #34c759; }
.status-out-of-stock { color: #ff3b30; }
.status-pre-order { color: #ff9500; }

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 18px;
}

/* Product Detail Page */
.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    margin-top: 30px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-wrapper {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumb-item {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--accent);
    transform: scale(1.05);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-category {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.detail-price-box {
    margin-bottom: 24px;
    padding: 16px 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

.specs-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.specs-title {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    flex: 1;
    font-size: 18px;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Related Products */
.related-section {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding-top: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-link {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* Back Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--accent);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    .nav-links {
        display: none; /* Make hamburger menu or hide details */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-title {
        font-size: 36px;
    }
    .detail-title {
        font-size: 28px;
    }
}

/* Category Showcase Styling */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.category-showcase-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-showcase-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.category-showcase-card:hover .category-showcase-icon {
    background-color: var(--accent);
    color: #ffffff;
    transform: rotate(15deg);
}

.category-showcase-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.category-showcase-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Playful Blocks Theme Refresh */
:root {
    --bg-primary: #fffdf7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f7ff;
    --text-primary: #172033;
    --text-secondary: #536173;
    --text-muted: #8c98aa;
    --accent: #ff4b2f;
    --accent-hover: #e23b22;
    --accent-glow: rgba(255, 75, 47, 0.18);
    --block-blue: #2563eb;
    --block-yellow: #ffc43d;
    --block-green: #22c55e;
    --block-red: #ff4b2f;
    --block-purple: #8b5cf6;
    --border-color: #e7eaf3;
    --shadow-sm: 0 6px 16px rgba(23, 32, 51, 0.06);
    --shadow-md: 0 12px 28px rgba(23, 32, 51, 0.09);
    --shadow-lg: 0 24px 60px rgba(23, 32, 51, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

body {
    background:
        radial-gradient(circle at 18px 18px, rgba(37, 99, 235, 0.08) 0 5px, transparent 6px) 0 0 / 72px 72px,
        linear-gradient(180deg, #fffdf7 0%, #f9fbff 52%, #fffdf7 100%);
}

.header {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 40px rgba(23, 32, 51, 0.06);
}

.logo-link {
    gap: 12px;
}

.logo-block {
    width: 34px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--block-red), #ff8a2a);
    box-shadow: inset 0 -5px 0 rgba(0,0,0,0.12), 0 10px 22px rgba(255, 75, 47, 0.26);
}

.logo-block::before,
.logo-block::after {
    width: 9px;
    height: 9px;
    top: -5px;
    background: #ffbd8b;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}

.logo-block::before { left: 6px; }
.logo-block::after { right: 6px; }

.logo-text {
    background: linear-gradient(135deg, #172033 20%, var(--block-blue) 52%, var(--accent) 86%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
}

.hero {
    min-height: 640px;
    padding: 88px 0 72px;
    background:
        linear-gradient(135deg, rgba(255,196,61,0.24), rgba(37,99,235,0.08) 48%, rgba(34,197,94,0.14)),
        #fffdf7;
    border-bottom: 0;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 16px;
    transform: rotate(-12deg);
    opacity: 0.14;
    pointer-events: none;
}

.hero::before {
    width: 140px;
    height: 72px;
    left: 4%;
    top: 16%;
    background: var(--block-blue);
    box-shadow:
        24px -18px 0 var(--block-yellow),
        72px 130px 0 var(--block-green);
}

.hero::after {
    width: 120px;
    height: 60px;
    right: 4%;
    bottom: 12%;
    background: var(--block-red);
    box-shadow:
        -70px -120px 0 var(--block-purple),
        -170px 20px 0 var(--block-yellow);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    background: #ffffff;
    border: 2px solid rgba(255, 196, 61, 0.9);
    color: #172033;
    box-shadow: 0 10px 24px rgba(255, 196, 61, 0.22);
    border-radius: 10px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-title span {
    color: var(--block-blue);
    text-shadow: 3px 3px 0 rgba(255, 196, 61, 0.8);
}

.hero-desc {
    max-width: 620px;
    font-size: 18px;
    color: #445168;
}

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

.btn {
    border-radius: 12px;
    min-height: 48px;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.13), 0 12px 24px var(--accent-glow);
}

.btn-secondary {
    background: #ffffff;
    border-color: #d9deea;
    box-shadow: inset 0 -3px 0 rgba(23,32,51,0.08), 0 12px 26px rgba(23,32,51,0.06);
}

.hero-image-card {
    max-width: 500px;
    min-height: 390px;
    border: 0;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, var(--block-yellow), var(--block-blue), var(--block-green), var(--block-red)) border-box;
    border: 4px solid transparent;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(23, 32, 51, 0.18);
}

.hero-image-card::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    background:
        radial-gradient(circle, rgba(37,99,235,0.11) 0 7px, transparent 8px) 0 0 / 42px 42px;
    pointer-events: none;
}

.block-scene {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: end;
    justify-content: center;
    gap: 14px;
    min-height: 210px;
    margin-bottom: 22px;
}

.block-tower {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 4px;
}

.block-tower-left { transform: rotate(-8deg) translateY(16px); }
.block-tower-center { transform: translateY(-8px); }
.block-tower-right { transform: rotate(7deg) translateY(24px); }

.stud-brick {
    width: 76px;
    height: 44px;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 -8px 0 rgba(0,0,0,0.16), 0 12px 22px rgba(23,32,51,0.14);
}

.stud-brick::before,
.stud-brick::after {
    content: '';
    position: absolute;
    top: -9px;
    width: 20px;
    height: 14px;
    border-radius: 8px 8px 4px 4px;
    background: rgba(255,255,255,0.32);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.13);
}

.stud-brick::before { left: 13px; }
.stud-brick::after { right: 13px; }

.brick-wide { width: 108px; }
.brick-tall { height: 74px; }
.brick-red { background: var(--block-red); }
.brick-blue { background: var(--block-blue); }
.brick-yellow { background: var(--block-yellow); }
.brick-green { background: var(--block-green); }

.hero-image-card-title,
.hero-image-card-subtitle {
    position: relative;
    z-index: 2;
}

.hero-image-card-title {
    font-size: 30px;
}

.section {
    padding: 76px 0;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: 0;
}

.section-title span {
    color: var(--accent);
}

.category-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.category-showcase-card {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    border: 2px solid #eef1f7;
    border-radius: 18px;
    background:
        radial-gradient(circle at 24px 24px, rgba(255,255,255,0.55) 0 7px, transparent 8px),
        linear-gradient(160deg, #ffffff, #f9fbff);
    background-size: 48px 48px, auto;
    overflow: hidden;
}

.category-showcase-card::after {
    content: '';
    position: absolute;
    inset: auto 18px 18px auto;
    width: 72px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 196, 61, 0.42);
    transform: rotate(-12deg);
    z-index: -1;
}

.category-showcase-card:hover {
    border-color: var(--block-blue);
    transform: translateY(-8px) rotate(-1deg);
}

.category-showcase-icon {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: var(--block-blue);
    color: #ffffff;
    box-shadow: inset 0 -7px 0 rgba(0,0,0,0.14), 0 14px 28px rgba(37,99,235,0.2);
}

.category-showcase-card:nth-child(2n) .category-showcase-icon { background: var(--block-red); }
.category-showcase-card:nth-child(3n) .category-showcase-icon { background: var(--block-green); }
.category-showcase-card:nth-child(4n) .category-showcase-icon { background: var(--block-yellow); color: #172033; }

.products-grid {
    gap: 28px;
}

.product-card {
    border: 2px solid #ecf0f8;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(23,32,51,0.07);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--block-blue);
}

.product-image-container {
    background:
        radial-gradient(circle at 20px 20px, rgba(255,255,255,0.62) 0 8px, transparent 9px) 0 0 / 52px 52px,
        linear-gradient(135deg, #edf6ff, #fff5dc);
}

.product-image-container::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -8px;
    height: 16px;
    background: linear-gradient(90deg, var(--block-red), var(--block-yellow), var(--block-green), var(--block-blue));
    border-radius: 999px;
}

.product-featured-badge {
    border-radius: 9px;
    background: var(--block-red);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.16), 0 10px 18px rgba(255,75,47,0.22);
}

.product-category-name {
    color: var(--block-blue);
    letter-spacing: 0.7px;
}

.spec-pill {
    border-radius: 999px;
    background: #fff6d8;
    color: #8a5b00;
    border: 1px solid #ffe29a;
}

.product-footer {
    align-items: flex-start;
    gap: 12px;
}

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

.catalog-controls {
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid #edf0f7;
    box-shadow: 0 16px 40px rgba(23,32,51,0.06);
}

.category-tab {
    border-radius: 12px;
    box-shadow: inset 0 -3px 0 rgba(23,32,51,0.08);
}

.category-tab.active {
    background: var(--block-blue);
    border-color: var(--block-blue);
}

.detail-layout {
    align-items: start;
}

.main-image-wrapper,
.specs-card,
.detail-price-box {
    border: 2px solid #edf0f7;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23,32,51,0.07);
}

.main-image-wrapper {
    background:
        radial-gradient(circle at 24px 24px, rgba(255,255,255,0.62) 0 8px, transparent 9px) 0 0 / 54px 54px,
        linear-gradient(135deg, #f0f7ff, #fff4d5);
}

.specs-title {
    color: var(--block-blue);
}

.footer {
    background:
        linear-gradient(180deg, #172033, #101827);
    color: #ffffff;
    border-top: 0;
}

.footer .logo-text {
    background: linear-gradient(135deg, #ffffff, #ffc43d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-title,
.footer-bottom strong {
    color: #ffffff;
}

.footer-brand-desc,
.footer-link,
.footer-bottom {
    color: rgba(255,255,255,0.72);
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
    }
    .block-scene {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
    }
    .header-container,
    .hero-grid,
    .hero-content,
    .hero-desc,
    .hero-actions,
    .hero-image-wrapper,
    .hero-image-card,
    .catalog-controls,
    .product-card,
    .category-showcase-card {
        max-width: calc(100vw - 48px);
    }
    .header-actions {
        flex-shrink: 0;
    }
    .lang-select {
        max-width: 72px;
    }
    .hero {
        padding: 52px 0 56px;
    }
    .hero-grid,
    .hero-content,
    .hero-image-wrapper {
        min-width: 0;
    }
    .hero-content {
        text-align: left;
        max-width: 100%;
    }
    .badge {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.25;
        white-space: normal;
    }
    .hero-title {
        font-size: 34px;
        line-height: 1.04;
        overflow-wrap: anywhere;
    }
    .hero-title span {
        display: block;
        text-shadow: 2px 2px 0 rgba(255, 196, 61, 0.8);
    }
    .hero-desc {
        font-size: 16px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
    }
    .hero-image-wrapper {
        order: 0;
        width: 100%;
        overflow: hidden;
    }
    .hero-image-card {
        width: 100%;
        min-height: 300px;
    }
    .block-scene {
        transform: scale(0.72);
        margin-bottom: 0;
    }
    .hero-image-card-title {
        font-size: 24px;
    }
    .hero-image-card-subtitle {
        font-size: 13px;
    }
    .section-title {
        font-size: 28px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .section-title span {
        display: block;
    }
    .category-showcase-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-footer {
        flex-direction: column;
    }
    .product-status {
        text-align: left;
    }
}
