:root {
    --sp-primary: #e87427;
    --sp-blue: #252e49;
    --sp-green: #223228;
    --sp-gold: #d9b98a;
    --sp-cream: #f9f5ed;
    --sp-soft: rgba(217, 185, 138, 0.15);
    --sp-text: #252e49;
    --sp-muted: #5d6476;
    --sp-font: "VNF-Optima", Sans-serif;
    --swiper-navigation-sides-offset: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--sp-text);
    background: #fff;
    font-family: var(--sp-font);
    letter-spacing: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.sp-container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

.sp-reveal {
    opacity: 0;
    will-change: transform, opacity, filter;
}

.sp-reveal--hero {
    opacity: 0;
}

.sp-reveal--delay-1 {
    opacity: 0;
}

.sp-topbar {
    min-height: 29px;
    color: #fff;
    background: var(--sp-blue);
    font-size: 12px;
}

.sp-topbar__inner,
.sp-topbar__right,
.sp-nav {
    display: flex;
    align-items: center;
}

.sp-topbar__inner {
    justify-content: space-between;
    gap: 24px;
}

.sp-topbar p {
    margin: 7px 0;
}

.sp-topbar__right {
    gap: 32px;
}

.sp-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.sp-search img {
    width: 11px;
    height: 11px;
}

.sp-nav-wrap {
    background: #fff;
}

.sp-nav {
    position: relative;
    justify-content: center;
    min-height: 120px;
    gap: 48px;
}

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

.sp-nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-nav a {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.sp-nav a:hover,
.sp-nav .current-menu-item>a,
.sp-nav .current_page_item>a {
    color: var(--sp-gold);
}

.sp-logo {
    flex: 0 0 200px;
}

.sp-logo img {
    width: 200px;
    height: auto;
}

.sp-menu-toggle {
    display: none;
}

.sp-mobile-languages {
    display: none;
}

.swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.sp-hero {
    position: relative;
    min-height: 695px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.sp-hero__card {
    position: relative;
    z-index: 1;
    width: min(740px, calc(100% - 40px));
    min-height: 475px;
    padding: 44px 64px 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 5px;
}

.sp-eyebrow {
    margin: 0 0 22px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.sp-section.sp-strength h2 {
    font-size: clamp(22px, 4vw, 35px);
}

.sp-section h2,
.sp-exclusive h2 {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-hero h1 {
    font-size: clamp(34px, 4vw, 40px);
    line-height: 1.18;
}

.sp-hero__card>p:not(.sp-eyebrow) {
    max-width: 460px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 25px;
}

.sp-hero__stats {
    margin-top: 22px;
    overflow: hidden;
    text-align: left;
    font-size: 15px;
}

.sp-hero__stats .swiper-wrapper {
    align-items: stretch;
}

.sp-hero__stats .swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
}

.sp-hero__stat {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    color: #1d2a3d;
    line-height: 1.3;
}

.sp-hero__stat img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}



.sp-hero__stats strong {
    font-weight: 700;
}

.sp-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.sp-button {
    display: inline-flex;
    min-width: 163px;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border: 1px solid var(--sp-blue);
    font-size: 14px;
    line-height: 1.2;
    transition: all ease 0.5s;
}



.sp-button--dark {
    color: #fff;
    background: var(--sp-blue);
}

.sp-button--dark:hover {
    background: #fff;
    color: var(--sp-text);
}

.sp-button--light {
    background: #fff;
}

.sp-button--light:hover {
    color: #fff;
    background: var(--sp-blue);
}

.sp-section {
    padding: 80px 0;
}

.sp-section h2 {
    font-size: clamp(22px, 4vw, 30px);
    line-height: 1.16;
}

.sp-copy.sp-reveal {
    padding-top: 50px;
}

.sp-copy p {
    margin: 24px 0 0;
    font-size: 20px;
    line-height: 30px;
}

.sp-collections h2 {
    text-align: center;
    text-transform: none;
}

.home .sp-collection-grid {
    grid-template-columns: repeat(4, 1fr);
}

.sp-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.sp-collection-card {
    min-height: 372px;
    display: grid;
    grid-template-rows: 281px auto;
    position: relative;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s ease;
}

.sp-collection-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sp-collection-card__image {
    display: grid;
    place-items: center;
    min-width: 0;
    overflow: hidden;
}

.sp-collection-card.active .sp-collection-card__title {
    color: var(--sp-primary);
}

.sp-collection-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 200px;
}

.sp-collection-card__title {
    align-self: center;
    padding-left: 50px;
    padding-right: 72px;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

.sp-collection-card>img {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 38px;
    height: 38px;
}

.sp-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 30px;
    margin-top: 36px;
    padding: 4px 18px;
    color: var(--sp-green);
    background: var(--sp-gold);
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;

}

.sp-pill:hover:after {
    transform: translateX(4px);
}

.sp-pill:hover {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08)
}

.sp-pill::after {
    transition: transform 0.2s ease;
    content: "";
    width: 12px;
    height: 9px;
    flex-shrink: 0;
    background: url('../images/vector-1.svg') center/contain no-repeat;
}

.sp-pill--center {
    display: flex;
    width: max-content;
    margin-inline: auto;
}

.sp-factory,
.sp-about,
.sp-news {
    background: var(--sp-soft);
}

.sp-split,
.sp-story__inner {
    display: grid;
    grid-template-columns: 0.6fr 1.6fr;
    gap: 44px;
    align-items: start;
}

.sp-about__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: 44px;
    align-items: start;
}

.sp-about .sp-copy.sp-reveal h2 {
    font-size: clamp(20px, 4vw, 25px);
}

.sp-about .sp-copy p {
    font-size: 16px;
    line-height: 24px;
}

.sp-about .sp-copy.sp-reveal {
    max-width: 340px;
}

.sp-split>*,
.sp-story__inner>*,
.sp-about__inner>* {
    min-width: 0;
}

.sp-factory-slider .swiper-slide {
    overflow: hidden;
    border-radius: 10px;
}

.sp-factory-slider img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: var(--sp-blue);
}

.sp-strength__card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    overflow: hidden;
    min-height: 449px;
    background: rgba(217, 217, 217, 0.5);
    border-radius: 10px;
}

.sp-strength__card>img {
    width: 100%;
    height: 449px;
    object-fit: cover;
}

.sp-strength__card>div {
    padding: 60px 88px;
}

.sp-strength p {
    margin-top: 34px;
    font-size: 20px;
    line-height: 30px;
}

.sp-section.sp-story {
    padding-top: 10px;
}

.sp-story__inner {
    grid-template-columns: 0.6fr 1.5fr;
    gap: 90px;
}

.sp-story h2 {
    max-width: 280px;
    color: #000;
    font-size: clamp(40px, 5vw, 50px);
}

/* .sp-story-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(80px, 1fr));
    grid-template-rows: repeat(2, 150px);
    gap: 14px;
    align-items: stretch;
} */

.sp-story-grid figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}


.sp-story-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-exclusive {
    color: #fff;
    background-color: var(--sp-blue);
    position: relative;
    overflow: hidden;
}

.sp-exclusive__inner {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: stretch;
    min-height: 325px;
}

.sp-exclusive h2 {
    align-self: center;
    max-width: 430px;
    font-size: clamp(32px, 4vw, 35px);
    line-height: 55px;
}

.sp-exclusive img {
    width: 100%;
    height: 325px;
    object-fit: cover;
    position: absolute;
    right: 0;
    width: 50%;
    top: 0;
}

.sp-about__mosaic {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: clamp(360px, 42vw, 700px);
    display: block;
    overflow: visible;
}

/* orbiter containers are centered — their children are offset from center to create the orbit positions */
.sp-about__orbiter {
    position: absolute;
    /* left: 50%; */
    /* top: 50%; */
    /* transform-origin: 50% 50%; */
    /* will-change: transform; */
    /* width: 0; */
    /* height: 0; */
    z-index: 1;
}



/* item common styles */
.sp-about__item {
    /* position: absolute; */
    /* absolute inside orbiter, origin = center */
    /* left: 0; */
    /* top: 0; */
    width: clamp(130px, 18vw, 210px);
    /* height: clamp(110px, 18vw, 170px); */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform-origin: center center;
    will-change: transform, opacity, filter;
}

.sp-about__orbiter--tl {
    left: 0;
    top: 6%;
}

.sp-about__orbiter--tl img {
    aspect-ratio: 187 / 223;
}

.sp-about__orbiter--tr {
    right: 0;
    top: -2%;
}

.sp-about__orbiter--bl img,
.sp-about__orbiter--tr img {
    aspect-ratio: 1 / 1;
}

.sp-about__orbiter--bl {
    left: 4%;
    bottom: -4%;
}

.sp-about__orbiter--br {
    right: 0;
    bottom: 0;
}

.sp-about__orbiter--br img {
    aspect-ratio: 126 / 186;
}

.sp-about__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* center image larger and above others */
.sp-about__item--center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 47%;
    aspect-ratio: 1 / 1;
    z-index: 3;
    border-radius: 14px;
}



/* position the orbiters at center but ensure they don't block center's z-index */
.sp-about__orbiter {
    z-index: 1;
}

/* reduce z-index of outer items so center stays visually on top */
.sp-about__item--outer {
    z-index: 1;
}

.sp-heritage__banner {
    position: relative;
    min-height: 447px;
    overflow: hidden;
    border-radius: 10px;
    color: var(--sp-cream);
}

.sp-heritage__banner>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-heritage__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.sp-heritage__banner>div {
    position: relative;
    z-index: 1;
    max-width: 460px;
    padding: 68px 0 60px 100px;
}

.sp-heritage h2 {
    font-size: clamp(34px, 4vw, 40px);
    line-height: 55px;
}

.sp-heritage p {
    margin-top: 18px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

.sp-news__intro {
    max-width: 470px;
    margin: 0 auto 44px;
    text-align: center;
}

.sp-news__intro h2 {
    font-size: 30px;
}

.sp-news__intro p {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 24px;
}

.sp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sp-news-card {
    margin: 0;
    text-align: center;
}

.sp-news-card img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
}

.sp-news-card h3 {
    margin: 14px 0 6px;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}

.sp-news-card__body {
    padding: 10px 6px 0;
}

.sp-news-card__excerpt {
    margin: 8px 0 12px;
    color: var(--sp-muted);
    font-size: 15px;
    line-height: 22px;
}

.sp-news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.sp-map {
    padding: 72px 0;
}

.sp-map .sp-container {
    overflow: hidden;
    border-radius: 10px;
}

.sp-map img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    filter: grayscale(1);
    transition: all ease 0.5s;
}

.sp-map img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

.sp-footer {
    background: #f6f6f6;
}

.sp-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.7fr;
    gap: 56px;
    padding: 38px 0 34px;
}

.sp-footer__brand img {
    width: 221px;
}

.sp-footer__menu,
.sp-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    line-height: 24px;
}

.sp-footer__menu ul {
    padding-left: 25px;
    margin-top: 0
}

.sp-footer__contact {
    font-style: normal;
}

.sp-footer__socials {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.sp-footer__socials img {
    width: 15px;
    margin-top: 7px;
    object-fit: contain;
}

.sp-footer__bottom {
    border-top: 1px solid #cfcfcf;
    padding: 12px 0 18px;
}

.sp-footer__bottom p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Popup Search */
.sp-search-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-search-popup.is-active {
    opacity: 1;
    visibility: visible;
}

.sp-search-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.sp-search-popup__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    transition: transform 0.3s ease;
}

.sp-search-popup.is-active .sp-search-popup__content {
    transform: translateY(0);
}

.sp-search-popup__close {
    position: absolute;
    top: 40px;
    right: 12px;
    border: none;
    cursor: pointer;
    color: #D89168;
    line-height: 1;
    border-radius: 2.3125rem;
    border: 1px solid #D89168;
    background: #FFF;
    width: 40px;
    height: 40px;
    display: flex;
    transition: all ease 0.5s;
    align-items: center;
}

.sp-search-popup__close:hover {
    color: #000;
    border-color: #000;
}

/* Form */
.sp-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    background: #f8f8f8;
}

.sp-search-form__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 24px;
    font-size: 16px;
    outline: none;
}

.sp-search-form__submit {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sp-search-form__submit img {
    width: 20px;
    height: 20px;
}



@media (max-width: 1100px) {
    .sp-nav {
        min-height: 96px;
        justify-content: space-between;
        gap: 24px;
    }

    .sp-nav nav {
        display: none !important;
    }

    .sp-menu-open {
        overflow: hidden;
    }

   .sp-menu-open .sp-nav__primary{
        display: block!important;
    }

    .sp-site-header.is-open {
        position: fixed;
        z-index: 999;
        inset: 0;
        min-height: 100vh;
        overflow: auto;
        background: #f5eee4;
    }

    .sp-site-header.is-open .sp-topbar {
        display: none;
    }

    .sp-site-header.is-open .sp-nav-wrap {
        min-height: 100vh;
        background: #f5eee4;
    }

    .sp-site-header.is-open .sp-nav {
        display: grid;
        min-height: 100vh;
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: space-between;
        padding: 83px 0 83px;
        gap: 0;
    }

    .sp-site-header.is-open .sp-logo {
        grid-row: 1;
        order: 1;
        width: 205px;
        margin-bottom: 68px;
    }

    .sp-site-header.is-open .sp-logo img {
        width: 205px;
    }

    .sp-site-header.is-open .sp-nav nav,
    .sp-site-header.is-open .sp-nav ul,
    .sp-site-header.is-open .sp-nav li {
        position: static;
        display: contents;
        background: transparent;
        box-shadow: none;
    }

    .sp-site-header.is-open .sp-nav a:not(.sp-logo) {
        display: block;
        padding: 0;
        font-size: 18px;
        line-height: 50px;
        text-align: center;
    }

    .sp-site-header.is-open .sp-nav__left a,
    .sp-site-header.is-open .sp-nav__right a {
        order: 2;
        /* margin-bottom: 31px; */
    }

    .sp-site-header.is-open .sp-mobile-languages {
        display: flex;
        order: 5;
        gap: 15px;
        margin-top: 72px;
    }


    .sp-menu-toggle {
        position: relative;
        z-index: 1000;
        display: grid;
        gap: 5px;
        width: 40px;
        padding: 8px;
        background: transparent;
        border: 0;
    }

    .sp-menu-toggle span {
        height: 2px;
        background: var(--sp-blue);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .sp-site-header.is-open .sp-menu-toggle {
        position: fixed;
        top: 38px;
        right: 24px;
    }

    .sp-site-header.is-open .sp-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sp-site-header.is-open .sp-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .sp-site-header.is-open .sp-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .home .sp-collection-grid,
    .sp-collection-grid,
    .sp-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-split,
    .sp-story__inner,
    .sp-about__inner,
    .sp-strength__card,
    .sp-exclusive__inner,
    .sp-footer__inner {
        grid-template-columns: 1fr;
    }

    .sp-story-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 140px);
    }

    .sp-story-grid figure:nth-child(n) {
        grid-column: span 1;
    }

    .sp-story-grid figure:nth-child(1),
    .sp-story-grid figure:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .sp-exclusive h2 {
        padding: 48px 0;
    }
}



/* Page Template */
.sp-page {
    padding: 60px 0 80px;
}

.sp-page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sp-soft);
}

.sp-page-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0;
    text-transform: uppercase;
}

.sp-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sp-text);
}

.sp-page-content p {
    margin: 0 0 1.5em;
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */



/* 1. Hero Section */
.sp-about-hero {
    padding: 60px 0 40px;
    background: #D9B98A4D
}

.sp-about-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.sp-about-page .sp-about-hero__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 24px;
}

.sp-about-page .sp-about-hero__desc {
    max-width: 410px;
}

.sp-about-hero__desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0;
}

.sp-about-hero__image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 10px;
}

/* Single post styles */
.sp-single-hero {
    margin-bottom: 34px;
}

.sp-single-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
}

.sp-single-content {
    background-color: #D9B98A26;
}

.sp-single-content .sp-single-inner {
    max-width: 750px;
    margin: auto;
    text-align: justify;
}

.sp-single-title {
    margin: 14px 0 18px;
    font-size: clamp(28px, 4vw, 36px);
    text-align: center;
    text-transform: uppercase;
}

.sp-single-body .sp-post-meta,
.sp-single-hero__meta {
    color: var(--sp-muted);
    font-size: 14px;
}

.sp-single-body .sp-post-content {
    font-size: 18px;
    line-height: 1.8;
}

.sp-single-sidebar .sp-author-card,
.sp-post-sidebar .sp-author-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.sp-related-posts__heading {
    margin-top: 18px;
    margin-bottom: 12px;
}

.sp-related-card {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.sp-related-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 860px) {
    .sp-single-content .sp-single-inner {
        grid-template-columns: 1fr;
    }

    .sp-single-hero img {
        max-height: 360px;
    }
}

/* 2. Our Journey (Timeline) */
.sp-journey {
    padding: 70px 0;
    background: #fafafa;
}

.sp-section h2.sp-journey__title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 54px;
}

.sp-journey__timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.sp-journey__timeline::before {
    /* kept for legacy fallback but hidden when .sp-journey__bar exists */
    content: "";
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sp-gold);
    z-index: 0;
    width: 100%;
    /* opacity: 0.0; */
}

/* explicit bar element we animate (preferred to pseudo-element) */
.sp-journey__bar {
    position: absolute;
    top: 96px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--sp-gold);
    z-index: 0;
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

.sp-journey__item {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-journey__info {
    max-width: 200px;
}

.sp-journey__year {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sp-blue);
    margin-bottom: 12px;
}

/* icons: start without a visible border — reveal on scroll via GSAP */
.sp-journey__icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: none;
    /* no border until reveal */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 180ms ease, box-shadow 320ms ease;
}

/* hover scales up slightly */
.sp-journey__icon:hover {
    transform: scale(1.1);
}

.sp-journey__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.sp-journey__info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0 0 8px;
    line-height: 1.3;
}

.sp-journey__info p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--sp-muted);
    margin: 0;
}

/* 3. From Clay to GRC */
.sp-clay-grc {
    padding: 0;
    background: #F2F2F2;
}

.sp-clay-grc__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.6fr;
    gap: 28px;
    align-items: center;
}

.sp-clay-grc__content h2 {
    font-size: clamp(25px, 3.5vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 20px;
    line-height: 1.2;
}

.sp-clay-grc__content p {
    font-size: 16px;
    line-height: 24px;
    color: var(--sp-text);
    margin: 0;
}


.sp-clay-grc__card {}

.sp-clay-grc__card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

/* 4. Production Facilities (Today, we are) */
.sp-facilities {
    padding: 80px 0;
    background: #fff;
}

.sp-facilities__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.sp-facilities__content h2 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 32px;
    text-align: center;
}

.sp-facilities__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-facilities__list .sp-number {
    font-size: 22px;
    font-weight: 700;
}

.sp-facilities__list .sp-text {
    font-size: 16px;
    font-weight: 700;
}

.sp-facilities__list li {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px !important;
    align-items: flex-end !important;
}

.sp-facilities__content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.sp-facilities__list li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-text);
    padding: 16px 0;
    border-bottom: 1px solid #000000;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    min-height: 63px;
}

.sp-facilities__list li span {
    color: var(--sp-blue);
    font-weight: 700;
    font-size: 1.35rem;
}

/* Typing effect for facilities list */
.sp-typing {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    font-weight: 600;
    /* keep consistent */
}


.sp-facilities__image img {
    width: 100%;
    object-fit: cover;
}

/* 5. Our Strengths & Differentiators */
.sp-strengths {
    padding: 68px 0;
    background: rgba(217, 185, 138, 0.35);
}

.sp-section h2.sp-strengths__title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 48px;
}

.sp-strengths__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sp-strengths__card {
    background: #fff;
    border: 1px solid rgba(217, 185, 138, 0.35);
    border-radius: 10px;
    padding: 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-strengths__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37, 46, 73, 0.09);
}

.sp-strengths__card h3 {
    text-transform: uppercase;
}

.sp-strengths__icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.sp-strengths__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sp-strengths__card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0 0 12px;
    line-height: 1.35;
}

.sp-strengths__card p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--sp-muted);
    margin: 0;
}

.sp-products__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.sp-products-heritage__inner,
.sp-products-care__inner {
    background-color: #D9B98A6B;
    padding: 50px;
    border-radius: 7px;
}

.sp-products-heritage__content {
    text-align: center;
    max-width: 500px;
    margin: auto;
}

.sp-products__header {
    text-align: center;
    background: #f3f3f3;
    padding: 48px 0 72px;
}

.sp-products__header h1 {
    font-size: clamp(30px, 3vw, 42px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sp-blue);
    font-weight: 700;
}

.sp-products__types-swiper {
    padding-left: 70px;
    padding-right: 70px;
}

/* 
.sp-product-type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #f9f9f9;
    min-height: 180px;
}

.sp-product-type__thumb {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.sp-product-type__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-product-type__meta {
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-product-type__meta span {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--sp-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.sp-product-type__arrow {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: var(--sp-blue);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
} */

.sp-products__catalog {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 70px 0 70px;
}

.sp-products__catalog h2 {
    text-align: center;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--sp-blue);
    font-weight: 700;
}

.sp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 18px;
}

.sp-product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.sp-lang-switcher {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-lang-switcher li {
    margin: 0;
}

.sp-lang-switcher a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
}

.sp-lang-switcher img {
    width: 18px;
    height: auto;
}

.sp-product-card:hover {
    box-shadow: 0 12px 28px rgba(37, 46, 73, 0.09);
    transform: translateY(-6px);
}

.sp-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.sp-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.sp-product-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 18px;
    text-align: left;
    color: var(--sp-blue);
}

.sp-product-card__meta strong {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.sp-product-card__meta span {
    font-size: 14px;
    color: var(--sp-text);
    line-height: 1.4;
    font-family: "Segoe UI", sans-serif;
}

.sp-highlight-grid {
    background: #F2F2F2;
    padding: 100px 0;
}

.sp-highlight-card {
    position: relative;
    display: block;
    min-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: #d9d9d9;
}

.sp-highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform ease 0.5s;
}

.sp-highlight-card:hover img {
    transform: scale(1.1)
}

.sp-highlight-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.62) 100%);
}

.sp-highlight-card__title {
    position: absolute;
    left: 26px;
    bottom: 26px;
    z-index: 1;
    font-size: clamp(22px, 2vw, 28px);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sp-highlight-card__arrow {
    position: absolute;
    padding: 10px;
    right: 26px;
    bottom: 26px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    backdrop-filter: blur(2px);
    transition: all ease 0.5s;
}

.sp-highlight-card:hover .sp-highlight-card__arrow {
    transform: translateX(5px);
    background-color: rgb(255 255 255 / 50%);
}

.sp-products-heritage,
.sp-products-care {
    background: #fff;
    margin: 30px;
}

.sp-products-heritage {
    margin-top: 0;
}

.sp-products-heritage__inner {
    border-radius: 0;
}

.sp-products-care .sp-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.sp-products-care__title h3 {
    margin: 0;
    font-size: clamp(26px, 2.2vw, 40px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--sp-blue);
    font-weight: 700;
}

.sp-products-care__content {}

.sp-products-care__content p {
    margin: 0;
    color: var(--sp-blue);
    font-size: 18px;
    line-height: 1.6;
    font-family: "Segoe UI", sans-serif;
    max-width: 760px;
}

.sp-pill.sp-pill--small {
    flex-shrink: 0;
    min-width: 180px;
    justify-content: center;
    padding: 12px 22px;
}

.sp-innovation__card {
    display: grid;
    grid-template-columns: 1.7fr 2fr;
    border-radius: 10px;
    background: #FFF;
    margin-top: 50px;
    align-items: center;
}

.sp-innovation__content {
    padding: 50px 100px;

}

.sp-innovation__image img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    .sp-products-care__content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .sp-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sp-products-care__content p {
        font-size: 15px;
    }
}


/* ==========================================================================
   About Us Responsive Styles
   ========================================================================== */

@media (max-width: 991px) {

    .sp-about-hero__inner,
    .sp-clay-grc__inner,
    .sp-facilities__inner,
    .sp-innovation__card {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sp-about-hero__content,
    .sp-clay-grc__content,
    .sp-facilities__content {
        text-align: center;
    }

    .sp-facilities__list li {
        justify-content: center;
    }

    .sp-journey__timeline {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sp-journey__timeline::before {
        display: none;
    }

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

    .sp-innovation__content {
        padding: 36px 24px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .sp-clay-grc__gallery {
        grid-template-columns: 1fr;
    }

    .sp-strengths__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why Choose GRC Page Styles
   ========================================================================== */

/* 1. Hero */
.sp-why-hero {
    padding: 60px 0 40px;
    background: #D9B98A4D
}

.sp-why-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.sp-why-hero__title {
    font-size: clamp(30px, 4vw, 35px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 24px;
}

.sp-why-hero__content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0 0 16px;
}

.sp-why-hero__image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* 2. Engineered for Extreme Conditions */
.sp-why-conditions {
    padding: 70px 0;
}

.sp-why-conditions__inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.sp-why-conditions__content h2 {
    font-size: clamp(26px, 3.2vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 20px;
    line-height: 1.25;
}

.sp-why-conditions__content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-why-conditions__badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.sp-climate-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-climate-badge img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    margin-bottom: 12px;
}

.sp-climate-badge span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sp-blue);
}

/* 3. Stronger by Structure */
.sp-why-structure {
    padding: 80px 0;
    background: #F2F2F2;

}

.sp-why-structure__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 79px;
    align-items: center;
}

.sp-why-structure__sketch img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.d-flex {
    display: flex;
    gap: 18px;
}

.sp-why-structure__content h2 {
    font-size: clamp(30px, 3vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 18px;
}

.sp-why-structure__content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-why-structure__matrix {}

.sp-why-structure__matrix h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 16px;
}

.sp-matrix-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.sp-matrix-checks li {
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-check {
    color: var(--sp-blue);
    font-weight: 900;
}

.sp-matrix-image img {
    width: 100%;
    border-radius: 6px;
}

/* 4. Colour That Lives Within */
.sp-why-color {
    padding: 80px 0;
}

.sp-why-color__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.sp-why-color__content h2 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 20px;
}

.sp-why-color__content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-why-color__action {
    margin-top: 24px;
}

.sp-why-color__diagram img {
    width: 100%;
    object-fit: contain;
}

/* 5. Better for Environment */
.sp-why-env {
    padding: 80px 0;
    background: #f1f1f1;
}

.sp-why-env__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 78px;
    align-items: center;
}

.sp-why-env__icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sp-env-item {
    text-align: center;
    border-right: 1px solid #000;
    padding-right: 20px;
}

.sp-env-item:last-child {
    border-right: none;
    padding-right: 0;
}

.sp-env-item__icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-env-item__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sp-env-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0 0 8px;
}

.sp-env-item p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--sp-muted);
    margin: 0;
}

.sp-why-env__content h2 {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 20px;
}

.sp-quality-header {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin: 0 0 29px;
}

.sp-quality-header__icon {
    width: 131px;
    height: auto;
    object-fit: contain;
}

.sp-quality-header h2 {
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .sp-quality-header {
        flex-direction: column;
    }

    .sp-why-quality__content p,
    .sp-why-quality__content h2 {
        text-align: center;
    }
}

.sp-why-env__content p {
    font-size: 16px;
    line-height: 20px;
    color: var(--sp-text);
    margin: 0 0 14px;
}

/* 6. Quality You Can Trust */
.sp-why-quality {
    padding: 70px 0 90px;
}

.sp-why-quality__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.sp-why-quality__content h2 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
}

.sp-why-quality__content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-why-quality__sketch img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* ==========================================================================
   Story of Colour Page Styles
   ========================================================================== */



/* 1. Hero */
.sp-color-hero {
    padding: 60px 0 40px;
    background: #D9B98A4D
}

.sp-color-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.sp-color-hero__title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 20px;
}

.sp-color-hero__subtitle {
    margin-bottom: 20px;
}

.sp-color-hero__subtitle p {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--sp-blue);
    letter-spacing: 0.5px;
}

.sp-color-hero__content p {
    font-size: 16px;
    line-height: 20px;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-color-hero__image img {
    width: 100%;
    object-fit: cover;
}

/* 2. Science Behind Colour */
.sp-color-science {
    padding: 70px 0;
    background: #fff;
}

.sp-color-science__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}

.sp-color-science__content h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 32px;
}

.sp-color-science__content p {
    font-size: 16px;
    line-height: 20px;
    color: var(--sp-text);
    margin: 0;
}

.sp-color-formula {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sp-formula-item {
    text-align: center;
    flex: 1;
}

.sp-formula-item img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
}

.sp-formula-item span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--sp-blue);
    line-height: 1.3;
}

.sp-formula-op {
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-blue);
    padding-bottom: 24px;
}

/* 3. Palette Grid */
.sp-color-palette {
    padding: 20px;
}

/* .sp-palette-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
}

.sp-palette-item {
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sp-palette-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
*/
.sp-palette-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 4. Science That Performs */
.sp-color-perform {
    padding: 80px 0;
    background: #D9B98A6B
}

.sp-color-perform .sp-color-perform__title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 48px;
}

.sp-color-perform__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sp-perform-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 258px;
}

.sp-perform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37, 46, 73, 0.09);
}

.sp-perform-card__icon img {
    width: 124px;
    height: 124px;
    object-fit: contain;
    margin-bottom: 18px;
}

.sp-perform-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0 0 12px;
    line-height: 1.3;
}

.sp-perform-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--sp-muted);
    margin: 0;
}

/* 5. Engineered for the Outdoors */
.sp-color-outdoors {
    padding: 80px 0;
    background: #fff;
}

.sp-color-outdoors__intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.sp-color-outdoors__intro h2 {
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-blue);
    margin: 0 0 16px;
}

.sp-color-outdoors__intro p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-text);
    margin: 0;
}

.sp-color-outdoors__diagram {}

.sp-color-outdoors__diagram img {
    width: 100%;
}

.sp-diagram-callout h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0 0 8px;
}

.sp-diagram-callout p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--sp-muted);
    margin: 0;
}

.sp-diagram-image img {
    width: 100%;
    object-fit: contain;
}

/* 6. Message From The Founder */
.sp-color-founder {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.sp-color-founder__inner {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 48px;
    align-items: center;
}

.sp-founder-box-title {
    border: 1px solid var(--sp-blue);
    padding: 16px 24px;
    display: inline-block;
    margin-bottom: 24px;
}

.sp-founder-box-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0;
    text-align: center;
}

.sp-color-founder__content blockquote {
    margin: 0;
    padding: 0;
}

.sp-color-founder__content blockquote p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--sp-text);
    margin: 0 0 14px;
}

.sp-color-founder__image {
    position: absolute;
    right: 0;
    width: 70%;
    bottom: 0;
    z-index: -1;
}

.sp-color-founder__image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* ==========================================================================
   Care & Maintenance Page Styles
   ========================================================================== */

.sp-care-page {
    padding: 60px 0 100px;
    background: #fff;
}

.sp-care__inner {
    max-width: 820px;
    margin: 0 auto;
}

.sp-care__header {
    text-align: center;
    margin-bottom: 54px;
}

.sp-care__title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sp-blue);
    margin: 0;
    text-transform: uppercase;
}

.sp-accordion__item {
    border-bottom: 1px solid var(--sp-blue);
}

.sp-products__types-swiper {
    width: 100%;
    margin: 0 auto !important;
    overflow: hidden !important; /* Giữ khung luôn khớp với container */
}

.sp-products__types-swiper .swiper-wrapper {
    box-sizing: border-box;
    transform: translate3d(0px, 0px, 0px); /* Reset vị trí lùi lề */
}

.sp-products__types-swiper .swiper-slide {
    height: auto; /* Đảm bảo các khung card bằng nhau */
}

.sp-accordion__trigger {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--sp-blue);
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
}

.sp-accordion__icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--sp-blue);
    line-height: 1;
}

.sp-accordion__content {
    display: none;
    padding: 0 0 28px;
}

.sp-accordion__item.is-open .sp-accordion__content {
    display: block;
}

.sp-accordion__content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.sp-accordion__content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-text);
    margin-bottom: 10px;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.sp-contact-page {
    padding: 60px 0 100px;
    background: #fff;
}

.sp-contact__inner {
    max-width: 680px;
    margin: 0 auto;
}

.sp-contact__header {
    text-align: center;
    margin-bottom: 50px;
}

.sp-contact__title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sp-blue);
    margin: 0;
    text-transform: uppercase;
}

.sp-contact-card {
    margin-bottom: 50px;
}

.sp-contact-card__header {
    border-bottom: 1px solid var(--sp-blue);
    padding-bottom: 14px;
    margin-bottom: 24px;
}

.sp-contact-card__header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0;
    text-transform: uppercase;
}

.sp-contact-card__lead {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-text);
    margin-bottom: 24px;
}

.sp-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--sp-soft);
}

.sp-contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--sp-text);
}

.sp-contact-detail-item img {
    margin-top: 5px;
}

.sp-contact-icon {
    font-size: 18px;
    line-height: 1.2;
}

.sp-contact-text a {
    color: var(--sp-blue);
    text-decoration: underline;
}

.sp-contact-hours {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sp-muted);
}

.sp-contact-form-section {
    margin-top: 50px;
    border-bottom: 0;
}

.sp-contact-form__header {
    border-bottom: 1px solid var(--sp-blue);
    padding-bottom: 14px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-contact-form__header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-blue);
    margin: 0;
    text-transform: uppercase;
}

.sp-contact-form-section .sp-form-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--sp-blue);
}

form .sp-form-group,
.sp-form-group {
    margin-bottom: 24px;
    position: relative;
}

form .sp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sp-form-group .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.sp-contact-form-section input[type="text"],
.sp-contact-form-section input[type="email"],
.sp-contact-form-section input[type="tel"],
.sp-contact-form-section textarea,
.sp-contact-form-section .wpcf7 input[type="text"],
.sp-contact-form-section .wpcf7 input[type="email"],
.sp-contact-form-section .wpcf7 input[type="tel"],
.sp-contact-form-section .wpcf7 textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sp-blue);
    padding: 10px 0;
    font: inherit;
    font-size: 16px;
    color: var(--sp-blue);
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.sp-contact-form-section  textarea,
.sp-contact-form-section .wpcf7 textarea {
    border-radius: 0;
    resize: vertical;
}

.sp-contact-form-section  input::placeholder,
.sp-contact-form-section  textarea::placeholder {
    color: transparent;
}

.sp-form-submit {
    text-align: right;
    margin-top: 24px;
}

/* ===== FLOATING LABEL STYLE ===== */
.sp-form-group label.sp-floating-label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: all 0.25s ease;
    background: #fff;
    z-index: 1;
}

/* Khi Focus HOẶC khi đã nhập nội dung (Tính cả thẻ wrap của CF7) */
.sp-form-group:focus-within label.sp-floating-label,
.sp-form-group input:not(:placeholder-shown) ~ label.sp-floating-label,
.sp-form-group textarea:not(:placeholder-shown) ~ label.sp-floating-label,
.sp-form-group .wpcf7-form-control-wrap:has(input:not(:placeholder-shown)) ~ label.sp-floating-label,
.sp-form-group .wpcf7-form-control-wrap:has(textarea:not(:placeholder-shown)) ~ label.sp-floating-label {
    top: -10px;
    font-size: 14px;
    color: var(--sp-blue, #111);
    font-weight: 500;
}

/* Button Style */
.sp-pill--gold {
    background: var(--sp-gold);
    color: var(--sp-blue);
    font-weight: 700;
    border: 0;
    cursor: pointer;
    padding: 10px 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.sp-pill--gold:hover,
.sp-pill:hover {
    background: #c9a773;
    transform: translateY(-2px) !important;
}

@media (max-width: 760px) {
    .sp-container {
        width: min(100% - 32px, 1280px);
    }

    .sp-topbar {
        display: none;
    }

    .sp-topbar__inner,
    .sp-topbar__right {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 8px 0;
    }

    .sp-topbar p {
        margin: 0;
    }

    .sp-logo,
    .sp-logo img {
        width: 170px;
        flex-basis: 170px;
    }

    .sp-hero {
        min-height: 631px;
    }

    .sp-hero__card {
        width: min(355px, calc(100% - 48px));
        min-height: 535px;
        padding: 34px 22px 28px;
    }

    .sp-eyebrow {
        font-size: 15px;
    }

    .sp-hero h1 {
        font-size: 30px;
    }

    .sp-hero__card>p:not(.sp-eyebrow) {
        font-size: 16px;
        line-height: 22px;
    }

    .sp-hero__stat {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .sp-strength.sp-section {
        padding: 0
    }

    .sp-strength .sp-strength__card {
        width: 100%;
        border-radius: 0;
    }

    .sp-exclusive img {
        position: relative;
        width: 100%
    }

    .sp-hero__stats span {
        display: block;
        text-align: center;
    }



    .sp-hero__stats img {
        width: 26px;
        height: 26px;
    }

    .sp-actions {
        flex-direction: column;
        align-items: center;
        gap: 7px;
        margin-top: 24px;
    }

    .sp-section {
        padding: 56px 0;
    }

    .sp-collection-grid {
        gap: 13px;
        margin-top: 36px;
    }

    .sp-collection-card {
        min-height: 231px;
        grid-template-rows: 177px auto;
    }

    .sp-products__types-swiper {
        padding-left: 30px;
        padding-right: 30px;
    }


    .sp-collection-card__title {
        padding-left: 28px;
        padding-right: 46px;
        font-size: 14px;
    }

    .sp-collection-card>img {
        right: 24px;
        bottom: 21px;
        width: 20px;
        height: 20px;
    }

    .sp-news-grid {
        grid-template-columns: 1fr;
    }

    .sp-factory {
        text-align: center;
    }

    .sp-factory .sp-copy {
        order: -1;
    }

    .sp-factory-slider .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        transform: none !important;
    }

    .sp-factory-slider .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }

    .sp-factory-slider .swiper-pagination {
        display: none;
    }

    .sp-strength__card>div {
        padding: 36px 24px;
        text-align: center;
    }

    .sp-exclusive__inner {
        min-height: 200px;
    }

    .sp-exclusive h2 {
        line-height: 30px;
        text-align: center;
        font-size: 22px;
    }

    .sp-about .sp-copy.sp-reveal h2 {
        font-size: 30px;
        text-align: center;
    }

    .sp-about .sp-copy p {
        text-align: center;
    }

    #about .sp-container.sp-about__inner {
        display: flex;
        flex-direction: column;
    }

    #about .sp-container .sp-copy.sp-reveal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-map {
        padding: 20px 0
    }

    .sp-about__mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 150px);
    }

    .sp-story {
        text-align: center;
    }

    .sp-story h2 {
        max-width: none;
        font-size: 30px;
    }

    .sp-story-grid {
        width: calc(100% + 32px);
        margin-left: -16px;
        grid-template-columns: 1.45fr 0.95fr 0.95fr;
        grid-template-rows: 98px 134px 137px 132px 99px;
        gap: 7px;
    }

    .sp-story-grid figure:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        border-radius: 0;
    }

    .sp-story-grid figure:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .sp-story-grid figure:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }

    .sp-story-grid figure:nth-child(3) {
        grid-column: 3;
        grid-row: 2;
    }

    .sp-story-grid figure:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .sp-story-grid figure:nth-child(5) {
        grid-column: 2 / 4;
        grid-row: 3 / 5;
    }

    .sp-story-grid figure:nth-child(6) {
        grid-column: 1 / 3;
        grid-row: 5;
    }

    .sp-story-grid figure:nth-child(7) {
        grid-column: 1;
        grid-row: 4;
    }

    .sp-story-grid figure:nth-child(8) {
        grid-column: 3;
        grid-row: 5;
    }

    .sp-about__mosaic img,
    .sp-about__mosaic img:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .sp-heritage__banner>div {
        padding: 48px 24px;
    }

    .sp-products__header {
        padding: 27px 0 37px
    }

    .sp-products-care {
        margin: 16px;
    }
}

/* ==========================================================================
   Responsive Styles for the 4 Pages
   ========================================================================== */

@media (max-width: 991px) {

    .sp-why-hero__inner,
    .sp-why-conditions__inner,
    .sp-why-structure__inner,
    .sp-why-color__inner,
    .sp-why-env__inner,
    .sp-why-quality__inner,
    .sp-color-hero__inner,
    .sp-color-science__inner,
    .sp-color-founder__inner,
    .sp-color-outdoors__diagram {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sp-color-formula {
        flex-direction: column;
    }

    .sp-formula-op {
        padding: 0;
    }

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

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

    .sp-footer__inner {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .sp-why-conditions__badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-why-env__icons {
        grid-template-columns: 1fr;
    }

    form .sp-form-row {
        grid-template-columns: 1fr;
    }

    .sp-color-perform__grid {
        grid-template-columns: 1fr;
    }
}




/* ============================================================
   Blog Archive  (home.php)
   ============================================================ */

/* ── Blog Hero ─────────────────────────────────────────────── */
.sp-blog-hero {
    padding: 80px 0 64px;
    background: var(--sp-cream);
}

.sp-blog-hero .sp-eyebrow {
    margin: 0 0 12px;
    color: var(--sp-muted);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sp-blog-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
}

.sp-blog-hero__sub {
    max-width: 560px;
    margin: 0;
    color: var(--sp-muted);
    font-size: 18px;
    line-height: 1.6;
}

/* ── Blog Section wrapper ──────────────────────────────────── */
.sp-blog-section {
    padding-top: 64px;
}

/* ── Post meta (category chip + date) ─────────────────────── */
.sp-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--sp-muted);
    margin-bottom: 14px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    color: #fff;
}

.sp-post-cat {
    display: inline-block;
    padding: 3px 10px;
    background: rgb(255 229 191);
    color: var(--sp-green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Featured post card ────────────────────────────────────── */
.sp-post-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #dbdbdb;
}

.sp-post-featured__image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1.45;
}

.sp-post-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sp-post-featured__image:hover img {
    transform: scale(1.03);
}

.sp-post-featured__title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    text-transform: uppercase;
}

.sp-post-featured__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.sp-post-featured__title a:hover {
    color: var(--sp-gold);
}

.sp-post-featured__excerpt {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--sp-muted);
}

/* ── Post grid (remaining posts) ──────────────────────────── */
.sp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin-bottom: 64px;
}

/* ── Post card ─────────────────────────────────────────────── */
.sp-blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.sp-blog-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}

.sp-blog-card__image {
    display: block;
    aspect-ratio: 1.6;
    overflow: hidden;
}

.sp-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sp-blog-card:hover .sp-blog-card__image img {
    transform: scale(1.04);
}

.sp-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 24px;
}

.sp-blog-card__title {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    text-transform: uppercase;
}

.sp-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.sp-blog-card__title a:hover {
    color: var(--sp-gold);
}

.sp-blog-card__excerpt {
    margin: 0 0 auto;
    padding-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sp-muted);
}

.sp-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sp-green);
    text-decoration: none;
    transition: gap 0.2s;
}

.sp-blog-card__link:hover {
    gap: 10px;
}

/* ── Pagination ────────────────────────────────────────────── */
.sp-pagination {
    padding: 32px 0 0;
}

.sp-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.sp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sp-pagination .page-numbers:hover,
.sp-pagination .page-numbers.current {
    background: var(--sp-blue);
    border-color: var(--sp-blue);
    color: #fff;
}

.sp-no-posts {
    padding: 64px 0;
    text-align: center;
    color: var(--sp-muted);
}


/* ============================================================
   Single Post  (single.php)
   ============================================================ */

/* ── Single Hero ───────────────────────────────────────────── */
.sp-single-hero {
    padding: 56px 0 64px;
    background: var(--sp-cream);
}

.sp-single-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 32px;
}

.sp-single-hero--has-image .sp-single-hero__content {
    /* stays left col */
}

/* No image: span full width */
.sp-single-hero:not(.sp-single-hero--has-image) .sp-single-hero__inner {
    grid-template-columns: 1fr;
    max-width: 780px;
}

.sp-single-hero__image {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1.45;
}

.sp-single-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-post-meta--hero {
    font-size: 14px;
    margin-bottom: 18px;
}

.sp-single-hero__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    text-transform: uppercase;
}

.sp-single-hero__meta {
    margin: 0;
    font-size: 14px;
    color: var(--sp-muted);
}

.sp-single-hero__meta a {
    font-weight: 700;
    color: var(--sp-green);
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 13px;
    color: var(--sp-muted);
}

.sp-breadcrumb a {
    color: var(--sp-green);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sp-breadcrumb a:hover {
    opacity: 0.75;
}

/* ── Post Body ─────────────────────────────────────────────── */
.sp-single-body {
    padding-bottom: 20px
}


.sp-single-bottom {
    margin-top: 80px;
}

/* ── Post Content (article prose) ─────────────────────────── */
.sp-post-content {
    min-width: 0;
    font-size: 18px;
    line-height: 1.75;
    color: var(--sp-text);
}

.sp-post-content h2,
.sp-post-content h3,
.sp-post-content h4 {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.sp-post-content h2 {
    font-size: clamp(22px, 2.5vw, 28px);
}

.sp-post-content h3 {
    font-size: clamp(18px, 2vw, 22px);
}

.sp-post-content p {
    margin: 0 0 1.4em;
}

.sp-post-content img {
    width: 100%;
    border-radius: 10px;
    margin: 2em 0;
}

.sp-post-content blockquote {
    margin: 2em 0;
    padding: 24px 32px;
    background: var(--sp-cream);
    border-left: 4px solid var(--sp-gold);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1em;
    color: var(--sp-green);
}

.sp-post-content ul,
.sp-post-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.4em;
}

.sp-post-content li {
    margin-bottom: 0.5em;
}

/* ── Tags ──────────────────────────────────────────────────── */
.sp-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
    font-size: 13px;
}

.sp-post-tags span {
    font-weight: 700;
    color: var(--sp-muted);
    text-transform: uppercase;
}

.sp-post-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--sp-cream);
    border-radius: 20px;
    font-size: 12px;
    color: var(--sp-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s;
}

.sp-post-tags a:hover {
    background: var(--sp-gold);
    color: var(--sp-green);
}

.sp-single-product__swatch {
    position: relative;
}

.sp-single-product__swatch::after {
    content: attr(title);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);

    background: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.2s ease;
    z-index: 9999;
}

.sp-single-product__swatch:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ── Share ─────────────────────────────────────────────────── */
.sp-post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sp-post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dbdbdb;
    border-radius: 50%;
    color: var(--sp-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sp-post-share a:hover {
    background: var(--sp-blue);
    border-color: var(--sp-blue);
    color: #fff;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sp-post-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Author card ───────────────────────────────────────────── */
.sp-author-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--sp-cream);
    border-radius: 12px;
}

.sp-author-card__avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sp-author-card__label {
    margin: 0 0 2px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-muted);
}

.sp-author-card__name {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 16px;
}

.sp-author-card__bio {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sp-muted);
}

/* ── Related posts ─────────────────────────────────────────── */
.sp-related>h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.sp-related-grid {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.sp-related-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-related-posts__heading {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-muted);
}

.sp-related-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: var(--sp-text);
    transition: color 0.2s;
}

.sp-related-card:hover {
    color: var(--sp-gold);
}

.sp-related-card img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.sp-related-card span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ── Post nav (prev/next) ──────────────────────────────────── */
.sp-post-nav-wrap {
    padding: 40px 0 80px;
    border-top: 1px solid #e8e8e8;
}

.sp-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.sp-post-nav.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sp-post-nav .nav-previous,
.sp-post-nav .nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-post-nav .nav-next {
    text-align: right;
    align-items: flex-end;
}

.sp-post-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: var(--sp-text);
    transition: color 0.2s;
    text-decoration: underline;
}

a.sp-news-card__image {
    border-radius: 7px;
    overflow: hidden;
    display: block;
}

a.sp-news-card__image img {
    transition: transform 0.3s ease;
}

a.sp-news-card__image img:hover {
    transform: scale(1.03);
}

.sp-products__types-swiper .swiper-button-prev.custom-arrow::after,
.sp-products__types-swiper .swiper-button-next.custom-arrow::after {
    content: none;
    /* Hide default Swiper arrow icons */
}

.sp-products__types-swiper .custom-arrow {
    width: 37px;
    height: 37px;
    border: 1px solid #D89168;
    border-radius: 50%;
    background-color: #fff;
}

.sp-products__types-swiper .custom-arrow img {
    width: 14px;
    /* Adjust size as needed */
    height: auto;
}

.sp-product-category-section .sp-collection-grid {
    padding-bottom: 50px;
}

.sp-product-category-section:last-child {
    margin-bottom: 0;
}

.sp-post-nav a:hover {
    color: var(--sp-gold);
}

.sp-post-nav__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-muted);
}

.sp-post-nav__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
}

.sp-single-product {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
}

/* ── Header ───────────────────────────────────────────── */
.sp-single-product__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.sp-single-product__sku {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #252e49;
    line-height: 1.1;
}

.sp-single-product__dims {
    font-size: 14px;
    font-weight: 400;
    color: #252e49;
    margin-top: 4px;
}

/* Swatches (Thumbnail slider) */
.sp-single-product__swatches-wrapper {
    width: auto;
    margin-right: 0;
    margin-left: auto;
}

.sp-single-product__swatch {
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.sp-single-product__swatch.is-active {
    border-color: #252e49;
}

.sp-single-product__swatches {
    display: flex;
    gap: 5px;
}

.sp-single-product__swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ── Gallery ──────────────────────────────────────────── */
.sp-single-product__gallery-wrapper {
    margin-bottom: 48px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    gap: 30px;
}

.sp-single-product__gallery-thumbnail,
.sp-single-product__gallery-variant {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-single-product__gallery-variant {
    display: none;
}

.sp-single-product__gallery-variant.is-active{
    display: block;
}
.sp-single-product__gallery-thumbnail img,
.sp-single-product__gallery-variant img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sp-single-product__gallery-thumbnail img{
    object-fit: cover;
}

/* ── Accordion ────────────────────────────────────────── */
.sp-single-product__meta {
    max-width: 540px;
}



/* ================================
   SEARCH RESULTS PAGE
================================ */

.sp-search-results {
    padding: 80px 0 100px;
}

.sp-search-results .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.sp-search-results__header {
    text-align: center;
    margin-bottom: 50px;
}

.sp-search-results__line {
    width: 40px;
    height: 2px;
    background: #111;
    margin: 0 auto 18px;
}

.sp-search-results__title {}

/* List */
.sp-search-results__list {
    border-top: 1px solid #e5e5e5;
}

/* Item */
.sp-search-item {
    border-bottom: 1px solid #e5e5e5;
}

.sp-search-item__link {
    display: block;
    position: relative;
    padding: 28px 40px 28px 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
/* 
.sp-search-item__link:hover {
    background: #fafafa;
} */

.sp-search-item__meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.sp-search-item__title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sp-search-item__excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    max-width: 90%;
}

.sp-search-item__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #999;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sp-search-item__link:hover .sp-search-item__arrow {
    color: #111;
    transform: translateY(-50%) translateX(4px);
}

/* Empty state */
.sp-search-results__empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Pagination */
.sp-search-results .navigation {
    margin-top: 50px;
    text-align: center;
}

.sp-product-categories-wrapper {
    display: flex;
    flex-direction: column;
}

.sp-product-category-section {
    margin: 15px 30px;
}

/* Khung chứa chính */
.sp-product-category {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    margin: 0;
}

/* Lớp phủ mờ nền (Overlay) */
.sp-product-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #00000099;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

/* Khung chữ bên trong */
.sp-product-category__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(10px);
    /* Mặc định hạ nhẹ chữ xuống */
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

/* --- TRẠNG THÁI HOVER / OPEN --- */
.sp-product-category:hover::before,
.sp-product-category.is-open::before {
    opacity: 1;
}

.sp-product-category:hover .sp-product-category__inner,
.sp-product-category.is-open .sp-product-category__inner {
    opacity: 1;
    transform: translateY(0);
    /* Đẩy nhẹ chữ lên vị trí chuẩn */
}

.sp-product-category__title {
    display: inline-block;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 20px 60px;
    border: 3px solid #fff;
    /* font-family: 'Playfair Display', serif; */
}

.sp-subcategories-container {
    background: #fff;
}

.sp-subcategories-loader {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .sp-hero__bg{
        height: 120%;
    }
    .sp-about__item--center {
        left: 53%;
    }

    .sp-about__item--center {
        top: 55%;
        width: 55%;
    }

    .sp-about__orbiter--tr {
        top: -3%;
    }

    .sp-about__orbiter--br {
        bottom: -20%;
    }

    .sp-section.sp-about {
        padding: 55px 0 120px;
    }

    .sp-product-category-section {
        margin: 0 0 5px;
    }

    .sp-products-heritage__inner,
    .sp-products-care__inner {
        padding: 50px 20px;
        text-align: center;
    }

    .sp-heritage h2 {
        font-size: 30px;
        line-height: 1.16;
    }

    .sp-heritage p {
        max-width: 330px;
    }

    .sp-section.sp-news .sp-news__intro {
        max-width: 320px;
    }

    .sp-product-category__title {
        border-width: 2px
    }

    .sp-product-category-section:last-child {
        margin-bottom: 0;
    }

    .sp-products-heritage,
    .sp-products-care {
        margin: 0
    }

    .sp-products-care__inner {
        margin-top: 20px;
    }

    .sp-product-category {
        min-height: 330px;
    }

    .sp-product-category__title {
        font-size: 28px;
        padding: 15px 40px;
    }

    .sp-products__inner,
    .sp-products-care .sp-container {
        grid-template-columns: 1fr;
    }

    .sp-highlight-grid {
        padding: 20px 0;
    }

    .sp-products__types {
        justify-content: left;
    }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .sp-single-product__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .sp-single-product__swatches-swiper {
        max-width: 100%;
    }
}

/* ============================================================
   Responsive — Blog & Single
   ============================================================ */
@media (max-width: 1024px) {
    .sp-single-layout {
        grid-template-columns: 1fr 280px;
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .sp-post-featured {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
        padding-bottom: 56px;
    }

    .sp-single-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-single-hero__image {
        order: -1;
    }

    .sp-single-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sp-post-sidebar {
        position: static;
    }

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

@media (max-width: 760px) {
    .sp-blog-hero {
        padding: 48px 0 40px;
    }

    .sp-blog-hero h1 {
        font-size: 30px;
    }

    .sp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sp-single-hero {
        padding: 40px 0 48px;
    }

    .sp-single-hero__title {
        font-size: 26px;
    }

    .sp-post-content {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sp-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Wind code 01/09/2026 */
@media (min-width: 1024px) {
    #why-grc .sp-factory-slider {
        padding-bottom: 60px;
    }
}

#why-grc .sp-factory-slider .swiper-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #D9B98A;
    opacity: .5;
}

#why-grc .sp-factory-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}

#why-grc .sp-factory-slider .swiper-pagination {
    display: flex;
    padding-left: 210px;
    bottom: 0;
}

@media (max-width: 1100px) {
    #why-grc .sp-factory-slider .swiper-pagination {
        padding-left: 0;
        justify-content: center;
    }
}

#about .sp-container.sp-about__inner {
    min-height: 600px;
    align-items: center;
}

.sp-factory-slider .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.sp-heritage-img,
.sp-nav__primary {
    display: none !important;
}

@media (max-width: 767px) {
    .sp-factory-slider .swiper-slide:nth-child(n+5) {
        display: none !important;
    }

    #story-color .sp-container.sp-story__inner {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .sp-menu-open .sp-nav__primary {
        display: block !important;
    }

    .sp-footer .sp-footer__brand {
        display: flex;
        justify-content: center;
    }

    .sp-footer__menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sp-footer__menu>a,
    .sp-footer__menu .menu-title {
        display: block;
    }

    .sp-footer__menu ul {
        display: inline-block;
        text-align: center;
        list-style-type: disc;
        padding-left: 20px;
        margin: 0;
    }

    .sp-footer__menu ul li {
        margin-bottom: 8px;
    }

    .sp-footer__bottom p {
        text-align: center;
    }

    .sp-footer__contact {
        padding: 0 30px;
    }

    .sp-heritage__banner>img {
        display: none;
    }

    .sp-section.sp-heritage .sp-container {
        width: 100%;
    }

    .sp-heritage__banner.sp-reveal {
        background: #252E49;
        border-radius: 0;
        min-height: fit-content;
        display: flex;
        justify-content: center;
    }

    .sp-heritage p {
        text-align: center;
    }

    .sp-reveal.sp-reveal--delay-1 {
        /* width: 380px; */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-heritage h2 {
        text-align: center;
    }

    .sp-heritage__banner::after {
        display: none;
    }

    .sp-heritage-img {
        height: 258px;
        object-fit: cover;
        display: block !important;
        max-width: 100%;
        object-position: 100% center;
    }

    .sp-section.sp-about {
        background: #FFF;
    }

    .sp-section.sp-heritage {
        padding: 0;
    }
}

.sp-strengths__slider .swiper-wrapper {
    display: flex;
}

.sp-strengths__slider .swiper-slide {
    height: auto;
}

.sp-strengths__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

/* .sp-strengths__card h3 {
    min-height: 2.8em;
} */

.js-journey-slider .swiper-wrapper,
.sp-strengths__slider .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.sp-journey__timeline {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper {
    overflow: hidden;
}

.sp-color-founder__content {
    width: 284px;
}

.sp-container.sp-color-founder__inner {
    width: 1120px;
}

.sp-products-heritage.sp-is-hidden {
    display: none;
}

@media (max-width: 767px) {

    .sp-journey__timeline.swiper-container,
    .sp-journey__timeline {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .sp-journey__timeline .swiper-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        transform: none !important;
        height: auto !important;
        width: 100% !important;
    }

    .sp-journey__item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 300px;
        height: auto !important;
        margin: 0 auto !important;
        padding-top: 70px;
        position: relative;
        text-align: center;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sp-journey__item.sp-journey__item--duplicate {
        display: none !important;
    }

    .sp-journey__icon {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 1.5px solid #d4a373;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 12px 0;
        background-color: #fff;
    }

    .sp-journey__icon img {
        max-width: 60px;
        max-height: 60px;
        object-fit: contain;
    }

    .sp-clay-grc__content {
        padding: 0 55px;
    }

    .sp-journey__item::before {
        content: "";
        position: absolute;
        top: 35px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 38px;
        background-color: #D9B98A6B;
    }

    .sp-journey__bar {
        display: none;
    }

    .sp-section h2.sp-journey__title {
        margin: 0 0 25px;
    }

    .sp-about-hero {
        padding: 60px 0 0;
        background: #D9B98A4D;
    }

    .sp-about-hero__image img {
        border-radius: 0;
    }

    .sp-container.sp-about-hero__inner {
        width: 100%;
    }

    .sp-about-hero__content {
        padding: 0 20px;
    }

    .sp-strengths__slider .swiper-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        transform: none !important;
    }

    .sp-strengths__slider .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }

    .sp-strengths__slider .swiper-slide:nth-child(n+7) {
        display: none !important;
    }

    .sp-strengths__card h3 {
        min-height: unset;
    }

    .sp-strengths__icon {
        height: auto;
    }

    .sp-strengths__card {
        padding: 40px;
    }

    .sp-color-hero__title {
        margin: 0 0 60px;
    }

    .sp-container.sp-color-hero__inner {
        display: flex;
        flex-direction: column;
    }

    .sp-color-hero__content {
        max-width: 286px;
        text-align: center;
    }

    section.sp-section.sp-color-palette {
        padding: 0;
    }

    section.sp-section.sp-color-perform .sp-container {
        padding: 0px 75px;
    }

    .sp-container.sp-color-founder__inner {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .sp-color-founder__content {
        text-align: center;
    }

    .sp-color-founder__image {
        position: unset;
        width: 100%;
        z-index: 1;
    }

    .sp-color-founder__image img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: center;
    }

    section.sp-section.sp-color-founder {
        padding-bottom: 0;
    }

    .sp-products-heritage__inner,
    .sp-products-care__inner {
        border-radius: 0;
    }

    .sp-products-care .sp-products-care__inner {
        margin-top: 14px;
    }

    .sp-products-heritage .sp-container,
    .sp-products-care .sp-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-products-heritage .sp-container .sp-products-heritage__content,
    .sp-products-care .sp-container .sp-products-care__content {
        max-width: 307px;
    }

    .sp-products__catalog .sp-product-grid {
        gap: 14px 8px;
    }

    .sp-product-category-section:nth-child(1) .sp-product-category {
        background-position: 63%;
    }

    .sp-product-category-section:nth-child(2) .sp-product-category {
        background-position: 67%;
    }

    .sp-product-category-section:nth-child(4) .sp-product-category {
        background-position: 44%;
    }

    .sp-desktop-only {
        display: none !important;
    }

    .sp-mobile-only {
        display: block !important;
    }

    .sp-single-product__gallery-wrapper{
        gap: 10px;
    }

    .sp-factory .sp-copy p {
        margin: 24px 0 0;
        font-size: 16px;
        line-height: 24px;
        max-width: 290px;
    }

    .sp-factory .sp-copy.sp-reveal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-strength p {
        margin-top: 34px;
        font-size: 16px;
        line-height: 24px;
    }

    .sp-why-color__inner,
    .sp-why-structure__inner,
    .sp-container.sp-why-conditions__inner {
        display: flex;
        flex-direction: column;
    }

    .sp-why-color__action,
    .sp-why-color__content h2,
    .sp-why-color__content p,
    .sp-why-structure__content p,
    .sp-why-structure__content h2,
    .sp-why-conditions__content p,
    .sp-why-env__content h2,
    .sp-why-env__content p,
    .sp-why-quality__content p,
    .sp-why-hero__title,
    .sp-why-hero__content p,
    .sp-why-conditions__content h2 {
        text-align: center;
    }

    .sp-why-hero__content {
        max-width: 320px;
    }

    .sp-why-quality__content,
    .sp-why-env__content,
    .sp-why-color__content,
    .sp-why-structure__matrix,
    .sp-why-structure__content,
    .sp-why-conditions__content {
        max-width: 300px;
    }

    .sp-why-env__content {
        padding-top: 30px;
    }

    .sp-why-hero__inner,
    .sp-why-quality__inner,
    .sp-why-env__inner {
        justify-items: center;
    }

    .sp-quality-header {
        align-items: center;
    }

    .sp-env-item {
        max-width: 155px;
    }

    .sp-why-env__icons {
        justify-items: center;
    }

    .sp-env-item {
        text-align: center;
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid #000;
        padding-bottom: 30px;
    }

    .sp-single-product__gallery-wrapper {
        display: flex;
        flex-direction: column;
    }

}

.sp-story-grid .swiper-wrapper {
    display: flex;
    align-items: flex-end;
}

.sp-story-grid .swiper-slide {
    height: auto !important;
}

.sp-story-grid .swiper-slide figure {
    margin: 0;
    width: 100%;
}

.sp-story-grid .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.sp-story-grid .swiper-slide:nth-child(4n + 1),
.sp-story-grid .swiper-slide:nth-child(4n + 3) {
    width: 32% !important;
}

.sp-story-grid .swiper-slide:nth-child(4n + 2) {
    width: 22% !important;
}

.sp-story-grid .swiper-slide:nth-child(4n + 4) {
    width: 16% !important;
}

.sp-story-swiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.sp-desktop-only {
    display: block;
}

.sp-mobile-only {
    display: none;
}

.sp-story-mobile-img figure {
    margin: 0;
    width: 100%;
}

.sp-story-mobile-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Container Grid chứa các sản phẩm */
#sp-global-drawer .sp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cột sản phẩm */
    gap: 20px;
    position: relative;
}

/* Thẻ sản phẩm */
#sp-global-drawer .sp-product-card {
    position: relative;
    height: 100%;
}

#sp-global-drawer {
    grid-column: 1 / -1;
    width: 100%;
    background: #ffffff;
    box-sizing: border-box;
    display: none;
    margin: 10px 0 20px 0;
    z-index: 10;
    border-radius: 10px;
        max-width: 900px;
    margin: auto;


}

#sp-global-drawer .sp-single-product__meta {
    margin: 80px auto 0;
}

.hidden-pc {
    display: none;
}

@media (max-width: 767px) {
    .sp-accordion__trigger {
        font-size: 18px;
        padding-top: 17px;
        padding-bottom: 17px;
    }

    .sp-products__catalog {
        padding: 40px 0 40px;
    }

    .sp-single-product__swatch {
        width: 45px !important;
        height: 45px !important;
    }

    .sp-single-product__swatches-wrapper {
        margin: auto;
    }

    #sp-global-drawer .sp-single-product__meta {
        margin: 0;
    }

    .hidden-pc {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }

    .sp-single-product__swatches {
        justify-content: center;
    }

}

.sp-single-product__gallery-wrapper {
    width: 100%;
    min-width: 0;
}

.sp-single-content img {
    width: 100%;
}

/* color */
.color-chart-section {
    max-width: 1150px;
    margin: 40px auto 100px;
    padding: 20px;
    text-align: center;
}

.color-chart-section .color-chart-title {
    font-size: 25px;
    font-weight: 600;
    color: #252E49;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.color-chart-section .color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 25px;
}

.color-chart-section .color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Thẻ chứa hình ảnh với khung viền bo tròn */
.color-chart-section .image-wrapper {
    width: 258px;
    height: 258px;
    aspect-ratio: 1 / 1;
    border: 1px solid #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.color-chart-section .image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.color-chart-section .image-wrapper img:not(.img-color) {
    transition: transform 0.4s ease-in-out;
    backface-visibility: hidden;
}

.color-chart-section .image-wrapper .img-color {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    object-fit: cover !important;
    opacity: 0;
    pointer-events: none;
    
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.03);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.color-chart-section .image-wrapper:hover .img-color {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.color-chart-section .image-wrapper:hover img:not(.img-color) {
    transform: scale(0.97);
}

.color-chart-section .color-name {
    margin-top: 13px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2a40;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .color-chart-section .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 39px 11px;
    }

    .color-chart-section {
        margin-top: 0;
    }

    .color-chart-section .image-wrapper {
        width: 100%;
        height: auto;
    }
}

.single-product .sp-single-product {
    padding-bottom: 100px;
    margin-top: 30px;
}


.search-results .sp-nav-wrap,
.single-product .sp-nav-wrap {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}
/* ===== French header nav: labels are longer, shrink to avoid wrapping ===== */
html[lang^="fr"] .sp-nav a {
    font-size: 13px;
    letter-spacing: 0;
}
html[lang^="fr"] .sp-nav nav,
html[lang^="fr"] .sp-nav ul {
    gap: 24px;
}

/* ===== Spanish & Italian header nav: longer labels, shrink like French ===== */
html[lang^="es"] .sp-nav a,
html[lang^="it"] .sp-nav a {
    font-size: 13px;
    letter-spacing: 0;
}
html[lang^="es"] .sp-nav nav,
html[lang^="es"] .sp-nav ul,
html[lang^="it"] .sp-nav nav,
html[lang^="it"] .sp-nav ul {
    gap: 24px;
}
