/* ============================================
   VIO APPAREL - Main Stylesheet
   FashionGo 1:1 Inspired B2B Wholesale Platform
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #ff4081;
    --primary-dark: #e0336b;
    --primary-light: #fff0f5;
    --dark: #1a1a1a;
    --gray-900: #333;
    --gray-700: #666;
    --gray-500: #999;
    --gray-300: #ccc;
    --gray-100: #f5f5f5;
    --white: #fff;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --radius: 8px;
    --radius-sm: 4px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --max-width: 1280px;
    --header-height: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* --- Header / Navigation --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.header-logo .logo-icon {
    height: 38px;
    width: auto;
    margin-right: 2px;
}

.header-logo span {
    color: var(--primary);
    margin-left: 0;
}

.header-logo span {
    color: var(--primary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    transition: var(--transition);
    position: relative;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Hide nav-cta on desktop */
.header-nav .nav-cta {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Language Switcher --- */
.lang-switch {
    position: relative;
    display: inline-block;
}
.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid var(--gray-300);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-800);
    font-family: inherit;
    transition: border-color 0.2s;
}
.lang-switch-btn:hover { border-color: var(--primary); }
.lang-switch-btn .globe { font-size: 15px; }
.lang-switch-btn .arrow { font-size: 10px; margin-left: 2px; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px 0;
}
.lang-dropdown.show { display: block; }
.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--gray-800);
    text-decoration: none;
    transition: background 0.15s;
}
.lang-dropdown a:hover { background: var(--gray-100); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }

/* --- Hero Banner --- */
.hero {
    position: relative;
    background: #1a1a2e;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.5) 50%, rgba(26,26,46,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,64,129,0.2);
    color: var(--primary);
    border: 1px solid rgba(255,64,129,0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slogan {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 36px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 2px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dots .dot.active {
    background: var(--primary);
}

/* --- Section Common --- */
.section {
    padding: 28px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Value Props --- */
.value-props {
    background: var(--white);
    padding: 56px 0 28px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    display: block;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.value-card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

/* --- Category Grid --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.category-overlay h3 {
    font-size: 22px;
    font-weight: 700;
}

.category-overlay span {
    font-size: 14px;
    opacity: 0.9;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.product-badge.bestseller {
    background: #ff9800;
}

.product-info {
    padding: 16px;
}

.product-category {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-moq {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-500);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* --- About Section --- */
.about {
    background: var(--gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--gray-300);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 16px;
}

/* --- How to Order --- */
.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-card p {
    font-size: 14px;
    color: var(--gray-700);
}

.step-arrow {
    position: absolute;
    right: -24px;
    top: 56px;
    font-size: 24px;
    color: var(--gray-300);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    white-space: nowrap;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    height: 38px;
    width: auto;
    margin-right: 2px;
}

.footer-brand h3 span {
    color: var(--primary);
    margin-left: 0;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
    background: var(--gray-100);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-700);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* --- Category Page --- */
.category-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-sub-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-sub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-sub-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-sub-card h3 {
    padding: 12px 12px 4px;
    font-size: 16px;
    font-weight: 600;
}

.category-sub-card span {
    display: block;
    padding: 0 12px 16px;
    font-size: 13px;
    color: var(--gray-500);
}

/* --- Product Detail Page --- */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.product-gallery {
    position: relative;
}

.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    margin-bottom: 12px;
    background: var(--gray-100);
}

.gallery-main img {
    width: 100%;
    height: 530px;
    object-fit: cover;
    object-position: top;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    object-position: top;
}

.product-info-section .product-category-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition);
}

.product-info-section .product-category-link:hover {
    text-decoration: underline;
}

.product-info-section h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.product-sku {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-count {
    font-size: 14px;
    color: var(--gray-500);
}

.price-table {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.price-table h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 15px;
}

.price-row:last-child {
    border-bottom: none;
}

.price-qty {
    color: var(--gray-700);
}

.price-value {
    font-weight: 700;
    color: var(--primary);
}

.product-moq-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.moq-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.moq-item .icon {
    font-size: 18px;
}

.product-options {
    margin-bottom: 24px;
}

.product-options label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.color-options {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.color-swatch:hover,
.color-swatch.selected {
    border-color: var(--primary);
    transform: scale(1.1);
}

.size-options {
    display: flex;
    gap: 8px;
}

.size-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover,
.size-btn.selected {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Product Specs --- */
.product-specs {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-300);
}

.product-specs h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.spec-label {
    color: var(--gray-700);
    font-weight: 500;
}

.spec-value {
    color: var(--dark);
    font-weight: 600;
}

.size-chart {
    margin-top: 40px;
    overflow-x: auto;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.size-chart th,
.size-chart td {
    padding: 10px 14px;
    text-align: center;
    border: 1px solid var(--gray-300);
}

.size-chart th {
    background: var(--gray-900);
    color: var(--white);
    font-weight: 600;
}

.size-chart td {
    background: var(--white);
}

/* --- B2B Info Box --- */
.b2b-info {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
}

.b2b-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.b2b-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.b2b-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.b2b-item .check {
    font-size: 16px;
}

/* --- Login Prompt Overlay --- */
.login-prompt {
    background: var(--primary-light);
    border: 1px solid rgba(255,64,129,0.3);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.login-prompt p {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
}

/* --- Responsive --- */

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-sub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-image {
        min-height: 300px;
    }
    .hero h1 {
        font-size: 36px;
    }
}

/* Mobile: <=768px */
@media (max-width: 768px) {
    /* --- Global --- */
    html { font-size: 15px; }
    .container { padding: 0 16px; }

    /* --- Header / Hamburger --- */
    .header { height: 56px; padding: 0 12px; }
    .header-inner { gap: 4px; }
    .header-logo { font-size: 19px; font-weight: 800; white-space: nowrap; flex: 1 1 auto; margin-right: auto; letter-spacing: -0.5px; }
    .header-logo .logo-icon { height: 32px; width: auto; flex-shrink: 0; margin-right: 2px; }
    .header-logo span { font-size: inherit; letter-spacing: inherit; }

    .menu-toggle { display: block; }

    .header-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 8px 16px 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        display: none;
        gap: 2px;
    }
    .header-nav.open { display: flex; }
    .header-nav a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 500;
    }
    .header-nav a:hover { background: var(--gray-100); }
    .header-nav a::after { display: none; }

    .header-actions { gap: 4px; flex-shrink: 0; }
    .header-actions .btn-sm {
        display: none;
    }

    /* --- Mobile Menu Toggle (Hamburger) --- */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        flex-shrink: 0;
    }
    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--dark);
        margin: 4px 0;
        border-radius: 2px;
        transition: var(--transition);
    }
    .menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-nav .nav-cta {
        display: block;
        text-align: center;
        padding: 12px 16px;
        margin-top: 6px;
        border-radius: var(--radius);
        font-weight: 600;
    }
    .header-nav .nav-cta:first-of-type {
        border: 1px solid var(--primary);
        color: var(--primary);
    }
    .header-nav .nav-cta:last-of-type {
        background: var(--primary);
        color: #fff;
    }
    .lang-switch-btn {
        padding: 3px 5px;
        font-size: 11px;
        gap: 1px;
    }
    .lang-switch-btn .globe { font-size: 12px; }
    .lang-switch-btn .arrow { font-size: 7px; }
    .lang-dropdown {
        right: 0;
        min-width: 160px;
    }
    .lang-dropdown a { font-size: 13px; padding: 8px 12px; }

    /* --- Hero --- */
    .hero {
        min-height: 360px;
    }
    .hero-slide img {
        object-fit: cover;
        object-position: 30% top;
    }
    .hero h1 {
        font-size: 26px;
        line-height: 1.25;
    }
    .hero h1 span { font-size: 22px; }
    .hero p {
        font-size: 14px;
        line-height: 1.5;
    }
    .hero-slogan { font-size: 15px; }
    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-buttons .btn-lg {
        padding: 14px 20px;
        font-size: 15px;
    }
    .hero-content {
        padding: 24px 16px 40px;
    }
    .hero-overlay {
        background: rgba(0,0,0,0.45);
    }
    .hero-dots { bottom: 12px; }

    /* --- Section --- */
    .section { padding: 40px 0; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 14px; }
    .section-label { font-size: 12px; }
    .section-header { margin-bottom: 24px; }

    /* --- Value Props --- */
    .value-props { padding: 32px 0; }
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .value-card { padding: 20px 14px; }
    .value-card h3 { font-size: 15px; }
    .value-card p { font-size: 12px; }
    .value-icon svg { width: 36px; height: 36px; }

    /* --- Category Cards --- */
    #categories .container { padding: 0; }
    .category-grid { gap: 4px; }
    .category-card { height: 200px; aspect-ratio: auto; }
    .category-overlay h3 { font-size: 20px; }
    .category-overlay span { font-size: 13px; }

    /* --- Sub-Category Cards --- */
    .category-sub-card img { height: 160px; }
    .category-sub-card h3 { font-size: 14px; }
    .category-sub-card span { font-size: 12px; }

    /* --- Product Cards --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-image { height: auto; aspect-ratio: 3/4; }
    .product-info { padding: 10px 12px; }
    .product-name {
        font-size: 13px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-category { font-size: 11px; }
    .product-moq { font-size: 11px; }
    .product-price { font-size: 15px; }
    .product-badge {
        font-size: 10px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    /* --- Product Detail --- */
    .product-detail { padding: 24px 0; }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-gallery { max-width: 100%; }
    .gallery-main img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        object-position: top center;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-top: 8px;
    }
    .gallery-thumb img {
        height: 70px;
    }
    .product-info-section h1 {
        font-size: 20px;
        line-height: 1.3;
    }
    .product-sku { font-size: 13px; }
    .price-table h3 { font-size: 14px; }
    .price-row { padding: 10px 12px; }
    .price-qty { font-size: 13px; }
    .price-value { font-size: 16px; }
    .b2b-grid { grid-template-columns: 1fr; gap: 6px; }
    .b2b-item { font-size: 13px; padding: 8px 10px; }
    .moq-item { font-size: 13px; }

    /* --- Specs & Size Chart --- */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .spec-item {
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-100);
        flex-direction: column;
        gap: 4px;
    }
    .spec-label { min-width: auto; font-size: 12px; }
    .spec-value { font-size: 14px; }
    .size-chart {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .size-chart table { min-width: 480px; font-size: 13px; }
    .size-chart th, .size-chart td { padding: 8px 10px; }

    /* --- Action Buttons --- */
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    .product-actions .btn-lg {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .product-options { gap: 8px; }
    .product-options label { min-width: 40px; font-size: 13px; }
    .size-btn {
        width: 40px;
        height: 36px;
        font-size: 13px;
    }
    .color-swatch {
        width: 30px;
        height: 30px;
    }
    .login-prompt { padding: 16px; }
    .login-prompt p { font-size: 14px; }

    /* --- Page Header / Breadcrumb --- */
    .page-header { padding: 20px 0; }
    .page-header h1 { font-size: 24px; }
    .breadcrumb { font-size: 13px; }

    /* --- About --- */
    .about-content { gap: 24px; }
    .about-image { min-height: 220px; }
    .about-text h2 { font-size: 22px; }
    .about-text p { font-size: 14px; line-height: 1.6; }
    .about-badges { gap: 6px; }
    .about-badge {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* --- Steps --- */
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { padding: 20px; }
    .step-number { font-size: 28px; }
    .step-card h3 { font-size: 15px; }

    /* --- CTA Banner --- */
    section[style*="background: linear-gradient"] h2 {
        font-size: 22px !important;
    }
    section[style*="background: linear-gradient"] p {
        font-size: 14px !important;
    }

    /* --- Footer --- */
    .footer { padding: 40px 0 24px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-brand p { font-size: 13px; }
    .footer-col h4 { font-size: 14px; margin-bottom: 10px; }
    .footer-col ul li { 
        font-size: 12px;
        line-height: 1.5;
        white-space: nowrap;
    }
    .footer-bottom { font-size: 12px; padding-top: 16px; margin-top: 16px; }
    .footer-social { margin-top: 12px; gap: 10px; }
    .footer-social a { width: 34px; height: 34px; }

    /* --- Contact / Form Pages --- */
    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* prevent iOS zoom */
        padding: 12px 14px;
    }


}

/* Small Phone: <=480px */
@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }
    .hero h1 {
        font-size: 22px;
    }
    .hero h1 span { font-size: 18px; }
    .hero p { font-size: 13px; }
    .hero-slogan { font-size: 14px; }
    .value-grid {
        grid-template-columns: 1fr;
    }
    .value-card {
        padding: 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
    .category-card { height: 170px; aspect-ratio: auto; }

    .product-grid {
        gap: 10px;
    }
    .product-image { height: auto; aspect-ratio: 3/4; }
    .product-name { font-size: 12px; }
    .product-price { font-size: 14px; }
    .product-badge { font-size: 9px; padding: 2px 6px; }

    .section { padding: 32px 0; }
    .section-title { font-size: 20px; }

    .gallery-main img {
        max-height: 380px;
    }
    .gallery-thumb img { height: 56px; }

    .page-header h1 { font-size: 20px; }

    .btn-lg { padding: 12px 18px; font-size: 14px; }
}


