/* ==============================================
   BaytHaus — Apple-style Design System
   ============================================== */

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

:root {
    /* BaytHaus commercial palette */
    --bg-primary:    #ffffff;
    --bg-secondary:  #f5f7f6;
    --bg-tertiary:   #fbfaf8;
    --bg-surface:    #f8faf9;
    --text-primary:  #18211f;
    --text-secondary:#5f6f6b;
    --text-tertiary: #87928f;
    --accent:        #0f766e;
    --accent-hover:  #0a5f59;
    --accent-warm:   #bd7a2d;
    --accent-blue:   #2563eb;
    --accent-green:  #16a34a;
    --border:        #cfd9d5;
    --border-light:  #e2e8e5;
    --border-medium: #cbd5d1;

    /* Layout */
    --nav-height:    52px;
    --max-width:     1180px;
    --radius-sm:     6px;
    --radius:        8px;
    --radius-lg:     8px;
    --radius-pill:   980px;
    --section-gap:   96px;

    /* Shadows — Apple-style: very subtle */
    --shadow-sm:     0 1px 2px rgba(11,31,26,0.04);
    --shadow:        0 10px 24px rgba(11,31,26,0.08);
    --shadow-lg:     0 22px 54px rgba(11,31,26,0.12);
    --shadow-xl:     0 36px 80px rgba(11,31,26,0.18);

    /* Typography scale (Apple-like) */
    --text-xxs:      0.75rem;   /* 12px */
    --text-xs:       0.8125rem; /* 13px */
    --text-sm:       0.875rem;  /* 14px */
    --text-base:     1.0625rem; /* 17px */
    --text-md:       1.1875rem; /* 19px */
    --text-lg:       1.3125rem; /* 21px */
    --text-xl:       1.75rem;   /* 28px */
    --text-2xl:      2.5rem;    /* 40px */
    --text-3xl:      3rem;      /* 48px */
    --text-4xl:      3.5rem;    /* 56px */
    --text-5xl:      4rem;      /* 64px */

    --leading-tight: 1.1;
    --leading-normal:1.47;
    --leading-relaxed:1.6;
    --tracking-tight:0;
    --tracking-normal:0;

    /* Transitions */
    --ease-out:      cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring:   cubic-bezier(0.16, 1, 0.3, 1);

    /* Scroll animation offset */
    --scroll-offset: 100px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                 "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation — Apple frosted glass ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: none;
    transition: background 0.4s var(--ease-out);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
    font-weight: 700;
}

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

.nav a {
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0;
}

.nav a:hover {
    color: var(--text-primary);
}

.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(0,0,0,0.04);
    border-radius: var(--radius-pill);
    padding: 2px;
    margin-left: 4px;
}

.lang-switch button {
    padding: 5px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s var(--ease-out);
    font-family: inherit;
    border-radius: var(--radius-pill);
    line-height: 1.4;
}

.lang-switch button.active {
    background: var(--text-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.lang-switch button:hover:not(.active) {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* ---------- Hero — Apple keynote style ---------- */
.hero {
    margin-top: var(--nav-height);
    --hero-image: none;
    background: #101815;
    color: #fff;
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 8, 0.42);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 24px;
    color: #fff;
}

.hero-title span {
    display: block;
}

.hero-title span:not(:first-child) {
    color: #2997ff;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 6px;
}

.hero-desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    line-height: var(--leading-relaxed);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons — Apple pill style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    border: none;
    font-family: inherit;
    letter-spacing: 0;
    min-width: 140px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: #2997ff;
    border: 1px solid rgba(41,151,255,0.4);
}

.btn-outline:hover {
    background: rgba(41,151,255,0.1);
    border-color: #2997ff;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.stat-card {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-card:last-child {
    border-right: none;
}

.stat-num {
    font-size: var(--text-3xl);
    font-weight: 600;
    background: linear-gradient(180deg, #2997ff 0%, #a3d0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: 0;
}

.stat-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
    display: block;
    font-weight: 400;
}

/* ---------- Section Common ---------- */
.section {
    padding: var(--section-gap) 0;
}

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

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

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ---------- Category Pills (ebarza-style horizontal scroll) ---------- */
.cat-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 8px;
    margin-bottom: 40px;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
    flex-shrink: 0;
    padding: 10px 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    white-space: nowrap;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0;
}
.cat-pill:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
}
.cat-pill.active {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* ---------- Products Grid — ebarza-inspired cards ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-spring);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

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

.product-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-spring);
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-img.sofas    { background: linear-gradient(160deg, #fef3e8, #fde4d0); }
.product-img.beds     { background: linear-gradient(160deg, #f0ebe4, #e8dcc8); }
.product-img.mattresses{ background: linear-gradient(160deg, #e8f0fe, #d2e3fc); }
.product-img.tables   { background: linear-gradient(160deg, #f3e8f6, #e8d5f2); }
.product-img.curtains { background: linear-gradient(160deg, #e8f5e9, #c8e6c9); }
.product-img.cabinets { background: linear-gradient(160deg, #fff3e0, #ffe0b2); }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-body h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-body p {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.product-price-hint {
    display: inline-block;
    color: var(--accent);
    padding: 0;
    font-size: var(--text-xs);
    font-weight: 600;
    margin-top: 8px;
}

.product-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.product-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    font-size: var(--text-xxs);
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ---------- Advantages — Apple feature tiles ---------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-card {
    text-align: center;
    padding: 48px 24px 40px;
    background: transparent;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: background 0.3s var(--ease-out);
}

.advantage-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-secondary);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.advantage-card h3 {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: var(--tracking-tight);
}

.advantage-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 200px;
    margin: 0 auto;
}

/* ---------- Showroom ---------- */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-content h2 {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.showcase-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

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

.showcase-img {
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    border: 1px solid var(--border-light);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.showcase-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 15, 0.26);
    z-index: 0;
}

.showcase-img span {
    position: relative;
    z-index: 1;
    padding: 5px 9px;
    border-radius: 5px;
    background: rgba(10, 18, 15, 0.66);
    color: #fff;
    font-size: var(--text-xxs);
    font-weight: 600;
}

.showcase-img.main {
    grid-column: 1 / -1;
    height: 200px;
}

/* ---------- Markets ---------- */
.markets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.market-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-spring);
}

.market-card:hover {
    box-shadow: var(--shadow);
}

.market-card h3 {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

.market-card .market-sub {
    color: var(--accent);
    font-weight: 500;
    font-size: var(--text-sm);
    margin-bottom: 16px;
    display: block;
}

.market-card p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.market-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.market-tag {
    background: var(--bg-secondary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ---------- Cooperation Cards ---------- */
.coop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.coop-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-spring);
}

.coop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.coop-card h3 {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

.coop-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ---------- Inquiry Section ---------- */
.inquiry {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.inquiry-info h2 {
    font-size: var(--text-2xl);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
}

.inquiry-info p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: 32px;
    font-size: var(--text-base);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item span:last-child {
    margin-left: auto;
    font-weight: 500;
}

.inquiry-form {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.inquiry-form h3 {
    color: var(--text-primary);
    font-size: var(--text-xl);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.2s var(--ease-out);
    background: var(--bg-primary);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    font-family: inherit;
    letter-spacing: 0;
}

.form-submit:hover {
    background: var(--accent-hover);
    transform: scale(1.01);
}

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

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

.footer-brand h3 {
    color: var(--text-primary);
    font-size: var(--text-md);
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: var(--text-sm);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.footer-badges {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-badges span {
    font-size: var(--text-xxs);
    color: var(--text-tertiary);
    opacity: 0.8;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
}

.social-link:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.footer-address {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-address strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-address span {
    display: block;
    font-size: var(--text-xxs);
    margin-top: 1px;
}

/* ---------- Floating Elements ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 2px 16px rgba(37,211,102,0.25);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s var(--ease-spring);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 24px rgba(37,211,102,0.35);
}

/* ---------- WhatsApp Popup ---------- */
.whatsapp-popup {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 320px;
    max-height: 480px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.3s var(--ease-spring);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whatsapp-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #075e54;
    color: #fff;
    flex-shrink: 0;
}

.whatsapp-popup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-popup-icon {
    font-size: 1.3rem;
}

.whatsapp-popup-title {
    font-size: var(--text-sm);
    font-weight: 600;
}

.whatsapp-popup-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.whatsapp-popup-close:hover {
    background: rgba(255,255,255,0.25);
}

.whatsapp-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.whatsapp-popup-footer {
    padding: 10px 20px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.whatsapp-popup-hint {
    font-size: var(--text-xxs);
    color: var(--text-tertiary);
}

.whatsapp-preset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 500;
}

.whatsapp-preset:hover {
    background: #dcf8c6;
    color: var(--text-primary);
}

.whatsapp-preset-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
    color: var(--text-tertiary);
}

.whatsapp-preset:hover .whatsapp-preset-arrow {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-empty {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-secondary);
}

/* ---------- Form Message ---------- */
.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s;
}

.form-message-success {
    background: rgba(52,199,89,0.08);
    color: #34c759;
    border: 1px solid rgba(52,199,89,0.2);
}

.form-message-error {
    background: rgba(255,59,48,0.08);
    color: #ff3b30;
    border: 1px solid rgba(255,59,48,0.2);
}

.form-message-info {
    background: rgba(0,113,227,0.08);
    color: var(--accent);
    border: 1px solid rgba(0,113,227,0.2);
}

/* ==============================================
   Product Detail Page (product.html)
   ============================================== */

/* ---------- Product Hero ---------- */
.product-hero {
    margin-top: var(--nav-height);
    background: var(--bg-secondary);
    padding: 80px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.product-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.back-link {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 32px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

.product-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.product-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.product-hero-content h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.product-hero-content p {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 480px;
    margin: 0 auto 24px;
}

.product-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.hero-stat {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-stat strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 4px;
}

/* ---------- Product Detail Grid ---------- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.product-detail-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-spring);
    display: flex;
    flex-direction: column;
}

.product-detail-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-detail-media {
    position: relative;
}

.product-detail-img {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-detail-img img,
.product-detail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-img.sofas    { background: linear-gradient(160deg, #fef3e8, #fde4d0); }
.product-detail-img.beds     { background: linear-gradient(160deg, #f0ebe4, #e8dcc8); }
.product-detail-img.mattresses{ background: linear-gradient(160deg, #e8f0fe, #d2e3fc); }
.product-detail-img.tables   { background: linear-gradient(160deg, #f3e8f6, #e8d5f2); }
.product-detail-img.curtains { background: linear-gradient(160deg, #e8f5e9, #c8e6c9); }
.product-detail-img.cabinets { background: linear-gradient(160deg, #fff3e0, #ffe0b2); }

.product-video-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.product-video-play {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: var(--text-xxs);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
    font-family: inherit;
}

.product-video-play:hover {
    background: rgba(0,0,0,0.8);
}

.product-detail-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-detail-body h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: var(--tracking-tight);
}

.product-detail-body p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    flex: 1;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.product-detail-tag {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    font-size: var(--text-xxs);
    color: var(--text-tertiary);
    font-weight: 500;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.product-detail-actions .btn {
    flex: 1;
    font-size: var(--text-sm);
    padding: 12px 20px;
}

/* ---------- Sub-Category Filter Bar ---------- */
.subcat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 4px;
}

.subcat-tag {
    padding: 8px 18px;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-spring);
    white-space: nowrap;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subcat-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,113,227,0.04);
}

.subcat-tag.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.subcat-tag.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.subcat-count {
    font-size: var(--text-xxs);
    opacity: 0.7;
    background: rgba(0,0,0,0.06);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
}

.subcat-tag.active .subcat-count {
    background: rgba(255,255,255,0.2);
    opacity: 1;
}

/* ---------- Product Layout: Sidebar + Main ---------- */
.product-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- Category Sidebar ---------- */
.category-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px 0;
    overflow: hidden;
}

.cat-sidebar-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 20px 14px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 6px;
}

.cat-sidebar-nav {
    display: flex;
    flex-direction: column;
}

.cat-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
    border-left: 3px solid transparent;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    width: 100%;
}

.cat-sidebar-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cat-sidebar-link.active {
    background: rgba(0,113,227,0.06);
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 600;
}

.cat-sidebar-emoji {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.cat-sidebar-count {
    margin-left: auto;
    font-size: var(--text-xxs);
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.cat-sidebar-link.active .cat-sidebar-count {
    background: rgba(0,113,227,0.12);
    color: var(--accent);
}

/* ---------- Category Pills: Scroll Shadow ---------- */
.cat-pills-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.cat-pills {
    /* existing styles unchanged */
}

/* Scroll shadow indicators */
.cat-pills-wrapper::before,
.cat-pills-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-pills-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.cat-pills-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.cat-pills-wrapper.has-overflow-left::before { opacity: 1; }
.cat-pills-wrapper.has-overflow-right::after { opacity: 1; }

.subcat-tag.active .subcat-count {
    background: rgba(255,255,255,0.2);
    opacity: 1;
}

/* ---------- Product Detail RTL ---------- */
[dir="rtl"] .product-hero-content {
    text-align: center;
}

[dir="rtl"] .product-detail-body {
    text-align: right;
}

[dir="rtl"] .product-video-tag {
    right: auto;
    left: 12px;
}

[dir="rtl"] .product-video-play {
    left: auto;
    right: 12px;
}

[dir="rtl"] .hero-stat strong {
    margin-left: 0;
    margin-right: 4px;
}

/* ---------- CTA Card ---------- */
.cta-card {
    text-align: center;
    padding: 64px 40px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.cta-card h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: var(--tracking-tight);
}

.cta-card p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: var(--leading-relaxed);
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Product Detail Responsive ---------- */
@media (max-width: 768px) {
    .product-hero {
        padding: 60px 0 48px;
    }

    .product-hero-content h1 {
        font-size: var(--text-2xl);
    }

    .product-hero-content p {
        font-size: var(--text-base);
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-sidebar {
        position: static;
        padding: 12px 0;
        border-radius: var(--radius-sm);
    }

    .cat-sidebar-title {
        display: none;
    }

    .cat-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 4px;
        padding: 0 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cat-sidebar-nav::-webkit-scrollbar { display: none; }

    .cat-sidebar-link {
        flex-shrink: 0;
        padding: 6px 14px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-pill);
        border-left-width: 1px;
        font-size: var(--text-xs);
        gap: 6px;
    }

    .cat-sidebar-link.active {
        background: var(--text-primary);
        color: #fff;
        border-color: var(--text-primary);
        border-left-color: var(--text-primary);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-img {
        height: 220px;
    }

    .product-detail-body {
        padding: 20px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: var(--text-xl);
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    z-index: 2000;
    padding: 80px 32px 30px;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s var(--ease-spring);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: var(--text-lg);
    color: var(--text-primary);
    border-bottom: none;
    font-weight: 500;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.04);
    border-radius: 50%;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ---------- Loading Screen ---------- */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-spring), visibility 0.6s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 32px;
}

.loading-logo span {
    color: #2997ff;
}

.loading-bar-track {
    width: 160px;
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2997ff, #a3d0ff);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.loading-percent {
    margin-top: 16px;
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* ---------- Image Lazy Load Placeholder ---------- */
.product-img img,
.product-detail-img img {
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.product-img img.loaded,
.product-detail-img img.loaded {
    opacity: 1;
}

/* Image placeholder shimmer */
.img-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        var(--bg-secondary) 30%,
        rgba(255,255,255,0.5) 50%,
        var(--bg-secondary) 70%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* ---------- 404 Page ---------- */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    background: #000;
    color: #fff;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.error-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.error-desc {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.5);
    max-width: 400px;
    margin: 0 auto 40px;
    line-height: var(--leading-relaxed);
}

.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   RTL (Arabic) — Apple-style mirror
   ============================================== */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "Noto Naskh Arabic", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 4px;
}

[dir="rtl"] .hero-text {
    text-align: center;
}

[dir="rtl"] .hero-btns {
    justify-content: center;
}

[dir="rtl"] .stat-card {
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.12);
}

[dir="rtl"] .stat-card:last-child {
    border-left: none;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .product-body {
    text-align: right;
}

[dir="rtl"] .advantage-card {
    text-align: center;
}

[dir="rtl"] .showcase-content {
    text-align: right;
}

[dir="rtl"] .coop-card {
    text-align: right;
}

[dir="rtl"] .market-card {
    text-align: right;
}

[dir="rtl"] .inquiry-info {
    text-align: right;
}

[dir="rtl"] .inquiry-form {
    text-align: right;
}

[dir="rtl"] .inquiry-form h3 {
    text-align: right;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .form-group select {
    background-position: left 16px center;
    padding-right: 16px;
    padding-left: 40px;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-col {
    text-align: right;
}

[dir="rtl"] .footer-bottom {
    text-align: center;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

[dir="rtl"] .whatsapp-popup {
    right: auto;
    left: 30px;
}

[dir="rtl"] .whatsapp-preset {
    flex-direction: row-reverse;
}

[dir="rtl"] .whatsapp-preset-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .whatsapp-preset:hover .whatsapp-preset-arrow {
    transform: translateX(0);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

[dir="rtl"] .mobile-nav {
    right: auto;
    left: -100%;
}

[dir="rtl"] .mobile-nav.open {
    right: auto;
    left: 0;
}

[dir="rtl"] .contact-item span:last-child {
    margin-left: 0;
    margin-right: auto;
}

/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 1024px) {
    :root {
        --section-gap: 80px;
        --text-5xl: 3rem;
        --text-3xl: 2.2rem;
        --text-2xl: 1.8rem;
    }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .coop-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner { gap: 36px; }
    .hero-stats { gap: 24px; }
    .inquiry-grid { grid-template-columns: 1fr; gap: 48px; }
    .markets-grid { grid-template-columns: 1fr; }
    .showcase { grid-template-columns: 1fr; }

    .hero { padding: 100px 0 80px; }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 48px;
        --section-gap: 64px;
        --text-5xl: 2.4rem;
        --text-3xl: 1.8rem;
        --text-2xl: 1.5rem;
        --text-xl: 1.25rem;
    }

    .nav { display: none; }
    .lang-switch { margin-left: auto; margin-right: 12px; }
    .mobile-menu-btn { display: block; }

    .hero { padding: 80px 0 60px; }
    .hero-title span:not(:first-child) { font-size: 1.2rem; }
    .hero-desc { font-size: var(--text-base); }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-card { border: none; padding: 0 24px; flex: 1; }
    .stat-num { font-size: var(--text-2xl); }

    .products-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .advantage-card { padding: 32px 20px 28px; }
    .market-card { padding: 28px; }
    .inquiry-form { padding: 28px; }
    .coop-card { padding: 28px 24px; }

    .whatsapp-float { bottom: 24px; right: 20px; width: 46px; height: 46px; }
    .back-to-top { bottom: 82px; right: 20px; }
    .whatsapp-popup {
        bottom: 78px;
        right: 10px;
        width: calc(100vw - 20px);
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    [dir="rtl"] .lang-switch {
        margin-right: auto;
        margin-left: 12px;
    }
    [dir="rtl"] .whatsapp-float {
        left: 20px;
    }
    [dir="rtl"] .whatsapp-popup {
        left: 10px;
        right: auto;
    }
    [dir="rtl"] .back-to-top {
        left: 20px;
    }
}

/* ==============================================
   BaytHaus Commercial Refresh
   ============================================== */
body {
    background: var(--bg-primary);
    letter-spacing: 0;
}

.header {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(226,232,229,0.72);
}

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

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

.lang-switch {
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.lang-switch button {
    min-width: 44px;
    border-radius: 6px;
}

.lang-switch button.active {
    background: var(--accent);
}

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 56px 0 0;
    text-align: left;
    background: #101815;
}

.hero::after {
    display: block;
}

.hero-inner {
    align-items: flex-start;
    gap: 36px;
    width: 100%;
}

.hero-text {
    text-align: left;
    width: min(720px, 100%);
    max-width: 720px;
}

.hero-badge {
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
    border-radius: 6px;
    letter-spacing: 0;
}

.hero-title {
    letter-spacing: 0;
}

.hero-title span:not(:first-child) {
    color: #f1c889;
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    letter-spacing: 0;
}

.hero-desc {
    margin-left: 0;
    margin-right: 0;
    max-width: 700px;
    color: rgba(255,255,255,0.78);
}

.hero-btns {
    justify-content: flex-start;
}

.btn,
.form-submit {
    border-radius: 6px;
}

.btn-primary,
.form-submit {
    background: var(--accent);
}

.btn-primary:hover,
.form-submit:hover {
    background: var(--accent-hover);
}

.btn-outline {
    color: var(--accent);
    border-color: rgba(15,118,110,0.32);
    background: transparent;
}

.btn-outline:hover {
    color: var(--accent-hover);
    border-color: var(--accent);
    background: rgba(15,118,110,0.07);
}

.hero .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.48);
    background: rgba(255,255,255,0.08);
}

.hero .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.16);
}

.hero-stats {
    max-width: 720px;
    justify-content: flex-start;
    gap: 10px;
}

.stat-card {
    min-width: 150px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    text-align: left;
}

.stat-card:last-child {
    border-right: 1px solid rgba(255,255,255,0.18);
}

.stat-num {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #fff;
    font-size: var(--text-xl);
}

.stat-label {
    color: rgba(255,255,255,0.72);
}

.section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    color: var(--accent-warm);
    letter-spacing: 0.06em;
}

.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.market-card,
.coop-card,
.inquiry-form,
.cta-card,
.category-sidebar,
.product-detail-card,
.whatsapp-popup {
    border-radius: 8px;
}

.product-card:hover,
.coop-card:hover,
.product-detail-card:hover {
    transform: translateY(-2px);
}

.product-img {
    height: 260px;
}

.product-body {
    min-height: 182px;
    padding: 18px;
}

.product-price-hint {
    color: var(--accent);
}

.cat-pill,
.market-tag,
.product-tag,
.product-detail-tag,
.subcat-tag {
    border-radius: 6px;
}

.cat-pill.active,
.subcat-tag.active {
    background: var(--accent);
    border-color: var(--accent);
}

.cat-pill:hover,
.subcat-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.advantages-grid {
    gap: 16px;
}

.advantage-card {
    padding: 28px 24px;
    text-align: left;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    border-radius: 8px;
}

.advantage-card:hover {
    background: var(--bg-surface);
}

.advantage-icon {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
}

.advantage-card p {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.showcase-img {
    border-radius: 8px;
    background: var(--bg-surface);
}

.market-card,
.coop-card,
.inquiry-form {
    box-shadow: none;
}

.inquiry {
    background: var(--bg-surface);
}

.contact-icon {
    border-radius: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 6px;
}

.product-hero {
    background:
        linear-gradient(90deg, rgba(12,23,21,0.86), rgba(12,23,21,0.60)),
        url('../images/products/sofa_leather.jpg') center / cover no-repeat;
    color: #fff;
    text-align: left;
}

.product-hero-content {
    margin: 0;
    max-width: 680px;
}

.product-hero-content h1,
.product-hero-content p,
.hero-stat,
.hero-stat strong {
    color: #fff;
}

.product-hero-icon {
    display: none;
}

.product-hero-stats {
    justify-content: flex-start;
}

.back-link {
    color: #f1c889;
}

.product-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
}

.product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-detail-img {
    height: 300px;
}

.product-detail-body {
    padding: 22px;
}

.cta-card {
    box-shadow: none;
}

[dir="rtl"] .hero,
[dir="rtl"] .hero-text,
[dir="rtl"] .stat-card,
[dir="rtl"] .advantage-card,
[dir="rtl"] .product-hero {
    text-align: right;
}

[dir="rtl"] .hero-btns,
[dir="rtl"] .hero-stats,
[dir="rtl"] .product-hero-stats {
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        background: #101815;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .cat-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 62px 0 16px;
        min-height: auto;
        background: #101815;
    }

    .hero::before {
        background-position: 62% center;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .stat-card {
        width: 100%;
        min-width: 0;
        padding: 10px 8px;
    }

    .stat-num {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 10px;
        line-height: 1.3;
    }

    .hero-btns,
    .cta-btns {
        width: 100%;
    }

    .hero-btns .btn,
    .cta-btns .btn {
        width: 100%;
    }

    .products-grid,
    .product-detail-grid,
    .cat-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .product-img,
    .product-detail-img {
        height: 240px;
    }

    .product-body {
        min-height: auto;
    }

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

    .lang-switch button {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }
}

/* ---------- B2B product inquiry improvements ---------- */
.form-group label {
    display: block;
    margin: 0 0 7px;
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.product-card-actions .product-price-hint {
    margin-top: 0;
    text-decoration: none;
}

.product-quote-button {
    appearance: none;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-xxs);
    font-weight: 600;
    line-height: 1;
    padding: 8px 10px;
    white-space: nowrap;
}

.product-quote-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.product-spotlight {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 44px 0;
}

.product-spotlight[hidden] {
    display: none;
}

.product-spotlight-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 40px;
    align-items: center;
}

.product-spotlight-image {
    aspect-ratio: 4 / 3;
    background: var(--bg-secondary);
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 4rem;
}

.product-spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-spotlight-copy {
    max-width: 680px;
}

.product-spotlight-eyebrow {
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.product-spotlight-copy h2 {
    color: var(--text-primary);
    font-size: var(--text-2xl);
    line-height: 1.2;
    margin: 0 0 12px;
}

.product-spotlight-copy > p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.product-spotlight-note {
    font-size: var(--text-sm);
    margin-top: 18px;
}

.quote-float {
    position: fixed;
    right: 30px;
    bottom: 154px;
    z-index: 1000;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--text-primary);
    color: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 0 14px;
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: 700;
}

.quote-float:hover {
    background: var(--accent);
}

.quote-float-count {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-warm);
    color: var(--text-primary);
    font-size: 11px;
}

.quote-drawer {
    position: fixed;
    right: 30px;
    bottom: 96px;
    z-index: 1001;
    width: min(370px, calc(100vw - 40px));
    max-height: min(560px, calc(100vh - 124px));
    overflow: auto;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-primary);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.quote-drawer.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-drawer-head {
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    padding: 18px 18px 14px;
}

.quote-drawer-head h2 {
    color: var(--text-primary);
    font-size: var(--text-lg);
    margin: 0;
}

.quote-close,
.quote-stepper,
.quote-remove {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
}

.quote-close {
    font-size: 28px;
    line-height: 1;
    padding: 0 2px;
}

.quote-drawer-note {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    line-height: 1.5;
    margin: 0;
    padding: 14px 18px 8px;
}

.quote-list-items {
    list-style: none;
    margin: 0;
    padding: 4px 18px 12px;
}

.quote-list-empty {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    margin: 20px 0;
    text-align: center;
}

.quote-list-item {
    border-bottom: 1px solid var(--border-light);
    display: grid;
    gap: 10px;
    padding: 14px 0;
}

.quote-list-name {
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 600;
}

.quote-list-controls {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    font-size: var(--text-xxs);
    gap: 8px;
}

.quote-stepper {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 15px;
    height: 24px;
    line-height: 1;
    width: 24px;
}

.quote-remove {
    color: var(--accent);
    margin-left: auto;
    padding: 4px 0;
}

.quote-send {
    margin: 4px 18px 18px;
    width: calc(100% - 36px);
}

.quote-send:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

[dir="rtl"] .quote-float,
[dir="rtl"] .quote-drawer {
    left: 30px;
    right: auto;
}

[dir="rtl"] .quote-remove {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 768px) {
    .product-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-quote-button {
        width: 100%;
    }

    .product-spotlight {
        padding: 28px 0;
    }

    .product-spotlight-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .product-spotlight-copy h2 {
        font-size: var(--text-xl);
    }

    .quote-float {
        bottom: 140px;
        right: 20px;
    }

    .quote-drawer {
        bottom: 82px;
        right: 20px;
        width: calc(100vw - 40px);
    }

    [dir="rtl"] .quote-float,
    [dir="rtl"] .quote-drawer {
        left: 20px;
        right: auto;
    }
}
