/* ===== CSS Variables ===== */
:root {
    --black: #000000;
    --white: #ffffff;
    --red: #e53935;
    --red-hover: #c62828;
    --gray-bg: #f5f5f5;
    --gray-100: #e8e8e8;
    --gray-200: #d0d0d0;
    --gray-300: #999999;
    --gray-400: #666666;
    --gray-500: #333333;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-500);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ===== Utility ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section--gray {
    background: var(--gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 12px;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter var(--transition), height var(--transition);
}

.nav.scrolled .nav__logo img {
    height: 30px;
    filter: none;
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav.scrolled .nav__link {
    color: var(--gray-500);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    font-weight: 600;
}

.nav__link--cta:hover {
    color: var(--red) !important;
}

/* Language switcher */
.nav__lang {
    position: relative;
}

.nav__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.nav.scrolled .nav__lang-btn {
    background: var(--gray-bg);
    border-color: var(--gray-100);
    color: var(--gray-500);
}

.nav__lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav.scrolled .nav__lang-btn:hover {
    background: var(--gray-100);
}

.nav__lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 1002;
    overflow: hidden;
}

.nav__lang-dropdown.open {
    display: block;
}

.nav__lang-option {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: background var(--transition);
}

.nav__lang-option:hover {
    background: var(--gray-bg);
}

.nav__lang-option.active {
    color: var(--red);
    font-weight: 600;
}

.nav__right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.nav__lang-btn--mobile {
    display: none;
}

.nav__lang-dropdown--mobile {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 40px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 1002;
    overflow: hidden;
}

.nav__lang-dropdown--mobile.open {
    display: block;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav__toggle span {
    background: var(--black);
}

/* ===== Hero (Company page) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 60%, #0f0f0f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(229, 57, 53, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(229, 57, 53, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero__title {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__title span {
    color: var(--red);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--red);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--dark {
    background: var(--black);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--gray-500);
}

.hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== About ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.about__text p {
    color: var(--gray-400);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about__feature {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.about__feature:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about__feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(229, 57, 53, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--red);
}

.about__feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.about__feature p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== Products ===== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    display: block;
}

.product-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--gray-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.product-card:hover .product-card__icon {
    background: rgba(229, 57, 53, 0.08);
}

.product-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--gray-400);
    transition: color var(--transition);
}

.product-card:hover .product-card__icon svg {
    color: var(--red);
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ===== Shops ===== */
.shops__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shops__grid--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.shop-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.shop-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.shop-card__flag {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.shop-card__info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
}

.shop-card__info p {
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-top: 2px;
}

.shop-card__arrow {
    margin-left: auto;
    color: var(--gray-200);
    transition: all var(--transition);
    flex-shrink: 0;
}

.shop-card:hover .shop-card__arrow {
    color: var(--red);
    transform: translateX(3px);
}

/* ===== B2B ===== */
.b2b {
    position: relative;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.b2b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(229, 57, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.b2b .section-header h2 {
    color: var(--white);
}

.b2b .section-header p {
    color: rgba(255, 255, 255, 0.5);
}

.b2b .section-label {
    color: var(--red);
}

.b2b__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.b2b__benefits {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.b2b__benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.b2b__benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(229, 57, 53, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.b2b__benefit h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.b2b__benefit p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.b2b__cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.b2b__cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.b2b__cta p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===== Tools ===== */
.tools__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tool-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(229, 57, 53, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
}

.tool-card__link:hover {
    gap: 10px;
}

/* ===== Blog Preview ===== */
.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-preview__card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: block;
}

.blog-preview__card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-preview__image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-bg);
}

.blog-preview__image--placeholder {
    background: linear-gradient(135deg, var(--gray-bg) 0%, var(--gray-100) 100%);
}

.blog-preview__body {
    padding: 24px;
}

.blog-preview__cat {
    display: inline-block;
    background: rgba(229, 57, 53, 0.08);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-preview__body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-preview__body p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-preview__date {
    font-size: 0.75rem;
    color: var(--gray-300);
}

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

/* ===== Contact ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact__info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.contact__info > p {
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact__detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(229, 57, 53, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.contact__detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.contact__detail p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.contact__form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--gray-500);
    background: var(--gray-bg);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

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

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.form-submit:hover {
    background: var(--red-hover);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.form-message--success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message--error {
    display: block;
    background: rgba(229, 57, 53, 0.08);
    color: var(--red);
    border: 1px solid rgba(229, 57, 53, 0.2);
}

/* ===== Footer (Company page) ===== */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.5);
    padding: 64px 0 32px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.footer__brand img {
    height: 32px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer__brand p {
    font-size: 0.875rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 48px;
}

.footer__col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.footer__col a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a:hover {
    color: var(--white);
}


/* ===== Product intro link (in-content shop link) ===== */
.product-intro-link {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-intro-link a {
    color: var(--red);
    font-weight: 500;
}

.product-intro-link a:hover {
    color: var(--red-hover);
    text-decoration: underline;
}

/* Sidebar active product */
.related-link--active {
    color: var(--black) !important;
    font-weight: 600;
    border-left: 3px solid var(--red);
    padding-left: 8px;
    cursor: default;
}

/* ===== Product CTA Section ===== */
.product-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.product-cta h2 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.product-cta p {
    color: var(--gray-400);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-cta__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-cta__buttons .btn {
    font-size: 0.9rem;
}

/* Related product with shop links */
.related-product-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-bg);
}

.related-product-item:last-child {
    border-bottom: none;
}

.related-product-item .related-link {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.btn-shop--small {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

/* Product specs table */
.product-specs {
    margin-top: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
    font-size: 0.9rem;
}

.specs-table th {
    font-weight: 600;
    color: var(--black);
    width: 35%;
}

.specs-table td {
    color: var(--gray-400);
}

/* ===== Product CTA Links (SEO-friendly) ===== */
.product-cta__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-cta__link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.product-cta__link:hover {
    color: var(--red-hover);
    text-decoration: none;
}

/* Sidebar shop links */
.sidebar-shop-link {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--red);
    border-bottom: 1px solid var(--gray-bg);
}

.sidebar-shop-link:hover {
    color: var(--red-hover);
    text-decoration: none;
}

/* Related product shop links */
.related-shop-link {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    padding: 2px 0 4px;
}

.related-shop-link:hover {
    color: var(--red);
    text-decoration: none;
}

/* ===== Shop Catalog (all products) ===== */
.shop-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.shop-catalog__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}

.shop-catalog__item:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Featured product cards */
.shop-catalog__item--featured {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 8px;
}

.shop-catalog__item--featured:hover {
    transform: none;
    cursor: default;
}

.shop-catalog__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-catalog__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--gray-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-catalog__icon svg {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
}

.shop-catalog__excerpt {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.5;
    margin: 0;
}

.shop-catalog__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.shop-catalog__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
}

.shop-catalog__link:hover {
    color: var(--red-hover);
    text-decoration: none;
}

.shop-catalog__link--shop {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.shop-catalog__link--shop:hover {
    color: var(--red);
}

.shop-catalog__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
}

a.shop-catalog__name {
    color: var(--red);
}

a.shop-catalog__name:hover {
    color: var(--red-hover);
    text-decoration: none;
}

.shop-catalog__domain {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--gray-300);
    white-space: nowrap;
}

.shop-catalog__item:hover .shop-catalog__domain {
    color: var(--red);
}

.shop-catalog__shop-links {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 0.8rem;
}

.shop-catalog__shop-links a {
    color: var(--red);
    font-weight: 500;
}

.shop-catalog__shop-links a:hover {
    color: var(--red-hover);
    text-decoration: underline;
}

/* ===== Products Index (blog layout) ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-grid-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}

.product-grid-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
}

.product-grid-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--gray-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.product-grid-card:hover .product-grid-card__icon {
    background: rgba(229, 57, 53, 0.08);
}

.product-grid-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--gray-400);
    transition: color var(--transition);
}

.product-grid-card:hover .product-grid-card__icon svg {
    color: var(--red);
}

.product-grid-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.product-grid-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ========================================================================
   BLOG PAGE STYLES (base.html / blog templates)
   ======================================================================== */

/* Blog Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo { height: 28px; }

.header-nav {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    flex: 1;
}

.header-nav a {
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.25rem 0;
    position: relative;
}

.header-nav a:hover { color: var(--red); text-decoration: none; }

.header-nav__active {
    color: var(--red) !important;
    font-weight: 600 !important;
}

.header-nav__active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
}

/* Blog language selector */
.lang-selector {
    position: relative;
}

.lang-selector__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-bg);
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    color: var(--gray-500);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-selector__btn:hover {
    background: var(--gray-100);
}

.lang-selector__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 80px;
    z-index: 1002;
    overflow: hidden;
}

.lang-selector__dropdown.open {
    display: block;
}

.lang-selector__option {
    display: block;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: background var(--transition);
}

.lang-selector__option:hover {
    background: var(--gray-bg);
    text-decoration: none;
}

.lang-selector__option.active {
    color: var(--red);
    font-weight: 600;
}

/* Header mobile toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.header-toggle span {
    width: 20px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* Blog Main */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Blog Hero (simple) */
.blog-page .hero {
    min-height: auto;
    background: var(--gray-bg);
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    display: block;
}

.blog-page .hero::before,
.blog-page .hero::after {
    display: none;
}

.blog-page .hero h1 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.blog-page .hero p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* Categories grid */
.categories-grid {
    margin-bottom: 3rem;
}

.categories-grid h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.category-card:hover {
    border-color: var(--red);
    color: var(--red);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Articles grid */
.articles-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.article-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-bg);
}

.article-card-body {
    padding: 1.25rem;
}

.article-cat {
    display: inline-block;
    background: rgba(229, 57, 53, 0.08);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-card-body h3 a {
    color: var(--gray-500);
}

.article-card-body h3 a:hover {
    color: var(--red);
    text-decoration: none;
}

.article-excerpt {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
}

/* Page header / breadcrumb */
.page-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--red); }

.page-header h1 {
    font-size: 1.8rem;
}

.no-results {
    color: var(--gray-400);
    font-style: italic;
    padding: 2rem 0;
}

/* Article page */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 0.5rem 0;
}

.article-date {
    color: var(--gray-300);
    font-size: 0.85rem;
}

.article-hero-image {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
    margin: 0.75rem 0 1rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body a {
    color: var(--red);
    font-weight: 500;
}

.article-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1rem 0;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--red);
}

.product-link-item {
    margin-bottom: 1rem;
}

.product-link-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.btn-shop {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.15rem 0.25rem 0.15rem 0;
    transition: background 0.2s;
}

.btn-shop:hover {
    background: var(--red-hover);
    color: #fff;
    text-decoration: none;
}

.related-link {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-bg);
}

.related-link:hover {
    color: var(--red);
    text-decoration: none;
}

/* Blog Footer */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    height: 24px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-inner p {
    font-size: 0.85rem;
}

.footer-shops a, .footer-categories a {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding: 0.15rem 0;
}

.footer-shops a:hover, .footer-categories a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-shops strong, .footer-categories strong {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}


/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .shops__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .shops__grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .about__grid {
        gap: 48px;
    }

    .b2b__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .nav.scrolled,
    .nav {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(12px);
    }

    .nav.scrolled {
        background: rgba(255, 255, 255, 0.97);
    }

    .nav__lang {
        display: none;
    }

    .nav__right-mobile {
        display: flex;
    }

    .nav__lang-btn--mobile {
        display: inline-flex;
    }

    .nav__links {
        display: none;
    }

    .nav__links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000000;
        padding: 120px 32px 32px;
        gap: 0;
        z-index: 999;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav__links .nav__link {
        color: #ffffff !important;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        border-bottom: none;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .nav.scrolled .nav__links .nav__link {
        color: #ffffff !important;
    }

    .nav__links .nav__link:hover,
    .nav__links .nav__link:active {
        color: var(--red) !important;
    }

    .nav__links .nav__link::after {
        display: none;
    }

    .nav__links .nav__link--cta {
        padding: 20px 0;
        text-align: center;
        border-bottom: none;
        border-radius: 0;
        width: 100%;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 1.2rem;
        margin-top: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__features {
        grid-template-columns: 1fr 1fr;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .shops__grid,
    .shops__grid--3 {
        grid-template-columns: 1fr;
    }

    .b2b__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tools__grid {
        grid-template-columns: 1fr;
    }

    .blog-preview__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Blog responsive */
    .header-nav {
        display: none;
    }

    .header-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-100);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .header-nav.active a {
        padding: 12px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--gray-bg);
    }

    .header-toggle {
        display: flex;
    }

    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-inner { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }

    .blog-page .hero h1 { font-size: 1.5rem; }
    .article-header h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .hero__stats {
        gap: 20px;
    }

    .hero__stat-value {
        font-size: 1.35rem;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .b2b__cta {
        padding: 28px;
    }

    .contact__form {
        padding: 24px;
    }
}
