/* ============================================================
   Anmol Medicos — Public Website Stylesheet
   Covers: layout, components, homepage, brand page
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --ink: #0a1128;
    --muted: #1e293b;
    /* Darkened further for clarity */
    --line: #e2e6f2;
    --soft: #f6f7fc;
    --brand: #1f4d9a;
    --accent: #d51b8c;
    --white: #fff;
}

/* ── Reset & Base ── */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: 20px;
    /* Slightly larger for maximum legibility */
    line-height: 1.65;
    color: var(--ink);
    background: #f8f9fe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin: 0 0 1.25em;
    /*font-weight: 500;*/
    /* Added slight weight for better presence */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(34px, 6vw, 48px);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: system-ui, -apple-system, sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    display: block;
    color: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Navigation ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.navlinks {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 17px;
    /* Increased for visibility */
    font-weight: 500;
}

/* ── Buttons ── */
.btn,
button {
    border: 0;
    border-radius: 6px;
    background: var(--brand);
    color: white;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.btn:hover,
button:hover {
    background: #173d82;
}

.btn.secondary {
    background: white;
    color: var(--brand);
    border: 1px solid var(--line);
}

.btn.danger {
    background: #b42318;
}

/* ── Hero Slider ── */
.hero {
    position: relative;
    min-height: 560px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: #11214f;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .55s ease;
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 33, 79, .86) 0%, rgba(31, 77, 154, .62) 45%, rgba(213, 27, 140, .14) 100%);
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    color: white;
    padding: 54px 0 70px;
}

.hero-copy .eyebrow {
    color: #f472b6;
    /* Slightly more vibrant and visible */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 15px;
    /* Increased */
}

.hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(22px, 4vw, 56px);
    line-height: 1.08;
    max-width: 690px;
    color: white;
}

.hero p {
    margin: 0;
    color: #f8fafc;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-actions .btn.secondary {
    background: rgba(255, 255, 255, .92);
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 34px;
    height: 4px;
    min-height: 4px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
}

.hero-dot.is-active {
    background: white;
}

/* ── Brand Swiper (homepage) ── */
.brand-section {
    padding: 60px 6px;
    background: #f8f9fe;
}

.section-title {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
}

.brand-swiper {
    overflow: hidden;
    padding: 8px 0 20px;
}

.brand-swiper .swiper-slide {
    width: 130px;
    display: flex;
    justify-content: center;
}

.brand-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    text-decoration: none;
    transition: transform .2s;
}

.brand-logo-card:hover {
    transform: translateY(-4px);
}

.brand-logo {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(18, 52, 59, .08);
    color: var(--brand);
    font-size: 30px;
    font-weight: 800;
    padding: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-card span {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    max-width: 110px;
    color: var(--ink);
}

/* ── Shop by Category (homepage) ── */
.cat-section {
    padding: 80px 0;
    background: #f8faff;
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.cat-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(31, 77, 154, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cat-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.premium-cat-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    text-decoration: none;
    color: var(--ink);
    display: block;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 12px rgba(17, 33, 79, 0.03);
}

.premium-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 33, 79, 0.08);
    border-color: var(--brand);
}

.cat-card-inner {
    display: flex;
    flex-direction: column;
}

.cat-card-media {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-cat-card:hover .cat-card-media img {
    transform: scale(1.08);
}

.cat-card-placeholder {
    font-size: 80px;
    font-weight: 900;
    color: var(--soft);
}

.cat-card-footer {
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cat-card-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 6px;
    opacity: 0.8;
}

.cat-card-footer h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.cat-card-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.premium-cat-card:hover .cat-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--brand);
    color: white;
}

@media (max-width: 900px) {
    .cat-trio {
        grid-template-columns: 1fr;
    }
}

/* ── Trust Strip (homepage) ── */
.trust-section {
    background: #f8f9fc;
    /* Soft premium background */
    padding: 64px 0;
    /* More spacious */
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    /* Removing gap for border placement */
    align-items: start;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0 32px;
    transition: transform 0.3s ease;
    border-right: 1px solid #e2e8f0;
    /* Subtle vertical divider */
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    transform: translateY(-8px);
}

.trust-icon {
    width: 64px;
    /* Larger icon */
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    background: white;
    /* Clean white base */
    border-radius: 16px;
    padding: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(31, 77, 154, 0.08);
}

.trust-item:hover .trust-icon {
    background: var(--brand);
    color: white;
    box-shadow: 0 12px 24px rgba(31, 77, 154, 0.25);
    transform: rotate(-3deg) scale(1.1);
}

.trust-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-item strong {
    color: var(--brand);
    font-size: 18px;
    /* Slightly larger */
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trust-item span {
    color: var(--muted);
    font-size: 16px;
    /* Larger */
    line-height: 1.6;
    max-width: 240px;
    font-weight: 500;
}

/* ── Brand Page ── */
.brand-hero {
    background: linear-gradient(135deg, #11214f 0%, #1f4d9a 60%, #d51b8c22 100%);
    padding: 52px 0 44px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.brand-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(213, 27, 140, .15) 0%, transparent 65%);
    pointer-events: none;
}

.brand-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.brand-hero-logo {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 12px;
    background: white;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    font-size: 38px;
    font-weight: 900;
    color: var(--brand);
    overflow: hidden;
    padding: 12px;
}

.brand-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-hero-text h1 {
    margin: 0 0 6px;
    font-size: clamp(26px, 4vw, 42px);
    color: white;
}

.brand-hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.brand-tag {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .9);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
}

.brand-desc {
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    line-height: 1.55;
    margin-top: 10px;
    max-width: 600px;
}

.brand-categories {
    background: white;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 68px;
    z-index: 15;
}

.brand-categories-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}

.brand-categories-inner::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid var(--line);
    color: var(--muted);
    background: white;
    text-decoration: none;
    transition: all .15s;
    flex-shrink: 0;
}

.cat-tab:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.cat-tab.is-active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.cat-tab .cat-count {
    background: rgba(0, 0, 0, .1);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 11px;
}

.cat-tab.is-active .cat-count {
    background: rgba(255, 255, 255, .25);
}

.brand-body {
    padding: 36px 0 60px;
}

.brand-body-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-body-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}

.result-count {
    font-size: 14px;
    color: var(--muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pcard {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
    color: var(--ink);
}

.pcard:hover {
    box-shadow: 0 12px 40px rgba(17, 33, 79, .12);
    transform: translateY(-3px);
}

.pcard-media {
    aspect-ratio: 4/3;
    background: var(--soft);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.pcard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.pcard:hover .pcard-media img {
    transform: scale(1.04);
}

.pcard-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcard-eyebrow {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 2px 0 !important;
}

.pcard-name {
    font-size: 18px;
    /* Increased */
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.pcard-composition {
    font-size: 15px;
    color: #1e3a8a;
    /* Darker blue */
    line-height: 1.4;
    font-weight: 600;
    /* Added weight */
}

.pcard-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pcard-chip {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    color: var(--ink);
    background: #f1f5f9;
    font-weight: 600;
}

.pcard-rate {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    margin-top: auto;
}

.pcard-rate strong {
    color: var(--ink);
}

.pcard-actions {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
    align-items: center;
}

.pcard-actions input[type="number"] {
    max-width: 76px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.pcard-actions button {
    flex: 1;
    font-size: 14px;
    padding: 11px 14px;
    font-weight: 700;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--muted);
}

.empty-state .empty-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--ink);
    margin: 0 0 8px;
}

.pagination-wrap {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

/* ── Shared Components ── */
.footer {
    background: #f3f5fc;
    color: #11214f;
    padding-top: 42px;
    border-top: 1px solid #e0e5f4;
}

.footer-main {
    padding: 34px 0 22px;
}

.footer-brand {
    margin-bottom: 34px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.footer-company {
    font-size: 18px;
    /* Increased */
    font-weight: 800;
    letter-spacing: .01em;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 36px;
}

.footer h3 {
    color: #010719;
    font-size: 22px;
    /* Increased */
    margin: 0 0 16px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 13px;
}

.footer-links a {
    color: var(--muted);
    /* Use consistent variable */
    font-size: 17px;
    /* Increased */
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .95fr;
    gap: 38px;
    align-items: start;
    margin-bottom: 26px;
}

.footer-info {
    display: grid;
    gap: 8px;
    font-size: 16px;
    /* Increased */
    line-height: 1.48;
    color: var(--muted);
    font-weight: 500;
}

.footer-info strong {
    color: #010719;
}

.footer-phone-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.footer-phone-link:hover strong {
    color: var(--brand);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 4px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid #d9deef;
    color: var(--accent);
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(17, 33, 79, .07);
}

.social-links a:last-child {
    font-size: 18px;
}

.footer-app {
    border-top: 1px solid #e0e5f4;
    padding: 26px 0 22px;
}

.footer-app h3 {
    margin-bottom: 8px;
}

.footer-app p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    /* Increased */
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.filters {
    margin: 22px 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 12px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--ink);
    background: white;
    font: inherit;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

label {
    display: block;
    font-size: 15px;
    /* Increased */
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.product {
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-media {
    aspect-ratio: 4/3;
    background: var(--soft);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.eyebrow,
.meta {
    color: var(--muted);
    font-size: 14px;
    /* Increased */
}

.product h3 {
    margin: 0 0 2px 0 !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.product h3 a {
    color: inherit;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.salt {
    color: #283d7d;
    font-size: 14px;
    line-height: 1.35;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--muted);
    background: #fbfefe;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.content {
    padding: 26px 0 48px;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: start;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table th {
    color: var(--muted);
    font-size: 13px;
    background: #f3faf9;
}

.notice {
    padding: 12px 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    margin: 16px 0;
    color: #9a3412;
}

.pagination {
    margin-top: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.full {
    grid-column: 1 / -1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cat-trio {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .cat-card {
        aspect-ratio: 4/5;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-hero-inner {
        gap: 18px;
    }

    .brand-hero-logo {
        width: 74px;
        height: 74px;
        font-size: 28px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 24px;
    }

    .trust-item {
        border-right: none !important;
        padding: 0 16px;
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid #e2e8f0 !important;
    }

    .footer-links-grid,
    .footer-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .filters,
    .grid,
    .split,
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 20px, 1180px);
    }

    .nav {
        height: auto;
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: row;
    }

    .logo img {
        height: 42px;
    }

    .navlinks {
        top: 56px !important;
        padding-top: 8px !important;
        max-height: calc(100vh - 56px) !important;
    }

    .hero {
        min-height: 540px;
    }

    .hero-slide {
        background-position: center;
    }

    .hero-copy {
        width: min(100% - 20px, 1180px);
        padding: 32px 0 54px;
    }

    .hero h1 {
        font-size: clamp(20px, 6vw, 36px);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.55;
    }

    .hero-copy .eyebrow {
        font-size: 11px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 16px;
    }

    .trust-item {
        border-right: none !important;
        padding: 0 12px;
        gap: 12px;
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid #e2e8f0 !important;
    }

    .trust-item strong {
        font-size: 14px;
    }

    .trust-item span {
        font-size: 13px;
        line-height: 1.4;
        max-width: 100%;
    }

    .trust-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        padding: 12px;
    }

    .brand-logo {
        width: 82px;
        height: 82px;
        font-size: 26px;
    }

    .footer-links-grid,
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logo img {
        height: 62px;
    }

    .filters,
    .grid,
    .split,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .products-grid .pcard {
        border-radius: 12px !important;
    }

    .products-grid .pcard-body {
        padding: 12px !important;
        gap: 6px !important;
    }

    .products-grid .pcard-eyebrow {
        font-size: 10px !important;
        font-weight: 500 !important;
    }

    .products-grid .pcard-name {
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .products-grid .pcard-composition {
        font-size: 13px !important;
    }

    .products-grid .pcard-chip {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }

    .products-grid .pcard-rate {
        font-size: 13px !important;
    }

    .card-actions,
    .pcard-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        padding: 10px 8px !important;
        margin-top: auto !important;
        box-sizing: border-box !important;
    }

    /* Mobile overrides for .product cards (used in similar products & swiper grids) */
    .product {
        border-radius: 12px !important;
    }

    .product-body {
        padding: 12px !important;
        gap: 6px !important;
    }

    .product-body .eyebrow {
        font-size: 10px !important;
        font-weight: 500 !important;
        margin-bottom: 2px !important;
    }

    .product h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin-bottom: 2px !important;
    }

    .product .salt {
        font-size: 13px !important;
    }

    .product .chip {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }

    .product .meta {
        font-size: 13px !important;
    }

    /* Unified Snug Quantity Selector */
    .card-actions .qty-control,
    .pcard-actions .qty-control {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        height: 32px !important;
        min-height: 32px !important;
        border-radius: 6px !important;
        width: 50px !important;
        overflow: hidden !important;
        border: 1px solid var(--line) !important;
        box-sizing: border-box !important;
        background: white !important;
    }

    .card-actions .qty-control .qty-btn,
    .pcard-actions .qty-control .qty-btn {
        width: 16px !important;
        height: 32px !important;
        min-height: 32px !important;
        font-size: 11px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        color: var(--brand) !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    .card-actions .qty-control input[type="number"],
    .pcard-actions .qty-control input[type="number"] {
        width: 18px !important;
        max-width: 18px !important;
        height: 30px !important;
        min-height: 30px !important;
        font-size: 11px !important;
        padding: 0 !important;
        text-align: center !important;
        border: none !important;
        border-left: 1px solid var(--line) !important;
        border-right: 1px solid var(--line) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: white !important;
        color: var(--ink) !important;
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
    }

    /* Complete, Full "Add to Quote" Button */
    .card-actions .btn-add,
    .pcard-actions .btn-add,
    .pcard-actions button[type="submit"] {
        flex: 1 !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 4px !important;
        font-size: 9.2px !important;
        font-weight: 700 !important;
        letter-spacing: -0.04em !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
        background: var(--brand) !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .brand-hero {
        padding: 36px 0 30px;
    }

    .brand-hero-logo {
        width: 60px;
        height: 60px;
        font-size: 22px;
        padding: 8px;
    }
}

@media (max-width: 560px) {
    .cat-trio {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .cat-card {
        aspect-ratio: 4/5;
    }
}

/* -- Responsive Button Text -- */
.mobile-text {
    display: none !important;
}

.desktop-text {
    display: inline !important;
}

/* -- Quantity Control -- */
.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    width: 28px;
    height: 36px;

    display: grid;
    place-items: center;
    background: none;
    border: none;
    color: var(--brand);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
    min-height: unset;
    padding: 0;
}

.qty-btn:hover {
    background: var(--soft);
}

.qty-control input {
    width: 32px;
    height: 36px;

    border: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: var(--ink);
    -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add {
    flex: 1;
    min-width: 90px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    height: 36px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    padding: 0 4px;
    cursor: pointer;
    transition: opacity .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}



.btn-add:hover {
    opacity: 0.9;
}

/* -- Shop by Brands Section -- */
.brand-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* -- Shop by Category Section -- */
.cat-section {
    padding: 80px 0;
    background: white;
}

/* -- About Us Section -- */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* Stretch image height to match text content on desktop */
@media (min-width: 901px) {
    .about-grid {
        align-items: stretch;
    }
    .about-image {
        height: 100%;
        display: flex;
    }
    .about-image img {
        height: 100%;
        object-fit: cover;
    }
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--brand);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 77, 154, 0.3);
}

.about-experience strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.about-experience span {
    font-size: 16px;
    /* Increased */
    font-weight: 600;
    opacity: 1;
}

.about-content p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.about-features {
    margin-top: 32px;
    display: grid;
    gap: 20px;
}

.feat-item {
    display: flex;
    gap: 16px;
}

.feat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(31, 77, 154, 0.08);
    transition: transform 0.3s ease;
}

.feat-item:hover .feat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand);
    color: white;
}

.feat-item strong {
    display: block;
    font-size: 18px;
    /* Increased */
    margin-bottom: 4px;
}

.feat-item p {
    font-size: 16px;
    /* Increased */
    margin: 0;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* -- Why Choose Us Section -- */
/* ── Our Strengths Section ── */
.strengths-section {
    padding: 90px 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.strengths-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.strengths-header {
    text-align: center;
    margin-bottom: 56px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.strength-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.strength-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.strength-card:hover::before {
    opacity: 1;
}

.strength-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.strength-stat {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .06em;
    color: #60a5fa;
    /* Brighter blue for visibility */
    text-transform: uppercase;
    margin-bottom: 8px;
}

.strength-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.strength-card p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    /* Much better contrast */
    margin: 0;
    font-weight: 500;
}

@media (max-width: 1000px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .strengths-section {
        padding: 60px 0;
    }
}


/* -- FAQ Section -- */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: background .2s;
}

.faq-question:hover {
    background: var(--soft);
}

.faq-answer {
    padding: 0 24px 24px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    font-weight: 500;
    /* Added weight */
    display: none;
}

.faq-item.is-active .faq-answer {
    display: block;
}

.faq-item.is-active .faq-question {
    color: var(--brand);
}

.faq-icon {
    font-size: 18px;
    transition: transform .3s;
}

.faq-item.is-active .faq-icon {
    transform: rotate(45deg);
}

/* -- Mega Menu -- */
.navlinks {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-item-mega {
    position: static;
}

.mega-trigger {
    font-weight: 600;
    padding: 10px 0;
    display: block;
    color: var(--muted);
}

.mega-trigger:hover {
    color: var(--brand);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 2fr;
    gap: 30px;
}

.mega-col h4,
.mega-col h4 a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    text-decoration: none;
    font-weight: 800;
}

.mega-col h4 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--soft);
}

.mega-list>li {
    margin-bottom: 8px;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-parent-item {
    margin-bottom: 14px;
}

.mega-parent-item .parent-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 4px;
    display: inline-block;
}

.mega-child-list {
    list-style: none;
    padding-left: 12px;
    margin-top: 4px;
    border-left: 1px solid var(--line);
}

.mega-child-list li {
    margin-bottom: 4px;
}

.mega-child-list li a {
    font-size: 15px;
    /* Increased */
    color: var(--muted);
}

.mega-child-list li a:hover {
    color: var(--brand);
}

.mega-list.brands-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.mega-list.brands-list a {
    font-size: 14px;
    color: var(--muted);
}

.mega-list.brands-list a:hover {
    color: var(--brand);
}

.see-all {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

/* Promo Banner */
.mega-promo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 240px;
    background: var(--ink);
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    position: absolute;
    inset: 0;
}

.promo-text {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.promo-text h5 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.promo-text p {
    margin: 0 0 16px;
    font-size: 15px;
    /* Increased */
    opacity: 0.9;
    line-height: 1.4;
}

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--brand-gradient);
    color: white !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    align-self: flex-start;
    text-decoration: none;
}

@media (max-width: 900px) {
    .mega-menu {
        display: none;
    }
}

/* -- Quote Cart Menu Item -- */
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--soft);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--brand) !important;
    font-weight: 700;
    transition: all 0.2s;
    position: relative;
    margin-left: 10px;
}

.cart-link:hover {
    background: var(--brand);
    color: white !important;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid white;
    font-weight: 800;
    line-height: 1;
}

/* -- Top Strip -- */
.top-strip {
    background: var(--ink);
    color: white;
    font-size: 14px;
    /* Increased */
    padding: 8px 0;
}

.top-strip-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.top-contacts a:hover {
    color: white;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.top-socials a:hover {
    color: white;
}

@media (max-width: 600px) {
    .top-strip {
        display: none;
    }
}

/* -- Mobile Navigation -- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    padding: 8px;
    cursor: pointer;
    transition: background .2s;
    border-radius: 8px;
    min-height: unset;
}

.menu-toggle:hover {
    background: var(--soft);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .navlinks {
        position: fixed;
        top: 68px;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        overflow-x: hidden;
        background: white;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 20px 16px !important;
        gap: 0;
        border-top: 1px solid var(--line);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 999;
        box-sizing: border-box;
    }

    .navlinks.is-open {
        display: flex;
    }

    .navlinks a {
        width: 100% !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--soft);
        font-size: 16px;
        font-weight: 600;
        color: var(--ink);
        text-align: left !important;
        display: block !important;
    }

    .nav-item-mega .mega-menu {
        display: none !important;
    }

    .cart-text {
        display: none;
    }

    .cart-link {
        padding: 10px;
        margin: 0;
    }

    .logo img {
        height: 40px !important;
    }
}

/* -- Mobile Menu Refinements -- */
@media (max-width: 900px) {
    .navlinks {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .nav-item-mega {
        width: 100%;
    }

    .mega-trigger {
        width: 100%;
        padding: 15px 0 !important;
        border-bottom: 1px solid var(--soft);
        font-size: 16px !important;
        font-weight: 600 !important;
        color: var(--ink) !important;
        text-align: left !important;
    }

    .navlinks a:last-child {
        border-bottom: none;
    }
}

/* -- Mobile Menu Accordion -- */
@media (max-width: 900px) {
    .nav-item-mega.is-open-mobile .mega-menu {
        display: block !important;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0px;
        border: none;
        background: transparent;
        border-radius: 8px;
        margin-top: 5px;
    }

    .nav-item-mega.is-open-mobile .mega-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-item-mega.is-open-mobile .mega-col h4 {
        margin-bottom: 0px;
        font-size: 15px;
        margin-top: 0px;
        font-weight: 900;
    }

    .nav-item-mega.is-open-mobile .mega-featured {
        display: none;
    }

    .mega-trigger span {
        transition: transform 0.3s;
        display: inline-block;
    }

    .nav-item-mega.is-open-mobile .mega-trigger span {
        transform: rotate(180deg);
    }

    .mega-image-col {
        display: none !important;
    }

    .mega-menu .wrap {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        display: block !important;
    }

    .mega-grid {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mega-col {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 0 24px 0 !important;
        text-align: left !important;
    }

    .mega-col h4,
    .mega-col h4 a {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
    }

    .mega-list {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .mega-list li {
        text-align: left !important;
    }

    .mega-list li a {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 8px 0 !important;
    }
}

/* -- Sticky WhatsApp Button -- */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: white;
}

.sticky-whatsapp svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .sticky-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .sticky-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* ── Reveal Animations ── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.94);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ── Testimonials Section ── */
.testimonials-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.testimonials-header .section-sub {
    color: var(--muted);
    font-size: 16px;
    margin-top: 10px;
}

.testimonials-swiper {
    padding: 10px 10px 48px !important;
    overflow: hidden !important;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 4px 20px rgba(17, 33, 79, 0.02);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(17, 33, 79, 0.07);
    border-color: var(--brand);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 84px;
    font-family: Georgia, serif;
    color: rgba(31, 77, 154, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 15px;
    margin-bottom: 16px;
}

.testimonial-content {
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    font-weight: 500;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, #11214f 100%);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-info strong {
    font-size: 15px;
    color: var(--ink);
    font-weight: 800;
}

.client-info span {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--brand) !important;
}

/* ── Our B2B Partners Section ── */
.partners-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.partners-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.partners-swiper {
    padding: 10px 10px 40px !important;
}

.partners-swiper .swiper-pagination-bullet-active {
    background: var(--brand) !important;
}

.partner-card {
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(17, 33, 79, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(17, 33, 79, 0.06);
}

.partner-image-wrapper {
    width: 100%;
    height: 240px; /* Rectangular card image aspect */
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.partner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-image-wrapper img {
    transform: scale(1.05);
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand) 0%, #11214f 100%);
    color: white;
    display: grid;
    place-items: center;
    font-size: 40px;
    font-weight: 800;
}

.partner-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.3;
}

.partner-info p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit introduction to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 63px; /* Exact height for 3 lines of 14px text with 1.5 line-height */
}

.partner-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: color 0.2s;
}

.partner-link:hover {
    color: var(--accent);
}

/* ── Featured Products Swiper Grid ── */
.featured-swiper {
    padding: 10px 10px 60px !important;
    height: 980px; /* High enough to comfortably fit 2 rows of product cards without clipping */
    overflow: hidden !important;
}

.featured-swiper .swiper-wrapper {
    flex-direction: row !important;
}

.featured-swiper .swiper-slide {
    height: calc((100% - 30px) / 2) !important;
    display: flex;
    flex-direction: column;
    margin-top: 0 !important;
    padding-bottom: 12px;
}

.featured-swiper .product {
    height: 100% !important;
    min-height: unset !important;
    display: flex;
    flex-direction: column;
}

.featured-swiper .product-media {
    aspect-ratio: 4/3 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.featured-swiper .product-media img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    background: white;
}

.featured-swiper .product-body {
    padding: 12px !important;
    gap: 6px !important;
    display: flex;
    flex-direction: column;
    flex: 1 !important;
    overflow: hidden;
}

.featured-swiper .eyebrow {
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.featured-swiper .product h3 {
    font-size: 16.5px !important;
    margin-bottom: 2px !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-swiper .salt {
    font-size: 13px !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.featured-swiper .chips {
    gap: 4px !important;
    margin-bottom: 2px;
}

.featured-swiper .chip {
    padding: 2px 8px !important;
    font-size: 11px !important;
}

.featured-swiper .meta {
    font-size: 13px !important;
    margin-top: 4px;
}

.featured-swiper .card-actions {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--line);
}

.featured-swiper .swiper-pagination-bullet-active {
    background: var(--brand) !important;
}

@media (max-width: 1024px) {
    .featured-swiper {
        height: 940px;
    }
}

@media (max-width: 768px) {
    .featured-swiper {
        height: 920px;
    }
}

@media (max-width: 767px) {
    .featured-swiper, .featured-swiper.swiper {
        height: auto !important;
        padding: 10px 16px 15px !important;
        overflow: hidden !important;
    }
    .featured-swiper .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        height: auto !important;
    }
    .featured-swiper .swiper-slide {
        height: auto !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
    .featured-swiper .swiper-pagination {
        display: none !important;
    }
    .featured-swiper .card-actions {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .featured-swiper .qty-control {
        flex-shrink: 0 !important;
    }
    .featured-swiper .btn-add {
        flex: 1 !important;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .trust-item {
        border-right: none !important;
        padding: 0 20px !important;
    }

    .trust-item span {
        max-width: 280px !important;
    }
}

@media (max-width: 767px) {
    .brand-swiper .swiper-slide {
        width: 100px !important;
    }
    .brand-logo {
        width: 80px !important;
        height: 80px !important;
        padding: 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(18, 52, 59, .06) !important;
    }
    .brand-logo-card span {
        font-size: 11px !important;
    }
}

/* -- Responsive Products Grid Alignment to match Swiper -- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}