/* ==========================================================================
   Wholesale home page (WholeSale/Default.aspx) — modern redesign
   Scoped under .ws-home-page (classes prefixed ws-) so shared theme classes
   (.btn_full, .owl-carousel, .tour_container, ...) keep their old look
   wherever else they're used. Mirrors the consumer home-page.css pattern.
   Palette: coral #FF6B4A / teal #1F7A6C / cream #FFF6EE on warm neutrals.
   Type: Fredoka (headings) + Nunito Sans (body) — loaded from the master page.
   ========================================================================== */

.ws-home-page {
    --ws-coral: #FF6B4A;
    --ws-coral-dark: #E24E2F;
    --ws-coral-soft: rgba(255, 107, 74, 0.08);
    --ws-teal: #1F7A6C;
    --ws-teal-dark: #145E53;
    --ws-gold: #FFB238;
    --ws-green: #2FA36B;
    --ws-danger: #E14D67;
    --ws-cream: #FFF6EE;
    --ws-ink: #241F1B;
    --ws-body: #6B6058;
    --ws-muted: #A49A91;
    --ws-border: #F0E2D6;
    --ws-surface: #FFFFFF;
    --ws-radius: 16px;
    --ws-radius-sm: 10px;
    --ws-shadow: 0 10px 30px rgba(36, 31, 27, 0.07);
    --ws-shadow-hover: 0 14px 34px rgba(36, 31, 27, 0.13);

    color: var(--ws-body);
    font-family: "Nunito Sans", Arial, sans-serif;
}

.ws-home-page .container {
    max-width: 1200px;
}

/* ---------- Section scaffolding ---------- */

.ws-section {
    padding: 48px 0;
}

.ws-section-tint {
    background: var(--ws-cream);
}

.ws-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 32px;
}

.ws-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ws-teal);
    background: rgba(31, 122, 108, 0.09);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.ws-section-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ws-ink);
}

.ws-section-head h2 span {
    color: var(--ws-coral);
}

.ws-section-head p {
    margin: 0;
    font-size: 15.5px;
    color: var(--ws-muted);
}

/* ---------- Hero banner ---------- */

.ws-hero {
    display: block;
    position: relative;
    margin: 16px auto 0;
    max-width: 1400px;
    padding: 0 16px;
}

.ws-hero-link {
    display: block;
    border-radius: var(--ws-radius);
    overflow: hidden;
    box-shadow: var(--ws-shadow);
}

.ws-hero-link img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Category grid ---------- */

.ws-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 768px) {
    .ws-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .ws-cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

.ws-cat-card {
    position: relative;
    display: block;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(36, 31, 27, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ws-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ws-shadow-hover);
    text-decoration: none;
}

.ws-cat-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ws-cream), #FFE0D0);
}

.ws-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ws-cat-card:hover .ws-cat-media img {
    transform: scale(1.06);
}

.ws-cat-offer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 22px 12px 8px;
}

.ws-cat-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
}

.ws-cat-body h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ws-ink);
    text-transform: none;
    line-height: 1.3;
}

.ws-cat-cta {
    flex: none;
    font-size: 12px;
    font-weight: 800;
    color: var(--ws-teal);
    white-space: nowrap;
}

.ws-cat-cta i {
    margin-left: 2px;
}

/* ---------- Top-selling product carousel ---------- */

.ws-home-page .ws-product-carousel {
    padding-bottom: 8px;
}

.ws-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(36, 31, 27, 0.05);
}

.ws-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ws-cream), #FFE9D6);
}

.ws-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ws-card:hover .ws-card-media img {
    transform: scale(1.05);
}

.ws-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 16px;
}

.ws-card-title {
    margin: 0;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 2.8em;
    color: var(--ws-ink);
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ws-card-meta {
    margin: 0;
    font-size: 12.5px;
    color: var(--ws-muted);
}

.ws-card-body .rating {
    font-size: 13px;
}

.ws-card-body .rating .icon-star.voted {
    color: var(--ws-gold);
}

.ws-card-body .rating .icon-star-empty {
    color: #E8DCD2;
}

.ws-card-body .rating small {
    color: var(--ws-muted);
}

.ws-buy-btn {
    display: block;
    margin-top: auto;
    background: var(--ws-coral);
    color: #fff;
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ws-buy-btn:hover,
.ws-buy-btn:focus {
    background: var(--ws-coral-dark);
    color: #fff;
    text-decoration: none;
}

.ws-home-page .owl-car .owl-nav .nav-btn {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: 50%;
    box-shadow: var(--ws-shadow);
    color: var(--ws-ink);
}

.ws-home-page .owl-car .owl-nav .nav-btn:hover {
    background: var(--ws-coral);
    border-color: var(--ws-coral);
    color: #fff;
}

/* ---------- Promo banner (CMS-driven) ---------- */

.ws-promo {
    position: relative;
    margin: 8px 0 0;
    padding: 90px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.ws-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 31, 27, 0.35), rgba(36, 31, 27, 0.65));
}

.ws-promo-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.ws-promo-inner h3 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ws-promo-inner h3:empty {
    display: none;
}

.ws-promo-inner p {
    margin: 0 0 22px;
    font-size: 15.5px;
    opacity: 0.92;
}

.ws-promo-inner p:empty {
    display: none;
}

.ws-promo-cta {
    display: inline-block;
    background: var(--ws-coral);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ws-promo-cta:hover,
.ws-promo-cta:focus {
    background: var(--ws-coral-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ---------- Feature cards ---------- */

.ws-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .ws-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

.ws-feature-card {
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    box-shadow: var(--ws-shadow);
    padding: 26px 18px;
    text-align: center;
}

.ws-feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--ws-coral);
    background: var(--ws-coral-soft);
}

.ws-feature-card:nth-child(2n) i {
    color: var(--ws-teal);
    background: rgba(31, 122, 108, 0.09);
}

.ws-feature-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    color: var(--ws-ink);
}

.ws-feature-card h3 span {
    color: var(--ws-coral);
}

.ws-feature-card:nth-child(2n) h3 span {
    color: var(--ws-teal);
}

.ws-feature-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--ws-muted);
}

/* ---------- Why order with Alcazar ---------- */

.ws-why-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

@media (min-width: 768px) {
    .ws-why-row {
        grid-template-columns: 1.1fr 1fr;
        gap: 40px;
    }
}

.ws-why-media {
    display: none;
    border-radius: var(--ws-radius);
    overflow: hidden;
}

@media (min-width: 768px) {
    .ws-why-media {
        display: block;
    }
}

.ws-why-media img {
    width: 100%;
    display: block;
}

.ws-why-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    color: var(--ws-ink);
}

.ws-why-content h3 span {
    color: var(--ws-coral);
}

.ws-why-content > p {
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.7;
}

.ws-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ws-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: var(--ws-body);
}

.ws-why-list li span {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ws-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* ---------- Blog ---------- */

.ws-blog-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(120deg, var(--ws-teal), var(--ws-teal-dark));
    color: #fff;
    border-radius: var(--ws-radius);
    padding: 26px 30px;
    margin-bottom: 28px;
}

.ws-blog-cta h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    color: #fff;
}

.ws-blog-cta-btn {
    flex: none;
    display: inline-block;
    background: #fff;
    color: var(--ws-teal-dark);
    font-weight: 800;
    font-size: 13.5px;
    padding: 11px 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ws-blog-cta-btn:hover {
    transform: translateY(-2px);
    color: var(--ws-teal-dark);
    text-decoration: none;
}

.ws-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .ws-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ws-blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ws-blog-card {
    display: block;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(36, 31, 27, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ws-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ws-shadow-hover);
    text-decoration: none;
}

.ws-blog-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ws-cream), #FFE9D6);
}

.ws-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-blog-body {
    padding: 16px;
}

.ws-blog-body h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ws-ink);
    line-height: 1.4;
}

.ws-blog-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ws-muted);
}

/* ---------- Bottom CMS content ---------- */

.ws-desc {
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    box-shadow: var(--ws-shadow);
    padding: 26px 28px;
    font-size: 14.5px;
    line-height: 1.7;
    overflow-x: auto;
}

.ws-desc:empty {
    display: none;
}

.ws-desc h1,
.ws-desc h2,
.ws-desc h3,
.ws-desc h4 {
    color: var(--ws-ink);
    margin: 18px 0 10px;
}

.ws-desc h1:first-child,
.ws-desc h2:first-child,
.ws-desc h3:first-child,
.ws-desc p:first-child {
    margin-top: 0;
}

.ws-desc img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ws-radius-sm);
}

/* ---------- Mobile ---------- */

@media (max-width: 767.98px) {
    .ws-section {
        padding: 32px 0;
    }

    .ws-section-head h2 {
        font-size: 24px;
    }

    .ws-promo {
        padding: 60px 18px;
    }

    .ws-promo-inner h3 {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .ws-cat-body {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ws-cat-body h3 {
        font-size: 13.5px;
    }

    .ws-cat-cta {
        font-size: 11.5px;
    }

    .ws-blog-cta {
        padding: 20px;
        justify-content: center;
        text-align: center;
    }
}
