/* ==========================================================================
   Wholesale section — /wholesale and /wholesale/deira-showroom
   Scoped under .ws so nothing leaks into the rest of the site.
   Uses logical properties (inline-start/end) so Arabic RTL mirrors cleanly.
   ========================================================================== */

.ws {
    --ws-pink: var(--bs-pink, #d42490);
    --ws-pink-soft: #f7eff5;
    --ws-pink-line: #f0d6e6;
    --ws-ink: #1f1f1f;
    --ws-muted: #5f5f66;
    --ws-line: #e9e9ee;
    --ws-surface: #fafafa;
    --ws-dark: #242424;
    --ws-radius: 14px;
    color: var(--ws-ink);
}

.ws section { scroll-margin-top: 90px; }
.ws a { text-decoration: none; }

/* ---------- Hero ---------- */
.ws-hero {
    background: linear-gradient(180deg, var(--ws-pink-soft) 0%, #fff 100%);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--ws-pink-line);
}
.ws-crumbs {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; padding: 0; margin: 0 0 20px;
    font-size: 13px; color: var(--ws-muted);
}
.ws-crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.ws-crumbs a { color: var(--ws-muted); }
.ws-crumbs a:hover { color: var(--ws-pink); }
.ws-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ws-pink);
    margin-bottom: 12px;
}
.ws-eyebrow:lang(ar) { letter-spacing: 0; }
.ws-hero h1 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
    max-width: 22ch;
}
.ws-hero h1:lang(ar) { max-width: 26ch; line-height: 1.45; }
.ws-answer {
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.75;
    color: #333;
    max-width: 70ch;
    margin: 0 0 26px;
    padding-inline-start: 16px;
    border-inline-start: 3px solid var(--ws-pink);
}
.ws-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Buttons ---------- */
.ws-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700; font-size: 15px; line-height: 1;
    border: 1.5px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    cursor: pointer;
}
.ws-btn:hover { transform: translateY(-1px); }
.ws-btn-primary { background: var(--ws-pink); color: #fff !important; }
.ws-btn-primary:hover { background: #b81d7c; }
.ws-btn-outline { background: #fff; color: var(--ws-ink) !important; border-color: var(--ws-line); }
.ws-btn-outline:hover { border-color: var(--ws-pink); color: var(--ws-pink) !important; }
.ws-btn-whatsapp { background: #25d366; color: #fff !important; }
.ws-btn-whatsapp:hover { background: #1eb457; }
.ws-btn-light { background: #fff; color: var(--ws-dark) !important; }
.ws-btn-light:hover { background: var(--ws-pink-soft); }

/* ---------- Key facts strip ---------- */
.ws-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 32px 0 0;
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: var(--ws-radius);
    overflow: hidden;
}
.ws-facts > div { padding: 16px 18px; border-inline-start: 1px solid var(--ws-line); }
.ws-facts > div:first-child { border-inline-start: 0; }
.ws-facts dt { font-size: 12px; font-weight: 600; color: var(--ws-muted); margin-bottom: 4px; }
.ws-facts dd { margin: 0; font-weight: 700; font-size: 15px; }
@media (max-width: 991px) {
    .ws-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-facts > div:nth-child(3) { border-inline-start: 0; }
    .ws-facts > div:nth-child(n+3) { border-top: 1px solid var(--ws-line); }
}
@media (max-width: 480px) {
    .ws-facts { grid-template-columns: 1fr; }
    .ws-facts > div { border-inline-start: 0; }
    .ws-facts > div + div { border-top: 1px solid var(--ws-line); }
}

/* ---------- Sections ---------- */
.ws-section { padding: 64px 0; }
.ws-section-alt { background: var(--ws-surface); border-block: 1px solid var(--ws-line); }
.ws-h2 {
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}
.ws-lead { color: var(--ws-muted); font-size: 16px; line-height: 1.7; max-width: 68ch; margin: 0 0 32px; }

/* ---------- Cards ---------- */
.ws-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ws-card {
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: var(--ws-radius);
    padding: 22px;
    height: 100%;
}
.ws-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; }
.ws-card p { color: var(--ws-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.ws-icon {
    width: 44px; height: 44px;
    display: inline-grid; place-items: center;
    border-radius: 12px;
    background: var(--ws-pink-soft);
    color: var(--ws-pink);
    font-size: 18px;
}

/* ---------- Comparison table ---------- */
.ws-table-wrap { overflow-x: auto; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff; }
.ws-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.ws-table th, .ws-table td { padding: 14px 18px; text-align: start; vertical-align: top; font-size: 15px; line-height: 1.55; }
.ws-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ws-muted); background: var(--ws-surface); border-bottom: 1px solid var(--ws-line); }
.ws-table thead th:lang(ar) { letter-spacing: 0; }
.ws-table thead th.ws-col-us { color: var(--ws-pink); }
.ws-table tbody tr + tr td, .ws-table tbody tr + tr th { border-top: 1px solid var(--ws-line); }
.ws-table tbody th { font-weight: 700; width: 24%; }
.ws-table td.ws-col-us { font-weight: 600; }
.ws-table td.ws-col-us i { color: var(--ws-pink); margin-inline-end: 6px; }
.ws-table td.ws-col-them { color: var(--ws-muted); }

/* ---------- Numbered steps ---------- */
.ws-steps { list-style: none; padding: 0; margin: 0; counter-reset: ws-step; display: grid; gap: 14px; }
.ws-steps li {
    counter-increment: ws-step;
    position: relative;
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: var(--ws-radius);
    padding: 18px 20px;
    padding-inline-start: 72px;
}
.ws-steps li::before {
    content: counter(ws-step);
    position: absolute;
    inset-inline-start: 20px; top: 18px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--ws-pink); color: #fff;
    font-weight: 800; font-size: 15px;
}
.ws-steps h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 4px; }
.ws-steps p { margin: 0; color: var(--ws-muted); font-size: 14.5px; line-height: 1.6; }
@media (min-width: 992px) {
    .ws-steps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ws-steps-row li { padding: 64px 18px 18px; }
    .ws-steps-row li::before { top: 18px; inset-inline-start: 18px; }
}

/* ---------- Question / answer blocks ---------- */
.ws-qa { display: grid; gap: 14px; }
.ws-qa article {
    background: #fff;
    border: 1px solid var(--ws-line);
    border-inline-start: 3px solid var(--ws-pink);
    border-radius: var(--ws-radius);
    padding: 20px 22px;
}
.ws-qa h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ws-qa p { margin: 0; color: #444; line-height: 1.7; }

/* ---------- Dark band (distributor / CTA) ---------- */
.ws-band { background: var(--ws-dark); color: #fff; border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.ws-band .ws-h2 { color: #fff; }
.ws-band p { color: rgba(255,255,255,.78); line-height: 1.75; }
.ws-ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ws-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.ws-ticks i { color: var(--ws-pink); margin-top: 4px; }
.ws-band .ws-ticks li { color: rgba(255,255,255,.9); }

/* ---------- Enquiry form ---------- */
.ws-form-card {
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: 20px;
    padding: clamp(22px, 3vw, 36px);
    box-shadow: 0 18px 50px rgba(0,0,0,.05);
}
.ws-form-card label { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.ws-form-card .form-control, .ws-form-card .form-select {
    height: 48px;
    border-radius: 10px;
    border-color: var(--ws-line);
    font-size: 15px;
}
.ws-form-card textarea.form-control { height: 120px; resize: vertical; }
.ws-form-card .form-control:focus, .ws-form-card .form-select:focus {
    border-color: var(--ws-pink);
    box-shadow: 0 0 0 .2rem rgba(212,36,144,.12);
}
.ws-form-card .form-select:lang(ar) { background-position: left .75rem center; padding-left: 2.25rem; padding-right: .75rem; }
.ws-form-card .ws-ltr { direction: ltr; }
.ws-form-card .ws-ltr:lang(ar) { text-align: right; }
.ws-form-card .ws-ltr::placeholder { direction: ltr; }
.ws-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ws-privacy { font-size: 12.5px; color: var(--ws-muted); margin: 12px 0 0; }
.ws-aside-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ws-aside-list a, .ws-aside-list span { color: var(--ws-ink); font-weight: 600; }
.ws-aside-list a:hover { color: var(--ws-pink); }
.ws-aside-list li { display: flex; gap: 12px; align-items: center; }
.ws-aside-list .ws-icon { width: 38px; height: 38px; font-size: 15px; flex: 0 0 auto; }

/* ---------- FAQ (Bootstrap accordion skin) ---------- */
.ws-faq .accordion-item { border: 1px solid var(--ws-line); border-radius: var(--ws-radius) !important; overflow: hidden; margin-bottom: 10px; }
.ws-faq .accordion-button { font-weight: 700; font-size: 16px; padding: 18px 20px; gap: 12px; }
.ws-faq .accordion-button:lang(ar) { text-align: right; }
.ws-faq .accordion-button:lang(ar)::after { margin-left: 0; margin-right: auto; }
.ws-faq .accordion-button:not(.collapsed) { background: var(--ws-pink-soft); color: var(--ws-ink); box-shadow: none; }
.ws-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(212,36,144,.12); }
.ws-faq .accordion-body { color: #444; line-height: 1.75; padding: 4px 20px 20px; }
.ws-faq .accordion-button:not(.collapsed) + * .accordion-body,
.ws-faq .accordion-collapse.show .accordion-body { background: var(--ws-pink-soft); }

/* ---------- Showroom: details list, map, chips ---------- */
.ws-details { margin: 0; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff; overflow: hidden; }
.ws-details > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 18px; }
.ws-details > div + div { border-top: 1px solid var(--ws-line); }
.ws-details dt { font-size: 13.5px; font-weight: 600; color: var(--ws-muted); display: flex; gap: 8px; align-items: baseline; }
.ws-details dt i { color: var(--ws-pink); width: 16px; text-align: center; }
.ws-details dd { margin: 0; font-weight: 600; line-height: 1.6; }
.ws-details dd a { color: var(--ws-ink); }
.ws-details dd a:hover { color: var(--ws-pink); }
.ws-details dd small { display: block; font-weight: 400; color: var(--ws-muted); }
@media (max-width: 575px) {
    .ws-details > div { grid-template-columns: 1fr; gap: 2px; }
}
.ws-map {
    border-radius: var(--ws-radius);
    overflow: hidden;
    border: 1px solid var(--ws-line);
    height: 100%;
    min-height: 360px;
    background: var(--ws-surface);
}
.ws-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.ws-chips li {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ws-pink-line);
    font-weight: 600; font-size: 14px;
}
.ws-chips li i { color: var(--ws-pink); margin-inline-end: 6px; font-size: 12px; }

/* ---------- Teaser / CTA ---------- */
.ws-teaser {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--ws-pink-soft);
    border: 1px solid var(--ws-pink-line);
    border-radius: 20px;
    padding: clamp(24px, 3.5vw, 40px);
}
.ws-teaser .ws-h2 { margin-bottom: 6px; }
.ws-teaser p { margin: 0; color: #444; max-width: 60ch; line-height: 1.7; }

@media (max-width: 767px) {
    .ws-hero { padding: 32px 0 28px; }
    .ws-section { padding: 44px 0; }
    .ws-actions .ws-btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Enquiry sent confirmation ---------- */
.ws-sent {
    display: flex; gap: 10px; align-items: flex-start;
    background: #eaf7ef; color: #14532d;
    border: 1px solid #bfe5cc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 600; line-height: 1.55;
}
.ws-sent i { color: #16a34a; margin-top: 3px; }

/* ---------- Freshness line under the direct answer ---------- */

/* ---------- Hero with background image ----------
   The <img> fills the inline-end half of the hero; a gradient from the hero
   colour fades it in behind the text. RTL mirrors via the [dir] rules.     */
.ws-hero-has-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 56px 0 44px;
    border-bottom: 0;
    --ws-hero-base: #fbe1eb;
    background: var(--ws-hero-base);
}
.ws-hero-has-bg .ws-hero-bg {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 58%;
    z-index: -1;
}
.ws-hero-has-bg .ws-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.ws-hero-has-bg .ws-hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to right, var(--ws-hero-base) 0%, color-mix(in srgb, var(--ws-hero-base) 70%, transparent) 22%, transparent 55%);
}
[dir="rtl"] .ws-hero-has-bg .ws-hero-bg::after {
    background: linear-gradient(to left, var(--ws-hero-base) 0%, color-mix(in srgb, var(--ws-hero-base) 70%, transparent) 22%, transparent 55%);
}
.ws-hero-has-bg .ws-hero-copy { max-width: 600px; }
.ws-hero-has-bg .ws-facts { position: relative; box-shadow: 0 12px 40px rgba(0,0,0,.08); }

/* Light theme (hub): soft pink base matching the product banner */
.ws-hero-light { --ws-hero-base: #fbe1eb; }

/* Dark theme (showroom): mauve base matching the satin photo */
.ws-hero-dark { --ws-hero-base: #4a2431; color: #fff; }
.ws-hero-dark .ws-crumbs, .ws-hero-dark .ws-crumbs a { color: rgba(255,255,255,.75); }
.ws-hero-dark .ws-crumbs a:hover { color: #fff; }
.ws-hero-dark .ws-eyebrow { color: #ff9fd4; }
.ws-hero-dark h1 { color: #fff; }
.ws-hero-dark .ws-answer { color: rgba(255,255,255,.9); border-inline-start-color: #ff9fd4; }
.ws-hero-dark .ws-updated { color: rgba(255,255,255,.65); }
.ws-hero-dark .ws-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.ws-hero-dark .ws-btn-outline:hover { border-color: #fff; color: #fff !important; background: rgba(255,255,255,.08); }
.ws-hero-dark .ws-facts { color: var(--ws-ink); }

/* Tablet: image takes more width, text gets a stronger wash */
@media (max-width: 1199px) {
    .ws-hero-has-bg .ws-hero-bg { width: 65%; }
}

/* Phone: image becomes a top banner that fades down into the text */
@media (max-width: 991px) {
    .ws-hero-has-bg { padding: 0 0 32px; }
    .ws-hero-has-bg .ws-hero-bg {
        position: relative;
        inset: auto;
        width: 100%;
        height: 260px;
        z-index: 0;
    }
    .ws-hero-has-bg .ws-hero-bg::after,
    [dir="rtl"] .ws-hero-has-bg .ws-hero-bg::after {
        background: linear-gradient(to top, var(--ws-hero-base) 0%, transparent 45%);
    }
    .ws-hero-has-bg .ws-hero-inner { position: relative; margin-top: -4px; }
    .ws-hero-has-bg .ws-hero-copy { max-width: none; }
}
@media (max-width: 480px) {
    .ws-hero-has-bg .ws-hero-bg { height: 220px; }
}

/* ---------- Key facts table (identical on every page) ---------- */
.ws-facttable { min-width: 0; }
.ws-facttable th[scope="row"] { width: 32%; color: var(--ws-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ws-facttable td { font-weight: 600; }
.ws-facttable td a { color: var(--ws-ink); border-bottom: 1px dashed var(--ws-pink-line); }
.ws-facttable td a:hover { color: var(--ws-pink); }
.ws-facttable tr:nth-child(even) th, .ws-facttable tr:nth-child(even) td { background: var(--ws-surface); }
@media (max-width: 575px) {
    .ws-facttable th[scope="row"], .ws-facttable td { display: block; width: auto; }
    .ws-facttable th[scope="row"] { padding-bottom: 0; border-top: 1px solid var(--ws-line); white-space: normal; }
    .ws-facttable tr:first-child th[scope="row"] { border-top: 0; }
    .ws-facttable td { padding-top: 4px; border-top: 0 !important; }
}
.col-lg-5.d-flex .ws-map { flex: 1; }

/* ---------- Product range with photos ---------- */
.ws-range { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-range-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--ws-line);
    border-radius: var(--ws-radius);
    overflow: hidden;
}
.ws-range-card img { display: block; width: 100%; aspect-ratio: 37 / 30; object-fit: cover; background: var(--ws-surface); }
.ws-range-card figcaption { padding: 16px 18px 18px; }
.ws-range-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.ws-range-card p { margin: 0; color: var(--ws-muted); line-height: 1.6; }
@media (max-width: 767px) { .ws-range { grid-template-columns: 1fr; } }
@media (min-width: 576px) and (max-width: 767px) { .ws-range { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ws-h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; }

/* ---------- Last updated line at the foot of the page ---------- */
.ws-updated { font-size: 13px; color: var(--ws-muted); margin: 0; padding: 18px 0 40px; border-top: 1px solid var(--ws-line); }

/* Neutral theme (Murshid Bazaar): soft grey base matching the lips photo */
.ws-hero-neutral { --ws-hero-base: #ece8e4; }
@media (min-width: 992px) {
    .ws-steps-row.ws-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Product pages ---------- */
/* White theme: product line-ups are shot on white */
.ws-hero-white { --ws-hero-base: #ffffff; border-bottom: 1px solid var(--ws-line); }

.ws-type-card { display: block; color: var(--ws-ink); text-align: center; transition: border-color .18s ease, transform .18s ease; }
.ws-type-card:hover { border-color: var(--ws-pink); color: var(--ws-ink); transform: translateY(-2px); }
.ws-type-card img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto; display: block; }
.ws-type-card h3 { margin-top: 10px; }
.ws-type-card p { color: var(--ws-pink); font-weight: 700; }

.ws-count {
    display: inline-block; vertical-align: middle;
    margin-inline-start: 8px; padding: 2px 10px;
    border-radius: 999px; background: var(--ws-pink-soft); color: var(--ws-pink);
    font-size: 13px; font-weight: 700;
}
.ws-shades {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.ws-shades a {
    display: block; background: #fff;
    border: 1px solid var(--ws-line); border-radius: 12px;
    padding: 8px 8px 10px; text-align: center; color: var(--ws-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ws-shades a:hover { border-color: var(--ws-pink); box-shadow: 0 8px 22px rgba(212, 36, 144, .10); color: var(--ws-ink); }
.ws-shades img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; }
.ws-shades span { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.35; }
@media (max-width: 480px) { .ws-shades { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ws-shades span { font-size: 12px; } }

/* Clickable range cards (brand page) */
.ws-range-link { display: block; color: var(--ws-ink); transition: border-color .18s ease, transform .18s ease; }
.ws-range-link:hover { border-color: var(--ws-pink); color: var(--ws-ink); transform: translateY(-2px); }
.ws-range-body { padding: 16px 18px 18px; }
.ws-range-body h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.ws-range-body p { margin: 0 0 10px; color: var(--ws-muted); line-height: 1.6; }
.ws-range-more { color: var(--ws-pink); font-weight: 700; font-size: 14px; }
.ws-range-more i { font-size: 11px; margin-inline-start: 4px; }

/* Cluster links between the landing pages */
.ws-related { padding: 36px 0 8px; }
.ws-related .ws-chips { margin-top: 0; }
.ws-related .ws-chips a { color: var(--ws-ink); }
.ws-related .ws-chips a:hover { color: var(--ws-pink); }
.ws-related .ws-chips li:has(a:hover) { border-color: var(--ws-pink); }
