@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/work-sans-latin.woff2') format('woff2');
}

:root {
    --purple: #471c54;
    --purple-dark: #32123d;
    --orange: #f05223;
    --teal: #19aa4b;
    --red: #cf2b27;
    --red-soft: #fff0ef;
    --ink: #17151f;
    --muted: #6c6876;
    --line: #e8e3ed;
    --soft: #f8f6fa;
    --warm: #fff5f0;
    --green-soft: #eefaf2;
    --white: #ffffff;
    --shadow: 0 14px 34px rgba(23, 21, 31, 0.08);
    --radius: 8px;
    --max: clamp(1180px, 86vw, 1720px);
    --wide-gutter: clamp(24px, 4vw, 72px);
    --font-sans: 'Work Sans', Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: #fcfbfd;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

.topbar {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--purple-dark);
}

.topbar-inner {
    width: min(var(--max), calc(100% - 36px));
    min-height: 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-contact i {
    color: #ffb4ac;
    font-size: 0.8rem;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar-socials a {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.topbar-socials a:hover {
    background: var(--red);
    transform: translateY(-1px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 7px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(231, 226, 238, 0.88);
    box-shadow: 0 8px 22px rgba(23, 21, 31, 0.05);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 122px;
    height: 34px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--white);
    font-weight: 700;
    background: var(--purple);
    box-shadow: inset 0 -3px 0 rgba(240, 82, 35, 0.58);
    border-radius: 8px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 0.94rem;
    font-weight: 700;
}

.brand small {
    color: var(--muted);
    font-size: 0.72rem;
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a,
.nav-dropdown-toggle {
    padding: 8px 7px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    font-family: var(--font-sans);
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--purple-dark);
    background: var(--red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-toggle span {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
    transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 80;
    width: min(980px, calc(100vw - 36px));
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 22px 56px rgba(23, 21, 31, 0.16);
    transform: translate(-50%, 8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: calc(50% - 7px);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media (min-width: 901px) {
    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

/* Editorial blog finishing layer. */
.blog-post-page {
    background: #fcfbfd;
}

.blog-post-page .blog-post-hero {
    min-height: clamp(380px, 48vw, 560px);
}

.blog-post-page .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    align-items: start;
    gap: clamp(24px, 4vw, 58px);
}

.blog-article-wrap {
    min-width: 0;
}

.blog-article {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 52px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(23, 21, 31, 0.06);
}

.blog-article.cms-content > :first-child {
    margin-top: 0;
}

.blog-article.cms-content > :last-child {
    margin-bottom: 0;
}

.blog-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 820px;
    margin: 18px auto 0;
}

.blog-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 820px;
    margin: 18px auto 0;
}

.blog-post-nav-link {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 16px 18px;
    color: var(--purple-dark);
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.blog-post-nav-link:hover {
    border-color: rgba(207, 43, 39, 0.34);
    box-shadow: 0 12px 28px rgba(23, 21, 31, 0.08);
    transform: translateY(-1px);
}

.blog-post-nav-link span {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-post-nav-link strong {
    overflow-wrap: anywhere;
    font-size: 0.98rem;
    line-height: 1.25;
}

.blog-post-nav-next {
    text-align: right;
}

.blog-post-nav-link.is-disabled {
    opacity: 0.56;
    pointer-events: none;
}

.blog-sidebar-intro {
    color: var(--white);
    background: var(--purple-dark);
    border-color: var(--purple-dark);
}

.blog-sidebar-intro h2 {
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.2;
}

.blog-sidebar-intro .eyebrow {
    color: #ffb4ac;
}

.blog-sidebar-intro .mini-btn {
    justify-content: center;
    color: var(--purple-dark);
    background: var(--white);
    border-color: var(--white);
}

.blog-sidebar-intro .mini-btn:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.blog-related {
    max-width: 820px;
    margin: 34px auto 0;
}

@media (max-width: 900px) {
    .blog-post-page .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-page .blog-sidebar {
        position: static;
        order: 2;
    }
}

/* Final blog redesign: shorter masthead, clearer editorial hierarchy, calmer reading grid. */
.blog-hero {
    min-height: 236px !important;
    height: auto !important;
    padding: 34px clamp(20px, 6vw, 86px) 38px !important;
    align-items: end !important;
    background-position: center 42% !important;
}

.blog-hero > div {
    width: min(760px, 100%) !important;
}

.blog-hero h1 {
    max-width: 760px !important;
    margin: 5px 0 8px !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(2rem, 4.6vw, 3.7rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.02em !important;
}

.blog-hero p:not(.eyebrow) {
    max-width: 650px !important;
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

.blog-hero .hero-actions {
    margin-top: 14px !important;
    gap: 8px !important;
}

.blog-section {
    padding-top: clamp(28px, 4vw, 48px) !important;
    background: #f6f8f6 !important;
}

.blog-section > .section-heading {
    max-width: 1320px;
    margin-inline: auto;
}

.blog-section > .section-heading h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(1.55rem, 2.5vw, 2.25rem) !important;
    letter-spacing: -0.015em;
}

.blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: start !important;
}

.blog-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.blog-featured-card {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr) !important;
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 14px 30px rgba(22, 50, 34, 0.08) !important;
}

.blog-featured-media {
    min-height: 340px !important;
}

.blog-featured-copy,
.blog-card-copy {
    gap: 10px !important;
}

.blog-featured-copy {
    padding: clamp(20px, 3vw, 34px) !important;
}

.blog-featured-copy h3,
.blog-card-copy h3 {
    font-family: Georgia, 'Times New Roman', serif !important;
    letter-spacing: -0.012em;
}

.blog-featured-copy h3 {
    font-size: clamp(1.45rem, 2.4vw, 2.3rem) !important;
    line-height: 1.04 !important;
}

.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.blog-card {
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 22px rgba(22, 50, 34, 0.055) !important;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22, 50, 34, 0.11) !important;
}

.blog-card-media {
    aspect-ratio: 16 / 9 !important;
}

.blog-card-copy {
    padding: 16px !important;
}

.blog-card-copy h3 {
    font-size: 1.22rem !important;
    line-height: 1.08 !important;
}

.blog-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-sidebar {
    top: 78px !important;
    gap: 10px !important;
}

.blog-sidebar-panel {
    gap: 11px !important;
    padding: 16px !important;
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 22px rgba(22, 50, 34, 0.05) !important;
}

.blog-sidebar-panel h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1.16rem !important;
}

.blog-sidebar-intro {
    padding: 20px !important;
    background: #173b29 !important;
    border-color: #173b29 !important;
}

.blog-sidebar-intro h2 {
    font-size: 1.38rem !important;
}

.blog-mini-list a {
    min-width: 0;
    padding-block: 8px;
}

.blog-mini-list a span {
    font-size: 0.82rem;
    line-height: 1.25;
}

@media (max-width: 980px) {
    .blog-layout {
        grid-template-columns: 1fr !important;
    }

    .blog-sidebar {
        position: static !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .blog-sidebar-intro,
    .blog-sidebar-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .blog-hero {
        min-height: 214px !important;
        padding: 28px 16px 30px !important;
    }

    .blog-hero h1 {
        font-size: clamp(1.9rem, 10vw, 2.7rem) !important;
    }

    .blog-hero .hero-actions .btn-secondary {
        display: none;
    }

    .blog-featured-card,
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-featured-media {
        min-height: 220px !important;
        aspect-ratio: 16 / 10;
    }

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

    .blog-sidebar-intro,
    .blog-sidebar-panel:last-child {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .blog-article {
        padding: 20px;
    }

    .blog-article-actions,
    .blog-article-actions .btn {
        width: 100%;
    }

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

    .blog-post-nav-next {
        text-align: left;
    }
}

.mega-menu-panel {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2fr);
    gap: 12px;
}

.mega-menu-lead,
.mega-menu-group a {
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--purple-dark);
    text-decoration: none;
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.mega-menu-lead {
    align-content: start;
    align-self: start;
    background: var(--purple);
}

.mega-menu-lead .eyebrow {
    margin-bottom: 2px;
}

.mega-menu-lead strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.mega-menu-lead small,
.mega-menu-group small {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.mega-menu-lead a {
    width: max-content;
    margin-top: 8px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--orange);
    border-radius: 7px;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mega-menu-group {
    display: grid;
    gap: 7px;
    align-content: start;
}

.mega-menu-group h3 {
    margin: 0 0 2px;
    color: var(--purple-dark);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mega-menu-group a {
    padding: 10px;
    background: #fbf9fc;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mega-menu-group a:hover {
    border-color: rgba(207, 43, 39, 0.22);
    box-shadow: 0 10px 22px rgba(23, 21, 31, 0.06);
    transform: translateY(-1px);
}

.mega-menu-group strong {
    font-size: 0.92rem;
}

.mega-menu-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.mega-menu-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 7px;
}

.mega-menu-actions a:nth-child(2) {
    background: var(--red);
    border-color: var(--red);
}

.mega-menu-actions a[href*='wa.me'] {
    background: var(--teal);
    border-color: var(--teal);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0 6px;
    color: var(--white);
    font-size: 0.75rem;
    background: var(--red);
    border-radius: 999px;
}

.header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 8px;
    white-space: nowrap;
}

.mobile-menu-actions {
    display: none;
}

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--orange);
    background: var(--orange);
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(82vh - 74px);
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
}

.hero picture,
.hero picture img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero picture img {
    object-fit: cover;
}

.hero-overlay {
    z-index: -1;
    background: var(--purple-dark);
}

.hero picture {
    z-index: -2;
}

.hero-content {
    width: min(650px, calc(100% - 36px));
    margin-left: clamp(18px, 7vw, 92px);
    padding: 72px 0 108px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #a9442a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(2.5rem, 7vw, 5.9rem);
    font-weight: 700;
}

.hero-copy {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.section-heading,
.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 20px;
}

.home-hero-slider {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 120px;
    overflow: hidden;
    isolation: isolate;
    content-visibility: auto;
    contain-intrinsic-size: 1200px 280px;
    color: var(--white);
    background: var(--ink);
}

.home-featured-products,
.home-portfolio-section,
.service-reel-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1200px 640px;
}

.home-slider-track,
.home-slide {
    position: absolute;
    inset: 0;
}

.home-slide {
    display: grid;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(23, 21, 31, 0.72);
    background-image: var(--slide-image);
    background-blend-mode: multiply;
    background-position: center;
    background-size: cover;
    transition: opacity 520ms ease;
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide-inner {
    width: min(var(--max), calc(100% - 36px));
    min-height: 120px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 10px 0 18px;
}

.home-slide-copy {
    max-width: min(920px, 76vw);
}

.home-slide .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.home-slide h1 {
    max-width: 900px;
    font-size: clamp(2.15rem, 3.6vw, 3.55rem);
    font-weight: 700;
    line-height: 1.02;
}

.home-slide .hero-copy {
    max-width: 620px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.45;
}

.home-slide .hero-actions {
    margin-top: 14px;
}

.home-slide .btn-secondary {
    border-color: rgba(255, 255, 255, 0.78);
}

.home-slide .btn-whatsapp {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.home-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    background: rgba(240, 82, 35, 0.82);
    border: 1px solid rgba(240, 82, 35, 0.92);
    border-radius: 999px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
}

.home-slider-arrow:hover {
    background: var(--red);
}

.home-slider-arrow.prev {
    left: clamp(12px, 2.4vw, 34px);
}

.home-slider-arrow.next {
    right: clamp(12px, 2.4vw, 34px);
}

.home-slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 22px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.home-slider-dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    background: rgba(240, 82, 35, 0.56);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.home-slider-dots button[aria-selected='true'] {
    background: var(--orange);
}

.home-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(22px, 3.8vw, 40px) 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

.home-hero-copy h1 {
    max-width: 780px;
    color: var(--purple-dark);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.04;
}

.home-hero-copy .hero-copy {
    max-width: 760px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.home-hero .btn-ghost {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.home-hero .btn-whatsapp {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.home-search-panel {
    margin-top: 16px;
    padding: 12px;
    display: grid;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(23, 21, 31, 0.06);
}

.home-search-panel label {
    color: var(--purple-dark);
    font-size: 0.96rem;
    font-weight: 700;
}

.home-hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(218px, 1.25fr) minmax(118px, 0.75fr);
    gap: 10px;
    min-height: 348px;
}

.visual-main,
.visual-tile,
.home-category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
}

.visual-main {
    grid-column: 1 / -1;
    margin: 0;
    box-shadow: var(--shadow);
}

.visual-main img,
.visual-tile img,
.home-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-main::after,
.visual-tile::after,
.home-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(23, 21, 31, 0.56);
}

.visual-main figcaption,
.visual-tile span {
    position: absolute;
    z-index: 1;
    left: 16px;
    right: 16px;
    bottom: 14px;
    color: var(--white);
}

.visual-main strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.visual-main span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.visual-tile {
    min-height: 150px;
    color: var(--white);
    text-decoration: none;
}

.visual-tile span {
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover,
.mini-btn:hover {
    transform: translateY(-1px);
}

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

.btn-secondary {
    color: var(--white);
    background: var(--red);
    border: 1px solid var(--red);
}

.btn-ghost {
    color: var(--white);
    background: var(--teal);
    border: 1px solid var(--teal);
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.compact-strip {
    border-top: 1px solid var(--line);
}

.quick-strip a {
    padding: 12px;
    text-align: center;
    color: var(--purple-dark);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border-right: 1px solid var(--line);
}

.home-shop-finder {
    position: relative;
    z-index: 3;
    width: min(var(--max), calc(100% - 36px));
    margin: -28px auto 0;
    padding: 18px;
    display: grid;
    gap: 14px;
    background: var(--white);
    border: 1px solid rgba(231, 226, 238, 0.92);
    border-radius: var(--radius);
    box-shadow: 0 24px 54px rgba(23, 21, 31, 0.16);
}

.home-shop-finder form {
    position: relative;
    display: grid;
    gap: 10px;
}

.home-shop-finder label {
    color: var(--purple-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.finder-control {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.finder-control input {
    min-height: 46px;
    font-weight: 600;
}

.ai-live-control {
    position: relative;
    grid-template-columns: 1fr;
}

.ai-live-control input {
    padding-right: 58px;
}

.ai-search-mark {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 5px 8px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--red);
    border-radius: 7px;
    box-shadow: 0 8px 18px rgba(207, 43, 39, 0.18);
    pointer-events: none;
}

.ai-live-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 60;
    max-height: min(460px, calc(100vh - 150px));
    padding: 10px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid rgba(231, 226, 238, 0.98);
    border-radius: 10px;
    box-shadow: 0 22px 50px rgba(23, 21, 31, 0.18);
}

.ai-live-results[hidden] {
    display: none;
}

.ai-live-group + .ai-live-group,
.ai-live-view {
    margin-top: 10px;
}

.ai-live-group > span {
    display: block;
    margin-bottom: 7px;
    color: #866290;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ai-live-suggestions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.ai-live-suggestion,
.ai-live-view {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ai-live-products {
    display: grid;
    gap: 7px;
}

.ai-live-product {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    padding: 7px;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ai-live-product:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover {
    border-color: rgba(71, 28, 84, 0.25);
    box-shadow: 0 10px 22px rgba(23, 21, 31, 0.07);
}

.ai-live-product img {
    width: 54px;
    height: 42px;
    object-fit: cover;
    border-radius: 7px;
}

.ai-live-product span,
.ai-live-product strong,
.ai-live-product small {
    min-width: 0;
}

.ai-live-product strong {
    display: block;
    overflow: hidden;
    color: var(--purple-dark);
    font-size: 0.9rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-live-product small {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-live-loading,
.ai-live-empty {
    margin: 0;
    padding: 8px;
    color: var(--purple-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.quick-strip a:last-child {
    border-right: 0;
}

.shop-search-band {
    padding: 14px clamp(18px, 7vw, 92px);
    background: var(--purple);
    border-bottom: 1px solid var(--line);
}

.shop-search-band form {
    position: relative;
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.shop-search-band input {
    min-height: 42px;
    border-color: var(--line);
}

.shop-tag-rail {
    width: min(var(--max), 100%);
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.shop-tag-rail strong,
.shop-tag {
    flex: 0 0 auto;
    white-space: nowrap;
}

.shop-tag-rail strong {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.shop-tag {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    color: var(--purple-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(71, 28, 84, 0.12);
    border-radius: 999px;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.shop-tag:nth-of-type(4n + 1) {
    color: #711916;
    background: rgba(207, 43, 39, 0.07);
    border-color: rgba(207, 43, 39, 0.16);
}

.shop-tag:nth-of-type(4n + 3) {
    color: #0f6330;
    background: rgba(25, 170, 75, 0.07);
    border-color: rgba(25, 170, 75, 0.16);
}

.shop-tag:hover,
.shop-tag.is-active {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 8px 20px rgba(207, 43, 39, 0.18);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-search-summary {
    width: min(var(--max), 100%);
    margin: 10px auto 0;
    color: var(--purple-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.ai-assistant-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
}

.ai-assistant-form.compact {
    grid-template-columns: 1fr;
}

.ai-assistant-form textarea {
    min-height: 88px;
}

.ai-assistant-form button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.btn.is-disabled,
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.ai-assistant-output {
    grid-column: 1 / -1;
    max-height: 260px;
    padding: 14px;
    color: var(--ink);
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ai-assistant-output p {
    margin: 0;
    color: var(--purple-dark);
    font-weight: 700;
}

.ai-output-products {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.ai-output-product {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.ai-output-product img {
    width: 56px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 7px;
}

.ai-output-product strong,
.ai-output-product small {
    display: block;
}

.ai-output-product small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
}

.ai-output-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.section {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0;
}

.home-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 28px 0 12px;
}

.home-proof-strip div {
    padding: 16px;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
}

.home-proof-strip strong {
    display: block;
    color: var(--purple-dark);
    font-size: 0.98rem;
    font-weight: 700;
}

.home-proof-strip span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.media-spotlight,
.media-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(22px, 4vw, 52px);
    align-items: stretch;
}

.media-spotlight {
    padding: 18px 0 34px;
}

.media-spotlight-image,
.media-hero-image {
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #f5f2f6;
}

.media-spotlight-image img,
.media-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.media-spotlight-copy,
.media-hero-copy {
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    align-content: center;
    gap: 16px;
    color: var(--white);
    background: var(--purple-dark);
    border-radius: var(--radius);
}

.media-spotlight-copy h2,
.media-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
}

.media-spotlight-copy p,
.media-hero-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
}

.media-spotlight-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.media-hero {
    padding: 32px 0 22px;
}

.media-hero .hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.media-lanes {
    display: grid;
    gap: 16px;
}

.media-lane {
    padding: clamp(18px, 3vw, 28px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(23, 21, 31, 0.06);
}

.media-lane h2 {
    max-width: 880px;
    margin-bottom: 18px;
    color: var(--purple-dark);
    font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.media-lane-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    gap: 12px;
}

.media-lane-products a {
    min-height: 100%;
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.media-lane-products img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
    border-radius: 8px;
}

.media-lane-products span,
.media-lane-products strong {
    display: block;
}

.media-lane-products span {
    color: var(--purple-dark);
    font-weight: 700;
}

.media-lane-products strong {
    color: var(--green);
}

.media-price-section {
    padding-top: 28px;
}

.media-price-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.18fr 0.95fr;
    gap: 14px;
    align-items: start;
}

.media-price-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(23, 21, 31, 0.05);
}

.media-price-card.featured {
    border-color: rgba(240, 82, 35, 0.3);
    box-shadow: 0 16px 34px rgba(240, 82, 35, 0.1);
}

.media-price-card h3 {
    color: var(--purple-dark);
    font-size: 1.2rem;
}

.media-price-card p,
.price-note {
    margin: 0;
    color: var(--muted);
}

.media-price-list {
    display: grid;
    gap: 8px;
}

.media-price-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    padding: 11px 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.media-price-list strong {
    color: var(--purple-dark);
    font-size: 0.94rem;
}

.media-price-list span {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.86rem;
}

.media-price-list b {
    color: var(--orange);
    font-size: 0.94rem;
    white-space: nowrap;
}

.price-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--green-soft);
    border: 1px solid rgba(25, 170, 75, 0.18);
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.media-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.media-process-grid article {
    padding: 18px;
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.media-process-grid span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    color: var(--white);
    background: var(--purple);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
}

.media-process-grid h3 {
    margin-bottom: 8px;
    color: var(--purple-dark);
}

.media-process-grid p {
    color: var(--muted);
}

.intro-grid,
.service-detail,
.quote-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.intro-grid h2,
.page-hero h1,
.cta-band h2 {
    font-size: clamp(1.8rem, 3.7vw, 3.55rem);
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.intro-grid p:not(.eyebrow),
.page-hero p,
.cta-band p,
.detail-copy h2 {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 18px;
    padding-top: 0;
}

.core-service-hub {
    padding-top: 16px;
}

.core-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.core-service-card {
    position: relative;
    min-height: 420px;
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    align-content: start;
    gap: 18px;
    overflow: hidden;
    color: var(--white);
    background: var(--purple-dark);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(23, 21, 31, 0.12);
}

.core-service-card.printing {
    --core-a: #471c54;
    --core-b: #f05223;
    background: var(--purple-dark) url('../img/home-printing.avif') center/cover;
    background-blend-mode: multiply;
}

.core-service-card.branding {
    --core-a: #471c54;
    --core-b: #cf2b27;
}

.core-service-card.digital {
    --core-a: #17151f;
    --core-b: #19aa4b;
}

.core-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.core-service-card h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    font-weight: 700;
}

.core-service-card p:not(.core-eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.core-service-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.core-service-card li {
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.core-service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 999px;
}

.core-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.core-links a {
    padding: 8px 10px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
}

.core-service-card .btn {
    width: max-content;
    margin-top: auto;
    background: var(--white);
    color: var(--purple-dark);
}

.category-menu {
    padding-top: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.category-grid a {
    display: grid;
    gap: 12px;
    min-height: 170px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 21, 31, 0.05);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 43, 39, 0.22);
    box-shadow: 0 18px 42px rgba(23, 21, 31, 0.1);
}

.category-grid span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    font-weight: 700;
    background: var(--accent, var(--purple));
    border-radius: 8px;
}

.category-grid strong {
    color: var(--purple-dark);
    font-size: 1.05rem;
}

.category-grid small {
    color: var(--muted);
}

.service-card,
.product-card,
.work-grid article,
.contact-grid article,
.quote-aside,
.login-form,
.notice {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 21, 31, 0.045);
}

.service-card {
    padding: 28px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 700;
    background: var(--accent, var(--purple));
    border-radius: 8px;
}

.service-card h2 {
    font-size: 1.45rem;
}

.service-card p,
.product-card p,
.work-grid p,
.contact-grid p,
.quote-aside li {
    color: var(--muted);
}

.service-card a,
.section-heading a,
.admin-toolbar a,
.site-footer a {
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
}

.product-band {
    width: 100%;
    max-width: none;
    padding: 42px clamp(18px, 5vw, 72px);
    background: var(--soft);
}

.home-featured-products {
    margin-top: 8px;
}

.section-heading {
    width: min(var(--max), 100%);
    margin: 0 auto 16px;
    justify-content: space-between;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.home-category-section {
    padding-top: 28px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.home-category-card {
    min-height: 230px;
    padding: 16px;
    display: grid;
    align-content: end;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(23, 21, 31, 0.09);
}

.home-category-card::after {
    background: rgba(23, 21, 31, 0.56);
}

.home-category-card > :not(img) {
    position: relative;
    z-index: 1;
}

.home-category-card span {
    font-size: 1.18rem;
    line-height: 1.08;
    font-weight: 700;
}

.home-category-card p {
    margin: 7px 0 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.home-category-card strong {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-grid,
.work-grid,
.contact-grid {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.product-card {
    position: relative;
    display: grid;
    align-content: start;
    grid-template-rows: auto auto auto 1fr auto auto;
    min-height: 372px;
    padding: 12px;
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: var(--orange);
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 43, 39, 0.2);
    box-shadow: 0 16px 34px rgba(207, 43, 39, 0.08);
}

.product-thumb {
    display: block;
    aspect-ratio: 16 / 10.5;
    margin: 0 0 12px;
    overflow: hidden;
    background: var(--soft);
    border-radius: 7px;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.035);
}

.product-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: #9e2925;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ai-match-reason {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin: -2px 0 8px;
    padding: 5px 7px;
    color: #0b6f2f;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--green-soft);
    border-radius: 7px;
}

.product-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
}

.product-card p {
    display: -webkit-box;
    min-height: 2.8em;
    margin: 9px 0 0;
    overflow: hidden;
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.product-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 8px;
    color: #711916;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: rgba(207, 43, 39, 0.075);
    border: 1px solid rgba(207, 43, 39, 0.16);
    border-radius: 999px;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.product-tag:nth-child(3n + 2) {
    color: #0e5f2b;
    background: rgba(25, 170, 75, 0.08);
    border-color: rgba(25, 170, 75, 0.18);
}

.product-tag:nth-child(3n + 3) {
    color: #5a2268;
    background: rgba(71, 28, 84, 0.07);
    border-color: rgba(71, 28, 84, 0.16);
}

.product-tag:hover {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.product-detail-tags {
    margin: 12px 0 8px;
}

.product-card strong {
    display: block;
    margin-top: 12px;
    color: var(--purple-dark);
    font-size: 1rem;
    font-weight: 700;
}

.home-featured-products .product-card,
.product-row-section .product-card {
    min-height: 326px;
    grid-template-rows: auto auto auto auto;
}

.home-featured-products .product-card p,
.product-row-section .product-card p {
    display: none;
}

.card-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 7px 10px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--orange);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.mini-btn.subtle {
    color: var(--white);
    background: var(--red);
    border: 1px solid var(--red);
}

.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.btn-whatsapp,
.btn[href*='wa.me'] {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.inline-cart-form button[value='buy'] {
    background: var(--red);
    border-color: var(--red);
}

.inline-cart-form {
    display: inline-flex;
    margin: 0;
}

.mobile-category-rail {
    display: none;
}

.shop-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm);
}

.shop-sidebar h2 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.shop-sidebar a {
    padding: 10px 12px;
    color: var(--purple-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 7px;
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'] {
    color: var(--white);
    background: var(--red);
}

.shop-products {
    min-width: 0;
}

.shop-result-note {
    margin: 0 0 16px;
    color: var(--muted);
}

.shop-grid {
    width: 100%;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.decorated-heading {
    position: relative;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.decorated-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: min(180px, 44%);
    height: 3px;
    background: var(--purple);
    border-radius: 999px;
}

.decorated-heading h2 {
    color: var(--purple-dark);
    font-size: clamp(1.45rem, 2.7vw, 2.35rem);
}

.section-heading-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.section-heading-actions a,
.decorated-heading > a {
    color: var(--purple-dark);
    font-weight: 700;
    text-decoration: none;
}

.carousel-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(23, 21, 31, 0.06);
}

.carousel-btn:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.product-carousel {
    position: relative;
    min-width: 0;
}

.product-carousel .product-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(222px, 268px);
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.product-carousel .product-card {
    scroll-snap-align: start;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.product-media-panel,
.product-buy-panel,
.cart-summary {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(23, 21, 31, 0.06);
}

.product-media-panel {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    color: var(--ink);
    overflow: visible;
    background: var(--white);
}

.product-media-panel::after {
    display: none;
}

.product-gallery-stage {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(25, 170, 75, 0.055), rgba(71, 28, 84, 0.045)),
        #f8fbf7;
    border: 1px solid rgba(25, 170, 75, 0.1);
    border-radius: 8px;
}

.product-gallery-stage::after {
    display: none;
}

.product-gallery-stage img {
    position: absolute;
    inset: clamp(10px, 2vw, 18px);
    width: calc(100% - clamp(20px, 4vw, 36px));
    height: calc(100% - clamp(20px, 4vw, 36px));
    object-fit: contain;
}

.product-detail-layout .product-gallery-stage img {
    object-fit: contain;
}

.product-gallery-stage figcaption {
    display: none;
}

.product-gallery-stage figcaption::before,
.product-gallery-stage figcaption::after {
    display: none;
}

.gallery-kicker {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    padding: 0.38em 0.82em;
    color: var(--purple-dark);
    font-weight: 650;
    line-height: 1.2;
    background: #ffffff;
    border-radius: 7px;
    box-shadow: none;
    transform: none;
    text-shadow: none;
}

.selected-product-summary {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(25, 170, 75, 0.14);
}

.selected-product-summary .gallery-kicker {
    color: #ffffff;
    background: #19aa4b;
    justify-self: start;
}

.selected-product-summary h2 {
    margin: 0;
    color: #173526;
    font-size: clamp(1.45rem, 2.3vw, 2.25rem);
    line-height: 1.08;
    font-weight: 620;
}

.selected-product-summary p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.62;
}

.selected-product-summary .sample-view-link {
    justify-self: start;
    margin-top: 2px;
}

.product-gallery-stage h2 {
    max-width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.8vw, 2.3rem);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.product-gallery-stage p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.58;
}

.gallery-paint-title,
.gallery-paint-copy {
    color: #ffffff;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.sample-view-link {
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    padding: 0.58em 0.98em;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    background: linear-gradient(95deg, rgba(207, 43, 39, 0.96), rgba(83, 37, 89, 0.9));
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.product-sample-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(126px, 1fr);
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.sample-thumb {
    min-width: 0;
    padding: 8px;
    display: grid;
    gap: 6px;
    text-align: left;
    color: var(--purple-dark);
    font: inherit;
    font-weight: 700;
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    scroll-snap-align: start;
}

.sample-thumb:hover,
.sample-thumb.is-active {
    border-color: rgba(71, 28, 84, 0.38);
    background: var(--white);
    box-shadow: 0 10px 22px rgba(23, 21, 31, 0.08);
}

.sample-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.sample-thumb span,
.sample-thumb small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.sample-thumb span {
    -webkit-line-clamp: 2;
    line-height: 1.2;
    font-size: 0.82rem;
}

.sample-thumb small {
    -webkit-line-clamp: 1;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.product-price-heading {
    margin-bottom: 18px;
    color: var(--purple);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    font-weight: 680;
}

.ai-product-guidance {
    margin-top: 18px;
    padding: 16px;
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ai-product-guidance ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.ai-product-guidance li::marker {
    color: var(--teal);
}

.compact-form {
    margin-top: 24px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    align-items: start;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cart-product-cell {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 230px;
}

.cart-product-cell img,
.summary-list img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    background: var(--soft);
    border-radius: 6px;
}

.cart-summary {
    position: sticky;
    top: 96px;
}

.cart-summary strong {
    display: block;
    margin: 10px 0 18px;
    color: var(--purple);
    font-size: 2rem;
}

.qty-input {
    width: 92px;
    min-height: 40px;
}

.summary-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.summary-list li {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.process {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 42px;
}

.process ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process li {
    padding: 22px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius);
}

.process span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
}

.compact-process {
    padding-top: 44px;
}

.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 42px clamp(18px, 7vw, 92px);
    color: var(--white);
    background: #2f1239;
}

.cta-band .eyebrow,
.cta-band p {
    color: rgba(255, 255, 255, 0.72);
}

.cta-band.compact {
    margin-top: 24px;
}

.page-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    box-sizing: border-box;
    padding: 12px clamp(18px, 7vw, 92px) 12px;
    background: var(--purple);
}

.shop-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    box-sizing: border-box;
    isolation: isolate;
    min-height: 0;
    padding: 12px clamp(18px, 7vw, 92px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--purple-dark);
}

.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    background: var(--warm);
}

.shop-hero::after {
    content: '';
    position: absolute;
    right: clamp(18px, 7vw, 92px);
    top: 24px;
    width: 180px;
    height: 72px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    transform: skewX(-12deg);
    opacity: 0.55;
}

.shop-hero .eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.shop-hero h1 {
    max-width: 760px;
    color: var(--white);
    font-size: clamp(1.62rem, 2.8vw, 2.25rem);
    line-height: 1.05;
    font-weight: 700;
}

.shop-hero p {
    max-width: 640px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
}

.shop-hero-points {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.shop-hero-points span {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 180, 172, 0.2);
    border-radius: 7px;
}

.package-hero {
    color: var(--white);
    background: var(--purple-dark) url('../img/hero-studio.avif') center/cover;
    background-blend-mode: multiply;
}

.package-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.82);
}

.web-hero {
    background: var(--purple-dark) url('../img/products/web-business-website-package.avif') center/cover;
    background-blend-mode: multiply;
}

.social-hero {
    background: var(--purple-dark) url('../img/products/social-growth-ads-package.avif') center/cover;
    background-blend-mode: multiply;
}

.seo-hero {
    background: var(--purple-dark) url('../img/products/seo-growth-package.avif') center/cover;
    background-blend-mode: multiply;
}

.ads-hero {
    background: var(--purple-dark) url('../img/products/paid-ads-launch-package.avif') center/cover;
    background-blend-mode: multiply;
}

.print-brand-hero {
    background: var(--purple-dark) url('../img/print-production-lab.avif') center/cover;
    background-blend-mode: multiply;
}

.print-production-showcase {
    padding-top: 12px;
}

.print-production-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 14px;
}

.print-production-card {
    position: relative;
    min-height: 240px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--purple-dark);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(23, 21, 31, 0.1);
}

.print-production-card.featured {
    min-height: 494px;
    grid-row: span 2;
}

.print-production-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.01);
}

.print-production-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(23, 21, 31, 0.5);
}

.print-production-card div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding: clamp(16px, 2.4vw, 24px);
}

.print-production-card span {
    width: max-content;
    max-width: 100%;
    padding: 6px 8px;
    color: var(--purple-dark);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 7px;
}

.print-production-card h3 {
    max-width: 680px;
    color: var(--white);
    font-size: clamp(1.02rem, 1.8vw, 1.55rem);
    line-height: 1.12;
    font-weight: 700;
}

.print-production-card.featured h3 {
    font-size: clamp(1.42rem, 2.6vw, 2.25rem);
}

.print-production-card p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
}

.page-hero p {
    max-width: 760px;
}

.cms-page-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(26px, 4vw, 42px) 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: clamp(24px, 5vw, 54px);
    align-items: center;
}

.cms-page-hero h1 {
    max-width: 780px;
    color: var(--purple-dark);
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
    font-weight: 700;
}

.cms-page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cms-page-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cms-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    padding-top: 28px;
}

.cms-content {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(23, 21, 31, 0.045);
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    margin: 0 0 12px;
    color: var(--purple-dark);
}

.cms-content p,
.cms-content ul,
.cms-content ol,
.cms-content blockquote {
    margin: 0 0 18px;
    color: var(--muted);
}

.cms-content li {
    margin: 6px 0;
}

.cms-content a {
    color: var(--purple);
    font-weight: 700;
}

.cms-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cms-sidebar h2 {
    color: var(--purple-dark);
    font-size: 1.25rem;
}

.cms-sidebar p {
    margin: 0;
    color: var(--muted);
}

.cms-sidebar .btn-ghost.btn-whatsapp {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.blog-hero {
    position: relative;
    min-height: 0;
    padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 54px);
    overflow: hidden;
    color: var(--white);
    background: var(--purple);
}

.blog-hero::after {
    content: '';
    position: absolute;
    inset: auto -8% -46% auto;
    width: 42%;
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.blog-hero > * {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    max-width: 840px;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.blog-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
}

.blog-layout,
.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.blog-main,
.blog-article-wrap {
    min-width: 0;
    display: grid;
    gap: 22px;
}

.blog-featured-card,
.blog-card,
.blog-sidebar-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(23, 21, 31, 0.055);
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
}

.blog-featured-media,
.blog-card-media {
    position: relative;
    display: block;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    background: var(--soft);
}

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

.blog-featured-media img {
    min-height: 340px;
}

.blog-featured-copy,
.blog-card-copy {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 22px;
}

.blog-featured-copy h3,
.blog-card-copy h3 {
    margin: 0;
    color: var(--purple-dark);
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.12;
}

.blog-featured-copy h3 a,
.blog-card-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-copy h3 a:hover,
.blog-card-copy h3 a:hover {
    color: var(--red);
}

.blog-featured-copy p,
.blog-card-copy p {
    margin: 0;
    color: var(--muted);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.blog-meta span:first-child {
    color: var(--red);
    background: var(--red-soft);
    border-color: rgba(207, 43, 39, 0.18);
}

.blog-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.blog-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    background: #fbf8fc;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.blog-tags a:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.blog-video-pill {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 11px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(207, 43, 39, 0.94);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(23, 21, 31, 0.2);
}

.blog-grid,
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.blog-card {
    overflow: hidden;
}

.blog-card-media {
    aspect-ratio: 16 / 10;
}

.blog-card-copy h3 {
    font-size: 1.18rem;
}

.blog-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.blog-sidebar-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.blog-sidebar-panel h2 {
    margin: 0;
    color: var(--purple-dark);
    font-size: 1.05rem;
}

.blog-search-form {
    display: grid;
    gap: 10px;
}

.blog-search-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font: inherit;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.blog-category-list,
.blog-mini-list {
    display: grid;
    gap: 9px;
}

.blog-category-list a,
.blog-mini-list a {
    color: inherit;
    text-decoration: none;
}

.blog-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.blog-category-list a:hover {
    border-color: rgba(207, 43, 39, 0.28);
}

.blog-category-list strong {
    color: var(--red);
}

.blog-mini-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: var(--purple-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.blog-mini-list img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-cta-panel {
    color: var(--white);
    background: var(--purple);
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-cta-panel h2,
.blog-cta-panel .eyebrow {
    color: var(--white);
}

.blog-cta-panel .btn-whatsapp {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.blog-post-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 4vw, 46px) 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: clamp(24px, 5vw, 52px);
    align-items: center;
}

.blog-post-hero-copy {
    display: grid;
    gap: 14px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    color: var(--red);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-post-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--purple-dark);
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.03;
}

.blog-post-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.blog-post-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.blog-video-frame {
    overflow: hidden;
    background: #0f0b14;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.blog-video-frame iframe,
.blog-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.blog-video-frame video {
    height: auto;
}

.blog-article {
    font-size: 1.02rem;
}

.blog-article-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-related {
    display: grid;
    gap: 12px;
    padding-top: 8px;
}

.decorated-heading.compact {
    padding-bottom: 0;
}

.admin-blog-thumb {
    width: 180px;
    height: 112px;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

main [id] {
    scroll-margin-top: 94px;
}

.service-jump-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 10px;
}

.service-jump-menu a {
    display: grid;
    gap: 6px;
    min-height: 112px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(23, 21, 31, 0.045);
}

.service-jump-menu a:hover {
    border-color: rgba(207, 43, 39, 0.22);
    box-shadow: 0 14px 32px rgba(207, 43, 39, 0.08);
}

.service-jump-menu strong {
    color: var(--purple-dark);
    font-size: 1rem;
}

.service-jump-menu span {
    color: var(--muted);
    font-size: 0.88rem;
}

.service-nav-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-bottom: 0;
}

.digital-service-nav {
    grid-template-columns: repeat(4, 1fr);
}

.service-nav-strip a,
.insight-grid article {
    padding: 22px;
    color: inherit;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(23, 21, 31, 0.05);
}

.service-nav-strip a:hover,
.insight-grid article:hover {
    border-color: rgba(207, 43, 39, 0.2);
    box-shadow: 0 14px 34px rgba(207, 43, 39, 0.075);
}

.service-nav-strip strong,
.insight-grid strong {
    display: block;
    color: var(--purple-dark);
    font-size: 1.05rem;
}

.service-nav-strip span,
.insight-grid p {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 30px;
}

.package-intro {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(24px, 5vw, 68px);
    align-items: start;
}

.package-intro h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.package-intro ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.package-intro li {
    padding: 16px 18px;
    color: var(--purple-dark);
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.digital-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
    gap: clamp(22px, 5vw, 58px);
    align-items: start;
}

.digital-lead h2,
.digital-section-heading h2 {
    color: var(--purple-dark);
    font-size: clamp(1.65rem, 3.1vw, 2.65rem);
    line-height: 1.06;
}

.digital-lead p,
.digital-mini-card p,
.digital-package-card p,
.project-card p,
.faq-card p,
.benchmark-note p {
    color: var(--muted);
}

.digital-lead-copy {
    display: grid;
    gap: 14px;
}

.digital-lead-copy p {
    margin: 0;
    max-width: 760px;
}

.digital-side-panel,
.benchmark-note {
    padding: 22px;
    background: var(--purple);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(23, 21, 31, 0.05);
}

.digital-side-panel strong,
.benchmark-note strong {
    display: block;
    color: var(--purple-dark);
    font-size: 1.04rem;
}

.digital-side-panel ul,
.digital-list {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.digital-side-panel li,
.digital-list li {
    position: relative;
    padding-left: 20px;
    color: var(--ink);
    font-weight: 600;
}

.digital-side-panel li::before,
.digital-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 999px;
}

.digital-section-heading {
    max-width: 780px;
    margin-bottom: 18px;
}

.digital-section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
}

.digital-package-grid,
.digital-card-grid,
.project-grid,
.faq-grid,
.benchmark-grid {
    display: grid;
    gap: 14px;
}

.digital-package-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.digital-card-grid,
.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(23, 21, 31, 0.05);
}

.digital-package-card.featured {
    border-color: rgba(25, 170, 75, 0.34);
    box-shadow: 0 16px 36px rgba(25, 170, 75, 0.11);
}

.package-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-meta span {
    padding: 6px 8px;
    color: var(--purple-dark);
    background: var(--soft);
    border-radius: 999px;
}

.digital-package-card h3,
.digital-mini-card h3,
.project-card h3,
.faq-card h3 {
    color: var(--purple-dark);
    font-size: 1.08rem;
}

.digital-package-card p,
.digital-mini-card p,
.project-card p,
.faq-card p {
    margin: 0;
}

.package-price {
    color: var(--purple);
    font-size: 1.35rem;
    line-height: 1.1;
}

.service-cta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.inline-buy-form {
    display: contents;
}

.service-cta-row .btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.9rem;
}

.digital-mini-card img,
.project-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 7px;
}

.project-status {
    display: inline-flex;
    width: fit-content;
    padding: 6px 8px;
    color: #0b6f2f;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--green-soft);
    border-radius: 999px;
}

.digital-roadmap {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
    gap: clamp(22px, 5vw, 54px);
    align-items: start;
}

.digital-roadmap ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: roadmap;
}

.digital-roadmap li {
    position: relative;
    padding: 18px 18px 18px 58px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.digital-roadmap li::before {
    counter-increment: roadmap;
    content: counter(roadmap);
    position: absolute;
    left: 16px;
    top: 16px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--white);
    font-weight: 700;
    background: var(--purple);
    border-radius: 999px;
}

.digital-roadmap strong {
    display: block;
    color: var(--purple-dark);
}

.digital-roadmap span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.benchmark-note p {
    margin: 8px 0 0;
}

.benchmark-grid .benchmark-note:nth-child(2n) {
    background: var(--orange);
}

.service-detail {
    border-top: 1px solid var(--line);
}

.detail-copy {
    position: sticky;
    top: 102px;
}

.detail-copy h2 {
    margin-bottom: 24px;
    line-height: 1.36;
}

.product-list {
    display: grid;
    gap: 12px;
}

.product-list article {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    align-items: start;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.list-product-thumb {
    display: block;
    aspect-ratio: 1.52;
    overflow: hidden;
    background: var(--soft);
    border-radius: 7px;
}

.list-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list h3 {
    font-size: 1.05rem;
}

.product-list p {
    margin: 8px 0 0;
    color: var(--muted);
}

.product-list strong {
    min-width: 120px;
    color: var(--purple-dark);
    text-align: right;
}

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

.work-grid article,
.contact-grid article {
    padding: 28px;
}

.work-grid span {
    color: var(--orange);
    font-weight: 700;
}

.metric-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.metric-band div {
    padding: 36px 18px;
    text-align: center;
    background: var(--soft);
}

.metric-band strong {
    display: block;
    color: var(--purple);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.quote-layout {
    grid-template-columns: 1.3fr 0.7fr;
}

.quote-form {
    display: grid;
    gap: 18px;
}

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

label span {
    display: block;
    margin-bottom: 7px;
    color: var(--purple-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(240, 82, 35, 0.2);
    border-color: var(--orange);
}

.quote-aside {
    padding: 26px;
}

.quote-aside ul {
    margin: 18px 0 24px;
    padding-left: 20px;
}

.price-line {
    color: var(--purple-dark);
    font-size: 1.35rem;
    font-weight: 700;
}

.form-actions {
    margin-top: 0;
}

.quote-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.contact-grid a {
    display: inline-flex;
    margin: 10px 0;
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 34px;
    padding: 46px clamp(18px, 7vw, 92px);
    color: rgba(255, 255, 255, 0.72);
    background: var(--ink);
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding-top: 18px;
    color: rgba(255, 255, 255, 0.74);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-bottom span {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.45;
}

.footer-contact-list {
    display: grid;
    gap: 9px;
    margin-top: 4px;
}

.site-footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-footer .footer-contact-item span {
    margin: 0;
}

.footer-contact-icon {
    flex: 0 0 auto;
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--white) !important;
    background: rgba(240, 82, 35, 0.18);
    border: 1px solid rgba(240, 82, 35, 0.36);
    border-radius: 999px;
}

.footer-contact-icon.whatsapp-icon {
    background: rgba(25, 170, 75, 0.2);
    border-color: rgba(25, 170, 75, 0.42);
}

.footer-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.site-footer .footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    transition: transform 160ms ease, background-color 160ms ease;
}

.site-footer .footer-socials a:hover {
    background: var(--orange);
    transform: translateY(-1px);
}

.footer-brand {
    color: var(--white);
}

.footer-brand small {
    color: rgba(255, 255, 255, 0.68);
}

.whatsapp-chat-widget {
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 34;
    display: grid;
    justify-items: end;
    gap: 10px;
    pointer-events: none;
}

.whatsapp-chat-card {
    width: min(360px, calc(100vw - 36px));
    padding: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(25, 170, 75, 0.28);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(23, 21, 31, 0.2);
    pointer-events: auto;
    transform: translateY(0);
    animation: whatsappPop 220ms ease-out;
}

.whatsapp-chat-card[hidden] {
    display: none;
}

.whatsapp-chat-head {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
    align-items: start;
}

.whatsapp-chat-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 800;
    background: #19aa4b;
    border-radius: 999px;
}

.whatsapp-chat-mark i,
.whatsapp-chat-toggle i {
    font-size: 1rem;
}

.whatsapp-chat-head strong,
.whatsapp-chat-head span {
    display: block;
}

.whatsapp-chat-head strong {
    color: #0f1c17;
    font-size: 1rem;
    font-weight: 700;
}

.whatsapp-chat-head span {
    color: #465c55;
    font-size: 0.88rem;
    font-weight: 400 !important;
}

.whatsapp-chat-card p {
    color: #465c55;
    font-size: 0.88rem;
    font-weight: 400;
    margin: 12px 0;
    color: #2a3f39;
    line-height: 1.55;
}

.whatsapp-chat-form {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}

.whatsapp-chat-form textarea {
    width: 100%;
    min-height: 86px;
    padding: 11px 12px;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.38;
    resize: vertical;
    background: var(--green-soft);
    border: 1px solid rgba(25, 170, 75, 0.24);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(25, 170, 75, 0.04);
}

.whatsapp-chat-form textarea:focus {
    border-color: #19aa4b;
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.16);
    outline: 0;
}

.whatsapp-chat-context {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    color: #52615a;
    font-size: 0.78rem;
    font-weight: 700;
}

.whatsapp-chat-head button {
    display: inline-grid;
    place-items: center;
    width: 30px;
    min-height: 30px;
    padding: 0;
    color: var(--white);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 7px;
    cursor: pointer;
}

.whatsapp-chat-link,
.whatsapp-chat-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    background: #19aa4b;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(25, 170, 75, 0.22);
    cursor: pointer;
}

.whatsapp-chat-link {
    width: 100%;
    min-height: 40px;
    padding: 10px 15px;
}

.whatsapp-chat-toggle {
    position: relative;
    right: 2px;
    bottom: 1px;
    min-height: 50px;
    padding: 10px 14px 10px 10px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 12px 28px rgba(25, 170, 75, 0.22);
}

.whatsapp-chat-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #19aa4b;
    font-size: 0.72rem;
    font-weight: 900;
    background: var(--white);
    border-radius: 999px;
}

@keyframes whatsappPop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-float-toggle {
    display: inline-grid;
    place-items: center;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 52px;
    height: 52px;
    color: var(--white);
    font-weight: 700;
    background: var(--red);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(23, 21, 31, 0.2);
    cursor: pointer;
}

.ai-float-panel {
    position: fixed;
    right: 18px;
    bottom: 82px;
    z-index: 31;
    width: min(392px, calc(100vw - 36px));
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(23, 21, 31, 0.22);
}

.ai-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ai-panel-head strong,
.ai-panel-head span {
    display: block;
}

.ai-panel-head strong {
    color: var(--purple-dark);
    font-size: 1.05rem;
}

.ai-panel-head span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.86rem;
}

.ai-panel-head button {
    min-height: 32px;
    padding: 6px 9px;
    color: var(--white);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 7px;
    cursor: pointer;
}

.admin-panel {
    padding-top: 22px;
}

.admin-panel:has(.admin-nav) {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.admin-panel:has(.admin-nav) > :not(.admin-nav) {
    grid-column: 2;
    min-width: 0;
}

.admin-nav {
    position: sticky;
    top: 86px;
    grid-row: 1 / span 80;
    display: grid;
    gap: 7px;
    padding: 12px;
    background: #27102f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(23, 21, 31, 0.12);
}

.admin-nav-brand {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    padding: 7px 8px 12px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-nav-brand span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    font-weight: 800;
    background: var(--orange);
    border-radius: 8px;
}

.admin-nav-brand strong,
.admin-nav-brand small {
    display: block;
}

.admin-nav-brand small {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
}

.admin-nav a i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.09);
    border-radius: 7px;
}

.admin-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.admin-nav a[aria-current='page'] {
    color: var(--white);
    background: var(--orange);
    border-color: rgba(255, 255, 255, 0.16);
}

.admin-nav-logout {
    margin-top: 8px;
    color: #ffd4d0 !important;
}

.admin-dashboard {
    display: grid;
    gap: 16px;
}

.admin-command-bar,
.admin-card,
.admin-accordion,
.admin-quick-actions {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(23, 21, 31, 0.05);
}

.admin-command-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.admin-command-bar h2 {
    margin: 0;
    color: var(--purple-dark);
    font-size: 1.35rem;
}

.admin-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    color: var(--purple-dark);
    font-size: 0.86rem;
    font-weight: 800;
    background: var(--green-soft);
    border: 1px solid rgba(25, 170, 75, 0.18);
    border-radius: 999px;
}

.admin-live-status span {
    width: 9px;
    height: 9px;
    background: var(--teal);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(25, 170, 75, 0.13);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.admin-kpi-grid article {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 9px 24px rgba(23, 21, 31, 0.045);
}

.admin-kpi-grid i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--white);
    background: var(--red);
    border-radius: 8px;
}

.admin-kpi-grid article:nth-child(2) i,
.admin-kpi-grid article:nth-child(6) i {
    background: var(--purple);
}

.admin-kpi-grid article:nth-child(3) i {
    background: var(--teal);
}

.admin-kpi-grid article:nth-child(5) i {
    background: var(--orange);
}

.admin-kpi-grid span,
.admin-kpi-grid small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-kpi-grid strong {
    color: var(--purple-dark);
    font-size: clamp(1.28rem, 2.4vw, 1.88rem);
    line-height: 1.05;
}

.admin-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
}

.admin-quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 11px;
    color: var(--purple-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-quick-actions a:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.admin-ops-grid,
.admin-split-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.admin-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-card-head h2,
.admin-split-panels h3 {
    margin: 0;
    color: var(--purple-dark);
    font-size: 1.08rem;
}

.admin-card-head span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-live-list,
.admin-pipeline-list,
.admin-rank-list {
    display: grid;
    gap: 8px;
}

.admin-live-list div,
.admin-pipeline-list div,
.admin-rank-list a,
.admin-rank-list div {
    display: grid;
    gap: 2px;
    padding: 10px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-live-list strong {
    color: var(--purple-dark);
    font-size: 0.92rem;
}

.admin-live-list span,
.admin-rank-list small {
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-pipeline-list div,
.admin-rank-list a,
.admin-rank-list div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.admin-pipeline-list span,
.admin-rank-list span {
    color: var(--purple-dark);
    font-weight: 800;
}

.admin-pipeline-list strong,
.admin-rank-list strong {
    color: var(--red);
    font-size: 1.1rem;
}

.admin-pipeline-list small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-accordion-stack {
    display: grid;
    gap: 10px;
}

.admin-accordion {
    overflow: hidden;
}

.admin-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--purple-dark);
    font-weight: 800;
    cursor: pointer;
}

.admin-accordion summary::-webkit-details-marker {
    display: none;
}

.admin-accordion summary span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.admin-accordion summary i {
    color: var(--red);
}

.admin-accordion summary small {
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-accordion[open] summary {
    border-bottom: 1px solid var(--line);
}

.admin-accordion > .table-wrap,
.admin-accordion > .admin-split-panels,
.admin-accordion > .form-grid {
    padding: 12px;
}

.admin-compact-table table {
    min-width: 760px;
}

.admin-compact-table th,
.admin-compact-table td {
    padding: 10px;
    font-size: 0.88rem;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--teal);
    border-radius: 999px;
}

.admin-status-pill.muted {
    color: var(--purple-dark);
    background: var(--soft);
    border: 1px solid var(--line);
}

.admin-compact-notice {
    padding: 14px 16px;
}

.settings-form {
    gap: 12px;
}

.settings-accordions {
    gap: 9px;
}

.admin-form-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.admin-edit-list {
    display: grid;
    gap: 18px;
}

.admin-list-item {
    gap: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 22px rgba(23, 21, 31, 0.035);
}

.admin-list-item .form-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px 14px;
}

.admin-list-item .full-field {
    grid-column: span 4;
}

.admin-list-item .admin-actions {
    justify-content: flex-end;
    margin-top: 2px;
}

.admin-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 21, 31, 0.05);
}

.admin-product-thumb {
    width: 160px;
    aspect-ratio: 10 / 7;
    object-fit: cover;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.admin-product-mini {
    width: 72px;
    height: 52px;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 7px;
}

.admin-product-summary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-product-summary > span {
    min-width: 0;
    display: block;
}

.admin-product-summary strong,
.admin-product-summary em {
    display: block;
}

.admin-product-summary strong {
    color: var(--purple-dark);
    font-size: 0.95rem;
    line-height: 1.15;
}

.admin-product-summary em {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
}

.admin-form.wide {
    max-width: 980px;
}

.admin-product-editor {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: none;
}

.product-editor-accordion summary {
    align-items: center;
}

.admin-help {
    margin-bottom: 18px;
}

.ai-admin-hints {
    display: grid;
    gap: 7px;
    padding: 13px 14px;
    color: var(--purple-dark);
    background: #fbf9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ai-admin-hints strong {
    font-size: 0.9rem;
}

.ai-admin-hints ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-page-heading h2 {
    font-size: 1.25rem;
}

.admin-page-heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.full-field {
    grid-column: 1 / -1;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.check-row input {
    width: 18px;
    min-height: 18px;
}

.check-row span {
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.success-message {
    padding: 12px 14px;
    color: #05603a;
    font-weight: 700;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 8px;
}

.login-form {
    max-width: 430px;
    display: grid;
    gap: 16px;
    padding: 24px;
}

.form-error {
    margin: 0;
    color: #b42318;
    font-weight: 700;
}

.notice {
    padding: 24px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: var(--white);
}

th,
td {
    padding: 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--purple-dark);
    background: var(--soft);
}

td small {
    color: var(--muted);
}

.status-form {
    display: grid;
    gap: 8px;
    min-width: 150px;
}

@media (max-width: 900px) {
    .topbar-inner {
        min-height: 36px;
        justify-content: center;
        text-align: center;
    }

    .topbar-inner > span {
        display: none;
    }

    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .header-call {
        display: none;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: grid;
        justify-self: stretch;
        align-items: stretch;
        gap: 7px;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 260ms ease, padding 200ms ease, opacity 180ms ease;
    }

    .site-nav.is-open {
        max-height: calc(100vh - 70px);
        padding-top: 12px;
        overflow-y: auto;
        opacity: 1;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        width: 100%;
        min-height: 44px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--purple-dark);
        font-size: 0.96rem;
        background: #fbf9fc;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .nav-dropdown {
        display: grid;
    }

    .nav-dropdown-panel {
        position: static;
        width: auto;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
        transition: max-height 260ms ease, padding 200ms ease;
    }

    .nav-dropdown-panel::before {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        max-height: 1800px;
        padding-top: 8px;
        transform: none;
    }

    .mega-menu-panel {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mega-menu-lead,
    .mega-menu-group a {
        min-height: auto;
        display: grid;
        justify-content: stretch;
        align-items: start;
        padding: 12px;
        background: var(--white);
    }

    .mega-menu-lead a {
        width: 100%;
        justify-content: center;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
    }

    .mega-menu-group {
        gap: 7px;
    }

    .mega-menu-group h3 {
        padding: 8px 4px 0;
    }

    .mega-menu-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mega-menu-actions a {
        justify-content: center;
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 8px 0 2px;
    }

    .mobile-menu-actions .mini-btn {
        min-height: 40px;
    }

    .hero {
        min-height: 72vh;
    }

    .home-hero-slider,
    .home-slide-inner {
        min-height: 450px;
    }

    .home-slide {
        background-color: rgba(23, 21, 31, 0.72);
        background-image: var(--slide-image);
        background-blend-mode: multiply;
    }

    .home-slide-inner {
        padding: 42px 0 66px;
    }

    .home-slider-arrow {
        width: 38px;
        height: 38px;
    }

    .hero-content {
        margin-inline: 18px;
        padding-bottom: 92px;
    }

    .home-hero {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .shop-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .shop-hero-points {
        justify-content: flex-start;
    }

    .home-hero-visual {
        min-height: 360px;
    }

    .quick-strip,
    .category-grid,
    .service-grid,
    .core-service-grid,
    .service-nav-strip,
    .insight-grid,
    .digital-package-grid,
    .digital-card-grid,
    .project-grid,
    .faq-grid,
    .benchmark-grid,
    .home-category-grid,
    .home-proof-strip,
    .product-grid,
    .blog-related-grid,
    .process ol,
    .metric-band,
    .media-process-grid,
    .media-price-grid,
    .contact-grid,
    .admin-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-service-grid {
        grid-template-columns: 1fr;
    }

    .core-service-card {
        min-height: 0;
    }

    .intro-grid,
    .process,
    .service-detail,
    .package-intro,
    .digital-lead,
    .digital-roadmap,
    .quote-layout,
    .cms-page-hero,
    .cms-page-layout,
    .blog-layout,
    .blog-detail-layout,
    .blog-featured-card,
    .blog-post-hero,
    .site-footer,
    .shop-layout,
    .product-detail-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .media-spotlight,
    .media-hero {
        grid-template-columns: 1fr;
    }

    .media-hero-image {
        min-height: 300px;
        order: -1;
    }

    .detail-copy,
    .shop-sidebar,
    .cms-sidebar,
    .cart-summary {
        position: static;
    }

    .shop-sidebar {
        position: sticky;
        top: 58px;
        z-index: 12;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: -12px -18px 12px;
        padding: 10px 18px 12px;
        overflow-x: auto;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(232, 227, 237, 0.9);
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 12px 26px rgba(23, 21, 31, 0.08);
        scrollbar-width: none;
    }

    .shop-sidebar::-webkit-scrollbar {
        display: none;
    }

    .shop-sidebar h2 {
        flex: 0 0 auto;
        margin: 0;
        color: var(--muted);
        font-size: 0.76rem;
        text-transform: uppercase;
    }

    .shop-sidebar a {
        flex: 0 0 auto;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        background: #fbf9fc;
        border: 1px solid var(--line);
    }

    .shop-sidebar a[aria-current='page'] {
        color: var(--white);
        background: var(--red);
        border-color: var(--red);
    }

    .mobile-category-rail {
        position: sticky;
        top: 58px;
        z-index: 14;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px 12px;
        overflow-x: auto;
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid rgba(232, 227, 237, 0.92);
        box-shadow: 0 12px 26px rgba(23, 21, 31, 0.08);
        scrollbar-width: none;
    }

    .mobile-category-rail::-webkit-scrollbar {
        display: none;
    }

    .mobile-category-rail strong,
    .mobile-category-rail a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .mobile-category-rail strong {
        color: var(--muted);
        font-size: 0.76rem;
        text-transform: uppercase;
    }

    .mobile-category-rail a {
        min-height: 38px;
        padding: 9px 12px;
        display: inline-flex;
        align-items: center;
        color: var(--purple-dark);
        font-weight: 700;
        text-decoration: none;
        background: #fbf9fc;
        border: 1px solid var(--line);
        border-radius: 999px;
    }

    .mobile-category-rail a[aria-current='page'] {
        color: var(--white);
        background: var(--red);
        border-color: var(--red);
    }

    .shop-sidebar {
        display: none;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-featured-media img {
        min-height: 280px;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-panel:has(.admin-nav) {
        grid-template-columns: 1fr;
    }

    .admin-panel:has(.admin-nav) > :not(.admin-nav),
    .admin-nav {
        grid-column: 1;
    }

    .admin-nav {
        position: static;
        grid-row: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-nav-brand {
        grid-column: 1 / -1;
    }

    .admin-ops-grid,
    .admin-split-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .topbar {
        display: none;
    }

    .brand small {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 13vw, 4.2rem);
    }

    .quick-strip,
    .category-grid,
    .service-grid,
    .core-service-grid,
    .service-nav-strip,
    .insight-grid,
    .digital-package-grid,
    .digital-card-grid,
    .project-grid,
    .faq-grid,
    .benchmark-grid,
    .home-category-grid,
    .home-proof-strip,
    .product-grid,
    .work-grid,
    .blog-grid,
    .blog-related-grid,
    .process ol,
    .form-grid,
    .metric-band,
    .contact-grid,
    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }

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

    .section {
        width: min(100% - 28px, var(--max));
        padding: 42px 0;
    }

    .home-hero {
        width: min(100% - 28px, var(--max));
        padding: 28px 0 18px;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
    }

    .admin-nav a {
        min-height: 38px;
        padding: 8px;
        font-size: 0.82rem;
    }

    .admin-command-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-quick-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-accordion summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero-slider,
    .home-slide-inner {
        min-height: 450px;
    }

    .home-slide-inner {
        width: min(100% - 28px, var(--max));
        padding: 34px 0 58px;
    }

    .home-slide h1 {
        font-size: clamp(2rem, 10vw, 3.15rem);
        line-height: 1.02;
    }

    .home-slide .hero-copy {
        margin-top: 10px;
        font-size: 0.96rem;
    }

    .home-slide .hero-actions {
        gap: 8px;
    }

    .home-slide .btn {
        min-height: 40px;
        padding: 9px 12px;
    }

    .home-slider-arrow {
        top: 50%;
        bottom: auto;
        width: 34px;
        height: 34px;
        font-size: 1.7rem;
        transform: translateY(-50%);
    }

    .home-slider-arrow.prev {
        left: 8px;
    }

    .home-slider-arrow.next {
        right: 8px;
    }

    .home-slider-dots {
        bottom: 58px;
    }

    .shop-hero {
        padding: 24px 14px 22px;
    }

    .shop-sidebar {
        top: 58px;
        margin: -12px -14px 12px;
        padding: 10px 14px 12px;
    }

    .mobile-category-rail {
        padding: 10px 14px 12px;
    }

    .product-gallery-stage {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .product-media-panel,
    .product-buy-panel {
        padding: 18px;
    }

    .product-sample-strip {
        grid-auto-columns: minmax(118px, 44vw);
    }

    .page-hero {
        padding: 30px 18px 24px;
    }

    .page-hero p {
        font-size: 0.98rem;
    }

    .page-hero .hero-actions {
        gap: 8px;
    }

    .page-hero .btn {
        min-height: 40px;
        padding: 9px 12px;
    }

    .shop-hero h1 {
        font-size: 1.58rem;
    }

    .shop-hero p {
        font-size: 0.95rem;
    }

    .shop-hero-points span {
        flex: 1 1 auto;
        text-align: center;
    }

    .home-hero-copy h1 {
        font-size: 2.22rem;
        line-height: 0.98;
    }

    .home-hero .hero-actions {
        gap: 8px;
    }

    .home-hero .btn {
        flex: 1 1 calc(50% - 8px);
        min-height: 44px;
        padding: 10px 12px;
    }

    .home-hero .btn:first-child {
        flex-basis: 100%;
    }

    .home-hero-visual {
        grid-template-columns: 1fr;
        grid-template-rows: 210px;
        min-height: 210px;
        gap: 10px;
    }

    .home-hero-visual .visual-tile {
        display: none;
    }

    .visual-main strong {
        font-size: 1.08rem;
    }

    .visual-main span {
        font-size: 0.84rem;
    }

    .home-search-panel {
        padding: 13px;
    }

    .decorated-heading {
        align-items: flex-end;
        gap: 10px;
    }

    .section-heading-actions {
        gap: 6px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
    }

    .home-category-card {
        min-height: 230px;
    }

    .media-spotlight,
    .media-hero {
        width: min(100% - 28px, var(--max));
    }

    .media-spotlight-copy,
    .media-hero-copy {
        padding: 22px;
    }

    .media-spotlight-image,
    .media-hero-image {
        min-height: 230px;
    }

    .media-lane-products,
    .media-process-grid,
    .media-price-grid {
        grid-template-columns: 1fr;
    }

    .media-price-list div {
        grid-template-columns: 1fr;
    }

    .media-price-list b {
        justify-self: start;
    }

    .cms-page-hero {
        width: min(100% - 28px, var(--max));
        padding: 26px 0 12px;
    }

    .blog-hero {
        padding: 30px 18px 24px;
    }

    .blog-hero h1,
    .blog-post-hero h1 {
        font-size: 1.86rem;
    }

    .blog-post-hero {
        width: min(100% - 28px, var(--max));
        padding: 26px 0 12px;
    }

    .blog-featured-copy,
    .blog-card-copy,
    .blog-sidebar-panel {
        padding: 16px;
    }

    .blog-article-actions .btn {
        flex: 1 1 100%;
    }

    .cms-page-hero h1 {
        font-size: 1.82rem;
    }

    .cms-content,
    .cms-sidebar {
        padding: 20px;
    }

    .home-featured-products .product-grid,
    .product-row-section .product-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 78vw);
        overflow-x: auto;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
    }

    .home-featured-products .product-card,
    .product-row-section .product-card {
        scroll-snap-align: start;
    }

    .core-service-hub {
        padding-top: 34px;
    }

    .product-list article {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-search-band form {
        grid-template-columns: 1fr;
    }

    .mobile-menu-actions {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .whatsapp-chat-widget {
        right: 14px;
        bottom: 76px;
    }

    .whatsapp-chat-card {
        width: min(340px, calc(100vw - 28px));
    }

    .whatsapp-chat-toggle strong {
        display: none;
    }

    .whatsapp-chat-toggle {
        min-width: 52px;
        min-height: 52px;
        padding: 10px;
    }

    .ai-float-panel {
        right: 14px;
        left: 14px;
        bottom: 76px;
        width: auto;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .ai-float-toggle {
        right: 14px;
        bottom: 14px;
    }

    .home-shop-finder {
        margin-top: -42px;
        padding: 14px;
    }

    .finder-control {
        grid-template-columns: 1fr;
    }

    .product-list strong {
        text-align: left;
    }

    .summary-list li {
        grid-template-columns: 48px 1fr;
    }

    .summary-list li strong {
        grid-column: 2;
        justify-self: start;
    }

    .cart-product-cell {
        grid-template-columns: 64px 1fr;
        min-width: 0;
    }
}

/* Final responsive guardrails for dense navigation, admin screens, and data views. */
@media (min-width: 901px) and (max-width: 1240px) {
    .site-header {
        padding-inline: 20px;
        gap: 6px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        max-width: 98px;
    }

    .brand small {
        display: none;
    }

    .site-nav {
        gap: 1px;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        padding-inline: 5px;
        font-size: 0.78rem;
    }

    .header-call {
        padding-inline: 8px;
        font-size: 0.78rem;
    }
}

@media (min-width: 901px) and (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto 1fr;
    }

    .header-call {
        display: none;
    }

    .admin-panel:has(.admin-nav) {
        grid-template-columns: 1fr;
    }

    .admin-panel:has(.admin-nav) > :not(.admin-nav),
    .admin-nav {
        grid-column: 1;
    }

    .admin-nav {
        position: static;
        grid-row: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-nav-brand {
        grid-column: 1 / -1;
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-inline: 16px;
    }

    .site-nav {
        min-width: 0;
    }

    .mega-menu-panel,
    .mega-menu-group,
    .admin-dashboard,
    .admin-panel,
    .admin-card,
    .admin-form,
    .form-grid {
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 56px;
        padding-inline: 14px;
    }

    .brand-logo {
        max-width: 108px;
        height: 31px;
    }

    .brand strong {
        font-size: 0.86rem;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .site-nav.is-open {
        max-height: calc(100svh - 56px);
    }

    .admin-panel:has(.admin-nav) {
        width: min(100% - 20px, var(--max));
    }

    .admin-nav {
        gap: 5px;
    }

    .admin-nav-group summary,
    .admin-nav a {
        min-width: 0;
    }

    .admin-nav a span,
    .admin-nav-group summary span {
        overflow-wrap: anywhere;
    }

    .admin-command-actions,
    .admin-form-footer,
    .admin-card-head,
    .admin-command-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-command-actions a,
    .admin-form-footer > *,
    .admin-command-bar .admin-live-status {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section,
    .admin-panel:has(.admin-nav),
    .home-hero,
    .home-slide-inner {
        width: min(100% - 20px, var(--max));
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-nav-brand,
    .admin-nav-group,
    .admin-nav-logout {
        grid-column: auto;
    }

    .admin-nav-group[open] {
        padding-bottom: 2px;
    }

    .admin-nav-group a {
        min-height: 42px;
    }
}

@media (max-width: 900px) {
    .table-wrap,
    .admin-table-wrap,
    .admin-data-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table,
    .admin-table-wrap table,
    .admin-data-table table {
        min-width: 640px;
    }

    .admin-endpoint-list article,
    .admin-api-card,
    .admin-kpi-grid article,
    .admin-quick-actions a,
    .notice,
    .form-error,
    .success-message {
        overflow-wrap: anywhere;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}

/* Bright Ibiz brand theme */
:root {
    --green: #19aa4b;
    --theme-a: #471c54;
    --theme-b: #f05223;
    --theme-c: #cf2b27;
    --theme-d: #19aa4b;
    --theme-soft: #fff6f0;
    --theme-soft-2: #f0fff4;
    --theme-line: rgba(240, 82, 35, 0.24);
    --theme-glow: rgba(240, 82, 35, 0.2);
    --theme-shadow: 0 18px 42px rgba(71, 28, 84, 0.11);
    --shadow: 0 16px 36px rgba(71, 28, 84, 0.1);
}

body[data-color-theme='ibiz'],
body[data-color-theme='purple'] {
    --theme-a: #471c54;
    --theme-b: #f05223;
    --theme-c: #cf2b27;
    --theme-d: #19aa4b;
    --theme-soft: #fff6f0;
    --theme-soft-2: #f0fff4;
    --theme-line: rgba(240, 82, 35, 0.25);
    --theme-glow: rgba(240, 82, 35, 0.2);
}

body[data-color-theme='green'] {
    --theme-a: #12883a;
    --theme-b: #19aa4b;
    --theme-c: #f05223;
    --theme-d: #471c54;
    --theme-soft: #effff4;
    --theme-soft-2: #fff6f0;
    --theme-line: rgba(25, 170, 75, 0.28);
    --theme-glow: rgba(25, 170, 75, 0.2);
}

body[data-color-theme='red'] {
    --theme-a: #cf2b27;
    --theme-b: #f05223;
    --theme-c: #471c54;
    --theme-d: #19aa4b;
    --theme-soft: #fff0ef;
    --theme-soft-2: #fff8f3;
    --theme-line: rgba(207, 43, 39, 0.28);
    --theme-glow: rgba(207, 43, 39, 0.2);
}

body[data-color-theme='orange'] {
    --theme-a: #f05223;
    --theme-b: #cf2b27;
    --theme-c: #471c54;
    --theme-d: #19aa4b;
    --theme-soft: #fff5ed;
    --theme-soft-2: #fff0ef;
    --theme-line: rgba(240, 82, 35, 0.3);
    --theme-glow: rgba(240, 82, 35, 0.22);
}

body {
    background: var(--green-soft);
}

::selection {
    color: var(--purple-dark);
    background: rgba(240, 82, 35, 0.24);
}

.topbar {
    color: rgba(255, 255, 255, 0.94);
    background: var(--purple);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.topbar-contact i {
    color: #fff0c9;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.32);
}

.topbar-socials a {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.topbar-socials a:hover {
    color: var(--theme-c);
    background: var(--white);
}

.site-header {
    background: var(--warm);
    border-bottom-color: rgba(240, 82, 35, 0.18);
    box-shadow: 0 12px 28px rgba(71, 28, 84, 0.08);
}

.brand-mark {
    background: var(--purple);
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.26), 0 8px 18px rgba(71, 28, 84, 0.16);
}

.brand small {
    color: #695872;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--white);
    background: var(--purple);
    box-shadow: inset 0 0 0 1px var(--theme-line);
}

.nav-dropdown-panel,
.mega-menu-panel {
    border-color: var(--theme-line);
    box-shadow: 0 24px 54px rgba(71, 28, 84, 0.15);
}

.mega-menu-lead {
    background: var(--purple);
}

.mega-menu-group a:hover {
    background: var(--theme-soft);
    border-color: var(--theme-line);
}

.mega-menu-actions a,
.btn-primary {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 10px 22px rgba(240, 82, 35, 0.18);
}

.btn-secondary,
.inline-cart-form button[value='buy'] {
    color: var(--white);
    background: var(--purple);
    border-color: rgba(207, 43, 39, 0.8);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'] {
    color: var(--white);
    background: var(--green, var(--teal));
    border-color: rgba(25, 170, 75, 0.8);
}

.btn:hover,
.mini-btn:hover {
    box-shadow: 0 12px 24px var(--theme-glow);
}

.home-hero-slider {
    background: var(--purple);
}

.home-slide {
    background-color: rgba(23, 21, 31, 0.72);
    background-image: var(--slide-image);
    background-blend-mode: multiply;
}

.home-slide .eyebrow,
.page-hero .eyebrow,
.cms-page-hero .eyebrow {
    color: var(--theme-a);
    background: var(--theme-soft);
    border: 1px solid var(--theme-line);
}

.home-slide .eyebrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.home-slide h1 {
    text-shadow: 0 14px 34px rgba(23, 21, 31, 0.24);
}

.home-slide .btn-whatsapp {
    background: var(--green, var(--teal));
    border-color: rgba(255, 255, 255, 0.35);
}

.home-slider-arrow {
    background: var(--orange);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 12px 28px rgba(207, 43, 39, 0.24);
}

.home-slider-arrow:hover {
    background: var(--purple);
}

.home-slider-dots button {
    background: rgba(255, 255, 255, 0.52);
}

.home-slider-dots button[aria-selected='true'] {
    background: var(--orange);
}

.home-shop-finder,
.home-search-panel,
.shop-search-band,
.blog-sidebar-panel,
.blog-featured-card,
.quote-form,
.product-buy-panel {
    background: var(--white);
    border-color: var(--theme-line);
    box-shadow: var(--theme-shadow);
}

.home-shop-finder,
.shop-search-band {
    position: relative;
}

.home-shop-finder::before,
.shop-search-band::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
    pointer-events: none;
}

.home-shop-finder::before,
.shop-search-band::before,
.product-card::before {
    background: var(--purple);
}

.home-shop-finder label,
.ai-live-product strong,
.product-card strong,
.service-card h2,
.category-grid strong {
    color: var(--theme-a);
}

.finder-control input,
.ai-live-control input,
.shop-search-band input,
.blog-search-form input,
.quote-form input,
.quote-form select,
.quote-form textarea {
    border-color: rgba(240, 82, 35, 0.22);
    box-shadow: inset 0 0 0 1px rgba(25, 170, 75, 0.04);
}

.finder-control input:focus,
.ai-live-control input:focus,
.shop-search-band input:focus,
.blog-search-form input:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--theme-b);
    box-shadow: 0 0 0 3px var(--theme-glow);
    outline: 0;
}

.ai-search-mark {
    background: var(--orange);
}

.ai-live-results {
    background: var(--white);
    border-color: var(--theme-line);
}

.ai-live-suggestion,
.ai-live-view {
    color: var(--theme-a);
    background: var(--theme-soft);
    border-color: var(--theme-line);
}

.ai-live-product:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover {
    border-color: var(--theme-line);
    box-shadow: 0 12px 24px var(--theme-glow);
}

/* Homepage refinement: compact service rail, cleaner products, portfolio, and clients. */
.quick-strip.compact-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: var(--warm);
    box-shadow: 0 10px 24px rgba(71, 28, 84, 0.05);
}

.quick-strip.compact-strip a {
    min-width: 0;
    padding: 12px 6px;
    overflow: hidden;
    color: var(--theme-a);
    font-size: clamp(0.68rem, 0.95vw, 0.86rem);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-strip.compact-strip a:hover {
    color: var(--white);
    background: var(--orange);
}

.home-category-section,
.home-portfolio-section,
.client-logo-section {
    padding-block: 38px;
}

.home-product-rows {
    width: 100%;
    padding: 10px 0 18px;
    background: var(--white);
}

.product-band.home-featured-products {
    padding-block: 36px;
    background: var(--white);
}

.home-product-rows .product-row-section {
    padding-block: 30px;
}

.product-carousel {
    width: min(var(--max), 100%);
    margin: 0 auto;
    overflow: hidden;
}

.product-carousel .product-grid {
    grid-auto-columns: calc((100% - 42px) / 4);
    padding: 2px 0 14px;
    scrollbar-width: none;
}

.product-carousel .product-grid::-webkit-scrollbar {
    display: none;
}

.home-featured-products .product-card,
.product-row-section .product-card {
    background: #ffffff;
    border-color: rgba(71, 28, 84, 0.11);
    box-shadow: 0 12px 26px rgba(71, 28, 84, 0.07);
}

.home-featured-products .product-card strong,
.product-row-section .product-card strong {
    margin-top: 10px;
    font-size: 1.05rem;
}

.home-featured-products .product-thumb,
.product-row-section .product-thumb {
    background: var(--white);
    border: 1px solid rgba(240, 82, 35, 0.12);
}

.home-project-grid {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-project-card {
    overflow: hidden;
    display: grid;
    background: #ffffff;
    border: 1px solid rgba(240, 82, 35, 0.16);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(71, 28, 84, 0.07);
}

.home-project-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f7f3f8;
}

.home-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.home-project-card:hover .home-project-media img {
    transform: scale(1.035);
}

.home-project-copy {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.home-project-copy span {
    width: max-content;
    max-width: 100%;
    padding: 6px 8px;
    color: #0b6f2f;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--green-soft);
    border-radius: 999px;
}

.home-project-copy h2,
.home-project-copy h3 {
    color: var(--theme-a);
    font-size: 1.08rem;
    line-height: 1.14;
}

.home-project-copy small {
    color: var(--theme-c);
    font-weight: 800;
}

.home-project-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.home-project-copy a {
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    color: var(--theme-a);
    font-weight: 800;
    text-decoration: none;
}

.home-project-copy a::after {
    content: ' ->';
    color: var(--orange);
}

.portfolio-service-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 6px;
}

.portfolio-service-strip span {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 9px;
    color: var(--theme-a);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(240, 82, 35, 0.16);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(71, 28, 84, 0.05);
}

.client-logo-rail {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 10px;
}

.client-logo-card {
    min-height: 92px;
    padding: 12px;
    display: grid;
    place-items: center;
    gap: 8px;
    color: var(--theme-a);
    text-align: center;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(71, 28, 84, 0.055);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.client-logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
    background: var(--purple);
    border-radius: 8px;
}

.client-logo-card strong {
    font-size: 0.86rem;
    line-height: 1.15;
}

.client-logo-card:hover {
    border-color: var(--theme-line);
    box-shadow: 0 14px 30px var(--theme-glow);
}

@media (max-width: 1050px) {
    .product-carousel .product-grid {
        grid-auto-columns: calc((100% - 28px) / 3);
    }

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

    .portfolio-service-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-carousel .product-grid {
        grid-auto-columns: calc((100% - 14px) / 2);
    }
}

@media (max-width: 620px) {
    .quick-strip.compact-strip {
        display: flex;
        gap: 6px;
        padding: 7px 12px;
        overflow-x: auto;
        border-bottom: 1px solid var(--theme-line);
        scrollbar-width: none;
    }

    .quick-strip.compact-strip::-webkit-scrollbar {
        display: none;
    }

    .quick-strip.compact-strip a {
        flex: 0 0 auto;
        padding: 10px 12px;
        background: #ffffff;
        border: 1px solid rgba(240, 82, 35, 0.14);
        border-radius: 999px;
    }

    .product-carousel .product-grid {
        grid-auto-columns: 100%;
    }

    .home-project-grid,
    .portfolio-service-strip {
        grid-template-columns: 1fr;
    }

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

.page-hero,
.cms-page-hero,
.blog-hero,
.blog-post-hero {
    background: var(--warm);
}

.page-hero h1,
.cms-page-hero h1,
.blog-hero h1,
.blog-post-hero h1 {
    color: var(--theme-a);
}

.service-card,
.product-card,
.work-grid article,
.contact-grid article,
.quote-aside,
.login-form,
.notice,
.category-grid a,
.blog-card,
.blog-sidebar-panel {
    border-color: rgba(240, 82, 35, 0.16);
    box-shadow: 0 10px 28px rgba(71, 28, 84, 0.06);
}

.service-card,
.product-card {
    background: var(--white);
}

.product-card::before {
    height: 4px;
}

.product-card:hover,
.service-card:hover,
.category-grid a:hover {
    border-color: var(--theme-line);
    box-shadow: 0 18px 38px var(--theme-glow);
}

.product-card span {
    color: var(--theme-c);
}

.product-card strong {
    color: var(--theme-a);
}

.product-stock-pill {
    color: #0b6f2f;
    background: var(--theme-soft-2);
}

.mobile-category-rail {
    background: rgba(255, 252, 248, 0.98);
    border-bottom-color: var(--theme-line);
}

.mobile-category-rail a {
    color: var(--theme-a);
    background: #ffffff;
    border-color: var(--theme-line);
}

.mobile-category-rail a[aria-current='page'] {
    color: var(--white);
    background: var(--orange);
    border-color: rgba(207, 43, 39, 0.62);
}

.site-footer {
    background: var(--purple-dark);
}

.footer-contact-icon {
    background: var(--orange);
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-contact-icon.whatsapp-icon {
    background: var(--green, var(--teal));
}

.site-footer .footer-socials a:nth-child(4n + 1) {
    background: rgba(207, 43, 39, 0.36);
}

.site-footer .footer-socials a:nth-child(4n + 2) {
    background: rgba(240, 82, 35, 0.36);
}

.site-footer .footer-socials a:nth-child(4n + 3) {
    background: rgba(25, 170, 75, 0.32);
}

.site-footer .footer-socials a:nth-child(4n + 4) {
    background: rgba(255, 255, 255, 0.12);
}

.site-footer .footer-socials a:hover {
    background: var(--white);
    color: var(--theme-a);
}

.color-theme-palette {
    position: fixed;
    top: 50%;
    left: 10px;
    z-index: 85;
    width: 38px;
    padding: 8px 5px;
    display: grid;
    gap: 7px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(71, 28, 84, 0.16);
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(71, 28, 84, 0.16);
    backdrop-filter: blur(16px);
    transform: translateY(-50%);
}

.theme-swatch {
    width: 26px;
    height: 26px;
    padding: 3px;
    display: grid;
    place-items: center;
    background: var(--white);
    border: 1px solid rgba(71, 28, 84, 0.14);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.theme-swatch::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: var(--swatch);
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.theme-swatch-mix {
    --swatch: #471c54;
}

.theme-swatch-purple {
    --swatch: #471c54;
}

.theme-swatch-red {
    --swatch: #cf2b27;
}

.theme-swatch-green {
    --swatch: #19aa4b;
}

.theme-swatch-orange {
    --swatch: #f05223;
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: var(--theme-a);
    box-shadow: 0 0 0 3px rgba(240, 82, 35, 0.14), 0 8px 18px rgba(71, 28, 84, 0.14);
    transform: scale(1.08);
}

.theme-swatch:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .site-nav.is-open {
        background: var(--white);
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 620px) {
    .color-theme-palette {
        left: 5px;
        width: 32px;
        padding: 6px 4px;
        gap: 5px;
    }

    .theme-swatch {
        width: 22px;
        height: 22px;
        padding: 2px;
    }

    .home-slide {
        background-color: rgba(23, 21, 31, 0.72);
        background-image: var(--slide-image);
        background-blend-mode: multiply;
    }
}

/* Product actions: keep Buy now and WhatsApp prominent, calm the rest. */
.product-card .card-actions .mini-btn,
.product-card .card-actions .mini-btn.subtle,
.product-card .card-actions .inline-cart-form .mini-btn,
.product-buy-panel .hero-actions .btn-primary,
.product-buy-panel .hero-actions button[value='add'] {
    color: var(--purple-dark);
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.16);
    box-shadow: none;
}

.product-card .card-actions .mini-btn:hover,
.product-card .card-actions .mini-btn.subtle:hover,
.product-card .card-actions .inline-cart-form .mini-btn:hover,
.product-buy-panel .hero-actions .btn-primary:hover,
.product-buy-panel .hero-actions button[value='add']:hover {
    color: var(--theme-a);
    background: var(--theme-soft);
    border-color: var(--theme-line);
    box-shadow: 0 8px 18px rgba(71, 28, 84, 0.08);
}

.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary {
    color: var(--white);
    background: var(--orange);
    border-color: rgba(207, 43, 39, 0.7);
    box-shadow: 0 10px 22px rgba(207, 43, 39, 0.16);
}

.product-card .card-actions .mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn.subtle[href*='wa.me'],
.product-buy-panel .hero-actions .btn-whatsapp,
.product-buy-panel .hero-actions .btn[href*='wa.me'] {
    color: var(--white);
    background: var(--green, var(--teal));
    border-color: rgba(25, 170, 75, 0.75);
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.18);
}

/* Branded mega menu */
.mega-dropdown .nav-dropdown-toggle {
    color: var(--purple-dark);
}

.mega-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown .nav-dropdown-toggle:hover {
    color: var(--white);
    background: var(--purple);
    box-shadow: 0 10px 22px rgba(207, 43, 39, 0.16);
}

.mega-menu-panel {
    isolation: isolate;
    width: min(1120px, calc(100vw - 34px));
    padding: 14px;
    gap: 14px;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 2fr);
    overflow: visible;
    background: var(--warm);
    border: 1px solid rgba(240, 82, 35, 0.24);
    box-shadow: 0 28px 72px rgba(71, 28, 84, 0.18);
}

.mega-menu-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: none;
    background-position: 0 0, 0 0, 0 0;
    background-size: 26px 26px, 26px 26px, 18px 18px;
    border-radius: 10px;
}

.mega-menu-panel > * {
    position: relative;
    z-index: 1;
}

.mega-menu-panel::before {
    background: var(--white);
    border-color: rgba(240, 82, 35, 0.24);
}

.mega-menu-lead {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 14px;
    color: var(--white);
    background: var(--purple-dark) url('../img/home-printing.avif') center/cover;
    background-blend-mode: multiply;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 34px rgba(71, 28, 84, 0.2);
}

.mega-menu-lead::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: none;
    background-size: 28px 28px;
    opacity: 0.42;
    pointer-events: none;
}

.mega-menu-lead > * {
    position: relative;
    z-index: 1;
}

.mega-menu-lead .eyebrow {
    width: max-content;
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.58);
}

.mega-menu-lead strong {
    color: var(--white);
    font-size: 1.2rem;
}

.mega-menu-lead small {
    color: rgba(255, 255, 255, 0.86);
}

.mega-menu-lead a {
    color: var(--purple-dark);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 24px rgba(23, 21, 31, 0.14);
}

.mega-menu-visual {
    position: relative;
    margin-top: 10px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 16px 30px rgba(23, 21, 31, 0.18);
}

.mega-menu-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.02);
}

.mega-menu-visual span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 16px);
    padding: 6px 8px;
    color: var(--purple-dark);
    font-size: 0.74rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
}

.mega-menu-columns {
    gap: 10px;
}

.mega-menu-group {
    gap: 8px;
}

.mega-menu-group h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--purple-dark);
    letter-spacing: 0;
}

.mega-menu-group h3::before {
    content: '';
    width: 9px;
    height: 9px;
    background: var(--orange);
    border-radius: 999px;
    box-shadow: 12px 0 0 var(--green), 24px 0 0 var(--red);
}

.mega-menu-group:nth-child(1) h3::before {
    background: var(--orange);
    box-shadow: 12px 0 0 var(--red), 24px 0 0 var(--purple);
}

.mega-menu-group:nth-child(2) h3::before {
    background: var(--red);
    box-shadow: 12px 0 0 var(--orange), 24px 0 0 var(--green);
}

.mega-menu-group:nth-child(3) h3::before {
    background: var(--green);
    box-shadow: 12px 0 0 var(--purple), 24px 0 0 var(--orange);
}

.mega-menu-group a {
    position: relative;
    overflow: hidden;
    min-height: 74px;
    padding: 11px 11px 11px 15px;
    background: var(--white);
    border-color: rgba(240, 82, 35, 0.17);
    box-shadow: 0 8px 20px rgba(71, 28, 84, 0.06);
}

.mega-menu-group a::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--purple);
}

.mega-menu-group:nth-child(1) a::before {
    background: var(--orange);
}

.mega-menu-group:nth-child(2) a::before {
    background: var(--purple);
}

.mega-menu-group:nth-child(3) a::before {
    background: var(--purple);
}

.mega-menu-group a::after {
    content: '';
    position: absolute;
    right: -26px;
    top: -26px;
    width: 58px;
    height: 58px;
    background: var(--orange);
    pointer-events: none;
}

.mega-menu-group a:hover {
    background: var(--theme-soft);
    border-color: rgba(240, 82, 35, 0.3);
    box-shadow: 0 16px 30px rgba(71, 28, 84, 0.1);
}

.mega-menu-group strong {
    color: var(--purple-dark);
}

.mega-menu-group small {
    color: #66596d;
}

.mega-menu-actions {
    align-items: center;
    padding: 10px;
    background: var(--purple);
    border: 1px solid rgba(240, 82, 35, 0.16);
    border-radius: 8px;
}

.mega-menu-actions a {
    border-radius: 999px;
}

.mega-menu-actions a:nth-child(1) {
    background: var(--orange);
    border-color: rgba(240, 82, 35, 0.7);
}

.mega-menu-actions a:nth-child(2) {
    background: var(--purple);
    border-color: rgba(207, 43, 39, 0.7);
}

.mega-menu-actions a[href*='wa.me'] {
    background: var(--green, var(--teal));
    border-color: rgba(25, 170, 75, 0.75);
}

@media (max-width: 900px) {
    .mega-menu-panel {
        width: 100%;
        padding: 10px;
        grid-template-columns: 1fr;
        background: var(--white);
        border: 1px solid rgba(240, 82, 35, 0.18);
        box-shadow: none;
    }

    .mega-menu-panel::after {
        opacity: 0.46;
    }

    .mega-menu-panel::before {
        display: none;
    }

    .mega-menu-lead,
    .mega-menu-group a {
        background: var(--white);
    }

    .mega-menu-lead {
        color: var(--white);
        background: var(--purple-dark) url('../img/print-production-lab.avif') center/cover;
        background-blend-mode: multiply;
    }

    .mega-menu-visual {
        aspect-ratio: 16 / 7.2;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .print-production-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .print-production-card.featured {
        min-height: 360px;
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 620px) {
    .print-production-grid {
        grid-template-columns: 1fr;
    }

    .print-production-card,
    .print-production-card.featured {
        min-height: 280px;
    }
}

/* Elegant Ibiz rematch */
:root {
    --purple: #471c54;
    --purple-dark: #230c2a;
    --footer: #230c2a;
    --green: #19aa4b;
    --teal: #19aa4b;
    --red: #cf2b27;
    --orange: #cf2b27;
    --soft: #f7faf7;
    --warm: #fbf6fb;
    --green-soft: #eefaf2;
    --line: rgba(71, 28, 84, 0.12);
    --theme-a: #471c54;
    --theme-b: #19aa4b;
    --theme-c: #cf2b27;
    --theme-d: #230c2a;
    --theme-soft: #f7f2f8;
    --theme-soft-2: #eefaf2;
    --theme-line: rgba(71, 28, 84, 0.14);
    --theme-glow: rgba(25, 170, 75, 0.14);
    --theme-shadow: 0 18px 42px rgba(35, 12, 42, 0.1);
}

body {
    background-color: #f6fbf7;
    background-image:
        radial-gradient(circle at 8% 7%, rgba(25, 170, 75, 0.08), transparent 26%),
        radial-gradient(circle at 96% 2%, rgba(71, 28, 84, 0.07), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 251, 247, 0.92));
}

.topbar {
    color: rgba(255, 255, 255, 0.95);
    background:
        linear-gradient(90deg, #19aa4b 0%, #158f40 32%, #471c54 76%, #230c2a 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.16);
}

.topbar-inner {
    min-height: 34px;
}

.topbar-contact i {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: none;
}

.topbar-socials a {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.topbar-socials a:hover {
    color: #230c2a;
    background: rgba(255, 255, 255, 0.94);
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(71, 28, 84, 0.1);
    box-shadow: 0 10px 28px rgba(35, 12, 42, 0.07);
}

.site-nav a,
.nav-dropdown-toggle {
    color: #574a60;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown .nav-dropdown-toggle:hover {
    color: var(--white);
    background: var(--purple);
    box-shadow: 0 10px 22px rgba(71, 28, 84, 0.14);
}

.header-call,
.mega-menu-actions a,
.btn-primary {
    color: var(--white);
    background: var(--green);
    border-color: rgba(25, 170, 75, 0.72);
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.16);
}

.btn-secondary {
    color: var(--white);
    background: var(--purple);
    border-color: rgba(71, 28, 84, 0.7);
    box-shadow: 0 10px 22px rgba(71, 28, 84, 0.13);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'] {
    color: var(--white);
    background: var(--green);
    border-color: rgba(25, 170, 75, 0.72);
}

.home-hero-slider {
    min-height: 440px;
    background: #230c2a;
}

.home-slide {
    background-image:
        linear-gradient(90deg, rgba(35, 12, 42, 0.92) 0%, rgba(71, 28, 84, 0.78) 48%, rgba(25, 170, 75, 0.28) 100%),
        radial-gradient(circle at 82% 16%, rgba(25, 170, 75, 0.5), transparent 24%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        var(--slide-image);
    background-blend-mode: normal, soft-light, soft-light, normal;
    background-position: center;
    background-size: auto, auto, 28px 28px, cover;
}

.home-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(35, 12, 42, 0.06), rgba(35, 12, 42, 0.48)),
        radial-gradient(circle at 18% 78%, rgba(207, 43, 39, 0.24), transparent 23%);
}

.home-slide-inner,
.home-slide-copy {
    position: relative;
    z-index: 1;
}

.home-slide-copy {
    max-width: min(840px, 78vw);
}

.home-slide .eyebrow {
    color: #ffffff;
    background: rgba(25, 170, 75, 0.22);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 10px 26px rgba(35, 12, 42, 0.12);
}

.home-slide h1 {
    max-width: 820px;
    color: #ffffff;
    text-shadow: 0 14px 36px rgba(35, 12, 42, 0.34);
}

.home-slide .hero-copy {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 8px 22px rgba(35, 12, 42, 0.32);
}

.home-slider-arrow {
    color: #ffffff;
    background: rgba(35, 12, 42, 0.58);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 34px rgba(35, 12, 42, 0.2);
}

.home-slider-arrow:hover {
    background: var(--green);
}

.home-slider-dots button {
    background: rgba(255, 255, 255, 0.52);
}

.home-slider-dots button[aria-selected='true'] {
    background: var(--green);
}

.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero {
    --title-image: url('../img/hero-studio.avif');
    position: relative;
    isolation: isolate;
    min-height: clamp(40px, 4vw, 50px);
    padding: 10px clamp(18px, 7vw, 92px);
    overflow: hidden;
    color: #ffffff;
    background-color: #230c2a;
    background-image:
        linear-gradient(90deg, rgba(35, 12, 42, 0.94) 0%, rgba(71, 28, 84, 0.82) 55%, rgba(25, 170, 75, 0.28) 100%),
        radial-gradient(circle at 88% 15%, rgba(25, 170, 75, 0.44), transparent 25%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        var(--title-image);
    background-position: center;
    background-size: auto, auto, 24px 24px, cover;
    background-blend-mode: normal, soft-light, soft-light, normal;
}

.page-hero > *,
.shop-hero > *,
.blog-hero > *,
.blog-post-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero::after,
.shop-hero::after,
.blog-hero::after,
.blog-post-hero::after {
    content: '';
    position: absolute;
    inset: auto clamp(18px, 7vw, 92px) 18px auto;
    z-index: 0;
    width: min(210px, 28vw);
    height: 62px;
    opacity: 0.34;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(25, 170, 75, 0.42), rgba(207, 43, 39, 0.24));
    transform: skewX(-12deg);
}

.shop-hero::before {
    opacity: 0;
}

.shop-hero {
    --title-image: url('../img/home-products.avif');
    align-items: center;
}

.product-hero {
    background-position: center;
}

.web-hero {
    --title-image: url('../img/products/web-business-website-package.avif');
}

.social-hero {
    --title-image: url('../img/products/social-growth-ads-package.avif');
}

.seo-hero {
    --title-image: url('../img/products/seo-growth-package.avif');
}

.ads-hero {
    --title-image: url('../img/products/paid-ads-launch-package.avif');
}

.print-brand-hero {
    --title-image: url('../img/print-production-lab.avif');
}

.page-hero h1,
.shop-hero h1,
.blog-hero h1,
.blog-post-hero h1 {
    max-width: 820px;
    color: #ffffff;
    font-size: clamp(1.72rem, 3.15vw, 2.72rem);
    line-height: 1.05;
    text-shadow: 0 14px 32px rgba(35, 12, 42, 0.32);
}

.page-hero p,
.page-hero p:not(.eyebrow),
.shop-hero p,
.package-hero p:not(.eyebrow),
.blog-hero p:not(.eyebrow),
.blog-post-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 8px 22px rgba(35, 12, 42, 0.3);
}

.page-hero .eyebrow,
.shop-hero .eyebrow,
.cms-page-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow {
    width: max-content;
    max-width: 100%;
    color: #ffffff;
    background: rgba(25, 170, 75, 0.24);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 24px rgba(35, 12, 42, 0.14);
}

.shop-hero-points span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.home-shop-finder {
    width: min(900px, calc(100% - 36px));
    margin: -32px auto 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-shop-finder::before,
.shop-search-band::before {
    display: none;
}

.home-shop-finder form {
    gap: 0;
}

.shop-search-band {
    padding: 18px clamp(18px, 7vw, 92px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 247, 0.98));
    border-bottom: 1px solid rgba(71, 28, 84, 0.1);
    box-shadow: 0 10px 28px rgba(35, 12, 42, 0.05);
}

.finder-control,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.12);
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(35, 12, 42, 0.12);
}

.finder-control input,
.ai-live-control input,
.shop-search-band input,
.blog-search-form input {
    min-height: 56px;
    padding: 0 22px 0 54px;
    color: #24142b;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
}

.finder-control input:focus,
.ai-live-control input:focus,
.shop-search-band input:focus,
.blog-search-form input:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.finder-control:focus-within,
.home-shop-finder .ai-live-control:focus-within,
.shop-search-band .ai-live-control:focus-within {
    border-color: rgba(25, 170, 75, 0.48);
    box-shadow: 0 18px 44px rgba(25, 170, 75, 0.14), 0 0 0 4px rgba(25, 170, 75, 0.1);
}

.ai-search-mark {
    left: 18px;
    right: auto;
    width: 24px;
    height: 24px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #756b7c;
    font-size: 0.94rem;
    background: transparent;
    border-radius: 999px;
    box-shadow: none;
}

.ai-live-results {
    top: calc(100% + 10px);
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.12);
    border-radius: 18px;
    box-shadow: 0 26px 64px rgba(35, 12, 42, 0.18);
}

.ai-live-group > span {
    color: #65516f;
    letter-spacing: 0;
}

.ai-live-suggestion,
.ai-live-view {
    color: #471c54;
    background: #f7f2f8;
    border-color: rgba(71, 28, 84, 0.1);
    border-radius: 999px;
}

.ai-live-product {
    border-color: rgba(71, 28, 84, 0.1);
    border-radius: 12px;
}

.ai-live-product img {
    object-fit: cover;
    background: #f7f2f8;
}

.quick-strip.compact-strip {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(71, 28, 84, 0.08);
    box-shadow: none;
}

.quick-strip.compact-strip a {
    color: #471c54;
    border-color: rgba(71, 28, 84, 0.08);
}

.quick-strip.compact-strip a:hover {
    color: #ffffff;
    background: var(--purple);
}

.section,
.home-category-section,
.home-portfolio-section,
.client-logo-section,
.home-product-rows,
.product-band.home-featured-products {
    background-image:
        radial-gradient(circle at 4% 0%, rgba(25, 170, 75, 0.05), transparent 25%),
        radial-gradient(circle at 96% 10%, rgba(71, 28, 84, 0.045), transparent 24%);
}

.home-category-card::after,
.visual-main::after,
.visual-tile::after {
    background:
        linear-gradient(180deg, rgba(35, 12, 42, 0.12), rgba(35, 12, 42, 0.76)),
        linear-gradient(135deg, rgba(25, 170, 75, 0.22), rgba(207, 43, 39, 0.16));
}

.home-category-card img,
.home-project-media img,
.project-card img,
.product-thumb img,
.product-gallery-stage img,
.media-spotlight-image img,
.print-production-card img,
.mega-menu-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card {
    min-height: 354px;
    padding: 12px;
    background: #ffffff;
    border-color: rgba(71, 28, 84, 0.11);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(35, 12, 42, 0.065);
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(25, 170, 75, 0.28);
    box-shadow: 0 18px 40px rgba(35, 12, 42, 0.1);
}

.product-thumb {
    aspect-ratio: 4 / 3;
    margin-bottom: 11px;
    background: #f7f2f8;
    border: 1px solid rgba(71, 28, 84, 0.08);
    border-radius: 8px;
}

.product-card span {
    width: max-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 4px 8px;
    color: #471c54;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: none;
    background: rgba(71, 28, 84, 0.07);
    border-radius: 999px;
}

.product-card h3 {
    color: #230c2a;
    font-size: 1rem;
    line-height: 1.16;
}

.product-card p {
    color: #675f6f;
}

.product-card strong {
    color: #471c54;
}

.product-tag {
    color: #5a4464;
    background: rgba(71, 28, 84, 0.055);
    border-color: rgba(71, 28, 84, 0.1);
}

.product-tag:nth-child(3n + 2),
.product-tag:nth-child(3n + 3) {
    color: #5a4464;
    background: rgba(71, 28, 84, 0.055);
    border-color: rgba(71, 28, 84, 0.1);
}

.product-tag:hover {
    color: #ffffff;
    background: #471c54;
    border-color: #471c54;
}

.mini-btn,
.mini-btn.subtle,
.product-card .card-actions .mini-btn,
.product-card .card-actions .mini-btn.subtle,
.product-card .card-actions .inline-cart-form .mini-btn {
    color: #471c54;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.14);
    box-shadow: none;
}

.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary {
    color: #ffffff;
    background: #cf2b27;
    border-color: rgba(207, 43, 39, 0.74);
    box-shadow: 0 10px 22px rgba(207, 43, 39, 0.14);
}

.product-card .card-actions .mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn.subtle[href*='wa.me'] {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.72);
}

.quote-form,
.product-buy-panel,
.contact-grid article,
.login-form,
.ai-float-panel,
.whatsapp-chat-card {
    padding: clamp(18px, 2.6vw, 28px);
    background: #ffffff;
    border-color: rgba(71, 28, 84, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(35, 12, 42, 0.08);
}

input,
select,
textarea,
.quote-form input,
.quote-form select,
.quote-form textarea,
.whatsapp-chat-form textarea,
.ai-assistant-form textarea {
    min-height: 50px;
    padding: 13px 15px;
    color: #24142b;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.13);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(35, 12, 42, 0.025);
}

textarea,
.whatsapp-chat-form textarea,
.ai-assistant-form textarea {
    min-height: 104px;
    line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.whatsapp-chat-form textarea:focus,
.ai-assistant-form textarea:focus {
    border-color: rgba(25, 170, 75, 0.52);
    box-shadow: 0 0 0 4px rgba(25, 170, 75, 0.12);
    outline: 0;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background-color: #230c2a;
    background-image:
        radial-gradient(circle at 8% 8%, rgba(25, 170, 75, 0.18), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(207, 43, 39, 0.16), transparent 22%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
}

.site-footer h2,
.footer-brand strong {
    color: #ffffff;
}

.site-footer a,
.site-footer span {
    color: rgba(255, 255, 255, 0.82);
}

.footer-contact-icon {
    background: rgba(25, 170, 75, 0.24);
    border-color: rgba(25, 170, 75, 0.38);
}

.footer-contact-icon.whatsapp-icon {
    background: rgba(25, 170, 75, 0.36);
}

.site-footer .footer-socials a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.site-footer .footer-socials a:hover {
    color: #230c2a;
    background: #ffffff;
}

.color-theme-palette {
    width: 40px;
    padding: 8px 5px;
    background: rgba(35, 12, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 42px rgba(35, 12, 42, 0.24);
}

.theme-swatch {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #19aa4b 0 33%, #471c54 33% 66%, #cf2b27 66% 100%);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #471c54, #230c2a);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #cf2b27, #471c54);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #19aa4b, #471c54);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #cf2b27, #19aa4b);
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.24), 0 8px 18px rgba(35, 12, 42, 0.2);
}

@media (max-width: 900px) {
    .home-slide-copy {
        max-width: min(760px, 86vw);
    }

    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        min-height: 150px;
        padding-block: 18px;
    }
}

@media (max-width: 620px) {
    .home-hero-slider,
    .home-slide-inner {
        min-height: 430px;
    }

    .home-slide h1 {
        font-size: clamp(2rem, 11vw, 2.72rem);
    }

    .home-shop-finder {
        width: min(100% - 24px, 900px);
        margin-top: -26px;
    }

    .finder-control input,
    .ai-live-control input,
    .shop-search-band input,
    .blog-search-form input {
        min-height: 52px;
        font-size: 0.95rem;
    }

    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        min-height: 135px;
        padding-block: 18px;
    }

    .page-hero h1,
    .shop-hero h1,
    .blog-hero h1,
    .blog-post-hero h1 {
        font-size: clamp(1.72rem, 9vw, 2.25rem);
    }

    .shop-hero {
        grid-template-columns: 1fr;
    }

    .shop-hero-points {
        justify-content: flex-start;
    }

    .color-theme-palette {
        width: 34px;
        left: 6px;
    }
}

/* Final spacing and readability pass */
.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero {
    min-height: 0;
    padding-block: 14px;
}

.page-hero .eyebrow,
.shop-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow {
    margin: 0 0 8px;
    padding: 5px 8px;
    font-size: 0.78rem;
}

.page-hero h1,
.shop-hero h1,
.blog-hero h1,
.blog-post-hero h1 {
    font-size: clamp(1.54rem, 2.5vw, 2.18rem);
}

.page-hero p:not(.eyebrow),
.shop-hero p,
.blog-hero p:not(.eyebrow),
.blog-post-hero p {
    margin: 9px 0 0;
    font-size: 0.96rem;
    line-height: 1.38;
}

.page-hero .hero-actions,
.shop-hero .hero-actions {
    margin-top: 12px;
}

.page-hero .btn,
.shop-hero .btn {
    min-height: 36px;
    padding: 8px 13px;
}

.quick-strip.compact-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px clamp(18px, 5vw, 72px);
    flex-wrap: wrap;
}

.quick-strip.compact-strip a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid rgba(71, 28, 84, 0.1);
    border-radius: 999px;
}

.quick-strip.compact-strip a + a {
    border-left: 1px solid rgba(71, 28, 84, 0.1);
}

.digital-side-panel,
.benchmark-note {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(71, 28, 84, 0.96), rgba(35, 12, 42, 0.98)),
        radial-gradient(circle at 88% 12%, rgba(25, 170, 75, 0.28), transparent 26%);
    border-color: rgba(255, 255, 255, 0.12);
}

.digital-side-panel strong,
.benchmark-note strong {
    color: #ffffff;
}

.digital-side-panel li,
.benchmark-note p {
    color: rgba(255, 255, 255, 0.84);
}

.digital-side-panel li::before {
    background: #19aa4b;
    box-shadow: 0 0 0 4px rgba(25, 170, 75, 0.14);
}

@media (max-width: 620px) {
    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        padding-inline: 20px;
    }

    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        padding-block: 18px;
    }

    .page-hero h1,
    .shop-hero h1,
    .blog-hero h1,
    .blog-post-hero h1 {
        width: min(320px, calc(100vw - 48px));
        max-width: min(320px, calc(100vw - 48px));
        font-size: clamp(1.14rem, 5.6vw, 1.32rem);
        line-height: 1.04;
    }

    .page-hero p:not(.eyebrow),
    .shop-hero p,
    .blog-hero p:not(.eyebrow),
    .blog-post-hero p {
        width: min(320px, calc(100vw - 48px));
        max-width: min(320px, calc(100vw - 48px));
        display: -webkit-box;
        margin-top: 8px;
        overflow: hidden;
        font-size: 0.86rem;
        line-height: 1.32;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .page-hero .hero-actions,
    .shop-hero .hero-actions {
        gap: 8px;
        flex-wrap: nowrap;
        margin-top: 10px;
    }

    .page-hero .btn,
    .shop-hero .btn {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .quick-strip.compact-strip {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .color-theme-palette {
        display: none;
    }
}

/* Green-first refinement: calmer, lighter, less purple-heavy */
:root {
    --theme-a: #176b37;
    --theme-b: #19aa4b;
    --theme-c: #cf2b27;
    --theme-d: #471c54;
    --theme-soft: #f1fbf4;
    --theme-soft-2: #ffffff;
    --theme-line: rgba(25, 170, 75, 0.18);
    --theme-glow: rgba(25, 170, 75, 0.14);
    --theme-shadow: 0 16px 38px rgba(20, 56, 34, 0.09);
}

body {
    color: #18241d;
    background-color: #f7faf7;
    background-image:
        radial-gradient(circle at 4% 4%, rgba(25, 170, 75, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 247, 0.96));
}

.topbar {
    background:
        linear-gradient(90deg, #13843a 0%, #19aa4b 48%, #176b37 100%);
}

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(25, 170, 75, 0.12);
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown .nav-dropdown-toggle:hover {
    color: #ffffff;
    background: #19aa4b;
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.16);
}

.brand small,
.site-nav a,
.nav-dropdown-toggle {
    color: #55615a;
}

.brand strong,
.section-heading h2,
.decorated-heading h2,
.digital-lead h2,
.digital-section-heading h2,
.home-hero-copy h1,
.media-spotlight-copy h2,
.product-card h3,
.product-card h3 a,
.service-nav-strip strong,
.digital-package-card h3,
.digital-mini-card h3,
.project-card h3,
.faq-card h3,
.shop-sidebar h2,
.product-buy-panel h2 {
    color: #173526;
}

.eyebrow,
.home-category-card strong,
.product-card span,
.home-project-copy span,
.package-meta span {
    color: #176b37;
}

.header-call,
.btn-primary,
.mega-menu-actions a,
.inline-cart-form button[value='add'] {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.72);
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.15);
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary {
    color: #176b37;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(25, 170, 75, 0.28);
    box-shadow: 0 10px 22px rgba(20, 56, 34, 0.1);
}

.page-hero .btn-secondary:hover,
.shop-hero .btn-secondary:hover,
.btn-secondary:hover {
    color: #ffffff;
    background: #176b37;
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.whatsapp-chat-link,
.whatsapp-chat-toggle {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.72);
}

.home-slide {
    background-color: #102a1b;
    background-image:
        linear-gradient(90deg, rgba(12, 38, 22, 0.93) 0%, rgba(18, 76, 38, 0.76) 47%, rgba(25, 170, 75, 0.28) 100%),
        radial-gradient(circle at 82% 16%, rgba(25, 170, 75, 0.42), transparent 26%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 20px),
        var(--slide-image);
}

.home-slide::after {
    background:
        linear-gradient(180deg, rgba(12, 38, 22, 0.02), rgba(12, 38, 22, 0.38)),
        radial-gradient(circle at 15% 82%, rgba(207, 43, 39, 0.13), transparent 24%);
}

.home-slide .eyebrow,
.page-hero .eyebrow,
.shop-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow {
    color: #ffffff;
    background: rgba(25, 170, 75, 0.24);
    border-color: rgba(255, 255, 255, 0.22);
}

.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero {
    background-color: #102a1b;
    background-image:
        linear-gradient(90deg, rgba(12, 38, 22, 0.94) 0%, rgba(20, 91, 45, 0.78) 54%, rgba(25, 170, 75, 0.22) 100%),
        radial-gradient(circle at 88% 15%, rgba(25, 170, 75, 0.36), transparent 25%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px),
        var(--title-image);
}

.page-hero::after,
.shop-hero::after,
.blog-hero::after,
.blog-post-hero::after {
    opacity: 0.22;
    background: linear-gradient(135deg, rgba(25, 170, 75, 0.44), rgba(255, 255, 255, 0.08));
}

.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control,
.finder-control {
    border-color: rgba(25, 170, 75, 0.18);
    box-shadow: 0 14px 34px rgba(20, 56, 34, 0.1);
}

.finder-control:focus-within,
.home-shop-finder .ai-live-control:focus-within,
.shop-search-band .ai-live-control:focus-within {
    border-color: rgba(25, 170, 75, 0.56);
    box-shadow: 0 18px 40px rgba(25, 170, 75, 0.14), 0 0 0 4px rgba(25, 170, 75, 0.1);
}

.quick-strip.compact-strip,
.shop-search-band,
.home-product-rows,
.product-band.home-featured-products {
    background: rgba(255, 255, 255, 0.96);
}

.quick-strip.compact-strip a,
.shop-tag,
.product-tag,
.ai-live-suggestion,
.ai-live-view {
    color: #176b37;
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.16);
}

.quick-strip.compact-strip a:hover,
.shop-tag:hover,
.shop-tag.is-active,
.ai-live-suggestion:hover,
.ai-live-view:hover {
    color: #ffffff;
    background: #19aa4b;
    border-color: #19aa4b;
}

.service-nav-strip a,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.service-card,
.product-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.13);
    box-shadow: 0 12px 28px rgba(20, 56, 34, 0.065);
}

.service-nav-strip a:hover,
.digital-package-card:hover,
.digital-mini-card:hover,
.project-card:hover,
.faq-card:hover,
.product-card:hover,
.service-card:hover {
    border-color: rgba(25, 170, 75, 0.28);
    box-shadow: 0 18px 38px rgba(20, 56, 34, 0.1);
}

.digital-package-card.featured {
    border-color: rgba(25, 170, 75, 0.34);
    box-shadow: 0 16px 36px rgba(25, 170, 75, 0.11);
}

.digital-side-panel,
.benchmark-note {
    color: #173526;
    background:
        linear-gradient(135deg, #ffffff, #f0fbf3),
        radial-gradient(circle at 88% 12%, rgba(25, 170, 75, 0.16), transparent 28%);
    border-color: rgba(25, 170, 75, 0.16);
    box-shadow: 0 14px 34px rgba(20, 56, 34, 0.08);
}

.digital-side-panel strong,
.benchmark-note strong {
    color: #173526;
}

.digital-side-panel li,
.benchmark-note p {
    color: #4f6257;
}

.digital-side-panel li::before,
.digital-list li::before {
    background: #19aa4b;
    box-shadow: 0 0 0 4px rgba(25, 170, 75, 0.1);
}

.product-card span,
.package-meta span,
.ai-match-reason {
    color: #176b37;
    background: rgba(25, 170, 75, 0.08);
}

.product-card strong,
.package-price,
.price-line,
.cart-summary strong {
    color: #176b37;
}

.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary {
    color: #ffffff;
    background: #cf2b27;
    border-color: rgba(207, 43, 39, 0.72);
}

.shop-sidebar {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.14);
    box-shadow: 0 14px 34px rgba(20, 56, 34, 0.07);
}

.shop-sidebar a {
    color: #334139;
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'] {
    color: #ffffff;
    background: #19aa4b;
}

.mega-menu-panel {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.16);
}

.mega-menu-lead {
    background: #102a1b url('../img/home-printing.avif') center/cover;
    background-blend-mode: multiply;
}

.mega-menu-group a {
    border-color: rgba(25, 170, 75, 0.13);
}

.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before {
    background: #19aa4b;
}

.mega-menu-group a::after {
    background: rgba(25, 170, 75, 0.08);
}

.mega-menu-actions {
    background: #f0fbf3;
    border-color: rgba(25, 170, 75, 0.16);
}

.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.mega-menu-actions a[href*='wa.me'] {
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.72);
}

.color-theme-palette {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(25, 170, 75, 0.22);
}

.theme-swatch {
    border-color: rgba(25, 170, 75, 0.2);
}

/* Orange blend refinement: elegant actions, plain hero labels, balanced overlays */
:root {
    --orange: #f05223;
    --theme-a: #173526;
    --theme-b: #f05223;
    --theme-c: #19aa4b;
    --theme-d: #471c54;
    --theme-soft: #fff6f1;
    --theme-soft-2: #f1fbf4;
    --theme-line: rgba(240, 82, 35, 0.18);
    --theme-glow: rgba(240, 82, 35, 0.16);
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.mobile-category-rail a[aria-current='page'] {
    color: #ffffff;
    background: #f05223;
    border-color: rgba(240, 82, 35, 0.78);
    box-shadow: 0 12px 24px rgba(240, 82, 35, 0.18);
}

.header-call:hover,
.btn-primary:hover,
.page-hero .btn-primary:hover,
.shop-hero .btn-primary:hover,
.home-slide .btn-primary:hover {
    color: #ffffff;
    background: #cf2b27;
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary,
.home-slide .btn-secondary {
    color: #176b37;
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.28);
    box-shadow: 0 10px 22px rgba(20, 56, 34, 0.1);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.whatsapp-chat-link,
.whatsapp-chat-toggle,
.mega-menu-actions a[href*='wa.me'] {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.78);
    box-shadow: 0 12px 24px rgba(25, 170, 75, 0.16);
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown .nav-dropdown-toggle:hover {
    color: #ffffff;
    background: #19aa4b;
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.16);
}

.home-slide {
    background-color: #2b1d17;
    background-image:
        linear-gradient(90deg, rgba(33, 23, 17, 0.94) 0%, rgba(72, 36, 21, 0.8) 48%, rgba(240, 82, 35, 0.34) 100%),
        radial-gradient(circle at 78% 16%, rgba(240, 82, 35, 0.44), transparent 27%),
        radial-gradient(circle at 18% 82%, rgba(25, 170, 75, 0.18), transparent 22%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px),
        var(--slide-image);
    background-blend-mode: normal, soft-light, soft-light, soft-light, soft-light, normal;
}

.home-slide::after {
    background:
        linear-gradient(180deg, rgba(33, 23, 17, 0.02), rgba(33, 23, 17, 0.34)),
        radial-gradient(circle at 64% 28%, rgba(240, 82, 35, 0.15), transparent 28%);
}

.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero {
    background-color: #2b1d17;
    background-image:
        linear-gradient(90deg, rgba(33, 23, 17, 0.94) 0%, rgba(72, 36, 21, 0.78) 54%, rgba(240, 82, 35, 0.28) 100%),
        radial-gradient(circle at 86% 16%, rgba(240, 82, 35, 0.38), transparent 27%),
        radial-gradient(circle at 16% 78%, rgba(25, 170, 75, 0.16), transparent 25%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px),
        var(--title-image);
    background-blend-mode: normal, soft-light, soft-light, soft-light, soft-light, normal;
}

.page-hero::after,
.shop-hero::after,
.blog-hero::after,
.blog-post-hero::after {
    opacity: 0.24;
    background: linear-gradient(135deg, rgba(240, 82, 35, 0.42), rgba(255, 255, 255, 0.08));
}

.home-slide .eyebrow,
.page-hero .eyebrow,
.shop-hero .eyebrow,
.cms-page-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow {
    margin-bottom: 9px;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 0;
    box-shadow: none;
    letter-spacing: 0;
}

.home-slide .eyebrow::before,
.page-hero .eyebrow::before,
.shop-hero .eyebrow::before,
.blog-hero .eyebrow::before,
.blog-post-hero .eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 3px;
    margin-right: 8px;
    vertical-align: middle;
    background: #f05223;
    border-radius: 999px;
}

.package-meta span,
.product-card span,
.home-project-copy span,
.project-status,
.ai-match-reason,
.portfolio-service-strip span {
    color: #ffffff;
    background: #176b37;
    border-color: rgba(23, 107, 55, 0.78);
}

.package-meta span,
.project-status:nth-child(odd) {
    background: #f05223;
    border-color: rgba(240, 82, 35, 0.78);
}

.quick-strip.compact-strip a:hover,
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover,
.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'] {
    color: #ffffff;
    background: #f05223;
    border-color: #f05223;
}

.shop-tag,
.shop-tag:nth-of-type(4n + 1),
.shop-tag:nth-of-type(4n + 3),
.product-tag,
.product-tag:nth-child(3n + 2),
.product-tag:nth-child(3n + 3),
.ai-live-suggestion,
.ai-live-view,
.quick-strip.compact-strip a {
    color: #176b37;
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.18);
}

.service-icon,
.category-grid span,
.client-logo-mark,
.footer-contact-icon {
    color: #ffffff;
    background: #f05223;
}

.digital-side-panel,
.benchmark-note {
    color: #ffffff;
    background:
        linear-gradient(135deg, #f05223, #cf2b27),
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.2), transparent 28%);
    border-color: rgba(240, 82, 35, 0.34);
    box-shadow: 0 18px 40px rgba(240, 82, 35, 0.13);
}

.digital-side-panel strong,
.benchmark-note strong,
.digital-side-panel li,
.benchmark-note p {
    color: #ffffff;
}

.digital-side-panel li::before {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.mega-menu-panel {
    background: #ffffff;
    border-color: rgba(240, 82, 35, 0.18);
}

.mega-menu-lead {
    background-color: #2b1d17;
    background-image:
        linear-gradient(135deg, rgba(43, 29, 23, 0.94), rgba(240, 82, 35, 0.42)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        url('../img/home-printing.avif');
    background-blend-mode: normal, soft-light, normal;
}

.mega-menu-group h3::before {
    margin-right: 28px;
}

.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before {
    background: #f05223;
}

.mega-menu-group a:hover {
    background: #fff6f1;
    border-color: rgba(240, 82, 35, 0.26);
}

.mega-menu-actions {
    background: #fff6f1;
    border-color: rgba(240, 82, 35, 0.18);
}

.color-theme-palette {
    border-color: rgba(240, 82, 35, 0.22);
}

/* Final Ibiz upload polish: green-led, clean search, solid backgrounds */
:root {
    --purple: #471c54;
    --purple-dark: #2f1737;
    --orange: #f05223;
    --green: #19aa4b;
    --red: #cf2b27;
    --ink: #202020;
    --muted: #5f6b64;
    --line: rgba(25, 170, 75, 0.14);
    --warm: #f7faf7;
}

body {
    color: #18241d;
    background: #f7faf7;
}

.topbar {
    color: #ffffff;
    background: #19aa4b;
    box-shadow: none;
}

.topbar a,
.topbar span {
    color: #ffffff;
}

.topbar-contact i {
    color: #ffffff;
    text-shadow: none;
}

.topbar-socials a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.26);
}

.topbar-socials a:hover {
    color: #19aa4b;
    background: #ffffff;
}

.site-header {
    background: #ffffff;
    border-bottom: 0;
    box-shadow: 0 8px 24px rgba(20, 56, 34, 0.08);
}

.brand-mark {
    background: #19aa4b;
    box-shadow: none;
}

.brand-text strong,
.site-nav a,
.nav-dropdown-toggle {
    color: #173526;
}

.brand-text small,
.mega-menu-lead small,
.mega-menu-group small {
    color: #5f6b64;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle {
    color: #ffffff;
    background: #19aa4b;
    box-shadow: none;
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.inline-cart-form button[value='add'],
.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.mobile-category-rail a[aria-current='page'] {
    color: #ffffff;
    background: linear-gradient(135deg, #f05223 0%, #cf2b27 58%, #471c54 100%);
    border-color: rgba(207, 43, 39, 0.7);
    box-shadow: 0 12px 24px rgba(240, 82, 35, 0.18);
}

.header-call:hover,
.btn-primary:hover,
.page-hero .btn-primary:hover,
.shop-hero .btn-primary:hover,
.home-slide .btn-primary:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #cf2b27 0%, #f05223 58%, #471c54 100%);
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary,
.home-slide .btn-secondary {
    color: #176b37;
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.26);
    box-shadow: 0 10px 22px rgba(20, 56, 34, 0.08);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.whatsapp-chat-link,
.mega-menu-actions a[href*='wa.me'] {
    color: #ffffff;
    background: #19aa4b;
    border-color: #19aa4b;
    box-shadow: 0 12px 24px rgba(25, 170, 75, 0.16);
}

.home-slide {
    background-color: #145f34;
    background-image: var(--slide-image);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
}

.home-slide::after {
    background: rgba(0, 0, 0, 0.18);
}

.home-slide .eyebrow,
.page-hero .eyebrow,
.shop-hero .eyebrow,
.cms-page-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow {
    color: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-slide .eyebrow::before,
.page-hero .eyebrow::before,
.shop-hero .eyebrow::before,
.blog-hero .eyebrow::before,
.blog-post-hero .eyebrow::before {
    background: #f05223;
}

.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero {
    min-height: 300px;
    padding: 54px clamp(18px, 7vw, 92px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    background-color: #145f34;
    background-image: var(--title-image);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
}

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

.page-hero h1,
.shop-hero h1,
.blog-hero h1,
.blog-post-hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.05;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.page-hero p,
.page-hero p:not(.eyebrow),
.shop-hero p,
.package-hero p:not(.eyebrow),
.blog-hero p:not(.eyebrow),
.blog-post-hero p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.shop-hero-points span {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
}

.home-shop-finder {
    width: min(760px, calc(100% - 32px));
    margin: -30px auto 24px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.shop-search-band {
    padding: 18px clamp(18px, 7vw, 92px);
    background: #ffffff;
    border-bottom: 0;
    box-shadow: 0 8px 22px rgba(20, 56, 34, 0.05);
}

.finder-control,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control,
.blog-search-form {
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(20, 56, 34, 0.14);
}

.finder-control input,
.ai-live-control input,
.shop-search-band input,
.blog-search-form input {
    min-height: 54px;
    padding: 0 22px 0 56px;
    color: #18241d;
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
}

.finder-control input::placeholder,
.ai-live-control input::placeholder,
.shop-search-band input::placeholder,
.blog-search-form input::placeholder {
    color: #7b887f;
    font-weight: 500;
}

.finder-control:focus-within,
.home-shop-finder .ai-live-control:focus-within,
.shop-search-band .ai-live-control:focus-within,
.blog-search-form:focus-within {
    border: 0;
    box-shadow: 0 14px 34px rgba(25, 170, 75, 0.16), 0 0 0 3px rgba(25, 170, 75, 0.1);
}

.ai-search-mark {
    color: #19aa4b;
}

.ai-live-results {
    border-color: rgba(25, 170, 75, 0.14);
    box-shadow: 0 16px 42px rgba(20, 56, 34, 0.14);
}

.quick-strip.compact-strip {
    display: none;
}

.section,
.home-category-section,
.home-portfolio-section,
.client-logo-section,
.home-product-rows,
.product-band.home-featured-products {
    background-image: none;
}

.service-nav-strip a,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.service-card,
.product-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card,
.media-price-card,
.home-project-card {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.12);
    box-shadow: 0 12px 28px rgba(20, 56, 34, 0.06);
}

.service-nav-strip a:hover,
.digital-package-card:hover,
.digital-mini-card:hover,
.project-card:hover,
.faq-card:hover,
.product-card:hover,
.service-card:hover {
    border-color: rgba(25, 170, 75, 0.28);
    box-shadow: 0 18px 38px rgba(20, 56, 34, 0.1);
}

.section-heading h2,
.decorated-heading h2,
.digital-lead h2,
.digital-section-heading h2,
.media-spotlight-copy h2,
.product-card h3,
.product-card h3 a,
.service-nav-strip strong,
.digital-package-card h3,
.digital-mini-card h3,
.project-card h3,
.faq-card h3,
.shop-sidebar h2,
.product-buy-panel h2 {
    color: #173526;
}

.decorated-heading::after {
    background: #19aa4b;
}

.eyebrow,
.product-card span,
.home-project-copy span,
.package-meta span,
.ai-match-reason {
    color: #176b37;
}

.home-category-card::after {
    background: rgba(8, 22, 14, 0.58);
}

.home-category-card span,
.home-category-card p,
.home-category-card strong {
    color: #ffffff;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.home-category-card strong {
    color: #f7d7cb;
}

.product-card strong,
.package-price,
.price-line,
.cart-summary strong {
    color: #176b37;
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover {
    color: #ffffff;
    background: #19aa4b;
    border-color: #19aa4b;
}

.service-icon,
.category-grid span,
.client-logo-mark,
.footer-contact-icon {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.32);
}

.mega-menu-panel {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.16);
    box-shadow: 0 24px 56px rgba(20, 56, 34, 0.13);
}

.mega-menu-lead {
    color: #ffffff;
    background-color: #145f34;
    background-image: url('../img/home-printing.avif');
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
}

.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span {
    color: #ffffff;
}

.mega-menu-group h3 {
    color: #173526;
}

.mega-menu-group a {
    border-color: rgba(25, 170, 75, 0.12);
}

.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before {
    background: #19aa4b;
}

.mega-menu-group a:hover {
    background: #f1fbf4;
    border-color: rgba(25, 170, 75, 0.28);
}

.mega-menu-actions {
    background: #f1fbf4;
    border-color: rgba(25, 170, 75, 0.14);
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: #232323;
    background-image: none;
}

.site-footer h2,
.footer-brand strong {
    color: #ffffff;
}

.site-footer a,
.site-footer span {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.68);
}

.footer-contact-icon {
    background: #19aa4b;
}

.footer-contact-icon.whatsapp-icon {
    background: #19aa4b;
}

.site-footer .footer-socials a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-footer .footer-socials a:hover {
    color: #ffffff;
    background: #f05223;
}

.whatsapp-chat-widget {
    right: 18px;
    bottom: 92px;
}

.whatsapp-chat-card {
    border-color: rgba(25, 170, 75, 0.18);
}

.whatsapp-chat-toggle {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    color: #ffffff;
    font-size: 1.75rem;
    background: #19aa4b;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(25, 170, 75, 0.28);
}

.whatsapp-chat-toggle i {
    font-size: 1.75rem;
}

.whatsapp-chat-toggle strong,
.whatsapp-chat-toggle span {
    display: none;
}

.ai-float-toggle {
    background: linear-gradient(135deg, #f05223 0%, #cf2b27 62%, #471c54 100%);
    box-shadow: 0 16px 34px rgba(240, 82, 35, 0.24);
}

.color-theme-palette {
    background: #ffffff;
    border-color: rgba(25, 170, 75, 0.16);
    box-shadow: 0 12px 28px rgba(20, 56, 34, 0.1);
}

/* Final palette and contrast tuning */
:root {
    --deep-green: #176b37;
    --fresh-green: #19aa4b;
    --calm-green: #f1fbf4;
    --warm-orange: #e65d32;
    --soft-red: #bf3a35;
    --soft-purple: #3d2545;
    --soft-ink: #18241d;
}

body[data-color-theme='ibiz'],
body[data-color-theme='purple'] {
    --theme-a: #176b37;
    --theme-b: #e65d32;
    --theme-c: #bf3a35;
    --theme-d: #3d2545;
    --theme-soft: #f1fbf4;
    --theme-soft-2: #fff7f2;
    --theme-line: rgba(25, 170, 75, 0.16);
    --theme-glow: rgba(25, 170, 75, 0.12);
    --theme-shadow: 0 16px 36px rgba(20, 56, 34, 0.09);
}

body[data-color-theme='green'] {
    --theme-a: #176b37;
    --theme-b: #19aa4b;
    --theme-c: #e65d32;
    --theme-d: #3d2545;
    --theme-soft: #f1fbf4;
    --theme-soft-2: #ffffff;
    --theme-line: rgba(25, 170, 75, 0.18);
    --theme-glow: rgba(25, 170, 75, 0.14);
}

body[data-color-theme='red'] {
    --theme-a: #8f2f2f;
    --theme-b: #bf3a35;
    --theme-c: #e65d32;
    --theme-d: #3d2545;
    --theme-soft: #fff3f1;
    --theme-soft-2: #f1fbf4;
    --theme-line: rgba(191, 58, 53, 0.16);
    --theme-glow: rgba(191, 58, 53, 0.12);
}

body[data-color-theme='orange'] {
    --theme-a: #9f4427;
    --theme-b: #e65d32;
    --theme-c: #176b37;
    --theme-d: #3d2545;
    --theme-soft: #fff7f2;
    --theme-soft-2: #f1fbf4;
    --theme-line: rgba(230, 93, 50, 0.16);
    --theme-glow: rgba(230, 93, 50, 0.12);
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.inline-cart-form button[value='add'],
.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.mobile-category-rail a[aria-current='page'] {
    color: #ffffff;
    background: linear-gradient(135deg, #e65d32 0%, #bf3a35 58%, #3d2545 100%);
    border-color: rgba(191, 58, 53, 0.72);
    box-shadow: 0 12px 24px rgba(230, 93, 50, 0.16);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.whatsapp-chat-link,
.whatsapp-chat-toggle,
.mega-menu-actions a[href*='wa.me'],
.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover,
.service-icon,
.category-grid span,
.client-logo-mark,
.footer-contact-icon,
.package-meta span,
.project-status,
.portfolio-service-strip span {
    color: #ffffff;
}

.home-slide,
.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.page-hero,
.page-hero h1,
.page-hero p,
.page-hero p:not(.eyebrow),
.page-hero .eyebrow,
.shop-hero,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.shop-hero-points span,
.blog-hero,
.blog-hero h1,
.blog-hero p:not(.eyebrow),
.blog-hero .eyebrow,
.blog-post-hero,
.blog-post-hero h1,
.blog-post-hero p,
.blog-post-hero .eyebrow,
.mega-menu-lead,
.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span,
.digital-side-panel,
.digital-side-panel strong,
.digital-side-panel li,
.benchmark-note,
.benchmark-note strong,
.benchmark-note p,
.cta-band,
.cta-band h2,
.cta-band p,
.print-production-card,
.print-production-card h2,
.print-production-card p,
.home-category-card span,
.home-category-card p,
.home-category-card strong {
    color: #ffffff;
}

.home-category-card strong {
    color: #ffe1d6;
}

.color-theme-palette {
    left: 8px;
    width: 42px;
    padding: 8px 5px;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(25, 170, 75, 0.18);
    box-shadow: 0 14px 32px rgba(20, 56, 34, 0.13);
    transition: transform 420ms ease, opacity 420ms ease, box-shadow 180ms ease;
    will-change: transform;
}

.color-theme-palette::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 10px;
    height: 48px;
    background: #19aa4b;
    border-radius: 0 999px 999px 0;
    box-shadow: 4px 0 14px rgba(25, 170, 75, 0.18);
    transform: translateY(-50%);
}

.color-theme-palette.is-tucked {
    opacity: 0.58;
    transform: translate(calc(-100% + 8px), -50%);
}

.color-theme-palette.is-tucked:hover,
.color-theme-palette.is-tucked:focus-within {
    opacity: 1;
    transform: translateY(-50%);
}

.theme-swatch {
    background: #ffffff;
    border-color: rgba(20, 56, 34, 0.14);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #19aa4b 0 36%, #e65d32 36% 66%, #3d2545 66% 100%);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #80628a, #3d2545);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #d65b50, #9f3331);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #32b763, #176b37);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #ec7d4c, #bf3a35);
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: #176b37;
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.14), 0 8px 18px rgba(20, 56, 34, 0.14);
}

@media (max-width: 920px) {
    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        min-height: 300px;
        padding-block: 42px;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        min-height: 36px;
    }

    .topbar-inner > span {
        display: none;
    }

    .home-shop-finder {
        width: min(100% - 24px, 720px);
        margin-top: -24px;
    }

    .home-slider-arrow {
        display: none;
    }

    .finder-control input,
    .ai-live-control input,
    .shop-search-band input,
    .blog-search-form input {
        min-height: 50px;
        padding-left: 50px;
        font-size: 0.94rem;
    }

    .page-hero,
    .shop-hero,
    .blog-hero,
    .blog-post-hero {
        min-height: 300px;
        padding: 38px 18px;
    }

    .page-hero h1,
    .shop-hero h1,
    .blog-hero h1,
    .blog-post-hero h1 {
        font-size: clamp(1.82rem, 9vw, 2.35rem);
    }

    .whatsapp-chat-toggle {
        width: 54px;
        height: 54px;
        min-height: 54px;
    }
}

/* Admin shell: keep the navigation rail at the top while content starts beside it. */
@media (min-width: 901px) {
    body.admin-body:has(.admin-nav) {
        --admin-rail: clamp(280px, 20vw, 314px);
        --admin-gap: clamp(16px, 2vw, 24px);
        --admin-gutter: clamp(16px, 2.2vw, 32px);
    }

    body.admin-body:has(.admin-nav) .admin-main {
        padding-left: calc(var(--admin-rail) + var(--admin-gap) + var(--admin-gutter));
    }

    body.admin-body:has(.admin-nav) .page-hero.admin-hero,
    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        width: calc(100% - var(--admin-gutter));
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: var(--admin-gutter) !important;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        display: grid !important;
        grid-template-columns: var(--admin-rail) minmax(0, 1fr);
        gap: var(--admin-gap);
        align-items: start;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) > :not(.admin-nav) {
        grid-column: 2;
        min-width: 0;
    }

    body.admin-body:has(.admin-nav) .admin-nav {
        position: sticky !important;
        top: 76px !important;
        width: var(--admin-rail) !important;
        max-height: calc(100dvh - 92px) !important;
        overflow-y: auto;
    }
}

@media (max-width: 900px) {
    body.admin-body:has(.admin-nav) .admin-main {
        padding-left: 0;
    }

    body.admin-body:has(.admin-nav) .page-hero.admin-hero,
    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        width: min(100% - 28px, var(--max));
        max-width: min(100% - 28px, var(--max)) !important;
        margin-inline: auto !important;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        display: grid !important;
    }

    body.admin-body:has(.admin-nav) .admin-nav {
        position: static !important;
        width: auto !important;
        bottom: auto !important;
        left: auto !important;
    }
}

/* Final homepage alignment precedence. */
body:not(.admin-body) .home-shop-finder,
body:not(.admin-body) .home-category-section,
body:not(.admin-body) .home-featured-products,
body:not(.admin-body) .product-row-section,
body:not(.admin-body) .home-portfolio-section {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body:not(.admin-body) .home-shop-finder {
    padding: 12px 16px !important;
}

body:not(.admin-body) .home-category-section,
body:not(.admin-body) .home-featured-products,
body:not(.admin-body) .product-row-section,
body:not(.admin-body) .home-portfolio-section {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body:not(.admin-body) .home-category-section > .section-heading,
body:not(.admin-body) .home-featured-products > .section-heading,
body:not(.admin-body) .product-row-section > .section-heading,
body:not(.admin-body) .home-portfolio-section > .section-heading {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body:not(.admin-body) .home-featured-products .product-carousel,
body:not(.admin-body) .product-row-section .product-carousel,
body:not(.admin-body) .home-category-section .home-category-grid,
body:not(.admin-body) .home-portfolio-section .home-project-grid {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@media (max-width: 680px) {
    body:not(.admin-body) .home-product-rows {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body:not(.admin-body) .home-shop-finder,
    body:not(.admin-body) .home-category-section,
    body:not(.admin-body) .home-featured-products,
    body:not(.admin-body) .product-row-section,
    body:not(.admin-body) .home-portfolio-section {
        width: calc(100vw - 20px) !important;
    }
}

/* Final sticky primary and centered secondary navigation. */
body:not(.admin-body) .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

body:not(.admin-body) .secondary-site-nav {
    position: sticky !important;
    top: 58px !important;
    z-index: 99 !important;
    min-height: 34px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #dfe8e1 !important;
    box-shadow: 0 5px 16px rgba(20, 56, 34, 0.1) !important;
}

body:not(.admin-body) .secondary-site-nav-inner {
    width: min(100% - 32px, 1400px) !important;
    min-height: 34px !important;
    justify-content: center !important;
    gap: 5px !important;
    overflow-x: auto;
}

body:not(.admin-body) .secondary-site-nav-label {
    color: #176b37 !important;
}

body:not(.admin-body) .secondary-site-nav a {
    min-height: 30px !important;
    padding: 5px 9px !important;
    color: #173b29 !important;
    font-size: 0.74rem !important;
}

body:not(.admin-body) .secondary-site-nav a:hover,
body:not(.admin-body) .secondary-site-nav a[aria-current='page'] {
    color: #ffffff !important;
    background: #19aa4b !important;
}

@media (max-width: 900px) {
    body:not(.admin-body) .secondary-site-nav {
        display: block !important;
        top: 56px !important;
    }

    body:not(.admin-body) .secondary-site-nav-inner {
        width: calc(100% - 20px) !important;
        justify-content: flex-start !important;
    }

    body:not(.admin-body) .secondary-site-nav-label {
        display: none;
    }
}

/* Compact interior-page hero system. Homepage hero sliders are intentionally excluded. */
body:not(.admin-body) .site-main > .page-hero:not(.home-hero),
body:not(.admin-body) .site-main > .shop-hero,
body:not(.admin-body) .site-main > .cms-page-hero,
body:not(.admin-body) .site-main > .blog-hero,
body:not(.admin-body) .site-main > .blog-post-hero,
body:not(.admin-body) .site-main > .about-hero,
body:not(.admin-body) .site-main > .academic-hero,
body:not(.admin-body) .site-main > .package-hero,
body:not(.admin-body) .site-main > .web-hero,
body:not(.admin-body) .site-main > .social-hero,
body:not(.admin-body) .site-main > .seo-hero,
body:not(.admin-body) .site-main > .ads-hero,
body:not(.admin-body) .site-main > .print-brand-hero {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 24px !important;
    padding-bottom: 26px !important;
}

/* Homepage finishing pass: distinct search, consistent section edges, quiet text links. */
body:not(.admin-body) .home-shop-finder {
    width: 100% !important;
    max-width: none !important;
    margin: -22px 0 0 !important;
    padding: 18px 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 28px rgba(18, 63, 40, 0.1) !important;
}

body:not(.admin-body) .home-shop-finder form {
    width: min(100% - 36px, var(--max)) !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

body:not(.admin-body) .home-shop-finder .finder-control {
    min-height: 48px;
}

body:not(.admin-body) .home-shop-finder input {
    min-height: 54px !important;
    padding: 12px 18px 12px 54px !important;
    color: #17231f !important;
    font-size: 0.98rem !important;
    background: #ffffff !important;
    border: 1px solid rgba(18, 63, 40, 0.16) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

body:not(.admin-body) .home-shop-finder input:focus {
    border-color: #19aa4b !important;
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.14) !important;
    outline: 0;
}

body:not(.admin-body) .home-shop-finder input::placeholder {
    color: #627067 !important;
}

body:not(.admin-body) .home-shop-finder .ai-search-mark {
    left: 18px !important;
    right: auto !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #ffffff !important;
    background: #19aa4b !important;
    border-radius: 999px !important;
}

body:not(.admin-body) .service-reel-section > .section-heading > a,
body:not(.admin-body) .home-portfolio-section > .section-heading > a {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 4px 0 !important;
    color: #176b37 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:not(.admin-body) .service-reel-section > .section-heading > a::after,
body:not(.admin-body) .home-portfolio-section > .section-heading > a::after {
    content: '\2192';
    color: #e65d32;
    font-size: 1rem;
}

body:not(.admin-body) .home-category-section,
body:not(.admin-body) .home-featured-products,
body:not(.admin-body) .product-row-section,
body:not(.admin-body) .home-portfolio-section {
    width: min(100% - 32px, 1400px) !important;
    max-width: 1400px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body:not(.admin-body) .home-category-section > .section-heading,
body:not(.admin-body) .home-featured-products > .section-heading,
body:not(.admin-body) .product-row-section > .section-heading,
body:not(.admin-body) .home-portfolio-section > .section-heading {
    width: 100% !important;
    margin: 0 0 16px !important;
    align-items: end !important;
}

body:not(.admin-body) .home-category-section > .section-heading > a,
body:not(.admin-body) .home-featured-products .section-heading-actions > a,
body:not(.admin-body) .product-row-section .section-heading-actions > a,
body:not(.admin-body) .home-portfolio-section > .section-heading > a {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 4px 0 !important;
    color: #176b37 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:not(.admin-body) .home-category-section > .section-heading > a::after,
body:not(.admin-body) .home-featured-products .section-heading-actions > a::after,
body:not(.admin-body) .product-row-section .section-heading-actions > a::after,
body:not(.admin-body) .home-portfolio-section > .section-heading > a::after {
    content: '\2192';
    color: #e65d32;
    font-size: 1rem;
}

body:not(.admin-body) .home-category-section > .section-heading > a:hover,
body:not(.admin-body) .home-featured-products .section-heading-actions > a:hover,
body:not(.admin-body) .product-row-section .section-heading-actions > a:hover,
body:not(.admin-body) .home-portfolio-section > .section-heading > a:hover {
    color: #e65d32 !important;
    background: transparent !important;
}

body:not(.admin-body) .home-featured-products .section-heading-actions,
body:not(.admin-body) .product-row-section .section-heading-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto;
}

body:not(.admin-body) .home-featured-products .product-carousel,
body:not(.admin-body) .product-row-section .product-carousel,
body:not(.admin-body) .home-portfolio-section .home-project-grid,
body:not(.admin-body) .home-category-section .home-category-grid {
    width: 100% !important;
    margin-left: 0 !important;
}

@media (max-width: 680px) {
    body:not(.admin-body) .home-shop-finder {
        width: calc(100% - 20px) !important;
        margin-top: -14px !important;
        padding: 10px !important;
    }

    body:not(.admin-body) .home-category-section,
    body:not(.admin-body) .home-featured-products,
    body:not(.admin-body) .product-row-section,
    body:not(.admin-body) .home-portfolio-section {
        width: calc(100% - 20px) !important;
    }

    body:not(.admin-body) .home-category-section > .section-heading,
    body:not(.admin-body) .home-featured-products > .section-heading,
    body:not(.admin-body) .product-row-section > .section-heading,
    body:not(.admin-body) .home-portfolio-section > .section-heading {
        align-items: flex-start !important;
        gap: 8px !important;
    }

    body:not(.admin-body) .home-featured-products .section-heading-actions,
    body:not(.admin-body) .product-row-section .section-heading-actions {
        width: 100%;
        justify-content: flex-start !important;
        margin-left: 0;
    }
}

body:not(.admin-body) .site-main > .page-hero:not(.home-hero) h1,
body:not(.admin-body) .site-main > .shop-hero h1,
body:not(.admin-body) .site-main > .cms-page-hero h1,
body:not(.admin-body) .site-main > .blog-hero h1,
body:not(.admin-body) .site-main > .blog-post-hero h1,
body:not(.admin-body) .site-main > .about-hero h1,
body:not(.admin-body) .site-main > .academic-hero h1 {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    font-size: clamp(1.8rem, 3.6vw, 3rem) !important;
    line-height: 1.04 !important;
}

body:not(.admin-body) .site-main > .page-hero:not(.home-hero) p:not(.eyebrow),
body:not(.admin-body) .site-main > .shop-hero p,
body:not(.admin-body) .site-main > .cms-page-hero p:not(.eyebrow),
body:not(.admin-body) .site-main > .blog-hero p:not(.eyebrow),
body:not(.admin-body) .site-main > .blog-post-hero p,
body:not(.admin-body) .site-main > .about-hero p,
body:not(.admin-body) .site-main > .academic-hero p:not(.eyebrow) {
    margin-top: 4px !important;
    font-size: 0.96rem !important;
    line-height: 1.42 !important;
}

body:not(.admin-body) .site-main > .shop-hero,
body:not(.admin-body) .site-main > .cms-page-hero,
body:not(.admin-body) .site-main > .blog-post-hero {
    width: min(100% - 32px, 1400px) !important;
    max-width: 1400px !important;
    margin-inline: auto !important;
}

@media (max-width: 680px) {
    body:not(.admin-body) .site-main > .page-hero:not(.home-hero),
    body:not(.admin-body) .site-main > .shop-hero,
    body:not(.admin-body) .site-main > .cms-page-hero,
    body:not(.admin-body) .site-main > .blog-hero,
    body:not(.admin-body) .site-main > .blog-post-hero,
    body:not(.admin-body) .site-main > .about-hero,
    body:not(.admin-body) .site-main > .academic-hero {
        padding-top: 20px !important;
        padding-bottom: 22px !important;
    }
}

/* Final blog visual guardrails. */
.blog-hero { min-height: 236px !important; height: auto !important; padding: 34px clamp(20px, 6vw, 86px) 38px !important; align-items: end !important; }
.blog-hero h1 { max-width: 760px !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: clamp(2rem, 4.6vw, 3.7rem) !important; line-height: .98 !important; }
.blog-hero p:not(.eyebrow) { max-width: 650px !important; font-size: .96rem !important; line-height: 1.45 !important; }
.blog-section { padding-top: clamp(28px, 4vw, 48px) !important; background: #f6f8f6 !important; }
.blog-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important; gap: clamp(22px, 3.5vw, 52px) !important; align-items: start !important; }
.blog-featured-card { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) !important; border-radius: 6px !important; box-shadow: 0 14px 30px rgba(22, 50, 34, .08) !important; }
.blog-featured-copy h3, .blog-card-copy h3, .blog-sidebar-panel h2 { font-family: Georgia, 'Times New Roman', serif !important; }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
.blog-card, .blog-sidebar-panel { border-radius: 6px !important; border-color: #dfe8e1 !important; box-shadow: 0 8px 22px rgba(22, 50, 34, .055) !important; }
.blog-sidebar { top: 78px !important; gap: 10px !important; }
.blog-sidebar-intro { background: #173b29 !important; border-color: #173b29 !important; }
@media (max-width: 980px) { .blog-layout { grid-template-columns: 1fr !important; } .blog-sidebar { position: static !important; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .blog-hero { min-height: 214px !important; padding: 28px 16px 30px !important; } .blog-hero h1 { font-size: clamp(1.9rem, 10vw, 2.7rem) !important; } .blog-featured-card, .blog-grid, .blog-sidebar { grid-template-columns: 1fr !important; } .blog-featured-media { min-height: 220px !important; } }

/* Blog final visual guardrails. */
.blog-hero { min-height: 236px !important; height: auto !important; padding: 34px clamp(20px, 6vw, 86px) 38px !important; }
.blog-hero h1 { max-width: 760px !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: clamp(2rem, 4.6vw, 3.7rem) !important; line-height: .98 !important; }
.blog-hero p:not(.eyebrow) { max-width: 650px !important; font-size: .96rem !important; line-height: 1.45 !important; }
.blog-section { padding-top: clamp(28px, 4vw, 48px) !important; background: #f6f8f6 !important; }
.blog-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important; gap: clamp(22px, 3.5vw, 52px) !important; align-items: start !important; }
.blog-featured-card { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) !important; border-radius: 6px !important; box-shadow: 0 14px 30px rgba(22, 50, 34, .08) !important; }
.blog-featured-copy h3, .blog-card-copy h3, .blog-sidebar-panel h2 { font-family: Georgia, 'Times New Roman', serif !important; }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
.blog-card, .blog-sidebar-panel { border-radius: 6px !important; border-color: #dfe8e1 !important; box-shadow: 0 8px 22px rgba(22, 50, 34, .055) !important; }
.blog-sidebar { top: 78px !important; gap: 10px !important; }
.blog-sidebar-intro { background: #173b29 !important; border-color: #173b29 !important; }
@media (max-width: 980px) { .blog-layout { grid-template-columns: 1fr !important; } .blog-sidebar { position: static !important; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .blog-hero { min-height: 214px !important; padding: 28px 16px 30px !important; } .blog-hero h1 { font-size: clamp(1.9rem, 10vw, 2.7rem) !important; } .blog-featured-card, .blog-grid, .blog-sidebar { grid-template-columns: 1fr !important; } .blog-featured-media { min-height: 220px !important; } }

/* Final blog precedence: compact editorial masthead and readable article grid. */
body:not(.admin-body) .blog-post-page .blog-post-hero,
body:not(.admin-body) .blog-post-page .blog-detail-layout {
    width: min(100% - 32px, 1400px) !important;
    max-width: 1400px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body:not(.admin-body) .blog-post-page .blog-post-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 28px clamp(18px, 3vw, 42px) 30px !important;
}

body:not(.admin-body) .blog-post-page .blog-post-hero-copy {
    width: min(100%, 980px);
}

body:not(.admin-body) .blog-post-page .blog-article {
    width: 100%;
    max-width: none !important;
}

body:not(.admin-body) .blog-post-page .blog-article-actions,
body:not(.admin-body) .blog-post-page .blog-post-navigation,
body:not(.admin-body) .blog-post-page .blog-related {
    width: 100%;
    max-width: none !important;
}

body:not(.admin-body) .blog-post-page .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 24px !important;
    padding-top: 28px !important;
}

body:not(.admin-body) .blog-sidebar,
body:not(.admin-body) .cms-sidebar,
body:not(.admin-body) .shop-sidebar,
body:not(.admin-body) .blog-mini-list,
body:not(.admin-body) .blog-sidebar-panel {
    max-height: none !important;
    overflow-y: visible !important;
}

body:not(.admin-body) .blog-hero,
body:not(.admin-body) .blog-section,
body:not(.admin-body) .blog-layout,
body:not(.admin-body) .blog-featured-card,
body:not(.admin-body) .blog-grid,
body:not(.admin-body) .blog-card,
body:not(.admin-body) .blog-sidebar-panel {
    position: relative;
    isolation: isolate;
}

body:not(.admin-body) .blog-hero {
    min-height: 236px !important;
    height: auto !important;
    padding: 34px clamp(20px, 6vw, 86px) 38px !important;
    color: #ffffff !important;
    background: #173b29 !important;
    background-image: none !important;
}

body:not(.admin-body) .blog-hero::before,
body:not(.admin-body) .blog-hero::after,
body:not(.admin-body) .blog-post-hero::before,
body:not(.admin-body) .blog-post-hero::after {
    display: none !important;
    background: none !important;
}

body:not(.admin-body) .blog-post-hero {
    min-height: 220px !important;
    height: auto !important;
    padding: 30px clamp(20px, 6vw, 86px) 34px !important;
    color: #ffffff !important;
    background: #173b29 !important;
    background-image: none !important;
}

body:not(.admin-body) .blog-post-hero h1,
body:not(.admin-body) .blog-post-hero p,
body:not(.admin-body) .blog-post-hero .blog-meta,
body:not(.admin-body) .blog-post-hero .blog-tags,
body:not(.admin-body) .blog-post-hero .blog-back-link {
    color: #ffffff !important;
}

body:not(.admin-body) .blog-article-cover {
    margin: 0 auto 18px;
    overflow: hidden;
    background: #e9f1eb;
    border: 1px solid #dfe8e1;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(22, 50, 34, 0.08);
}

body:not(.admin-body) .blog-article-cover img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

body:not(.admin-body) .blog-hero h1 {
    max-width: 760px !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(2rem, 4.6vw, 3.7rem) !important;
    line-height: .98 !important;
}

body:not(.admin-body) .blog-section {
    padding-top: clamp(28px, 4vw, 48px) !important;
    background: #f6f8f6 !important;
}

body:not(.admin-body) .blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
}

body:not(.admin-body) .blog-featured-card {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) !important;
    border-radius: 6px !important;
}

body:not(.admin-body) .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body:not(.admin-body) .blog-card,
body:not(.admin-body) .blog-sidebar-panel {
    border-radius: 6px !important;
    border-color: #dfe8e1 !important;
}

@media (max-width: 980px) {
    body:not(.admin-body) .blog-layout {
        grid-template-columns: 1fr !important;
    }

    body:not(.admin-body) .blog-sidebar {
        position: static !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-body) .blog-post-page .blog-detail-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body:not(.admin-body) .blog-hero {
        min-height: 214px !important;
        padding: 28px 16px 30px !important;
    }

    body:not(.admin-body) .blog-hero h1 {
        font-size: clamp(1.9rem, 10vw, 2.7rem) !important;
    }

    body:not(.admin-body) .blog-featured-card,
    body:not(.admin-body) .blog-grid,
    body:not(.admin-body) .blog-sidebar {
        grid-template-columns: 1fr !important;
    }
}

.blog-hero {
    min-height: 236px !important;
    height: auto !important;
    padding: 34px clamp(20px, 6vw, 86px) 38px !important;
    align-items: end !important;
}

.blog-hero h1 {
    max-width: 760px !important;
    margin: 5px 0 8px !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(2rem, 4.6vw, 3.7rem) !important;
    line-height: 0.98 !important;
}

.blog-hero p:not(.eyebrow) {
    max-width: 650px !important;
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

.blog-section {
    padding-top: clamp(28px, 4vw, 48px) !important;
    background: #f6f8f6 !important;
}

.blog-section > .section-heading h2,
.blog-card-copy h3,
.blog-featured-copy h3,
.blog-sidebar-panel h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
}

.blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px) !important;
    gap: clamp(22px, 3.5vw, 52px) !important;
    align-items: start !important;
}

.blog-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.blog-featured-card {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr) !important;
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 14px 30px rgba(22, 50, 34, 0.08) !important;
}

.blog-featured-media {
    min-height: 340px !important;
}

.blog-featured-copy {
    padding: clamp(20px, 3vw, 34px) !important;
}

.blog-featured-copy h3 {
    font-size: clamp(1.45rem, 2.4vw, 2.3rem) !important;
    line-height: 1.04 !important;
}

.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.blog-card {
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 22px rgba(22, 50, 34, 0.055) !important;
}

.blog-card-media {
    aspect-ratio: 16 / 9 !important;
}

.blog-card-copy {
    padding: 16px !important;
}

.blog-sidebar {
    top: 78px !important;
    gap: 10px !important;
}

.blog-sidebar-panel {
    padding: 16px !important;
    border: 1px solid #dfe8e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 22px rgba(22, 50, 34, 0.05) !important;
}

.blog-sidebar-intro {
    padding: 20px !important;
    background: #173b29 !important;
    border-color: #173b29 !important;
}

@media (max-width: 980px) {
    .blog-layout {
        grid-template-columns: 1fr !important;
    }

    .blog-sidebar {
        position: static !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-sidebar-intro,
    .blog-sidebar-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .blog-hero {
        min-height: 214px !important;
        padding: 28px 16px 30px !important;
    }

    .blog-hero h1 {
        font-size: clamp(1.9rem, 10vw, 2.7rem) !important;
    }

    .blog-hero .hero-actions .btn-secondary {
        display: none;
    }

    .blog-featured-card,
    .blog-grid,
    .blog-sidebar {
        grid-template-columns: 1fr !important;
    }

    .blog-featured-media {
        min-height: 220px !important;
    }

    .blog-sidebar-intro,
    .blog-sidebar-panel:last-child {
        grid-column: auto;
    }
}

/* Deployment-safe responsive precedence for the final cascade. */
@media (min-width: 901px) and (max-width: 1080px) {
    .admin-panel:has(.admin-nav) {
        grid-template-columns: 1fr !important;
    }

    .admin-panel:has(.admin-nav) > :not(.admin-nav),
    .admin-nav {
        grid-column: 1 !important;
    }

    .admin-nav {
        position: static !important;
        grid-row: auto !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-nav-brand {
        grid-column: 1 / -1;
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .table-wrap,
    .admin-table-wrap,
    .admin-data-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table,
    .admin-table-wrap table,
    .admin-data-table table {
        min-width: 640px;
    }

    .admin-endpoint-list article,
    .admin-api-card,
    .admin-kpi-grid article,
    .admin-quick-actions a,
    .notice,
    .form-error,
    .success-message {
        overflow-wrap: anywhere;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .admin-nav {
        grid-template-columns: 1fr !important;
    }

    .admin-nav-brand,
    .admin-nav-group,
    .admin-nav-logout {
        grid-column: auto !important;
    }
}

@media (max-width: 900px) {
    .site-nav .mega-menu-panel {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .site-nav .mega-menu-lead,
    .site-nav .mega-menu-group a {
        min-width: 0;
        width: 100%;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .site-nav .mega-menu-group a {
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: start;
    }

    .site-nav .mega-menu-group a > span:last-child,
    .site-nav .mega-menu-group strong,
    .site-nav .mega-menu-group small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .site-nav .mega-menu-group strong {
        display: block;
        line-height: 1.25;
    }

    .site-nav .mega-menu-group small {
        display: block;
        line-height: 1.35;
    }

    .site-nav .mega-menu-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .site-nav .mega-menu-actions a {
        min-width: 0;
        min-height: 42px;
        justify-content: center;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .site-nav .mega-menu-actions {
        grid-template-columns: 1fr;
    }

    .site-nav .mega-menu-lead,
    .site-nav .mega-menu-group a {
        padding: 10px;
    }
}

/* Compact secondary links below the primary site header. */
.secondary-site-nav {
    position: sticky;
    top: 58px;
    z-index: 19;
    min-height: 30px;
    color: var(--muted);
    background: rgba(248, 246, 250, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(23, 21, 31, 0.04);
    backdrop-filter: blur(12px);
}

.secondary-site-nav-inner {
    width: min(var(--max), calc(100% - 36px));
    min-height: 30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.secondary-site-nav-inner::-webkit-scrollbar {
    display: none;
}

.secondary-site-nav-label {
    margin-right: 4px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.secondary-site-nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    min-height: 28px;
    padding: 4px 8px;
    color: var(--purple-dark);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 6px;
}

.secondary-site-nav a:hover,
.secondary-site-nav a[aria-current='page'] {
    color: var(--white);
    background: var(--red);
}

.secondary-site-nav a i {
    color: var(--orange);
    font-size: 0.72rem;
}

.secondary-site-nav a:hover i,
.secondary-site-nav a[aria-current='page'] i {
    color: currentColor;
}

.mobile-only-nav-link {
    display: none !important;
}

@media (max-width: 900px) {
    .secondary-site-nav {
        display: none;
    }

    .mobile-only-nav-link {
        display: flex !important;
    }

    .whatsapp-chat-widget {
        display: none !important;
    }

    .secondary-site-nav {
        top: 56px;
    }

    .secondary-site-nav-inner {
        width: calc(100% - 24px);
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .secondary-site-nav {
        min-height: 28px;
    }

    .secondary-site-nav-inner {
        min-height: 28px;
        gap: 3px;
    }

    .secondary-site-nav-label {
        display: none;
    }

    .secondary-site-nav a {
        min-height: 26px;
        padding-inline: 7px;
        font-size: 0.72rem;
    }
}

/* Premium color system: cohesive palettes with matched text contrast */
:root,
body[data-color-theme='ibiz'] {
    --brand-primary: #158044;
    --brand-primary-dark: #0f4d2d;
    --brand-secondary: #314734;
    --brand-action: #e65d32;
    --brand-action-2: #b93432;
    --brand-depth: #35263c;
    --brand-accent: #19aa4b;
    --page-bg: #f6faf7;
    --surface: #ffffff;
    --surface-soft: #eef8f1;
    --surface-warm: #fff5ef;
    --text-strong: #16241c;
    --text-body: #314238;
    --text-muted: #64716a;
    --line-soft: rgba(21, 128, 68, 0.16);
    --shadow-soft: 0 14px 34px rgba(19, 68, 40, 0.08);
    --shadow-lift: 0 20px 46px rgba(19, 68, 40, 0.12);
    --on-color: #ffffff;
    --hero-tint: rgba(8, 54, 30, 0.82);
    --hero-tint-soft: rgba(21, 128, 68, 0.26);
    --button-gradient: linear-gradient(135deg, #e65d32 0%, #b93432 58%, #35263c 100%);
    --button-gradient-hover: linear-gradient(135deg, #d94f2b 0%, #a92e32 58%, #2f2037 100%);
}

body[data-color-theme='green'] {
    --brand-primary: #15924c;
    --brand-primary-dark: #0d5832;
    --brand-secondary: #236743;
    --brand-action: #dd6b37;
    --brand-action-2: #bf4932;
    --brand-depth: #25352b;
    --brand-accent: #31b865;
    --page-bg: #f4fbf6;
    --surface-soft: #edf9f1;
    --surface-warm: #fff5ef;
    --line-soft: rgba(21, 146, 76, 0.18);
    --shadow-soft: 0 14px 34px rgba(15, 88, 50, 0.08);
    --shadow-lift: 0 20px 46px rgba(15, 88, 50, 0.12);
    --hero-tint: rgba(8, 64, 35, 0.82);
    --hero-tint-soft: rgba(49, 184, 101, 0.28);
    --button-gradient: linear-gradient(135deg, #dd6b37 0%, #bf4932 58%, #25352b 100%);
    --button-gradient-hover: linear-gradient(135deg, #cc5b30 0%, #ad3d30 58%, #1f2d24 100%);
}

body[data-color-theme='orange'] {
    --brand-primary: #a8492b;
    --brand-primary-dark: #73311f;
    --brand-secondary: #176b37;
    --brand-action: #e65d32;
    --brand-action-2: #c74333;
    --brand-depth: #35263c;
    --brand-accent: #19aa4b;
    --page-bg: #fff8f4;
    --surface-soft: #fff1e9;
    --surface-warm: #edf8f1;
    --line-soft: rgba(230, 93, 50, 0.18);
    --shadow-soft: 0 14px 34px rgba(128, 55, 31, 0.08);
    --shadow-lift: 0 20px 46px rgba(128, 55, 31, 0.12);
    --hero-tint: rgba(92, 38, 23, 0.82);
    --hero-tint-soft: rgba(230, 93, 50, 0.26);
    --button-gradient: linear-gradient(135deg, #e65d32 0%, #c74333 60%, #35263c 100%);
    --button-gradient-hover: linear-gradient(135deg, #d8522d 0%, #b63831 60%, #302239 100%);
}

body[data-color-theme='red'] {
    --brand-primary: #a93434;
    --brand-primary-dark: #671f24;
    --brand-secondary: #176b37;
    --brand-action: #cf443d;
    --brand-action-2: #8f2f34;
    --brand-depth: #342236;
    --brand-accent: #19aa4b;
    --page-bg: #fff7f6;
    --surface-soft: #fff0ef;
    --surface-warm: #f0faf3;
    --line-soft: rgba(169, 52, 52, 0.17);
    --shadow-soft: 0 14px 34px rgba(103, 31, 36, 0.08);
    --shadow-lift: 0 20px 46px rgba(103, 31, 36, 0.12);
    --hero-tint: rgba(92, 24, 29, 0.82);
    --hero-tint-soft: rgba(207, 68, 61, 0.25);
    --button-gradient: linear-gradient(135deg, #cf443d 0%, #8f2f34 58%, #342236 100%);
    --button-gradient-hover: linear-gradient(135deg, #bd3c38 0%, #7f2930 58%, #2e1d31 100%);
}

body[data-color-theme='purple'] {
    --brand-primary: #4a3152;
    --brand-primary-dark: #2d1d33;
    --brand-secondary: #176b37;
    --brand-action: #d75d36;
    --brand-action-2: #a83a36;
    --brand-depth: #241629;
    --brand-accent: #19aa4b;
    --page-bg: #f8f6f9;
    --surface-soft: #f2edf4;
    --surface-warm: #fff5ef;
    --line-soft: rgba(74, 49, 82, 0.16);
    --shadow-soft: 0 14px 34px rgba(45, 29, 51, 0.08);
    --shadow-lift: 0 20px 46px rgba(45, 29, 51, 0.12);
    --hero-tint: rgba(45, 29, 51, 0.82);
    --hero-tint-soft: rgba(25, 170, 75, 0.18);
    --button-gradient: linear-gradient(135deg, #d75d36 0%, #a83a36 56%, #4a3152 100%);
    --button-gradient-hover: linear-gradient(135deg, #c85231 0%, #963232 56%, #3d2945 100%);
}

body {
    color: var(--text-body);
    background: var(--page-bg);
}

.topbar,
.whatsapp-chat-toggle,
.whatsapp-chat-link {
    color: var(--on-color);
    background: var(--brand-primary);
}

.topbar a,
.topbar span,
.topbar-contact i {
    color: var(--on-color);
}

.topbar-socials a {
    color: var(--on-color);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.22);
}

.topbar-socials a:hover {
    color: var(--brand-primary);
    background: var(--on-color);
}

.site-header {
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(24, 36, 29, 0.07);
}

.brand-mark,
.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover,
.service-icon,
.category-grid span,
.client-logo-mark,
.footer-contact-icon,
.package-meta span,
.project-status,
.portfolio-service-strip span {
    color: var(--on-color);
    background: var(--brand-primary);
    border-color: color-mix(in srgb, var(--brand-primary) 72%, transparent);
}

.brand-text strong,
.site-nav a,
.nav-dropdown-toggle,
.section-heading h2,
.decorated-heading h2,
.digital-lead h2,
.digital-section-heading h2,
.media-spotlight-copy h2,
.product-card h3,
.product-card h3 a,
.service-nav-strip strong,
.digital-package-card h3,
.digital-mini-card h3,
.project-card h3,
.faq-card h3,
.shop-sidebar h2,
.product-buy-panel h2,
.media-price-card h3,
.home-project-copy h3 {
    color: var(--text-strong);
}

.brand-text small,
.site-nav,
.section-heading p,
.product-card p,
.service-card p,
.digital-mini-card p,
.digital-package-card p,
.faq-card p,
.media-price-card p,
.home-project-copy p,
.shop-sidebar a {
    color: var(--text-muted);
}

.eyebrow,
.product-card span,
.home-project-copy span,
.ai-match-reason,
.product-card strong,
.package-price,
.price-line,
.cart-summary strong,
.contact-grid a,
.service-card a,
.section-heading a,
.admin-toolbar a {
    color: var(--brand-primary);
}

.decorated-heading::after {
    background: var(--brand-action);
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.inline-cart-form button[value='add'],
.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.mobile-category-rail a[aria-current='page'],
.ai-float-toggle {
    color: var(--on-color);
    background: var(--button-gradient);
    border-color: color-mix(in srgb, var(--brand-action-2) 72%, transparent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--brand-action) 18%, transparent);
}

.header-call:hover,
.btn-primary:hover,
.page-hero .btn-primary:hover,
.shop-hero .btn-primary:hover,
.home-slide .btn-primary:hover {
    color: var(--on-color);
    background: var(--button-gradient-hover);
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary,
.home-slide .btn-secondary {
    color: var(--brand-primary);
    background: var(--surface);
    border-color: var(--line-soft);
    box-shadow: 0 10px 22px rgba(24, 36, 29, 0.08);
}

.btn-secondary:hover,
.page-hero .btn-secondary:hover,
.shop-hero .btn-secondary:hover,
.home-slide .btn-secondary:hover {
    color: var(--on-color);
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.mega-menu-actions a[href*='wa.me'] {
    color: var(--on-color);
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--brand-accent) 16%, transparent);
}

.home-slide,
.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero,
.mega-menu-lead {
    color: var(--on-color);
    background-color: var(--brand-primary-dark);
    background-blend-mode: multiply;
}

.home-slide::after {
    background: linear-gradient(90deg, var(--hero-tint) 0%, rgba(0, 0, 0, 0.38) 58%, var(--hero-tint-soft) 100%);
}

.page-hero::before,
.shop-hero::before,
.blog-hero::before,
.blog-post-hero::before,
.mega-menu-lead::before {
    background: linear-gradient(90deg, var(--hero-tint) 0%, rgba(0, 0, 0, 0.42) 62%, var(--hero-tint-soft) 100%);
}

.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.page-hero h1,
.page-hero p,
.page-hero p:not(.eyebrow),
.page-hero .eyebrow,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.shop-hero-points span,
.blog-hero h1,
.blog-hero p:not(.eyebrow),
.blog-hero .eyebrow,
.blog-post-hero h1,
.blog-post-hero p,
.blog-post-hero .eyebrow,
.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span,
.digital-side-panel,
.digital-side-panel strong,
.digital-side-panel li,
.benchmark-note,
.benchmark-note strong,
.benchmark-note p,
.cta-band,
.cta-band h2,
.cta-band p,
.print-production-card,
.print-production-card h2,
.print-production-card p,
.home-category-card span,
.home-category-card p,
.home-category-card strong {
    color: var(--on-color);
}

.home-slide .eyebrow::before,
.page-hero .eyebrow::before,
.shop-hero .eyebrow::before,
.blog-hero .eyebrow::before,
.blog-post-hero .eyebrow::before {
    background: var(--brand-action);
}

.home-category-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), var(--hero-tint));
}

.home-category-card strong {
    color: color-mix(in srgb, var(--brand-action) 28%, #ffffff);
}

.finder-control,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control,
.blog-search-form {
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(24, 36, 29, 0.12);
}

.finder-control:focus-within,
.home-shop-finder .ai-live-control:focus-within,
.shop-search-band .ai-live-control:focus-within,
.blog-search-form:focus-within {
    box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-primary) 16%, transparent), 0 0 0 3px color-mix(in srgb, var(--brand-primary) 10%, transparent);
}

.ai-search-mark {
    color: var(--brand-primary);
}

.service-nav-strip a,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.service-card,
.product-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card,
.media-price-card,
.home-project-card,
.shop-sidebar,
.mega-menu-panel {
    background: var(--surface);
    border-color: var(--line-soft);
    box-shadow: var(--shadow-soft);
}

.service-nav-strip a:hover,
.digital-package-card:hover,
.digital-mini-card:hover,
.project-card:hover,
.faq-card:hover,
.product-card:hover,
.service-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary) 28%, transparent);
    box-shadow: var(--shadow-lift);
}

.digital-side-panel,
.benchmark-note {
    color: var(--on-color);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border-color: color-mix(in srgb, var(--brand-primary) 28%, transparent);
}

.mega-menu-group a:hover,
.mega-menu-actions,
.product-card span,
.home-project-copy span,
.ai-match-reason,
.shop-tag,
.product-tag,
.ai-live-suggestion,
.ai-live-view {
    background: var(--surface-soft);
    border-color: var(--line-soft);
}

.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before {
    background: var(--brand-action);
}

.site-footer {
    color: rgba(255, 255, 255, 0.8);
    background: #232323;
    background-image: none;
}

.site-footer h2,
.footer-brand strong,
.site-footer a,
.site-footer span,
.site-footer .footer-contact-item,
.site-footer .footer-socials a {
    color: var(--on-color);
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-socials a:hover {
    color: var(--on-color);
    background: var(--brand-action);
}

.color-theme-palette {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--line-soft);
    box-shadow: 0 14px 32px rgba(24, 36, 29, 0.14);
}

.color-theme-palette::after {
    background: var(--brand-primary);
}

.theme-swatch {
    background: #ffffff;
    border-color: rgba(24, 36, 29, 0.14);
}

.theme-swatch::before {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #158044 0 34%, #e65d32 34% 67%, #35263c 67% 100%);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #31b865, #0d5832);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #f08a52, #a8492b);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #d75a52, #671f24);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #8a6b95, #2d1d33);
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 14%, transparent), 0 8px 18px rgba(24, 36, 29, 0.14);
}

/* Final elegance pass: distinct palettes, clear contrast, calmer spacing */
:root,
body[data-color-theme='ibiz'] {
    --brand-primary: #16713c;
    --brand-primary-dark: #0e3f27;
    --brand-secondary: #365139;
    --brand-action: #df6138;
    --brand-action-2: #aa3b35;
    --brand-depth: #32263a;
    --brand-accent: #19aa4b;
    --page-bg: #f6faf7;
    --surface: #ffffff;
    --surface-soft: #eef8f2;
    --surface-warm: #fff6f1;
    --text-strong: #14231b;
    --text-body: #304138;
    --text-muted: #65736b;
    --line-soft: rgba(22, 113, 60, 0.16);
    --shadow-soft: 0 16px 38px rgba(18, 58, 35, 0.08);
    --shadow-lift: 0 22px 52px rgba(18, 58, 35, 0.13);
    --hero-tint: rgba(8, 48, 27, 0.82);
    --hero-tint-soft: rgba(22, 113, 60, 0.32);
    --button-gradient: linear-gradient(135deg, #df6138 0%, #aa3b35 56%, #32263a 100%);
    --button-gradient-hover: linear-gradient(135deg, #cc5533 0%, #963332 56%, #2a2032 100%);
}

body[data-color-theme='green'] {
    --brand-primary: #17884a;
    --brand-primary-dark: #0c4b2b;
    --brand-secondary: #245c3c;
    --brand-action: #d96a38;
    --brand-action-2: #b34532;
    --brand-depth: #263a2d;
    --brand-accent: #32b866;
    --page-bg: #f4fbf6;
    --surface-soft: #ebf8ef;
    --surface-warm: #fff5ef;
    --text-strong: #10271a;
    --text-body: #304238;
    --line-soft: rgba(23, 136, 74, 0.18);
    --shadow-soft: 0 16px 38px rgba(12, 75, 43, 0.08);
    --shadow-lift: 0 22px 52px rgba(12, 75, 43, 0.13);
    --hero-tint: rgba(6, 54, 30, 0.84);
    --hero-tint-soft: rgba(50, 184, 102, 0.3);
    --button-gradient: linear-gradient(135deg, #d96a38 0%, #b34532 56%, #263a2d 100%);
    --button-gradient-hover: linear-gradient(135deg, #c85c32 0%, #9f3a2f 56%, #203126 100%);
}

body[data-color-theme='orange'] {
    --brand-primary: #a84c2d;
    --brand-primary-dark: #6b311f;
    --brand-secondary: #176b37;
    --brand-action: #e66a3b;
    --brand-action-2: #bd4534;
    --brand-depth: #35263c;
    --brand-accent: #19aa4b;
    --page-bg: #fff8f4;
    --surface-soft: #fff0e8;
    --surface-warm: #eef8f2;
    --text-strong: #2c201a;
    --text-body: #47382f;
    --line-soft: rgba(168, 76, 45, 0.18);
    --shadow-soft: 0 16px 38px rgba(107, 49, 31, 0.08);
    --shadow-lift: 0 22px 52px rgba(107, 49, 31, 0.13);
    --hero-tint: rgba(86, 37, 23, 0.84);
    --hero-tint-soft: rgba(230, 106, 59, 0.3);
    --button-gradient: linear-gradient(135deg, #e66a3b 0%, #bd4534 58%, #35263c 100%);
    --button-gradient-hover: linear-gradient(135deg, #d95d34 0%, #a93a31 58%, #2f2137 100%);
}

body[data-color-theme='red'] {
    --brand-primary: #9c3737;
    --brand-primary-dark: #5e2025;
    --brand-secondary: #176b37;
    --brand-action: #c94740;
    --brand-action-2: #802c31;
    --brand-depth: #342236;
    --brand-accent: #19aa4b;
    --page-bg: #fff7f6;
    --surface-soft: #fff0ef;
    --surface-warm: #eff9f2;
    --text-strong: #2b1c1d;
    --text-body: #473233;
    --line-soft: rgba(156, 55, 55, 0.17);
    --shadow-soft: 0 16px 38px rgba(94, 32, 37, 0.08);
    --shadow-lift: 0 22px 52px rgba(94, 32, 37, 0.13);
    --hero-tint: rgba(86, 25, 29, 0.84);
    --hero-tint-soft: rgba(201, 71, 64, 0.28);
    --button-gradient: linear-gradient(135deg, #c94740 0%, #802c31 58%, #342236 100%);
    --button-gradient-hover: linear-gradient(135deg, #b93e3a 0%, #71272d 58%, #2e1d31 100%);
}

body[data-color-theme='purple'] {
    --brand-primary: #553b5f;
    --brand-primary-dark: #2f2137;
    --brand-secondary: #176b37;
    --brand-action: #d7643a;
    --brand-action-2: #9d3b38;
    --brand-depth: #241629;
    --brand-accent: #19aa4b;
    --page-bg: #f8f6f9;
    --surface-soft: #f1edf4;
    --surface-warm: #fff5ef;
    --text-strong: #241b28;
    --text-body: #403548;
    --line-soft: rgba(85, 59, 95, 0.16);
    --shadow-soft: 0 16px 38px rgba(47, 33, 55, 0.08);
    --shadow-lift: 0 22px 52px rgba(47, 33, 55, 0.13);
    --hero-tint: rgba(47, 33, 55, 0.84);
    --hero-tint-soft: rgba(85, 59, 95, 0.32);
    --button-gradient: linear-gradient(135deg, #d7643a 0%, #9d3b38 56%, #553b5f 100%);
    --button-gradient-hover: linear-gradient(135deg, #c95734 0%, #8c3334 56%, #483250 100%);
}

body {
    color: var(--text-body);
    background: var(--page-bg);
}

.topbar,
.brand-mark,
.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.ai-live-suggestion:hover,
.ai-live-view:hover,
.service-icon,
.category-grid span,
.client-logo-mark,
.footer-contact-icon,
.package-meta span,
.project-status,
.portfolio-service-strip span,
.whatsapp-chat-toggle,
.whatsapp-chat-link {
    color: #ffffff;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.topbar a,
.topbar span,
.topbar-contact i,
.topbar-socials a,
.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle {
    color: #ffffff;
}

.topbar-socials a {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.topbar-socials a:hover {
    color: var(--brand-primary);
    background: #ffffff;
}

.site-header,
.finder-control,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control,
.blog-search-form,
.service-nav-strip a,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.service-card,
.product-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card,
.media-price-card,
.home-project-card,
.shop-sidebar,
.mega-menu-panel {
    background: var(--surface);
    border-color: var(--line-soft);
    box-shadow: var(--shadow-soft);
}

.site-header {
    box-shadow: 0 8px 24px rgba(24, 36, 29, 0.07);
}

.brand-text strong,
.site-nav a,
.nav-dropdown-toggle,
.section-heading h2,
.decorated-heading h2,
.digital-lead h2,
.digital-section-heading h2,
.media-spotlight-copy h2,
.product-card h3,
.product-card h3 a,
.service-nav-strip strong,
.digital-package-card h3,
.digital-mini-card h3,
.project-card h3,
.faq-card h3,
.shop-sidebar h2,
.product-buy-panel h2,
.media-price-card h3,
.home-project-copy h3 {
    color: var(--text-strong);
}

.brand-text small,
.section-heading p,
.product-card p,
.service-card p,
.digital-mini-card p,
.digital-package-card p,
.faq-card p,
.media-price-card p,
.home-project-copy p,
.shop-sidebar a,
.blog-sidebar-panel p,
.blog-featured-card p {
    color: var(--text-muted);
}

.eyebrow,
.product-card span,
.home-project-copy span,
.ai-match-reason,
.product-card strong,
.package-price,
.price-line,
.cart-summary strong,
.contact-grid a,
.service-card a,
.section-heading a,
.admin-toolbar a {
    color: var(--brand-primary);
}

.product-card span,
.home-project-copy span,
.ai-match-reason,
.shop-tag,
.product-tag,
.ai-live-suggestion,
.ai-live-view,
.mega-menu-actions,
.mega-menu-group a:hover {
    background: var(--surface-soft);
    border-color: var(--line-soft);
}

.decorated-heading::after {
    background: var(--brand-action);
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.inline-cart-form button[value='add'],
.product-card .card-actions .inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.ai-float-toggle {
    color: #ffffff;
    background: var(--button-gradient);
    border-color: var(--brand-action-2);
    box-shadow: 0 12px 24px rgba(51, 35, 29, 0.14);
}

.header-call:hover,
.btn-primary:hover,
.page-hero .btn-primary:hover,
.shop-hero .btn-primary:hover,
.home-slide .btn-primary:hover {
    color: #ffffff;
    background: var(--button-gradient-hover);
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary,
.home-slide .btn-secondary {
    color: var(--brand-primary);
    background: #ffffff;
    border-color: var(--line-soft);
    box-shadow: 0 10px 22px rgba(24, 36, 29, 0.08);
}

.btn-secondary:hover,
.page-hero .btn-secondary:hover,
.shop-hero .btn-secondary:hover,
.home-slide .btn-secondary:hover {
    color: #ffffff;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-ghost,
.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.mega-menu-actions a[href*='wa.me'] {
    color: #ffffff;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
}

.home-slide,
.page-hero,
.shop-hero,
.blog-hero,
.blog-post-hero,
.mega-menu-lead {
    color: #ffffff;
    background-color: var(--brand-primary-dark);
    background-blend-mode: multiply;
}

.home-slide::after {
    background: linear-gradient(90deg, var(--hero-tint) 0%, rgba(0, 0, 0, 0.36) 58%, var(--hero-tint-soft) 100%);
}

.page-hero::before,
.shop-hero::before,
.blog-hero::before,
.blog-post-hero::before,
.mega-menu-lead::before {
    background: linear-gradient(90deg, var(--hero-tint) 0%, rgba(0, 0, 0, 0.4) 62%, var(--hero-tint-soft) 100%);
}

.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.page-hero h1,
.page-hero p,
.page-hero p:not(.eyebrow),
.page-hero .eyebrow,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.shop-hero-points span,
.blog-hero h1,
.blog-hero p:not(.eyebrow),
.blog-hero .eyebrow,
.blog-post-hero h1,
.blog-post-hero p,
.blog-post-hero .eyebrow,
.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span,
.digital-side-panel,
.digital-side-panel strong,
.digital-side-panel li,
.benchmark-note,
.benchmark-note strong,
.benchmark-note p,
.cta-band,
.cta-band h2,
.cta-band p,
.print-production-card,
.print-production-card h2,
.print-production-card p,
.home-category-card span,
.home-category-card p,
.home-category-card strong {
    color: #ffffff;
}

.home-slide .eyebrow::before,
.page-hero .eyebrow::before,
.shop-hero .eyebrow::before,
.blog-hero .eyebrow::before,
.blog-post-hero .eyebrow::before,
.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before {
    background: var(--brand-action);
}

.home-category-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), var(--hero-tint));
}

.home-category-card strong {
    color: #ffe4d9;
}

.digital-side-panel,
.benchmark-note {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border-color: var(--brand-primary);
}

.service-nav-strip a:hover,
.digital-package-card:hover,
.digital-mini-card:hover,
.project-card:hover,
.faq-card:hover,
.product-card:hover,
.service-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lift);
}

.site-footer {
    color: rgba(255, 255, 255, 0.8);
    background: #232323;
    background-image: none;
}

.site-footer h2,
.footer-brand strong,
.site-footer a,
.site-footer span,
.site-footer .footer-contact-item,
.site-footer .footer-socials a {
    color: #ffffff;
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-socials a:hover {
    color: #ffffff;
    background: var(--brand-action);
}

.color-theme-palette {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--line-soft);
    box-shadow: 0 14px 32px rgba(24, 36, 29, 0.14);
}

.color-theme-palette::after {
    background: var(--brand-primary);
}

.theme-swatch {
    background: #ffffff;
    border-color: rgba(24, 36, 29, 0.14);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #16713c 0 34%, #df6138 34% 67%, #32263a 67% 100%);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #32b866, #0c4b2b);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #f08a52, #a84c2d);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #d75a52, #5e2025);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #8a6b95, #2f2137);
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(22, 113, 60, 0.12), 0 8px 18px rgba(24, 36, 29, 0.14);
}

.section {
    padding-top: clamp(58px, 7vw, 96px);
    padding-bottom: clamp(58px, 7vw, 96px);
}

.home-category-section,
.home-portfolio-section,
.client-logo-section,
.home-product-rows,
.product-band.home-featured-products {
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
}

.home-product-rows {
    display: grid;
    gap: clamp(18px, 3vw, 32px);
}

.section-heading,
.decorated-heading {
    margin-bottom: clamp(24px, 3.2vw, 38px);
    gap: clamp(16px, 3vw, 28px);
}

.section-heading h2,
.decorated-heading h2 {
    margin-top: 6px;
    line-height: 1.08;
}

.section-heading p,
.section-heading .eyebrow {
    margin-bottom: 0;
}

.home-category-grid,
.home-project-grid,
.media-price-grid,
.service-grid,
.digital-package-grid,
.digital-mini-grid,
.project-grid,
.faq-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

.product-grid {
    gap: clamp(18px, 2.2vw, 28px);
}

.product-carousel {
    padding: 4px 0 14px;
}

.product-card,
.service-card,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.media-price-card,
.home-project-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card {
    border-radius: 10px;
}

.product-card {
    padding-bottom: 18px;
}

.product-card h3,
.product-card p,
.product-card .card-actions,
.product-card span,
.product-card strong {
    margin-left: 18px;
    margin-right: 18px;
}

.product-card h3 {
    margin-top: 16px;
}

.product-card p {
    margin-top: 10px;
    line-height: 1.55;
}

.product-card .card-actions {
    margin-top: 16px;
    gap: 10px;
}

.home-shop-finder {
    margin-bottom: clamp(30px, 4vw, 50px);
}

.home-slide-copy {
    max-width: min(780px, 88vw);
}

.home-slide h1 {
    line-height: 1.04;
}

.home-slide .hero-copy {
    max-width: 720px;
    margin-top: 14px;
    line-height: 1.55;
}

.hero-actions {
    gap: 14px;
    margin-top: clamp(18px, 2.4vw, 28px);
}

.home-category-card {
    min-height: 260px;
}

.media-spotlight {
    gap: clamp(28px, 5vw, 64px);
}

.site-footer {
    gap: clamp(28px, 5vw, 56px);
    padding-top: clamp(52px, 6vw, 76px);
    padding-bottom: clamp(52px, 6vw, 76px);
}

@media (max-width: 900px) {
    .section,
    .home-category-section,
    .home-portfolio-section,
    .client-logo-section,
    .home-product-rows,
    .product-band.home-featured-products {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .section-heading,
    .decorated-heading {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .section,
    .home-category-section,
    .home-portfolio-section,
    .client-logo-section,
    .home-product-rows,
    .product-band.home-featured-products {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .home-category-card {
        min-height: 230px;
    }

    .product-card h3,
    .product-card p,
    .product-card .card-actions,
    .product-card span,
    .product-card strong {
        margin-left: 14px;
        margin-right: 14px;
    }
}

/* Navigation and palette refinement: calm, compact, readable. */
.site-header {
    gap: clamp(10px, 1.5vw, 18px);
}

.site-nav {
    gap: 3px;
}

.site-nav a,
.nav-dropdown-toggle {
    min-height: 34px;
    padding: 9px 10px;
    color: #34453b;
    font-size: 0.86rem;
    font-weight: 650;
    border: 1px solid transparent;
    border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown .nav-dropdown-toggle:hover {
    color: #ffffff;
    background: #16713c;
    border-color: rgba(22, 113, 60, 0.18);
    box-shadow: 0 8px 18px rgba(22, 113, 60, 0.13);
}

.nav-dropdown-panel,
.mega-menu-panel {
    width: min(1120px, calc(100vw - 32px));
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(20, 35, 27, 0.1);
    border-radius: 14px;
    box-shadow: 0 26px 60px rgba(20, 35, 27, 0.14);
}

.mega-menu-panel {
    grid-template-columns: minmax(235px, 0.68fr) minmax(0, 2.35fr);
    gap: 18px;
    overflow: hidden;
}

.mega-menu-panel::before {
    background: #ffffff;
    border-color: rgba(20, 35, 27, 0.1);
}

.mega-menu-panel::after,
.mega-menu-group h3::before,
.mega-menu-group a::before,
.mega-menu-group:nth-child(1) a::before,
.mega-menu-group:nth-child(2) a::before,
.mega-menu-group:nth-child(3) a::before,
.mega-menu-group a::after {
    display: none;
}

.mega-menu-lead {
    min-height: 100%;
    padding: 18px;
    color: #ffffff;
    background-color: #183323;
    background-image: linear-gradient(180deg, rgba(24, 51, 35, 0.84), rgba(24, 51, 35, 0.96)), url('../img/print-production-lab.avif');
    background-position: center;
    background-size: cover;
    background-blend-mode: normal;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
}

.mega-menu-lead::before {
    background: rgba(0, 0, 0, 0.08);
}

.mega-menu-lead,
.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span {
    color: #ffffff;
}

.mega-menu-lead .eyebrow {
    padding: 0;
    background: transparent;
    border: 0;
}

.mega-menu-lead strong {
    font-size: 1.18rem;
    line-height: 1.18;
}

.mega-menu-lead small {
    line-height: 1.45;
}

.mega-menu-lead a {
    width: max-content;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.mega-menu-lead a:hover {
    background: rgba(255, 255, 255, 0.22);
}

.mega-menu-visual {
    aspect-ratio: 16 / 9.5;
    margin-top: 12px;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.mega-menu-visual span {
    background: rgba(0, 0, 0, 0.44);
}

.mega-menu-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mega-menu-group {
    gap: 8px;
    min-width: 0;
}

.mega-menu-group h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin: 0;
    color: #14231b;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mega-menu-group h3 i {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #16713c;
    background: #eef8f2;
    border-radius: 999px;
}

.mega-menu-group a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    min-height: 68px;
    padding: 10px;
    color: #14231b;
    background: #ffffff;
    border: 1px solid rgba(20, 35, 27, 0.08);
    border-radius: 10px;
    box-shadow: none;
}

.mega-menu-group a:hover {
    background: #f6faf7;
    border-color: rgba(22, 113, 60, 0.2);
    box-shadow: 0 10px 24px rgba(20, 35, 27, 0.08);
    transform: translateY(-1px);
}

.mega-link-icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #16713c;
    background: #eef8f2;
    border-radius: 999px;
}

.mega-menu-group strong {
    color: #14231b;
    font-size: 0.87rem;
    line-height: 1.18;
}

.mega-menu-group small {
    color: #66746b;
    font-size: 0.74rem;
    line-height: 1.28;
}

.mega-menu-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(20, 35, 27, 0.08);
    border-radius: 0;
}

.mega-menu-actions a,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2) {
    color: #ffffff;
    background: linear-gradient(135deg, #df6138, #6b3245);
    border-color: rgba(107, 50, 69, 0.28);
    box-shadow: 0 10px 20px rgba(107, 50, 69, 0.12);
}

.mega-menu-actions a[href*='wa.me'] {
    color: #ffffff;
    background: #19aa4b;
    border-color: rgba(25, 170, 75, 0.28);
}

.home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-category-card span,
.home-category-card p,
.home-category-card strong,
.home-slide,
.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.page-hero,
.page-hero h1,
.page-hero p,
.page-hero .eyebrow,
.shop-hero,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.blog-hero,
.blog-hero h1,
.blog-hero p,
.blog-hero .eyebrow,
.blog-post-hero,
.blog-post-hero h1,
.blog-post-hero p,
.blog-post-hero .eyebrow,
.cta-band,
.cta-band h2,
.cta-band p,
.digital-side-panel,
.digital-side-panel strong,
.digital-side-panel li,
.benchmark-note,
.benchmark-note strong,
.benchmark-note p,
.print-production-card,
.print-production-card h2,
.print-production-card h3,
.print-production-card p,
.print-production-card span {
    color: #ffffff;
}

.color-theme-palette {
    left: 0;
    width: 34px;
    padding: 7px 4px;
    gap: 6px;
    opacity: 1;
    transform: translateX(0);
    transition: transform 240ms ease, box-shadow 180ms ease;
}

.color-theme-palette::before {
    content: '';
    position: absolute;
    inset: -10px -28px -10px 0;
    pointer-events: auto;
}

.color-theme-palette::after {
    right: -4px;
    width: 4px;
    border-radius: 0 999px 999px 0;
}

.color-theme-palette.is-tucked {
    opacity: 1;
    transform: translateX(calc(-100% + 12px));
}

.color-theme-palette.is-tucked:hover,
.color-theme-palette.is-tucked:focus-within,
.color-theme-palette:hover,
.color-theme-palette:focus-within {
    opacity: 1;
    transform: translateX(0);
}

.theme-swatch {
    width: 24px;
    height: 24px;
    padding: 2px;
}

@media (max-width: 1120px) {
    .site-nav a,
    .nav-dropdown-toggle {
        padding-inline: 8px;
        font-size: 0.82rem;
    }

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

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: auto auto;
        padding-inline: 14px;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-inline: 0;
    }

    .site-nav.is-open {
        max-height: calc(100vh - 78px);
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        justify-content: center;
        min-height: 42px;
        padding: 10px 12px;
        color: #14231b;
        text-align: center;
        background: #ffffff;
        border: 1px solid rgba(20, 35, 27, 0.1);
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(20, 35, 27, 0.05);
    }

    .site-nav a:hover,
    .site-nav a[aria-current='page'],
    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle.is-current,
    .nav-dropdown.is-open .nav-dropdown-toggle {
        color: #ffffff;
        background: #16713c;
    }

    .nav-dropdown,
    .mobile-menu-actions {
        grid-column: 1 / -1;
    }

    .nav-dropdown-panel,
    .mega-menu-panel {
        width: 100%;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        max-height: 2200px;
        padding-top: 8px;
    }

    .mega-menu-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mega-menu-lead {
        min-height: 160px;
        padding: 15px;
    }

    .mega-menu-visual {
        display: none;
    }

    .mega-menu-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mega-menu-group {
        gap: 7px;
    }

    .mega-menu-group h3 {
        font-size: 0.74rem;
    }

    .mega-menu-group a {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
        min-height: 66px;
        padding: 9px;
    }

    .mega-link-icon {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    .mega-menu-group small {
        display: none;
    }

    .mega-menu-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 8px;
        border-top: 0;
    }

    .mega-menu-actions a {
        justify-content: center;
        min-height: 40px;
        padding-inline: 8px;
        font-size: 0.76rem;
    }

    .mobile-menu-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-top: 0;
    }

    .mobile-menu-actions .mini-btn {
        min-height: 38px;
        padding-inline: 7px;
        font-size: 0.74rem;
    }

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

@media (max-width: 560px) {
    .site-nav,
    .mega-menu-columns,
    .mobile-menu-actions,
    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        justify-content: space-between;
        text-align: left;
    }

    .mega-menu-actions {
        grid-template-columns: 1fr;
    }
}

/* Final responsive containment pass for menu, sidebars, and compact screens. */
@media (min-width: 901px) {
    .mega-dropdown {
        position: static;
    }

    .mega-dropdown .nav-dropdown-toggle {
        position: relative;
    }

    .mega-dropdown .nav-dropdown-toggle::before {
        content: '';
        position: absolute;
        top: 100%;
        left: -18px;
        right: -18px;
        height: 24px;
    }

    .mega-dropdown .nav-dropdown-panel,
    .mega-dropdown .mega-menu-panel {
        top: calc(100% + 2px);
        left: 50%;
        right: auto;
        width: min(980px, calc(100vw - 28px));
        max-width: calc(100vw - 28px);
        transform: translate(-50%, 8px);
    }

    .mega-dropdown.is-open .nav-dropdown-panel,
    .mega-dropdown:hover .nav-dropdown-panel,
    .mega-dropdown:focus-within .nav-dropdown-panel {
        transform: translate(-50%, 0);
    }

    .mega-menu-panel {
        grid-template-columns: minmax(220px, 0.62fr) minmax(0, 2.2fr);
        gap: 14px;
        padding: 14px;
    }

    .mega-menu-columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .mega-menu-group a {
        grid-template-columns: 28px minmax(0, 1fr);
        min-height: 58px;
        padding: 9px;
    }

    .mega-menu-group strong,
    .mega-menu-group small {
        display: block;
        overflow-wrap: anywhere;
    }

    .mega-menu-group small {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mega-link-icon {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    .shop-sidebar,
    .blog-sidebar,
    .cms-sidebar {
        max-height: calc(100dvh - 118px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}

@media (max-width: 1080px) and (min-width: 901px) {
    .site-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-inline: 16px;
    }

    .brand-logo {
        max-width: 108px;
    }

    .brand-text small {
        display: none;
    }

    .site-nav {
        justify-self: end;
        gap: 2px;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        padding-inline: 7px;
        font-size: 0.78rem;
    }

    .header-call {
        padding-inline: 9px;
        font-size: 0.82rem;
    }
}

@media (max-width: 900px) {
    .site-nav {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        max-height: min(72dvh, 760px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 2px;
    }

    .mega-menu-lead {
        min-height: 0;
    }

    .mega-menu-lead small {
        max-width: 42rem;
    }

    .shop-layout .shop-sidebar {
        display: none;
    }

    .mobile-category-rail {
        max-height: 60px;
    }

    .blog-sidebar,
    .cms-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 640px) {
    .topbar-contact span {
        display: none;
    }

    .topbar-actions {
        gap: 8px;
    }

    .mega-menu-panel {
        gap: 8px;
    }

    .mega-menu-lead {
        padding: 13px;
    }

    .mega-menu-lead .eyebrow,
    .mega-menu-lead small {
        font-size: 0.74rem;
    }

    .mega-menu-lead strong {
        font-size: 1rem;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
    }

    .mega-menu-group {
        gap: 6px;
    }

    .mega-menu-group h3 {
        min-height: 24px;
        font-size: 0.72rem;
    }

    .mega-menu-group h3 i {
        width: 22px;
        height: 22px;
    }

    .mega-menu-group a {
        min-height: 46px;
        padding: 8px;
    }

    .mega-menu-group strong {
        font-size: 0.82rem;
    }

    .mobile-category-rail {
        top: 56px;
        padding-inline: 12px;
    }
}

/* Sidebar elegance pass: compact labels, calm surfaces, short-screen fit. */
.shop-sidebar,
.blog-sidebar,
.cms-sidebar,
.admin-nav {
    background:
        radial-gradient(circle at 18px 18px, rgba(25, 170, 75, 0.08), transparent 34px),
        linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
    border: 1px solid rgba(25, 86, 46, 0.12);
    box-shadow: 0 16px 42px rgba(17, 45, 29, 0.075);
}

.shop-sidebar h2,
.blog-sidebar-panel h2,
.cms-sidebar h2 {
    margin: 0 0 8px;
    color: #143a25;
    font-size: clamp(0.86rem, 0.7vw + 0.66rem, 1rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
}

.shop-sidebar a,
.blog-category-list a,
.blog-mini-list a,
.cms-sidebar a,
.admin-nav a {
    min-width: 0;
    overflow: hidden;
}

.shop-sidebar a,
.mobile-category-rail a,
.blog-category-list a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 8px;
    color: #234333;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(25, 86, 46, 0.1);
    border-radius: 8px;
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.blog-category-list a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #19aa4b 0%, #12813a 100%);
    border-color: rgba(25, 170, 75, 0.58);
    box-shadow: 0 10px 22px rgba(25, 170, 75, 0.14);
}

.blog-category-list span,
.blog-mini-list span,
.admin-nav a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-category-list strong {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 24px;
    padding-inline: 7px;
    color: #ffffff;
    font-size: 0.74rem;
    background: #19aa4b;
    border-radius: 999px;
}

.blog-sidebar-panel {
    background:
        radial-gradient(circle at top right, rgba(240, 82, 35, 0.07), transparent 74px),
        #ffffff;
    border-color: rgba(25, 86, 46, 0.11);
}

.blog-mini-list a {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
    min-height: 58px;
    padding: 7px;
    border-radius: 8px;
}

.blog-mini-list img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 7px;
}

.cms-sidebar {
    gap: 10px;
    padding: 16px;
}

.cms-sidebar p {
    display: -webkit-box;
    overflow: hidden;
    color: #496455;
    font-size: 0.88rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.admin-nav {
    background: linear-gradient(180deg, #153b26 0%, #102f1e 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-nav a {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 0.84rem;
}

.admin-nav-brand strong,
.admin-nav-brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 901px) {
    .shop-sidebar,
    .blog-sidebar,
    .cms-sidebar,
    .admin-nav {
        max-height: calc(100dvh - 112px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .shop-sidebar {
        padding: 14px;
        gap: 7px;
    }

    .blog-sidebar {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .mobile-category-rail {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 247, 0.96));
        border-bottom: 1px solid rgba(25, 86, 46, 0.12);
        box-shadow: 0 10px 24px rgba(17, 45, 29, 0.08);
    }

    .mobile-category-rail strong {
        color: #143a25;
        font-size: 0.72rem;
    }

    .mobile-category-rail a {
        max-width: 190px;
    }

    .blog-sidebar,
    .cms-sidebar {
        display: grid;
        gap: 12px;
    }

    .blog-sidebar-panel {
        padding: 14px;
    }
}

@media (max-width: 620px) {
    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-nav a {
        gap: 7px;
        min-height: 34px;
        font-size: 0.78rem;
    }

    .blog-category-list a,
    .mobile-category-rail a {
        font-size: 0.78rem;
    }
}

/* Final brand polish: calm colors, readable Work Sans, clean product UI. */
:root,
body[data-color-theme='ibiz'] {
    --clean-green: #176f3b;
    --clean-green-dark: #103f27;
    --clean-green-bright: #19aa4b;
    --clean-orange: #f05223;
    --clean-red: #cf2b27;
    --clean-purple: #3f2b46;
    --clean-ink: #14231b;
    --clean-body: #34453b;
    --clean-muted: #66756d;
    --clean-line: #dde9e0;
    --clean-soft: #f6faf7;
    --clean-soft-green: #eef8f2;
    --clean-surface: #ffffff;
    --clean-shadow: 0 14px 34px rgba(18, 56, 34, 0.08);
    --clean-shadow-lift: 0 22px 52px rgba(18, 56, 34, 0.13);
    --clean-action: linear-gradient(135deg, #f05223 0%, #cf2b27 58%, #471c54 100%);
    --clean-action-hover: linear-gradient(135deg, #df4b20 0%, #b92522 58%, #35203d 100%);
    --brand-primary: var(--clean-green);
    --brand-primary-dark: var(--clean-green-dark);
    --brand-action: var(--clean-orange);
    --brand-action-2: var(--clean-red);
    --brand-accent: var(--clean-green-bright);
    --page-bg: var(--clean-soft);
    --surface: var(--clean-surface);
    --surface-soft: var(--clean-soft-green);
    --text-strong: var(--clean-ink);
    --text-body: var(--clean-body);
    --text-muted: var(--clean-muted);
    --line-soft: rgba(23, 111, 59, 0.16);
}

body[data-color-theme='green'] {
    --clean-green: #17884a;
    --clean-green-dark: #0d4b2b;
    --clean-orange: #e96534;
    --clean-red: #b83b35;
    --clean-purple: #26372d;
    --clean-soft: #f4fbf6;
    --clean-soft-green: #ebf8ef;
}

body[data-color-theme='orange'] {
    --clean-green: #176b37;
    --clean-green-dark: #103f27;
    --clean-orange: #df6738;
    --clean-red: #ba4134;
    --clean-purple: #35263c;
    --clean-soft: #fff8f4;
    --clean-soft-green: #fff1ea;
}

body[data-color-theme='red'] {
    --clean-green: #8f3534;
    --clean-green-dark: #5f2025;
    --clean-orange: #dd6139;
    --clean-red: #cf2b27;
    --clean-purple: #342236;
    --clean-soft: #fff7f6;
    --clean-soft-green: #fff0ef;
}

body[data-color-theme='purple'] {
    --clean-green: #4f3a58;
    --clean-green-dark: #2f2137;
    --clean-orange: #db6338;
    --clean-red: #a93b37;
    --clean-purple: #471c54;
    --clean-soft: #f8f6f9;
    --clean-soft-green: #f1edf4;
}

body {
    color: var(--clean-body);
    background: var(--clean-soft);
    font-family: var(--font-sans);
    font-weight: 400;
}

h1,
h2,
h3,
.brand strong,
.product-card h3,
.mega-menu-group strong,
.section-heading h2,
.decorated-heading h2 {
    color: var(--clean-ink);
    font-weight: 650;
    letter-spacing: 0;
}

p,
li,
small,
.product-card p,
.service-card p,
.digital-package-card p,
.digital-mini-card p,
.project-card p {
    color: var(--clean-muted);
    font-weight: 400;
}

.topbar {
    color: #ffffff;
    background: #19aa4b;
}

.topbar a,
.topbar span,
.topbar-contact i {
    color: #ffffff;
}

.topbar-socials a {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.24);
}

.topbar-socials a:hover {
    color: #176f3b;
    background: #ffffff;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(23, 111, 59, 0.1);
    box-shadow: 0 8px 22px rgba(18, 56, 34, 0.06);
}

.site-nav a,
.nav-dropdown-toggle {
    color: #34453b;
    font-weight: 560;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
.mega-dropdown.is-open .nav-dropdown-toggle {
    color: #ffffff;
    background: var(--clean-green);
    border-color: rgba(23, 111, 59, 0.24);
    box-shadow: 0 8px 18px rgba(23, 111, 59, 0.13);
}

.header-call,
.btn-primary,
.page-hero .btn-primary,
.shop-hero .btn-primary,
.home-slide .btn-primary,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2),
.inline-cart-form button[value='buy'],
.product-buy-panel .hero-actions button[value='buy'],
.product-buy-panel .hero-actions .btn-secondary,
.ai-float-toggle {
    color: #ffffff;
    background: var(--clean-action);
    border-color: rgba(207, 43, 39, 0.28);
    box-shadow: 0 12px 24px rgba(207, 43, 39, 0.13);
}

.header-call:hover,
.btn-primary:hover,
.page-hero .btn-primary:hover,
.shop-hero .btn-primary:hover,
.home-slide .btn-primary:hover {
    color: #ffffff;
    background: var(--clean-action-hover);
}

.btn-secondary,
.page-hero .btn-secondary,
.shop-hero .btn-secondary,
.home-slide .btn-secondary,
.card-actions .mini-btn,
.card-actions .mini-btn.subtle,
.card-actions .inline-cart-form button[value='add'] {
    color: var(--clean-ink);
    background: #ffffff;
    border: 1px solid var(--clean-line);
    box-shadow: none;
}

.card-actions .inline-cart-form button[value='buy'] {
    color: #ffffff;
    background: var(--clean-action);
    border-color: rgba(207, 43, 39, 0.28);
}

.btn-whatsapp,
.btn[href*='wa.me'],
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.mega-menu-actions a[href*='wa.me'],
.whatsapp-chat-toggle,
.whatsapp-chat-link {
    color: #ffffff;
    background: #19aa4b;
    border-color: #19aa4b;
    box-shadow: 0 12px 24px rgba(25, 170, 75, 0.18);
}

.page-hero,
.shop-hero,
.package-hero,
.product-hero,
.blog-hero {
    position: relative;
    min-height: 300px;
    display: grid;
    align-content: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background-color: #123f28;
    background-image: var(--title-image, url('../img/hero-studio.avif'));
    background-position: center;
    background-size: cover;
    background-blend-mode: normal;
    box-shadow: inset 0 0 0 2000px rgba(7, 28, 18, 0.84);
}

.shop-hero {
    background-image: url('../img/home-products.avif');
    grid-template-columns: minmax(0, 1fr) auto;
}

.blog-hero {
    background-image: url('../img/home-digital.avif');
}

.web-hero {
    background-image: url('../img/products/web-business-website-package.avif');
}

.social-hero {
    background-image: url('../img/products/social-growth-ads-package.avif');
}

.seo-hero {
    background-image: url('../img/products/seo-growth-package.avif');
}

.ads-hero {
    background-image: url('../img/products/paid-ads-launch-package.avif');
}

.print-brand-hero {
    background-image: url('../img/print-production-lab.avif');
}

.academic-hero {
    background-image: url('../img/home-digital.avif');
}

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

.page-hero h1,
.page-hero p,
.page-hero p:not(.eyebrow),
.page-hero .eyebrow,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.shop-hero-points span,
.blog-hero h1,
.blog-hero p,
.blog-hero .eyebrow,
.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.media-spotlight-copy,
.media-spotlight-copy h2,
.media-spotlight-copy p,
.media-hero-copy,
.media-hero-copy h1,
.media-hero-copy p,
.cta-band,
.cta-band h2,
.cta-band p,
.mega-menu-lead,
.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.page-hero h1,
.shop-hero h1,
.blog-hero h1 {
    max-width: 840px;
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    line-height: 1.06;
    font-weight: 650;
}

.page-hero p:not(.eyebrow),
.shop-hero p,
.blog-hero p:not(.eyebrow) {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.eyebrow {
    color: var(--clean-green);
    font-weight: 650;
}

.home-slide {
    min-height: 450px;
    background-color: #123f28;
    background-blend-mode: normal;
    box-shadow: inset 0 0 0 2000px rgba(11, 45, 27, 0.68);
}

.home-slide::after {
    background: rgba(11, 45, 27, 0.08);
}

.home-slide-inner {
    min-height: 450px;
    padding: 34px 0 72px;
}

.home-slide-copy {
    max-width: min(720px, 82vw);
}

.home-slide h1 {
    max-width: 760px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.06;
    font-weight: 650;
}

.home-slide .hero-copy {
    max-width: 620px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    line-height: 1.5;
}

.home-shop-finder {
    width: min(820px, calc(100% - 36px));
    margin: -34px auto 48px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.finder-control,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control,
.blog-search-form {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.finder-control input,
.shop-search-band input,
.blog-search-form input {
    min-height: 54px;
    padding: 14px 22px 14px 52px;
    color: var(--clean-ink);
    font-weight: 450;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(18, 56, 34, 0.12);
}

.finder-control input:focus,
.shop-search-band input:focus,
.blog-search-form input:focus {
    outline: 0;
    box-shadow: 0 16px 38px rgba(18, 56, 34, 0.16), 0 0 0 3px rgba(25, 170, 75, 0.12);
}

.ai-search-mark {
    left: 18px;
    right: auto;
    color: #708178;
    font-size: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ai-live-results {
    border-color: var(--clean-line);
    box-shadow: 0 22px 54px rgba(18, 56, 34, 0.16);
}

.ai-live-suggestion,
.ai-live-view {
    color: var(--clean-ink);
    background: #ffffff;
    border-color: var(--clean-line);
    font-weight: 560;
}

.ai-live-suggestion:hover,
.ai-live-view:hover {
    color: #ffffff;
    background: var(--clean-green);
    border-color: var(--clean-green);
}

.section {
    padding-top: clamp(54px, 6vw, 86px);
    padding-bottom: clamp(54px, 6vw, 86px);
}

.section-heading,
.decorated-heading {
    margin-bottom: clamp(22px, 3vw, 34px);
}

.decorated-heading::after {
    background: var(--clean-orange);
}

.product-card::before {
    display: none;
}

.product-card,
.service-card,
.digital-package-card,
.digital-mini-card,
.project-card,
.faq-card,
.media-price-card,
.home-project-card,
.contact-grid article,
.quote-form,
.product-buy-panel,
.blog-sidebar-panel,
.blog-featured-card,
.shop-sidebar,
.mega-menu-panel {
    background: #ffffff;
    border-color: var(--clean-line);
    box-shadow: var(--clean-shadow);
}

.product-card:hover,
.service-card:hover,
.digital-package-card:hover,
.digital-mini-card:hover,
.project-card:hover,
.faq-card:hover {
    border-color: rgba(25, 170, 75, 0.34);
    box-shadow: var(--clean-shadow-lift);
}

.product-card span,
.product-card strong,
.package-price,
.price-line,
.cart-summary strong,
.contact-grid a,
.service-card a,
.section-heading a,
.admin-toolbar a {
    color: var(--clean-green);
    font-weight: 650;
}

.product-tag,
.shop-tag,
.ai-match-reason {
    color: #234333;
    background: var(--clean-soft-green);
    border-color: rgba(25, 170, 75, 0.18);
    font-weight: 560;
}

.product-tag:hover,
.shop-tag:hover,
.shop-tag.is-active {
    color: #ffffff;
    background: var(--clean-green);
    border-color: var(--clean-green);
}

.mega-dropdown .mega-menu-panel {
    width: min(940px, calc(100vw - 28px));
}

.mega-menu-lead {
    background-color: #143a25;
    background-image: url('../img/print-production-lab.avif');
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 900px rgba(13, 52, 31, 0.82);
}

.mega-menu-group h3 {
    color: var(--clean-ink);
    font-weight: 650;
}

.mega-menu-group h3 i,
.mega-link-icon {
    color: var(--clean-green);
    background: var(--clean-soft-green);
}

.mega-menu-group a {
    color: var(--clean-ink);
    border-color: var(--clean-line);
}

.mega-menu-group a:hover {
    background: #f8fbf9;
    border-color: rgba(25, 170, 75, 0.26);
}

.mega-menu-group small {
    color: var(--clean-muted);
}

.shop-sidebar,
.blog-sidebar,
.cms-sidebar {
    background: #ffffff;
    border-color: var(--clean-line);
}

.shop-sidebar h2,
.blog-sidebar-panel h2,
.cms-sidebar h2 {
    color: var(--clean-ink);
    font-weight: 650;
}

.shop-sidebar a,
.mobile-category-rail a,
.blog-category-list a {
    color: #234333;
    background: #ffffff;
    border-color: var(--clean-line);
    font-weight: 560;
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.blog-category-list a:hover {
    color: #ffffff;
    background: var(--clean-green);
    border-color: var(--clean-green);
}

.cms-page-hero h1,
.blog-post-hero h1 {
    color: var(--clean-ink);
    font-weight: 650;
}

.cms-page-hero p:not(.eyebrow),
.blog-post-hero p {
    color: var(--clean-muted);
}

.blog-post-hero {
    color: var(--clean-body);
    background: transparent;
}

.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background: #232323;
}

.site-footer h2,
.footer-brand strong,
.site-footer a,
.site-footer span,
.site-footer .footer-contact-item,
.site-footer .footer-socials a {
    color: #ffffff;
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact-icon {
    color: #ffffff !important;
    background: rgba(25, 170, 75, 0.22);
    border-color: rgba(25, 170, 75, 0.38);
}

.site-footer .footer-socials a:hover {
    background: var(--clean-orange);
}

.color-theme-palette {
    width: 32px;
    padding: 7px 4px;
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(23, 111, 59, 0.16);
    opacity: 1;
    box-shadow: 0 14px 32px rgba(18, 56, 34, 0.14);
}

.color-theme-palette::after {
    background: var(--clean-green);
}

.color-theme-palette.is-tucked {
    opacity: 1;
    transform: translateX(calc(-100% + 11px));
}

.color-theme-palette.is-tucked:hover,
.color-theme-palette.is-tucked:focus-within,
.color-theme-palette:hover,
.color-theme-palette:focus-within {
    opacity: 1;
    transform: translateX(0);
}

.theme-swatch {
    width: 24px;
    height: 24px;
    border-color: rgba(20, 35, 27, 0.16);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #176f3b 0 34%, #f05223 34% 67%, #471c54 67% 100%);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #19aa4b, #103f27);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #f05223, #8b3b26);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #cf2b27, #5f2025);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #785484, #2f2137);
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'] {
    border-color: var(--clean-green);
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.14), 0 8px 18px rgba(18, 56, 34, 0.14);
}

@media (max-width: 900px) {
    .page-hero,
    .shop-hero,
    .package-hero,
    .product-hero,
    .blog-hero {
        min-height: 260px;
        padding: 32px 18px 30px;
    }

    .site-nav {
        background: #f7fbf8;
        border-radius: 0 0 14px 14px;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        color: var(--clean-ink);
        background: #ffffff;
        border-color: var(--clean-line);
        font-weight: 560;
    }

    .mega-menu-panel {
        width: 100%;
    }

    .mega-menu-lead {
        gap: 8px;
        padding: 14px;
        min-height: 0;
    }

    .mega-menu-lead::before {
        display: none !important;
    }

    .mega-menu-lead small {
        display: none;
    }

    .mega-menu-lead strong {
        font-size: 1rem;
        line-height: 1.2;
    }

    .mega-menu-lead a {
        display: none;
    }

    .mega-menu-columns {
        margin-top: 8px;
    }

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

@media (max-width: 640px) {
    .home-slide-inner {
        min-height: 450px;
        padding: 30px 0 64px;
    }

    .home-slide h1 {
        font-size: clamp(1.78rem, 8.4vw, 2.55rem);
    }

    .home-slide .hero-copy {
        font-size: 0.92rem;
    }

    .home-shop-finder {
        width: min(100% - 28px, 820px);
        margin-top: -32px;
        margin-bottom: 34px;
    }

    .finder-control input,
    .shop-search-band input,
    .blog-search-form input {
        min-height: 50px;
        padding-left: 50px;
    }

    .page-hero,
    .shop-hero,
    .package-hero,
    .product-hero,
    .blog-hero {
        min-height: 230px;
    }

    .page-hero h1,
    .shop-hero h1,
    .blog-hero h1 {
        font-size: clamp(1.65rem, 7.8vw, 2.2rem);
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Final spacing and footer texture pass. */
.home-shop-finder {
    margin-bottom: clamp(20px, 3vw, 34px);
}

.section,
.product-band,
.home-category-section,
.home-portfolio-section,
.client-logo-section,
.home-product-rows,
.product-row-section {
    padding-top: clamp(44px, 5vw, 72px);
    padding-bottom: clamp(44px, 5vw, 72px);
}

.home-category-section {
    padding-top: clamp(30px, 3.4vw, 48px);
}

.section-heading,
.decorated-heading,
.digital-section-heading {
    margin-bottom: clamp(20px, 2.6vw, 32px);
}

.home-product-rows,
.media-lanes,
.digital-package-grid,
.digital-card-grid,
.project-grid,
.faq-grid,
.benchmark-grid,
.service-grid,
.product-grid {
    gap: clamp(18px, 2.2vw, 28px);
}

.product-card {
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
}

.product-card .card-actions {
    align-self: end;
}

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    background-color: #232323;
    background-image:
        linear-gradient(90deg, rgba(35, 35, 35, 0.96) 0%, rgba(35, 35, 35, 0.93) 56%, rgba(35, 35, 35, 0.97) 100%),
        url('../img/footer-ibiz-office-branded.avif');
    background-position: center;
    background-size: cover;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-band {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(18, 63, 40, 0.98), rgba(35, 35, 35, 0.96)),
        url('../img/print-production-detail.avif') center/cover;
}

.cta-band .eyebrow,
.cta-band h2,
.cta-band p {
    color: #ffffff;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 18%, rgba(25, 170, 75, 0.16), transparent 24%),
        radial-gradient(circle at 86% 24%, rgba(240, 82, 35, 0.11), transparent 22%);
    opacity: 0.72;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer h2,
.footer-brand strong,
.site-footer a,
.site-footer span,
.site-footer .footer-contact-item,
.site-footer .footer-socials a {
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-contact-icon {
    background: rgba(25, 170, 75, 0.28);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.footer-contact-icon.whatsapp-icon {
    background: rgba(25, 170, 75, 0.34);
    border-color: rgba(25, 170, 75, 0.42);
}

.site-footer .footer-socials a {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-footer,
.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer span:not(.footer-contact-icon),
.footer-brand strong,
.footer-brand small {
    font-family: var(--font-sans);
    letter-spacing: 0;
}

.site-footer h2 {
    font-size: 0.96rem;
    font-weight: 400;
}

.site-footer a,
.site-footer .footer-contact-item,
.footer-brand strong {
    font-weight: 400;
}

.footer-brand small,
.site-footer p {
    font-weight: 400;
}

.site-footer .footer-contact-icon {
    width: 40px;
    height: 40px;
    color: #232323 !important;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.site-footer .footer-contact-icon i {
    color: inherit;
    font-size: 1rem;
    line-height: 1;
    text-shadow: none;
}

.site-footer .footer-contact-icon.phone-icon {
    color: #19aa4b !important;
}

.site-footer .footer-contact-icon.email-icon {
    color: #f05223 !important;
}

.site-footer .footer-contact-icon.whatsapp-icon {
    color: #ffffff !important;
    background: #25d366;
    border-color: rgba(37, 211, 102, 0.68);
}

.site-footer .footer-contact-icon.location-icon {
    color: #cf2b27 !important;
}

.site-footer .footer-socials {
    gap: 10px;
}

.site-footer .footer-socials a.footer-social-link {
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 1rem;
    background: #232323;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.site-footer .footer-socials a.footer-social-link i {
    color: inherit;
    text-shadow: none;
}

.site-footer .footer-socials a.footer-social-facebook {
    background: #1877f2;
    border-color: rgba(24, 119, 242, 0.64);
}

.site-footer .footer-socials a.footer-social-instagram {
    background: #e4405f;
    border-color: rgba(228, 64, 95, 0.64);
}

.site-footer .footer-socials a.footer-social-tiktok {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.28);
}

.site-footer .footer-socials a.footer-social-tiktok i {
    text-shadow: 1px 0 #25f4ee, -1px 0 #fe2c55;
}

.site-footer .footer-socials a.footer-social-linkedin {
    background: #0a66c2;
    border-color: rgba(10, 102, 194, 0.68);
}

.site-footer .footer-socials a.footer-social-x {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.28);
}

.site-footer .footer-socials a.footer-social-link:hover {
    color: #232323;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.72);
    transform: translateY(-2px);
}

.academic-home-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: stretch;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(14, 76, 40, 0.97), rgba(35, 35, 35, 0.96)),
        url('../img/home-digital.avif') center/cover;
}

.academic-home-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.academic-home-copy h2,
.academic-home-copy p,
.academic-home-copy .eyebrow {
    color: #ffffff;
}

.academic-home-copy h2 {
    max-width: 860px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.08;
}

.academic-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.academic-stat-row span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.academic-stat-row strong {
    color: #ffffff;
}

.academic-home-panel {
    display: grid;
    gap: 10px;
    align-content: center;
}

.academic-home-panel a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    color: #232323;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.academic-home-panel span,
.academic-home-panel strong {
    color: #232323;
}

.academic-course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.academic-lead .digital-side-panel {
    background:
        linear-gradient(135deg, rgba(19, 107, 55, 0.98), rgba(35, 35, 35, 0.96)),
        url('../img/home-digital.avif') center/cover;
}

.form-security-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.quick-tag-rail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    overflow: hidden;
    padding: 8px 0 6px;
    scrollbar-width: none;
}

.quick-tag-rail::-webkit-scrollbar {
    display: none;
}

.quick-tag-window {
    position: relative;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
}

.quick-tag-track {
    display: flex;
    width: max-content;
    gap: 8px;
    align-items: center;
    animation: quick-tags-left 44s linear infinite;
    will-change: transform;
}

.quick-tag-rail:hover .quick-tag-track,
.quick-tag-rail:focus-within .quick-tag-track {
    animation-play-state: paused;
}

.quick-tag-rail .shop-tag {
    box-shadow: 0 8px 20px rgba(18, 63, 40, 0.07);
}

@keyframes quick-tags-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-tag-window {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .quick-tag-track {
        animation: none;
    }
}

.service-reel-section {
    padding-top: clamp(32px, 4vw, 56px);
}

.service-reel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(16px, 2vw, 24px);
    padding: clamp(14px, 2vw, 20px);
    color: #ffffff;
    background: #123f28;
    border-radius: 8px;
    box-shadow: 0 24px 56px rgba(18, 63, 40, 0.16);
}

.service-reel-stage {
    position: relative;
    min-height: clamp(360px, 40vw, 500px);
    overflow: hidden;
    border-radius: 8px;
    background: #0f2f1f;
}

.service-reel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 520ms ease, transform 1100ms ease;
    pointer-events: none;
}

.service-reel-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.service-reel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-reel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 24, 14, 0.68), rgba(5, 24, 14, 0.22) 58%, rgba(5, 24, 14, 0.08));
}

.service-reel-caption {
    position: absolute;
    left: clamp(18px, 3vw, 38px);
    bottom: clamp(18px, 3vw, 36px);
    z-index: 1;
    max-width: min(570px, calc(100% - 42px));
    color: #ffffff;
}

.service-reel-caption span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-reel-caption span i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    background: #19aa4b;
    border-radius: 999px;
}

.service-reel-caption h3 {
    max-width: 640px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 3.05rem);
    line-height: 1.05;
    font-weight: 560;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.service-reel-caption a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #f05223, #8a3553);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.service-reel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
    background: rgba(18, 63, 40, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    transform: translateY(-50%);
    cursor: pointer;
}

.service-reel-arrow.prev {
    left: 14px;
}

.service-reel-arrow.next {
    right: 14px;
}

.service-reel-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: clamp(16px, 2vw, 24px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.service-reel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 650;
    text-transform: uppercase;
}

.service-reel-kicker i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #ffffff;
    background: #cf2b27;
    border-radius: 999px;
}

.service-reel-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.58;
}

.service-reel-thumbs {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.service-reel-thumb {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.86);
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
}

.service-reel-thumb.is-active,
.service-reel-thumb:hover {
    color: #ffffff;
    background: rgba(25, 170, 75, 0.28);
    border-color: rgba(25, 170, 75, 0.52);
}

.service-reel-thumb span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.service-reel-thumb strong {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 0.94rem;
    font-weight: 560;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .academic-home-band,
    .academic-course-grid,
    .service-reel {
        grid-template-columns: 1fr;
    }

    .academic-home-panel a {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 900px) {
    .section,
    .product-band,
    .home-category-section,
    .home-portfolio-section,
    .client-logo-section,
    .home-product-rows,
    .product-row-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .home-category-section {
        padding-top: 28px;
    }

    .service-reel-side {
        padding: 16px;
    }

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

@media (max-width: 640px) {
    .section,
    .product-band,
    .home-category-section,
    .home-portfolio-section,
    .client-logo-section,
    .home-product-rows,
    .product-row-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .home-category-section {
        padding-top: 24px;
    }

    .service-reel {
        padding: 10px;
    }

    .service-reel-stage {
        min-height: 330px;
    }

    .service-reel-caption {
        left: 18px;
        right: 18px;
        bottom: 20px;
        max-width: none;
    }

    .service-reel-caption h3 {
        font-size: clamp(1.45rem, 8vw, 2.05rem);
    }

    .service-reel-arrow {
        top: 40%;
        width: 38px;
        height: 38px;
    }

    .service-reel-thumbs {
        grid-template-columns: 1fr;
    }

    .site-footer {
        gap: 26px;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

/* Final mega menu and footer colour polish. */
.mega-menu-group h3 {
    width: max-content;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 10px 6px 7px;
    color: var(--mega-heading-text, #123f28);
    background: var(--mega-heading-bg, #edf8f1);
    border: 1px solid var(--mega-heading-line, rgba(25, 170, 75, 0.2));
    border-radius: 999px;
}

.mega-menu-group h3 i {
    color: #ffffff;
    background: var(--mega-heading-text, #19aa4b);
}

.mega-menu-group:nth-child(1) {
    --mega-heading-text: #13833f;
    --mega-heading-bg: #edf9f1;
    --mega-heading-line: rgba(25, 170, 75, 0.28);
}

.mega-menu-group:nth-child(2) {
    --mega-heading-text: #b82623;
    --mega-heading-bg: #fff1f0;
    --mega-heading-line: rgba(207, 43, 39, 0.24);
}

.mega-menu-group:nth-child(3) {
    --mega-heading-text: #c44717;
    --mega-heading-bg: #fff3ed;
    --mega-heading-line: rgba(240, 82, 35, 0.28);
}

.mega-menu-group:nth-child(4) {
    --mega-heading-text: #471c54;
    --mega-heading-bg: #f8f1fa;
    --mega-heading-line: rgba(71, 28, 84, 0.22);
}

.site-footer {
    background-color: #14552e;
    background-image:
        linear-gradient(90deg, rgba(13, 86, 45, 0.94) 0%, rgba(17, 102, 52, 0.9) 54%, rgba(71, 28, 84, 0.88) 100%),
        url('../img/footer-ibiz-office-branded.avif');
}

.site-footer::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at 88% 22%, rgba(240, 82, 35, 0.2), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(25, 170, 75, 0.08));
    opacity: 1;
}

/* Final palette fix: keep it centered when tucked and make selection obvious. */
.color-theme-palette {
    left: 0;
    width: 36px;
    padding: 8px 5px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 83, 43, 0.16);
    box-shadow: 0 18px 40px rgba(18, 56, 34, 0.15);
    transform: translate(0, -50%);
    transition: transform 320ms ease, box-shadow 180ms ease;
}

.color-theme-palette::after {
    right: -5px;
    width: 5px;
    height: 54px;
    background: #19aa4b;
    box-shadow: 5px 0 16px rgba(25, 170, 75, 0.22);
}

.color-theme-palette.is-tucked {
    opacity: 1;
    transform: translate(calc(-100% + 12px), -50%);
}

.color-theme-palette.is-tucked:hover,
.color-theme-palette.is-tucked:focus-within,
.color-theme-palette:hover,
.color-theme-palette:focus-within {
    opacity: 1;
    transform: translate(0, -50%);
}

.theme-swatch {
    position: relative;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(20, 35, 27, 0.16);
}

.theme-swatch-mix {
    --swatch: linear-gradient(135deg, #19aa4b 0 36%, #f05223 36% 68%, #471c54 68% 100%);
}

.theme-swatch-green {
    --swatch: linear-gradient(135deg, #31b863, #0d5b31);
}

.theme-swatch-orange {
    --swatch: linear-gradient(135deg, #f05223, #7a3a2b);
}

.theme-swatch-red {
    --swatch: linear-gradient(135deg, #cf2b27, #6d2429);
}

.theme-swatch-purple {
    --swatch: linear-gradient(135deg, #7a5a84, #33233b);
}

.theme-swatch[aria-pressed='true'] {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px #19aa4b, 0 8px 18px rgba(18, 56, 34, 0.18);
    transform: scale(1.06);
}

.theme-swatch[aria-pressed='true']::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

/* Palette themes must affect the polished final UI, not only early variables. */
body[data-color-theme='ibiz'] {
    --palette-primary: #176f3b;
    --palette-primary-dark: #103f27;
    --palette-secondary: #471c54;
    --palette-action: #f05223;
    --palette-action-2: #cf2b27;
    --palette-soft: #f6faf7;
    --palette-soft-2: #eef8f2;
    --palette-line: rgba(25, 170, 75, 0.22);
    --palette-glow: rgba(25, 170, 75, 0.16);
}

body[data-color-theme='green'] {
    --palette-primary: #158647;
    --palette-primary-dark: #0d4d2d;
    --palette-secondary: #2d553a;
    --palette-action: #df6a39;
    --palette-action-2: #ba4435;
    --palette-soft: #f3fbf6;
    --palette-soft-2: #eaf8ef;
    --palette-line: rgba(25, 170, 75, 0.26);
    --palette-glow: rgba(25, 170, 75, 0.18);
}

body[data-color-theme='orange'] {
    --palette-primary: #b65331;
    --palette-primary-dark: #783320;
    --palette-secondary: #176b37;
    --palette-action: #f05223;
    --palette-action-2: #bd4534;
    --palette-soft: #fff8f4;
    --palette-soft-2: #fff0e9;
    --palette-line: rgba(240, 82, 35, 0.24);
    --palette-glow: rgba(240, 82, 35, 0.17);
}

body[data-color-theme='red'] {
    --palette-primary: #a93434;
    --palette-primary-dark: #651f25;
    --palette-secondary: #176b37;
    --palette-action: #cf2b27;
    --palette-action-2: #8e2d32;
    --palette-soft: #fff7f6;
    --palette-soft-2: #fff0ef;
    --palette-line: rgba(207, 43, 39, 0.22);
    --palette-glow: rgba(207, 43, 39, 0.16);
}

body[data-color-theme='purple'] {
    --palette-primary: #55345f;
    --palette-primary-dark: #2f2137;
    --palette-secondary: #176b37;
    --palette-action: #df6338;
    --palette-action-2: #a93b37;
    --palette-soft: #f8f6f9;
    --palette-soft-2: #f1edf4;
    --palette-line: rgba(71, 28, 84, 0.2);
    --palette-glow: rgba(71, 28, 84, 0.15);
}

body[data-color-theme] {
    --theme-a: var(--palette-primary);
    --theme-b: var(--palette-action);
    --theme-c: var(--palette-action-2);
    --theme-d: var(--palette-secondary);
    --theme-soft: var(--palette-soft);
    --theme-soft-2: var(--palette-soft-2);
    --theme-line: var(--palette-line);
    --theme-glow: var(--palette-glow);
    --brand-primary: var(--palette-primary);
    --brand-primary-dark: var(--palette-primary-dark);
    --brand-secondary: var(--palette-secondary);
    --brand-action: var(--palette-action);
    --brand-action-2: var(--palette-action-2);
    --brand-depth: var(--palette-primary-dark);
    --brand-accent: var(--palette-secondary);
    --clean-green: var(--palette-primary);
    --clean-green-dark: var(--palette-primary-dark);
    --clean-green-bright: var(--palette-primary);
    --clean-orange: var(--palette-action);
    --clean-red: var(--palette-action-2);
    --clean-purple: var(--palette-secondary);
    --clean-soft: var(--palette-soft);
    --clean-soft-green: var(--palette-soft-2);
    --clean-line: var(--palette-line);
    --clean-shadow: 0 14px 34px var(--palette-glow);
    --clean-shadow-lift: 0 22px 52px color-mix(in srgb, var(--palette-primary) 22%, transparent);
    --clean-action: linear-gradient(135deg, var(--palette-action) 0%, var(--palette-action-2) 58%, var(--palette-secondary) 100%);
    --clean-action-hover: linear-gradient(135deg, color-mix(in srgb, var(--palette-action) 86%, #000000) 0%, color-mix(in srgb, var(--palette-action-2) 88%, #000000) 58%, color-mix(in srgb, var(--palette-secondary) 88%, #000000) 100%);
    --page-bg: var(--palette-soft);
    --surface-soft: var(--palette-soft-2);
}

body[data-color-theme] .topbar,
body[data-color-theme] .nav-toggle,
body[data-color-theme] .ai-float-toggle {
    background: var(--palette-primary);
}

body[data-color-theme] .site-nav a:hover,
body[data-color-theme] .site-nav a[aria-current='page'],
body[data-color-theme] .nav-dropdown-toggle:hover,
body[data-color-theme] .nav-dropdown-toggle.is-current,
body[data-color-theme] .mega-dropdown.is-open .nav-dropdown-toggle {
    color: #ffffff;
    background: var(--palette-primary);
    border-color: color-mix(in srgb, var(--palette-primary) 32%, transparent);
    box-shadow: 0 8px 18px var(--palette-glow);
}

body[data-color-theme] .btn-primary,
body[data-color-theme] .mini-btn:not(.subtle),
body[data-color-theme] .product-card .card-actions a:first-child,
body[data-color-theme] .package-card .btn,
body[data-color-theme] .quote-submit {
    color: #ffffff;
    background: var(--clean-action);
    border-color: transparent;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--palette-action) 20%, transparent);
}

body[data-color-theme] .section-heading::after,
body[data-color-theme] .decorated-heading::after,
body[data-color-theme] .digital-section-heading::after,
body[data-color-theme] .product-row-heading::after {
    background: var(--palette-action);
}

body[data-color-theme] .product-tag:hover,
body[data-color-theme] .shop-tag:hover,
body[data-color-theme] .shop-tag.is-active {
    color: #ffffff;
    background: var(--palette-primary);
    border-color: var(--palette-primary);
}

body[data-color-theme] .mega-link-icon,
body[data-color-theme] .footer-contact-icon.phone-icon {
    color: var(--palette-primary) !important;
    background: var(--palette-soft-2);
}

body[data-color-theme] .site-footer {
    background-color: var(--palette-primary-dark);
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--palette-primary-dark) 94%, transparent) 0%, color-mix(in srgb, var(--palette-primary) 90%, transparent) 54%, color-mix(in srgb, var(--palette-secondary) 88%, transparent) 100%),
        url('../img/footer-ibiz-office-branded.avif');
}

body[data-color-theme] .site-footer::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at 88% 22%, color-mix(in srgb, var(--palette-action) 22%, transparent), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), color-mix(in srgb, var(--palette-primary) 12%, transparent));
}

body[data-color-theme] .color-theme-palette::after {
    background: var(--palette-primary);
    box-shadow: 5px 0 16px var(--palette-glow);
}

body[data-color-theme] .theme-swatch[aria-pressed='true'],
body[data-color-theme] .theme-swatch.is-active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px var(--palette-primary), 0 8px 18px var(--palette-glow);
}

.profile-brochure-shell {
    padding: 24px clamp(18px, 4vw, 54px) 46px;
    background: linear-gradient(180deg, #f4efe8 0%, #f7f3ef 100%);
}

.profile-brochure-header {
    width: min(var(--max), 1180px);
    margin: 0 auto 20px;
    padding: 12px 0 0;
    text-align: center;
}

.profile-brochure-header h1 {
    margin: 8px 0 0;
    color: var(--purple-dark);
    font-size: clamp(2.1rem, 4vw, 4rem);
    letter-spacing: -0.04em;
}

.profile-brochure-header p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-document-viewer {
    width: min(var(--max), 1180px);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.profile-page {
    position: relative;
    min-height: 210mm;
    background: #ffffff;
    border: 1px solid rgba(31, 64, 45, 0.12);
    border-radius: 18px;
    box-shadow: 0 22px 52px rgba(16, 31, 23, 0.08);
    overflow: hidden;
}

.profile-page-inner {
    display: grid;
    gap: 22px;
    min-height: 210mm;
    padding: clamp(24px, 3vw, 42px);
}

.profile-cover-page .profile-page-inner {
    background: linear-gradient(135deg, rgba(25, 170, 75, 0.18), rgba(35, 12, 42, 0.9) 42%, rgba(71, 28, 84, 0.95));
    color: #ffffff;
}

.profile-cover-topline,
.profile-cover-brand,
.profile-cover-grid,
.profile-two-column,
.profile-stat-row,
.profile-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-cover-topline {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.profile-cover-brand {
    justify-content: flex-start;
    gap: 16px;
    margin-top: 18px;
}

.profile-logo-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #19aa4b, #cf2b27);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(25, 170, 75, 0.32);
}

.profile-cover-brand strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.profile-cover-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-cover-copy {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin-top: 16px;
}

.profile-cover-copy h2 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.profile-cover-copy p:not(.eyebrow) {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    line-height: 1.65;
}

.profile-cover-grid {
    align-items: flex-end;
    gap: 18px;
    margin-top: auto;
}

.profile-cover-grid > div {
    display: grid;
    gap: 6px;
    flex: 1;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.profile-cover-grid strong {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.profile-cover-grid span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.profile-page-heading {
    display: grid;
    gap: 8px;
}

.profile-page-heading h3 {
    margin: 0;
    color: var(--purple-dark);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.profile-page-heading .eyebrow {
    margin: 0;
}

.profile-two-column {
    align-items: flex-start;
    gap: 24px;
}

.profile-two-column > div {
    flex: 1;
}

.profile-two-column p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.profile-metric-stack {
    display: grid;
    gap: 12px;
}

.profile-metric-stack > div {
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(25, 170, 75, 0.06), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(31, 64, 45, 0.08);
    border-radius: 12px;
}

.profile-metric-stack strong {
    display: block;
    color: var(--purple-dark);
    font-size: 1.1rem;
}

.profile-metric-stack span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.profile-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
}

.profile-stat-row > div {
    display: grid;
    gap: 8px;
    min-height: 118px;
    padding: 18px 16px;
    background: #f6f4f3;
    border: 1px solid rgba(31, 64, 45, 0.08);
    border-radius: 12px;
}

.profile-stat-row strong {
    color: var(--purple-dark);
    font-size: 1.1rem;
}

.profile-stat-row span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.profile-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-service-grid > div {
    padding: 18px 18px 14px;
    background: #f8f6f5;
    border: 1px solid rgba(31, 64, 45, 0.08);
    border-radius: 12px;
}

.profile-service-grid h4 {
    margin: 0 0 12px;
    color: var(--purple-dark);
    font-size: 1.12rem;
}

.profile-service-grid ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.profile-cta-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-cta-boxes > div {
    padding: 18px;
    background: linear-gradient(180deg, rgba(25, 170, 75, 0.04), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(31, 64, 45, 0.08);
    border-radius: 12px;
}

.profile-cta-boxes strong {
    display: block;
    margin-bottom: 8px;
    color: var(--purple-dark);
    font-size: 1.02rem;
}

.profile-cta-boxes p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.profile-contact-panel {
    align-items: center;
    gap: 18px;
    margin-top: auto;
    padding: 18px 20px;
    background: linear-gradient(135deg, #201128, #2a1d2b);
    border-radius: 14px;
}

.profile-contact-panel span,
.profile-contact-panel small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.profile-contact-panel strong {
    display: block;
    margin: 4px 0;
    color: #ffffff;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.profile-contact-panel .btn {
    margin-left: auto;
}

@media (max-width: 900px) {
    .profile-two-column,
    .profile-cover-grid,
    .profile-contact-panel,
    .profile-service-grid,
    .profile-cta-boxes {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

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

    .profile-page,
    .profile-page-inner {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .profile-brochure-shell {
        padding-inline: 12px;
    }

    .profile-brochure-header {
        margin-bottom: 12px;
    }

    .profile-page-inner {
        padding: 18px;
    }

    .profile-stat-row,
    .profile-service-grid,
    .profile-cta-boxes {
        grid-template-columns: 1fr;
    }

    .profile-cover-brand {
        align-items: center;
    }

    .profile-logo-mark {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        font-size: 1.3rem;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    body {
        background: #ffffff !important;
    }

    .site-header,
    .site-footer,
    .mobile-footer-panel,
    .whatsapp-chat-widget,
    .ai-float-toggle,
    .color-theme-palette,
    .topbar,
    .site-main > :not(.profile-brochure-shell) {
        display: none !important;
    }

    .profile-brochure-shell {
        padding: 0 !important;
        background: #ffffff !important;
    }

    .profile-page {
        page-break-inside: avoid;
        break-inside: avoid;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* Compact catalogue, profile pages, and tier pricing. */
.catalogue-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 16px;
}

.catalogue-highlights article,
.catalogue-card,
.profile-use-grid article,
.profile-package-card,
.price-tier-card {
    border: 1px solid rgba(31, 64, 45, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(24, 59, 36, 0.08);
}

.catalogue-highlights article {
    padding: 16px;
}

.catalogue-highlights strong {
    display: block;
    color: var(--clean-green-dark);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
}

.catalogue-highlights span,
.catalogue-card p,
.profile-use-grid p,
.profile-package-card p,
.profile-process li span {
    color: var(--muted);
}

.catalogue-shell {
    padding-top: 28px;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.catalogue-card {
    overflow: hidden;
}

.catalogue-card-head {
    padding: 18px 18px 12px;
    background: linear-gradient(180deg, var(--clean-soft), #ffffff);
}

.catalogue-card h3 {
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 600;
}

.catalogue-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.compact-table {
    margin: 0;
}

.compact-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.compact-table th,
.compact-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(31, 64, 45, 0.08);
    text-align: left;
    vertical-align: middle;
}

.compact-table th {
    color: var(--clean-green-dark);
    background: rgba(25, 170, 75, 0.07);
    font-weight: 600;
}

.compact-table td strong {
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
}

.catalogue-table td:first-child a {
    color: var(--ink);
    font-weight: 500;
}

.catalogue-order-link {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff !important;
    background: var(--clean-action);
}

.catalogue-cta {
    margin-top: 12px;
}

.catalogue-calculator-section {
    padding-top: 18px;
    padding-bottom: 20px;
}

.catalogue-calculator-card {
    display: grid;
    gap: 14px;
    padding: clamp(16px, 2.4vw, 24px);
    color: #142319;
    background: #ffffff;
    border: 1px solid rgba(31, 64, 45, 0.1);
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(24, 59, 36, 0.08);
}

.catalogue-calculator-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.catalogue-calculator-heading h2 {
    margin: 4px 0 0;
    color: #123f28;
    font-size: clamp(1.35rem, 2.4vw, 2.05rem);
    font-weight: 560;
}

.catalogue-calculator-heading p {
    max-width: 720px;
    margin: 7px 0 0;
    color: #5b6c63;
}

.catalogue-calculator-heading > strong {
    color: #cf2b27;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.catalogue-calculator-form {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) minmax(88px, 0.55fr) repeat(3, minmax(126px, 0.75fr));
    gap: 10px;
    align-items: end;
}

.catalogue-calculator-form label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.catalogue-calculator-form span {
    color: #506058;
    font-size: 0.75rem;
    font-weight: 520;
}

.catalogue-calculator-form input,
.catalogue-calculator-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: #142319;
    font: inherit;
    font-size: 0.88rem;
    background: #f8fbf7;
    border: 1px solid rgba(25, 170, 75, 0.18);
    border-radius: 8px;
    outline: 0;
}

.catalogue-calculator-form input:focus,
.catalogue-calculator-form select:focus {
    background: #ffffff;
    border-color: rgba(240, 82, 35, 0.55);
    box-shadow: 0 0 0 3px rgba(240, 82, 35, 0.12);
}

.catalogue-calculator-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.catalogue-calculator-bottom small {
    max-width: 760px;
    color: #5b6c63;
    line-height: 1.45;
}

.catalogue-calculator-bottom .hero-actions {
    flex: 0 0 auto;
    margin: 0;
}

.profile-intro {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: start;
}

.profile-intro-copy h2,
.profile-process h2 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 2.8vw, 2.45rem);
    line-height: 1.08;
    font-weight: 600;
    color: var(--ink);
}

.profile-intro-copy p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.72;
}

.profile-use-grid,
.profile-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-use-grid article {
    padding: 18px;
}

.profile-use-grid article > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--clean-green);
}

.profile-use-grid h3,
.profile-package-card h3 {
    margin: 12px 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.profile-package-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
}

.profile-package-media {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--clean-soft);
}

.profile-package-media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.profile-package-card span {
    color: var(--clean-green-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
}

.profile-package-card strong {
    display: block;
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: 1.04rem;
    font-weight: 600;
}

.profile-process {
    display: grid;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: 24px;
    align-items: start;
}

.profile-process ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: profile-step;
}

.profile-process li {
    position: relative;
    padding: 18px 18px 18px 58px;
    border-radius: 8px;
    background: var(--clean-soft);
    counter-increment: profile-step;
}

.profile-process li::before {
    content: counter(profile-step);
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--clean-action);
    font-weight: 600;
}

.profile-process li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-weight: 600;
}

.price-tier-card {
    margin: 14px 0;
    padding: 14px;
}

.price-tier-card > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 600;
}

@media (max-width: 900px) {
    .catalogue-highlights,
    .catalogue-grid,
    .profile-intro,
    .profile-use-grid,
    .profile-package-grid,
    .profile-process,
    .profile-process ol {
        grid-template-columns: 1fr;
    }

    .profile-package-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .profile-package-media img {
        min-height: 180px;
    }
}

@media (max-width: 560px) {
    .catalogue-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .catalogue-highlights article {
        padding: 13px;
    }

    .catalogue-highlights strong {
        font-size: 1.15rem;
    }

    .compact-table table {
        font-size: 0.84rem;
    }

    .compact-table th,
    .compact-table td {
        padding: 9px 8px;
    }

    .profile-package-card {
        grid-template-columns: 1fr;
    }

    .profile-package-media img {
        min-height: 220px;
    }
}

/* Final product, cart, catalogue, and menu interaction refinements. */
.catalogue-grid {
    grid-template-columns: 1fr !important;
}

.catalogue-card {
    width: 100%;
}

.order-mini,
.card-actions .inline-cart-form button[value='add'].order-mini,
.product-card .card-actions .inline-cart-form button[value='add'].order-mini {
    color: #ffffff !important;
    background: var(--clean-action) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 24px rgba(240, 82, 35, 0.16);
}

.order-mini:hover,
.card-actions .inline-cart-form button[value='add'].order-mini:hover,
.product-card .card-actions .inline-cart-form button[value='add'].order-mini:hover {
    color: #ffffff !important;
    background: var(--clean-action-hover) !important;
    transform: translateY(-1px);
}

.continue-shopping-btn {
    border-color: rgba(25, 170, 75, 0.18) !important;
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
    align-items: start !important;
}

.product-media-panel,
.product-buy-panel {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.product-gallery-stage,
.product-gallery-stage img {
    max-width: 100% !important;
}

.product-sample-strip {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: initial !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

.sample-thumb {
    min-width: 0 !important;
}

.mega-menu-group a:hover,
.mega-menu-actions a:hover {
    color: #ffffff !important;
    background: #176f3b !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.mega-menu-group a:hover strong,
.mega-menu-group a:hover small,
.mega-menu-group a:hover .mega-link-icon,
.mega-menu-actions a:hover strong,
.mega-menu-actions a:hover small {
    color: #ffffff !important;
}

.mega-menu-group a:hover .mega-link-icon {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 760px) {
    html,
    body {
        overflow-x: hidden;
    }

    .product-detail-layout {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: calc(100vw - 28px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .product-media-panel,
    .product-buy-panel {
        width: 100% !important;
        padding: 16px !important;
    }

    .product-gallery-stage {
        aspect-ratio: 4 / 3;
    }

    .product-buy-panel .hero-actions,
    .cart-summary .hero-actions,
    .cart-actions,
    .card-actions {
        align-items: stretch;
    }

    .product-buy-panel .hero-actions .btn,
    .cart-summary .hero-actions .btn,
    .cart-actions .btn,
    .card-actions .mini-btn,
    .card-actions .inline-cart-form {
        width: 100%;
    }
}

/* Final cart page polish: one clean order-review column. */
.cart-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
}

.cart-layout > form,
.cart-layout .notice,
.cart-summary {
    width: 100%;
}

.cart-layout > form {
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid rgba(31, 64, 45, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(24, 59, 36, 0.08);
}

.cart-layout .success-message {
    margin: 0;
    padding: 14px 16px;
    border-color: rgba(25, 170, 75, 0.22);
    background: #f1fbf5;
}

.cart-layout .table-wrap {
    overflow-x: visible;
    border-color: rgba(31, 64, 45, 0.1);
    border-radius: 8px;
}

.cart-layout table,
.compact-table table {
    min-width: 0 !important;
}

.cart-layout th {
    color: #173526;
    background: #f3fbf6;
    font-weight: 600;
}

.cart-product-cell {
    min-width: 0 !important;
}

.cart-product-cell span {
    min-width: 0;
}

.cart-product-cell a {
    overflow-wrap: anywhere;
}

.cart-summary {
    position: static !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    align-items: center;
    border-color: rgba(31, 64, 45, 0.1);
}

.cart-summary h2 {
    margin: 0;
    color: #173526;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-summary strong {
    justify-self: end;
    margin: 0 !important;
    color: #176f3b !important;
}

.cart-summary .hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .cart-layout {
        max-width: calc(100vw - 28px);
    }

    .cart-layout .table-wrap {
        overflow: visible;
        border: 0;
    }

    .cart-layout table,
    .cart-layout thead,
    .cart-layout tbody,
    .cart-layout tr,
    .cart-layout th,
    .cart-layout td {
        display: block;
        width: 100%;
    }

    .cart-layout thead {
        display: none;
    }

    .cart-layout tbody {
        display: grid;
        gap: 12px;
    }

    .cart-layout tr {
        padding: 14px;
        border: 1px solid rgba(31, 64, 45, 0.1);
        border-radius: 8px;
        background: #ffffff;
    }

    .cart-layout td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(31, 64, 45, 0.08);
    }

    .cart-layout td:first-child {
        display: block;
        padding-top: 0;
    }

    .cart-layout td:nth-child(2)::before {
        content: 'Unit';
        color: #173526;
        font-weight: 600;
    }

    .cart-layout td:nth-child(3)::before {
        content: 'Quantity';
        color: #173526;
        font-weight: 600;
    }

    .cart-layout td:nth-child(4)::before {
        content: 'Subtotal';
        color: #173526;
        font-weight: 600;
    }

    .cart-layout td:last-child {
        justify-content: flex-start;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .cart-product-cell {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-actions,
    .cart-summary .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-actions .btn,
    .cart-actions button,
    .cart-summary .hero-actions .btn {
        width: 100%;
    }

    .cart-summary {
        grid-template-columns: 1fr;
    }

    .cart-summary strong {
        justify-self: start;
    }
}

/* Final neatness pass: compact rhythm, softer brand colour, readable admin. */
:root,
body[data-color-theme='ibiz'] {
    --polish-green: #16783f;
    --polish-green-dark: #0f4f2b;
    --polish-green-soft: #f2faf5;
    --polish-orange: #e95a29;
    --polish-red: #b93732;
    --polish-purple: #3f2848;
    --polish-ink: #17231c;
    --polish-body: #445148;
    --polish-muted: #66756d;
    --polish-line: rgba(28, 88, 50, 0.13);
    --polish-surface: #ffffff;
    --polish-soft: #f7faf8;
    --polish-shadow: 0 14px 34px rgba(19, 73, 39, 0.08);
    --polish-shadow-soft: 0 8px 22px rgba(19, 73, 39, 0.06);
    --polish-action: #e95a29;
    --polish-action-hover: #c9412f;
    --polish-radius: 8px;
    --clean-action: var(--polish-action);
    --clean-action-hover: var(--polish-action-hover);
    --clean-green: var(--polish-green);
    --clean-green-dark: var(--polish-green-dark);
    --clean-orange: var(--polish-orange);
    --clean-red: var(--polish-red);
    --clean-purple: var(--polish-purple);
    --clean-soft: var(--polish-soft);
    --clean-soft-green: var(--polish-green-soft);
    --clean-line: var(--polish-line);
}

body[data-color-theme='green'] {
    --polish-green: #168247;
    --polish-green-dark: #0d4c2b;
    --polish-purple: #365940;
    --polish-action: #df6334;
    --polish-action-hover: #be402f;
    --polish-green-soft: #eef9f2;
    --polish-soft: #f6fbf8;
    --polish-line: rgba(22, 130, 71, 0.18);
}

body[data-color-theme='orange'] {
    --polish-green: #7d6334;
    --polish-green-dark: #4d3d24;
    --polish-purple: #176f3b;
    --polish-action: #f05223;
    --polish-action-hover: #bc4330;
    --polish-green-soft: #fff4ee;
    --polish-soft: #fffaf7;
    --polish-line: rgba(240, 82, 35, 0.18);
}

body[data-color-theme='red'] {
    --polish-green: #9f3a36;
    --polish-green-dark: #622322;
    --polish-purple: #176f3b;
    --polish-action: #cf2b27;
    --polish-action-hover: #932b2c;
    --polish-green-soft: #fff3f2;
    --polish-soft: #fffafa;
    --polish-line: rgba(207, 43, 39, 0.17);
}

body[data-color-theme='purple'] {
    --polish-green: #4d3657;
    --polish-green-dark: #2c2032;
    --polish-purple: #176f3b;
    --polish-action: #df6337;
    --polish-action-hover: #b93f33;
    --polish-green-soft: #f7f3f8;
    --polish-soft: #fbf9fc;
    --polish-line: rgba(71, 28, 84, 0.16);
}

body {
    color: var(--polish-body);
    background: var(--polish-soft);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
.btn,
.mini-btn,
button,
th,
.eyebrow {
    font-weight: 600;
    letter-spacing: 0;
}

p,
li,
td,
input,
select,
textarea {
    font-weight: 400;
}

.topbar {
    background: #19aa4b !important;
    font-weight: 500;
}

.topbar a,
.topbar span,
.topbar-contact i {
    color: #ffffff !important;
}

.topbar-socials a {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.topbar-socials a:hover {
    background: var(--polish-action);
}

.site-header {
    min-height: 60px;
    padding-top: 9px;
    padding-bottom: 9px;
    border-bottom-color: rgba(28, 88, 50, 0.1);
    box-shadow: 0 8px 20px rgba(19, 73, 39, 0.055);
}

.brand strong,
.brand-text strong {
    color: var(--polish-ink);
    font-weight: 600;
}

.brand small,
.brand-text small {
    color: var(--polish-muted);
    font-weight: 400;
}

.site-nav a,
.nav-dropdown-toggle {
    color: #405046;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current='page'],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle,
body[data-color-theme] .site-nav a:hover,
body[data-color-theme] .site-nav a[aria-current='page'],
body[data-color-theme] .nav-dropdown-toggle:hover,
body[data-color-theme] .nav-dropdown-toggle.is-current,
body[data-color-theme] .mega-dropdown.is-open .nav-dropdown-toggle {
    color: #ffffff;
    background: var(--polish-green);
    box-shadow: 0 8px 18px rgba(22, 120, 63, 0.16);
}

.header-call,
.btn-primary,
.quote-submit,
.order-mini,
.card-actions .inline-cart-form button[value='add'].order-mini,
.product-card .card-actions .inline-cart-form button[value='add'].order-mini,
body[data-color-theme] .btn-primary,
body[data-color-theme] .product-card .card-actions a:first-child,
body[data-color-theme] .package-card .btn,
body[data-color-theme] .quote-submit {
    color: #ffffff !important;
    background: var(--polish-action) !important;
    border-color: var(--polish-action) !important;
    box-shadow: 0 10px 22px rgba(233, 90, 41, 0.16);
}

.header-call:hover,
.btn-primary:hover,
.quote-submit:hover,
.order-mini:hover,
.card-actions .inline-cart-form button[value='add'].order-mini:hover,
.product-card .card-actions .inline-cart-form button[value='add'].order-mini:hover {
    color: #ffffff !important;
    background: var(--polish-action-hover) !important;
    border-color: var(--polish-action-hover) !important;
}

.btn-secondary,
.mini-btn.subtle,
.product-card .card-actions .mini-btn.subtle:not([href*='wa.me']),
.continue-shopping-btn {
    color: var(--polish-ink) !important;
    background: #ffffff !important;
    border-color: var(--polish-line) !important;
    box-shadow: none !important;
}

.btn-secondary:hover,
.mini-btn.subtle:hover,
.product-card .card-actions .mini-btn.subtle:not([href*='wa.me']):hover,
.continue-shopping-btn:hover {
    color: #ffffff !important;
    background: var(--polish-green) !important;
    border-color: var(--polish-green) !important;
}

.mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn.subtle[href*='wa.me'],
.whatsapp-chat-toggle,
.whatsapp-chat-link {
    color: #ffffff !important;
    background: #19aa4b !important;
    border-color: #19aa4b !important;
}

.section,
.product-band,
.home-category-section,
.home-portfolio-section,
.client-logo-section,
.home-product-rows,
.product-row-section,
.catalogue-shell {
    padding-top: clamp(38px, 5vw, 62px);
    padding-bottom: clamp(38px, 5vw, 62px);
}

.home-category-section,
.home-product-rows {
    padding-top: clamp(30px, 4vw, 48px);
}

.section-heading,
.digital-section-heading {
    gap: 14px;
    margin-bottom: clamp(18px, 3vw, 28px);
}

.section-heading h2,
.digital-section-heading h2,
.product-row-heading h2,
.decorated-heading h2 {
    color: var(--polish-ink);
    font-size: clamp(1.48rem, 2.55vw, 2.2rem);
    font-weight: 600;
    line-height: 1.12;
}

.section-heading p,
.digital-section-heading p,
.product-card p,
.catalogue-card p,
.profile-use-grid p,
.profile-package-card p {
    color: var(--polish-muted);
    line-height: 1.55;
}

.section-heading::after,
.decorated-heading::after,
.digital-section-heading::after,
.product-row-heading::after,
body[data-color-theme] .section-heading::after,
body[data-color-theme] .decorated-heading::after,
body[data-color-theme] .digital-section-heading::after,
body[data-color-theme] .product-row-heading::after {
    background: var(--polish-action);
}

.page-hero,
.cms-page-hero {
    min-height: 300px;
    padding-top: clamp(54px, 7vw, 86px);
    padding-bottom: clamp(54px, 7vw, 86px);
    color: #ffffff;
}

.admin-hero {
    min-height: 190px;
    padding-top: clamp(34px, 5vw, 52px);
    padding-bottom: clamp(34px, 5vw, 52px);
}

.page-hero::before,
.cms-page-hero::before {
    background: rgba(12, 48, 28, 0.66) !important;
}

.page-hero h1,
.cms-page-hero h1 {
    max-width: 920px;
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.08rem);
    font-weight: 600;
    line-height: 1.06;
}

.admin-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.38rem);
}

.page-hero p,
.page-hero p:not(.eyebrow),
.cms-page-hero p,
.cms-page-hero p:not(.eyebrow),
.page-hero .eyebrow,
.cms-page-hero .eyebrow {
    color: #ffffff !important;
}

.page-hero p:not(.eyebrow),
.cms-page-hero p:not(.eyebrow) {
    max-width: 760px;
    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    line-height: 1.55;
}

.product-grid,
.home-category-grid,
.digital-package-grid,
.digital-card-grid,
.media-price-grid,
.blog-grid,
.project-grid,
.profile-use-grid,
.profile-package-grid {
    gap: clamp(16px, 2.2vw, 24px);
}

.product-card,
.catalogue-card,
.profile-use-grid article,
.profile-package-card,
.price-tier-card,
.cart-layout > form,
.cart-summary,
.admin-card,
.admin-accordion,
.admin-command-bar,
.admin-quick-actions,
.login-form,
.notice {
    border-color: var(--polish-line);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
    box-shadow: var(--polish-shadow-soft);
}

.product-card {
    padding: 14px;
    gap: 10px;
}

.product-card h3,
.product-card h3 a {
    color: var(--polish-ink);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.25;
}

.product-card span,
.product-card strong {
    color: var(--polish-green-dark);
    font-weight: 600;
}

.product-card .card-actions {
    gap: 8px;
}

.product-card .card-actions .mini-btn,
.product-card .card-actions .inline-cart-form .mini-btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.84rem;
    font-weight: 500;
}

.product-thumb,
.catalogue-card-head,
.admin-live-list div,
.admin-pipeline-list div,
.admin-rank-list a,
.admin-rank-list div {
    background: var(--polish-green-soft);
    border-color: var(--polish-line);
}

.mega-menu-panel {
    top: calc(100% + 6px);
    width: min(1040px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    padding: 15px;
    gap: 14px;
    border-color: var(--polish-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.98)),
        url('../img/print-production-detail.avif');
    box-shadow: 0 24px 58px rgba(18, 56, 34, 0.16);
}

.mega-menu-lead {
    min-height: 0;
    padding: 14px;
    color: #ffffff;
    background: var(--polish-green);
}

.mega-menu-lead::before {
    background: rgba(10, 48, 28, 0.52);
}

.mega-menu-lead .eyebrow,
.mega-menu-lead strong,
.mega-menu-lead small,
.mega-menu-lead a,
.mega-menu-visual span {
    color: #ffffff !important;
}

.mega-menu-lead strong {
    font-weight: 600;
}

.mega-menu-visual {
    margin-top: 12px;
}

.mega-menu-visual img {
    max-height: 130px;
    object-fit: cover;
}

.mega-menu-columns {
    gap: 12px;
}

.mega-menu-group {
    gap: 7px;
}

.mega-menu-group h3 {
    font-size: 0.78rem;
    font-weight: 600;
}

.mega-menu-group a {
    min-height: 58px;
    padding: 9px;
    border-color: var(--polish-line);
    background: #ffffff;
}

.mega-menu-group strong {
    color: var(--polish-ink);
    font-size: 0.88rem;
    font-weight: 600;
}

.mega-menu-group small {
    color: var(--polish-muted);
    font-size: 0.76rem;
    font-weight: 400;
}

.mega-link-icon {
    color: var(--polish-green) !important;
    background: var(--polish-green-soft) !important;
}

.mega-menu-group a:hover,
.mega-menu-actions a:hover {
    color: #ffffff !important;
    background: var(--polish-green) !important;
    border-color: var(--polish-green) !important;
}

.mega-menu-group a:hover strong,
.mega-menu-group a:hover small,
.mega-menu-group a:hover .mega-link-icon,
.mega-menu-actions a:hover strong,
.mega-menu-actions a:hover small {
    color: #ffffff !important;
}

.mega-menu-actions {
    gap: 9px;
}

.mega-menu-actions a,
.mega-menu-actions a:nth-child(1),
.mega-menu-actions a:nth-child(2) {
    min-height: 38px;
    color: var(--polish-ink) !important;
    font-weight: 500;
    background: #ffffff !important;
    border-color: var(--polish-line) !important;
}

.mega-menu-actions a[href*='wa.me'] {
    color: #ffffff !important;
    background: #19aa4b !important;
    border-color: #19aa4b !important;
}

.shop-sidebar,
.blog-sidebar,
.cms-sidebar {
    background: #ffffff;
    border-color: var(--polish-line);
    box-shadow: var(--polish-shadow-soft);
}

.shop-sidebar h2,
.blog-sidebar-panel h2,
.cms-sidebar h2 {
    color: var(--polish-ink);
    font-weight: 600;
}

.shop-sidebar a,
.mobile-category-rail a,
.blog-category-list a,
.cms-sidebar a {
    color: #324b3d;
    font-weight: 500;
    background: #ffffff;
    border-color: var(--polish-line);
}

.shop-sidebar a:hover,
.shop-sidebar a[aria-current='page'],
.mobile-category-rail a[aria-current='page'],
.blog-category-list a:hover {
    color: #ffffff !important;
    background: var(--polish-green);
    border-color: var(--polish-green);
}

.site-footer {
    color: #ffffff;
    background-color: var(--polish-green-dark);
    background-image:
        linear-gradient(90deg, rgba(13, 73, 38, 0.93), rgba(15, 92, 46, 0.9) 54%, rgba(63, 40, 72, 0.82)),
        url('../img/footer-ibiz-office-branded.avif');
}

.site-footer::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(25, 170, 75, 0.08));
    opacity: 1;
}

.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer span:not(.footer-contact-icon),
.site-footer .brand-text strong,
.site-footer .brand-text small {
    color: #ffffff !important;
    font-weight: 400;
}

.site-footer h2 {
    font-weight: 600;
}

.footer-contact-icon,
.site-footer .footer-socials a.footer-social-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.footer-contact-icon.phone-icon {
    background: #19aa4b !important;
}

.footer-contact-icon.email-icon,
.site-footer .footer-socials a.footer-social-facebook,
.site-footer .footer-socials a.footer-social-linkedin {
    background: #f05223 !important;
}

.footer-contact-icon.whatsapp-icon,
.site-footer .footer-socials a.footer-social-whatsapp {
    background: #19aa4b !important;
}

.footer-contact-icon.location-icon,
.site-footer .footer-socials a.footer-social-instagram,
.site-footer .footer-socials a.footer-social-tiktok {
    background: #cf2b27 !important;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.color-theme-palette {
    width: 34px;
    padding: 7px 4px;
    border-color: var(--polish-line);
    box-shadow: 0 16px 36px rgba(19, 73, 39, 0.14);
}

.color-theme-palette::after {
    background: var(--polish-green);
}

.theme-swatch {
    width: 24px;
    height: 24px;
}

.theme-swatch[aria-pressed='true'],
.theme-swatch.is-active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px var(--polish-green), 0 8px 18px rgba(19, 73, 39, 0.18);
}

.admin-panel {
    padding-top: 24px;
    padding-bottom: clamp(42px, 5vw, 64px);
}

.admin-panel:has(.admin-nav) {
    grid-template-columns: 218px minmax(0, 1fr);
    gap: 18px;
}

.admin-nav {
    top: 82px;
    gap: 6px;
    padding: 11px;
    background: #ffffff;
    border-color: var(--polish-line);
    box-shadow: var(--polish-shadow);
}

.admin-nav-brand {
    min-height: 52px;
    padding: 7px 8px 10px;
    color: var(--polish-ink);
    border-bottom-color: var(--polish-line);
}

.admin-nav-brand span {
    width: 36px;
    height: 36px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--polish-green);
}

.admin-nav-brand strong {
    color: var(--polish-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-nav-brand small {
    color: var(--polish-muted);
    font-size: 0.74rem;
    font-weight: 400;
}

.admin-nav a {
    min-height: 36px;
    padding: 8px 9px;
    color: #344c3e;
    font-size: 0.84rem;
    font-weight: 500;
    background: transparent;
    border-color: transparent;
}

.admin-nav a i {
    width: 25px;
    height: 25px;
    color: var(--polish-green);
    background: var(--polish-green-soft);
}

.admin-nav a:hover,
.admin-nav a[aria-current='page'] {
    color: #ffffff;
    background: var(--polish-green);
    border-color: var(--polish-green);
}

.admin-nav a:hover i,
.admin-nav a[aria-current='page'] i {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.admin-nav-logout {
    color: var(--polish-red) !important;
}

.admin-nav-logout:hover {
    color: #ffffff !important;
    background: var(--polish-red) !important;
    border-color: var(--polish-red) !important;
}

.admin-dashboard,
.admin-edit-list,
.settings-accordions,
.admin-accordion-stack {
    gap: 14px;
}

.admin-command-bar {
    padding: 14px 16px;
}

.admin-command-bar h2,
.admin-page-heading h2,
.admin-card-head h2,
.admin-split-panels h3 {
    color: var(--polish-ink);
    font-weight: 600;
}

.admin-command-bar h2 {
    font-size: 1.22rem;
}

.admin-live-status {
    color: var(--polish-green-dark);
    font-weight: 500;
    background: var(--polish-green-soft);
    border-color: var(--polish-line);
}

.admin-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.admin-kpi-grid article {
    padding: 13px;
    border-color: var(--polish-line);
    box-shadow: var(--polish-shadow-soft);
}

.admin-kpi-grid i {
    width: 28px;
    height: 28px;
    background: var(--polish-green);
}

.admin-kpi-grid article:nth-child(2) i,
.admin-kpi-grid article:nth-child(6) i,
.admin-kpi-grid article:nth-child(3) i,
.admin-kpi-grid article:nth-child(5) i {
    background: var(--polish-green);
}

.admin-kpi-grid span,
.admin-kpi-grid small,
.admin-card-head span,
.admin-live-list span,
.admin-rank-list small,
.admin-pipeline-list small,
.admin-page-heading p,
.admin-product-summary em,
.ai-admin-hints ul {
    color: var(--polish-muted);
    font-weight: 400;
}

.admin-kpi-grid strong {
    color: var(--polish-green-dark);
    font-size: clamp(1.34rem, 2vw, 1.78rem);
    font-weight: 600;
}

.admin-quick-actions {
    padding: 10px;
}

.admin-quick-actions a {
    min-height: 36px;
    padding: 8px 11px;
    color: var(--polish-ink);
    font-size: 0.86rem;
    font-weight: 500;
    background: #ffffff;
    border-color: var(--polish-line);
}

.admin-quick-actions a:hover {
    color: #ffffff;
    background: var(--polish-green);
    border-color: var(--polish-green);
}

.admin-card {
    padding: 15px;
}

.admin-live-list div,
.admin-pipeline-list div,
.admin-rank-list a,
.admin-rank-list div {
    padding: 9px 10px;
}

.admin-live-list strong,
.admin-pipeline-list span,
.admin-rank-list span,
.admin-product-summary strong {
    color: var(--polish-ink);
    font-weight: 600;
}

.admin-pipeline-list strong,
.admin-rank-list strong {
    color: var(--polish-green-dark);
    font-weight: 600;
}

.admin-accordion summary {
    min-height: 44px;
    padding: 11px 13px;
    color: var(--polish-ink);
    font-weight: 600;
}

.admin-accordion summary i {
    color: var(--polish-green);
}

.admin-accordion summary small {
    color: var(--polish-muted);
    font-weight: 400;
}

.admin-accordion[open] summary {
    border-bottom-color: var(--polish-line);
}

.admin-form,
.login-form {
    gap: 13px;
    padding: 17px;
    border-color: var(--polish-line);
    box-shadow: var(--polish-shadow-soft);
}

.admin-product-editor {
    padding: 16px;
    border-top-color: var(--polish-line);
}

.form-grid {
    gap: 12px;
}

label span,
.admin-form label span,
.login-form label span {
    color: var(--polish-ink);
    font-weight: 500;
}

input,
select,
textarea {
    min-height: 40px;
    padding: 10px 12px;
    color: var(--polish-ink);
    border-color: var(--polish-line);
    border-radius: 7px;
}

textarea {
    line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(25, 170, 75, 0.55);
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.12);
    outline: none;
}

.admin-actions {
    gap: 8px;
}

.admin-actions .btn {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 0.86rem;
}

.btn-danger {
    color: #ffffff !important;
    background: var(--polish-red) !important;
    border-color: var(--polish-red) !important;
}

.admin-compact-table {
    overflow-x: auto;
}

.admin-compact-table table {
    min-width: 720px;
    font-size: 0.84rem;
}

.admin-compact-table th,
.admin-compact-table td {
    padding: 9px 10px;
}

.admin-status-pill {
    font-weight: 500;
    background: var(--polish-green);
}

.admin-status-pill.muted {
    color: var(--polish-ink);
    background: var(--polish-green-soft);
    border-color: var(--polish-line);
}

.success-message {
    font-weight: 500;
}

.form-error {
    font-weight: 500;
}

body[data-color-theme] .topbar,
body[data-color-theme] .nav-toggle,
body[data-color-theme] .ai-float-toggle {
    background: var(--polish-green);
}

body[data-color-theme] .site-footer {
    background-color: var(--polish-green-dark);
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--polish-green-dark) 93%, transparent), color-mix(in srgb, var(--polish-green) 88%, transparent) 54%, color-mix(in srgb, var(--polish-purple) 82%, transparent)),
        url('../img/footer-ibiz-office-branded.avif');
}

body[data-color-theme] .mega-link-icon,
body[data-color-theme] .footer-contact-icon.phone-icon {
    color: var(--polish-green) !important;
    background: var(--polish-green-soft);
}

@media (min-width: 901px) {
    .nav-dropdown-panel {
        top: calc(100% + 7px);
    }

    .shop-sidebar,
    .blog-sidebar,
    .cms-sidebar,
    .admin-nav {
        max-height: calc(100dvh - 104px);
    }
}

@media (max-width: 1100px) {
    .admin-panel:has(.admin-nav) {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 14px;
    }

    .admin-nav a {
        gap: 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-inline: 14px;
    }

    .site-nav.is-open {
        gap: 8px;
        max-height: calc(100dvh - 62px);
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        min-height: 42px;
        padding: 10px 12px;
        color: var(--polish-ink);
        font-size: 0.92rem;
        font-weight: 500;
        background: #ffffff;
        border-color: var(--polish-line);
    }

    .mega-menu-panel {
        width: 100%;
        max-width: 100%;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-dropdown.is-open .mega-menu-panel {
        padding-top: 8px;
    }

    .mega-menu-lead {
        padding: 12px;
    }

    .mega-menu-visual {
        display: none;
    }

    .mega-menu-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .mega-menu-group {
        min-width: 0;
    }

    .mega-menu-group h3 {
        min-height: 28px;
        font-size: 0.72rem;
    }

    .mega-menu-group a {
        min-height: 48px;
        padding: 8px;
    }

    .mega-menu-group small {
        display: none;
    }

    .mega-menu-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mega-menu-actions a {
        min-width: 0;
        padding-inline: 8px;
        font-size: 0.78rem;
    }

    .admin-panel:has(.admin-nav) {
        grid-template-columns: 1fr;
    }

    .admin-panel:has(.admin-nav) > :not(.admin-nav),
    .admin-nav {
        grid-column: 1;
    }

    .admin-nav {
        position: static;
        display: flex;
        gap: 8px;
        padding: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .admin-nav::-webkit-scrollbar {
        display: none;
    }

    .admin-nav-brand {
        flex: 0 0 150px;
        border-right: 1px solid var(--polish-line);
        border-bottom: 0;
    }

    .admin-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-page-heading,
    .admin-command-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .section,
    .product-band,
    .home-category-section,
    .home-portfolio-section,
    .client-logo-section,
    .home-product-rows,
    .product-row-section,
    .catalogue-shell {
        width: min(100% - 28px, var(--max));
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .page-hero,
    .cms-page-hero {
        min-height: 240px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-hero h1,
    .cms-page-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .mega-menu-columns,
    .mega-menu-actions,
    .mobile-menu-actions {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 13px;
    }

    .admin-kpi-grid,
    .admin-ops-grid,
    .admin-split-panels {
        grid-template-columns: 1fr;
    }

    .admin-form,
    .login-form {
        padding: 15px;
    }

    .admin-product-summary {
        align-items: flex-start;
    }

    .admin-product-mini {
        width: 58px;
        height: 44px;
    }

    .admin-accordion summary {
        align-items: flex-start;
    }
}

/* Prototype office hero: full-width image with Ibiz pattern concealment. */
.home-slide.is-visual-banner {
    background-position: center;
    background-size: cover;
}

.home-slide.is-visual-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(9, 53, 29, 0.36), rgba(9, 53, 29, 0.18) 46%, rgba(63, 40, 72, 0.28)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
        radial-gradient(circle at 18% 22%, rgba(25, 170, 75, 0.18), transparent 26%),
        radial-gradient(circle at 82% 78%, rgba(240, 82, 35, 0.16), transparent 25%);
    backdrop-filter: blur(0.6px);
}

.home-slide.is-visual-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 78px);
}

.home-slide.is-visual-banner .home-slide-inner {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 clamp(20px, 5vw, 70px) clamp(28px, 5vw, 50px);
}

.home-slide-brand-stamp {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 2px;
    min-width: min(260px, calc(100vw - 56px));
    padding: 13px 16px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(13, 73, 38, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.home-slide-brand-stamp::before {
    content: '';
    position: absolute;
    inset: 7px auto 7px -3px;
    width: 5px;
    border-radius: 999px;
    background: #f05223;
}

.home-slide-brand-stamp span,
.home-slide-brand-stamp small {
    color: #ffffff;
}

.home-slide-brand-stamp span {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.1;
}

.home-slide-brand-stamp small {
    font-size: 0.78rem;
    font-weight: 400;
}

.pricing-checker {
    display: grid;
    gap: 12px;
    margin: 14px 0 16px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid rgba(25, 170, 75, 0.16);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 43, 26, 0.08);
}

.pricing-checker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-checker-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--polish-green-dark);
    font-size: 0.86rem;
    font-weight: 600;
}

.pricing-checker-head i {
    color: #f05223;
}

.pricing-checker-head strong {
    color: #cf2b27;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.pricing-checker-form {
    display: grid;
    grid-template-columns: minmax(92px, 0.62fr) repeat(3, minmax(126px, 1fr));
    gap: 10px;
    align-items: end;
}

.pricing-checker label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.pricing-checker label span {
    color: #51635b;
    font-size: 0.73rem;
    font-weight: 500;
}

.pricing-checker input,
.pricing-checker select {
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    color: #142319;
    font: inherit;
    font-size: 0.86rem;
    background: #f8fbf7;
    border: 1px solid rgba(25, 170, 75, 0.18);
    border-radius: 8px;
    outline: 0;
}

.pricing-checker input:focus,
.pricing-checker select:focus {
    background: #ffffff;
    border-color: rgba(240, 82, 35, 0.55);
    box-shadow: 0 0 0 3px rgba(240, 82, 35, 0.12);
}

.pricing-checker small {
    color: #5b6c63;
    font-size: 0.76rem;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .home-slide.is-visual-banner .home-slide-inner {
        min-height: 390px;
        padding: 0 18px 26px;
    }

    .home-slide-brand-stamp {
        justify-self: stretch;
        min-width: 0;
        width: 100%;
    }

    .pricing-checker {
        padding: 12px;
    }

    .pricing-checker-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

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

@media (max-width: 460px) {
    .pricing-checker-form {
        grid-template-columns: 1fr;
    }
}

/* About Ibiz Media page and automated cart polish. */
.about-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(430px, 54vw, 620px);
    padding: clamp(60px, 8vw, 98px) clamp(18px, 5vw, 72px);
    overflow: hidden;
    color: #ffffff;
    background-color: #123f28;
    background-image: var(--about-hero-image);
    background-position: center;
    background-size: cover;
}

.about-hero::before,
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-hero::before {
    background: rgba(10, 45, 26, 0.68);
}

.about-hero::after {
    opacity: 0.6;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 22px),
        radial-gradient(circle at 84% 22%, rgba(240, 82, 35, 0.2), transparent 24%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.about-hero-logo-card {
    display: inline-grid;
    gap: 7px;
    width: min(330px, 80vw);
    padding: 13px 15px 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 10px;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.25);
}

.about-hero-logo-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-hero-logo-card span {
    color: #123f28;
    font-size: 0.82rem;
    font-weight: 500;
}

.about-hero .eyebrow,
.about-hero h1,
.about-hero p {
    color: #ffffff;
}

.about-hero h1 {
    max-width: 860px;
    font-size: clamp(2.45rem, 6vw, 5.2rem);
    line-height: 0.98;
    font-weight: 520;
}

.about-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.58;
}

.about-story-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    padding-top: clamp(42px, 5vw, 70px);
}

.about-story-card {
    padding: clamp(22px, 3vw, 34px);
}

.about-story-card h2 {
    color: #123f28;
    font-weight: 560;
}

.about-story-card p,
.about-story-card li {
    color: #4a5b52;
    line-height: 1.65;
}

.about-proof-card {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    padding: clamp(18px, 2.4vw, 24px);
    color: #ffffff;
    background: #123f28;
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(18, 63, 40, 0.16);
}

.about-proof-card span {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-proof-card h2 {
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.16;
    font-weight: 540;
}

.about-proof-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-proof-card li {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-proof-card strong,
.about-proof-card small {
    color: #ffffff;
}

.about-proof-card strong {
    font-weight: 560;
}

.about-proof-card small {
    opacity: 0.82;
}

.about-service-showcase {
    padding-top: clamp(28px, 4vw, 52px);
}

.about-service-showcase .service-reel {
    background: #123f28;
}

.about-process-section {
    padding-top: clamp(32px, 5vw, 64px);
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-process-grid article {
    display: grid;
    gap: 10px;
    min-height: 190px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(18, 63, 40, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(18, 63, 40, 0.07);
}

.about-process-grid i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    background: #19aa4b;
    border-radius: 999px;
}

.about-process-grid h3 {
    color: #123f28;
    font-size: 1.02rem;
    font-weight: 560;
}

.about-process-grid p {
    margin: 0;
    color: #4f6158;
    line-height: 1.55;
}

.cart-unit-note {
    display: block;
    margin-top: 4px;
    color: #5d6f66;
    font-size: 0.72rem;
    font-weight: 500;
}

.cart-auto-status {
    margin: 12px 0 0;
    color: #31533f;
    font-size: 0.84rem;
    font-weight: 500;
}

.cart-layout [data-cart-unit],
.cart-layout [data-cart-subtotal],
.cart-summary [data-cart-total] {
    transition: color 160ms ease;
}

.cart-layout .qty-input {
    border-color: rgba(25, 170, 75, 0.24);
}

.cart-layout .qty-input:focus {
    border-color: rgba(240, 82, 35, 0.55);
    box-shadow: 0 0 0 3px rgba(240, 82, 35, 0.12);
}

@media (max-width: 900px) {
    .about-story-section,
    .about-process-grid {
        grid-template-columns: 1fr;
    }

    .about-proof-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 430px;
        padding: 42px 18px;
    }

    .about-hero-logo-card {
        width: min(280px, 88vw);
    }
}

/* Academic Hub viewport and section rhythm. */
.academic-hero {
    width: min(calc(100% - 40px), var(--max));
    min-height: 280px;
    margin: 18px auto 0;
    padding: clamp(34px, 5vw, 58px) clamp(20px, 4vw, 46px);
    border-radius: 10px;
}

.academic-hero h1 {
    max-width: 900px;
    font-size: clamp(1.85rem, 3.2vw, 2.78rem);
    font-weight: 560;
}

.academic-hero p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 10px;
}

.academic-hero .hero-actions {
    margin-top: 18px;
}

.academic-nav-strip,
.academic-section,
.academic-cta {
    width: min(calc(100% - 40px), var(--max));
    margin-right: auto;
    margin-left: auto;
}

.academic-nav-strip {
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 8px;
}

.academic-nav-strip a {
    padding: 15px 16px;
    border-radius: 10px;
}

.academic-nav-strip span {
    margin-top: 5px;
    line-height: 1.35;
}

.academic-section {
    padding-top: clamp(32px, 4.2vw, 52px);
    padding-bottom: clamp(32px, 4.2vw, 52px);
}

.academic-lead {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
    gap: clamp(18px, 3vw, 34px);
    padding-top: 30px;
}

.academic-lead .digital-lead-copy {
    gap: 10px;
}

.academic-lead h2,
.academic-section .digital-section-heading h2 {
    max-width: 820px;
    font-size: clamp(1.55rem, 2.55vw, 2.2rem);
    font-weight: 560;
}

.academic-lead p,
.academic-section .digital-section-heading p {
    max-width: 780px;
    line-height: 1.56;
}

.academic-lead .digital-side-panel {
    padding: 18px;
    border-radius: 10px;
}

.academic-lead .digital-side-panel strong {
    color: var(--red);
}

.academic-lead .digital-side-panel li {
    color: var(--purple-dark);
}

.academic-section .digital-section-heading {
    max-width: 820px;
    margin-bottom: 16px;
}

.academic-course-grid {
    gap: 16px;
}

.academic-course-grid .digital-package-card {
    gap: 10px;
    padding: 18px;
    border-radius: 10px;
}

.academic-course-grid .digital-package-card h3 {
    font-size: 1.04rem;
    line-height: 1.2;
}

.academic-course-grid .digital-package-card p,
.academic-course-grid .digital-list li {
    line-height: 1.48;
}

.academic-course-grid .package-price {
    font-size: 1.22rem;
    font-weight: 560;
}

.academic-outcomes-section .digital-card-grid {
    gap: 16px;
}

.academic-outcomes-section .digital-mini-card {
    padding: 18px;
}

.academic-roadmap {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
}

.academic-roadmap li {
    padding: 15px 16px 15px 52px;
}

.academic-roadmap li::before {
    left: 14px;
    top: 14px;
}

.academic-cta {
    margin-top: 8px;
    margin-bottom: clamp(32px, 4vw, 54px);
    padding: clamp(24px, 4vw, 38px);
    border-radius: 10px;
}

@media (max-width: 900px) {
    .academic-hero,
    .academic-nav-strip,
    .academic-section,
    .academic-cta {
        width: min(calc(100% - 28px), var(--max));
    }

    .academic-hero {
        margin-top: 12px;
        min-height: 260px;
        padding: 34px 20px;
    }

    .academic-nav-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 14px;
    }

    .academic-lead,
    .academic-roadmap {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .academic-hero,
    .academic-nav-strip,
    .academic-section,
    .academic-cta {
        width: min(calc(100% - 24px), var(--max));
    }

    .academic-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .academic-nav-strip,
    .academic-course-grid,
    .academic-outcomes-section .digital-card-grid {
        grid-template-columns: 1fr;
    }

    .academic-nav-strip a,
    .academic-course-grid .digital-package-card,
    .academic-outcomes-section .digital-mini-card {
        padding: 15px;
    }
}

@media (max-width: 980px) {
    .catalogue-calculator-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalogue-calculator-form label:first-child {
        grid-column: 1 / -1;
    }

    .catalogue-calculator-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .catalogue-calculator-section {
        width: min(calc(100% - 28px), var(--max));
        padding-top: 12px;
        padding-bottom: 16px;
    }

    .catalogue-calculator-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

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

    .catalogue-calculator-bottom .hero-actions,
    .catalogue-calculator-bottom .btn {
        width: 100%;
    }
}

/* Final About viewport and pure-black footer override. */
.about-hero {
    width: 100%;
    min-height: clamp(310px, 34vw, 460px) !important;
    padding: clamp(34px, 5vw, 70px) max(18px, calc((100vw - 1440px) / 2 + 28px)) !important;
    align-items: center;
}

.about-hero-content {
    width: min(1440px, 100%);
    gap: 10px;
}

.about-hero-logo-card {
    width: clamp(220px, 22vw, 340px);
    padding: 11px 13px;
}

.about-hero h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 4.2vw, 4.45rem);
}

.about-hero p:not(.eyebrow) {
    max-width: 880px;
}

.about-hero .hero-actions {
    margin-top: 14px;
}

.about-story-section,
.about-service-showcase,
.about-process-section {
    width: min(calc(100% - 56px), 1380px);
    max-width: 1380px;
}

.about-service-showcase .section-heading,
.about-process-section .section-heading {
    max-width: 100%;
}

@media (min-width: 1600px) {
    .about-hero {
        min-height: 470px !important;
        padding-right: max(42px, calc((100vw - 1520px) / 2 + 36px)) !important;
        padding-left: max(42px, calc((100vw - 1520px) / 2 + 36px)) !important;
    }

    .about-hero-content {
        width: min(1520px, 100%);
    }

    .about-story-section,
    .about-service-showcase,
    .about-process-section {
        width: min(calc(100% - 72px), 1480px);
        max-width: 1480px;
    }
}

@media (max-width: 900px) {
    .about-hero {
        min-height: 340px !important;
        padding: 34px 20px !important;
    }

    .about-story-section,
    .about-service-showcase,
    .about-process-section {
        width: min(calc(100% - 32px), 100%);
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 320px !important;
        padding: 30px 16px !important;
    }

    .about-hero-logo-card {
        width: min(250px, 82vw);
    }

    .about-hero h1 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .about-hero p:not(.eyebrow) {
        font-size: 0.96rem;
        line-height: 1.5;
    }
}

.site-footer,
body[data-color-theme] .site-footer {
    color: #ffffff !important;
    background-color: #000000 !important;
    background-image: none !important;
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.site-footer::before,
body[data-color-theme] .site-footer::before {
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer span:not(.footer-contact-icon),
.site-footer .brand-text strong,
.site-footer .brand-text small,
.footer-bottom span {
    color: #ffffff !important;
    text-shadow: none !important;
}

.site-footer p,
.footer-brand small {
    opacity: 0.82;
}

.site-footer .footer-contact-icon,
body[data-color-theme] .footer-contact-icon,
.site-footer .footer-socials a.footer-social-link {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.68) !important;
    box-shadow: 0 10px 26px rgba(255, 255, 255, 0.08) !important;
}

.site-footer .footer-contact-icon i,
.site-footer .footer-socials a.footer-social-link i {
    color: inherit !important;
    text-shadow: none !important;
}

.site-footer .footer-contact-icon.phone-icon,
body[data-color-theme] .footer-contact-icon.phone-icon {
    color: #19aa4b !important;
}

.site-footer .footer-contact-icon.email-icon {
    color: #f05223 !important;
}

.site-footer .footer-contact-icon.whatsapp-icon,
.site-footer .footer-socials a.footer-social-whatsapp {
    color: #25d366 !important;
}

.site-footer .footer-contact-icon.location-icon {
    color: #cf2b27 !important;
}

.site-footer .footer-socials a.footer-social-facebook {
    color: #1877f2 !important;
}

.site-footer .footer-socials a.footer-social-instagram {
    color: #e4405f !important;
}

.site-footer .footer-socials a.footer-social-tiktok,
.site-footer .footer-socials a.footer-social-x {
    color: #111111 !important;
}

.site-footer .footer-socials a.footer-social-linkedin {
    color: #0a66c2 !important;
}

.site-footer .footer-socials a.footer-social-link:hover,
.site-footer .footer-contact-item:hover .footer-contact-icon {
    background: #ffffff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.18) !important;
}

#price-calculator {
    scroll-margin-top: 118px;
}

.catalogue-hero + .catalogue-calculator-section {
    padding-top: clamp(16px, 2.2vw, 26px);
}

.catalogue-calculator-section + .catalogue-highlights {
    padding-top: 0;
}

/* Final compact About hero and visible inverse footer logo. */
.about-hero {
    min-height: clamp(230px, 24vw, 330px) !important;
    padding: clamp(26px, 3.4vw, 48px) max(18px, calc((100vw - 1440px) / 2 + 28px)) !important;
    align-items: center !important;
}

.about-hero-content {
    gap: 8px !important;
}

.about-hero-logo-card {
    width: min(245px, 68vw) !important;
    padding: 9px 11px 8px !important;
}

.about-hero-logo-card span {
    font-size: 0.74rem !important;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem) !important;
    line-height: 1 !important;
}

.about-hero p:not(.eyebrow) {
    max-width: 700px !important;
    font-size: clamp(0.93rem, 1.12vw, 1.05rem) !important;
    line-height: 1.42 !important;
}

.about-hero .hero-actions {
    margin-top: 4px !important;
}

.site-footer .footer-brand {
    align-items: center;
    gap: 15px;
}

.site-footer .footer-brand .brand-logo {
    height: clamp(72px, 7vw, 104px) !important;
    max-width: clamp(250px, 24vw, 380px) !important;
    width: auto !important;
    filter: brightness(0) invert(1) contrast(1.08) drop-shadow(0 10px 24px rgba(255, 255, 255, 0.12));
}

.site-footer .footer-brand .brand-text strong {
    font-size: 1.12rem;
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 250px !important;
        padding-top: 24px !important;
        padding-bottom: 26px !important;
    }

    .about-hero-logo-card {
        width: min(215px, 78vw) !important;
    }

    .about-hero .hero-actions {
        gap: 8px !important;
    }

    .site-footer .footer-brand .brand-logo {
        height: 74px !important;
        max-width: 290px !important;
    }
}

/* Final solid green surface pass: rectangles use one clean Ibiz green, buttons stay distinct. */
:root,
body[data-color-theme] {
    --teal: #31b865;
    --green: #31b865;
    --clean-green: #31b865;
    --clean-green-bright: #31b865;
    --brand-primary: #31b865;
    --theme-a: #31b865;
}

.topbar,
body[data-color-theme] .topbar,
.mega-menu-group h3,
.service-nav-strip a:hover,
.service-jump-menu a:hover,
.digital-service-nav a:hover,
.quick-strip a,
.shop-tag:hover,
.shop-tag.is-active,
.product-tag:hover,
.catalogue-highlights article,
.admin-status-pill,
.ai-panel-head,
.whatsapp-chat-card header,
.section-heading a:not(.btn),
.digital-section-heading a:not(.btn),
.product-row-heading a:not(.btn),
.academic-nav-strip a:hover,
.footer-contact-item:hover .footer-contact-icon.phone-icon {
    color: #ffffff !important;
    background: #31b865 !important;
    background-image: none !important;
    border-color: #31b865 !important;
    box-shadow: 0 10px 24px rgba(49, 184, 101, 0.16) !important;
}

.mega-menu-group h3 i,
.quick-strip a i,
.service-nav-strip a:hover i,
.service-jump-menu a:hover i,
.digital-service-nav a:hover i {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.mega-menu-group h3 small,
.mega-menu-group h3 span,
.catalogue-highlights article span,
.quick-strip a span,
.service-nav-strip a:hover span,
.service-jump-menu a:hover span,
.digital-service-nav a:hover span,
.admin-status-pill span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.topbar a,
.topbar span,
.topbar i,
.mega-menu-group h3,
.mega-menu-group h3 i,
.catalogue-highlights article strong,
.catalogue-highlights article span,
.section-heading a:not(.btn),
.digital-section-heading a:not(.btn),
.product-row-heading a:not(.btn) {
    color: #ffffff !important;
}

.catalogue-calculator-heading .eyebrow,
.pricing-checker-head span {
    color: #2f7a4b !important;
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.catalogue-calculator-heading .eyebrow {
    display: inline-flex;
    margin: 0 0 3px;
    padding: 0;
    letter-spacing: 0;
}

.pricing-checker-head span i {
    color: #f05223 !important;
    background: transparent !important;
}

/* Final flat green palette pass: every green use is the same solid colour, including buttons. */
:root,
body[data-color-theme],
body[data-color-theme='green'] {
    --teal: #31b865;
    --green: #31b865;
    --clean-green: #31b865;
    --clean-green-dark: #31b865;
    --clean-green-bright: #31b865;
    --brand-primary: #31b865;
    --brand-primary-dark: #31b865;
    --palette-primary: #31b865;
    --palette-primary-dark: #31b865;
    --theme-a: #31b865;
    --theme-d: #31b865;
}

body[data-color-theme='green'] {
    --palette-action: #31b865;
    --palette-action-2: #31b865;
    --brand-action: #31b865;
    --brand-action-2: #31b865;
    --clean-orange: #31b865;
    --clean-red: #31b865;
    --button-gradient: #31b865;
    --button-gradient-hover: #2ca85d;
    --polish-action: #31b865;
    --polish-action-hover: #2ca85d;
    --clean-action: #31b865;
    --clean-action-hover: #2ca85d;
}

.theme-swatch-green,
.theme-swatch-green::before {
    --swatch: #31b865 !important;
    background: #31b865 !important;
    background-image: none !important;
}

.btn-whatsapp,
.mini-btn[href*='wa.me'],
.mini-btn.subtle[href*='wa.me'],
.product-card .card-actions .mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn.subtle[href*='wa.me'],
.footer-contact-icon.whatsapp-icon,
.whatsapp-chat-toggle,
.whatsapp-chat-send,
.whatsapp-chat-head,
body[data-color-theme='green'] .btn,
body[data-color-theme='green'] .btn-primary,
body[data-color-theme='green'] .btn-secondary,
body[data-color-theme='green'] .mini-btn,
body[data-color-theme='green'] .header-call,
body[data-color-theme='green'] .quote-submit,
body[data-color-theme='green'] .catalogue-calculator-bottom .btn,
body[data-color-theme='green'] .product-card .card-actions a:first-child,
body[data-color-theme='green'] .package-card .btn,
body[data-color-theme='green'] button[type='submit']:not(.nav-dropdown-toggle):not(.nav-toggle) {
    color: #ffffff !important;
    background: #31b865 !important;
    background-image: none !important;
    border-color: #31b865 !important;
    box-shadow: 0 12px 26px rgba(49, 184, 101, 0.2) !important;
}

.btn-whatsapp:hover,
.mini-btn[href*='wa.me']:hover,
.mini-btn.subtle[href*='wa.me']:hover,
.whatsapp-chat-toggle:hover,
.whatsapp-chat-send:hover,
body[data-color-theme='green'] .btn:hover,
body[data-color-theme='green'] .btn-primary:hover,
body[data-color-theme='green'] .btn-secondary:hover,
body[data-color-theme='green'] .mini-btn:hover,
body[data-color-theme='green'] .header-call:hover,
body[data-color-theme='green'] .quote-submit:hover,
body[data-color-theme='green'] button[type='submit']:not(.nav-dropdown-toggle):not(.nav-toggle):hover {
    color: #ffffff !important;
    background: #2ca85d !important;
    background-image: none !important;
    border-color: #2ca85d !important;
}

/* Final blog polish: keep article images visible and align copy cleanly. */
.blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: clamp(18px, 2.4vw, 28px);
}

.blog-featured-card {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
}

.blog-featured-media,
.blog-card-media {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: clamp(6px, 1vw, 10px);
    background: #f5faf6;
}

.blog-featured-media {
    aspect-ratio: 16 / 10;
}

.blog-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.blog-card-media {
    aspect-ratio: 16 / 9.6;
}

.blog-featured-media img,
.blog-card-media img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain !important;
    object-position: center center !important;
}

.blog-featured-copy,
.blog-card-copy {
    align-content: start;
    gap: clamp(9px, 1.2vw, 13px);
    padding: clamp(16px, 2vw, 24px);
}

.blog-card-copy h3 {
    font-size: clamp(1.02rem, 1.28vw, 1.18rem);
    line-height: 1.22;
}

.blog-featured-copy p,
.blog-card-copy p {
    line-height: 1.58;
}

.blog-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-meta {
    gap: 6px;
    font-weight: 500;
}

.blog-tags a {
    font-weight: 500;
}

.blog-mini-list a {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    font-weight: 500;
    line-height: 1.35;
}

.blog-mini-list img {
    width: 76px;
    height: 60px;
    padding: 3px;
    background: #f5faf6;
    object-fit: contain !important;
    object-position: center center !important;
}

.blog-post-hero img {
    background: #f5faf6;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 1100px) {
    .blog-featured-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-featured-media {
        aspect-ratio: 16 / 8.6;
    }
}

@media (max-width: 920px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .blog-grid,
    .blog-related-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-featured-media,
    .blog-card-media {
        aspect-ratio: 16 / 10.5;
        padding: 6px;
    }

    .blog-featured-copy,
    .blog-card-copy {
        padding: 16px;
    }
}

/* Final red-led palette: orange is only a small support accent. */
:root,
body[data-color-theme='ibiz'],
body[data-color-theme='red'],
body[data-color-theme='orange'],
body[data-color-theme='purple'] {
    --ibiz-action-red: #e62117;
    --ibiz-action-red-dark: #bd1812;
    --ibiz-action-red-soft: #fff1f0;
    --ibiz-support-orange: #d85a22;
    --red: #e62117;
    --red-soft: #fff1f0;
    --orange: #e62117;
    --theme-b: #e62117;
    --theme-c: #bd1812;
    --theme-line: rgba(230, 33, 23, 0.2);
    --theme-glow: rgba(230, 33, 23, 0.16);
    --palette-action: #e62117;
    --palette-action-2: #bd1812;
    --brand-action: #e62117;
    --brand-action-2: #bd1812;
    --clean-orange: #e62117;
    --clean-red: #bd1812;
    --polish-orange: #d85a22;
    --polish-red: #e62117;
    --polish-action: #e62117;
    --polish-action-hover: #bd1812;
    --clean-action: #e62117;
    --clean-action-hover: #bd1812;
    --button-gradient: #e62117;
    --button-gradient-hover: #bd1812;
}

body[data-color-theme='red'] {
    --palette-primary: #e62117;
    --palette-secondary: #471c54;
    --palette-tertiary: #31b865;
    --polish-green: #e62117;
    --polish-green-dark: #8c1713;
    --polish-green-soft: #fff1f0;
}

body[data-color-theme='orange'] {
    --palette-primary: #d85a22;
    --palette-secondary: #e62117;
    --palette-tertiary: #31b865;
    --palette-soft: #fff7f4;
    --palette-soft-2: #fff1f0;
    --palette-line: rgba(216, 90, 34, 0.16);
    --polish-green-soft: #fff7f4;
}

body:not([data-color-theme='green']) .header-call,
body:not([data-color-theme='green']) .btn-primary,
body:not([data-color-theme='green']) .page-hero .btn-primary,
body:not([data-color-theme='green']) .shop-hero .btn-primary,
body:not([data-color-theme='green']) .home-slide .btn-primary,
body:not([data-color-theme='green']) .quote-submit,
body:not([data-color-theme='green']) .catalogue-calculator-bottom .btn-primary,
body:not([data-color-theme='green']) .product-card .card-actions a:first-child:not([href*='wa.me']),
body:not([data-color-theme='green']) .package-card .btn,
body:not([data-color-theme='green']) .mini-btn:not(.subtle):not([href*='wa.me']),
body:not([data-color-theme='green']) button[type='submit']:not(.nav-dropdown-toggle):not(.nav-toggle):not(.whatsapp-chat-link) {
    color: #ffffff !important;
    background: #e62117 !important;
    background-image: none !important;
    border-color: #e62117 !important;
    box-shadow: 0 12px 26px rgba(230, 33, 23, 0.18) !important;
}

body:not([data-color-theme='green']) .header-call:hover,
body:not([data-color-theme='green']) .btn-primary:hover,
body:not([data-color-theme='green']) .page-hero .btn-primary:hover,
body:not([data-color-theme='green']) .shop-hero .btn-primary:hover,
body:not([data-color-theme='green']) .home-slide .btn-primary:hover,
body:not([data-color-theme='green']) .quote-submit:hover,
body:not([data-color-theme='green']) .catalogue-calculator-bottom .btn-primary:hover,
body:not([data-color-theme='green']) .product-card .card-actions a:first-child:not([href*='wa.me']):hover,
body:not([data-color-theme='green']) .package-card .btn:hover,
body:not([data-color-theme='green']) .mini-btn:not(.subtle):not([href*='wa.me']):hover,
body:not([data-color-theme='green']) button[type='submit']:not(.nav-dropdown-toggle):not(.nav-toggle):not(.whatsapp-chat-link):hover {
    color: #ffffff !important;
    background: #bd1812 !important;
    background-image: none !important;
    border-color: #bd1812 !important;
}

body:not([data-color-theme='green']) .btn-secondary,
body:not([data-color-theme='green']) .page-hero .btn-secondary,
body:not([data-color-theme='green']) .shop-hero .btn-secondary,
body:not([data-color-theme='green']) .home-slide .btn-secondary {
    color: #e62117 !important;
    background: #ffffff !important;
    background-image: none !important;
    border-color: rgba(230, 33, 23, 0.34) !important;
}

body:not([data-color-theme='green']) .btn-secondary:hover,
body:not([data-color-theme='green']) .page-hero .btn-secondary:hover,
body:not([data-color-theme='green']) .shop-hero .btn-secondary:hover,
body:not([data-color-theme='green']) .home-slide .btn-secondary:hover {
    color: #ffffff !important;
    background: #bd1812 !important;
    border-color: #bd1812 !important;
}

body:not([data-color-theme='green']) .section-heading::after,
body:not([data-color-theme='green']) .decorated-heading::after,
body:not([data-color-theme='green']) .digital-section-heading::after,
body:not([data-color-theme='green']) .product-row-heading::after,
body:not([data-color-theme='green']) .catalogue-calculator-heading > strong,
body:not([data-color-theme='green']) .pricing-checker-head strong,
body:not([data-color-theme='green']) .blog-meta span:first-child,
body:not([data-color-theme='green']) .blog-category-list strong,
body:not([data-color-theme='green']) .pricing-checker-head i {
    color: #e62117 !important;
}

body:not([data-color-theme='green']) .blog-meta span:first-child {
    background: #fff1f0 !important;
    border-color: rgba(230, 33, 23, 0.16) !important;
}

body:not([data-color-theme='green']) .section-heading::after,
body:not([data-color-theme='green']) .decorated-heading::after,
body:not([data-color-theme='green']) .digital-section-heading::after,
body:not([data-color-theme='green']) .product-row-heading::after,
body:not([data-color-theme='green']) .blog-tags a:hover,
body:not([data-color-theme='green']) .blog-video-pill,
body:not([data-color-theme='green']) .topbar-socials a:hover {
    background: #e62117 !important;
    border-color: #e62117 !important;
}

body:not([data-color-theme='green']) input:focus,
body:not([data-color-theme='green']) select:focus,
body:not([data-color-theme='green']) textarea:focus,
body:not([data-color-theme='green']) .blog-search-form:focus-within,
body:not([data-color-theme='green']) .pricing-checker input:focus,
body:not([data-color-theme='green']) .pricing-checker select:focus,
body:not([data-color-theme='green']) .catalogue-calculator-form input:focus,
body:not([data-color-theme='green']) .catalogue-calculator-form select:focus {
    border-color: rgba(230, 33, 23, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(230, 33, 23, 0.1) !important;
}

body:not([data-color-theme='green']) .footer-contact-icon.email-icon,
body:not([data-color-theme='green']) .site-footer .footer-socials a.footer-social-facebook,
body:not([data-color-theme='green']) .site-footer .footer-socials a.footer-social-linkedin,
body:not([data-color-theme='green']) .footer-contact-icon.location-icon,
body:not([data-color-theme='green']) .site-footer .footer-socials a.footer-social-instagram,
body:not([data-color-theme='green']) .site-footer .footer-socials a.footer-social-tiktok {
    color: #ffffff !important;
    background: #e62117 !important;
    border-color: #e62117 !important;
}

.theme-swatch-red,
.theme-swatch-red::before {
    --swatch: #e62117 !important;
    background: #e62117 !important;
    background-image: none !important;
}

.theme-swatch-orange,
.theme-swatch-orange::before {
    --swatch: #d85a22 !important;
    background: #d85a22 !important;
    background-image: none !important;
}

.theme-swatch-mix,
.theme-swatch-mix::before {
    --swatch: #232323 !important;
    background: #232323 !important;
    background-image: none !important;
}

.theme-swatch:hover,
.theme-swatch[aria-pressed='true'],
.theme-swatch.is-active,
.theme-swatch:focus-visible {
    outline-color: #e62117 !important;
    box-shadow: 0 0 0 3px rgba(230, 33, 23, 0.12), 0 8px 18px rgba(71, 28, 84, 0.12) !important;
}

/* Final header logo sizing: bigger mark, same compact header height. */
.site-header {
    min-height: 60px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.brand {
    gap: 9px !important;
}

.brand.has-logo .brand-logo,
.site-header .brand-logo {
    height: clamp(43px, 4.1vw, 48px) !important;
    max-width: clamp(164px, 15vw, 208px) !important;
}

.brand-text strong {
    font-size: 0.9rem !important;
    line-height: 1.05 !important;
}

.brand-text small {
    font-size: 0.67rem !important;
    line-height: 1.1 !important;
}

@media (max-width: 900px) {
    .site-header {
        min-height: 58px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .site-header .brand-logo {
        height: 42px !important;
        max-width: 176px !important;
    }
}

@media (max-width: 520px) {
    .site-header .brand-logo {
        height: 40px !important;
        max-width: 156px !important;
    }

    .brand-text {
        display: none !important;
    }
}

/* Homepage Academic Hub padding. */
.section.academic-home-band {
    padding: clamp(34px, 4.6vw, 58px) clamp(18px, 3.6vw, 42px) !important;
}

@media (max-width: 700px) {
    .section.academic-home-band {
        padding: 30px 18px !important;
    }
}

/* Final admin CMS/order desk polish. */
.admin-nav-group {
    display: grid;
    gap: 5px;
}

.admin-nav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    padding: 5px 8px;
    color: #65736b;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none;
}

.admin-nav-group summary i {
    color: #8a9890;
    font-size: 0.68rem;
    transition: transform 160ms ease;
}

.admin-nav-group[open] summary i {
    transform: rotate(180deg);
}

.admin-nav-group a {
    margin-top: 2px;
}

.admin-orders-desk {
    gap: 12px;
}

.admin-order-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 8px;
    box-shadow: var(--polish-shadow-soft);
    scrollbar-width: thin;
}

.admin-order-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 11px;
    color: #344c3e;
    font-size: 0.84rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    background: #f8fbf7;
    border: 1px solid var(--polish-line);
    border-radius: 999px;
}

.admin-order-tabs a strong {
    display: inline-grid;
    place-items: center;
    min-width: 23px;
    min-height: 23px;
    padding: 2px 6px;
    color: #123f28;
    background: #ffffff;
    border-radius: 999px;
}

.admin-order-tabs a:hover,
.admin-order-tabs a[aria-current='page'] {
    color: #ffffff;
    background: #31b865;
    border-color: #31b865;
}

.admin-order-tabs a:hover strong,
.admin-order-tabs a[aria-current='page'] strong {
    color: #31b865;
}

.admin-order-list {
    display: grid;
    gap: 10px;
}

.admin-order-card summary > span {
    min-width: 0;
}

.admin-order-card summary strong,
.admin-order-card summary small {
    display: inline-flex;
}

.admin-order-card summary small {
    color: #65736b;
    font-weight: 400;
}

.admin-order-card-body {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.admin-order-summary {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.8fr;
    gap: 10px;
}

.admin-order-summary > div,
.admin-order-box {
    min-width: 0;
    padding: 12px;
    background: #f8fbf7;
    border: 1px solid var(--polish-line);
    border-radius: 8px;
}

.admin-order-summary span,
.admin-order-box h3,
.admin-order-response label > span {
    color: #65736b;
    font-size: 0.76rem;
    font-weight: 500;
}

.admin-order-summary strong {
    display: block;
    margin-top: 4px;
    color: #142319;
    font-size: 0.96rem;
    font-weight: 600;
}

.admin-order-summary small {
    display: block;
    margin-top: 4px;
    color: #65736b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.admin-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 12px;
}

.admin-order-box {
    display: grid;
    gap: 10px;
}

.admin-order-box h3 {
    margin: 0;
    color: #142319;
    font-size: 0.94rem;
    font-weight: 600;
}

.admin-order-lines {
    display: grid;
    gap: 7px;
}

.admin-order-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 9px;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 7px;
}

.admin-order-lines span {
    color: #344c3e;
    font-size: 0.84rem;
}

.admin-order-lines strong {
    color: #123f28;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-order-note {
    max-height: 170px;
    margin: 0;
    overflow: auto;
    padding: 10px;
    color: #344c3e;
    font-size: 0.82rem;
    line-height: 1.45;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 7px;
}

.admin-order-response {
    display: grid;
    gap: 9px;
}

.admin-order-response label {
    display: grid;
    gap: 5px;
}

.admin-order-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-checkline {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 8px !important;
    color: #344c3e;
    font-size: 0.82rem;
}

.admin-checkline input {
    width: 16px;
    height: 16px;
    min-height: 0;
    padding: 0;
}

.admin-order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-order-actions .mini-btn {
    min-height: 36px;
}

.admin-command-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-form-section {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #f8fbf7;
    border: 1px solid var(--polish-line);
    border-radius: 10px;
}

.admin-section-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.admin-section-title i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    color: #ffffff;
    background: #31b865;
    border-radius: 8px;
}

.admin-section-title h2,
.admin-section-title p {
    margin: 0;
}

.admin-section-title h2 {
    color: #142319;
    font-size: 1rem;
    font-weight: 600;
}

.admin-section-title p {
    margin-top: 3px;
    color: #65736b;
    font-size: 0.84rem;
    line-height: 1.4;
}

.admin-order-create-form {
    max-width: none;
}

.admin-line-items {
    display: grid;
    gap: 10px;
    overflow: visible;
    padding-bottom: 2px;
}

.admin-line-list {
    display: grid;
    gap: 8px;
}

.admin-line-heading,
.admin-line-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.35fr) minmax(76px, 0.42fr) minmax(115px, 0.55fr) minmax(110px, 0.55fr) 40px;
    gap: 8px;
    min-width: 0;
    align-items: center;
}

.admin-line-heading {
    padding: 0 2px;
    color: #65736b;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-line-row {
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 9px;
}

.admin-line-row select,
.admin-line-row input {
    min-width: 0;
}

.admin-line-total {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
    padding: 9px 10px;
    color: #142319;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    background: #f7faf6;
    border: 1px solid var(--polish-line);
    border-radius: 7px;
}

.admin-line-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: #e62117;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.admin-line-icon:disabled {
    color: #7c8b82;
    background: #eef3ee;
    cursor: not-allowed;
}

.admin-line-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 2px;
}

.admin-line-toolbar strong {
    color: #142319;
    font-size: 1rem;
    font-weight: 650;
    white-space: nowrap;
}

.admin-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: end;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 10px;
    box-shadow: var(--polish-shadow-soft);
}

.admin-search-row label {
    display: grid;
    gap: 5px;
}

.admin-customer-list,
.admin-document-order-grid {
    display: grid;
    gap: 10px;
}

.admin-customer-card summary > span {
    min-width: 0;
}

.admin-customer-card summary strong,
.admin-customer-card summary small {
    display: inline-flex;
}

.admin-customer-form {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--polish-line);
    border-radius: 0;
    box-shadow: none;
}

.admin-customer-insight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.admin-customer-insight div,
.admin-document-order-card {
    min-width: 0;
    padding: 11px;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 9px;
}

.admin-customer-insight span,
.admin-document-order-card span {
    display: block;
    color: #65736b;
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
}

.admin-customer-insight strong,
.admin-document-order-card strong {
    display: block;
    margin-top: 4px;
    color: #142319;
    font-size: 0.94rem;
    font-weight: 600;
}

.admin-document-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    background: #f8fbf7;
}

.admin-document-order-card small {
    display: block;
    margin-top: 4px;
    color: #65736b;
    font-size: 0.8rem;
    line-height: 1.35;
}

.admin-document-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 1050px) {
    .admin-order-summary,
    .admin-order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-nav {
        align-content: start;
    }

    .admin-nav-group {
        min-width: 190px;
    }

    .admin-nav-group summary {
        padding-inline: 6px;
    }

    .admin-order-tabs {
        margin-inline: -2px;
    }

    .admin-order-card summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-command-actions,
    .admin-document-order-card {
        justify-content: stretch;
        grid-template-columns: 1fr;
    }

    .admin-document-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .admin-order-controls {
        grid-template-columns: 1fr;
    }

    .admin-order-lines div,
    .admin-order-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-order-actions .mini-btn {
        justify-content: center;
        width: 100%;
    }

    .admin-customer-insight,
    .admin-search-row {
        grid-template-columns: 1fr;
    }

    .admin-line-heading {
        display: none;
    }

    .admin-line-row {
        grid-template-columns: 1fr 1fr 40px;
        min-width: 0;
    }

    .admin-line-row select,
    .admin-line-row input:nth-child(2) {
        grid-column: 1 / -1;
    }

    .admin-line-total {
        justify-content: flex-start;
    }

    .admin-line-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-document-actions .mini-btn {
        flex: 1 1 120px;
    }
}

/* Gemini bot, supported brands scroll, and mobile footer action panel. */
.ai-panel-head {
    color: #ffffff !important;
    background: #123f28 !important;
    border: 0 !important;
    border-radius: 8px;
    padding: 12px;
    box-shadow: none !important;
}

.ai-panel-head strong,
.ai-panel-head span {
    color: #ffffff !important;
}

.ai-panel-head button {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.client-logo-section {
    overflow: hidden;
}

.client-logo-scroll {
    display: block !important;
    width: min(var(--max), 100%);
    margin-inline: auto;
    overflow: hidden;
    padding: 5px 0 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42px, #000 calc(100% - 42px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 42px, #000 calc(100% - 42px), transparent 100%);
}

.client-logo-track {
    display: flex;
    width: max-content;
    gap: 12px;
    align-items: stretch;
    animation: client-logos-scroll 46s linear infinite;
    will-change: transform;
}

.client-logo-scroll:hover .client-logo-track,
.client-logo-scroll:focus-within .client-logo-track {
    animation-play-state: paused;
}

.client-logo-scroll .client-logo-card {
    flex: 0 0 clamp(154px, 15vw, 220px);
    min-height: 86px;
    padding: 12px 14px;
    border-color: rgba(31, 64, 45, 0.1);
    box-shadow: 0 12px 28px rgba(18, 56, 34, 0.055);
}

.client-logo-scroll .client-logo-card img {
    max-width: 100%;
    max-height: 54px;
    filter: saturate(0.92) contrast(1.04);
}

.media-price-list[data-reveal-list] {
    position: relative;
    overflow: hidden;
    transition: max-height 260ms ease;
}

.media-price-list[data-reveal-list].is-collapsed {
    max-height: 338px;
}

.media-price-list[data-reveal-list].is-collapsed::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 88%);
}

.media-price-card.featured .media-price-list[data-reveal-list].is-collapsed::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 88%);
}

.media-price-list[data-reveal-list].is-expanded {
    max-height: 1200px;
}

.media-price-list[data-reveal-list] div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
}

.media-price-list[data-reveal-list] span {
    grid-column: 1 / -1;
    min-width: 0;
    line-height: 1.35;
}

.media-price-list[data-reveal-list] strong {
    min-width: 0;
}

.media-price-list[data-reveal-list] b {
    align-self: start;
    justify-self: end;
    text-align: right;
}

.media-price-card p,
.media-price-card .price-note,
.media-hero-copy p,
.media-lane h2,
.media-process-grid p {
    width: 100%;
    max-width: none;
}

@media (min-width: 900px) {
    .media-price-section .media-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-price-section .media-price-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .media-price-section .media-price-card:nth-child(3) .media-price-list[data-reveal-list] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .media-price-list[data-reveal-list] span {
        white-space: nowrap;
    }
}

.see-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    margin-top: -2px;
    color: #123f28;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 560;
    background: #f5faf6;
    border: 1px solid rgba(31, 64, 45, 0.1);
    border-radius: 999px;
    cursor: pointer;
}

.see-more-toggle i {
    color: #31b865;
    transition: transform 160ms ease;
}

.see-more-toggle[aria-expanded='true'] i {
    transform: rotate(180deg);
}

@keyframes client-logos-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mobile-footer-panel {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-scroll {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .client-logo-track {
        animation: none;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: 84px;
    }

    .mobile-footer-panel {
        position: fixed;
        right: 8px;
        bottom: 8px;
        left: 8px;
        z-index: 45;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(31, 64, 45, 0.1);
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(18, 56, 34, 0.18);
        backdrop-filter: blur(18px);
    }

    .mobile-footer-action {
        display: grid;
        place-items: center;
        gap: 3px;
        min-width: 0;
        min-height: 54px;
        padding: 6px 3px;
        color: #26352c;
        font: inherit;
        font-size: 0.68rem;
        font-weight: 560;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        background: transparent;
        border: 0;
        border-radius: 13px;
        cursor: pointer;
    }

    .mobile-footer-action i {
        display: grid;
        width: 28px;
        height: 28px;
        place-items: center;
        color: #e62117;
        font-size: 0.95rem;
        background: #fff1f0;
        border-radius: 999px;
    }

    .mobile-footer-action.call-action i {
        color: #ffffff;
        background: #31b865;
    }

    .mobile-footer-action:hover,
    .mobile-footer-action:focus-visible,
    .mobile-footer-action[aria-expanded='true'] {
        color: #ffffff;
        background: #123f28;
        outline: 0;
    }

    .mobile-footer-action:hover i,
    .mobile-footer-action:focus-visible i,
    .mobile-footer-action[aria-expanded='true'] i {
        color: #123f28;
        background: #ffffff;
    }

    .site-nav.is-open {
        padding-bottom: 88px;
    }

    .whatsapp-chat-widget {
        right: 12px;
        bottom: 92px;
    }

    .ai-float-toggle {
        right: 72px;
        bottom: 92px;
        width: 50px;
        height: 50px;
    }

    .ai-float-panel {
        right: 10px;
        bottom: 150px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 178px);
        overflow: auto;
    }

    .whatsapp-chat-card {
        width: calc(100vw - 20px);
    }

    .media-price-list[data-reveal-list] div {
        grid-template-columns: minmax(0, 1fr) auto;
    }

.media-price-list[data-reveal-list] span {
    grid-column: 1 / -1;
}
}

/* Product detail overflow fix: stable media/order grid and clean sample rail. */
.product-detail-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr) !important;
    gap: clamp(18px, 2.4vw, 30px) !important;
    overflow: visible;
}

.product-detail-layout,
.product-media-panel,
.product-buy-panel,
.pricing-checker,
.selected-product-summary {
    min-width: 0 !important;
}

.product-media-panel,
.product-buy-panel {
    padding: clamp(16px, 2vw, 24px) !important;
    border-color: rgba(25, 170, 75, 0.13) !important;
    border-radius: 10px !important;
}

.product-media-panel {
    gap: 14px !important;
    align-self: start;
}

.product-gallery-stage {
    aspect-ratio: 16 / 11 !important;
    overflow: hidden !important;
    border-color: rgba(25, 170, 75, 0.14) !important;
}

.product-gallery-stage img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: clamp(8px, 1.2vw, 14px);
    object-fit: contain !important;
    object-position: center !important;
}

.product-sample-strip {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(132px, 160px) !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 12px !important;
    scroll-snap-type: x proximity;
}

.sample-thumb {
    min-width: 0 !important;
    max-width: 160px;
}

.sample-thumb img {
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
}

.product-buy-panel {
    display: grid !important;
    align-content: start;
    gap: 14px;
}

.selected-product-summary {
    gap: 9px !important;
    margin-bottom: 4px !important;
    padding-bottom: 14px !important;
}

.selected-product-summary h2 {
    font-size: clamp(1.32rem, 2vw, 1.78rem) !important;
    line-height: 1.16 !important;
}

.selected-product-summary p,
.product-buy-panel > p:not(.eyebrow),
.pricing-checker small {
    max-width: 100%;
    line-height: 1.5;
}

.product-price-heading {
    margin: 0 !important;
    font-size: clamp(1.48rem, 2.4vw, 2.12rem) !important;
}

.pricing-checker {
    margin: 0 !important;
    padding: 12px !important;
    overflow: hidden;
}

.pricing-checker-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

.price-tier-card .table-wrap,
.compact-table {
    max-width: 100%;
    overflow-x: auto;
}

.product-detail-tags {
    align-items: flex-start;
}

.product-buy-panel .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px !important;
}

.product-buy-panel .hero-actions .btn,
.product-buy-panel .hero-actions .inline-cart-form {
    min-width: 0;
    width: 100%;
}

.product-buy-panel .hero-actions .btn-whatsapp {
    grid-column: 1 / -1;
}

@media (min-width: 1180px) {
    .product-buy-panel {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 1020px) {
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        max-width: min(100% - 28px, 920px);
    }

    .product-buy-panel {
        position: static;
    }
}

@media (max-width: 620px) {
    .product-detail-layout {
        width: min(100% - 24px, var(--max)) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .product-media-panel,
    .product-buy-panel {
        padding: 14px !important;
    }

    .product-gallery-stage {
        aspect-ratio: 4 / 3 !important;
    }

    .product-sample-strip {
        grid-auto-columns: minmax(122px, 42vw) !important;
    }

    .pricing-checker-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .pricing-checker-form,
    .product-buy-panel .hero-actions {
        grid-template-columns: 1fr !important;
    }

    .product-buy-panel .hero-actions .btn-whatsapp {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .mobile-footer-panel {
        right: 6px;
        left: 6px;
        gap: 2px;
        padding: 5px;
    }

    .mobile-footer-action {
        min-height: 51px;
        font-size: 0.64rem;
    }

    .mobile-footer-action i {
        width: 26px;
        height: 26px;
        font-size: 0.88rem;
    }
}

/* Wide responsive shell: reduce empty side space on large screens. */
@media (min-width: 1280px) {
    .topbar-inner,
    .home-slide-inner,
    .home-hero,
    .section,
    .section-heading,
    .decorated-heading,
    .digital-section-heading,
    .product-grid,
    .work-grid,
    .contact-grid,
    .shop-search-band form,
    .shop-tag-rail,
    .ai-search-summary,
    .blog-post-hero,
    .cms-page-hero,
    .cms-page-layout,
    .blog-layout,
    .blog-grid,
    .blog-related-grid,
    .shop-layout,
    .product-detail-layout,
    .cart-layout,
    .catalogue-shell,
    .company-profile-hero,
    .profile-section,
    .academic-hero,
    .academic-section {
        width: min(var(--max), calc(100% - var(--wide-gutter))) !important;
        max-width: min(var(--max), calc(100% - var(--wide-gutter))) !important;
    }

    .site-header {
        padding-right: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
        padding-left: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
    }

    .page-hero,
    .shop-hero,
    .blog-hero {
        padding-right: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
        padding-left: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
    }

    .site-footer {
        padding-right: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
        padding-left: max(calc(var(--wide-gutter) / 2), calc((100% - var(--max)) / 2)) !important;
    }

    .product-carousel .product-grid {
        grid-auto-columns: minmax(244px, 1fr);
    }
}

@media (min-width: 1600px) {
    .home-slide-copy,
    .home-hero-copy,
    .media-hero-copy,
    .digital-lead-copy,
    .intro-grid > div:first-child {
        max-width: 920px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Checkout payment detail accordion */
.payment-details-accordion {
    margin: 18px 0 8px;
    border: 1px solid rgba(23, 35, 31, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(23, 35, 31, 0.08);
    overflow: hidden;
}

.payment-details-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 15px 16px;
    color: var(--ink);
    font-weight: 600;
    list-style: none;
}

.payment-details-accordion summary::-webkit-details-marker {
    display: none;
}

.payment-details-accordion summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payment-details-accordion summary i {
    color: #31b865;
}

.payment-details-accordion summary small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.payment-details-accordion[open] summary {
    border-bottom: 1px solid rgba(23, 35, 31, 0.08);
}

.payment-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 16px 8px;
}

.payment-details-grid div {
    border-radius: 10px;
    background: #f7faf8;
    padding: 12px;
    min-width: 0;
}

.payment-details-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.2;
}

.payment-details-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.payment-details-accordion p {
    margin: 0;
    padding: 4px 16px 16px;
    color: var(--muted);
    line-height: 1.55;
}

.result-payment-details {
    width: min(780px, 100%);
    margin: 18px auto 0;
    text-align: left;
}

.color-theme-palette.is-locked {
    opacity: 0.72;
}

.color-theme-palette.is-locked .theme-swatch {
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .payment-details-accordion summary {
        align-items: flex-start;
        flex-direction: column;
        padding: 13px 14px;
    }

    .payment-details-grid {
        grid-template-columns: 1fr;
        padding: 12px 14px 6px;
    }

    .payment-details-accordion p {
        padding: 4px 14px 14px;
    }
}

/* WordPress-inspired admin sidebar: wider, readable, and always ready for CMS work. */
.admin-panel:has(.admin-nav) {
    width: min(100% - 32px, 1780px) !important;
    max-width: min(100% - 32px, 1780px) !important;
    grid-template-columns: minmax(292px, 326px) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: start !important;
}

.admin-nav {
    top: 78px !important;
    gap: 0 !important;
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
    padding: 0 !important;
    color: #f6fbf7 !important;
    background: #17231f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 22px 56px rgba(18, 35, 28, 0.2) !important;
}

.admin-nav-brand {
    min-height: 70px !important;
    padding: 14px 16px !important;
    color: #ffffff !important;
    background: #111b17 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.admin-nav-brand span {
    width: 42px !important;
    height: 42px !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    background: #31b865 !important;
    border-radius: 9px !important;
}

.admin-nav-brand strong {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.admin-nav-brand small {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
}

.admin-nav-group {
    gap: 0 !important;
    padding: 8px 10px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-nav-group:last-of-type {
    border-bottom: 0 !important;
}

.admin-nav-group summary {
    min-height: 32px !important;
    padding: 5px 8px 7px !important;
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.admin-nav-group[data-current-group='true'] summary {
    color: #ffffff !important;
}

.admin-nav-group summary i {
    color: rgba(255, 255, 255, 0.46) !important;
}

.admin-nav a {
    position: relative !important;
    min-height: 42px !important;
    margin: 1px 0 !important;
    padding: 9px 11px 9px 10px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
}

.admin-nav a span {
    display: block !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.admin-nav a i {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    color: #b7f1cc !important;
    background: rgba(49, 184, 101, 0.14) !important;
    border-radius: 8px !important;
}

.admin-nav a:hover,
.admin-nav a[aria-current='page'] {
    color: #ffffff !important;
    background: #31b865 !important;
    border-color: #31b865 !important;
}

.admin-nav a:hover i,
.admin-nav a[aria-current='page'] i {
    color: #17231f !important;
    background: #ffffff !important;
}

.admin-nav a[aria-current='page']::before {
    content: "";
    position: absolute;
    inset: 8px auto 8px -10px;
    width: 4px;
    background: #ffffff;
    border-radius: 999px;
}

.admin-nav-logout {
    margin: 8px 10px 12px !important;
    color: #ffd9d7 !important;
    background: rgba(230, 33, 23, 0.08) !important;
}

.admin-nav-logout:hover {
    color: #ffffff !important;
    background: #e62117 !important;
    border-color: #e62117 !important;
}

@media (max-width: 1260px) {
    .admin-panel:has(.admin-nav) {
        grid-template-columns: minmax(270px, 296px) minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    .admin-nav a {
        font-size: 0.84rem !important;
    }
}

@media (max-width: 900px) {
    .admin-panel:has(.admin-nav) {
        width: min(100% - 28px, var(--max)) !important;
        max-width: min(100% - 28px, var(--max)) !important;
        grid-template-columns: 1fr !important;
    }

    .admin-nav {
        position: static !important;
        display: grid !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 10px !important;
    }

    .admin-nav-brand {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .admin-nav-group {
        padding: 8px 10px !important;
    }

    .admin-nav-group a {
        white-space: normal !important;
    }
}

@media (max-width: 560px) {
    .admin-nav a {
        min-height: 44px !important;
        padding-inline: 9px !important;
    }
}

/* Final WordPress-like dark grey admin colour and TinyMCE polish. */
.admin-nav {
    background: #1d2327 !important;
}

.admin-nav-brand {
    background: #151a1e !important;
}

.admin-nav a:hover {
    background: #2c3338 !important;
    border-color: #3c434a !important;
}

.admin-nav a[aria-current='page'] {
    background: #31b865 !important;
    border-color: #31b865 !important;
}

.tox.tox-tinymce {
    overflow: hidden;
    border-color: var(--polish-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(23, 35, 31, 0.06);
}

.tox .tox-toolbar,
.tox .tox-toolbar__overflow,
.tox .tox-toolbar__primary,
.tox .tox-statusbar {
    background: #f8fbf7 !important;
}

.tox .tox-tbtn {
    border-radius: 7px !important;
}

/* CMS list screens: WordPress-style all-items first, edit only when selected. */
.admin-editor-screen,
.admin-product-editor {
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(16px, 2.2vw, 24px) !important;
    background: #ffffff !important;
    border: 1px solid var(--polish-line) !important;
    border-radius: 10px !important;
    box-shadow: var(--polish-shadow-soft) !important;
}

.admin-cms-list {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--polish-line);
    border-radius: 10px;
    box-shadow: var(--polish-shadow-soft);
}

.admin-cms-list-head,
.admin-cms-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(132px, 0.58fr) minmax(110px, 0.45fr) minmax(130px, 0.55fr) minmax(310px, 0.9fr);
    gap: 12px;
    align-items: center;
}

.admin-cms-list-head {
    min-height: 42px;
    padding: 10px 14px;
    color: #50575e;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #f6f7f7;
    border-bottom: 1px solid #dcdcde;
}

.admin-cms-row {
    min-height: 68px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f1;
}

.admin-cms-row:last-child {
    border-bottom: 0;
}

.admin-cms-row:hover {
    background: #f9fbf9;
}

.admin-cms-row > div,
.admin-cms-row > span {
    min-width: 0;
}

.admin-cms-row strong,
.admin-cms-row small {
    display: block;
}

.admin-cms-row strong {
    color: #1d2327;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.25;
}

.admin-cms-row small {
    margin-top: 4px;
    color: #646970;
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.admin-cms-row > span:not(.admin-status-pill) {
    color: #3c434a;
    font-size: 0.86rem;
    line-height: 1.35;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-row-actions form {
    margin: 0;
}

.admin-row-actions .mini-btn,
.admin-row-actions button.mini-btn {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.78rem;
    font-weight: 500;
}

.mini-btn.danger,
button.mini-btn.danger {
    color: #b42318 !important;
    background: #fff4f2 !important;
    border-color: #ffd5d0 !important;
}

.mini-btn.danger:hover,
button.mini-btn.danger:hover {
    color: #ffffff !important;
    background: #e62117 !important;
    border-color: #e62117 !important;
}

.admin-product-list .admin-cms-list-head,
.admin-product-list .admin-cms-row {
    grid-template-columns: minmax(320px, 1.55fr) minmax(150px, 0.62fr) minmax(120px, 0.5fr) minmax(105px, 0.42fr) minmax(330px, 0.9fr);
}

.admin-services-list .admin-cms-list-head,
.admin-services-list .admin-cms-row {
    grid-template-columns: minmax(280px, 1.4fr) minmax(145px, 0.6fr) minmax(82px, 0.34fr) minmax(100px, 0.42fr) minmax(330px, 0.9fr);
}

.admin-blog-list .admin-cms-list-head,
.admin-blog-list .admin-cms-row {
    grid-template-columns: minmax(300px, 1.45fr) minmax(145px, 0.6fr) minmax(105px, 0.42fr) minmax(148px, 0.58fr) minmax(330px, 0.9fr);
}

.admin-product-list .admin-product-summary strong {
    color: #1d2327;
}

.admin-product-list .admin-product-summary em {
    color: #646970;
    font-weight: 400;
}

.admin-product-editor .admin-actions,
.admin-editor-screen .admin-actions {
    justify-content: flex-end;
    padding-top: 2px;
}

@media (max-width: 1320px) {
    .admin-cms-list-head,
    .admin-cms-row,
    .admin-product-list .admin-cms-list-head,
    .admin-product-list .admin-cms-row,
    .admin-services-list .admin-cms-list-head,
    .admin-services-list .admin-cms-row,
    .admin-blog-list .admin-cms-list-head,
    .admin-blog-list .admin-cms-row {
        grid-template-columns: minmax(260px, 1fr) minmax(130px, 0.5fr) minmax(108px, 0.42fr) minmax(300px, 0.85fr);
    }

    .admin-cms-list-head span:nth-child(4),
    .admin-cms-row > span:nth-child(4) {
        display: none;
    }
}

@media (max-width: 760px) {
    .admin-cms-list-head {
        display: none;
    }

    .admin-cms-row,
    .admin-product-list .admin-cms-row,
    .admin-services-list .admin-cms-row,
    .admin-blog-list .admin-cms-row {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
        padding: 13px;
    }

    .admin-row-actions {
        justify-content: flex-start;
    }

    .admin-row-actions .mini-btn,
    .admin-row-actions button.mini-btn {
        flex: 1 1 118px;
        justify-content: center;
    }

    .admin-product-summary {
        align-items: flex-start;
    }
}

/* Final search and responsive fit pass. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    position: relative;
}

main,
.site-header,
.topbar,
.site-footer,
section,
article,
aside,
nav,
div,
form {
    min-width: 0;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

.home-shop-finder,
.shop-search-band,
.section,
.topbar-inner,
.site-header-inner,
.home-slide-inner,
.page-hero > *,
.shop-hero > *,
.site-footer > *,
.shop-tag-rail,
.mobile-category-rail {
    max-width: min(var(--container), calc(100vw - 24px));
}

.home-shop-finder form,
.shop-search-band form {
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control {
    position: relative;
    z-index: 80;
    width: 100%;
}

.home-shop-finder .ai-live-results,
.shop-search-band .ai-live-results {
    position: absolute !important;
    top: calc(100% + 14px) !important;
    left: 0 !important;
    right: 0 !important;
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: 100% !important;
    max-height: min(52vh, 430px) !important;
    margin: 0 !important;
    transform: none !important;
    overflow-y: auto !important;
    z-index: 120 !important;
}

.product-grid,
.shop-grid,
.shop-layout,
.service-nav-strip,
.digital-service-nav,
.digital-lead,
.digital-package-grid,
.digital-card-grid,
.project-grid,
.faq-grid,
.contact-grid,
.home-category-grid,
.home-project-grid,
.footer-grid {
    max-width: 100%;
    min-width: 0;
}

.product-card,
.service-card,
.digital-card,
.project-card,
.home-category-card,
.home-project-card {
    min-width: 0;
}

.product-card *,
.service-card *,
.digital-card *,
.project-card *,
.home-category-card *,
.home-project-card *,
.page-hero *,
.shop-hero * {
    overflow-wrap: anywhere;
}

.product-carousel,
.quick-tag-window,
.shop-tag-rail,
.mobile-category-rail {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    max-width: 100%;
}

.whatsapp-chat-widget,
.whatsapp-chat-card,
.whatsapp-chat-toggle,
.ai-float-toggle,
.ai-float-panel,
.color-theme-palette {
    max-width: calc(100vw - 24px);
}

@media (max-width: 900px) {
    .home-slide-copy,
    .page-hero,
    .shop-hero {
        max-width: 100%;
    }

    .home-shop-finder,
    .shop-search-band,
    .section,
    .topbar-inner,
    .site-header-inner,
    .site-footer > * {
        max-width: calc(100vw - 20px);
    }
}

@media (max-width: 760px) {
    .topbar-inner,
    .site-header-inner,
    .home-slide-inner,
    .section,
    .page-hero > *,
    .shop-hero > *,
    .home-shop-finder,
    .shop-search-band,
    .site-footer > * {
        max-width: calc(100vw - 16px) !important;
    }

    .site-nav.is-open {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .home-shop-finder form,
    .shop-search-band form {
        gap: 10px;
    }

    .home-shop-finder .ai-live-results,
    .shop-search-band .ai-live-results {
        top: calc(100% + 10px) !important;
        width: 100% !important;
        max-height: 58vh !important;
        border-radius: 14px !important;
    }

    .shop-layout,
    .service-nav-strip,
    .digital-service-nav,
    .digital-lead,
    .digital-package-grid,
    .digital-card-grid,
    .project-grid,
    .faq-grid,
    .contact-grid,
    .home-category-grid,
    .home-project-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .product-grid,
    .shop-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .product-carousel .product-grid {
        grid-auto-columns: minmax(0, 100%) !important;
    }

    .shop-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .shop-tag-rail,
    .mobile-category-rail,
    .quick-tag-window {
        max-width: 100%;
        overflow-x: auto;
    }

    .whatsapp-chat-widget {
        right: 12px !important;
        bottom: 82px !important;
        left: auto !important;
    }

    .whatsapp-chat-toggle strong {
        display: none !important;
    }

    .ai-float-toggle {
        right: 12px !important;
        bottom: 20px !important;
    }

    .ai-float-panel,
    .whatsapp-chat-card {
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
    }

    .color-theme-palette {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .home-shop-finder,
    .shop-search-band,
    .section,
    .topbar-inner,
    .site-header-inner,
    .site-footer > * {
        max-width: calc(100vw - 12px) !important;
    }

    .home-shop-finder input,
    .shop-search-band input {
        min-width: 0 !important;
        font-size: 0.95rem !important;
    }
}

/* Final pass: remove boxed text-label treatment from headings and portfolio text. */
.home-slide .eyebrow,
.page-hero .eyebrow,
.shop-hero .eyebrow,
.cms-page-hero .eyebrow,
.blog-hero .eyebrow,
.blog-post-hero .eyebrow,
.section-heading .eyebrow,
.decorated-heading .eyebrow,
.digital-section-heading .eyebrow,
.catalogue-calculator-heading .eyebrow,
.academic-home-copy .eyebrow,
.blog-cta-panel .eyebrow,
.mega-menu-lead .eyebrow,
.portfolio-service-strip span,
.home-project-copy span,
.service-reel-caption span {
    width: auto !important;
    max-width: max-content !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
}

.home-slide .eyebrow::before,
.home-slide .eyebrow::after,
.page-hero .eyebrow::before,
.page-hero .eyebrow::after,
.shop-hero .eyebrow::before,
.shop-hero .eyebrow::after,
.cms-page-hero .eyebrow::before,
.cms-page-hero .eyebrow::after,
.blog-hero .eyebrow::before,
.blog-hero .eyebrow::after,
.blog-post-hero .eyebrow::before,
.blog-post-hero .eyebrow::after,
.section-heading .eyebrow::before,
.section-heading .eyebrow::after,
.decorated-heading .eyebrow::before,
.decorated-heading .eyebrow::after,
.digital-section-heading .eyebrow::before,
.digital-section-heading .eyebrow::after,
.catalogue-calculator-heading .eyebrow::before,
.catalogue-calculator-heading .eyebrow::after,
.portfolio-service-strip span::before,
.portfolio-service-strip span::after,
.home-project-copy span::before,
.home-project-copy span::after,
.service-reel-caption span::before,
.service-reel-caption span::after {
    display: none !important;
    content: none !important;
}

.portfolio-service-strip {
    gap: 16px !important;
}

.portfolio-service-strip span,
.home-project-copy span {
    color: var(--polish-action, #19aa4b) !important;
    font-weight: 650 !important;
}

/* Final pass: WhatsApp green gradient backgrounds for showcase and Academic Hub surfaces. */
:root {
    --whatsapp-green: #25d366;
    --whatsapp-green-brand: #19aa4b;
    --whatsapp-teal: #128c7e;
    --whatsapp-deep: #075e54;
    --whatsapp-gradient: linear-gradient(135deg, #075e54 0%, #128c7e 43%, #19aa4b 72%, #25d366 100%);
    --whatsapp-gradient-soft:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(37, 211, 102, 0.22), transparent 28%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        var(--whatsapp-gradient);
}

.service-reel,
.academic-home-band,
.academic-lead .digital-side-panel,
.academic-hero,
.academic-cta,
.about-service-showcase {
    color: #ffffff !important;
    background: var(--whatsapp-gradient-soft) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 24px 58px rgba(7, 94, 84, 0.24) !important;
}

.academic-home-band,
.academic-lead .digital-side-panel,
.academic-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(37, 211, 102, 0.24), transparent 28%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, rgba(7, 94, 84, 0.98) 0%, rgba(18, 140, 126, 0.92) 43%, rgba(25, 170, 75, 0.9) 72%, rgba(37, 211, 102, 0.86) 100%),
        url('../img/home-digital.avif') center/cover !important;
}

.service-reel-stage {
    background: var(--whatsapp-deep) !important;
}

.service-reel-slide::after {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
        linear-gradient(90deg, rgba(7, 94, 84, 0.78), rgba(18, 140, 126, 0.34) 58%, rgba(37, 211, 102, 0.12)) !important;
}

.service-reel-side,
.service-reel-thumb {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.service-reel-thumb.is-active,
.service-reel-thumb:hover {
    background: rgba(37, 211, 102, 0.26) !important;
    border-color: rgba(37, 211, 102, 0.68) !important;
}

.service-reel-caption a,
.service-reel-arrow,
.service-reel-kicker i,
.service-reel-caption span i {
    color: #ffffff !important;
    background: linear-gradient(135deg, #25d366 0%, #19aa4b 52%, #128c7e 100%) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.academic-home-copy h2,
.academic-home-copy p,
.academic-home-copy .eyebrow,
.academic-stat-row span,
.academic-stat-row strong,
.academic-hero h1,
.academic-hero p,
.academic-hero .eyebrow,
.academic-cta h2,
.academic-cta p,
.academic-cta .eyebrow,
.about-service-showcase h2,
.about-service-showcase p,
.about-service-showcase .eyebrow {
    color: #ffffff !important;
}

/* Final product makeover: cleaner cards and truly responsive mobile collections. */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 10px !important;
    gap: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid rgba(18, 63, 40, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(18, 63, 40, 0.08) !important;
}

.product-card::before {
    height: 3px !important;
    background: linear-gradient(90deg, #19aa4b, #25d366) !important;
}

.product-thumb {
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 16 / 10.5 !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
    background: #f4faf6 !important;
    border: 1px solid rgba(18, 63, 40, 0.08) !important;
    border-radius: 10px !important;
}

.product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.product-card > span,
.product-card h3,
.product-card p,
.product-tags,
.product-card > strong,
.product-card .card-actions {
    margin-right: 8px !important;
    margin-left: 8px !important;
}

.product-card > span {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 7px !important;
    padding: 0 !important;
    color: #128c42 !important;
    font-size: 0.73rem !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.product-card h3,
.product-card h3 a {
    color: #142319 !important;
    font-size: clamp(0.98rem, 1.1vw, 1.08rem) !important;
    font-weight: 650 !important;
    line-height: 1.22 !important;
    text-decoration: none !important;
}

.product-card h3 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.product-card p {
    display: -webkit-box !important;
    min-height: 0 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    color: #627067 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.product-tags {
    gap: 6px !important;
    margin-top: 10px !important;
}

.product-card > strong {
    margin-top: auto !important;
    padding-top: 12px !important;
    color: #0f6f34 !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.product-card .card-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.product-card .card-actions .inline-cart-form {
    display: contents !important;
}

.product-card .card-actions .mini-btn,
.product-card .card-actions .inline-cart-form .mini-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 8px 9px !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    border-radius: 9px !important;
}

.product-card .card-actions .mini-btn[href*='wa.me'],
.product-card .card-actions .mini-btn.subtle[href*='wa.me'] {
    grid-column: 1 / -1 !important;
}

body:not(.admin-body) .shop-layout .product-card .card-actions .mini-btn[href*='wa.me'],
body:not(.admin-body) .shop-layout .product-card .card-actions .mini-btn.subtle[href*='wa.me'],
body:not(.admin-body) .home-featured-products .product-card .card-actions .mini-btn[href*='wa.me'],
body:not(.admin-body) .home-featured-products .product-card .card-actions .mini-btn.subtle[href*='wa.me'],
body:not(.admin-body) .product-row-section .product-card .card-actions .mini-btn[href*='wa.me'],
body:not(.admin-body) .product-row-section .product-card .card-actions .mini-btn.subtle[href*='wa.me'] {
    width: calc(100% + 38px) !important;
    min-height: 44px !important;
    margin-top: 4px !important;
    margin-right: -19px !important;
    margin-bottom: -10px !important;
    margin-left: -19px !important;
    padding: 11px 12px !important;
    color: #ffffff !important;
    background: #19aa4b !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    text-align: center;
}

body:not(.admin-body) .shop-layout .product-card .card-actions .mini-btn[href*='wa.me']:hover,
body:not(.admin-body) .shop-layout .product-card .card-actions .mini-btn.subtle[href*='wa.me']:hover,
body:not(.admin-body) .home-featured-products .product-card .card-actions .mini-btn[href*='wa.me']:hover,
body:not(.admin-body) .home-featured-products .product-card .card-actions .mini-btn.subtle[href*='wa.me']:hover,
body:not(.admin-body) .product-row-section .product-card .card-actions .mini-btn[href*='wa.me']:hover,
body:not(.admin-body) .product-row-section .product-card .card-actions .mini-btn.subtle[href*='wa.me']:hover {
    color: #ffffff !important;
    background: #128c42 !important;
    transform: none !important;
}

body:not(.admin-body) .shop-layout .product-card .card-actions,
body:not(.admin-body) .home-featured-products .product-card .card-actions,
body:not(.admin-body) .product-row-section .product-card .card-actions {
    align-self: stretch !important;
    width: calc(100% - 16px) !important;
}

@media (min-width: 901px) {
    .product-carousel .product-grid[data-product-track] {
        grid-auto-columns: minmax(246px, calc((100% - 54px) / 4)) !important;
        gap: 18px !important;
        padding-bottom: 18px !important;
    }
}

@media (max-width: 900px) {
    .home-product-rows,
    .product-band.home-featured-products {
        background: #f7faf8 !important;
    }

    .home-product-rows {
        display: grid !important;
        gap: 18px !important;
        padding: 16px 0 28px !important;
    }

    .product-row-section,
    .product-band.home-featured-products {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .product-carousel {
        width: min(var(--max), calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .product-carousel .product-grid[data-product-track] {
        display: grid !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .home-featured-products .section-heading-actions .carousel-btn,
    .product-row-section .section-heading-actions .carousel-btn {
        display: none !important;
    }

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

@media (max-width: 640px) {
    .product-carousel,
    .product-grid,
    .shop-grid,
    .shop-layout .product-grid {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .product-carousel .product-grid[data-product-track],
    .shop-grid,
    .shop-layout .product-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    .product-card {
        padding: 10px !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 28px rgba(18, 63, 40, 0.1) !important;
    }

    .product-thumb {
        aspect-ratio: 16 / 10 !important;
        margin-bottom: 12px !important;
    }

    .home-featured-products .product-card p,
    .product-row-section .product-card p {
        display: -webkit-box !important;
    }

    .product-card .card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .product-card .card-actions .mini-btn[href*='wa.me'],
    .product-card .card-actions .mini-btn.subtle[href*='wa.me'] {
        grid-column: 1 / -1 !important;
        min-height: 42px !important;
    }
}

@media (max-width: 380px) {
    .product-card .card-actions {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Final hero readability pass: stronger overlays, no boxed text. */
.home-hero-slider,
.home-slide,
.page-hero,
.shop-hero,
.cms-page-hero,
.blog-hero,
.blog-post-hero,
.about-hero,
.academic-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.home-slide {
    background-color: #082f1d !important;
    background-image: var(--slide-image) !important;
    background-position: center !important;
    background-size: cover !important;
    background-blend-mode: normal !important;
    box-shadow: none !important;
}

.home-slide::before,
.home-slide.is-visual-banner::before,
.page-hero::before,
.shop-hero::before,
.cms-page-hero::before,
.blog-hero::before,
.blog-post-hero::before,
.about-hero::before,
.academic-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    z-index: 0 !important;
    background:
        linear-gradient(90deg, rgba(5, 35, 20, 0.92) 0%, rgba(5, 35, 20, 0.84) 42%, rgba(5, 35, 20, 0.66) 72%, rgba(5, 35, 20, 0.58) 100%),
        radial-gradient(circle at 84% 18%, rgba(25, 170, 75, 0.2), transparent 30%) !important;
}

.home-slide::after,
.home-slide.is-visual-banner::after,
.page-hero::after,
.shop-hero::after,
.cms-page-hero::after,
.blog-hero::after,
.blog-post-hero::after,
.about-hero::after,
.academic-hero::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0.72 !important;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 20px),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)) !important;
}

.home-slide-inner,
.home-slide-copy,
.home-slide-brand-stamp,
.page-hero > *,
.shop-hero > *,
.cms-page-hero > *,
.blog-hero > *,
.blog-post-hero > *,
.about-hero > *,
.academic-hero > * {
    position: relative !important;
    z-index: 2 !important;
}

.home-slide h1,
.home-slide .hero-copy,
.home-slide .eyebrow,
.home-slide-brand-stamp span,
.home-slide-brand-stamp small,
.page-hero h1,
.page-hero p,
.page-hero .eyebrow,
.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow,
.shop-hero-points span,
.cms-page-hero h1,
.cms-page-hero p,
.cms-page-hero .eyebrow,
.blog-hero h1,
.blog-hero p,
.blog-hero .eyebrow,
.blog-post-hero h1,
.blog-post-hero p,
.blog-post-hero .eyebrow,
.about-hero h1,
.about-hero p,
.about-hero .eyebrow,
.academic-hero h1,
.academic-hero p,
.academic-hero .eyebrow {
    color: #ffffff !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74), 0 1px 2px rgba(0, 0, 0, 0.82) !important;
}

.home-slide .hero-copy,
.page-hero p:not(.eyebrow),
.shop-hero p,
.cms-page-hero p:not(.eyebrow),
.blog-hero p,
.blog-post-hero p,
.about-hero p,
.academic-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.94) !important;
}

@media (max-width: 760px) {
    .home-slide::before,
    .home-slide.is-visual-banner::before,
    .page-hero::before,
    .shop-hero::before,
    .cms-page-hero::before,
    .blog-hero::before,
    .blog-post-hero::before,
    .about-hero::before,
    .academic-hero::before {
        background:
            linear-gradient(90deg, rgba(5, 35, 20, 0.95) 0%, rgba(5, 35, 20, 0.9) 58%, rgba(5, 35, 20, 0.78) 100%),
            radial-gradient(circle at 80% 12%, rgba(25, 170, 75, 0.22), transparent 32%) !important;
    }
}

/* Final alignment pass: keep left text edges in sync from hero to footer. */
body:not(.admin-body) .site-footer {
    color: rgba(255, 255, 255, 0.82) !important;
    background: #1b0d2b !important;
    background-image: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.admin-body) .site-footer .footer-bottom {
    margin-right: calc(-1 * clamp(18px, 7vw, 92px));
    margin-left: calc(-1 * clamp(18px, 7vw, 92px));
    padding: 18px clamp(18px, 7vw, 92px) 16px;
    color: rgba(255, 255, 255, 0.78) !important;
    background: #07030f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px 14px 0 0;
}

body:not(.admin-body) .site-footer .footer-bottom span {
    color: rgba(255, 255, 255, 0.84) !important;
}

body:not(.admin-body) .site-footer .footer-service-links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
}

body:not(.admin-body) .site-footer .footer-service-links a {
    display: inline !important;
    margin: 0 !important;
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

body:not(.admin-body) .site-footer .footer-service-links a:hover {
    color: #8ff0b0 !important;
    text-decoration-color: currentColor;
}

body:not(.admin-body) .site-footer .footer-copyright-line {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 !important;
}

body.admin-body .admin-shell-topbar {
    min-height: 52px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

body.admin-body .admin-main {
    padding-top: 12px !important;
}

body.admin-body .page-hero.admin-hero {
    min-height: 112px !important;
    max-height: 180px !important;
    margin-bottom: 12px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.admin-body .page-hero.admin-hero h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.2rem) !important;
}

body:not(.admin-body) .cta-band,
body:not(.admin-body) .site-footer,
body:not(.admin-body) .service-reel,
body:not(.admin-body) .academic-home-band,
body:not(.admin-body) .academic-hero,
body:not(.admin-body) .academic-cta,
body:not(.admin-body) .about-service-showcase,
body:not(.admin-body) .blog-cta-panel {
    color: #ffffff !important;
}

body:not(.admin-body) .cta-band h1,
body:not(.admin-body) .cta-band h2,
body:not(.admin-body) .cta-band h3,
body:not(.admin-body) .cta-band p,
body:not(.admin-body) .cta-band span,
body:not(.admin-body) .cta-band a,
body:not(.admin-body) .service-reel h1,
body:not(.admin-body) .service-reel h2,
body:not(.admin-body) .service-reel h3,
body:not(.admin-body) .service-reel p,
body:not(.admin-body) .service-reel span,
body:not(.admin-body) .academic-home-band h1,
body:not(.admin-body) .academic-home-band h2,
body:not(.admin-body) .academic-home-band h3,
body:not(.admin-body) .academic-home-band p,
body:not(.admin-body) .academic-home-band span,
body:not(.admin-body) .academic-hero h1,
body:not(.admin-body) .academic-hero h2,
body:not(.admin-body) .academic-hero p,
body:not(.admin-body) .academic-hero span,
body:not(.admin-body) .academic-cta h2,
body:not(.admin-body) .academic-cta p,
body:not(.admin-body) .about-service-showcase h2,
body:not(.admin-body) .about-service-showcase p,
body:not(.admin-body) .blog-cta-panel h2,
body:not(.admin-body) .blog-cta-panel p {
    color: rgba(255, 255, 255, 0.96) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .site-footer h2,
body:not(.admin-body) .site-footer p,
body:not(.admin-body) .site-footer a,
body:not(.admin-body) .site-footer span,
body:not(.admin-body) .site-footer small,
body:not(.admin-body) .site-footer strong {
    color: rgba(255, 255, 255, 0.94) !important;
}

:root {
    --aligned-max: var(--max, 1720px);
    --aligned-gutter: clamp(18px, 4vw, 72px);
    --aligned-width: min(var(--aligned-max), calc(100vw - (var(--aligned-gutter) * 2)));
}

.home-slide-inner,
.home-shop-finder,
.section,
.topbar-inner,
.site-header-inner,
.shop-search-band form,
.shop-tag-rail,
.ai-search-summary,
.shop-layout,
.product-detail-layout,
.cms-page-layout,
.blog-layout,
.cart-layout,
.catalogue-shell,
.academic-section,
.academic-nav-strip,
.academic-cta,
.site-footer > * {
    width: var(--aligned-width) !important;
    max-width: var(--aligned-width) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.page-hero,
.shop-hero,
.cms-page-hero,
.blog-hero,
.blog-post-hero,
.academic-hero,
.about-hero {
    padding-right: max(var(--aligned-gutter), calc((100vw - var(--aligned-max)) / 2)) !important;
    padding-left: max(var(--aligned-gutter), calc((100vw - var(--aligned-max)) / 2)) !important;
}

.home-slide-copy,
.page-hero > *,
.shop-hero > *,
.cms-page-hero > *,
.blog-hero > *,
.blog-post-hero > *,
.academic-hero > *,
.about-hero > * {
    max-width: min(900px, 100%) !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
}

.home-slide .hero-actions,
.page-hero .hero-actions,
.shop-hero .hero-actions,
.blog-hero .hero-actions,
.academic-hero .hero-actions,
.about-hero .hero-actions,
.section-heading,
.decorated-heading,
.digital-section-heading,
.product-row-heading {
    justify-content: flex-start !important;
    text-align: left !important;
}

.section > .section-heading,
.section > .decorated-heading,
.section > .digital-section-heading,
.section > .product-row-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@media (max-width: 760px) {
    :root {
        --aligned-gutter: 16px;
    }

    .home-slide-inner,
    .home-shop-finder,
    .section,
    .topbar-inner,
    .site-header-inner,
    .shop-search-band form,
    .shop-tag-rail,
    .ai-search-summary,
    .shop-layout,
    .product-detail-layout,
    .cms-page-layout,
    .blog-layout,
    .cart-layout,
    .catalogue-shell,
    .academic-section,
    .academic-nav-strip,
    .academic-cta,
    .site-footer > * {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .page-hero,
    .shop-hero,
    .cms-page-hero,
    .blog-hero,
    .blog-post-hero,
    .academic-hero,
    .about-hero {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}

@media (max-width: 420px) {
    :root {
        --aligned-gutter: 12px;
    }

    .home-slide-inner,
    .home-shop-finder,
    .section,
    .topbar-inner,
    .site-header-inner,
    .shop-search-band form,
    .shop-tag-rail,
    .ai-search-summary,
    .shop-layout,
    .product-detail-layout,
    .cms-page-layout,
    .blog-layout,
    .cart-layout,
    .catalogue-shell,
    .academic-section,
    .academic-nav-strip,
    .academic-cta,
    .site-footer > * {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .page-hero,
    .shop-hero,
    .cms-page-hero,
    .blog-hero,
    .blog-post-hero,
    .academic-hero,
    .about-hero {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
}

/* Final floating contact placement: AI above WhatsApp, mobile split left/right. */
.ai-float-toggle {
    right: 18px !important;
    bottom: 76px !important;
    z-index: 64 !important;
}

.whatsapp-chat-widget {
    right: 18px !important;
    bottom: 16px !important;
    left: auto !important;
    z-index: 65 !important;
}

.ai-float-panel {
    right: 18px !important;
    bottom: 140px !important;
    z-index: 66 !important;
}

.whatsapp-chat-card {
    z-index: 67 !important;
}

@media (max-width: 760px) {
    .whatsapp-chat-widget {
        right: auto !important;
        left: 14px !important;
        bottom: 78px !important;
        justify-items: start !important;
    }

    .ai-float-toggle {
        right: 14px !important;
        left: auto !important;
        bottom: 78px !important;
    }

    .whatsapp-chat-toggle,
    .ai-float-toggle {
        width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 !important;
        border-radius: 999px !important;
    }

    .whatsapp-chat-toggle strong,
    .whatsapp-chat-toggle span {
        display: none !important;
    }

    .ai-float-panel,
    .whatsapp-chat-card {
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
    }

    .ai-float-panel {
        bottom: 142px !important;
    }
}

/* Final footer repair: keep columns inside the viewport on every screen. */
.site-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.86fr) minmax(0, 1fr) !important;
    gap: clamp(20px, 3vw, 36px) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.site-footer > * {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.site-footer p,
.site-footer a,
.site-footer span:not(.footer-contact-icon),
.site-footer small,
.site-footer strong {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.site-footer .brand,
.site-footer .footer-contact-item {
    min-width: 0 !important;
}

.site-footer .brand-text,
.site-footer .footer-contact-item > span:not(.footer-contact-icon) {
    min-width: 0 !important;
    max-width: 100% !important;
}

.site-footer .footer-socials {
    max-width: 100% !important;
}

.footer-bottom {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
}

@media (max-width: 980px) {
    .site-footer {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .site-footer > div:first-child,
    .site-footer > div:nth-child(3),
    .footer-bottom {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    .site-footer {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .site-footer > *,
    .site-footer > div:first-child,
    .site-footer > div:nth-child(3),
    .footer-bottom {
        grid-column: auto !important;
    }

    .footer-bottom {
        display: grid !important;
        gap: 8px !important;
    }
}

/* Final repair: keep hero slider slides stacked and text above overlays. */
.home-hero-slider .home-slider-track {
    position: absolute !important;
    inset: 0 !important;
}

.home-hero-slider .home-slide {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
}

.home-hero-slider .home-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.home-hero-slider .home-slide:not(.is-active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.home-hero-slider .home-slide-inner,
.home-hero-slider .home-slide-copy,
.home-hero-slider .hero-actions {
    position: relative !important;
    z-index: 5 !important;
}

.home-hero-slider .home-slide-copy {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-hero-slider .home-slide .eyebrow,
.home-hero-slider .home-slide h1,
.home-hero-slider .home-slide .hero-copy,
.home-hero-slider .home-slide .hero-actions {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-hero-slider .home-slide .hero-actions {
    display: flex !important;
}

/* Final section-heading actions: keep controls on the far right. */
.section-heading:has(.section-heading-actions),
.decorated-heading:has(.section-heading-actions),
.product-row-heading:has(.section-heading-actions) {
    justify-content: space-between !important;
}

.section-heading-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-left: auto !important;
    text-align: right !important;
}

@media (max-width: 640px) {
    .section-heading-actions {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: flex-end !important;
    }
}

/* Final search dropdown placement: Google-like autocomplete below the input. */
.home-shop-finder,
.shop-search-band {
    position: relative !important;
    overflow: visible !important;
    z-index: 25 !important;
}

.home-shop-finder form,
.shop-search-band form,
.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control {
    position: relative !important;
    overflow: visible !important;
}

.home-shop-finder .ai-live-control,
.shop-search-band .ai-live-control {
    z-index: 140 !important;
}

.home-shop-finder .ai-live-results,
.shop-search-band .ai-live-results,
.ai-live-control .ai-live-results {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(54vh, 430px) !important;
    margin: 0 !important;
    padding: 10px !important;
    transform: none !important;
    overflow-y: auto !important;
    color: #17231f !important;
    background: #ffffff !important;
    border: 1px solid rgba(18, 63, 40, 0.12) !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 22px 54px rgba(18, 63, 40, 0.18) !important;
    z-index: 160 !important;
}

.home-shop-finder .finder-control,
.shop-search-band .finder-control {
    border-radius: 999px !important;
}

.home-shop-finder .ai-live-control:focus-within,
.shop-search-band .ai-live-control:focus-within {
    border-radius: 22px 22px 0 0 !important;
}

@media (max-width: 640px) {
    .home-shop-finder .ai-live-results,
    .shop-search-band .ai-live-results,
    .ai-live-control .ai-live-results {
        top: calc(100% + 6px) !important;
        max-height: 56vh !important;
        border-radius: 0 0 18px 18px !important;
    }
}

/* Final admin separation: backend shell, API cards, and mobile-safe layout. */
body.admin-body {
    min-height: 100dvh;
    color: #1d2327;
    background: #f1f3f4 !important;
    overflow-x: hidden;
}

body.admin-body .topbar,
body.admin-body .site-header,
body.admin-body .site-footer,
body.admin-body .mobile-footer-panel,
body.admin-body .color-theme-palette,
body.admin-body .whatsapp-chat-widget,
body.admin-body .ai-float-toggle,
body.admin-body .ai-float-panel {
    display: none !important;
}

body.admin-body .admin-login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100dvh - 58px);
    padding: clamp(24px, 4vw, 48px) 16px;
    background:
        linear-gradient(135deg, rgba(7, 19, 44, 0.72), rgba(27, 117, 188, 0.5)),
        url('../img/admin-login-bg.svg') center/cover no-repeat;
}

body.admin-body .admin-login-card {
    width: min(100%, 430px);
    padding: clamp(22px, 3vw, 30px);
    background: rgba(13, 20, 25, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(7, 19, 44, 0.38);
    backdrop-filter: blur(9px);
}

body.admin-body .admin-login-kicker {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.admin-body .admin-login-card h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.1;
}

body.admin-body .admin-login-card .login-form {
    max-width: none;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-body .admin-login-card .login-form label {
    display: grid;
    gap: 8px;
}

body.admin-body .admin-login-card .login-form label span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 600;
}

body.admin-body .admin-login-card .login-form input {
    min-height: 46px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

body.admin-body .admin-login-card .login-form input::placeholder {
    color: rgba(255, 255, 255, 0.54);
}

body.admin-body .admin-login-card .login-form input:focus {
    border-color: rgba(117, 230, 172, 0.9);
    box-shadow: 0 0 0 3px rgba(117, 230, 172, 0.18);
}

body.admin-body .admin-login-card .btn-primary {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    font-weight: 700;
}

body.admin-body .admin-login-back {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
}

body.admin-body .admin-login-back:hover,
body.admin-body .admin-login-back:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

body.admin-body .admin-shell-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 9px clamp(14px, 2.2vw, 30px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(25, 170, 75, 0.22), transparent 42%),
        linear-gradient(90deg, #111b17 0%, #17231f 64%, #230c2a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 34px rgba(17, 27, 23, 0.18);
}

body.admin-body .admin-shell-brand,
body.admin-body .admin-shell-actions {
    display: flex;
    align-items: center;
    min-width: 0;
}

body.admin-body .admin-shell-brand {
    gap: 10px;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
}

body.admin-body .admin-shell-brand span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #ffffff;
    background: #19aa4b;
    border-radius: 8px;
    box-shadow: inset 0 -10px 18px rgba(17, 27, 23, 0.16);
}

body.admin-body .admin-shell-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.admin-body .admin-shell-actions {
    justify-content: flex-end;
    gap: 8px;
}

body.admin-body .admin-shell-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

body.admin-body .admin-shell-actions a:hover,
body.admin-body .admin-shell-actions a:focus-visible {
    color: #111b17;
    background: #f28c28;
    border-color: #f28c28;
}

body.admin-body .admin-main {
    position: relative;
    min-height: calc(100dvh - 58px);
    padding: 18px 0 36px;
    background:
        linear-gradient(180deg, rgba(243, 245, 243, 0.1), rgba(243, 245, 243, 0.94)),
        url('../img/admin-page-bg.svg') center/cover no-repeat;
}

body.admin-body .page-hero.admin-hero {
    width: min(100% - 32px, 1780px);
    min-height: 140px;
    max-height: 238px;
    margin: 0 auto 18px;
    padding: clamp(20px, 3vw, 32px);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(17, 27, 23, 0.92), rgba(25, 170, 75, 0.78) 50%, rgba(242, 140, 40, 0.78)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 15px);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(17, 27, 23, 0.14);
}

body.admin-body .admin-hero .eyebrow,
body.admin-body .admin-hero h1,
body.admin-body .admin-hero p {
    max-width: 920px;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(17, 27, 23, 0.32);
}

body.admin-body .admin-hero h1 {
    margin: 6px 0 8px;
    font-size: clamp(1.65rem, 2.7vw, 2.55rem);
    line-height: 1.05;
}

body.admin-body .admin-hero p {
    margin: 0;
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
    line-height: 1.55;
}

body.admin-body .section.admin-panel {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.admin-body .admin-panel:has(.admin-nav) {
    width: min(100% - 32px, 1780px) !important;
    max-width: min(100% - 32px, 1780px) !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(280px, 314px) minmax(0, 1fr) !important;
    gap: 20px !important;
}

body.admin-body .admin-panel:not(:has(.admin-nav)) {
    width: min(100% - 32px, 520px);
    margin: 0 auto;
}

body.admin-body .admin-nav {
    top: 76px !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 46px rgba(17, 27, 23, 0.2) !important;
}

body.admin-body .admin-dashboard,
body.admin-body .admin-edit-list,
body.admin-body .admin-form,
body.admin-body .admin-accordion-stack,
body.admin-body .settings-form {
    min-width: 0;
}

body.admin-body .admin-command-bar,
body.admin-body .admin-card,
body.admin-body .admin-accordion,
body.admin-body .notice,
body.admin-body .admin-quick-actions,
body.admin-body .admin-editor-screen,
body.admin-body .admin-product-editor,
body.admin-body .admin-cms-list {
    border-color: #dcdcde !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(17, 27, 23, 0.07) !important;
}

body.admin-body .admin-command-bar,
body.admin-body .admin-card,
body.admin-body .admin-accordion,
body.admin-body .notice,
body.admin-body .admin-editor-screen,
body.admin-body .admin-product-editor {
    background: #ffffff !important;
}

body.admin-body .admin-quick-actions a,
body.admin-body .admin-form-footer .btn,
body.admin-body .admin-actions .btn-primary {
    color: #ffffff !important;
    background: #f28c28 !important;
    border-color: #f28c28 !important;
}

body.admin-body .admin-quick-actions a:hover,
body.admin-body .admin-form-footer .btn:hover,
body.admin-body .admin-actions .btn-primary:hover {
    color: #ffffff !important;
    background: #cf2b27 !important;
    border-color: #cf2b27 !important;
}

body.admin-body .admin-api-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

body.admin-body .admin-settings-api-grid {
    margin-top: 0;
}

body.admin-body .admin-api-card {
    position: relative;
    min-width: 0;
    min-height: 138px;
    padding: 16px;
    overflow: hidden;
    color: #1d2327;
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(17, 27, 23, 0.07);
}

body.admin-body .admin-api-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #cf2b27;
}

body.admin-body .admin-api-card.is-ready::before {
    background: #19aa4b;
}

body.admin-body .admin-api-card i {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 12px;
    color: #ffffff;
    background: #1d2327;
    border-radius: 9px;
}

body.admin-body .admin-api-card.is-ready i {
    background: #19aa4b;
}

body.admin-body .admin-api-card.is-pending i {
    background: #cf2b27;
}

body.admin-body .admin-api-card span,
body.admin-body .admin-api-card strong,
body.admin-body .admin-api-card small {
    display: block;
    min-width: 0;
}

body.admin-body .admin-api-card span {
    color: #50575e;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

body.admin-body .admin-api-card strong {
    margin-top: 5px;
    color: #1d2327;
    font-size: 1.08rem;
    line-height: 1.2;
}

body.admin-body .admin-api-card small {
    margin-top: 7px;
    color: #646970;
    font-size: 0.82rem;
    line-height: 1.35;
}

body.admin-body .admin-form input,
body.admin-body .admin-form textarea,
body.admin-body .admin-form select,
body.admin-body .login-form input {
    min-height: 44px;
    padding: 11px 12px;
    color: #1d2327;
    background: #ffffff;
    border-color: #c3c4c7;
    border-radius: 8px;
}

body.admin-body .admin-form textarea {
    min-height: 118px;
}

body.admin-body .admin-form input:focus,
body.admin-body .admin-form textarea:focus,
body.admin-body .admin-form select:focus,
body.admin-body .login-form input:focus {
    border-color: #19aa4b;
    box-shadow: 0 0 0 3px rgba(25, 170, 75, 0.16);
}

body.admin-body .table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

body.admin-body table {
    max-width: 100%;
}

body.admin-body .admin-api-centre {
    display: grid;
    gap: 16px;
}

body.admin-body .admin-command-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

body.admin-body .admin-endpoint-card {
    padding: 0 !important;
    overflow: hidden;
}

body.admin-body .admin-endpoint-card .admin-card-head {
    padding: 16px 18px;
    border-bottom: 1px solid #dcdcde;
}

body.admin-body .admin-endpoint-list {
    display: grid;
}

body.admin-body .admin-endpoint-list article {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(82px, auto) minmax(280px, 1.1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 15px 18px;
    border-bottom: 1px solid #f0f0f1;
}

body.admin-body .admin-endpoint-list article:last-child {
    border-bottom: 0;
}

body.admin-body .admin-endpoint-list strong,
body.admin-body .admin-endpoint-list small,
body.admin-body .admin-endpoint-list a {
    display: block;
    min-width: 0;
}

body.admin-body .admin-endpoint-list strong {
    color: #1d2327;
    font-size: 0.94rem;
}

body.admin-body .admin-endpoint-list small {
    margin-top: 4px;
    color: #646970;
    font-size: 0.82rem;
    line-height: 1.35;
}

body.admin-body .admin-endpoint-list span {
    justify-self: start;
    padding: 6px 9px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    background: #19aa4b;
    border-radius: 999px;
}

body.admin-body .admin-endpoint-list a {
    color: #1d2327;
    font-size: 0.84rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.admin-body .admin-endpoint-list a:hover {
    color: #cf2b27;
}

body.admin-body .admin-users-desk {
    display: grid;
    gap: 16px;
}

body.admin-body .admin-users-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.admin-body .admin-users-list {
    display: grid;
}

body.admin-body .admin-users-list .admin-cms-list-head {
    grid-template-columns: minmax(240px, 1.1fr) minmax(120px, 0.45fr) minmax(104px, 0.38fr) minmax(150px, 0.55fr) minmax(120px, 0.42fr);
}

body.admin-body .admin-user-row {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.admin-body .admin-user-row summary {
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(120px, 0.45fr) minmax(104px, 0.38fr) minmax(150px, 0.55fr) minmax(120px, 0.42fr);
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

body.admin-body .admin-user-row summary::-webkit-details-marker {
    display: none;
}

body.admin-body .admin-user-row summary > * {
    min-width: 0;
}

body.admin-body .admin-user-row .admin-user-edit-form {
    margin: 0;
    padding: 16px;
    background: #f6f7f7 !important;
    border-top: 1px solid #dcdcde;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.admin-body .admin-user-actions {
    justify-content: flex-end;
}

/* Final product action alignment: details left, order right, WhatsApp centered below. */
.product-card .card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px 10px !important;
}

.product-card .card-actions > .mini-btn:first-child {
    grid-column: 1 !important;
    justify-self: start !important;
    width: auto !important;
}

.product-card .card-actions > .inline-cart-form {
    display: block !important;
    grid-column: 3 !important;
    justify-self: end !important;
    width: auto !important;
    margin: 0 !important;
}

.product-card .card-actions > .inline-cart-form .mini-btn,
.product-card .card-actions > .inline-cart-form button {
    width: auto !important;
    min-width: 112px !important;
}

.product-card .card-actions > .mini-btn[href*='wa.me'] {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: auto !important;
    min-width: min(236px, 100%) !important;
}

.product-card .card-actions > .mini-btn[href*='quote.php'] {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: auto !important;
}

@media (max-width: 1180px) {
    body.admin-body .admin-api-status-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.admin-body .admin-panel:has(.admin-nav) {
        width: min(100% - 24px, 100%) !important;
        max-width: min(100% - 24px, 100%) !important;
        grid-template-columns: 1fr !important;
    }

    body.admin-body .admin-nav {
        position: static !important;
        max-height: none !important;
    }

    body.admin-body .admin-api-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.admin-body .admin-shell-topbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }

    body.admin-body .admin-shell-brand {
        justify-content: center;
    }

    body.admin-body .admin-shell-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    body.admin-body .admin-shell-actions a {
        min-width: 0;
        padding-inline: 8px;
        font-size: 0.75rem;
    }

    body.admin-body .admin-main {
        padding-top: 12px;
    }

    body.admin-body .page-hero.admin-hero {
        width: min(100% - 20px, 100%);
        min-height: 126px;
        margin-bottom: 12px;
        padding: 18px;
    }

    body.admin-body .admin-panel:has(.admin-nav),
    body.admin-body .admin-panel:not(:has(.admin-nav)) {
        width: min(100% - 20px, 100%) !important;
        max-width: min(100% - 20px, 100%) !important;
    }

    body.admin-body .admin-api-status-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.admin-body .admin-api-card {
        min-height: 118px;
    }

    body.admin-body .admin-endpoint-list article {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
    }

    body.admin-body .admin-users-kpis {
        grid-template-columns: 1fr !important;
    }

    body.admin-body .admin-users-list .admin-cms-list-head {
        display: none;
    }

    body.admin-body .admin-user-row summary {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
        padding: 14px;
    }

    body.admin-body .admin-user-row summary .admin-row-actions {
        justify-content: flex-start;
    }

    body.admin-body .admin-command-actions {
        justify-content: stretch;
        width: 100%;
    }

    body.admin-body .admin-command-actions .mini-btn {
        flex: 1 1 128px;
        justify-content: center;
    }

    .product-card .card-actions {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .product-card .card-actions > .mini-btn:first-child,
    .product-card .card-actions > .inline-cart-form,
    .product-card .card-actions > .mini-btn[href*='wa.me'],
    .product-card .card-actions > .mini-btn[href*='quote.php'] {
        grid-column: 1 !important;
        justify-self: center !important;
    }
}

/* Final admin shell precedence: top rail on desktop, stacked navigation on mobile. */
@media (min-width: 901px) {
    body.admin-body:has(.admin-nav) {
        --admin-rail: clamp(280px, 20vw, 314px);
        --admin-gap: clamp(16px, 2vw, 24px);
        --admin-gutter: clamp(16px, 2.2vw, 32px);
    }

    body.admin-body:has(.admin-nav) .admin-main {
        padding-left: calc(var(--admin-rail) + var(--admin-gap) + var(--admin-gutter));
    }

    body.admin-body:has(.admin-nav) .page-hero.admin-hero,
    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        width: calc(100% - var(--admin-gutter));
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: var(--admin-gutter) !important;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        display: grid !important;
        grid-template-columns: var(--admin-rail) minmax(0, 1fr);
        gap: var(--admin-gap);
        align-items: start;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) > :not(.admin-nav) {
        grid-column: 2;
        min-width: 0;
    }

    body.admin-body:has(.admin-nav) .admin-nav {
        position: sticky !important;
        top: 76px !important;
        width: var(--admin-rail) !important;
        max-height: calc(100dvh - 92px) !important;
        overflow-y: auto;
    }
}

@media (max-width: 900px) {
    body.admin-body:has(.admin-nav) .admin-main {
        padding-left: 0;
    }

    body.admin-body:has(.admin-nav) .page-hero.admin-hero,
    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        width: min(100% - 28px, var(--max));
        max-width: min(100% - 28px, var(--max)) !important;
        margin-inline: auto !important;
    }

    body.admin-body:has(.admin-nav) .admin-panel:has(.admin-nav) {
        display: grid !important;
    }

    body.admin-body:has(.admin-nav) .admin-nav {
        position: static !important;
        width: auto !important;
        bottom: auto !important;
        left: auto !important;
    }
}
