/* ========================================================================
   Yipeng Shirt - Combined WordPress Additional CSS
   Includes: yipeng-additional.css + yipeng-home-color-scheme-sinosilk.css
   Paste this single file into: Appearance > Customize > Additional CSS
   Source files are preserved separately.
   ======================================================================== */

/* ========================================================================
   Yipeng Shirt - WordPress Additional CSS (complete version)
   Paste into: Appearance > Customize > Additional CSS
   Updated: 2026-09-04
   ======================================================================== */

:root {
    --yp-red: #b82028;
    --yp-ink: #292b2f;
    --yp-muted: #666a70;
    --yp-paper: #ffffff;
    --yp-soft: #f8f7f4;
    --yp-line: rgba(41, 43, 47, 0.12);
    --yp-product-image-bg: #f4f5f7;
    --yp-category-image-bg: #f5f5f3;
}

/* ------------------------------------------------------------------------
   1. Overall typography: smaller size, lighter weight, more whitespace
   ------------------------------------------------------------------------ */

body.home,
body.single-product {
    color: var(--yp-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

body.home h1,
body.home h2,
body.home h3,
body.single-product h1,
body.single-product h2,
body.single-product h3 {
    color: var(--yp-ink);
    font-weight: 500;
}

/* Top email and tagline */
body.home .header-top-email,
body.single-product .header-top-email {
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.015em;
}

body.home .site-tagline-text,
body.single-product .site-tagline-text {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.035em;
}

/* Navigation: 12-13px, lighter and more widely spaced */
body.home .site-header .main-nav a,
body.home .site-header .btn-nav-cta,
body:not(.home) .site-header .main-nav a,
body:not(.home) .site-header .btn-nav-cta,
body.single-product .site-header .main-nav a,
body.single-product .site-header .btn-nav-cta {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.09em;
}

/* Inner-page navigation matches the homepage header after scrolling. */
body:not(.home) .site-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body:not(.home) .site-header .header-main {
    background: rgba(255, 255, 255, 0.97);
}

/* Inner-page typography follows the homepage hierarchy. */
body:not(.home):not(.single-product) {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

body:not(.home):not(.single-product) main h1,
body:not(.home):not(.single-product) main h2 {
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.28 !important;
    letter-spacing: 0.005em !important;
}

body:not(.home):not(.single-product) main h3 {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.01em !important;
}

body:not(.home):not(.single-product) main .about-text > h3,
body:not(.home):not(.single-product) main .contact-info > h3 {
    font-size: 20px !important;
}

body:not(.home):not(.single-product) main p,
body:not(.home):not(.single-product) main li {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

body:not(.home):not(.single-product) main .product-card .card-body h3 {
    font-size: 15px !important;
}

body:not(.home):not(.single-product) main .faq-question {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

body:not(.home):not(.single-product) main .btn {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
}

body:not(.home):not(.single-product) main input,
body:not(.home):not(.single-product) main select,
body:not(.home):not(.single-product) main textarea {
    font-size: 14px !important;
}

/* Buttons */
body.home .btn,
body.single-product .btn {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Homepage section spacing */
body.home .section {
    padding-top: clamp(72px, 7.5vw, 108px);
    padding-bottom: clamp(72px, 7.5vw, 108px);
}

body.home .section-title {
    margin-bottom: clamp(34px, 4vw, 54px);
}

/*
 * Homepage module titles.
 * The strong selector and !important ensure that parent-theme heading rules
 * cannot restore the original large/bold appearance.
 */
body.home .section .section-title > h2,
body.home #inquiry h2,
body.home .brand-partnership h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.28 !important;
    letter-spacing: 0.005em !important;
}

body.home .section .section-title > p,
body.home #inquiry .section-title > p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    color: var(--yp-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    letter-spacing: 0.02em !important;
}

/* ------------------------------------------------------------------------
   2. Homepage hero: real-factory positioning and restrained copy
   The image URL/attachment ID is configured in functions.php.
   ------------------------------------------------------------------------ */

body.home .hero {
    background-position: center center;
    background-size: cover;
}

body.home .hero .hero-bg-overlay {
    background: linear-gradient(
        90deg,
        rgba(12, 19, 28, 0.68) 0%,
        rgba(12, 19, 28, 0.44) 46%,
        rgba(12, 19, 28, 0.14) 78%,
        rgba(12, 19, 28, 0.06) 100%
    );
}

body.home .hero .hero-left {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-width: 900px;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex: 0 1 900px;
    justify-self: start !important;
    align-self: center;
}

body.home .hero .hero-split-inner {
    position: relative;
    width: 100% !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: start !important;
    justify-items: start !important;
}

body.home .hero .hero-right {
    position: absolute;
    top: 50%;
    right: clamp(-84px, calc((1280px - 100vw) * 0.16), 0px);
    display: block !important;
    width: min(37%, 470px);
    aspect-ratio: 4 / 3;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.90) 0.55%, #000 1.25%, #000 98.75%, rgba(0, 0, 0, 0.90) 99.45%, transparent 100%),
        linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.90) 0.70%, #000 1.6%, #000 98.4%, rgba(0, 0, 0, 0.90) 99.3%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.90) 0.55%, #000 1.25%, #000 98.75%, rgba(0, 0, 0, 0.90) 99.45%, transparent 100%),
        linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.90) 0.70%, #000 1.6%, #000 98.4%, rgba(0, 0, 0, 0.90) 99.3%, transparent 100%);
    mask-composite: intersect;
    transform: translateY(-50%);
}

body.home .hero h1 {
    max-width: none;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.018em;
    white-space: nowrap;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

body.home .hero .hero-factory-desc {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.015em;
}

body.home .hero .btn-lg {
    width: auto;
    min-width: 0;
    padding: 14px 24px;
}

body.home .hero .hero-actions .btn {
    animation: yipeng-hero-button-float 2.4s ease-in-out infinite;
    will-change: transform;
}

body.home .hero .hero-actions .btn:hover,
body.home .hero .hero-actions .btn:focus-visible {
    animation-play-state: paused;
}

@keyframes yipeng-hero-button-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ------------------------------------------------------------------------
   3. Latest products: smaller image area and full collar visibility
   ------------------------------------------------------------------------ */

body.home #latest-products .product-card {
    overflow: hidden;
    background: var(--yp-paper);
}

body.home #latest-products .product-image-wrap {
    position: relative;
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    overflow: hidden;
    background: var(--yp-product-image-bg) !important;
    isolation: isolate;
}

body.home #latest-products .product-image-wrap a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

body.home #latest-products .product-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--yp-product-image-bg) !important;
    object-fit: contain !important;
    object-position: center top !important;
}

/* Override the theme's beige img[loading="lazy"] placeholder in this block. */
body.home #latest-products .product-image-wrap img[loading="lazy"] {
    background-color: var(--yp-product-image-bg) !important;
    background-image: none !important;
}

/*
 * All eight source images contain their own pale square canvas. Blend the
 * four canvas edges into the image-area background without adding a frame.
 */
body.home #latest-products .product-image-wrap::after {
    position: absolute;
    z-index: 2;
    inset: 16px;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.78) 3px,
            rgba(244, 245, 247, 0.38) 9px,
            rgba(244, 245, 247, 0.14) 16px,
            rgba(244, 245, 247, 0) 26px
        ) top / 100% 26px no-repeat,
        linear-gradient(
            to top,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.78) 3px,
            rgba(244, 245, 247, 0.38) 9px,
            rgba(244, 245, 247, 0.14) 16px,
            rgba(244, 245, 247, 0) 26px
        ) bottom / 100% 26px no-repeat,
        linear-gradient(
            to right,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.78) 3px,
            rgba(244, 245, 247, 0.38) 9px,
            rgba(244, 245, 247, 0.14) 16px,
            rgba(244, 245, 247, 0) 26px
        ) left / 26px 100% no-repeat,
        linear-gradient(
            to left,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.78) 3px,
            rgba(244, 245, 247, 0.38) 9px,
            rgba(244, 245, 247, 0.14) 16px,
            rgba(244, 245, 247, 0) 26px
        ) right / 26px 100% no-repeat;
}

/* Fabric close-ups fill the frame, so only soften the outermost seam. */
body.home #latest-products .product-card:nth-child(4) .product-image-wrap::after,
body.home #latest-products .product-card:nth-child(5) .product-image-wrap::after {
    background:
        linear-gradient(
            to bottom,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.42) 2px,
            rgba(244, 245, 247, 0.14) 5px,
            rgba(244, 245, 247, 0) 10px
        ) top / 100% 10px no-repeat,
        linear-gradient(
            to top,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.42) 2px,
            rgba(244, 245, 247, 0.14) 5px,
            rgba(244, 245, 247, 0) 10px
        ) bottom / 100% 10px no-repeat,
        linear-gradient(
            to right,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.42) 2px,
            rgba(244, 245, 247, 0.14) 5px,
            rgba(244, 245, 247, 0) 10px
        ) left / 10px 100% no-repeat,
        linear-gradient(
            to left,
            var(--yp-product-image-bg) 0,
            rgba(244, 245, 247, 0.42) 2px,
            rgba(244, 245, 247, 0.14) 5px,
            rgba(244, 245, 247, 0) 10px
        ) right / 10px 100% no-repeat;
}

body.home #latest-products .card-body {
    padding: 16px 16px 20px;
    text-align: center;
}

/* Product name: smaller and centered above View Details */
body.home #latest-products .card-body h3 {
    margin: 0 0 8px;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.025em;
    text-align: center !important;
}

body.home #latest-products .card-body h3 a {
    color: inherit;
}

body.home #latest-products .card-body > p {
    min-height: 0;
    margin: 0 0 14px;
    color: var(--yp-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

body.home #latest-products .card-body > p:empty {
    display: none;
}

body.home #latest-products .product-card-actions {
    display: flex;
    justify-content: center;
}

body.home #latest-products .product-card-actions .btn {
    display: inline-flex;
    width: auto;
    min-width: 142px;
    min-height: 40px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
}

/* ------------------------------------------------------------------------
   4. Product categories: reduce image size and avoid cropping collars
   ------------------------------------------------------------------------ */

body.home #categories .category-card {
    background: var(--yp-paper);
}

body.home #categories .category-image {
    position: relative;
    box-sizing: border-box;
    height: 240px;
    padding: 0;
    overflow: hidden;
    background: var(--yp-category-image-bg) !important;
    isolation: isolate;
}

body.home #categories .category-image img {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent !important;
    object-fit: contain !important;
    object-position: center center !important;
    box-shadow: none !important;
    mix-blend-mode: multiply;
}

/* Override the theme's beige lazy-load background for category images. */
body.home #categories .category-image img[loading="lazy"] {
    background-color: transparent !important;
    background-image: none !important;
}

/*
 * The first four portrait source files have a visible right-hand photo edge.
 * Blend only that edge into the image-block background without washing out
 * the product or adding another visible frame.
 */
body.home #categories .category-card:nth-child(-n+4) .category-image::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: calc(50% + 57px);
    width: 42px;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(245, 245, 243, 0) 0%,
        rgba(245, 245, 243, 0.12) 20%,
        rgba(245, 245, 243, 0.55) 42%,
        rgba(245, 245, 243, 0.86) 55%,
        var(--yp-category-image-bg) 66%,
        var(--yp-category-image-bg) 100%
    );
}

/*
 * Cards 5, 7 and 8 use 3:2 landscape images. Their contained images leave
 * space above and below, so blend those two horizontal photo edges.
 */
body.home #categories .category-card:nth-child(5) .category-image::before,
body.home #categories .category-card:nth-child(7) .category-image::before,
body.home #categories .category-card:nth-child(8) .category-image::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            var(--yp-category-image-bg) 0,
            var(--yp-category-image-bg) 8px,
            rgba(245, 245, 243, 0.96) 20px,
            rgba(245, 245, 243, 0.72) 26px,
            rgba(245, 245, 243, 0.28) 33px,
            rgba(245, 245, 243, 0) 42px
        ) top / 100% 42px no-repeat,
        linear-gradient(
            to top,
            var(--yp-category-image-bg) 0,
            var(--yp-category-image-bg) 8px,
            rgba(245, 245, 243, 0.96) 20px,
            rgba(245, 245, 243, 0.72) 26px,
            rgba(245, 245, 243, 0.28) 33px,
            rgba(245, 245, 243, 0) 42px
        ) bottom / 100% 42px no-repeat;
}

/* Card 6 is square and leaves space on the left and right. */
body.home #categories .category-card:nth-child(6) .category-image::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            var(--yp-category-image-bg) 0,
            var(--yp-category-image-bg) 6px,
            rgba(245, 245, 243, 0.94) 18px,
            rgba(245, 245, 243, 0.72) 23px,
            rgba(245, 245, 243, 0.28) 31px,
            rgba(245, 245, 243, 0) 40px
        ) left / 40px 100% no-repeat,
        linear-gradient(
            to left,
            var(--yp-category-image-bg) 0,
            var(--yp-category-image-bg) 6px,
            rgba(245, 245, 243, 0.94) 18px,
            rgba(245, 245, 243, 0.72) 23px,
            rgba(245, 245, 243, 0.28) 31px,
            rgba(245, 245, 243, 0) 40px
        ) right / 40px 100% no-repeat;
}

body.home #categories .category-info {
    padding: 15px 16px 18px;
    text-align: center;
}

body.home #categories .category-info h3 {
    margin: 0;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em;
    text-align: center !important;
}

/* ------------------------------------------------------------------------
   Factory gallery: editorial mosaic layout inspired by the reference site
   ------------------------------------------------------------------------ */

body.home #capabilities .capabilities-grid--images-only {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 220px) !important;
    grid-auto-flow: dense;
    gap: 8px !important;
}

body.home #capabilities .capabilities-grid--images-only > .capability-card {
    width: auto !important;
    min-width: 0;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    overflow: hidden;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.home #capabilities .capabilities-grid--images-only > .capability-card img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    border-radius: 0 !important;
    transition: transform 420ms ease;
}

body.home #capabilities .capabilities-grid--images-only > .capability-card:hover img {
    transform: scale(1.018);
}

/* The first factory photo is only 600x450; keep it crisp in the tall crop. */
body.home #capabilities .capability-card:nth-child(1) img {
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.07) saturate(1.025);
    backface-visibility: hidden;
}

body.home #capabilities .capability-card:nth-child(1):hover img {
    transform: none;
}

/* Eight images condensed into a two-row editorial mosaic. */
body.home #capabilities .capability-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

body.home #capabilities .capability-card:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
}

body.home #capabilities .capability-card:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
}

body.home #capabilities .capability-card:nth-child(4) {
    grid-column: 5;
    grid-row: 1;
}

body.home #capabilities .capability-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

body.home #capabilities .capability-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

body.home #capabilities .capability-card:nth-child(7) {
    grid-column: 4;
    grid-row: 2;
}

body.home #capabilities .capability-card:nth-child(8) {
    grid-column: 5;
    grid-row: 2;
}

/* Why Choose Us copy */
body.home #advantages h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.015em;
}

body.home #advantages p {
    color: var(--yp-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Factory statistics banner: image subject on the left, data on the right. */
body.home #advantages .stats-row {
    position: relative;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 340px;
    margin-top: clamp(52px, 6vw, 82px);
    padding: 56px 5% 56px 50%;
    align-items: center;
    gap: 28px 34px;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(4, 22, 38, 0.16) 0%,
            rgba(4, 22, 38, 0.38) 42%,
            rgba(4, 22, 38, 0.78) 65%,
            rgba(4, 22, 38, 0.90) 100%
        ),
        url("https://yipengshirt.com/wp-content/uploads/2026/09/%E8%83%8C%E6%99%AF%E5%9B%BE2-8.8.png") !important;
    background-position: center center, center 56% !important;
    background-size: cover, cover !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0;
}

body.home #advantages .stats-row .stat-item {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0;
    color: #ffffff !important;
    text-align: left;
}

body.home #advantages .stats-row .number {
    display: block;
    margin-bottom: 7px;
    color: #efb7a3 !important;
    font-size: clamp(31px, 3vw, 43px) !important;
    font-weight: 600;
    line-height: 1.05;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.20);
}

body.home #advantages .stats-row .label {
    display: block;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px;
    line-height: 1.45;
}

/* ------------------------------------------------------------------------
   5. Brand Partnership section (HTML is inserted by functions.php)
   ------------------------------------------------------------------------ */

body.home .brand-partnership {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid var(--yp-line);
    border-bottom: 1px solid var(--yp-line);
}

body.home .brand-partnership__inner {
    text-align: center;
}

body.home .brand-partnership h2 {
    max-width: 760px;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 10px !important;
    font-size: clamp(30px, 2.45vw, 38px) !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
}

body.home .brand-partnership__subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--yp-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

body.home .brand-partnership__carousel {
    position: relative;
    margin-top: clamp(38px, 5vw, 62px);
    padding: 0 46px;
}

body.home .brand-partnership__viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 90px) / 6);
    gap: 18px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

body.home .brand-partnership__viewport::-webkit-scrollbar {
    display: none;
}

body.home .brand-partnership__logo {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 112px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    scroll-snap-align: start;
}

body.home a.brand-partnership__logo {
    text-decoration: none;
}

body.home .brand-partnership__logo img {
    display: block;
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 90px;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

body.home .brand-partnership__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    width: 36px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--yp-ink);
    background: transparent;
    border: 0;
    border-radius: 50%;
    font: inherit;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

body.home .brand-partnership__arrow--prev {
    left: 0;
}

body.home .brand-partnership__arrow--next {
    right: 0;
}

body.home .brand-partnership__arrow:hover,
body.home .brand-partnership__arrow:focus-visible {
    color: var(--yp-red);
    background: rgba(184, 32, 40, 0.07);
    outline: none;
}

body.home .brand-partnership__arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

body.home .brand-partnership__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* When all logos fit on one screen, center them and hide unnecessary arrows. */
body.home .brand-partnership__carousel--static {
    padding-right: 0;
    padding-left: 0;
}

body.home .brand-partnership__carousel--static .brand-partnership__viewport {
    display: flex;
    justify-content: center;
    overflow: visible;
}

body.home .brand-partnership__carousel--static .brand-partnership__logo {
    flex: 0 1 240px;
    max-width: 280px;
}

body.home .brand-partnership__carousel--static .brand-partnership__arrow {
    display: none;
}

/* ------------------------------------------------------------------------
   6. Product detail page: restrained title and body copy
   ------------------------------------------------------------------------ */

body.single-product .breadcrumb,
body.single-product .product-hero-info .back-link {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.025em;
}

body.single-product .product-hero-info h1 {
    margin-bottom: 10px !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.005em !important;
}

body.single-product .product-excerpt,
body.single-product .product-excerpt p {
    color: var(--yp-muted);
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.7;
}

body.single-product .product-description h3 {
    margin-bottom: 12px;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

body.single-product .product-content,
body.single-product .product-content p,
body.single-product .product-content li {
    color: #4d5055;
    font-size: 13.5px !important;
    font-weight: 400;
    line-height: 1.75;
}

body.single-product .product-content h2 {
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1.3;
}

body.single-product .product-content h3 {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

body.single-product .section .section-title > h2 {
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

body.single-product .product-hero-info .btn,
body.single-product .product-detail-grid .btn {
    font-size: 12px !important;
}

/* Desktop gallery: four portrait thumbnails + one large portrait image */
@media (min-width: 1025px) {
    body.single-product .product-hero-inner {
        grid-template-columns: minmax(0, 690px) minmax(320px, 1fr) !important;
        gap: 60px !important;
        align-items: start !important;
    }

    body.single-product .product-hero-image {
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    body.single-product .product-gallery.has-multiple {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
        align-items: start !important;
        gap: 14px !important;
        width: 100% !important;
        height: auto !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-main {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-main > img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumbs-wrap {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumbs {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumb {
        display: block;
        width: 82px !important;
        height: 103px !important;
        aspect-ratio: 4 / 5 !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        object-fit: cover !important;
        cursor: pointer;
        opacity: 0.72;
        transition: opacity 160ms ease, border-color 160ms ease;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumb:hover,
    body.single-product .product-gallery.has-multiple .gallery-thumb.active {
        opacity: 1;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumb.active {
        border-bottom-color: var(--yp-red) !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    body.single-product .product-gallery.has-multiple .gallery-thumb:nth-child(n+5) {
        display: none !important;
    }

    body.single-product .product-gallery.has-multiple .thumbs-nav,
    body.single-product .product-gallery.has-multiple .gallery-dots {
        display: none !important;
    }
}

/* Related product names on a product detail page */
body.single-product .product-card .card-body h3 {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    text-align: center;
}

/* Footer typography */
body.home .site-footer h3,
body.single-product .site-footer h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

body.home .site-footer p,
body.home .site-footer li,
body.single-product .site-footer p,
body.single-product .site-footer li {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.75;
}

/* ------------------------------------------------------------------------
   Products archive - four-column flat product wall
   ------------------------------------------------------------------------ */

body.page-id-8 .products-archive > .container {
    width: 100% !important;
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.page-id-8 .products-archive .section-title {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}

body.page-id-8 .products-archive .products-main {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 36px 4px !important;
}

body.page-id-8 .products-archive .product-card {
    display: flex;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.page-id-8 .products-archive .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.page-id-8 .products-archive .product-image-wrap {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #f5f5f3 !important;
}

body.page-id-8 .products-archive .product-image-wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.35s ease !important;
}

body.page-id-8 .products-archive .product-card:hover .product-image-wrap img {
    transform: scale(1.02) !important;
}

body.page-id-8 .products-archive .product-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 14px 6px 24px !important;
    background: transparent !important;
    text-align: left !important;
}

body.page-id-8 .products-archive .product-card .card-body h3 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.page-id-8 .products-archive .product-card .card-body p {
    margin: 0 0 2px !important;
    font-size: 13px !important;
    color: #74716c !important;
}

body.page-id-8 .products-archive .product-card .btn-inquire {
    margin-top: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

@media (min-width: 768px) {
    body.page-id-8 .products-archive .products-layout {
        display: block !important;
    }

    body.page-id-8 .products-archive .products-sidebar {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        width: 100% !important;
        margin: 0 0 28px !important;
    }

    body.page-id-8 .products-archive .products-sidebar > .sidebar-toggle {
        display: none !important;
    }

    body.page-id-8 .products-archive .category-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 20px 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    body.page-id-8 .products-archive .category-nav:hover {
        scrollbar-color: #c9c4bf transparent;
    }

    body.page-id-8 .products-archive .category-nav::-webkit-scrollbar {
        height: 6px;
    }

    body.page-id-8 .products-archive .category-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    body.page-id-8 .products-archive .category-nav::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: transparent;
    }

    body.page-id-8 .products-archive .category-nav:hover::-webkit-scrollbar-thumb {
        background: #c9c4bf;
    }

    body.page-id-8 .products-archive .category-nav > li {
        position: relative !important;
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
        margin: 0 !important;
    }

    body.page-id-8 .products-archive .category-nav > li > .filter-btn {
        width: auto !important;
        min-width: 0 !important;
        padding: 9px 16px !important;
        border: 1px solid #dedad3 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #333 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body.page-id-8 .products-archive .category-nav > li > .filter-btn:hover,
    body.page-id-8 .products-archive .category-nav > li > .filter-btn.active {
        border-color: #bd2026 !important;
        background: #bd2026 !important;
        color: #fff !important;
    }

    body.page-id-8 .products-archive .category-nav-children {
        position: static !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.page-id-8 .products-archive .category-nav-children.expanded {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body.page-id-8 .products-archive .category-nav-children > li {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    body.page-id-8 .products-archive .category-nav-children .filter-btn {
        width: auto !important;
        border-radius: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }
}

/* ------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */

@media (max-width: 1024px) {
    body.page-id-8 .products-archive .products-main {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.home .hero .hero-right {
        display: none !important;
    }

    body.home #advantages .stats-row {
        padding-right: 4%;
        padding-left: 43%;
        gap: 24px;
    }

    body.home #capabilities .capabilities-grid--images-only {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        grid-auto-rows: 220px !important;
        gap: 10px !important;
    }

    body.home #capabilities .capabilities-grid--images-only > .capability-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.home .brand-partnership__viewport {
        grid-auto-columns: calc((100% - 32px) / 3);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    body.page-id-8 .products-archive .products-main {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 8px !important;
    }

    body.page-id-8 .products-archive .product-card .card-body {
        min-height: 0 !important;
        padding: 12px 3px 20px !important;
    }

    body.home,
    body.single-product {
        font-size: 14.5px;
    }

    body:not(.home):not(.single-product) {
        font-size: 14.5px;
    }

    body:not(.home):not(.single-product) main h1,
    body:not(.home):not(.single-product) main h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    body:not(.home):not(.single-product) main h3 {
        font-size: 15px !important;
    }

    body:not(.home):not(.single-product) main .about-text > h3,
    body:not(.home):not(.single-product) main .contact-info > h3 {
        font-size: 18px !important;
    }

    body:not(.home):not(.single-product) main p,
    body:not(.home):not(.single-product) main li {
        font-size: 13.5px !important;
    }

    body:not(.home):not(.single-product) main .faq-question {
        font-size: 14.5px !important;
    }

    body.single-product .product-hero-info h1 {
        font-size: 22px !important;
    }

    body.single-product .section .section-title > h2 {
        font-size: 23px !important;
    }

    body.home .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    body.home .section-title {
        margin-bottom: 30px;
    }

    body.home .section .section-title > h2,
    body.home #inquiry h2,
    body.home .brand-partnership h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    body.home .brand-partnership__subtitle {
        font-size: 13.5px;
        line-height: 1.55;
    }

    body.home .section .section-title > p,
    body.home #inquiry .section-title > p {
        font-size: 13.5px !important;
    }

    body.home .hero h1 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.14;
        white-space: normal;
    }

    body.home .hero .hero-factory-desc {
        font-size: 14px;
        line-height: 1.72;
    }

    body.home #categories .category-image {
        height: 220px;
    }

    body.home #advantages .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 450px;
        padding: 228px 20px 34px;
        gap: 22px 16px;
        background-image:
            linear-gradient(
                180deg,
                rgba(4, 22, 38, 0.12) 0%,
                rgba(4, 22, 38, 0.30) 42%,
                rgba(4, 22, 38, 0.88) 68%,
                rgba(4, 22, 38, 0.94) 100%
            ),
            url("https://yipengshirt.com/wp-content/uploads/2026/09/%E8%83%8C%E6%99%AF%E5%9B%BE2-8.8.png") !important;
        background-position: center center, 34% center !important;
    }

    body.home #advantages .stats-row .stat-item {
        text-align: center;
    }

    body.home #advantages .stats-row .number {
        font-size: 29px !important;
    }

    body.home #advantages .stats-row .label {
        font-size: 12.5px;
    }

    body.home #capabilities .capabilities-grid--images-only {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 8px !important;
    }

    body.home #capabilities .capabilities-grid--images-only > .capability-card {
        aspect-ratio: 4 / 3;
    }

    body.home #categories .category-card:nth-child(-n+4) .category-image::after {
        left: calc(50% + 52px);
        width: 38px;
    }

    body.home .brand-partnership__carousel {
        padding-right: 34px;
        padding-left: 34px;
    }

    body.home .brand-partnership__viewport {
        grid-auto-columns: calc((100% - 12px) / 2);
        gap: 12px;
    }

    body.home .brand-partnership__logo {
        min-height: 96px;
        padding: 8px;
    }

    body.home .brand-partnership__logo img {
        max-width: 96%;
        max-height: 78px;
    }

    body.home .brand-partnership__carousel--static .brand-partnership__logo {
        flex-basis: calc((100% - 12px) / 2);
        max-width: none;
    }

    body.home .brand-partnership__arrow {
        width: 30px;
        height: 40px;
    }

    body.single-product .product-hero-info h1 {
        font-size: 24px !important;
    }

    body.single-product .product-content h2 {
        font-size: 23px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .hero .hero-actions .btn {
        animation: none;
        will-change: auto;
    }

    body.home .brand-partnership__viewport {
        scroll-behavior: auto;
    }

    body.home .brand-partnership__arrow {
        transition: none;
    }
}

/* ========================================================================
   SINO SILK COLOR-SCHEME OVERRIDES
   Kept last so the approved palette overrides the base styles.
   ======================================================================== */

/* ========================================================================
   Yipeng Shirt - Sino Silk inspired homepage palette
   Remove the previous color-scheme override, then paste this at the end.
   Updated: 2026-09-04
   ======================================================================== */

:root {
    --yp-red: #b82028;
    --yp-sino-bg: #faf6f5;
    --yp-sino-paper: #ffffff;
    --yp-sino-ink: #111111;
    --yp-sino-text: #4c4c4c;
    --yp-sino-muted: #74706f;
    --yp-sino-accent: #daa897;
    --yp-sino-line: #e5dedb;
    --yp-sino-footer: #292625;

    /* Keep these matched to the existing product photography. */
    --yp-product-image-bg: #f4f5f7;
    --yp-category-image-bg: #f5f5f3;
}

/* Base */
body.home {
    color: var(--yp-sino-text) !important;
    background: var(--yp-sino-paper) !important;
}

body.home h1,
body.home h2,
body.home h3,
body.home h4 {
    color: var(--yp-sino-ink);
}

body.home .section-title > p,
body.home #latest-products .section-title > p,
body.home #categories .section-title > p,
body.home #advantages .section-title > p,
body.home #capabilities .section-title > p,
body.home #industry-certs .section-title > p {
    color: var(--yp-sino-muted) !important;
}

/* Hero: keep the white typography, but use a softer neutral overlay. */
body.home .hero .hero-bg-overlay {
    background: linear-gradient(
        90deg,
        rgba(25, 22, 21, 0.52) 0%,
        rgba(25, 22, 21, 0.32) 44%,
        rgba(25, 22, 21, 0.10) 74%,
        rgba(25, 22, 21, 0.03) 100%
    ) !important;
}

body.home .hero h1,
body.home .hero h2,
body.home .hero p {
    color: #ffffff !important;
}

/* Sino Silk-style white hero CTA. */
body.home .hero .btn-primary,
.site-header .btn-nav-cta {
    color: var(--yp-sino-ink) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #ffffff !important;
}

body.home .hero .btn-primary:hover,
body.home .hero .btn-primary:focus-visible,
.site-header .btn-nav-cta:hover,
.site-header .btn-nav-cta:focus-visible {
    color: #ffffff !important;
    background: var(--yp-sino-ink) !important;
    border-color: var(--yp-sino-ink) !important;
}

/* Keep Contact Sales readable against the white navigation button. */
html body #siteHeader .header-main .main-nav .btn-nav-cta {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

html body #siteHeader .header-main .main-nav .btn-nav-cta:hover,
html body #siteHeader .header-main .main-nav .btn-nav-cta:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Pale blush and white section rhythm, matching the reference direction. */
body.home #latest-products {
    background: var(--yp-sino-bg) !important;
}

body.home #categories {
    background: var(--yp-sino-paper) !important;
}

body.home #advantages {
    background: var(--yp-sino-bg) !important;
}

body.home #capabilities {
    background: var(--yp-sino-paper) !important;
}

body.home #industry-certs {
    background: var(--yp-sino-bg) !important;
}

body.home #brand-partnership {
    background: var(--yp-sino-paper) !important;
    border-color: var(--yp-sino-line) !important;
}

body.home #inquiry {
    color: var(--yp-sino-text) !important;
    background: var(--yp-sino-bg) !important;
}

/* Light, clean cards instead of strong boxed shadows. */
body.home #latest-products .product-card,
body.home #categories .category-card,
body.home #advantages .feature-item,
body.home #capabilities .capability-card,
body.home #inquiry .inquiry-form-wrap {
    background: var(--yp-sino-paper) !important;
    border-color: var(--yp-sino-line) !important;
    box-shadow: 0 7px 22px rgba(17, 17, 17, 0.055) !important;
}

body.home #latest-products .product-card:hover,
body.home #categories .category-card:hover,
body.home #advantages .feature-item:hover,
body.home #capabilities .capability-card:hover {
    box-shadow: 0 11px 28px rgba(17, 17, 17, 0.085) !important;
}

/* Peach is used only for small decorative details. */
body.home #advantages .feature-icon,
body.home #advantages .number,
body.home .brand-partnership__arrow:hover,
body.home .brand-partnership__arrow:focus-visible {
    color: var(--yp-sino-accent) !important;
}

body.home #advantages .feature-icon {
    background: rgba(218, 168, 151, 0.16) !important;
}

/* Interior buttons: simple black/white treatment. */
body.home .btn-primary {
    color: #ffffff !important;
    background: var(--yp-sino-ink) !important;
    border-color: var(--yp-sino-ink) !important;
}

body.home .btn-primary:hover,
body.home .btn-primary:focus-visible {
    color: var(--yp-sino-ink) !important;
    background: var(--yp-sino-paper) !important;
    border-color: var(--yp-sino-ink) !important;
}

/* Product and catalog buttons are outlined like the reference site. */
body.home #latest-products .btn-primary,
body.home #categories .btn-primary,
body.home .btn-outline {
    color: var(--yp-sino-ink) !important;
    background: transparent !important;
    border-color: #666666 !important;
}

body.home #latest-products .btn-primary:hover,
body.home #latest-products .btn-primary:focus-visible,
body.home #categories .btn-primary:hover,
body.home #categories .btn-primary:focus-visible,
body.home .btn-outline:hover,
body.home .btn-outline:focus-visible {
    color: #ffffff !important;
    background: var(--yp-sino-ink) !important;
    border-color: var(--yp-sino-ink) !important;
}

body.home .btn:focus-visible,
body.home a:focus-visible,
body.home button:focus-visible {
    outline: 3px solid rgba(218, 168, 151, 0.42);
    outline-offset: 3px;
}

/* Inquiry returns to a light two-column composition. */
body.home #inquiry .inquiry-info,
body.home #inquiry .inquiry-info h2,
body.home #inquiry .inquiry-info h3 {
    color: var(--yp-sino-ink) !important;
}

body.home #inquiry .inquiry-info p,
body.home #inquiry .inquiry-info li,
body.home #inquiry .inquiry-info a {
    color: var(--yp-sino-text) !important;
}

body.home #inquiry .inquiry-info a:hover {
    color: var(--yp-red) !important;
}

body.home #inquiry .inquiry-form-wrap,
body.home #inquiry .inquiry-form-wrap h2,
body.home #inquiry .inquiry-form-wrap h3,
body.home #inquiry .inquiry-form-wrap label {
    color: var(--yp-sino-ink) !important;
}

body.home #inquiry input,
body.home #inquiry select,
body.home #inquiry textarea {
    color: var(--yp-sino-ink) !important;
    background: #ffffff !important;
    border-color: #d8d1ce !important;
}

body.home #inquiry input:focus,
body.home #inquiry select:focus,
body.home #inquiry textarea:focus {
    border-color: var(--yp-sino-accent) !important;
    box-shadow: 0 0 0 3px rgba(218, 168, 151, 0.17) !important;
    outline: none;
}

body.home #inquiry .btn-primary {
    color: #ffffff !important;
    background: var(--yp-sino-ink) !important;
    border-color: var(--yp-sino-ink) !important;
}

body.home #inquiry .btn-primary:hover,
body.home #inquiry .btn-primary:focus-visible {
    color: var(--yp-sino-ink) !important;
    background: #ffffff !important;
}

/* Logo carousel remains unboxed. */
body.home .brand-partnership__logo {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.home .brand-partnership__arrow {
    color: var(--yp-sino-text) !important;
}

body.home .brand-partnership__arrow:hover,
body.home .brand-partnership__arrow:focus-visible {
    background: rgba(218, 168, 151, 0.12) !important;
}

/* Dark neutral footer; red is intentionally not used as a large color block. */
body.home .site-footer {
    color: #d0ccca !important;
    background: var(--yp-sino-footer) !important;
    border-top: 0 !important;
}

body.home .site-footer h2,
body.home .site-footer h3,
body.home .site-footer .footer-company-name {
    color: #ffffff !important;
}

body.home .site-footer p,
body.home .site-footer li,
body.home .site-footer .footer-tagline,
body.home .site-footer .footer-desc,
body.home .site-footer .footer-bottom {
    color: #c7c2c0 !important;
}

body.home .site-footer a {
    color: #e6e2e0 !important;
}

body.home .site-footer a:hover,
body.home .site-footer a:focus-visible {
    color: var(--yp-sino-accent) !important;
}

body.home .site-footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.13) !important;
}

@media (max-width: 767px) {
    body.home #inquiry {
        background: var(--yp-sino-bg) !important;
    }
}
