/* Only the approved homepage product-collection gallery is customized. */
:root {
    --yl-ink: #20201d;
    --yl-clay: #bd623d;
    --yl-serif: "Libre Baskerville", Georgia, serif;
    --yl-sans: "Inter", Arial, sans-serif;
}

/* Approved navigation typography only; navigation layout and behavior stay unchanged. */
.hero-nav-link,
.mobile-menu-panel > a {
    font-family: var(--yl-sans) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.hero-nav-link {
    color: #fff !important;
}

.hero-nav-link:hover,
.hero-nav-link.active {
    color: #fff !important;
    opacity: .72;
}

/* Refined carousel actions: quieter, editorial, and less promotional. */
.premium-hero-carousel .hero-slide-badge {
    font-family: var(--yl-sans) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: .15em !important;
}

.premium-hero-carousel .hero-slide-content :is(h1, h2) {
    max-width: 780px !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(52px, 5.6vw, 82px) !important;
    font-weight: 400 !important;
    line-height: 1.02 !important;
    letter-spacing: -.052em !important;
}

.premium-hero-carousel .hero-slide-subtitle {
    max-width: 650px !important;
    font-family: var(--yl-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    letter-spacing: 0 !important;
}

.premium-hero-carousel .hero-slide-feature {
    font-family: var(--yl-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .025em !important;
}

.premium-hero-carousel .hero-slide-btns {
    gap: 10px !important;
}

.premium-hero-carousel .hero-slide-btns a {
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 2px !important;
    font-family: var(--yl-sans) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transform: none !important;
}

.premium-hero-carousel .hero-slide-btns .btn-catalog {
    border: 1px solid #9f4e30 !important;
    background: #9f4e30 !important;
    color: #fff !important;
}

.premium-hero-carousel .hero-slide-btns .btn-quote {
    border: 1px solid rgba(255,255,255,.68) !important;
    background: rgba(20,18,16,.12) !important;
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.premium-hero-carousel .hero-slide-btns a::after {
    width: 17px !important;
    height: 1px !important;
    margin-left: 13px !important;
    background: currentColor !important;
    border: 0 !important;
    transform: none !important;
}

.premium-hero-carousel .hero-slide-btns a:hover {
    transform: translateY(-1px) !important;
}

.premium-hero-carousel .hero-slide-btns .btn-catalog:hover {
    border-color: #843d25 !important;
    background: #843d25 !important;
}

.premium-hero-carousel .hero-slide-btns .btn-quote:hover {
    border-color: #fff !important;
    background: rgba(255,255,255,.12) !important;
}

.product-categories {
    padding: 125px 2rem 145px !important;
    background: #fcfaf6 !important;
}

.product-categories .section-inner {
    max-width: 1320px !important;
}

.product-categories .section-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 700px) auto;
    gap: 50px;
    align-items: end;
    max-width: none !important;
    margin: 0 0 52px !important;
    padding: 0 !important;
    text-align: left !important;
}

.product-categories .section-header::before {
    content: "THE YOULI EDIT";
    grid-column: 1 / -1;
    margin-bottom: -25px;
    color: var(--yl-clay);
    font-family: var(--yl-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
}

.product-categories .section-header h2 {
    max-width: 700px;
    margin: 0 !important;
    color: var(--yl-ink) !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(42px, 4.6vw, 68px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: -.05em !important;
}

.product-categories .section-header > p {
    display: none;
}

.home-products-link {
    justify-self: end;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: var(--yl-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.product-categories .category-cards {
    position: relative;
    display: grid !important;
    grid-template-columns: 1.2fr .44fr .44fr !important;
    grid-template-rows: 315px 315px !important;
    gap: 16px !important;
    padding-bottom: 88px;
}

.product-categories .category-card,
.product-categories .category-card:nth-child(1),
.product-categories .category-card:nth-child(2),
.product-categories .category-card:nth-child(3),
.product-categories .category-card:nth-child(4) {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.product-categories .category-card:nth-child(2) {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
}

.product-categories .category-card:nth-child(1) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-top: 80px;
}

.product-categories .category-card:nth-child(3) {
    grid-column: 3 !important;
    grid-row: 1 !important;
    margin-top: 138px;
}

.product-categories .category-card:nth-child(4) {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    margin-top: 12px;
}

.product-categories .category-card-img,
.product-categories .category-card-img img {
    width: 100%;
    height: 100%;
}

.product-categories .category-card-img img {
    object-fit: cover;
}

.product-categories .category-card-overlay,
.product-categories .category-card:nth-child(1) .category-card-overlay,
.product-categories .category-card:nth-child(2) .category-card-overlay,
.product-categories .category-card:nth-child(3) .category-card-overlay,
.product-categories .category-card:nth-child(4) .category-card-overlay {
    justify-content: flex-end;
    padding: 25px !important;
    background: linear-gradient(transparent 42%, rgba(16,15,13,.74) 100%) !important;
}

.product-categories .category-card-overlay p {
    display: block !important;
    margin: 8px 0 0 !important;
    color: rgba(255,255,255,.92) !important;
    font-family: var(--yl-sans) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
}

.product-categories .category-card-overlay h3,
.product-categories .category-card:nth-child(1) .category-card-overlay h3,
.product-categories .category-card:nth-child(2) .category-card-overlay h3,
.product-categories .category-card:nth-child(3) .category-card-overlay h3,
.product-categories .category-card:nth-child(4) .category-card-overlay h3 {
    max-width: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(24px, 2.2vw, 38px) !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
}

.product-categories .category-card:nth-child(2) .category-card-overlay {
    padding: 48px !important;
}

.product-categories .category-card:nth-child(2) .category-card-overlay h3 {
    max-width: 460px !important;
    font-size: clamp(42px, 4.4vw, 68px) !important;
}

.product-categories .category-card-btn {
    display: none;
}

.home-collection-note {
    position: absolute;
    left: 46.5%;
    bottom: 12px;
    z-index: 4;
    display: grid;
    width: 164px;
    height: 164px;
    place-items: center;
    padding: 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--yl-clay);
    font-family: var(--yl-serif);
    font-size: 13px;
    font-style: italic;
    line-height: 1.45;
    text-align: center;
    transform: rotate(-7deg);
}

/* Unify the remaining homepage with the approved editorial collection section. */
.market-strip,
.company-intro,
.factory-display,
.certificates-section,
.about-youli,
.site-cta {
    color: var(--yl-ink);
}

.market-strip {
    position: relative;
    overflow: hidden;
    padding: 115px 2rem !important;
    background: #f3eee6 !important;
}

.market-strip::after {
    content: "GLOBAL";
    position: absolute;
    right: -20px;
    bottom: -45px;
    color: rgba(32,32,29,.035);
    font-family: var(--yl-sans);
    font-size: clamp(110px, 17vw, 250px);
    font-weight: 700;
    letter-spacing: -.09em;
    line-height: .8;
    pointer-events: none;
}

.market-strip-inner {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: .9fr 1.1fr !important;
    gap: 9vw !important;
    align-items: center !important;
    max-width: 1320px !important;
}

.market-strip-inner > h2 {
    grid-column: 2;
    grid-row: 1;
}

.market-strip-inner > div {
    grid-column: 1;
    grid-row: 1;
}

.market-strip h2 {
    max-width: 590px;
    margin: 0 !important;
    color: var(--yl-ink) !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(40px, 4.2vw, 62px) !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: -.05em !important;
    text-transform: none !important;
    justify-self: end;
}

.market-strip p {
    max-width: 650px;
    margin-bottom: 30px !important;
    color: #716d66 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

.market-tags {
    position: relative;
    display: block !important;
    width: 100%;
    min-height: 365px;
    margin-top: 0 !important;
    padding: 0;
    counter-reset: market;
    border: 0 !important;
}

.market-world-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 285px;
    object-fit: contain;
    opacity: .95;
}

.market-legend {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(89, 80, 70, .18);
}

.market-legend span {
    counter-increment: market;
    display: inline-flex !important;
    gap: 11px;
    align-items: center;
    min-height: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--yl-ink) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.market-legend span:nth-child(1) { grid-column: 1 / span 2; }
.market-legend span:nth-child(2) { grid-column: 3 / span 2; }
.market-legend span:nth-child(3) { grid-column: 5 / span 2; }
.market-legend span:nth-child(4) { grid-column: 2 / span 2; }
.market-legend span:nth-child(5) { grid-column: 4 / span 2; }

.market-legend span::before {
    content: "0" counter(market);
    color: rgba(189,98,61,.78);
    font-family: var(--yl-serif);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
}

.market-legend span:nth-child(odd) {
    border: 0 !important;
}

.company-intro {
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 130px !important;
    background: #fcfaf6 !important;
}

.company-intro::after {
    content: "PARTNER";
    position: absolute;
    right: -25px;
    bottom: -45px;
    color: rgba(32,32,29,.028);
    font-family: var(--yl-sans);
    font-size: clamp(110px, 17vw, 250px);
    font-weight: 700;
    letter-spacing: -.09em;
    line-height: .8;
    pointer-events: none;
}

.intro-inner {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: 1.12fr .88fr !important;
    gap: 9vw !important;
    align-items: center !important;
    max-width: 1320px !important;
}

.intro-label,
.factory-display .section-label,
.certificates-section .section-label {
    color: var(--yl-clay) !important;
    font-family: var(--yl-sans) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}

.intro-left h2,
.factory-display .section-header h2,
.certificates-section .section-header h2,
.about-header h2 {
    color: var(--yl-ink) !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(40px, 4.3vw, 64px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: -.05em !important;
}

.intro-left h2 {
    max-width: 720px !important;
    margin-bottom: 28px !important;
    font-size: clamp(39px, 4vw, 59px) !important;
    line-height: 1.1 !important;
}

.intro-desc,
.factory-display .section-header p,
.certificates-section .section-header p,
.about-tagline,
.about-text p {
    color: #716d66 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

.intro-left .intro-desc {
    max-width: 650px;
    margin-bottom: 14px !important;
}

.intro-cta,
.about-profile-btn {
    display: inline-flex !important;
    width: auto !important;
    min-height: 0 !important;
    margin-top: 20px !important;
    padding: 0 0 7px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--yl-ink) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--yl-ink) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase;
    box-shadow: none !important;
}

.intro-stats {
    position: relative;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-left: 35px;
    border: 0 !important;
}

.intro-stats::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: rgba(32,32,29,.18);
}

.intro-stat {
    position: relative;
    display: grid !important;
    grid-template-columns: 82px 1fr;
    align-items: baseline;
    min-height: 0 !important;
    padding: 19px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(32,32,29,.16) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
}

.intro-stat:first-child {
    transform: translateX(18px);
}

.intro-stat:nth-child(2) {
    transform: translateX(52px);
}

.intro-stat:nth-child(3) {
    transform: translateX(0);
}

.intro-stat:nth-child(4) {
    transform: translateX(34px);
}

.intro-stat .stat-num {
    color: var(--yl-clay) !important;
    font-family: var(--yl-serif) !important;
    font-size: 25px !important;
    font-weight: 400 !important;
}

.intro-stat .stat-text {
    color: #716d66 !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.factory-display {
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 135px !important;
    background: #f3eee6 !important;
}

.factory-display::after {
    content: "PROCESS";
    position: absolute;
    right: -20px;
    bottom: -48px;
    color: rgba(32,32,29,.03);
    font-family: var(--yl-sans);
    font-size: clamp(110px, 17vw, 250px);
    font-weight: 700;
    letter-spacing: -.09em;
    line-height: .8;
    pointer-events: none;
}

.factory-display .section-inner,
.certificates-section .section-inner,
.about-inner {
    max-width: 1320px !important;
}

.factory-display .section-header,
.certificates-section .section-header,
.about-header {
    max-width: 760px !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
    text-align: left !important;
}

.factory-display .section-header {
    max-width: 720px !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
}

.factory-display .section-header p {
    margin-left: auto !important;
}

.factory-display .section-header h2,
.factory-desc h3 {
    color: var(--yl-ink) !important;
}

.factory-display .section-header p,
.factory-desc p {
    color: #716d66 !important;
}

.factory-grid {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr) !important;
    grid-template-rows: repeat(5, auto);
    gap: 0 7vw !important;
    counter-reset: production;
}

.factory-item {
    counter-increment: production;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.factory-item:first-child {
    grid-column: 1 !important;
    grid-row: 1 / 6 !important;
    align-self: start;
}

.factory-item:not(:first-child) {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: 118px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 122px;
    padding: 17px 0 !important;
    border-bottom: 1px solid rgba(32,32,29,.16) !important;
}

.factory-item:not(:first-child)::before {
    content: "0" counter(production);
    position: absolute;
    right: 0;
    top: 20px;
    color: rgba(189,98,61,.7);
    font-family: var(--yl-serif);
    font-size: 12px;
}

.factory-item:not(:first-child) {
    position: relative;
}

.factory-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.factory-img {
    aspect-ratio: 1.25 !important;
}

.factory-item:first-child .factory-img {
    height: 610px !important;
    aspect-ratio: auto !important;
    clip-path: polygon(0 0, 91% 0, 100% 9%, 100% 100%, 0 100%);
}

.factory-item:first-child .factory-img img {
    transition: opacity .22s ease, transform .7s cubic-bezier(.2,.8,.2,1) !important;
}

.factory-item:first-child .factory-img img.is-switching {
    opacity: .2;
    transform: scale(1.015);
}

.factory-item:not(:first-child) .factory-img {
    width: 118px;
    height: 88px !important;
    aspect-ratio: auto !important;
}

.factory-item:not(:first-child) {
    cursor: pointer;
    transition: padding-left .22s ease, color .22s ease;
}

.factory-item:not(:first-child):hover,
.factory-item:not(:first-child).is-previewing {
    padding-left: 12px !important;
}

.factory-item:not(:first-child):hover .factory-desc h3,
.factory-item:not(:first-child).is-previewing .factory-desc h3 {
    color: var(--yl-clay) !important;
}

.factory-desc {
    min-height: 0 !important;
    padding: 0 !important;
}

.factory-item:first-child .factory-desc {
    padding: 22px 0 0 !important;
}

.factory-desc h3 {
    margin-bottom: 6px !important;
    font-family: var(--yl-serif) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: -.025em;
}

.factory-item:first-child .factory-desc h3 {
    font-size: 26px !important;
}

.factory-desc p {
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.factory-item:first-child .factory-desc p {
    max-width: 650px;
    font-size: 13px !important;
}

.certificates-section {
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 135px !important;
    background: #fcfaf6 !important;
}

.certificates-section::after {
    content: "REVIEW";
    position: absolute;
    right: -20px;
    bottom: -48px;
    color: rgba(32,32,29,.028);
    font-family: var(--yl-sans);
    font-size: clamp(115px, 17vw, 255px);
    font-weight: 700;
    letter-spacing: -.09em;
    line-height: .8;
    pointer-events: none;
}

.certificates-grid {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr) !important;
    grid-template-rows: repeat(5, auto);
    gap: 0 7vw !important;
    counter-reset: review;
}

.cert-item {
    counter-increment: review;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
}

.cert-item:first-child {
    grid-column: 1 !important;
    grid-row: 1 / 6 !important;
}

.cert-item:not(:first-child) {
    position: relative;
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 116px;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(32,32,29,.16) !important;
}

.cert-item:not(:first-child)::before {
    content: "0" counter(review);
    position: absolute;
    top: 18px;
    right: 0;
    color: rgba(189,98,61,.72);
    font-family: var(--yl-serif);
    font-size: 11px;
}

.cert-img {
    margin-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;
}

.cert-item:first-child .cert-img {
    height: 590px !important;
    clip-path: polygon(0 0, 91% 0, 100% 9%, 100% 100%, 0 100%);
}

.cert-item:first-child .cert-img img {
    object-fit: cover;
}

.cert-item:not(:first-child) .cert-img {
    width: 112px;
    height: 82px !important;
}

.cert-item h3 {
    margin: 0 0 6px !important;
    color: var(--yl-ink) !important;
    font-family: var(--yl-serif) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

.cert-item:first-child h3 {
    margin-top: 20px !important;
    font-size: 26px !important;
}

.cert-item p {
    color: #716d66 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

.cert-item:first-child p {
    max-width: 620px;
    font-size: 13px !important;
}

.cert-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.cert-item:not(:first-child):hover h3 {
    color: var(--yl-clay) !important;
}

.about-youli {
    position: relative;
    overflow: hidden;
    padding: 125px 2rem 135px !important;
    background: #fcfaf6 !important;
}

.about-youli::after {
    content: "YOULI";
    position: absolute;
    right: -15px;
    bottom: -45px;
    color: rgba(32,32,29,.028);
    font-family: var(--yl-sans);
    font-size: clamp(120px, 18vw, 270px);
    font-weight: 700;
    letter-spacing: -.1em;
    line-height: .8;
    pointer-events: none;
}

.about-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 8vw;
    align-items: start;
}

.about-content {
    display: contents !important;
    margin: 0 !important;
}

.about-text,
.about-stats {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.about-text {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    min-height: 590px;
    padding: 42px !important;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(to top, rgba(21,19,17,.78), rgba(21,19,17,.08) 65%),
        url("../images/factory-showroom-ceramics-1200.jpg") center / cover no-repeat !important;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-text p {
    max-width: 520px;
    color: rgba(255,255,255,.8) !important;
}

.about-text p:last-of-type {
    margin-bottom: 25px !important;
}

.about-text .about-profile-btn {
    width: fit-content !important;
    border-bottom-color: #fff !important;
    color: #fff !important;
}

.about-stats {
    grid-column: 2;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px !important;
    align-content: end;
    border: 0 !important;
    padding: 0 0 18px !important;
}

.stat-item {
    min-height: 165px;
    padding: 28px 0 18px !important;
    border: 0 !important;
    border-top: 1px solid rgba(32,32,29,.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}

.stat-item::before {
    display: none !important;
}

.stat-item .stat-number {
    color: var(--yl-clay) !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(42px, 4.5vw, 66px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -.05em;
}

.stat-item .stat-label {
    margin-top: 12px !important;
    color: #716d66 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase;
}

.about-header {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 0 0 35px !important;
    padding-top: 25px !important;
    z-index: 2;
}

.about-header h2 {
    margin-bottom: 18px !important;
}

.about-tagline {
    max-width: 620px;
}

.about-highlights {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 35px !important;
    margin-top: 60px !important;
    padding-top: 35px;
    border-top: 1px solid rgba(32,32,29,.18);
    border-left: 0 !important;
}

.highlight-card {
    position: relative;
    min-height: 0;
    padding: 0 0 0 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.highlight-icon {
    display: none !important;
}

.highlight-card::before {
    content: "0" counter(highlight);
    position: absolute !important;
    top: 3px !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    color: var(--yl-clay);
    background: transparent !important;
    font-family: var(--yl-serif);
    font-size: 12px;
}

.about-highlights {
    counter-reset: highlight;
}

.highlight-card {
    counter-increment: highlight;
}

.highlight-card h3 {
    font-family: var(--yl-serif) !important;
    font-weight: 400 !important;
    font-size: 18px !important;
}

.highlight-card p {
    color: #716d66 !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.site-cta {
    padding: 115px 2rem !important;
    background: var(--yl-clay) !important;
    border: 0 !important;
}

.site-cta > div {
    max-width: 850px !important;
}

.site-cta p,
.site-cta h2 {
    color: #fff !important;
}

.site-cta p:first-child {
    color: rgba(255,255,255,.75) !important;
    font-size: 9px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}

.site-cta h2 {
    font-family: var(--yl-serif) !important;
    font-size: clamp(40px, 4.8vw, 70px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: -.05em !important;
}

.site-cta a {
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 2px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase;
    box-shadow: none !important;
}

.site-cta a:first-of-type {
    background: var(--yl-ink) !important;
    color: #fff !important;
}

.site-cta a:last-of-type {
    border-color: rgba(255,255,255,.7) !important;
    background: transparent !important;
    color: #fff !important;
}

@media (max-width: 1050px) {
    .product-categories .category-cards {
        grid-template-columns: 1.1fr .5fr !important;
        grid-template-rows: 300px 300px 300px !important;
    }

    .product-categories .category-card:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
    }

    .product-categories .category-card:nth-child(1) {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-top: 0;
    }

    .product-categories .category-card:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 0;
    }

    .product-categories .category-card:nth-child(4) {
        grid-column: 1 / 3 !important;
        grid-row: 3 !important;
        margin-top: 0;
    }

    .intro-inner,
    .market-strip-inner {
        grid-template-columns: 1fr !important;
    }

    .market-strip-inner > h2,
    .market-strip-inner > div {
        grid-column: 1;
        grid-row: auto;
    }

    .market-strip-inner > h2 {
        justify-self: start;
    }

    .about-inner {
        grid-template-columns: 1fr !important;
    }

    .about-header,
    .about-text,
    .about-stats,
    .about-highlights {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .about-header {
        order: 1;
    }

    .about-text {
        order: 2;
    }

    .about-stats {
        order: 3;
    }

    .about-highlights {
        order: 4;
    }

    .factory-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .factory-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .factory-item:first-child,
    .factory-item:not(:first-child) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .factory-item:first-child .factory-img {
        height: 520px !important;
    }

    .factory-item:not(:first-child) {
        grid-template-columns: 145px 1fr;
    }

    .factory-item:not(:first-child) .factory-img {
        width: 145px;
        height: 100px !important;
    }

    .certificates-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .cert-item:first-child,
    .cert-item:not(:first-child) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .cert-item:first-child .cert-img {
        height: 500px !important;
    }

    .cert-item:not(:first-child) {
        grid-template-columns: 145px 1fr;
    }

    .cert-item:not(:first-child) .cert-img {
        width: 145px;
        height: 100px !important;
    }
}

@media (max-width: 720px) {
    .product-categories {
        padding: 80px 1rem 90px !important;
    }

    .product-categories .section-header {
        display: block;
    }

    .home-products-link {
        display: inline-block;
        margin-top: 22px;
    }

    .product-categories .category-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 12px !important;
        padding-bottom: 0;
    }

    .product-categories .category-card,
    .product-categories .category-card:nth-child(1),
    .product-categories .category-card:nth-child(2),
    .product-categories .category-card:nth-child(3),
    .product-categories .category-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 420px !important;
        margin-top: 0 !important;
        clip-path: none;
    }

    .product-categories .category-card:nth-child(2) .category-card-overlay {
        padding: 25px !important;
    }

    .product-categories .category-card:nth-child(2) .category-card-overlay h3 {
        font-size: 34px !important;
    }

    .home-collection-note {
        display: none;
    }

    .market-strip,
    .company-intro,
    .factory-display,
    .certificates-section,
    .about-youli,
    .site-cta {
        padding: 80px 1rem !important;
    }

    .factory-display .section-header {
        margin-left: 0 !important;
        text-align: left !important;
    }

    .factory-display .section-header p {
        margin-left: 0 !important;
    }

    .intro-stats,
    .factory-grid,
    .certificates-grid,
    .about-highlights {
        grid-template-columns: 1fr !important;
    }

    .factory-item:first-child .factory-img {
        height: 390px !important;
        clip-path: none;
    }

    .factory-item:not(:first-child) {
        grid-template-columns: 92px 1fr;
        gap: 15px;
    }

    .factory-item:not(:first-child) .factory-img {
        width: 92px;
        height: 76px !important;
    }

    .cert-item:first-child .cert-img {
        height: 370px !important;
        clip-path: none;
    }

    .cert-item:not(:first-child) {
        grid-template-columns: 92px 1fr;
        gap: 15px;
    }

    .cert-item:not(:first-child) .cert-img {
        width: 92px;
        height: 74px !important;
    }

    .intro-stats {
        padding-left: 22px;
    }

    .intro-stat,
    .intro-stat:first-child,
    .intro-stat:nth-child(2),
    .intro-stat:nth-child(3),
    .intro-stat:nth-child(4) {
        grid-template-columns: 72px 1fr;
        transform: none;
    }

    .market-tags {
        display: block !important;
        min-height: 0;
    }

    .market-world-map {
        display: none;
    }

    .market-legend {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 22px;
        padding-top: 5px;
        border-top: 0;
    }

    .market-legend span:nth-child(1),
    .market-legend span:nth-child(2),
    .market-legend span:nth-child(3),
    .market-legend span:nth-child(4),
    .market-legend span:nth-child(5) {
        grid-column: auto;
    }
}

/* About Youli v2 — clean editorial split, no cards or image-overlay copy. */
.about-youli {
    padding: 120px 2rem 130px !important;
}

.about-inner {
    display: grid !important;
    grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr) !important;
    grid-template-rows: auto auto auto auto;
    gap: 0 8vw !important;
    max-width: 1320px !important;
}

.about-inner::before {
    content: "";
    grid-column: 2;
    grid-row: 1 / 4;
    min-height: 620px;
    background: url("../images/factory-showroom-ceramics-1200.jpg") center / cover no-repeat;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
}

.about-content {
    display: contents !important;
}

.about-header {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
}

.about-header h2 {
    margin-bottom: 18px !important;
}

.about-text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    clip-path: none !important;
    color: var(--yl-ink) !important;
    background: transparent !important;
}

.about-text p {
    max-width: 560px;
    color: #716d66 !important;
}

.about-text .about-profile-btn {
    margin-top: 20px !important;
    border-bottom-color: var(--yl-ink) !important;
    color: var(--yl-ink) !important;
}

.about-stats {
    grid-column: 1 !important;
    grid-row: 3 !important;
    display: flex !important;
    gap: 0 !important;
    align-items: flex-end;
    margin-top: 50px;
    padding: 22px 0 0 !important;
    border-top: 1px solid rgba(32,32,29,.2) !important;
}

.stat-item {
    flex: 1;
    min-height: 0 !important;
    padding: 0 30px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.stat-item + .stat-item {
    padding-left: 30px !important;
    border-left: 1px solid rgba(32,32,29,.16) !important;
}

.stat-item .stat-number {
    color: var(--yl-ink) !important;
    font-size: clamp(34px, 3.4vw, 50px) !important;
}

.stat-item:first-child .stat-number {
    color: var(--yl-clay) !important;
}

.stat-item .stat-label {
    margin-top: 9px !important;
    color: #716d66 !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
}

.about-highlights {
    grid-column: 1 / 3 !important;
    grid-row: 4 !important;
    gap: 5vw !important;
    margin-top: 70px !important;
    padding-top: 32px !important;
}

.about-youli::after {
    display: none;
}

@media (max-width: 1050px) {
    .about-inner {
        grid-template-columns: 1fr !important;
    }

    .about-inner::before {
        grid-column: 1;
        grid-row: 3;
        min-height: 500px;
        margin-top: 45px;
    }

    .about-header,
    .about-text,
    .about-stats {
        grid-column: 1 !important;
    }

    .about-header { grid-row: 1 !important; }
    .about-text { grid-row: 2 !important; }
    .about-stats { grid-row: 4 !important; }

    .about-highlights {
        grid-column: 1 !important;
        grid-row: 5 !important;
    }
}

@media (max-width: 720px) {
    .about-inner::before {
        min-height: 380px;
        clip-path: none;
    }

    .about-stats {
        gap: 25px !important;
    }

    .about-highlights {
        gap: 28px !important;
    }
}

/* Quality section v2 — asymmetric visual dossier, intentionally unlike production flow. */
.certificates-section {
    background: #eee8de !important;
}

.certificates-section .section-header {
    display: grid !important;
    grid-template-columns: .8fr 1.2fr;
    gap: 7vw;
    align-items: end;
    max-width: none !important;
}

.certificates-section .section-header .section-label {
    grid-column: 1 / -1;
    margin-bottom: -24px !important;
}

.certificates-section .section-header h2 {
    margin: 0 !important;
}

.certificates-section .section-header p {
    max-width: 570px;
    margin: 0 0 7px !important;
}

.certificates-grid {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    grid-template-rows: 300px 250px !important;
    gap: 14px !important;
    counter-reset: none;
}

.cert-item,
.cert-item:first-child,
.cert-item:not(:first-child) {
    position: relative;
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    background: #d8d0c5 !important;
}

.cert-item::before,
.cert-item:not(:first-child)::before {
    display: none !important;
}

.cert-item:nth-child(1) {
    grid-column: 1 / 6 !important;
    grid-row: 1 / 3 !important;
}

.cert-item:nth-child(2) {
    grid-column: 6 / 10 !important;
    grid-row: 1 !important;
}

.cert-item:nth-child(3) {
    grid-column: 10 / 13 !important;
    grid-row: 1 !important;
}

.cert-item:nth-child(4) {
    grid-column: 6 / 9 !important;
    grid-row: 2 !important;
}

.cert-item:nth-child(5) {
    grid-column: 9 / 11 !important;
    grid-row: 2 !important;
}

.cert-item:nth-child(6) {
    grid-column: 11 / 13 !important;
    grid-row: 2 !important;
}

.cert-item .cert-img,
.cert-item:first-child .cert-img,
.cert-item:not(:first-child) .cert-img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    clip-path: none !important;
}

.cert-item .cert-img::after {
    content: "";
    position: absolute;
    inset: 32% 0 0;
    z-index: 1;
    background: linear-gradient(transparent, rgba(18,16,14,.78));
    pointer-events: none;
}

.cert-item .cert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}

.cert-item:hover .cert-img img {
    transform: scale(1.035);
    filter: saturate(1.06);
}

.cert-item h3,
.cert-item:first-child h3 {
    position: absolute;
    right: 20px;
    bottom: 22px;
    left: 20px;
    z-index: 3;
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--yl-serif) !important;
    font-size: clamp(17px, 1.7vw, 27px) !important;
    line-height: 1.08 !important;
    pointer-events: none;
}

.cert-item:first-child h3 {
    right: 35px;
    bottom: 56px;
    left: 35px;
    font-size: clamp(32px, 3.2vw, 50px) !important;
}

.cert-item p {
    display: none !important;
}

.cert-item:first-child p {
    position: absolute;
    right: 35px;
    bottom: 25px;
    left: 35px;
    z-index: 3;
    display: block !important;
    max-width: 480px;
    margin: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 11px !important;
    pointer-events: none;
}

.cert-zoom {
    z-index: 2;
    background: rgba(189,98,61,.18) !important;
}

.certificates-section::after {
    content: "CHECK / APPROVE";
}

@media (max-width: 1050px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: none !important;
    }

    .cert-item,
    .cert-item:nth-child(1),
    .cert-item:nth-child(2),
    .cert-item:nth-child(3),
    .cert-item:nth-child(4),
    .cert-item:nth-child(5),
    .cert-item:nth-child(6) {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 320px !important;
    }

    .cert-item:nth-child(1) {
        grid-column: 1 / 3 !important;
        height: 470px !important;
    }
}

@media (max-width: 720px) {
    .certificates-section .section-header {
        display: block !important;
    }

    .certificates-section .section-header .section-label {
        margin-bottom: 12px !important;
    }

    .certificates-section .section-header p {
        margin-top: 18px !important;
    }

    .certificates-grid {
        grid-template-columns: 1fr !important;
    }

    .cert-item,
    .cert-item:nth-child(1),
    .cert-item:nth-child(2),
    .cert-item:nth-child(3),
    .cert-item:nth-child(4),
    .cert-item:nth-child(5),
    .cert-item:nth-child(6) {
        grid-column: 1 !important;
        height: 310px !important;
    }
}
