/* Uniforms Love 3.0.0 - WooCommerce catalogue, product and system pages. */

body.uniforms-love-theme.ul-has-woocommerce {
    background: var(--ul-white);
}

body.uniforms-love-theme.ul-has-woocommerce .woocommerce,
body.uniforms-love-theme.ul-has-woocommerce .ul-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ---------- Catalogue ---------- */
.ul-catalog-frame {
    width: calc(100% - 32px);
    max-width: 1700px;
    margin: 0 auto;
    background: var(--ul-white);
}

.ul-shop-breadcrumbs {
    width: 100%;
    min-height: 58px;
    padding: 0;
}

.ul-shop-breadcrumbs .ul-breadcrumbs {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin: 0;
    color: #8b8581;
    font-size: 12px;
}

.ul-shop-breadcrumbs .ul-breadcrumbs__current {
    color: var(--ul-black);
    font-weight: 600;
}

.ul-shop-breadcrumbs .ul-breadcrumbs__separator {
    margin: 0 12px;
    color: #a9a29d;
}

.ul-shop-hero {
    width: 100%;
    max-width: 900px;
    padding: 8px 20px 0;
    margin: 0 auto 34px;
    text-align: center;
}

.ul-shop-hero h1 {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    color: var(--ul-black);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0;
}

.ul-shop-hero__description {
    max-width: 650px;
    margin: 0 auto;
    color: #57514d;
    font-size: 13px;
    line-height: 1.55;
}

.ul-shop-hero__description p {
    margin-bottom: 0;
}

.ul-product-extension-output:empty {
    display: none;
}

.ul-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 48px;
    padding: 0 0 10px;
    margin: 0;
    gap: 8px;
}

.ul-tool-button,
.ul-ordering {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 38px;
    padding: 0 13px;
    margin: 0;
    gap: 7px;
    background: var(--ul-white);
    border: 1px solid var(--ul-black);
    border-radius: 6px;
    color: var(--ul-black);
    box-shadow: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ul-tool-button:hover,
.ul-ordering:hover {
    background: var(--ul-cream);
    border-color: var(--ul-brown);
}

.ul-tool-button img,
.ul-ordering img {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ul-ordering__label {
    display: inline;
    white-space: nowrap;
}

.ul-ordering select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.ul-shop-products {
    display: block;
    width: 100%;
    min-height: 200px;
    padding: 0;
    margin: 0;
    background: var(--ul-white);
}

.ul-shop-products .woocommerce-notices-wrapper:empty,
.ul-shop-products .woocommerce-result-count,
.ul-shop-products > .woocommerce-ordering {
    display: none;
}

.ul-product-list--archive {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 24px 6px;
}

.ul-product-list--archive .ul-product-card {
    display: block;
    flex: 0 0 calc((100% - 18px) / 4);
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ul-product-card__media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #e3e2e1;
}

.ul-product-card__image,
.ul-product-card__media > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 0.82;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.ul-product-card:hover .ul-product-card__image,
.ul-product-card:hover .ul-product-card__media > img {
    transform: scale(1.012);
}

.ul-product-card__sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    background: var(--ul-brown);
    color: var(--ul-white);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
}

.ul-product-card__content {
    width: 100%;
    padding: 9px 8px 0;
}


.ul-product-card__price,
.ul-product-card__price .amount {
    color: var(--ul-black);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.ul-product-card__price del {
    margin-right: 6px;
    color: #8d8783;
    font-size: 12px;
    font-weight: 400;
}

.ul-product-card__price ins {
    text-decoration: none;
}

.ul-product-card__price .woocommerce-Price-currencySymbol {
    margin-left: 2px;
    font-size: 9px;
    font-weight: 600;
}

.ul-pagination-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 60px 0 26px;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    color: #8b817b;
    font-size: 12px;
}

.woocommerce-pagination .page-numbers .current {
    background: var(--ul-brown);
    color: var(--ul-white);
}

.ul-shop-empty {
    width: 100%;
    min-height: 320px;
    padding: 82px 24px;
    background: var(--ul-cream);
    text-align: center;
}

.ul-shop-empty h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 600;
}

.ul-shop-empty p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: #5a544f;
}

.ul-shop-quality {
    width: 100%;
    padding: 72px 36px 76px;
    margin: 0;
}

.ul-shop-quality h2 {
    max-width: 1020px;
    margin: 0 0 29px;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.11;
    letter-spacing: 0;
}

.ul-shop-quality__columns {
    display: flex;
    align-items: flex-start;
    gap: 58px;
}

.ul-shop-quality__columns p {
    flex: 1 1 50%;
    margin: 0;
    color: #332f2d;
    font-size: 13px;
    line-height: 1.58;
}

/* ---------- Filter drawer ---------- */
.ul-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 1450;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 280ms;
}

.ul-filter-panel.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.ul-filter-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 17, 14, 0.32);
    opacity: 0;
    transition: opacity 210ms ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.ul-filter-panel.is-open .ul-filter-panel__backdrop {
    opacity: 1;
}

.ul-filter-panel__drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 460px;
    max-width: 94vw;
    padding: 0;
    overflow-y: auto;
    background: var(--ul-white);
    box-shadow: -22px 0 54px rgba(31, 21, 17, 0.12);
    transform: translateX(102%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ul-filter-panel.is-open .ul-filter-panel__drawer {
    transform: translateX(0);
}

.ul-filter-panel__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    padding: 24px 28px 20px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e7dfd8;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ul-filter-panel__header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0;
}

.ul-filter-panel__header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ul-filter-clear {
    color: var(--ul-brown);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ul-filter-panel__header .ul-icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid #ded7d1;
    border-radius: 50%;
    font-size: 23px;
    line-height: 1;
}

.ul-filter-panel__body {
    padding: 0 28px 34px;
}

.ul-filter-group {
    padding: 26px 0 24px;
    border-bottom: 1px solid #ece5df;
}

.ul-filter-group:last-child {
    border-bottom: 0;
}

.ul-filter-group h3 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
}

.ul-filter-group ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ul-filter-group li {
    margin: 0;
}

.ul-filter-group a,
.ul-filter-choice {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 5px 0;
    gap: 10px;
    color: var(--ul-black);
    font-size: 13px;
}

.ul-filter-group a:hover .ul-filter-choice__name,
.ul-filter-group > ul > li > a:hover {
    color: var(--ul-brown);
}

.ul-filter-group a > span:last-child,
.ul-filter-choice__count {
    margin-left: auto;
    color: #9b938e;
    font-size: 11px;
}

.ul-filter-choice__name {
    flex: 1 1 auto;
}

.ul-filter-choice__swatch {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    background: var(--filter-swatch);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 5px;
}

.ul-filter-choice--color.is-active .ul-filter-choice__swatch {
    outline: 2px solid var(--ul-brown);
    outline-offset: 2px;
}

.ul-filter-choice.is-active .ul-filter-choice__name {
    color: var(--ul-brown);
    font-weight: 700;
}

/* ---------- Single product ---------- */
.ul-single-product .ul-page-padding {
    width: calc(100vw - 32px);
    max-width: var(--ul-page);
    padding: 0;
    margin: 0 auto;
}

.ul-single-product .ul-breadcrumbs {
    display: flex;
    align-items: center;
    min-height: 68px;
    color: #8b8581;
    font-size: 12px;
}

.ul-product-main {
    display: flex;
    align-items: stretch;
    width: calc(100vw - 32px);
    max-width: calc(var(--ul-page) - 32px);
    margin: 0 auto;
    gap: 8px;
}

.ul-product-gallery,
.ul-product-summary {
    flex: 0 0 calc(50% - 4px);
    min-width: 0;
}

.ul-product-gallery {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.ul-product-gallery__thumbs {
    flex: 0 0 110px;
    gap: 8px;
}

.ul-product-gallery__thumb {
    border: 1px solid transparent;
    background: #efedeb;
    border-radius: 6px;
}

.ul-product-gallery__thumb.is-active {
    border-color: var(--ul-brown);
}

.ul-product-gallery__stage,
.ul-product-summary {
    height: 690px;
}

.ul-product-gallery__stage {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    background: #e8e6e4;
    border-radius: 6px;
}

.ul-product-gallery__main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ul-product-summary {
    display: flex;
    flex-direction: column;
    padding: 34px 34px 28px;
    background: var(--ul-cream);
    border-radius: 6px;
}

.ul-product-summary__top h1 {
    margin: 0 0 17px;
    padding: 0;
    border: 0;
    color: var(--ul-black);
    font-size: 45px;
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: 0;
}

.ul-product-summary__excerpt,
.ul-product-summary__excerpt p {
    color: #4d4845;
    font-size: 14px;
    line-height: 1.55;
}

.ul-product-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin-top: 16px;
}

.ul-product-options {
    margin-bottom: 20px;
}

.ul-product-option {
    padding: 0;
    margin: 0 0 19px;
    border: 0;
}

.ul-product-option legend {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
}

.ul-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ul-option-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: var(--ul-white);
    border: 1px solid #cfc7c1;
    border-radius: 6px;
    box-shadow: none;
}

.ul-product-option--color .ul-option-button {
    min-width: 38px;
    padding: 4px;
}

.ul-option-button__swatch {
    display: block;
    width: 28px;
    height: 28px;
    background: var(--swatch);
    border-radius: 5px;
}

.ul-option-button.is-selected {
    border-color: var(--ul-brown);
    box-shadow: inset 0 0 0 1px var(--ul-brown);
}

.ul-option-button.is-disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.reset_variations {
    color: var(--ul-brown);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ul-product-buy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.ul-product-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 22px;
}

.ul-product-price > span,
.ul-product-price .price,
.ul-product-price .amount {
    color: var(--ul-black);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.ul-product-price small {
    font-size: 10px;
}

.ul-product-buy__controls {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.ul-product-buy__controls .quantity {
    display: flex;
    align-items: center;
    flex: 0 0 108px;
    min-height: 46px;
    border: 1px solid #cfc7c1;
    border-radius: 6px;
    background: var(--ul-white);
}

.ul-product-buy__controls .quantity .qty {
    width: 42px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

.ul-quantity-button {
    flex: 0 0 32px;
    width: 32px;
    padding: 0;
    background: transparent;
    border: 0;
}

.single_add_to_cart_button.button,
.single_add_to_cart_button.button.alt {
    flex: 1 1 auto;
    min-height: 46px;
    padding: 0 22px;
    background: var(--ul-black);
    border: 1px solid var(--ul-black);
    border-radius: 6px;
    color: var(--ul-white);
    box-shadow: none;
}

.single_add_to_cart_button.disabled {
    opacity: 0.45;
}

.ul-product-details,
.ul-related-products {
    width: calc(100vw - 32px);
    max-width: calc(var(--ul-page) - 32px);
    margin-left: auto;
    margin-right: auto;
}

.ul-product-details {
    margin-top: 18px;
    padding: 0;
    background: var(--ul-cream);
    border-radius: 6px;
}

.ul-product-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px;
    background: var(--ul-white);
}

.ul-product-tabs button {
    min-height: 38px;
    padding: 0 14px;
    background: var(--ul-white);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--ul-black);
    font-size: 12px;
}

.ul-product-tabs button.is-active {
    background: var(--ul-brown);
    color: var(--ul-white);
}

.ul-product-tab-panel {
    padding: 30px 34px;
    color: #4d4845;
    font-size: 13px;
    line-height: 1.6;
}

.ul-related-products {
    padding: 60px 0 86px;
}

.ul-related-products > h2 {
    margin: 0 0 32px;
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0;
}

.ul-product-list--related {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 6px;
}

.ul-product-list--related .ul-product-card {
    flex: 0 0 calc((100% - 18px) / 4);
}

/* ---------- Cart, checkout and account ---------- */
.ul-woocommerce-page > .ul-page-padding,
.ul-woo-content,
.ul-cart-cross-sells {
    width: calc(100vw - 32px);
    max-width: calc(var(--ul-page) - 32px);
    margin-left: auto;
    margin-right: auto;
}

.ul-woo-page-header {
    padding-top: 18px;
}

.ul-woo-page-header h1 {
    font-size: 44px;
    letter-spacing: 0;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.wc-proceed-to-checkout .checkout-button {
    border-radius: 6px;
    box-shadow: none;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: #ded7d1;
}

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

@media (max-width: 1180px) {
    .ul-product-list--archive .ul-product-card,
    .ul-product-list--related .ul-product-card {
        flex-basis: calc((100% - 12px) / 3);
    }

    .ul-product-gallery__stage,
    .ul-product-summary {
        height: 620px;
    }
}

@media (max-width: 900px) {
    .ul-shop-quality__columns {
        gap: 30px;
    }

    .ul-product-main {
        flex-direction: column;
    }

    .ul-product-gallery,
    .ul-product-summary {
        flex-basis: auto;
        width: 100%;
        height: auto;
    }

    .ul-product-gallery__stage {
        min-height: 600px;
    }
}

@media (max-width: 767px) {
    .ul-catalog-frame,
    .ul-single-product .ul-page-padding,
    .ul-product-main,
    .ul-product-details,
    .ul-related-products,
    .ul-woocommerce-page > .ul-page-padding,
    .ul-woo-content,
    .ul-cart-cross-sells {
        width: calc(100vw - 20px);
        max-width: none;
    }

    .ul-shop-breadcrumbs {
        min-height: 58px;
    }

    .ul-shop-breadcrumbs .ul-breadcrumbs {
        min-height: 58px;
    }

    .ul-shop-hero {
        padding: 10px 16px 0;
        margin-bottom: 36px;
    }

    .ul-shop-hero h1 {
        font-size: 34px;
        letter-spacing: 0;
    }

    .ul-shop-toolbar {
        justify-content: space-between;
        padding-bottom: 12px;
    }

    .ul-tool-button,
    .ul-ordering {
        flex: 0 0 calc(50% - 4px);
    }

    .ul-product-list--archive,
    .ul-product-list--related {
        gap: 26px 6px;
    }

    .ul-product-list--archive .ul-product-card,
    .ul-product-list--related .ul-product-card {
        flex-basis: calc(50% - 3px);
    }

    .ul-product-card__content {
        padding: 9px 4px 0;
    }

    .ul-product-card__price,
    .ul-product-card__price .amount {
        font-size: 13px;
    }

    .ul-shop-quality {
        padding: 58px 10px 52px;
    }

    .ul-shop-quality h2 {
        font-size: 30px;
    }

    .ul-shop-quality__columns {
        flex-direction: column;
        gap: 18px;
    }

    .ul-filter-panel__drawer {
        width: 100%;
        max-width: 100%;
    }

    .ul-filter-panel__header {
        min-height: 76px;
        padding: 19px 20px 16px;
    }

    .ul-filter-panel__body {
        padding: 0 20px 28px;
    }

    .ul-product-gallery {
        flex-direction: column-reverse;
    }

    .ul-product-gallery__thumbs {
        flex-direction: row;
        flex-basis: auto;
        overflow-x: auto;
    }

    .ul-product-gallery__thumb {
        flex: 0 0 78px;
    }

    .ul-product-gallery__stage {
        min-height: 0;
        aspect-ratio: 0.82;
    }

    .ul-product-summary {
        padding: 28px 20px 22px;
    }

    .ul-product-summary__top h1 {
        font-size: 36px;
    }

    .ul-product-buy__controls {
        gap: 10px;
    }

    .ul-product-buy__controls .quantity {
        flex-basis: 102px;
    }

    .ul-product-price > span,
    .ul-product-price .price,
    .ul-product-price .amount {
        font-size: 31px;
    }

    .ul-product-tabs {
        overflow-x: auto;
    }

    .ul-product-tabs button {
        flex: 0 0 auto;
    }

    .ul-product-tab-panel {
        padding: 24px 20px;
    }

    .ul-related-products {
        padding-bottom: 70px;
    }

    .ul-related-products > h2 {
        font-size: 30px;
    }

    .ul-woo-page-header h1 {
        font-size: 34px;
    }
}

/* Filter category hierarchy. */
.ul-filter-category {
    position: relative;
}

.ul-filter-category.is-child {
    padding-left: 18px;
}

.ul-filter-category.is-child::before {
    position: absolute;
    left: 2px;
    top: 50%;
    width: 7px;
    height: 1px;
    background: #cfc3ba;
    content: "";
}

.ul-filter-category.is-active {
    color: var(--ul-brown);
    font-weight: 700;
}

.ul-shop-empty__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================================================================
   Uniforms Love 3.0 - exact Figma/PDF commerce measurements
   ================================================================ */
body.uniforms-love-theme.ul-has-woocommerce { background: #fff; }
body.uniforms-love-theme.ul-has-woocommerce .woocommerce,
body.uniforms-love-theme.ul-has-woocommerce .ul-main { width: 100%; max-width: none; margin: 0; padding: 0; }

/* Shop: 1440 artboard / 1408 content / 4 x 346 product cards. */
.ul-catalog-frame { width: var(--ul-shell); max-width: var(--ul-page); margin: 0 auto; }
.ul-shop-breadcrumbs { height: 57px; }
.ul-shop-breadcrumbs .ul-breadcrumbs { height: 57px; min-height: 57px; }
.ul-shop-hero { max-width: 860px; padding: 18px 20px 0; margin: 0 auto; text-align: center; }
.ul-shop-hero h1 { margin: 0 0 16px; border: 0; font-size: 40px; font-weight: 600; line-height: 1.02; letter-spacing: 0; }
.ul-shop-hero__description { max-width: 650px; margin: 0 auto; color: #57514d; font-size: 12px; line-height: 1.5; }
.ul-shop-hero__description p { margin: 0; }
.ul-shop-toolbar { display: flex; align-items: center; justify-content: flex-end; height: 72px; padding: 0; margin-top: 18px; gap: 8px; }
.ul-tool-button, .ul-ordering {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    gap: 7px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}
.ul-tool-button img, .ul-ordering img { width: 16px; height: 16px; object-fit: contain; }
.ul-ordering select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; border: 0; cursor: pointer; }
.ul-shop-products { width: 100%; padding: 0; margin: 0; }
.ul-catalog-grid { display: flex; align-items: flex-start; flex-wrap: wrap; width: 100%; gap: 0 8px; }
.ul-catalog-grid .ul-product-card { flex: 0 0 calc((100% - 24px) / 4); }
.ul-catalog-grid .ul-product-card__content { min-height: 131px; padding: 10px 16px 8px; }
.ul-pagination-wrap { display: flex; align-items: center; justify-content: center; min-height: 92px; }
.woocommerce-pagination ul.page-numbers { display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; list-style: none; gap: 8px; }
.woocommerce-pagination ul.page-numbers li { margin: 0; padding: 0; border: 0; }
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: #fff; border: 0; border-radius: 5px; color: #000; font-size: 12px; }
.woocommerce-pagination .page-numbers .current { background: var(--ul-brown); color: #fff; }
.ul-shop-quality { padding: 36px 32px 52px; margin: 0; background: #fff; }
.ul-shop-quality h2 { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 1.05; letter-spacing: 0; }
.ul-shop-quality__columns { display: flex; align-items: flex-start; gap: 46px; }
.ul-shop-quality__columns p { flex: 1 1 0; margin: 0; color: #302c29; font-size: 11px; line-height: 1.45; }

/* Single product: 700 + 8 + 700, 690px high. */
.ul-single-product .ul-page-padding { width: var(--ul-shell); max-width: var(--ul-page); padding: 0; margin: 0 auto; }
.ul-single-product .ul-breadcrumbs { height: 57px; min-height: 57px; }
.ul-product-main { display: flex; align-items: stretch; width: var(--ul-shell); max-width: var(--ul-page); height: 690px; margin: 0 auto; gap: 8px; }
.ul-product-gallery, .ul-product-summary { flex: 0 0 calc((100% - 8px) / 2); min-width: 0; }
.ul-product-gallery { display: flex; align-items: stretch; gap: 16px; }
.ul-product-gallery__thumbs { display: flex; flex: 0 0 160px; flex-direction: column; gap: 8px; }
.ul-product-gallery__thumb { display: block; flex: 1 1 0; min-height: 0; padding: 0; overflow: hidden; background: #efedeb; border: 1px solid transparent; border-radius: 6px; }
.ul-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ul-product-gallery__thumb.is-active { border-color: var(--ul-brown); }
.ul-product-gallery__stage { position: relative; flex: 1 1 auto; min-width: 0; height: 690px; overflow: hidden; background: #e8e6e4; border-radius: 6px; }
.ul-product-gallery__main { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; object-fit: cover; object-position: center top; pointer-events: none; }
.ul-product-gallery__main.is-active { opacity: 1; pointer-events: auto; }
.ul-gallery-arrow { position: absolute; top: 50%; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: var(--ul-brown); border: 0; border-radius: 6px; transform: translateY(-50%); }
.ul-gallery-arrow img { width: 16px; height: 16px; }
.ul-gallery-arrow--left { left: 16px; }
.ul-gallery-arrow--right { right: 16px; }
.ul-product-summary { display: flex; flex-direction: column; height: 690px; padding: 30px 34px 26px; background: var(--ul-cream); border-radius: 6px; }
.ul-product-summary__top h1 { margin: 0 0 17px; border: 0; font-size: 48px; font-weight: 600; line-height: 1.02; letter-spacing: 0; }
.ul-product-summary__excerpt, .ul-product-summary__excerpt p { max-width: 610px; margin: 0; color: #4d4845; font-size: 12px; line-height: 1.48; }
.ul-product-form { display: flex; flex: 1 1 auto; flex-direction: column; margin-top: 24px; }
.ul-product-options { margin: 0; }
.ul-product-option { padding: 0; margin: 0 0 22px; border: 0; }
.ul-product-option legend { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.ul-option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.ul-option-button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 11px; background: #fff; border: 1px solid #cfc7c1; border-radius: 6px; }
.ul-product-option--color .ul-option-button { width: 40px; min-width: 40px; padding: 4px; }
.ul-option-button__swatch { display: block; width: 30px; height: 30px; background: var(--swatch); border-radius: 5px; }
.ul-option-button.is-selected { border-color: var(--ul-brown); box-shadow: inset 0 0 0 1px var(--ul-brown); }
.ul-product-buy { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: flex-end; }
.ul-product-price { display: flex; align-items: baseline; justify-content: flex-end; margin: 0 0 22px; gap: 8px; }
.ul-product-price > span, .ul-product-price .price, .ul-product-price .amount { font-size: 40px; font-weight: 700; line-height: 1; }
.ul-product-price small { font-size: 10px; }
.ul-product-buy__controls { display: flex; align-items: stretch; gap: 16px; }
.ul-product-buy__controls .quantity { display: flex; align-items: center; flex: 0 0 110px; height: 46px; min-height: 46px; background: #fff; border: 1px solid #cfc7c1; border-radius: 6px; }
.ul-product-buy__controls .quantity .qty { width: 44px; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; }
.ul-quantity-button { flex: 0 0 32px; width: 32px; padding: 0; background: transparent; border: 0; }
.single_add_to_cart_button.button, .single_add_to_cart_button.button.alt { flex: 1 1 auto; height: 46px; min-height: 46px; padding: 0 22px; background: #000; color: #fff; border: 1px solid #000; border-radius: 6px; }
.ul-product-details { width: var(--ul-shell); max-width: var(--ul-page); min-height: 218px; margin: 82px auto 0; padding: 0; background: var(--ul-cream); border-radius: 6px; }
.ul-product-tabs { display: flex; align-items: center; height: 44px; padding: 0; margin: 0 0 0; background: #fff; gap: 8px; }
.ul-product-tabs button { height: 36px; min-height: 36px; padding: 0 14px; background: #fff; border: 1px solid transparent; border-radius: 6px; font-size: 11px; }
.ul-product-tabs button.is-active { background: var(--ul-brown); color: #fff; }
.ul-product-tab-panel { padding: 24px 32px; color: #4d4845; font-size: 11px; line-height: 1.45; }
.ul-related-products { width: var(--ul-shell); max-width: var(--ul-page); padding: 72px 0 0; margin: 0 auto; }
.ul-related-products > h2 { margin: 0 0 32px; text-align: center; font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: 0; }
.ul-product-list--related { display: flex; align-items: flex-start; flex-wrap: wrap; width: 100%; gap: 8px; }
.ul-product-list--related .ul-product-card { flex: 0 0 calc((100% - 24px) / 4); }

/* Filter drawer */
.ul-filter-panel { position: fixed; inset: 0; z-index: 1900; visibility: hidden; opacity: 0; pointer-events: none; transition: visibility 0s linear 220ms, opacity 220ms ease; }
.ul-filter-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.ul-filter-panel__backdrop { position: absolute; inset: 0; background: rgba(24,18,15,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.ul-filter-panel__drawer { position: absolute; top: 0; right: 0; bottom: 0; display: flex; width: min(430px, 92vw); flex-direction: column; background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.12); transform: translateX(100%); transition: transform 260ms ease; }
.ul-filter-panel.is-open .ul-filter-panel__drawer { transform: translateX(0); }
.ul-filter-panel__header { display: flex; align-items: center; justify-content: space-between; flex: 0 0 76px; padding: 0 26px; border-bottom: 1px solid #ece6e1; }
.ul-filter-panel__header h2 { margin: 0; font-size: 24px; font-weight: 600; }
.ul-filter-panel__header-actions { display: flex; align-items: center; gap: 14px; }
.ul-filter-clear { color: var(--ul-brown); font-size: 12px; }
.ul-filter-panel__header .ul-icon-button { width: 34px; height: 34px; font-size: 24px; }
.ul-filter-panel__body { flex: 1 1 auto; padding: 4px 26px 36px; overflow-y: auto; }
.ul-filter-group { padding: 24px 0; border-bottom: 1px solid #ece6e1; }
.ul-filter-group h3 { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.ul-filter-group ul { padding: 0; margin: 0; list-style: none; }
.ul-filter-group li + li { margin-top: 5px; }
.ul-filter-category, .ul-filter-choice { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 8px; border-radius: 5px; font-size: 12px; }
.ul-filter-category:hover, .ul-filter-choice:hover { background: var(--ul-cream); }
.ul-filter-category.is-active, .ul-filter-choice.is-active { color: var(--ul-brown); font-weight: 600; }
.ul-filter-category.is-child { padding-left: 22px; }
.ul-filter-choice { justify-content: flex-start; gap: 10px; }
.ul-filter-choice__count { margin-left: auto; color: #918983; font-size: 10px; }
.ul-filter-choice__swatch { display: inline-block; flex: 0 0 24px; width: 24px; height: 24px; background: var(--filter-swatch); border: 1px solid #d5d0cc; border-radius: 5px; }

@media (max-width: 1100px) {
    .ul-catalog-grid .ul-product-card { flex-basis: calc((100% - 16px) / 3); }
    .ul-product-gallery__thumbs { flex-basis: 120px; }
    .ul-product-summary__top h1 { font-size: 40px; }
}

@media (max-width: 900px) {
    .ul-catalog-grid .ul-product-card { flex-basis: calc((100% - 8px) / 2); }
    .ul-product-main { height: auto; flex-direction: column; }
    .ul-product-gallery, .ul-product-summary { width: 100%; flex-basis: auto; }
    .ul-product-gallery { height: 680px; }
    .ul-product-gallery__stage { height: 680px; }
    .ul-product-summary { height: auto; min-height: 600px; }
    .ul-product-details { margin-top: 24px; }
    .ul-product-list--related .ul-product-card { flex-basis: calc((100% - 8px) / 2); }
    .ul-shop-quality__columns { flex-direction: column; gap: 18px; }
}

@media (max-width: 767px) {
    .ul-shop-hero { padding: 28px 12px 0; }
    .ul-shop-hero h1 { font-size: 32px; }
    .ul-shop-toolbar { height: 62px; margin-top: 8px; }
    .ul-catalog-grid .ul-product-card { flex-basis: calc((100% - 8px) / 2); }
    .ul-catalog-grid .ul-product-card__content { min-height: 96px; padding: 8px 6px; }
    .ul-shop-quality { padding: 38px 0 42px; }
    .ul-shop-quality h2 { font-size: 27px; }
    .ul-product-gallery { height: auto; flex-direction: column-reverse; gap: 8px; }
    .ul-product-gallery__thumbs { flex: 0 0 auto; flex-direction: row; width: 100%; height: 90px; overflow-x: auto; }
    .ul-product-gallery__thumb { flex: 0 0 76px; }
    .ul-product-gallery__stage { width: 100%; height: auto; aspect-ratio: 524 / 690; }
    .ul-product-summary { min-height: 520px; padding: 26px 20px; }
    .ul-product-summary__top h1 { font-size: 34px; }
    .ul-product-price > span, .ul-product-price .price, .ul-product-price .amount { font-size: 32px; }
    .ul-product-buy__controls { flex-direction: column; gap: 8px; }
    .ul-product-buy__controls .quantity { flex-basis: 44px; width: 110px; }
    .single_add_to_cart_button.button, .single_add_to_cart_button.button.alt { width: 100%; }
    .ul-product-details { min-height: 0; }
    .ul-product-tab-panel { padding: 22px 18px; }
    .ul-related-products > h2 { font-size: 30px; }
}
.ul-filter-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: transparent; border: 0; font-size: 24px; line-height: 1; }
.ul-filter-row { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 8px; border-radius: 5px; font-size: 12px; }
.ul-filter-row:hover { background: var(--ul-cream); }
.ul-filter-row small { color: #918983; font-size: 10px; }
.ul-filter-panel__footer { display: flex; align-items: center; flex: 0 0 76px; padding: 15px 26px; gap: 8px; border-top: 1px solid #ece6e1; }
.ul-filter-panel__footer .ul-button { flex: 1 1 0; }

/* Importer-linked model colours: separate WooCommerce products connected by _ul_model_group. */
.ul-model-colors{margin:24px 0 8px}.ul-model-colors__label{margin-bottom:10px;font-size:12px;font-weight:600}.ul-model-colors__list{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.ul-model-color{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #d8d3cd;border-radius:50%;padding:4px}.ul-model-color span{display:block;width:100%;height:100%;background:var(--swatch);border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.ul-model-color.is-current{border-color:#000;box-shadow:0 0 0 1px #000}.ul-model-color:focus-visible{outline:2px solid #8c6a5d;outline-offset:3px}

/* 3.2.0 — galeria produktu inspirowana Medhoodie: duże zdjęcia zamiast małych pionowych miniaturek. */
.ul-single-product .ul-product-main {
    align-items: flex-start;
    gap: 16px;
}
.ul-single-product .ul-product-gallery {
    display: block;
    flex: 0 0 calc(58% - 8px);
    height: auto;
    min-width: 0;
}
.ul-product-gallery__feed {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
}
.ul-product-gallery__tile {
    display: block;
    flex: 0 0 calc((100% - 8px) / 2);
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #efedeb;
    border: 0;
    border-radius: 6px;
    cursor: zoom-in;
}
.ul-product-gallery__tile img {
    display: block;
    width: 100%;
    height: auto;
    background: #efedeb;
}
.ul-single-product .ul-product-summary {
    position: sticky;
    top: 88px;
    flex: 0 0 calc(42% - 8px);
    height: auto;
    min-height: 690px;
    padding: 34px 36px 30px;
}
.ul-single-product .ul-model-colors {
    margin-top: 22px;
}
.ul-single-product .ul-model-colors__label {
    font-size: 13px;
}
.ul-single-product .ul-model-color {
    width: 36px;
    height: 36px;
}
.ul-product-lightbox[hidden] { display: none; }
.ul-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ul-product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    background: rgba(0, 0, 0, .78);
    border: 0;
}
.ul-product-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    height: 92vh;
}
.ul-product-lightbox__dialog > img {
    display: block;
    max-width: calc(100% - 120px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ul-product-lightbox__close,
.ul-product-lightbox__nav {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: #fff;
    color: #000;
    border: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}
.ul-product-lightbox__close { top: 0; right: 0; font-size: 28px; }
.ul-product-lightbox__nav { top: 50%; transform: translateY(-50%); }
.ul-product-lightbox__nav--prev { left: 0; }
.ul-product-lightbox__nav--next { right: 0; }
body.ul-lightbox-open { overflow: hidden; }
@media (max-width: 1100px) {
    .ul-single-product .ul-product-gallery,
    .ul-single-product .ul-product-summary { flex: 0 0 calc(50% - 8px); }
    .ul-single-product .ul-product-summary { padding: 28px 26px; }
}
@media (max-width: 900px) {
    .ul-single-product .ul-product-main { flex-direction: column; }
    .ul-single-product .ul-product-gallery,
    .ul-single-product .ul-product-summary { width: 100%; flex-basis: auto; }
    .ul-single-product .ul-product-gallery { height: auto; }
    .ul-single-product .ul-product-summary { position: static; min-height: 0; }
}
@media (max-width: 767px) {
    .ul-product-gallery__feed {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .ul-product-gallery__feed::-webkit-scrollbar { display: none; }
    .ul-product-gallery__tile { flex: 0 0 92%; scroll-snap-align: start; }
    .ul-product-lightbox { padding: 12px; }
    .ul-product-lightbox__dialog { height: 94vh; }
    .ul-product-lightbox__dialog > img { max-width: 100%; max-height: 86vh; }
    .ul-product-lightbox__close,
    .ul-product-lightbox__nav { width: 40px; height: 40px; }
    .ul-product-lightbox__close { top: 8px; right: 8px; }
    .ul-product-lightbox__nav--prev { left: 8px; }
    .ul-product-lightbox__nav--next { right: 8px; }
}

/* 3.3.0 — single product: stable Medhoodie-style gallery, sticky summary and no overlap. */
.ul-single-product .ul-page-padding,
.ul-single-product .ul-product-main,
.ul-single-product .ul-product-details,
.ul-single-product .ul-related-products {
    width: var(--ul-shell);
    max-width: var(--ul-page);
    margin-left: auto;
    margin-right: auto;
}

.ul-single-product .ul-product-main {
    display: flex;
    align-items: flex-start;
    height: auto;
    min-height: 0;
    gap: 12px;
    overflow: visible;
}

.ul-single-product .ul-product-gallery {
    display: block;
    flex: 0 0 calc(56% - 6px);
    width: auto;
    height: auto;
    min-width: 0;
}

.ul-single-product .ul-product-gallery__feed {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
}

.ul-single-product .ul-product-gallery__tile {
    display: block;
    flex: 0 0 calc((100% - 8px) / 2);
    min-width: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #efedeb;
    border: 0;
    border-radius: 7px;
    cursor: zoom-in;
}

.ul-single-product .ul-product-gallery__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 220ms ease;
}

@media (hover: hover) {
    .ul-single-product .ul-product-gallery__tile:hover img {
        transform: scale(1.015);
    }
}

.ul-single-product .ul-product-summary {
    position: sticky;
    top: 88px;
    align-self: flex-start;
    display: flex;
    flex: 0 0 calc(44% - 6px);
    flex-direction: column;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 660px;
    padding: 34px 36px 30px;
    overflow: hidden;
    background: var(--ul-cream);
    border-radius: 7px;
}

body.admin-bar .ul-single-product .ul-product-summary {
    top: 120px;
}

.ul-single-product .ul-product-summary__top,
.ul-single-product .ul-product-form,
.ul-single-product .ul-product-buy,
.ul-single-product .ul-product-buy__controls {
    min-width: 0;
}

.ul-single-product .ul-product-summary__top h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 44px;
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.ul-single-product .ul-product-summary__excerpt,
.ul-single-product .ul-product-summary__excerpt p {
    max-width: 100%;
    color: #4d4845;
    font-size: 13px;
    line-height: 1.55;
}

.ul-single-product .ul-model-colors {
    margin: 24px 0 22px;
}

.ul-single-product .ul-model-colors__label {
    margin-bottom: 11px;
    font-size: 13px;
    font-weight: 500;
}

.ul-single-product .ul-model-colors__label strong {
    font-weight: 700;
}

.ul-single-product .ul-model-colors__list {
    gap: 9px;
}

.ul-single-product .ul-model-color {
    width: 38px;
    height: 38px;
    padding: 4px;
    background: #fff;
    border-color: #d8d3cd;
}

.ul-single-product .ul-model-color.is-current {
    border-color: var(--ul-brown);
    box-shadow: 0 0 0 1px var(--ul-brown);
}

.ul-single-product .ul-product-form {
    margin-top: 0;
}

.ul-single-product .ul-product-options {
    margin-bottom: 16px;
}

.ul-single-product .ul-product-option {
    margin-bottom: 20px;
}

.ul-single-product .ul-product-option legend {
    margin-bottom: 10px;
    font-size: 13px;
}

.ul-single-product .ul-option-button {
    min-width: 43px;
    height: 40px;
    padding: 0 12px;
    border-color: #d5cec8;
    border-radius: 6px;
}

.ul-single-product .ul-option-button.is-selected {
    border-color: var(--ul-brown);
    box-shadow: inset 0 0 0 1px var(--ul-brown);
}

.ul-single-product .ul-product-buy {
    justify-content: flex-end;
    margin-top: auto;
}

.ul-single-product .ul-product-price {
    width: 100%;
    margin: 12px 0 24px;
}

.ul-single-product .ul-product-price > span,
.ul-single-product .ul-product-price .price,
.ul-single-product .ul-product-price .amount {
    font-size: 38px;
    line-height: 1.05;
    white-space: nowrap;
}

.ul-single-product .ul-product-buy__controls {
    width: 100%;
    gap: 14px;
}

.ul-single-product .ul-product-buy__controls .quantity {
    flex: 0 0 112px;
    width: 112px;
    min-width: 112px;
    min-height: 48px;
}

.ul-single-product .single_add_to_cart_button.button,
.ul-single-product .single_add_to_cart_button.button.alt {
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ul-single-product .ul-product-details {
    position: relative;
    z-index: 1;
    min-height: 0;
    margin-top: 42px;
    padding: 0;
    overflow: hidden;
    background: var(--ul-cream);
    border-radius: 7px;
    clear: both;
}

.ul-single-product .ul-product-tabs {
    display: flex;
    align-items: center;
    min-height: 52px;
    height: auto;
    padding: 8px;
    margin: 0;
    background: #fff;
    gap: 8px;
}

.ul-single-product .ul-product-tabs button {
    height: 36px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e7e0da;
    font-size: 12px;
}

.ul-single-product .ul-product-tabs button.is-active {
    border-color: var(--ul-brown);
}

.ul-single-product .ul-product-tab-panel {
    min-height: 154px;
    padding: 28px 32px 32px;
    color: #4d4845;
    font-size: 13px;
    line-height: 1.65;
}

.ul-single-product .ul-product-tab-panel p:last-child {
    margin-bottom: 0;
}

.ul-single-product .ul-related-products {
    margin-top: 64px;
    margin-bottom: 72px;
}

.ul-single-product .ul-related-products > h2 {
    margin: 0 0 26px;
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

@media (max-width: 1280px) {
    .ul-single-product .ul-product-gallery {
        flex-basis: calc(54% - 6px);
    }
    .ul-single-product .ul-product-summary {
        flex-basis: calc(46% - 6px);
        min-height: 620px;
        padding: 30px 28px 26px;
    }
    .ul-single-product .ul-product-summary__top h1 {
        font-size: 38px;
        letter-spacing: 0;
    }
}

@media (max-width: 980px) {
    .ul-single-product .ul-product-main {
        flex-direction: column;
    }
    .ul-single-product .ul-product-gallery,
    .ul-single-product .ul-product-summary {
        width: 100%;
        flex-basis: auto;
    }
    .ul-single-product .ul-product-summary {
        position: static;
        min-height: 0;
        overflow: visible;
    }
    .ul-single-product .ul-product-buy {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .ul-single-product .ul-page-padding,
    .ul-single-product .ul-product-main,
    .ul-single-product .ul-product-details,
    .ul-single-product .ul-related-products {
        width: calc(100% - 24px);
    }

    .ul-single-product .ul-breadcrumbs {
        min-height: 54px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .ul-single-product .ul-product-gallery__feed {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .ul-single-product .ul-product-gallery__feed::-webkit-scrollbar {
        display: none;
    }

    .ul-single-product .ul-product-gallery__tile {
        flex: 0 0 91%;
        aspect-ratio: 4 / 5;
        scroll-snap-align: start;
    }

    .ul-single-product .ul-product-summary {
        padding: 26px 20px 22px;
    }

    .ul-single-product .ul-product-summary__top h1 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: 0;
    }

    .ul-single-product .ul-product-summary__excerpt,
    .ul-single-product .ul-product-summary__excerpt p {
        font-size: 12px;
    }

    .ul-single-product .ul-model-color {
        width: 36px;
        height: 36px;
    }

    .ul-single-product .ul-product-price {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .ul-single-product .ul-product-price > span,
    .ul-single-product .ul-product-price .price,
    .ul-single-product .ul-product-price .amount {
        font-size: 32px;
    }

    .ul-single-product .ul-product-buy__controls {
        flex-direction: column;
        gap: 8px;
    }

    .ul-single-product .ul-product-buy__controls .quantity {
        width: 112px;
        flex-basis: 48px;
    }

    .ul-single-product .ul-product-details {
        margin-top: 24px;
    }

    .ul-single-product .ul-product-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .ul-single-product .ul-product-tabs::-webkit-scrollbar {
        display: none;
    }

    .ul-single-product .ul-product-tabs button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .ul-single-product .ul-product-tab-panel {
        min-height: 0;
        padding: 22px 18px 24px;
        font-size: 12px;
    }

    .ul-single-product .ul-related-products {
        margin-top: 46px;
        margin-bottom: 52px;
    }

    .ul-single-product .ul-related-products > h2 {
        margin-bottom: 20px;
        font-size: 28px;
    }
}

/* ================================================================
   Uniforms Love 3.4.0 — product, cart and checkout polish
   ================================================================ */

/* Product colour navigation: each selectable colour is a separate product URL. */
.ul-single-product .ul-model-colors__list { min-height: 40px; }
.ul-single-product .ul-model-color {
    position: relative;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.ul-single-product a.ul-model-color:hover { transform: translateY(-2px); }
.ul-single-product .ul-model-color.is-loading { opacity: .45; transform: scale(.9); }
.ul-single-product .ul-model-color.is-unavailable {
    cursor: not-allowed;
    opacity: .42;
}
.ul-single-product .ul-model-color.is-unavailable::after {
    position: absolute;
    top: 50%;
    left: 5px;
    width: calc(100% - 10px);
    height: 1px;
    background: #5f5752;
    content: "";
    transform: rotate(-45deg);
    transform-origin: center;
}
.ul-single-product .ul-model-colors__status {
    min-height: 16px;
    margin: 7px 0 0;
    color: #7b706a;
    font-size: 10px;
}
.ul-single-product.is-color-switching .ul-product-summary { opacity: .78; }

/* Unavailable sizes are visible, but crossed out like premium fashion stores. */
.ul-single-product .ul-option-button.is-disabled,
.ul-single-product .ul-option-button:disabled {
    position: relative;
    background: #f6f3f0;
    color: #9c938d;
    cursor: not-allowed;
    opacity: .72;
}
.ul-single-product .ul-option-button.is-disabled::after,
.ul-single-product .ul-option-button:disabled::after {
    position: absolute;
    top: 50%;
    left: 7px;
    width: calc(100% - 14px);
    height: 1px;
    background: #958b84;
    content: "";
    transform: rotate(-18deg);
}

/* Size-chart trigger. */
.ul-size-chart-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 30px;
    padding: 0;
    margin-top: 10px;
    gap: 7px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.ul-size-chart-trigger span:last-child { font-size: 13px; }

/* Animated product lightbox. */
.ul-product-lightbox {
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
}
.ul-product-lightbox.is-open { visibility: visible; opacity: 1; }
.ul-product-lightbox__backdrop {
    background: rgba(17, 15, 14, .86);
    backdrop-filter: blur(5px);
}
.ul-product-lightbox__dialog {
    flex-direction: column;
    max-width: 1320px;
    height: 94vh;
    padding: 48px 72px 72px;
    transform: translateY(16px) scale(.985);
    opacity: 0;
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 220ms ease;
}
.ul-product-lightbox.is-open .ul-product-lightbox__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.ul-product-lightbox__topbar {
    position: absolute;
    top: 5px;
    right: 76px;
    left: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    color: #fff;
    font-size: 11px;
}
.ul-product-lightbox__counter { font-weight: 700; letter-spacing: .5px; }
.ul-product-lightbox__hint { color: rgba(255,255,255,.72); }
.ul-product-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}
.ul-product-lightbox__stage > img {
    display: block;
    max-width: 100%;
    max-height: calc(94vh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 180ms ease;
    user-select: none;
}
.ul-product-lightbox__stage > img.is-zoomed {
    transform: scale(1.7);
    cursor: zoom-out;
}
.ul-product-lightbox__stage > img.is-slide-next { animation: ulLightboxNext 260ms ease both; }
.ul-product-lightbox__stage > img.is-slide-prev { animation: ulLightboxPrev 260ms ease both; }
@keyframes ulLightboxNext {
    0% { opacity: 0; transform: translateX(26px) scale(.985); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ulLightboxPrev {
    0% { opacity: 0; transform: translateX(-26px) scale(.985); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
.ul-product-lightbox__thumbs {
    position: absolute;
    right: 74px;
    bottom: 10px;
    left: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}
.ul-product-lightbox__thumbs::-webkit-scrollbar { display: none; }
.ul-product-lightbox__thumbs button {
    flex: 0 0 42px;
    width: 42px;
    height: 50px;
    padding: 2px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    opacity: .55;
    transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ul-product-lightbox__thumbs button.is-active {
    border-color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}
.ul-product-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ul-product-lightbox__close,
.ul-product-lightbox__nav {
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
    transition: transform 160ms ease, background 160ms ease;
}
.ul-product-lightbox__close:hover,
.ul-product-lightbox__nav:hover { transform: scale(1.06); }
.ul-product-lightbox__nav { top: 48%; }

/* Size-chart modal. */
.ul-size-chart-modal[hidden] { display: none; }
.ul-size-chart-modal {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
}
.ul-size-chart-modal.is-open { visibility: visible; opacity: 1; }
.ul-size-chart-modal__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    background: rgba(25, 21, 18, .6);
    border: 0;
    backdrop-filter: blur(4px);
}
.ul-size-chart-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 26px 90px rgba(39, 27, 20, .22);
    transform: translateY(18px) scale(.985);
    opacity: 0;
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 220ms ease;
}
.ul-size-chart-modal.is-open .ul-size-chart-modal__dialog { transform: translateY(0) scale(1); opacity: 1; }
.ul-size-chart-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 26px 28px 22px;
    background: var(--ul-cream);
    gap: 20px;
}
.ul-size-chart-modal__header span { display: block; margin-bottom: 5px; color: var(--ul-brown); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .65px; }
.ul-size-chart-modal__header h2 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.05; letter-spacing: 0; }
.ul-size-chart-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #fff;
    border: 1px solid #e2d9d2;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}
.ul-size-chart-modal__body { max-height: calc(100vh - 170px); padding: 24px 28px 28px; overflow-y: auto; }
.ul-size-chart-modal__intro { margin: 0 0 18px; color: #645c57; font-size: 12px; line-height: 1.55; }
.ul-size-chart-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e8e1dc; border-radius: 8px; }
.ul-size-chart-table { width: 100%; min-width: 650px; border-collapse: collapse; background: #fff; }
.ul-size-chart-table th,
.ul-size-chart-table td { padding: 13px 14px; border-right: 1px solid #eee7e2; border-bottom: 1px solid #eee7e2; text-align: center; font-size: 12px; }
.ul-size-chart-table thead th { background: #f8f4f0; font-weight: 700; }
.ul-size-chart-table th:first-child { min-width: 180px; text-align: left; }
.ul-size-chart-table tr:last-child th,
.ul-size-chart-table tr:last-child td { border-bottom: 0; }
.ul-size-chart-table th:last-child,
.ul-size-chart-table td:last-child { border-right: 0; }
.ul-size-chart-help { padding-top: 24px; }
.ul-size-chart-help h3 { margin: 0 0 12px; font-size: 17px; }
.ul-size-chart-help__items { display: flex; align-items: stretch; gap: 8px; }
.ul-size-chart-help__items p { flex: 1 1 0; padding: 14px 16px; margin: 0; background: var(--ul-cream); border-radius: 7px; }
.ul-size-chart-help__items strong,
.ul-size-chart-help__items span { display: block; }
.ul-size-chart-help__items strong { margin-bottom: 5px; font-size: 12px; }
.ul-size-chart-help__items span { color: #655d58; font-size: 11px; line-height: 1.45; }
body.ul-size-chart-open { overflow: hidden; }

/* WooCommerce notices — clean, compact and consistent. */
.ul-woocommerce-page .woocommerce-notices-wrapper {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
}
.ul-woocommerce-page .woocommerce-message,
.ul-woocommerce-page .woocommerce-info,
.ul-woocommerce-page .woocommerce-error {
    position: relative;
    width: 100%;
    padding: 14px 16px 14px 44px;
    margin: 0 0 8px;
    background: #faf7f3;
    border: 1px solid #e4dbd4;
    border-left: 3px solid var(--ul-brown);
    border-radius: 7px;
    color: #2f2a27;
    font-size: 12px;
    line-height: 1.45;
    list-style: none;
}
.ul-woocommerce-page .woocommerce-message::before,
.ul-woocommerce-page .woocommerce-info::before,
.ul-woocommerce-page .woocommerce-error::before {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--ul-brown);
    content: "✓";
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    transform: translateY(-50%);
}
.ul-woocommerce-page .woocommerce-error::before { content: "!"; }
.ul-woocommerce-page .woocommerce-message .button { float: right; margin-left: 14px; background: transparent; color: #000; border: 0; text-decoration: underline; }

/* Checkout progress + system-page intro. */
.ul-woo-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: var(--ul-shell);
    max-width: var(--ul-page);
    margin: 0 auto;
    padding: 18px 0 30px;
    gap: 28px;
}
.ul-woo-intro:not(.ul-woo-intro--with-progress) { display: block; }
.ul-woocommerce-page { padding-bottom: 88px; }
.ul-woocommerce-page .ul-woo-page-header {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.ul-woocommerce-page .ul-woo-page-header__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--ul-brown);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}
.ul-woocommerce-page .ul-woo-page-header h1 {
    margin: 0;
    font-size: 50px;
    font-weight: 500;
    line-height: .98;
    letter-spacing: 0;
}
.ul-checkout-progress {
    width: auto;
    max-width: none;
    padding: 5px;
    margin: 0;
    background: #faf8f6;
    border: 1px solid #e8e1db;
    border-radius: 999px;
}
.ul-checkout-progress ol {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
}
.ul-checkout-progress__step {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.ul-checkout-progress__step::after {
    width: 26px;
    height: 1px;
    margin: 0 6px;
    background: #d7cec7;
    content: "";
}
.ul-checkout-progress__step:last-child::after { display: none; }
.ul-checkout-progress__step > span,
.ul-checkout-progress__step > a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 9px 0 4px;
    border-radius: 999px;
    gap: 7px;
    white-space: nowrap;
}
.ul-checkout-progress__step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 1px solid #d8d0ca;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
}
.ul-checkout-progress__step em { color: #6f6761; font-size: 10px; font-style: normal; font-weight: 500; }
.ul-checkout-progress__step.is-current > span { background: #fff; box-shadow: 0 3px 12px rgba(35,25,19,.055); }
.ul-checkout-progress__step.is-current b { background: #000; color: #fff; border-color: #000; }
.ul-checkout-progress__step.is-current em { color: #000; }
.ul-checkout-progress__step.is-complete b { background: var(--ul-brown); color: #fff; border-color: var(--ul-brown); }
.ul-woocommerce-page .ul-woo-content { min-width: 0; }
.ul-woocommerce-page .ul-woo-content > .woocommerce { width: 100%; }

/* Cart: compact editorial rows with full product silhouettes. */
.woocommerce-cart .ul-woo-content > .woocommerce {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.woocommerce-cart .ul-cart-form { flex: 1 1 0; min-width: 0; }
.woocommerce-cart .ul-cart-items { display: flex; flex-direction: column; gap: 10px; }
.woocommerce-cart .ul-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr) 118px 108px;
    align-items: center;
    min-height: 184px;
    padding: 14px 54px 14px 14px;
    background: #fff;
    border: 1px solid #e7e0da;
    border-radius: 14px;
    gap: 22px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.woocommerce-cart .ul-cart-item:hover {
    border-color: #d8cec7;
    box-shadow: 0 12px 30px rgba(31,23,18,.045);
}
.woocommerce-cart .ul-cart-item__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    aspect-ratio: 4 / 5;
    height: auto;
    padding: 10px;
    overflow: hidden;
    background: #f5f4f2;
    border: 1px solid #f0ece8;
    border-radius: 11px;
}
.woocommerce-cart .ul-cart-item__media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.woocommerce-cart .ul-cart-item__media img,
.woocommerce-cart .ul-cart-item__media .ul-order-product-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
}
.woocommerce-cart .ul-cart-item__media img[src*="gift-card"] { max-width: 94%; max-height: 94%; object-fit: contain; object-position: center; background: transparent; }
.woocommerce-cart .ul-cart-item__details { min-width: 0; }
.woocommerce-cart .ul-cart-item__details h2 {
    max-width: 100%;
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
}
.woocommerce-cart .ul-cart-item__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.woocommerce-cart .ul-cart-item__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    background: #f8f5f2;
    border: 1px solid #ebe3dd;
    border-radius: 999px;
    color: #625a55;
    font-size: 9px;
    font-weight: 500;
}
.woocommerce-cart .ul-cart-item__meta { color: #716963; font-size: 9px; line-height: 1.45; }
.woocommerce-cart .ul-cart-item__meta dl { display: flex; flex-wrap: wrap; margin: 3px 0 0; gap: 3px 9px; }
.woocommerce-cart .ul-cart-item__meta dt,
.woocommerce-cart .ul-cart-item__meta dd { margin: 0; }
.woocommerce-cart .ul-cart-item__unit-price { margin-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.woocommerce-cart .ul-cart-item__quantity,
.woocommerce-cart .ul-cart-item__subtotal { min-width: 0; }
.woocommerce-cart .ul-cart-item__quantity > span,
.woocommerce-cart .ul-cart-item__subtotal > span {
    display: block;
    margin-bottom: 7px;
    color: #918780;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.woocommerce-cart .ul-cart-item__subtotal { text-align: right; }
.woocommerce-cart .ul-cart-item__subtotal strong { font-size: 16px; font-weight: 600; white-space: nowrap; }
.woocommerce-cart .ul-cart-item__remove {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #faf8f6;
    border: 1px solid #eee7e2;
    border-radius: 50%;
    color: #544d48;
    font-size: 18px;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease;
}
.woocommerce-cart .ul-cart-item__remove:hover { background: #000; color: #fff; }
.woocommerce-cart .ul-cart-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 0 0;
    gap: 12px;
}
.woocommerce-cart .ul-coupon {
    flex: 1 1 auto;
    max-width: 480px;
    padding: 12px;
    background: #faf8f6;
    border: 1px solid #eee7e1;
    border-radius: 10px;
}
.woocommerce-cart .ul-coupon > label {
    display: block;
    margin-bottom: 7px;
    color: #756c66;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .85px;
    text-transform: uppercase;
}
.woocommerce-cart .ul-coupon > div { display: flex; max-width: none; gap: 6px; }
.woocommerce-cart .ul-coupon input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    background: #fff;
    border: 1px solid #ddd4cd;
    border-radius: 7px;
}
.woocommerce-cart .ul-coupon .button,
.woocommerce-cart .ul-update-cart {
    min-height: 42px;
    padding: 0 17px;
    background: #fff;
    color: #000;
    border: 1px solid #cfc5bd;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.woocommerce-cart .ul-coupon .button:hover,
.woocommerce-cart .ul-update-cart:hover { background: #000; color: #fff; border-color: #000; }
.woocommerce-cart .ul-cart-collaterals {
    position: sticky;
    top: 82px;
    flex: 0 0 356px;
    width: 356px;
    margin: 0;
}
body.admin-bar.woocommerce-cart .ul-cart-collaterals { top: 114px; }
.woocommerce-cart .ul-cart-totals {
    position: relative;
    overflow: hidden;
    padding: 27px;
    background: #fbf7f2;
    color: #171412;
    border: 1px solid #eadfd7;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(35,25,19,.055);
}
.woocommerce-cart .ul-cart-totals::before { display: none; }
.woocommerce-cart .ul-cart-totals h2 {
    margin: 0 0 22px;
    color: #171412;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
}
.woocommerce-cart .ul-totals-list { display: flex; flex-direction: column; }
.woocommerce-cart .ul-totals-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #e7ddd6;
    gap: 14px;
    color: #6b625d;
    font-size: 10px;
}
.woocommerce-cart .ul-totals-row > strong { color: #171412; text-align: right; white-space: nowrap; }
.woocommerce-cart .ul-totals-row--shipping > div { flex: 1 1 auto; min-width: 0; color: #171412; text-align: right; }
.woocommerce-cart .ul-totals-row--total { padding: 17px 0 3px; border-bottom: 0; color: #171412; font-size: 14px; font-weight: 600; }
.woocommerce-cart .ul-totals-row--total strong { font-size: 23px; font-weight: 600; letter-spacing: 0; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 20px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 17px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    transition: transform 160ms ease, background-color 160ms ease;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after { content: "↗"; font-size: 15px; font-weight: 400; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: #24201d; }
.woocommerce-cart .ul-cart-cross-sells { margin-top: 58px; }

/* Quantity controls shared by cart and checkout. */
.woocommerce-cart .quantity,
.woocommerce-checkout .quantity { display: flex; align-items: center; height: 40px; background: #fff; border: 1px solid #d9d1cb; border-radius: 7px; }
.woocommerce-cart .quantity .qty,
.woocommerce-checkout .quantity .qty { width: 40px; height: 38px; padding: 0; background: transparent; border: 0; text-align: center; }
.woocommerce-cart .ul-quantity-button,
.woocommerce-checkout .ul-quantity-button { width: 34px; height: 38px; padding: 0; background: transparent; border: 0; font-size: 16px; }

/* Checkout: shorter two-column form + compact sticky order card. */
.woocommerce-checkout .ul-checkout-layout {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.woocommerce-checkout .ul-checkout-customer {
    flex: 1 1 auto;
    min-width: 0;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #e8e0da;
    border-radius: 12px;
}
.woocommerce-checkout .ul-checkout-customer > h2,
.woocommerce-checkout .ul-checkout-order > h2 { margin: 0 0 18px; font-size: 25px; font-weight: 600; letter-spacing: 0; }
.woocommerce-checkout .ul-checkout-order {
    position: sticky;
    top: 88px;
    flex: 0 0 410px;
    width: 410px;
    padding: 25px;
    background: #fbf7f2;
    border: 1px solid #eadfd7;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(35,25,19,.035);
}
body.admin-bar.woocommerce-checkout .ul-checkout-order { top: 120px; }
.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; }
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 { margin: 14px 0 11px; font-size: 15px; font-weight: 600; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
}
.woocommerce-checkout .form-row { flex: 0 0 100%; width: 100%; padding: 0; margin: 0 0 10px; }
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #shipping_postcode_field,
.woocommerce-checkout #shipping_city_field { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); }
.woocommerce-checkout .form-row label { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 600; }
.woocommerce-checkout .form-row .required { color: var(--ul-brown); }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-selection {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d9d1cb;
    border-radius: 7px;
    box-shadow: none;
    color: #000;
    font: inherit;
    font-size: 11px;
}
.woocommerce-checkout textarea.input-text { min-height: 82px; padding-top: 10px; resize: vertical; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 42px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 6px 28px 6px 0; line-height: 28px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 40px; }
.woocommerce-checkout .ul-review-order__products { display: flex; flex-direction: column; gap: 7px; }
.woocommerce-checkout .ul-review-product {
    display: flex;
    align-items: center;
    padding: 8px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(232,224,218,.7);
    border-radius: 7px;
    gap: 9px;
}
.woocommerce-checkout .ul-review-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    aspect-ratio: 4 / 5;
    height: auto;
    padding: 5px;
    overflow: hidden;
    background: #f4f3f1;
    border: 1px solid #eee9e5;
    border-radius: 6px;
}
.woocommerce-checkout .ul-review-product__image img,
.woocommerce-checkout .ul-review-product__image .ul-order-product-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
}
.woocommerce-checkout .ul-review-product__image img[src*="gift-card"] { max-width: 94%; max-height: 94%; object-fit: contain; object-position: center; background: transparent; }
.woocommerce-checkout .ul-review-product__name { flex: 1 1 auto; min-width: 0; font-size: 10px; }
.woocommerce-checkout .ul-review-product__name > strong { display: block; margin-bottom: 4px; font-size: 11px; line-height: 1.3; }
.woocommerce-checkout .ul-review-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #756d68; font-size: 9px; }
.woocommerce-checkout .ul-review-product__meta > span + span::before { margin-right: 5px; color: #b5aaa2; content: "·"; }
.woocommerce-checkout .ul-review-product__name dl { margin: 3px 0 0; }
.woocommerce-checkout .ul-review-product__subtotal { flex: 0 0 auto; font-size: 11px; font-weight: 700; white-space: nowrap; }
.woocommerce-checkout .ul-review-totals { margin-top: 12px; }
.woocommerce-checkout .ul-totals-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #e7ddd6;
    gap: 12px;
    font-size: 10px;
}
.woocommerce-checkout .ul-totals-row > strong { text-align: right; white-space: nowrap; }
.woocommerce-checkout .ul-totals-row--shipping > div { flex: 1 1 auto; min-width: 0; text-align: right; }
.woocommerce-checkout .ul-totals-row--total { padding: 14px 0 2px; border-bottom: 0; font-size: 13px; font-weight: 700; }
.woocommerce-checkout .ul-totals-row--total strong { font-size: 20px; }
.woocommerce-checkout #payment {
    padding: 14px;
    margin-top: 14px;
    background: #fff;
    border: 1px solid #e5dbd4;
    border-radius: 8px;
}
.woocommerce-checkout #payment ul.payment_methods { padding: 0; margin: 0; border: 0; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods > li { padding: 8px 0; border-bottom: 1px solid #eee6e0; }
.woocommerce-checkout #payment ul.payment_methods > li:last-child { border-bottom: 0; }
.woocommerce-checkout #payment .payment_box { padding: 8px 0 0; margin: 0; background: transparent; color: #665e59; font-size: 10px; line-height: 1.45; }
.woocommerce-checkout #payment .payment_box::before { display: none; }
.woocommerce-checkout .place-order { padding: 14px 0 0; margin: 0; }
.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { color: #756c67; font-size: 9px; line-height: 1.4; }

/* My Account: editorial, premium client area. */
.woocommerce-account .ul-woo-content > .woocommerce {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 88px;
    flex: 0 0 270px;
    overflow: hidden;
    background: #faf8f6;
    border: 1px solid #ebe5e0;
    border-radius: 16px;
}
body.admin-bar.woocommerce-account .woocommerce-MyAccount-navigation { top: 120px; }
.ul-account-navigation__head {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 18px;
    border-bottom: 1px solid #e9e2dc;
}
.ul-account-navigation__head > span { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.ul-account-navigation__head > small { margin-top: 5px; color: #8a817b; font-size: 10px; line-height: 1.4; }
.ul-account-navigation ul { padding: 9px; margin: 0; list-style: none; }
.ul-account-navigation li { padding: 0; margin: 0; list-style: none; }
.ul-account-navigation li + li { margin-top: 3px; }
.ul-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { padding-top: 8px; margin-top: 8px; border-top: 1px solid #e9e2dc; }
.ul-account-navigation a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 10px;
    gap: 10px;
    color: #221f1d;
    font-size: 11px;
    font-weight: 500;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.ul-account-navigation a:hover { background: #f0ebe7; transform: translateX(2px); }
.ul-account-navigation li.is-active a,
.ul-account-navigation a[aria-current="page"] { background: #11100f; color: #fff; }
.ul-account-navigation__index {
    flex: 0 0 24px;
    width: 24px;
    color: #a79d96;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .4px;
}
.ul-account-navigation li.is-active .ul-account-navigation__index,
.ul-account-navigation a[aria-current="page"] .ul-account-navigation__index { color: rgba(255,255,255,.55); }
.ul-account-navigation__label { flex: 1 1 auto; min-width: 0; }
.ul-account-navigation__arrow { flex: 0 0 auto; font-size: 14px; transition: transform 160ms ease; }
.ul-account-navigation a:hover .ul-account-navigation__arrow { transform: translate(2px,-2px); }

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }

.ul-account-dashboard__welcome {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
    min-height: 260px;
    overflow: hidden;
    background: #f7f2ed;
    border: 1px solid #ebe2db;
    border-radius: 18px;
}
.ul-account-dashboard__welcome-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 760px;
    padding: 42px;
}
.ul-account-dashboard__kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ul-brown);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}
.ul-account-dashboard__welcome h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 500;
    line-height: .98;
    letter-spacing: 0;
}
.ul-account-dashboard__welcome p { max-width: 580px; margin: 17px 0 0; color: #655d58; font-size: 12px; line-height: 1.6; }
.ul-account-dashboard__profile {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    min-width: 0;
    padding: 34px;
    background: #11100f;
    color: #fff;
}
.ul-account-dashboard__profile > span { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ul-account-dashboard__profile > strong { display: block; overflow: hidden; margin-top: 8px; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ul-account-dashboard__profile > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    margin-top: 28px;
    background: #fff;
    color: #000;
    border-radius: 9px;
    gap: 18px;
    font-size: 10px;
    font-weight: 600;
}
.ul-account-dashboard__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ul-account-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    min-height: 150px;
    padding: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e2dd;
    border-radius: 14px;
    gap: 14px;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.ul-account-card:hover { border-color: #d4cac2; box-shadow: 0 14px 34px rgba(29,21,17,.055); transform: translateY(-2px); }
.ul-account-card__number {
    position: absolute;
    top: 17px;
    left: 20px;
    color: #b6aca5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .65px;
}
.ul-account-card__copy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.ul-account-card strong { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.ul-account-card small { max-width: 230px; margin-top: 5px; color: #7a716b; font-size: 10px; line-height: 1.45; }
.ul-account-card > b { flex: 0 0 auto; font-size: 18px; font-weight: 400; transition: transform 160ms ease; }
.ul-account-card:hover > b { transform: translate(2px,-2px); }

/* My Account endpoint content. */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { max-width: 760px; }
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 { color: #111; font-weight: 500; letter-spacing: 0; }
.woocommerce-account .woocommerce-MyAccount-content h2 { margin: 0 0 22px; font-size: 31px; }
.woocommerce-account .woocommerce-MyAccount-content h3 { margin: 0 0 14px; font-size: 19px; }
.woocommerce-account .woocommerce-MyAccount-content p { color: #625b56; font-size: 12px; line-height: 1.65; }
.woocommerce-account .woocommerce-MyAccount-content mark { padding: 2px 6px; background: #f4ece6; color: inherit; border-radius: 5px; }
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    background: #11100f;
    color: #fff;
    border: 1px solid #11100f;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover { background: #2b2826; color: #fff; }

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table,
.woocommerce-account table.shop_table {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e2dd;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    font-size: 11px;
}
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-table th,
.woocommerce-account table.shop_table th {
    padding: 14px 16px;
    background: #faf8f6;
    border: 0;
    border-bottom: 1px solid #e9e2dc;
    color: #817871;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
}
.woocommerce-account .woocommerce-orders-table td,
.woocommerce-account .woocommerce-table td,
.woocommerce-account table.shop_table td { padding: 16px; border: 0; border-bottom: 1px solid #eee8e3; vertical-align: middle; }
.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
.woocommerce-account .woocommerce-table tbody tr:last-child td,
.woocommerce-account table.shop_table tbody tr:last-child td { border-bottom: 0; }
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { min-height: 34px; padding: 0 12px; margin: 2px; }

.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.woocommerce-account .woocommerce-Address { width: auto; min-height: 220px; padding: 24px; background: #faf8f6; border: 1px solid #ebe3dd; border-radius: 14px; }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 { margin: 0; }
.woocommerce-account .woocommerce-Address-title .edit { font-size: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-account address { margin-top: 18px; color: #655e59; font-size: 11px; font-style: normal; line-height: 1.75; }

.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields { max-width: 920px; padding: 28px; background: #faf8f6; border: 1px solid #ebe3dd; border-radius: 14px; }
.woocommerce-account .form-row { padding: 0; margin: 0 0 15px; }
.woocommerce-account .form-row label { display: block; margin-bottom: 7px; color: #2e2a28; font-size: 10px; font-weight: 600; }
.woocommerce-account .form-row .required { color: var(--ul-brown); }
.woocommerce-account .input-text,
.woocommerce-account select,
.woocommerce-account textarea,
.woocommerce-account .select2-selection {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d9d1cb;
    border-radius: 9px;
    box-shadow: none;
    font-size: 11px;
}
.woocommerce-account textarea.input-text { min-height: 110px; padding-top: 12px; }
.woocommerce-account fieldset { padding: 22px; margin: 24px 0; background: #fff; border: 1px solid #e9e2dc; border-radius: 12px; }
.woocommerce-account fieldset legend { padding: 0 8px; font-size: 12px; font-weight: 600; }

/* Logged-out account forms. */
.woocommerce-account:not(.logged-in) .ul-woo-content > .woocommerce { display: block; }
.woocommerce-account .u-columns { display: flex; align-items: flex-start; gap: 14px; }
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 { float: none; flex: 1 1 0; width: auto; }
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    padding: 28px;
    margin: 0;
    background: #fbf8f5;
    border: 1px solid #ebe3dd;
    border-radius: 12px;
}
.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row { margin-bottom: 14px; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 7px; }
.woocommerce-account .woocommerce-LostPassword { margin-top: 12px; }
.woocommerce-account .woocommerce-LostPassword a { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1120px) {
    .woocommerce-account .ul-woo-content > .woocommerce { gap: 18px; }
    .woocommerce-account .woocommerce-MyAccount-navigation { flex-basis: 232px; }
    .ul-account-dashboard__welcome { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .75fr); }
    .ul-account-dashboard__welcome-copy { padding: 34px; }
    .ul-account-dashboard__welcome h2 { font-size: 42px; }
    .ul-account-dashboard__profile { padding: 28px; }
}
@media (max-width: 860px) {
    .woocommerce-account .ul-woo-content > .woocommerce { flex-direction: column; }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content { width: 100%; flex-basis: auto; }
    .woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
    .ul-account-navigation__head { display: none; }
    .ul-account-navigation ul { display: flex; overflow-x: auto; padding: 6px; gap: 4px; scrollbar-width: none; }
    .ul-account-navigation ul::-webkit-scrollbar { display: none; }
    .ul-account-navigation li { flex: 0 0 auto; }
    .ul-account-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { padding-top: 0; margin-top: 0; border-top: 0; }
    .ul-account-navigation a { min-width: 138px; }
    .ul-account-dashboard__welcome { grid-template-columns: 1fr; }
    .ul-account-dashboard__profile { min-height: 170px; }
    .ul-account-dashboard__cards { grid-template-columns: 1fr; }
    .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
    .woocommerce-account .u-columns { flex-direction: column; }
    .woocommerce-account .u-column1,
    .woocommerce-account .u-column2 { width: 100%; }
}
@media (max-width: 767px) {
    .ul-account-navigation a { min-width: 124px; min-height: 42px; padding: 0 10px; }
    .ul-account-navigation__index { display: none; }
    .ul-account-navigation__arrow { display: none; }
    .ul-account-dashboard__welcome { border-radius: 14px; }
    .ul-account-dashboard__welcome-copy { min-height: 220px; padding: 26px 20px; }
    .ul-account-dashboard__welcome h2 { font-size: 36px; letter-spacing: 0; }
    .ul-account-dashboard__profile { min-height: 150px; padding: 22px 20px; }
    .ul-account-card { min-height: 126px; padding: 18px; }
    .woocommerce-account .woocommerce-orders-table,
    .woocommerce-account .woocommerce-table,
    .woocommerce-account table.shop_table { display: block; overflow-x: auto; white-space: nowrap; }
    .woocommerce-account .woocommerce-EditAccountForm,
    .woocommerce-account .woocommerce-address-fields,
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register { padding: 20px 16px; border-radius: 12px; }
}

/* Order received. */
.woocommerce-order-received .woocommerce-order { max-width: 900px; padding: 34px; margin: 0 auto; background: var(--ul-cream); border-radius: 10px; }
.woocommerce-order-received .woocommerce-thankyou-order-received { margin: 0 0 24px; font-size: 20px; font-weight: 600; }
.woocommerce-order-received .woocommerce-order-overview { display: flex; flex-wrap: wrap; padding: 16px; margin: 0 0 24px; background: #fff; border-radius: 7px; gap: 14px; list-style: none; }
.woocommerce-order-received .woocommerce-order-overview li { flex: 1 1 160px; margin: 0; padding: 0; border: 0; }

@media (max-width: 1180px) {
    .woocommerce-cart .ul-cart-collaterals { flex-basis: 320px; width: 320px; }
    .woocommerce-checkout .ul-checkout-order { flex-basis: 370px; width: 370px; }
    .woocommerce-cart .ul-cart-item {
        grid-template-columns: 126px minmax(0, 1fr) 108px 92px;
        min-height: 170px;
        gap: 16px;
    }
    .woocommerce-cart .ul-cart-item__media { width: 126px; aspect-ratio: 4 / 5; height: auto; padding: 9px; }
}
@media (max-width: 980px) {
    .ul-woo-intro--with-progress { grid-template-columns: 1fr; align-items: start; gap: 18px; }
    .ul-checkout-progress { justify-self: start; }
    .woocommerce-cart .ul-woo-content > .woocommerce,
    .woocommerce-checkout .ul-checkout-layout { flex-direction: column; }
    .woocommerce-cart .ul-cart-form,
    .woocommerce-cart .ul-cart-collaterals,
    .woocommerce-checkout .ul-checkout-customer,
    .woocommerce-checkout .ul-checkout-order { width: 100%; flex-basis: auto; }
    .woocommerce-cart .ul-cart-collaterals,
    .woocommerce-checkout .ul-checkout-order { position: static; }
    .woocommerce-cart .ul-cart-totals { max-width: none; }
}
@media (max-width: 767px) {
    .ul-woocommerce-page { padding-bottom: 64px; }
    .ul-woo-intro { padding: 14px 0 22px; }
    .ul-woocommerce-page .ul-woo-page-header h1 { font-size: 38px; letter-spacing: 0; }
    .ul-checkout-progress { width: 100%; overflow-x: auto; padding: 4px; border-radius: 12px; scrollbar-width: none; }
    .ul-checkout-progress::-webkit-scrollbar { display: none; }
    .ul-checkout-progress ol { justify-content: flex-start; min-width: 390px; }
    .ul-checkout-progress__step::after { width: 14px; margin: 0 3px; }
    .ul-checkout-progress__step > span,
    .ul-checkout-progress__step > a { padding-right: 6px; }
    .ul-checkout-progress__step em { font-size: 9px; }

    .woocommerce-cart .ul-cart-item {
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
            "media details"
            "media quantity"
            "media subtotal";
        align-items: start;
        min-height: 0;
        padding: 10px 42px 12px 10px;
        gap: 7px 12px;
        border-radius: 12px;
    }
    .woocommerce-cart .ul-cart-item__media { grid-area: media; width: 96px; aspect-ratio: 4 / 5; height: auto; padding: 7px; border-radius: 8px; }
    .woocommerce-cart .ul-cart-item__details { grid-area: details; }
    .woocommerce-cart .ul-cart-item__details h2 { margin-bottom: 6px; font-size: 14px; }
    .woocommerce-cart .ul-cart-item__badges { margin-bottom: 5px; }
    .woocommerce-cart .ul-cart-item__badges span { min-height: 22px; padding: 0 7px; font-size: 8px; }
    .woocommerce-cart .ul-cart-item__unit-price { margin-top: 5px; font-size: 12px; }
    .woocommerce-cart .ul-cart-item__quantity { grid-area: quantity; }
    .woocommerce-cart .ul-cart-item__subtotal { grid-area: subtotal; text-align: left; }
    .woocommerce-cart .ul-cart-item__quantity > span,
    .woocommerce-cart .ul-cart-item__subtotal > span { display: inline-block; margin: 0 8px 0 0; }
    .woocommerce-cart .ul-cart-item__subtotal strong { font-size: 14px; }
    .woocommerce-cart .ul-cart-item__remove { top: 9px; right: 9px; width: 28px; height: 28px; }
    .woocommerce-cart .ul-cart-actions { align-items: stretch; flex-direction: column; }
    .woocommerce-cart .ul-coupon { max-width: none; }
    .woocommerce-cart .ul-coupon > div { flex-direction: column; }
    .woocommerce-cart .ul-coupon .button,
    .woocommerce-cart .ul-update-cart { width: 100%; }
    .woocommerce-cart .ul-cart-totals { padding: 22px 18px; border-radius: 13px; }

    .woocommerce-checkout .ul-checkout-customer,
    .woocommerce-checkout .ul-checkout-order { padding: 20px 16px; }
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last,
    .woocommerce-checkout #billing_postcode_field,
    .woocommerce-checkout #billing_city_field,
    .woocommerce-checkout #billing_phone_field,
    .woocommerce-checkout #billing_email_field,
    .woocommerce-checkout #shipping_postcode_field,
    .woocommerce-checkout #shipping_city_field { flex-basis: 100%; width: 100%; }
    .woocommerce-checkout .ul-review-product__image { flex-basis: 56px; width: 56px; height: 66px; }
    .ul-size-chart-modal { padding: 10px; }
    .ul-size-chart-modal__dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
    .ul-size-chart-modal__header { padding: 22px 18px 18px; }
    .ul-size-chart-modal__header h2 { font-size: 25px; }
    .ul-size-chart-modal__body { max-height: calc(100vh - 120px); padding: 18px; }
    .ul-size-chart-help__items { flex-direction: column; }
    .ul-product-lightbox__dialog { height: 96vh; padding: 52px 48px 78px; }
    .ul-product-lightbox__topbar { right: 54px; left: 54px; }
    .ul-product-lightbox__hint { display: none; }
    .ul-product-lightbox__stage > img { max-height: calc(96vh - 150px); }
    .ul-product-lightbox__thumbs { right: 48px; left: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .ul-product-lightbox,
    .ul-product-lightbox__dialog,
    .ul-product-lightbox__stage > img,
    .ul-size-chart-modal,
    .ul-size-chart-modal__dialog,
    .ul-model-color { transition: none; }
    .ul-product-lightbox__stage > img.is-slide-next,
    .ul-product-lightbox__stage > img.is-slide-prev { animation: none; }
}

/* Extra system states. */
.woocommerce-cart .ul-empty-cart {
    max-width: 680px;
    padding: 56px 34px;
    margin: 0 auto;
    background: var(--ul-cream);
    border-radius: 10px;
    text-align: center;
}
.woocommerce-cart .ul-empty-cart__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 50%;
}
.woocommerce-cart .ul-empty-cart__icon img { width: 32px; height: 32px; object-fit: contain; }
.woocommerce-cart .ul-empty-cart h2 { margin: 0 0 12px; font-size: 32px; font-weight: 600; letter-spacing: 0; }
.woocommerce-cart .ul-empty-cart > p { max-width: 500px; margin: 0 auto 22px; color: #655d58; font-size: 13px; line-height: 1.55; }
.woocommerce-cart .ul-empty-cart .return-to-shop { margin-bottom: 0; }
.woocommerce-cart .ul-empty-cart .wc-backward { display: inline-flex; min-height: 46px; padding: 0 20px; }

.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] { accent-color: #000; }
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .woocommerce-form__label-for-radio { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.4; }
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle { margin-bottom: 12px; }
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.login {
    padding: 16px;
    margin: 0 0 18px;
    background: #faf7f3;
    border: 1px solid #e4dbd4;
    border-radius: 7px;
}

@media (max-width: 767px) {
    .woocommerce-cart .ul-empty-cart { padding: 42px 20px; }
    .woocommerce-cart .ul-empty-cart h2 { font-size: 27px; }
}

/* ================================================================
   Uniforms Love 3.6.0 — 145 standalone products + premium PDP UX
   ================================================================ */

/* Standalone size links: every size is now a separate WooCommerce product. */
.ul-standalone-sizes {
    margin: 22px 0 12px;
}
.ul-standalone-sizes__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    margin-bottom: 10px;
    gap: 14px;
    font-size: 13px;
}
.ul-standalone-sizes__head > span {
    font-weight: 500;
}
.ul-standalone-sizes__head strong {
    font-weight: 700;
}
.ul-standalone-sizes__head .ul-size-chart-trigger {
    min-height: 24px;
    margin: 0;
    font-size: 11px;
}
.ul-standalone-sizes__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.ul-standalone-size {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d8d0ca;
    border-radius: 7px;
    color: #141211;
    font-size: 13px;
    font-weight: 500;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease, opacity 150ms ease;
}
a.ul-standalone-size:hover {
    border-color: #8c6a5d;
    transform: translateY(-2px);
}
.ul-standalone-size.is-current {
    background: #111;
    border-color: #111;
    color: #fff;
}
.ul-standalone-size.is-unavailable {
    background: #f4f1ee;
    color: #9b938d;
    cursor: not-allowed;
    opacity: .72;
}
.ul-standalone-size.is-unavailable::after {
    position: absolute;
    top: 50%;
    left: 7px;
    width: calc(100% - 14px);
    height: 1px;
    background: #8f8680;
    content: "";
    transform: rotate(-19deg);
}
.ul-standalone-size.is-loading,
.ul-model-color.is-loading {
    opacity: .42;
    transform: scale(.94);
}
.ul-single-product.is-product-switching .ul-product-summary {
    opacity: .72;
    transition: opacity 120ms ease;
}

/* Gallery: premium circular plus follows the pointer. */
.ul-product-gallery__tile {
    position: relative;
    cursor: none;
    isolation: isolate;
}
.ul-product-gallery__tile::after {
    position: absolute;
    z-index: 3;
    top: var(--ul-zoom-y, 50%);
    left: var(--ul-zoom-x, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.74);
    border-radius: 50%;
    box-shadow: 0 12px 38px rgba(27,20,17,.16);
    color: #171412;
    content: "+";
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transform: scale(.72);
    transition: opacity 130ms ease, transform 180ms cubic-bezier(.2,.75,.25,1);
}
.ul-product-gallery__tile.has-zoom-cursor::after {
    opacity: 1;
    transform: scale(1);
}
.ul-product-gallery__tile img {
    transition: transform 420ms cubic-bezier(.2,.75,.25,1), filter 300ms ease;
}
.ul-product-gallery__tile:hover img {
    transform: scale(1.018);
    filter: saturate(1.02);
}

/* Window-style gallery viewer — deliberately not full-screen. */
.ul-product-lightbox {
    padding: 40px;
    background: transparent;
}
.ul-product-lightbox__backdrop {
    background: rgba(20,16,14,.72);
    backdrop-filter: blur(12px);
}
.ul-product-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: calc(100vw - 80px);
    max-width: 1180px;
    height: calc(100vh - 80px);
    max-height: 820px;
    padding: 0;
    overflow: hidden;
    background: #fffaf5;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 20px;
    box-shadow: 0 38px 120px rgba(14,10,8,.38);
    opacity: 0;
    transform: translateY(26px) scale(.965);
    transition: transform 360ms cubic-bezier(.16,.8,.2,1), opacity 260ms ease;
}
.ul-product-lightbox.is-open .ul-product-lightbox__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ul-product-lightbox__topbar {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 76px;
    min-height: 76px;
    padding: 12px 16px 12px 24px;
    background: #fffaf5;
    border-bottom: 1px solid #ebe2da;
    color: #171412;
}
.ul-product-lightbox__identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}
.ul-product-lightbox__identity span,
.ul-product-lightbox__rail-label {
    color: #8c6a5d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ul-product-lightbox__identity strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ul-product-lightbox__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ul-product-lightbox__counter {
    min-width: 50px;
    color: #726862;
    font-size: 11px;
    font-weight: 600;
    text-align: right;
}
.ul-product-lightbox__close {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid #e6ddd6;
    border-radius: 50%;
    box-shadow: none;
    color: #171412;
    font-size: 25px;
    line-height: 1;
}
.ul-product-lightbox__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}
.ul-product-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 18px 72px 18px;
    overflow: hidden;
    background: #e8e6e4;
}
.ul-product-lightbox__stage > img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(43,36,32,.08);
    cursor: zoom-in;
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    transition: transform 300ms cubic-bezier(.2,.75,.25,1), opacity 180ms ease;
    user-select: none;
}
.ul-product-lightbox__stage > img.is-zoomed {
    transform: scale(1.55);
    cursor: zoom-out;
}
.ul-product-lightbox__stage > img.is-slide-next {
    animation: ulViewerNext 340ms cubic-bezier(.2,.75,.25,1) both;
}
.ul-product-lightbox__stage > img.is-slide-prev {
    animation: ulViewerPrev 340ms cubic-bezier(.2,.75,.25,1) both;
}
@keyframes ulViewerNext {
    0% { opacity: 0; transform: translateX(34px) scale(.97); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ulViewerPrev {
    0% { opacity: 0; transform: translateX(-34px) scale(.97); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
.ul-product-lightbox__nav {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(31,24,20,.12);
    color: #171412;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
}
.ul-product-lightbox__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.07);
}
.ul-product-lightbox__nav--prev { left: 16px; }
.ul-product-lightbox__nav--next { right: 16px; }
.ul-product-lightbox__zoom-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    padding: 7px 11px;
    background: rgba(255,255,255,.86);
    border-radius: 999px;
    color: #5d5550;
    font-size: 9px;
    letter-spacing: .2px;
    pointer-events: none;
    transform: translateX(-50%);
}
.ul-product-lightbox__rail {
    display: flex;
    flex-direction: column;
    flex: 0 0 164px;
    width: 164px;
    min-width: 0;
    padding: 18px 14px 14px;
    background: #fffaf5;
    border-left: 1px solid #ebe2da;
}
.ul-product-lightbox__rail-label {
    margin: 2px 4px 10px;
}
.ul-product-lightbox__rail > p {
    margin: auto 4px 3px;
    color: #8a817b;
    font-size: 9px;
    line-height: 1.5;
}
.ul-product-lightbox__thumbs {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    max-height: calc(100% - 92px);
    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
}
.ul-product-lightbox__thumbs button {
    position: relative;
    flex: 0 0 90px;
    width: 100%;
    height: 90px;
    padding: 3px;
    overflow: hidden;
    background: #ede9e5;
    border: 1px solid transparent;
    border-radius: 9px;
    opacity: .68;
    transform: none;
    transition: opacity 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.ul-product-lightbox__thumbs button.is-active {
    border-color: #8c6a5d;
    box-shadow: 0 0 0 1px #8c6a5d;
    opacity: 1;
    transform: none;
}
.ul-product-lightbox__thumbs button:hover {
    opacity: 1;
    transform: translateX(-2px);
}
.ul-product-lightbox__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
}

/* Size chart: editorial split layout with vector garment guide. */
.ul-size-chart-modal {
    padding: 32px;
}
.ul-size-chart-modal__backdrop {
    background: rgba(26,21,18,.66);
    backdrop-filter: blur(10px);
}
.ul-size-chart-modal__dialog {
    width: calc(100vw - 64px);
    max-width: 1180px;
    max-height: calc(100vh - 64px);
    border-radius: 18px;
    box-shadow: 0 36px 110px rgba(35,24,18,.28);
}
.ul-size-chart-modal__header {
    padding: 20px 24px 18px;
    background: #fffaf5;
    border-bottom: 1px solid #eadfd7;
}
.ul-size-chart-modal__header h2 {
    font-size: 32px;
    letter-spacing: 0;
}
.ul-size-chart-modal__body {
    display: flex;
    max-height: calc(100vh - 166px);
    padding: 0;
    overflow: hidden;
}
.ul-size-chart-modal__visual {
    display: flex;
    flex-direction: column;
    flex: 0 0 36%;
    min-width: 0;
    padding: 28px 26px 24px;
    background: #f7eee7;
    border-right: 1px solid #eadfd7;
}
.ul-size-chart-modal__visual-copy > span {
    color: #8c6a5d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ul-size-chart-modal__visual-copy h3 {
    margin: 8px 0 10px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}
.ul-size-chart-modal__visual-copy p {
    margin: 0;
    color: #685e58;
    font-size: 11px;
    line-height: 1.55;
}
.ul-size-chart-modal__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 260px;
    padding: 10px 0 2px;
}
.ul-size-guide-svg {
    display: block;
    width: 100%;
    max-width: 290px;
    height: auto;
    overflow: visible;
}
.ul-size-guide-svg .ul-size-guide-garment {
    stroke: #8c6a5d;
    stroke-width: 2;
}
.ul-size-guide-svg .ul-size-guide-seam {
    fill: none;
    stroke: #c1a99b;
    stroke-dasharray: 4 5;
    stroke-width: 1.5;
}
.ul-size-guide-svg .ul-size-guide-line {
    fill: none;
    stroke: #171412;
    stroke-width: 1.6;
}
.ul-size-guide-svg circle {
    fill: #171412;
}
.ul-size-guide-svg text {
    fill: #171412;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
}
.ul-size-guide-svg .ul-size-guide-label {
    fill: #776d66;
    font-size: 9px;
    font-weight: 500;
}
.ul-size-chart-modal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.ul-size-chart-modal__legend span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px 0 5px;
    background: rgba(255,255,255,.72);
    border: 1px solid #eadcd2;
    border-radius: 999px;
    gap: 6px;
    color: #655b55;
    font-size: 9px;
}
.ul-size-chart-modal__legend b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #171412;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
}
.ul-size-chart-modal__data {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 28px 30px;
    overflow-y: auto;
    background: #fff;
}
.ul-size-chart-modal__intro {
    margin-bottom: 16px;
}
.ul-size-chart-table-wrap {
    border-color: #e6ddd6;
    border-radius: 10px;
}
.ul-size-chart-table {
    min-width: 600px;
}
.ul-size-chart-table th,
.ul-size-chart-table td {
    padding: 12px 10px;
}
.ul-size-chart-table .is-current-size {
    background: #efe2d8;
    color: #6f5043;
    font-weight: 700;
}
.ul-size-chart-source-note {
    padding: 10px 12px;
    margin: 12px 0 0;
    background: #fff7ea;
    border: 1px solid #eedcbe;
    border-radius: 7px;
    color: #6a5848;
    font-size: 10px;
    line-height: 1.45;
}
.ul-size-chart-help {
    padding-top: 22px;
}
.ul-size-chart-help h3 {
    margin-bottom: 10px;
    font-size: 15px;
}
.ul-size-chart-help__items {
    display: flex;
    gap: 8px;
}
.ul-size-chart-help__items p {
    display: flex;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px;
    background: #fffaf5;
    border: 1px solid #eee3db;
    gap: 8px;
}
.ul-size-chart-help__items strong {
    flex: 0 0 auto;
    color: #8c6a5d;
    font-size: 10px;
}
.ul-size-chart-help__items span {
    color: #655d58;
    font-size: 10px;
}

@media (max-width: 900px) {
    .ul-product-gallery__tile {
        cursor: pointer;
    }
    .ul-product-gallery__tile::after {
        display: none;
    }
    .ul-product-lightbox {
        padding: 12px;
    }
    .ul-product-lightbox__dialog {
        width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        max-height: none;
        border-radius: 14px;
    }
    .ul-product-lightbox__topbar {
        flex-basis: 64px;
        min-height: 64px;
        padding: 8px 10px 8px 16px;
    }
    .ul-product-lightbox__identity strong {
        max-width: 230px;
        font-size: 11px;
    }
    .ul-product-lightbox__body {
        flex-direction: column;
    }
    .ul-product-lightbox__stage {
        flex: 1 1 auto;
        padding: 14px 54px;
    }
    .ul-product-lightbox__rail {
        flex: 0 0 102px;
        width: 100%;
        padding: 9px 10px;
        border-top: 1px solid #ebe2da;
        border-left: 0;
    }
    .ul-product-lightbox__rail-label,
    .ul-product-lightbox__rail > p {
        display: none;
    }
    .ul-product-lightbox__thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .ul-product-lightbox__thumbs button {
        flex: 0 0 72px;
        width: 72px;
        height: 82px;
    }
    .ul-product-lightbox__zoom-hint {
        display: none;
    }
    .ul-size-chart-modal {
        padding: 12px;
    }
    .ul-size-chart-modal__dialog {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        border-radius: 14px;
    }
    .ul-size-chart-modal__header h2 {
        font-size: 25px;
    }
    .ul-size-chart-modal__body {
        display: block;
        max-height: calc(100vh - 122px);
        overflow-y: auto;
    }
    .ul-size-chart-modal__visual {
        padding: 22px 20px;
        border-right: 0;
        border-bottom: 1px solid #eadfd7;
    }
    .ul-size-chart-modal__illustration {
        min-height: 220px;
    }
    .ul-size-guide-svg {
        max-width: 220px;
    }
    .ul-size-chart-modal__data {
        padding: 22px 18px 24px;
        overflow: visible;
    }
    .ul-size-chart-help__items {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .ul-standalone-sizes__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .ul-standalone-size {
        min-width: 43px;
        height: 40px;
        padding: 0 10px;
    }
    .ul-product-lightbox__stage {
        padding: 10px 44px;
    }
    .ul-product-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .ul-product-lightbox__nav--prev { left: 7px; }
    .ul-product-lightbox__nav--next { right: 7px; }
    .ul-product-lightbox__counter {
        display: none;
    }
}

/* 4.9.0 - full product photography and compact sticky product information */
.ul-product-card__image--curated {
    object-fit: contain;
    object-position: center center;
    background: #efefef;
}
.ul-single-product .ul-product-gallery__tile:first-child img {
    object-fit: contain;
    object-position: center center;
    padding: 8px;
    background: #efefef;
}
.ul-single-product .ul-product-summary {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d5ccc5 transparent;
}
.ul-single-product .ul-product-summary::-webkit-scrollbar { width: 5px; }
.ul-single-product .ul-product-summary::-webkit-scrollbar-thumb { background: #d5ccc5; border-radius: 999px; }
.ul-product-summary-accordions {
    margin-top: 22px;
    border-top: 1px solid #ded6d0;
}
.ul-product-summary-accordions details {
    border-bottom: 1px solid #ded6d0;
}
.ul-product-summary-accordions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}
.ul-product-summary-accordions summary::-webkit-details-marker { display: none; }
.ul-product-summary-accordions summary span {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}
.ul-product-summary-accordions details[open] summary span { transform: rotate(45deg); }
.ul-product-summary-accordions details > div {
    padding: 0 0 18px;
    color: #514c48;
    font-size: 12px;
    line-height: 1.62;
}
.ul-product-summary-accordions details > div p { margin: 0; }
@media (max-width: 1100px) {
    .ul-single-product .ul-product-summary { max-height: none; overflow: visible; }
}
