/* ========================================
   LingTrade - Premium Packaging Website
   Light theme + Blue accents
   ======================================== */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f8fc;
    --color-bg-card: #ffffff;
    --color-surface: #eef2f7;
    --color-gold: #2563eb;
    --color-gold-light: #3b82f6;
    --color-gold-dark: #1d4ed8;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: rgba(15, 23, 42, 0.08);
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --container: 1200px;
    --header-h: 72px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 16px 48px rgba(15, 23, 42, 0.12);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Topbar ---- */
.topbar {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}
.topbar a:hover { color: var(--color-gold); }
.topbar__sep { margin: 0 12px; opacity: 0.4; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.header__inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo__mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #ffffff;
}
.logo__text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav__link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: 8px;
    transition: all var(--transition);
}
.nav__link:hover,
.nav__link.is-active {
    color: var(--color-gold);
}
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}
.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-radius: 6px;
}
.nav__dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-gold);
}

.header-search {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}
.header-search__form {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search.is-open .header-search__form,
.header-search__form:focus-within {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.header-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 9px 14px;
    font-size: 0.875rem;
    color: var(--color-text);
}
.header-search__input:focus {
    outline: none;
}
.header-search__input::placeholder {
    color: var(--color-text-muted);
}
.header-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition);
}
.header-search__btn:hover {
    color: var(--color-gold);
}
.header-search__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    max-height: 360px;
    overflow-y: auto;
    z-index: 1100;
}
.header-search__dropdown[hidden] {
    display: none;
}
.search-suggest__group {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}
.search-suggest__group:last-child {
    border-bottom: none;
}
.search-suggest__label {
    padding: 0 14px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}
.search-suggest__item {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.45;
}
.search-suggest__item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-gold);
}
.search-suggest__empty,
.search-suggest__loading {
    padding: 16px 14px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.search-suggest__footer {
    display: block;
    padding: 12px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gold);
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.search-suggest__footer:hover {
    background: rgba(37, 99, 235, 0.06);
}
.header-search--page {
    width: 100%;
    max-width: 560px;
    margin: 20px auto 0;
}
.header-search--page .header-search__form {
    border-radius: var(--radius);
}
.header-search--page .header-search__input {
    padding: 14px 18px;
    font-size: 1rem;
}
.search-page-form {
    max-width: 560px;
    margin: 0 auto;
}
.search-results__hint,
.search-results__summary {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}
.search-results__block {
    margin-bottom: 48px;
}
.search-results__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 24px;
}
.search-results__empty {
    text-align: center;
    padding: 32px 0 8px;
}
.search-results__empty p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.search-results__empty .btn {
    margin: 0 8px 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--gold {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    color: #ffffff;
    border-color: var(--color-gold);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn--outline {
    background: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn--outline:hover {
    background: rgba(37, 99, 235, 0.06);
}
.btn--sm { padding: 10px 24px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ---- Hero ---- */
.hero { position: relative; }
.hero-swiper { height: 85vh; min-height: 520px; max-height: 800px; }
.hero__slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero__slide--default {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 45%, #fef9c3 100%);
}
.hero__slide--default .hero__overlay {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
}
.hero__slide--default .hero__title { color: var(--color-text); }
.hero__slide--default .hero__subtitle { color: var(--color-text-muted); }
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.25) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 40px 0;
    color: #ffffff;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero .swiper-button-prev,
.hero .swiper-button-next {
    color: var(--color-gold);
}
.hero .swiper-pagination-bullet-active {
    background: var(--color-gold);
}

/* ---- Sections ---- */
.section { padding: 100px 0; }
.section--dark { background: var(--color-bg-alt); }
.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    position: relative;
}
.section__tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
}
.section__desc { color: var(--color-text-muted); }
.section__link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ---- Stats ---- */
.stats { padding: 60px 0; border-bottom: 1px solid var(--color-border); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}
.stat__plus { font-size: 2rem; color: var(--color-gold); }
.stat__label {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ---- Category Cards ---- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cat-grid--page { grid-template-columns: repeat(2, 1fr); }
.cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    display: block;
}
.cat-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.cat-card:hover .cat-card__img { transform: scale(1.08); }
.cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.15) 100%);
}
.cat-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
    color: #ffffff;
}
.cat-card__content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #ffffff;
}
.cat-card__content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #93c5fd;
}

/* ---- Product Cards ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}
.product-card__img {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-surface);
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__body { padding: 24px; }
.product-card__cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gold);
    margin-bottom: 8px;
}
.product-card__body h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-card__body h3 a:hover { color: var(--color-gold); }
.product-card__body p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
}
.link-arrow:hover { color: var(--color-gold-light); }

/* ---- Process ---- */
.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.process__item {
    padding: 32px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.process__item:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.process__num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}
.process__item h4 { font-size: 1.125rem; margin-bottom: 8px; }
.process__item p { font-size: 0.875rem; color: var(--color-text-muted); }

/* ---- Blog Cards ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid--list { grid-template-columns: 1fr; gap: 32px; }
.blog-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.blog-card__img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-surface);
}
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px; }
.blog-card__body time {
    font-size: 0.8125rem;
    color: var(--color-gold);
    font-weight: 500;
}
.blog-card__body h3 {
    font-size: 1.125rem;
    margin: 8px 0 12px;
    line-height: 1.4;
}
.blog-card__body h3 a:hover { color: var(--color-gold); }
.blog-card__body p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.blog-card--horizontal {
    display: grid;
    grid-template-columns: 280px 1fr;
}
.blog-card--horizontal .blog-card__img { aspect-ratio: auto; min-height: 200px; }

/* ---- CTA ---- */
.cta {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #fefce8 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.cta__inner { text-align: center; }
.cta__inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}
.cta__inner p { color: var(--color-text-muted); margin-bottom: 28px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Page Hero ---- */
.page-hero {
    position: relative;
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
}
.page-hero--sm { padding: 60px 0 40px; background: var(--color-bg-alt); }
.page-hero--about {
    background: linear-gradient(135deg, #dbeafe, #f0f9ff);
    padding: 100px 0 80px;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.page-hero .page-hero__overlay + .container,
.page-hero .page-hero__overlay + .container h1,
.page-hero .page-hero__overlay + .container p,
.page-hero .page-hero__overlay + .container .breadcrumb,
.page-hero .page-hero__overlay + .container .breadcrumb a {
    color: #ffffff;
}
.page-hero .page-hero__overlay + .container .breadcrumb__current {
    color: #93c5fd;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}
.page-hero p { color: var(--color-text-muted); font-size: 1.125rem; }

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: var(--color-gold); }

/* ---- Category Page ---- */
.category-page {
    padding-top: 32px;
    padding-bottom: 64px;
}
.category-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.category-sidebar {
    position: sticky;
    top: 100px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.category-sidebar__title {
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}
.category-sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
}
.category-sidebar__link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    transition: all var(--transition);
}
.category-sidebar__link:hover {
    color: var(--color-text);
    background: var(--color-bg-alt);
}
.category-sidebar__link.is-active {
    color: var(--color-gold);
    background: rgba(37, 99, 235, 0.08);
    font-weight: 600;
}
.category-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}
.category-banner img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}
.category-intro {
    margin-bottom: 36px;
}
.category-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 14px;
}
.category-intro__lead {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.category-intro__content {
    color: var(--color-text-muted);
    line-height: 1.8;
}
.category-intro__content p { margin-bottom: 12px; }
.category-products .product-grid { margin-bottom: 24px; }

/* ---- Product Detail ---- */
.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.product-detail__grid > * {
    min-width: 0;
}
.product-detail__gallery {
    overflow: hidden;
}
.product-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
    width: 100%;
}
.product-gallery__main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.product-gallery__thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--color-border);
    overflow-x: auto;
}
.product-gallery__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    cursor: pointer;
}
.product-gallery__thumb.is-active {
    border-color: var(--color-gold);
}
.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-detail__cat {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 12px;
}
.product-detail__info h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}
.product-detail__summary {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}
.specs-table {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid var(--color-border);
}
.specs-table h4 { margin-bottom: 16px; font-size: 1rem; }
.specs-table table { width: 100%; }
.specs-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}
.specs-table td:first-child {
    color: var(--color-text-muted);
    width: 40%;
}
.product-detail__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.product-detail__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.product-detail__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.product-detail__social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--color-gold);
}
.product-detail__social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.product-desc-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.product-desc-images__item {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-desc-images__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.product-desc-images__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-detail__content { max-width: 800px; }
.product-detail__content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mobile-quote-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    z-index: 999;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--color-gold);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-gold-dark);
    box-shadow: var(--shadow-hover);
}
.back-to-top:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), var(--shadow);
}

/* ---- Rich Content ---- */
.rich-content h2, .rich-content h3 { font-family: var(--font-display); margin: 1.5em 0 0.75em; }
.rich-content p { margin-bottom: 1em; color: var(--color-text-muted); line-height: 1.8; }
.rich-content ul, .rich-content ol { margin: 1em 0; padding-left: 1.5em; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: 0.5em; color: var(--color-text-muted); }
.rich-content strong { color: var(--color-text); }

/* ---- Article Detail ---- */
.article-detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.article-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}
.article-sidebar-col .sidebar-widget {
    position: static;
    top: auto;
}
.article-sidebar {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article-sidebar__title {
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}
.article-sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}
.article-sidebar__link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    transition: all var(--transition);
}
.article-sidebar__link:hover {
    color: var(--color-text);
    background: var(--color-bg-alt);
}
.article-sidebar__link.is-active {
    color: var(--color-gold);
    background: rgba(37, 99, 235, 0.08);
    font-weight: 600;
}
.article-detail__main { min-width: 0; }
.article-detail__header {
    max-width: none;
    margin: 0 0 40px;
    text-align: left;
}
.article-detail__header time {
    color: var(--color-gold);
    font-size: 0.875rem;
    font-weight: 500;
}
.article-detail__header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin: 16px 0;
    line-height: 1.25;
}
.article-detail__summary { color: var(--color-text-muted); font-size: 1.125rem; }
.article-detail__cover {
    max-width: none;
    margin: 0 0 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article-detail__content {
    max-width: none;
    margin: 0;
}

/* ---- Blog Layout ---- */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
}
.sidebar-widget {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--color-border);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.sidebar-widget h4 { margin-bottom: 16px; font-size: 1rem; }
.sidebar-widget a {
    display: block;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}
.sidebar-widget a.is-active,
.sidebar-widget a:hover { color: var(--color-gold); }

/* ---- Contact ---- */
.contact-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0;
}
.contact-section-title--center {
    text-align: center;
    margin-bottom: 36px;
}
.contact-support {
    padding-bottom: 48px;
}
.contact-support__head {
    max-width: 920px;
    margin: 0 auto 48px;
    text-align: center;
}
.contact-support__intro {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 28px;
}
.contact-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-cards__item {
    width: calc(33.33% - 20px);
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.contact-info-cards__icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-gold);
    margin-bottom: 18px;
}
.contact-info-cards__body {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-cards__body p,
.contact-info-cards__body a {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}
.contact-info-cards__body a:hover {
    color: var(--color-gold);
}
.contact-social-strip-wrap {
    margin-top: 80px;
}
.contact-social-strip {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-social-strip__item {
    flex: 1 1 16.666%;
    min-width: 120px;
    height: 50px;
}
.contact-social-strip__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity var(--transition);
}
.contact-social-strip__item a:hover {
    opacity: 0.88;
}
.contact-social-strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-social-strip__icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.contact-social-strip__item--facebook { background: #1877F2; }
.contact-social-strip__item--twitter { background: #1DA1F2; }
.contact-social-strip__item--pinterest { background: #E60023; }
.contact-social-strip__item--instagram { background: #C13584; }
.contact-social-strip__item--youtube { background: #FF0000; }
.contact-social-strip__item--whatsapp { background: #25D366; }
.contact-social-strip__item--linkedin { background: #0A66C2; }
.contact-why {
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--color-bg-alt);
}
.contact-why__content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.contact-why__content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.875;
    margin-bottom: 8px;
}
.contact-why__content p:last-child {
    margin-bottom: 0;
}
.contact-why__content strong {
    color: var(--color-text);
    font-weight: 600;
}
.contact-form-section {
    padding-top: 64px;
}
.contact-form-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-form-layout__fields,
.contact-form-layout__message {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-form-layout__fields .form__group {
    margin-bottom: 0;
}
.contact-form-layout__message .form__group {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.contact-form-layout__message textarea {
    flex: 1;
    min-height: 280px;
    resize: vertical;
}
.contact-form-layout__submit {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.contact-form-layout .form__group input,
.contact-form-layout .form__group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0;
    background: #fff;
}
.contact-form-layout .form__group input:focus,
.contact-form-layout .form__group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.contact-form-layout__submit .btn {
    min-width: 180px;
    padding: 16px 36px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---- Forms ---- */
.form__group { margin-bottom: 20px; }
.form__group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}
.form__group input,
.form__group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__msg { margin-top: 12px; font-size: 0.875rem; }
.form__msg.is-success { color: #16a34a; }
.form__msg.is-error { color: #dc2626; }

/* ---- Modal ---- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}
.modal__dialog {
    position: relative;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    transform: translateY(20px);
    transition: transform var(--transition);
}
.modal.is-open .modal__dialog { transform: translateY(0); }
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal__dialog h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer__col--contact .footer__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    flex-shrink: 0;
    margin-bottom: 0;
}
.footer__social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--color-gold);
    background: #fff;
}
.footer__social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}
.footer__desc {
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.footer__col h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}
.footer__col a:not(.footer__social-link),
.footer__col p {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}
.footer__col a:not(.footer__social-link):hover { color: var(--color-gold); }
.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---- Pagination ---- */
.pagination-wrap { margin-top: 48px; }
.pagination-wrap ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination-wrap li a,
.pagination-wrap li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}
.pagination-wrap li.active span,
.pagination-wrap li a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
}

.empty-tip {
    text-align: center;
    color: var(--color-text-muted);
    padding: 60px 0;
    grid-column: 1 / -1;
}

/* ---- Mobile Nav ---- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__inner {
    padding: calc(var(--header-h) + 32px) 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav__search {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.mobile-nav__search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 0.9375rem;
}
.mobile-nav__search input:focus {
    outline: none;
}
.mobile-nav__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--color-gold);
    cursor: pointer;
}
.mobile-nav__inner > a {
    padding: 16px 0;
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}
.mobile-nav__sub {
    padding-left: 16px !important;
    font-size: 0.9375rem !important;
    color: var(--color-text-muted) !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .header-search {
        width: 180px;
    }
    .product-grid,
    .blog-grid,
    .blog-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .process__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-card--horizontal { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav, .header__cta, .header-search { display: none; }
    .menu-toggle { display: flex; margin-left: auto; }
    .cat-grid, .cat-grid--page { grid-template-columns: 1fr; }
    .product-grid, .product-grid--4,
    .blog-grid, .blog-grid--3 { grid-template-columns: 1fr; }
    .process__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .product-detail__grid { grid-template-columns: 1fr; gap: 32px; }
    .category-layout { grid-template-columns: 1fr; gap: 24px; }
    .category-sidebar { position: static; }
    .category-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .category-sidebar__link { padding: 8px 12px; font-size: 0.875rem; }
    .article-detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .article-sidebar-col { position: static; }
    .article-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        max-height: none;
        overflow: visible;
    }
    .article-sidebar__link { padding: 8px 12px; font-size: 0.875rem; }
    .contact-info-cards__item { width: 100%; min-width: 0; }
    .contact-social-strip__item { flex: 1 1 50%; }
    .contact-form-layout { grid-template-columns: 1fr; }
    .contact-form-layout__message textarea { min-height: 180px; }
    .contact-info-cards__icon { width: 96px; height: 96px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .form__row { grid-template-columns: 1fr; }
    .hero-swiper { height: 70vh; min-height: 420px; }
    .section__link { position: static; transform: none; display: block; margin-top: 16px; }
    .mobile-quote-bar { display: block; }
    .product-detail { padding-bottom: 80px; }
    .back-to-top { right: 16px; bottom: 88px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .stats__grid { grid-template-columns: 1fr; }
    .cta__actions { flex-direction: column; }
    .cta__actions .btn { width: 100%; }
}
