.yard-hero {
    color: #fff;
    overflow: hidden;
}

.yard-hero-slide {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
    background-color: #27272a;
    background-position: center;
    background-size: cover;
}

.yard-hero-slide-one {
    background-image: linear-gradient(90deg, rgba(24, 24, 27, .98), rgba(24, 24, 27, .48)), url('/assets/web/images/slider/bg2-1.png');
}

.yard-hero-slide-two {
    background-image: linear-gradient(90deg, rgba(24, 24, 27, .98), rgba(24, 24, 27, .55)), url('/assets/web/images/slider/bg2-2.png');
}

.yard-hero-slide-three {
    background-image: linear-gradient(90deg, rgba(24, 24, 27, .98), rgba(24, 24, 27, .55)), url('/assets/web/images/slider/bg2-3.png');
}

.yard-hero-copy {
    width: min(720px, 100%);
}

.yard-hero-copy > span,
.yard-section-heading span,
.yard-contact-copy > span {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: none;
}

.yard-hero-copy h1,
.yard-hero-copy h2 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    font-weight: 650;
    text-transform: none;
}

.yard-hero-copy p {
    max-width: 650px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
    line-height: 1.65;
}

.yard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.yard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #18181b;
    font-weight: 650;
    transition: .2s ease;
}

.yard-button:hover {
    transform: translateY(-2px);
    background: #f4f4f5;
}

.yard-button-light {
    background: transparent;
    color: #fff;
}

.yard-hero .swiper-pagination-bullet {
    background: #fff;
}

.yard-section {
    padding: 90px 0;
}

.yard-products-section {
    background: #f4f4f5;
}

.yard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.yard-section-heading span {
    margin-bottom: 8px;
    color: #71717a;
}

.yard-section-heading h2,
.yard-contact-copy h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 650;
    text-transform: none;
}

.yard-section-heading > a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
}

.yard-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.yard-category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e4e4e7;
    border-radius: 20px;
    background: #fff;
    transition: .2s ease;
}

.yard-category-card:hover {
    transform: translateY(-3px);
    border-color: #a1a1aa;
    box-shadow: 0 18px 40px rgba(24, 24, 27, .08);
}

.yard-category-image {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
}

.yard-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yard-category-card > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.yard-category-card strong {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
}

.yard-category-card small {
    margin-top: 5px;
    color: #71717a;
}

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

.yard-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: #fff;
    transition: .2s ease;
}

.yard-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(24, 24, 27, .09);
}

.yard-product-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
}

.yard-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

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

.yard-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.yard-product-category {
    color: #71717a;
    font-size: 13px;
}

.yard-product-content h3 {
    min-height: 56px;
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 650;
    text-transform: none;
}

.yard-product-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e4e4e7;
}

.yard-product-bottom > a {
    color: #52525b;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.slider-block.style-nine {
    margin-top: 74px;
}

.yard-list-cta {
    padding: 28px 0 12px;
    background: #fff;
}

.yard-list-cta-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: linear-gradient(125deg, #fafafa 0%, #f4f4f5 68%, #d4d4d8 160%);
}

.yard-list-cta-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #27272a;
    color: #fff;
    font-size: 30px;
}

.yard-list-cta-card > div > span,
.yard-request-intro > span {
    color: #71717a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

.yard-list-cta-card h2 {
    margin-top: 4px;
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 650;
    text-transform: none;
}

.yard-list-cta-card p {
    max-width: 760px;
    margin-top: 7px;
    color: #52525b;
    line-height: 1.55;
}

.slider-block.style-nine .button-main:hover {
    border-color: #f4bd82 !important;
    background: #f4bd82 !important;
    color: #27272a !important;
}

.yard-catalog-results .yard-cart-button {
    width: 40px;
    justify-content: center;
    padding: 0;
}

.yard-catalog-results .yard-cart-button span {
    display: none;
}

.yard-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yard-cart-button,
.yard-favorite-button {
    min-height: 40px;
    border: 1px solid #27272a;
    border-radius: 999px;
    background: #27272a;
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.yard-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    font-weight: 650;
}

.yard-favorite-button {
    width: 40px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #27272a;
    font-size: 19px;
}

.yard-cart-button:hover,
.yard-favorite-button:hover,
.yard-favorite-button.active {
    background: #fff;
    color: #27272a;
}

.yard-remove-button {
    padding: 8px 12px;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    background: #fff;
    color: #52525b;
    cursor: pointer;
}

.yard-remove-button:hover {
    border-color: #27272a;
    color: #27272a;
}

.yard-contact {
    padding: 90px 0;
    background: #27272a;
    color: #fff;
}

.yard-contact .container {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.yard-contact-copy p {
    max-width: 650px;
    margin: 22px 0 30px;
    color: #d4d4d8;
    font-size: 17px;
    line-height: 1.7;
}

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

.yard-contact-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
}

.yard-contact-list i {
    font-size: 26px;
}

.yard-contact-list span {
    display: flex;
    flex-direction: column;
    color: #a1a1aa;
    font-size: 13px;
}

.yard-contact-list strong {
    margin-top: 3px;
    color: #fff;
    font-size: 16px;
}

.yard-empty {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px dashed #d4d4d8;
    border-radius: 20px;
    color: #71717a;
    text-align: center;
}

.yard-empty .info-button { margin-top: 20px; }
[data-store-action="cart"].active,
[data-store-action="cart"].active:hover { background: #e4e4e7; color: #27272a; border-color: #d4d4d8; }

.yard-product-page {
    padding: 70px 0 90px;
    background: #fafafa;
}

.yard-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 54px;
    align-items: start;
}

.yard-product-main-image {
    position: relative;
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: #fff;
    cursor: zoom-in;
}

.yard-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yard-product-main-image > span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(39, 39, 42, .88);
    color: #fff;
    font-size: 13px;
}

.yard-product-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.yard-product-thumbs button {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #fff;
    cursor: zoom-in;
}

.yard-product-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yard-gallery-modal[hidden] {
    display: none;
}

.yard-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.yard-gallery-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(9, 9, 11, .86);
}

.yard-gallery-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    height: min(820px, calc(100vh - 48px));
    display: grid;
    place-items: center;
    padding: 28px 72px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}

.yard-gallery-dialog > img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.yard-gallery-close,
.yard-gallery-nav {
    position: absolute;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    background: #fff;
    color: #27272a;
    cursor: pointer;
    font-size: 21px;
}

.yard-gallery-close { top: 16px; right: 16px; }
.yard-gallery-nav { top: 50%; transform: translateY(-50%); }
.yard-gallery-nav.prev { left: 14px; }
.yard-gallery-nav.next { right: 14px; }
.yard-gallery-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f4f5;
    color: #52525b;
    font-size: 12px;
}

body.yard-gallery-open { overflow: hidden; }

.yard-request-page {
    padding: 64px 0 100px;
    background: #fafafa;
}

.yard-request-page .container {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
    gap: 70px;
    align-items: start;
}

.yard-request-intro h1 {
    margin-top: 12px;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 650;
    line-height: 1.05;
    text-transform: none;
}

.yard-request-intro > p {
    margin-top: 22px;
    color: #52525b;
    font-size: 17px;
    line-height: 1.7;
}

.yard-request-benefits {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.yard-request-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.yard-request-benefits i { color: #4d7c5b; font-size: 22px; }

.yard-request-form {
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(24, 24, 27, .06);
}

.yard-request-form-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.yard-request-form-heading > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f4f4f5;
    font-size: 25px;
}

.yard-request-form-heading h2 { font-size: 24px; font-weight: 650; text-transform: none; }
.yard-request-form-heading p { color: #71717a; font-size: 13px; }
.yard-request-form label { display: grid; gap: 7px; color: #3f3f46; font-size: 13px; font-weight: 650; }
.yard-request-form input,
.yard-request-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 11px;
    background: #fff;
    color: #18181b;
    font: inherit;
    font-weight: 400;
    outline: none;
}
.yard-request-form input:focus,
.yard-request-form textarea:focus { border-color: #71717a; box-shadow: 0 0 0 3px rgba(113, 113, 122, .12); }
.yard-request-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yard-file-placeholder {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px dashed #a1a1aa;
    border-radius: 13px;
    background: #fafafa;
    color: #71717a;
}
.yard-file-placeholder > .material-symbols-rounded { font-size: 28px; }
.yard-file-placeholder div { flex: 1; }
.yard-file-placeholder strong { display: block; color: #3f3f46; }
.yard-file-placeholder p { margin-top: 3px; font-size: 12px; line-height: 1.45; }
.yard-file-placeholder > span:last-child { padding: 5px 8px; border-radius: 999px; background: #e4e4e7; font-size: 11px; }
.yard-file-upload { cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.yard-file-upload:hover { border-color: #a1a1aa; background: #fff; }
.yard-file-upload > input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.yard-file-upload.has-files { border-style: solid; border-color: #71717a; background: #fff; }
.yard-upload-toast { position: fixed; z-index: 10000; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 17px; border-radius: 12px; background: #27272a; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(24,24,27,.22); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.yard-upload-toast.show { opacity: 1; transform: translateY(0); }
.yard-upload-toast.error { background: #b91c1c; }
.yard-request-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; line-height: 1.5; }
.yard-request-consent input { width: 16px; margin-top: 2px; box-shadow: none; }
.yard-request-consent a { text-decoration: underline; text-underline-offset: 3px; }
.yard-request-form > .yard-button { justify-self: start; }
.yard-request-result { min-height: 20px; color: #3f7650; font-size: 13px; }
.yard-request-result.error { color: #b42318; }

.yard-cart-checkout {
    display: grid;
    gap: 18px;
    max-width: 860px;
    margin: 32px auto 0;
    padding: 28px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 24, 27, .06);
}

.yard-cart-checkout[hidden],
.yard-cart-guest-fields[hidden] { display: none; }
.yard-cart-checkout-heading { display: flex; align-items: center; gap: 14px; }
.yard-cart-checkout-heading > span { width: 48px; height: 48px; display: grid; flex: 0 0 48px; place-items: center; border-radius: 13px; background: #f4f4f5; color: #27272a; font-size: 25px; }
.yard-cart-checkout-heading h2 { font-size: 24px; font-weight: 650; text-transform: none; }
.yard-cart-checkout-heading p { margin-top: 4px; color: #71717a; font-size: 13px; }
.yard-cart-checkout label,
.yard-cart-guest-fields { display: grid; gap: 7px; color: #3f3f46; font-size: 13px; font-weight: 650; }
.yard-cart-checkout input,
.yard-cart-checkout textarea { width: 100%; padding: 13px 14px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; color: #27272a; font: inherit; font-size: 14px; font-weight: 400; outline: none; }
.yard-cart-checkout input:focus,
.yard-cart-checkout textarea:focus { border-color: #71717a; box-shadow: 0 0 0 3px rgba(113, 113, 122, .12); }
.yard-cart-checkout-actions { display: flex; align-items: center; gap: 16px; }
.yard-cart-checkout-actions > span { max-width: 430px; color: #71717a; font-size: 11px; line-height: 1.45; }
.yard-cart-checkout-actions a { text-decoration: underline; text-underline-offset: 2px; }
.yard-cart-order-success { display: flex; align-items: center; gap: 14px; max-width: 860px; margin: 32px auto 0; padding: 22px; border: 1px solid #bbf7d0; border-radius: 16px; background: #f0fdf4; color: #166534; }
.yard-cart-order-success > span { font-size: 34px; }
.yard-cart-order-success div { flex: 1; }
.yard-cart-order-success strong { display: block; font-size: 16px; }
.yard-cart-order-success p { margin-top: 3px; color: #3f7650; font-size: 13px; }
.yard-cart-order-success a { padding: 9px 12px; border: 1px solid #86efac; border-radius: 9px; font-size: 12px; font-weight: 650; }

.yard-product-sku {
    color: #71717a;
    font-size: 14px;
}

.yard-product-info h1 {
    margin-top: 12px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    font-weight: 650;
    text-transform: none;
}

.yard-product-page-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 26px;
}

.yard-product-page-price strong {
    font-size: 34px;
}

.yard-product-page-price del {
    color: #a1a1aa;
    font-size: 18px;
}

.yard-product-availability {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #e4e4e7;
    font-size: 14px;
    font-weight: 650;
}

.yard-product-description {
    margin-top: 26px;
    color: #52525b;
    line-height: 1.75;
}

.yard-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.yard-button-dark {
    border-color: #27272a;
    background: #27272a;
    color: #fff;
}

.yard-button-dark:hover {
    border-color: #27272a;
    background: transparent;
    color: #27272a;
}

.yard-button-outline {
    border-color: #27272a;
    background: transparent;
    color: #27272a;
}

.yard-product-categories {
    margin-top: 26px;
    color: #52525b;
}

.yard-product-categories a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yard-product-details {
    margin-top: 60px;
    padding: 30px;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: #fff;
}

.yard-product-details h2 {
    font-size: 28px;
    font-weight: 650;
    text-transform: none;
}

.yard-product-details dl {
    margin-top: 20px;
}

.yard-product-details dl > div {
    display: grid;
    grid-template-columns: minmax(180px, .45fr) 1fr;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #e4e4e7;
}

.yard-product-details dt {
    color: #71717a;
}

.yard-compact-breadcrumb {
    padding: 98px 0 20px;
    border-bottom: 1px solid #e4e4e7;
    background: #fff;
}

.yard-compact-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #71717a;
    font-size: 13px;
}

.yard-compact-breadcrumb a {
    color: #27272a;
}

.yard-compact-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yard-catalog-page,
.yard-saved-page {
    padding: 54px 0 90px;
    background: #fafafa;
}

.yard-catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.yard-catalog-header > div > span {
    color: #71717a;
    font-size: 13px;
}

.yard-catalog-header h1,
.yard-saved-page h1 {
    margin-top: 6px;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 650;
    line-height: 1.1;
}

.yard-catalog-search {
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 16px;
    border: 1px solid #d4d4d8;
    border-radius: 14px;
    background: #fff;
}

.yard-catalog-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.yard-catalog-search button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #27272a;
    color: #fff;
    cursor: pointer;
}

.yard-catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.yard-category-sidebar {
    position: sticky;
    top: 20px;
    padding: 22px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    background: #fff;
}

.yard-category-sidebar h2 {
    margin-bottom: 16px;
    font-size: 19px;
    font-weight: 650;
}

.yard-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.yard-catalog-toolbar > span {
    margin-right: auto;
    color: #71717a;
    font-size: 13px;
}

.yard-catalog-toolbar select {
    margin-left: 7px;
    padding: 9px 30px 9px 10px;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    background: #fff;
}

.yard-view-switch {
    display: flex;
    gap: 5px;
}

.yard-view-switch a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    background: #fff;
}

.yard-view-switch a.active {
    border-color: #27272a;
    background: #27272a;
    color: #fff;
}

.yard-product-grid.is-list {
    grid-template-columns: 1fr;
}

.yard-product-grid.is-list .yard-product-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
    border-radius: 16px;
}

.yard-product-grid.is-list .yard-product-image {
    height: 100%;
    min-height: 190px;
    padding: 18px;
    aspect-ratio: auto;
}

.yard-product-grid.is-list .yard-product-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 180px 24px 24px;
}

.yard-product-grid.is-list .yard-product-content h3 {
    min-height: 0;
    max-width: 780px;
    margin-top: 5px;
    font-size: 19px;
}

.yard-product-grid.is-list .yard-product-bottom {
    position: absolute;
    top: 50%;
    right: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    transform: translateY(-50%);
}

.yard-card-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 24px;
    max-width: 900px;
    margin: 18px 0 0;
}

.yard-card-specs > div {
    display: flex;
    min-width: 0;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.yard-card-specs dt {
    flex: 0 0 auto;
    color: #a1a1aa;
}

.yard-card-specs dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #3f3f46;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yard-catalog-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

.yard-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.yard-pagination-link,
.yard-pagination-gap {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    background: #fff;
    color: #52525b;
    font-size: 13px;
}

.yard-pagination-link:hover {
    border-color: #a1a1aa;
    background: #f4f4f5;
    color: #18181b;
}

.yard-pagination-link.active {
    border-color: #27272a;
    background: #27272a;
    color: #fff;
    pointer-events: none;
}

.yard-pagination-direction {
    gap: 6px;
}

.yard-pagination-gap {
    min-width: 28px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.yard-pagination-jump {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.yard-pagination-jump label {
    color: #52525b;
    font-size: 13px;
}

.yard-pagination-jump input {
    width: 72px;
    min-height: 40px;
    padding: 0 9px;
    border: 1px solid #d4d4d8;
    border-radius: 9px;
    background: #fff;
    color: #18181b;
    text-align: center;
}

.yard-pagination-jump button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #27272a;
    border-radius: 9px;
    background: #27272a;
    color: #fff;
    cursor: pointer;
}

.yard-category-directory {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    background: #fff;
}

.yard-category-directory-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e7;
}

.yard-category-directory-heading span {
    color: #18181b;
    font-size: 20px;
    font-weight: 650;
}

.yard-category-directory-heading p {
    margin: 0;
    color: #71717a;
    font-size: 14px;
}

.yard-catalog-directory-page .yard-catalog-header > div > p {
    margin: 12px 0 0;
    color: #71717a;
    font-size: 15px;
}

.yard-catalog-directory-page .yard-category-directory {
    padding: 0;
    border: 0;
    background: transparent;
}

.yard-category-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.yard-directory-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(24, 24, 27, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.yard-directory-card:hover {
    transform: translateY(-3px);
    border-color: #d4d4d8;
    box-shadow: 0 16px 36px rgba(24, 24, 27, .085);
}

.yard-directory-card-main {
    display: block;
    color: #18181b;
    text-decoration: none;
}

.yard-directory-card-media {
    position: relative;
    display: grid;
    height: 190px;
    overflow: hidden;
    place-items: center;
    background: #f4f4f5;
}

.yard-directory-card-media.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.yard-directory-card:hover .yard-directory-card-media.has-image img {
    transform: scale(1.035);
}

.yard-directory-card-placeholder {
    isolation: isolate;
    color: hsl(var(--category-hue) 32% 38%);
    background:
        radial-gradient(ellipse at 78% 20%, hsl(var(--category-hue) 44% 94%) 0 20%, transparent 21%),
        linear-gradient(140deg, hsl(var(--category-hue) 25% 98%), hsl(var(--category-hue) 30% 91%));
}

.yard-directory-card-placeholder::before,
.yard-directory-card-placeholder::after {
    position: absolute;
    z-index: -1;
    width: 170px;
    height: 170px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: .13;
}

.yard-directory-card-placeholder::after {
    width: 230px;
    height: 230px;
}

.yard-directory-card-placeholder > i {
    font-size: 62px;
    opacity: .78;
}

.yard-directory-card-placeholder > small {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: currentColor;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    opacity: .56;
}

.yard-directory-orbit {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    opacity: .36;
}

.yard-directory-card-copy {
    display: grid;
    gap: 9px;
    padding: 19px 20px 18px;
}

.yard-directory-card-kicker {
    color: #a1a1aa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.yard-directory-card-copy > strong {
    min-height: 52px;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.35;
}

.yard-directory-card-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f4f4f5;
    color: #52525b;
    font-size: 13px;
    font-weight: 600;
}

.yard-directory-card-open i {
    font-size: 17px;
}

.yard-directory-subcategories {
    margin: 0 20px;
    border-top: 1px solid #f4f4f5;
}

.yard-directory-subcategories > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #52525b;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.yard-directory-subcategories > summary::-webkit-details-marker {
    display: none;
}

.yard-directory-subcategories > summary::after {
    color: #71717a;
    content: "+";
    font-size: 20px;
    font-weight: 400;
}

.yard-directory-subcategories[open] > summary::after {
    content: "−";
}

.yard-directory-subcategories > summary span {
    margin-left: auto;
    color: #a1a1aa;
    font-size: 12px;
    font-weight: 500;
}

.yard-directory-subcategories > ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
}

.yard-directory-subcategories li {
    min-width: 0;
}

.yard-directory-subcategories li > a {
    display: block;
    padding: 6px 9px;
    border-radius: 8px;
    color: #52525b;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.yard-directory-subcategories li > a:hover {
    background: #f4f4f5;
    color: #18181b;
}

.yard-directory-subcategories li > ul {
    display: grid;
    gap: 2px;
    margin: 2px 0 6px 9px;
    padding-left: 9px;
    border-left: 1px solid #e4e4e7;
    list-style: none;
}

.yard-category-alphabet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 38px 48px;
}

.yard-category-letter-group {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    break-inside: avoid;
}

.yard-category-letter-group h2 {
    margin: 0;
    color: #18181b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.yard-category-letter-group > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.yard-category-letter-group a {
    color: #52525b;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.yard-category-letter-group a:hover {
    color: #18181b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yard-related-products {
    background: #fff;
}

.yard-all-categories-section {
    background: #f4f4f5;
}

.yard-all-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.yard-all-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #fff;
}

.yard-saved-page .yard-product-grid {
    margin-top: 30px;
}

.yard-store-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2000;
    padding: 13px 17px;
    border-radius: 10px;
    background: #27272a;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: .2s ease;
    pointer-events: none;
}

.yard-store-toast.show {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .yard-category-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .yard-directory-card-media {
        height: 170px;
    }

    .yard-category-grid,
    .yard-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yard-contact .container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .yard-product-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .yard-catalog-layout {
        grid-template-columns: 1fr;
    }

    .yard-category-sidebar {
        position: static;
    }

    .yard-all-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yard-list-cta-card { grid-template-columns: auto 1fr; }
    .yard-list-cta-card > a { grid-column: 2; justify-self: start; }
    .yard-request-page .container { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
    .yard-category-directory-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .yard-directory-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: stretch;
    }

    .yard-directory-card-main {
        display: contents;
    }

    .yard-directory-card-media {
        grid-column: 1;
        grid-row: 1 / span 2;
        height: 100%;
        min-height: 166px;
    }

    .yard-directory-card-copy {
        grid-column: 2;
        padding: 16px 14px 12px;
    }

    .yard-directory-card-copy > strong {
        min-height: 0;
        font-size: 16px;
    }

    .yard-directory-card-open {
        padding-top: 8px;
        font-size: 12px;
    }

    .yard-directory-subcategories {
        grid-column: 1 / -1;
        margin: 0 14px;
    }

    .slider-block.style-nine {
        margin-top: 56px;
    }

    .yard-hero-slide {
        min-height: 570px;
        padding: 105px 0 65px;
    }

    .yard-hero-copy p {
        font-size: 16px;
    }

    .yard-section,
    .yard-contact {
        padding: 58px 0;
    }

    .yard-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .yard-category-grid,
    .yard-product-grid {
        grid-template-columns: 1fr;
    }

    .yard-product-content h3 {
        min-height: 0;
    }

    .yard-product-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .yard-product-details {
        padding: 20px;
    }

    .yard-product-details dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .yard-catalog-header {
        align-items: stretch;
        flex-direction: column;
    }

    .yard-catalog-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .yard-catalog-toolbar > span {
        width: 100%;
    }

    .yard-all-categories {
        grid-template-columns: 1fr;
    }

    .yard-product-grid.is-list .yard-product-card {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .yard-product-grid.is-list .yard-product-image {
        min-height: 160px;
        padding: 10px;
    }

    .yard-product-grid.is-list .yard-product-content {
        justify-content: flex-start;
        padding: 16px;
    }

    .yard-product-grid.is-list .yard-product-bottom {
        position: static;
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid #e4e4e7;
        transform: none;
    }

    .yard-card-specs {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 12px;
    }

    .yard-card-actions span {
        display: none;
    }

    .yard-pagination-direction span {
        display: none;
    }

    .yard-cart-button {
        width: 40px;
        justify-content: center;
        padding: 0;
    }

    .yard-list-cta-card { grid-template-columns: 1fr; padding: 24px; }
    .yard-list-cta-card > a { grid-column: auto; }
    .yard-list-cta-icon { width: 52px; height: 52px; }
    .yard-request-form { padding: 20px; }
    .yard-request-form-grid { grid-template-columns: 1fr; }
    .yard-file-placeholder > span:last-child { display: none; }
    .yard-cart-checkout { padding: 20px; }
    .yard-cart-checkout-actions,
    .yard-cart-order-success { align-items: stretch; flex-direction: column; }
    .yard-cart-checkout-actions .yard-button { justify-content: center; }
    .yard-gallery-modal { padding: 10px; }
    .yard-gallery-dialog { height: calc(100vh - 20px); padding: 60px 12px; border-radius: 18px; }
    .yard-gallery-nav { top: auto; bottom: 14px; transform: none; }
    .yard-gallery-counter { bottom: 25px; }
}

/* Категории каталога: нативное раскрытие без JavaScript */
.yard-category-sidebar .yard-catalog-categories,
.yard-category-sidebar .yard-catalog-subcategories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.yard-category-sidebar .yard-catalog-category {
    min-width: 0;
    margin: 0;
}

.yard-category-sidebar .yard-catalog-category-row {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #52525b;
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.yard-category-sidebar .yard-catalog-category-link {
    display: block;
}

.yard-category-sidebar summary.yard-catalog-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
}

.yard-category-sidebar summary.yard-catalog-category-row::-webkit-details-marker {
    display: none;
}

.yard-category-sidebar summary.yard-catalog-category-row::marker {
    content: '';
}

.yard-category-sidebar summary.yard-catalog-category-row i {
    justify-self: center;
    color: #71717a;
    font-size: 16px;
    transition: transform .2s ease;
}

.yard-category-sidebar details[open] > summary.yard-catalog-category-row i {
    transform: rotate(180deg);
}

.yard-category-sidebar .yard-catalog-category-row:hover {
    background: #f4f4f5;
    color: #18181b;
}

.yard-category-sidebar .yard-catalog-category-row.active {
    background: #f4f4f5;
    color: #18181b;
    box-shadow: inset 3px 0 #a1a1aa;
}

.yard-category-sidebar .yard-catalog-category-row:focus {
    outline: none;
}

.yard-category-sidebar .yard-catalog-category-row:focus-visible {
    background: #f4f4f5;
    box-shadow: 0 0 0 2px #d4d4d8;
}

.yard-category-sidebar .yard-catalog-subcategories {
    margin: 4px 0 8px 10px;
    padding-left: 10px;
    border-left: 1px solid #e4e4e7;
}

@media (max-width: 900px) {
    .yard-category-sidebar .yard-catalog-categories {
        max-width: 560px;
    }

    .yard-category-alphabet {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .yard-category-directory-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .yard-category-alphabet {
        grid-template-columns: 1fr;
    }

    .yard-pagination-jump {
        width: 100%;
        justify-content: center;
        margin: 10px 0 0;
    }

    .yard-pagination-jump label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
}
