/*
Theme Name: Oilmarket Showcase
Theme URI: https://oilmarket.local/
Author: Viktor
Description: Custom storefront theme for the Oilmarket WooCommerce project.
Version: 0.1.0
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: oilmarket-showcase
*/

:root {
    --oil-bg: #f6f0e7;
    --oil-paper: #fffaf4;
    --oil-panel: #ffffff;
    --oil-ink: #1b1d21;
    --oil-muted: #5a616c;
    --oil-line: #d9c9b5;
    --oil-brand: #d54d2d;
    --oil-brand-dark: #a6371e;
    --oil-brand-light: #ff8a58;
    --oil-accent: #2f6b5d;
    --oil-shadow: 0 24px 60px rgba(43, 31, 18, 0.12);
    --oil-radius-xl: 28px;
    --oil-radius-lg: 20px;
    --oil-radius-md: 16px;
    --oil-container: 1370px;
}

.icon-button--account {
    display: inline-flex;
}

.woocommerce-thankyou-account-link {
    margin: 16px 0 0;
}

.oilmarket-checkout-account-modal[hidden] {
    display: none;
}

.oilmarket-checkout-account-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.oilmarket-checkout-account-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 18, 24, 0.56);
    backdrop-filter: blur(5px);
}

.oilmarket-checkout-account-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    padding: 28px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 30px 80px rgba(15, 20, 29, 0.28);
}

.oilmarket-checkout-account-modal__dialog[hidden] {
    display: none;
}

.oilmarket-checkout-account-modal__dialog--method {
    padding-top: 64px;
}

.oilmarket-checkout-account-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(27, 29, 33, 0.06);
    color: var(--oil-ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.oilmarket-checkout-account-modal__eyebrow,
.oilmarket-account-code-login__eyebrow,
.oilmarket-account-email-login__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(213, 77, 45, 0.12);
    color: var(--oil-brand-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oilmarket-checkout-account-modal__title,
.oilmarket-account-code-login__title,
.oilmarket-account-email-login__title {
    margin: 14px 0 10px;
}

.oilmarket-checkout-account-modal__copy,
.oilmarket-account-code-login__copy,
.oilmarket-account-email-login__copy {
    margin: 0;
    color: var(--oil-muted);
    line-height: 1.6;
}

.oilmarket-checkout-account-modal__note {
    margin: 12px 0 0;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.6;
}

.oilmarket-account-code-login__note {
    margin: 12px 0 0;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.6;
}

.oilmarket-checkout-account-modal__email {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(246, 240, 231, 0.62);
    border: 1px solid rgba(217, 201, 181, 0.82);
}

.oilmarket-checkout-account-modal__email[hidden] {
    display: none;
}

.oilmarket-checkout-account-modal__email-copy {
    margin: 0;
    color: var(--oil-muted);
}

.oilmarket-checkout-account-modal__status {
    min-height: 22px;
    margin: 14px 0 0;
    color: var(--oil-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.oilmarket-checkout-account-modal__status:empty {
    display: none;
}

.oilmarket-checkout-account-modal__email-actions,
.oilmarket-account-email-login__code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.oilmarket-checkout-account-modal__email-status,
.oilmarket-account-email-login__status {
    color: var(--oil-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.oilmarket-checkout-account-modal__email-label {
    font-weight: 600;
}

.oilmarket-checkout-account-modal__email-input,
.oilmarket-account-email-login input[type="email"],
.oilmarket-account-email-login input[type="text"] {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.oilmarket-checkout-account-modal__close:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.oilmarket-account-email-login,
.oilmarket-account-code-login {
    margin: 0 0 24px;
    padding: 24px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--oil-shadow);
}

.oilmarket-account-code-login {
    display: grid;
    gap: 18px;
}

.oilmarket-account-code-login__open {
    justify-self: start;
}

.oilmarket-account-email-login__form,
.oilmarket-account-code-login__form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.oilmarket-account-email-login .form-row,
.oilmarket-account-code-login .form-row {
    margin: 0;
}

.oilmarket-account-code-login__form .form-row {
    display: grid;
    gap: 10px;
}

.oilmarket-account-code-login__form .form-row label {
    display: block;
    margin: 0;
    font-weight: 600;
}

.oilmarket-account-code-login__form .form-row input {
    width: 100%;
}

body.oilmarket-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .oilmarket-checkout-account-modal {
        padding: 16px;
    }

    .oilmarket-checkout-account-modal__dialog,
    .oilmarket-account-code-login,
    .oilmarket-account-email-login {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .oilmarket-checkout-account-modal__email-actions,
    .oilmarket-account-email-login__code-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.company-details-card {
    overflow: hidden;
    border: 1px solid rgba(210, 217, 226, 0.92);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(20, 29, 44, 0.08);
}

.company-details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.company-details-table th,
.company-details-table td {
    padding: 30px 26px;
    border-bottom: 1px solid rgba(221, 226, 232, 0.95);
    vertical-align: top;
}

.company-details-table tr:last-child th,
.company-details-table tr:last-child td {
    border-bottom: 0;
}

.company-details-table th {
    width: 28%;
    color: #697282;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    background: #fcfcfd;
}

.company-details-table td {
    color: #18202f;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.company-details-table td a {
    color: inherit;
    text-decoration: none;
}

.company-details-table td a:hover {
    color: var(--oil-accent);
}

@media (max-width: 900px) {
    .company-details-card {
        border-radius: 24px;
    }

    .company-details-table,
    .company-details-table tbody,
    .company-details-table tr,
    .company-details-table th,
    .company-details-table td {
        display: block;
        width: 100%;
    }

    .company-details-table tr {
        padding: 20px 0;
        border-bottom: 1px solid rgba(221, 226, 232, 0.95);
    }

    .company-details-table tr:last-child {
        border-bottom: 0;
    }

    .company-details-table th,
    .company-details-table td {
        padding: 0 20px;
        border: 0;
        background: transparent;
    }

    .company-details-table th {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .company-details-table td {
        font-size: 18px;
    }
}

.promo-categories--catalog-entry {
    display: grid;
    gap: 24px;
}

.promo-categories__header {
    display: grid;
    gap: 12px;
}

.promo-categories__header .section-title,
.promo-categories__header .section-copy {
    margin-bottom: 0;
}

.home-filter-shell {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(197, 107, 46, 0.18), transparent 32%),
        linear-gradient(160deg, #131a20 0%, #1b232a 52%, #11181e 100%);
    box-shadow: 0 24px 56px rgba(20, 23, 28, 0.2);
}

.home-filter-shell__eyebrow {
    width: fit-content;
    margin: 0;
    padding-inline: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.home-filter-shell__layout {
    display: grid;
    grid-template-columns: minmax(0, 490px) minmax(380px, 470px);
    justify-content: space-around;
    align-items: start;
    gap: 30px;
}

.home-filter-shell__filter-column {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.home-filter-shell__filter-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: #f5f7f9;
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.home-filter-shell__cards {
    display: grid;
    gap: 18px;
    align-content: start;
}

form.oilmarket-catalog-filters--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

form.oilmarket-catalog-filters--home .oilmarket-filter-group {
    width: 100%;
    align-self: stretch;
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(217, 201, 181, 0.86);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(8, 13, 18, 0.14);
}

form.oilmarket-catalog-filters--home .oilmarket-filter-group__toggle {
    min-height: 58px;
    font-size: 17px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

form.oilmarket-catalog-filters--home .oilmarket-filter-group__body {
    padding: 0 18px 18px;
}

.home-filter-shell__extra-controls,
.home-filter-shell__extra-groups {
    display: grid;
    gap: 12px;
}

.home-filter-shell__extra-groups[hidden] {
    display: none;
}

.home-filter-shell__extra-controls.is-expanded .home-filter-shell__more-button {
    order: 2;
}

.home-filter-shell__extra-controls.is-expanded .home-filter-shell__extra-groups {
    order: 1;
}

.home-filter-shell .home-filter-shell__more-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(217, 201, 181, 0.86);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    color: #ff8a58;
    box-shadow: 0 16px 34px rgba(8, 13, 18, 0.14);
}

.home-filter-shell .home-filter-shell__more-button:hover {
    background: rgba(246, 240, 231, 0.92);
    color: #ff8a58;
    transform: none;
    filter: none;
}

form.oilmarket-catalog-filters--home .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

form.oilmarket-catalog-filters--home .button-row button,
form.oilmarket-catalog-filters--home .button-row a {
    min-height: 52px;
}

.home-filter-shell .promo-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    align-items: center;
    gap: 16px;
    min-height: 210px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at bottom right, rgba(197, 107, 46, 0.16), transparent 46%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.home-filter-shell__cards .promo-card {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
}

.home-filter-shell .promo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 88, 0.58);
    box-shadow: 0 18px 42px rgba(7, 11, 14, 0.2), inset 0 0 0 1px rgba(255, 138, 88, 0.22);
}

.home-filter-shell .promo-card.is-active {
    border-color: rgba(255, 138, 88, 0.64);
    box-shadow: 0 18px 42px rgba(7, 11, 14, 0.22), inset 0 0 0 1px rgba(255, 138, 88, 0.18);
}

.home-filter-shell .promo-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.home-filter-shell__cards .promo-card__content {
    padding-right: 0;
}

.home-filter-shell__cards .promo-card__description {
    font-size: 14px;
    line-height: 1.5;
}

.home-filter-shell__cards .promo-card__points {
    gap: 8px;
}

.home-filter-shell__cards .promo-card__point {
    padding: 9px 11px;
    font-size: 12px;
}

.home-filter-shell .promo-card__title {
    margin: 0;
    color: #f5f7f9;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.home-filter-shell .promo-card__description {
    margin: 0;
    color: rgba(234, 240, 244, 0.74);
    font-size: 15px;
    line-height: 1.6;
}

.home-filter-shell .promo-card__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-filter-shell .promo-card__point {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 247, 249, 0.88);
    font-size: 13px;
    font-weight: 600;
}

.home-filter-shell .promo-card__media {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 144px;
}

.home-filter-shell__cards .promo-card__media {
    min-height: 156px;
    align-self: end;
    justify-self: end;
}

.home-filter-shell .promo-card__media img {
    width: min(100%, 132px);
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(2, 5, 8, 0.28));
    transform: none;
}

.home-filter-shell__cards .promo-card__media img {
    width: min(100%, 154px);
}

@media (max-width: 1120px) {
    .home-filter-shell__layout {
        grid-template-columns: 1fr;
    }

    .home-filter-shell__cards {
        order: -1;
    }
}

@media (max-width: 680px) {
    .promo-categories--catalog-entry {
        gap: 18px;
    }

    .promo-categories__header {
        gap: 12px;
    }

    .home-filter-shell {
        gap: 16px;
        padding: 20px;
        border-radius: 24px;
    }

    .home-filter-shell__layout {
        gap: 18px;
    }

    .home-filter-shell__filter-title {
        font-size: 24px;
    }

    .home-filter-shell .promo-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 22px;
        gap: 18px;
    }

    .home-filter-shell .promo-card__content {
        gap: 12px;
    }

    .home-filter-shell .promo-card__title {
        font-size: 28px;
    }

    .home-filter-shell .promo-card__description {
        font-size: 15px;
    }

    .home-filter-shell .promo-card__media {
        min-height: 120px;
    }

    .home-filter-shell .promo-card__media img {
        width: 205px;
    }

    form.oilmarket-catalog-filters--home .button-row {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(213, 77, 45, 0.05), transparent 30%),
        radial-gradient(circle at right 10% top 20%, rgba(47, 107, 93, 0.05), transparent 26%),
        linear-gradient(180deg, #fcf8f2 0%, var(--oil-bg) 100%);
    color: var(--oil-ink);
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.admin-bar .site-header {
    top: 32px;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-main {
    min-height: 60vh;
}

.oilmarket-container {
    width: min(calc(100% - 32px), var(--oil-container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 250, 244, 0.88);
    border-bottom: 1px solid rgba(217, 201, 181, 0.85);
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
}

.site-header__bar,
.site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-header__bar {
    min-height: 44px;
    color: var(--oil-muted);
    font-size: 13px;
}

.site-header__bar strong {
    color: var(--oil-ink);
}

.site-header__main {
    position: relative;
    min-height: 78px;
}

.site-header__backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(34, 28, 21, 0.18);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.site-header__backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--oil-brand), #ff915f);
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(213, 77, 45, 0.22);
}

.site-brand__eyebrow {
    display: block;
    color: var(--oil-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-brand__title {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.05;
}

.site-brand__subtitle {
    display: block;
    color: var(--oil-muted);
    font-size: 13px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--oil-line);
    border-radius: 14px;
    background: var(--oil-panel);
    color: var(--oil-ink);
    cursor: pointer;
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
}

.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--oil-muted);
    font-weight: 600;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    background: rgba(213, 77, 45, 0.1);
    color: var(--oil-ink);
    transform: translateY(-1px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link,
.button,
button.button,
input.button,
.wc-forward,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--oil-brand), #ff8a58);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 18px 36px rgba(213, 77, 45, 0.18);
}

.button:hover,
button.button:hover,
input.button:hover,
.wc-forward:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: linear-gradient(135deg, var(--oil-brand-dark), var(--oil-brand));
    color: #fff;
    transform: translateY(-2px);
    filter: saturate(1.02);
}

.button--secondary,
.header-link {
    background: var(--oil-panel);
    color: var(--oil-ink);
    border: 1px solid var(--oil-line);
    box-shadow: none;
}

.button--stock-reserved,
.button--stock-reserved:hover {
    background: #e7e1d8;
    color: var(--oil-muted);
    border: 1px solid rgba(217, 201, 181, 0.9);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    filter: none;
}

.button--secondary:hover,
.header-link:hover {
    background: #fff;
    color: var(--oil-ink);
}

.header-cart__count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--oil-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hero {
    padding: 42px 0 24px;
}

.hero--banner {
    padding-bottom: 0;
}

.hero--intro {
    padding-top: 20px;
}

.hero__panel,
.page-hero,
.catalog-shell__sidebar-card,
.catalog-toolbar,
.product-card,
.product-focus,
.home-products,
.content-card,
.site-footer__panel,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-form-coupon,
.woocommerce-notices-wrapper > * {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    box-shadow: var(--oil-shadow);
}

.hero__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    padding: 34px;
    overflow: hidden;
}

.hero__panel--slider {
    position: relative;
    display: block;
    padding: 0;
    height: 556px;
    min-height: 556px;
    aspect-ratio: auto;
    overflow: hidden;
}

.hero-slider__track {
    display: flex;
    width: calc(var(--hero-slides, 1) * 100%);
    height: 100%;
    will-change: transform;
}

.hero-slider__slide {
    position: relative;
    flex: 0 0 calc(100% / var(--hero-slides, 1));
    width: calc(100% / var(--hero-slides, 1));
    max-width: calc(100% / var(--hero-slides, 1));
    height: 100%;
}

.hero-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slider__slide--motor .hero-slider__image {
    object-position: center center;
}

.hero-slider__slide--hydraulic .hero-slider__image {
    object-position: center center;
}

.hero-slider__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slider__control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    background: rgba(20, 23, 28, 0.28);
    color: #fff;
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.hero-slider__control:hover {
    background: rgba(20, 23, 28, 0.42);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.02);
}

.hero-slider__control svg {
    width: 22px;
    height: 22px;
}

.hero-slider__control--prev {
    left: 18px;
}

.hero-slider__control--next {
    right: 18px;
}

.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider__dot {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 2px solid rgba(27, 29, 33, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(20, 23, 28, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.32);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider__dot:hover {
    background: #fff;
    border-color: rgba(27, 29, 33, 0.58);
}

.hero-slider__dot.is-active {
    background: var(--oil-brand);
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82), 0 0 0 6px rgba(27, 29, 33, 0.16), 0 10px 22px rgba(20, 23, 28, 0.32);
    transform: scale(1.08);
}

@media (hover: hover) and (pointer: fine) {
    .hero-slider__control {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) scale(0.92);
    }

    .hero__panel--slider:hover .hero-slider__control,
    .hero__panel--slider:focus-within .hero-slider__control {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%) scale(1);
    }

    .hero__panel--slider .hero-slider__control:hover {
        transform: translateY(-50%) scale(1.04);
    }
}

.hero__copy {
    max-width: 660px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 107, 93, 0.1);
    color: var(--oil-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.product-focus__title,
.woocommerce-products-header__title.page-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero p,
.page-hero p {
    margin: 18px 0 0;
    max-width: 560px;
    color: var(--oil-muted);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
}

.hero__metric {
    padding: 20px;
    border-radius: var(--oil-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 235, 222, 0.88));
    border: 1px solid rgba(217, 201, 181, 0.88);
}

.hero__metric strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 800;
}

.hero__metric span {
    display: block;
    margin-top: 6px;
    color: var(--oil-muted);
    font-size: 14px;
}

.hero__note {
    grid-column: 1 / -1;
    padding: 20px;
    border-radius: var(--oil-radius-lg);
    background: linear-gradient(135deg, rgba(213, 77, 45, 0.12), rgba(47, 107, 93, 0.12));
    border: 1px solid rgba(217, 201, 181, 0.8);
}

.page-hero {
    margin: 34px auto 26px;
    padding: 30px;
}

.page-hero__crumbs,
.woocommerce-breadcrumb {
    margin-bottom: 14px;
    color: var(--oil-muted);
    font-size: 14px;
}

.page-hero__crumbs a,
.woocommerce-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.page-hero__crumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--oil-ink);
}

.catalog-shell {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    margin-top: 26px;
    padding-bottom: 44px;
}

.catalog-shell__sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.catalog-shell__sidebar-card {
    padding: 24px;
    position: relative;
    overflow: visible;
}

.catalog-shell__sidebar-card h2,
.catalog-shell__sidebar-card h3 {
    margin: 0 0 14px;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    line-height: 1.1;
}

.catalog-shell__sidebar-card p,
.catalog-shell__sidebar-card li {
    color: var(--oil-muted);
    font-size: 15px;
}

.catalog-shell__sidebar-card ul {
    margin: 0;
    padding-left: 18px;
}

.catalog-shell__content {
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.catalog-toolbar__meta {
    color: var(--oil-muted);
    font-weight: 600;
}

.catalog-toolbar__search {
    display: none;
}

.catalog-toolbar__search .header-search {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.catalog-toolbar .woocommerce-ordering {
    margin: 0;
    width: 232px;
    flex: 0 0 auto;
}

.catalog-toolbar .orderby,
.woocommerce .woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.oilmarket-catalog-filters input[type="text"],
.oilmarket-catalog-filters select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--oil-line);
    border-radius: 14px;
    background: #fff;
    color: var(--oil-ink);
    box-shadow: inset 0 1px 2px rgba(27, 29, 33, 0.04);
}

.catalog-toolbar .orderby {
    width: 232px;
}

.catalog-toolbar .orderby,
.woocommerce .woocommerce-ordering select {
    padding-right: 52px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='%235a616c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 18px) 50%;
    background-size: 18px 18px;
}

.woocommerce form .form-row select {
    padding-right: 58px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='%235a616c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) 50%;
    background-size: 18px 18px;
}

.woocommerce form .form-row textarea {
    min-height: 150px;
    padding: 14px 16px;
}

.oilmarket-catalog-filters {
    margin: 0;
    padding: 0;
    max-width: none;
    border: 0;
    position: relative;
    overflow: visible;
}

.oilmarket-filter-preview {
    position: absolute;
    top: 0;
    left: calc(100% + 18px);
    z-index: 20;
    display: none;
    align-items: center;
    gap: 16px;
    min-width: 222px;
    padding: 14px 16px 14px 32px;
    border-radius: 18px;
    background: #2f73ea;
    color: #fff;
    box-shadow: 0 18px 34px rgba(32, 61, 120, 0.24);
}

.oilmarket-filter-preview.is-visible {
    display: flex;
}

.oilmarket-filter-preview__count {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
}

.oilmarket-filter-preview__count strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.oilmarket-filter-preview__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #fff;
    color: #2f73ea;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 30, 60, 0.14);
}

.oilmarket-filter-preview__action[hidden] {
    display: none !important;
}

.oilmarket-filter-preview__action:hover {
    color: #1f58bc;
    transform: translateY(-1px);
}

.oilmarket-filter-preview.is-loading .oilmarket-filter-preview__action {
    pointer-events: none;
    opacity: 0.72;
}

.oilmarket-filter-preview.is-loading .oilmarket-filter-preview__count strong::after {
    content: "...";
}

.oilmarket-catalog-filters h3 {
    margin-bottom: 16px;
}

.oilmarket-catalog-filters p {
    margin: 0 0 12px;
}

.oilmarket-catalog-filters p:last-child {
    margin-bottom: 0;
}

.oilmarket-catalog-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--oil-line);
    border-radius: 14px;
    color: var(--oil-muted);
    font-weight: 600;
}

.oilmarket-catalog-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.oilmarket-filter-group {
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    overflow: hidden;
}

.oilmarket-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--oil-ink);
    box-shadow: none;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.oilmarket-filter-group__toggle:hover {
    background: rgba(246, 240, 231, 0.72);
    color: var(--oil-ink);
    transform: none;
    filter: none;
}

.oilmarket-filter-group__title {
    text-align: left;
}

.oilmarket-filter-group__chevron {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.oilmarket-filter-group__chevron::before,
.oilmarket-filter-group__chevron::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.oilmarket-filter-group__chevron::before {
    left: 1px;
    transform: rotate(45deg);
}

.oilmarket-filter-group__chevron::after {
    right: 1px;
    transform: rotate(-45deg);
}

.oilmarket-filter-group.is-open .oilmarket-filter-group__chevron {
    transform: rotate(180deg);
}

.oilmarket-filter-group__body {
    display: none;
    padding: 0 18px 18px;
}

.oilmarket-filter-group.is-open .oilmarket-filter-group__body {
    display: block;
}

.oilmarket-filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 228px;
    padding-right: 8px;
    overflow-y: auto;
}

.oilmarket-filter-options::-webkit-scrollbar {
    width: 8px;
}

.oilmarket-filter-options::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(90, 97, 108, 0.38);
}

.oilmarket-filter-options::-webkit-scrollbar-track {
    background: rgba(246, 240, 231, 0.9);
    border-radius: 999px;
}

.oilmarket-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--oil-muted);
    font-size: 15px;
    line-height: 1.25;
    cursor: pointer;
}

.oilmarket-catalog-filters .oilmarket-filter-option input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: var(--oil-brand);
}

.oilmarket-filter-option span {
    color: var(--oil-ink);
}

.oilmarket-filter-group__body--price {
    padding-top: 2px;
}

.oilmarket-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.oilmarket-price-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--oil-muted);
    font-size: 14px;
    font-weight: 600;
}

.oilmarket-catalog-filters .oilmarket-price-field input {
    width: 100%;
    margin: 0;
}

.oilmarket-catalog-filters .button-row {
    display: flex;
    gap: 12px;
    margin: 2px 0 0;
}

.oilmarket-catalog-filters .button-row button,
.oilmarket-catalog-filters .button-row a {
    flex: 1 1 0;
}

.oilmarket-catalog-filters .button-row a {
    justify-content: center;
    border-color: rgba(217, 201, 181, 0.95);
    background: rgba(255, 255, 255, 0.98);
    color: var(--oil-ink);
    box-shadow: none;
}

.oilmarket-catalog-filters .button-row a:hover {
    background: rgba(246, 240, 231, 0.9);
    color: var(--oil-ink);
    transform: translateY(-1px);
}

.oilmarket-catalog-filters__collapse-toggle {
    display: none;
}

.oilmarket-catalog-filters__collapse-toggle-count {
    display: none;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 218px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 16px;
    background:
        radial-gradient(circle at top, rgba(213, 77, 45, 0.09), transparent 34%),
        linear-gradient(180deg, #fff7f0 0%, #fbf8f4 100%);
    overflow: hidden;
}

.product-card__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 174px;
    margin: 0;
    object-fit: contain;
    object-position: center center;
}

.product-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.tag--stock {
    background: rgba(47, 107, 93, 0.11);
    color: var(--oil-accent);
}

.tag--delivery {
    background: rgba(120, 110, 100, 0.12);
    color: var(--oil-ink);
}

.tag--delivery.tag--delivery--1 {
    background: rgba(76, 163, 102, 0.22);
    color: #1f5a32;
}

.tag--delivery.tag--delivery--2 {
    background: rgba(234, 196, 66, 0.38);
    color: #6b5200;
}

.tag--delivery.tag--delivery--3 {
    background: rgba(232, 150, 180, 0.42);
    color: #7a2045;
}

.tag--delivery.tag--delivery--4 {
    background: rgba(208, 69, 69, 0.2);
    color: #8f1f1f;
}

.product-card__title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    line-height: 1.08;
}

.product-card__title a:hover {
    color: var(--oil-brand);
}

.product-card__specs {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--oil-ink);
}

.product-card__sku,
.product-card__stock {
    margin: 6px 0 0;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.25;
}

.product-card__price {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 4px;
    margin-top: 8px;
}

.product-card__price,
.product-card__price .woocommerce-Price-amount {
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    text-decoration: none;
}

.product-card__price > .woocommerce-Price-amount,
.product-card__price del,
.product-card__price ins,
.product-card__price ins .woocommerce-Price-amount {
    display: block;
}

.product-card__price > .woocommerce-Price-amount,
.product-card__price ins,
.product-card__price ins .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}

.product-card__price del,
.product-card__price del .woocommerce-Price-amount,
.product-card__price del .woocommerce-Price-currencySymbol {
    color: var(--oil-muted);
    font-size: 15px;
    font-weight: 400 !important;
    line-height: 1.15;
}

.product-card__actions {
    margin-top: auto;
    padding-top: 14px;
}

.product-card__actions .button {
    width: 100%;
}

.product-card__actions .add_to_cart_button.is-hidden-after-add {
    display: none !important;
}

.product-card__actions .added_to_cart.wc-forward,
.product-card__actions .button--in-cart {
    width: 100%;
    background: linear-gradient(135deg, #58a884, #7bc39f);
    box-shadow: 0 16px 30px rgba(88, 168, 132, 0.18);
}

.product-card__actions .added_to_cart.wc-forward:hover,
.product-card__actions .button--in-cart:hover {
    background: linear-gradient(135deg, #4d9f7a, #69b88f);
    box-shadow: 0 16px 30px rgba(88, 168, 132, 0.22);
}

.product-card__actions .added_to_cart.wc-forward::after,
.product-card__actions .button--in-cart::after {
    content: '\2713';
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.woocommerce span.onsale {
    display: none !important;
}

.product-focus {
    padding: 28px;
    margin-bottom: 32px;
}

.single-product-shell {
    padding-top: 26px;
}

.product-focus__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    gap: 28px;
    align-items: start;
}

.product-focus__gallery .woocommerce-product-gallery__image a,
.product-focus__gallery .flex-control-thumbs img {
    cursor: zoom-in;
}

.product-focus__gallery .woocommerce-product-gallery {
    width: 100%;
    opacity: 1 !important;
}

.product-focus__gallery .woocommerce-product-gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 86px));
    gap: 12px;
    align-items: start;
    justify-content: center;
}

.product-focus__gallery .woocommerce-product-gallery__image,
.product-focus__gallery .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-focus__gallery .woocommerce-product-gallery__image:first-child {
    grid-column: 1 / -1;
    width: 100%;
    min-height: clamp(260px, 42vw, 560px);
    padding: 18px;
    border-radius: 24px;
    background: #fff;
}

.product-focus__gallery .woocommerce-product-gallery__image:not(:first-child) {
    width: 82px;
    height: 82px;
    padding: 8px;
    border: 1px solid rgba(217, 201, 181, 0.9);
    border-radius: 14px;
    background: #fff;
}

.product-focus__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 560px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
}

.product-focus__gallery .woocommerce-product-gallery__image:not(:first-child) img {
    max-width: 100%;
    max-height: 100%;
}

.product-focus__gallery .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center center;
}

body.has-product-gallery-modal {
    overflow: hidden;
}

.product-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

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

.product-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 18, 27, 0.82);
    backdrop-filter: blur(4px);
}

.product-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 18px;
    align-items: center;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 28px 28px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 64px rgba(9, 19, 33, 0.3);
}

.product-gallery-modal__close,
.product-gallery-modal__nav,
.product-gallery-modal__thumb {
    border: 0;
    box-shadow: none;
}

.product-gallery-modal__close,
.product-gallery-modal__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
    background: rgba(244, 239, 232, 0.98);
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    line-height: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-modal__close:hover,
.product-gallery-modal__nav:hover {
    background: rgba(235, 226, 214, 0.98);
    transform: translateY(-1px);
}

.product-gallery-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 30px;
}

.product-gallery-modal__nav {
    font-size: 36px;
}

.product-gallery-modal__figure {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    margin: 0;
}

.product-gallery-modal__image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: min(72vh, 760px);
    object-fit: contain;
    border-radius: 20px;
    background: #fff;
}

.product-gallery-modal__caption {
    margin: 0;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.product-gallery-modal__footer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.product-gallery-modal__count {
    color: var(--oil-muted);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.product-gallery-modal__thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 2px;
}

.product-gallery-modal__thumb {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f1eb;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-modal__thumb:hover,
.product-gallery-modal__thumb.is-active {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 2px rgba(213, 77, 45, 0.34);
}

.product-gallery-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 980px) {
    .product-gallery-modal__dialog {
        width: min(100vw - 32px, 920px);
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 12px;
        padding: 24px 18px 18px;
    }
}

@media (max-width: 680px) {
    .oilmarket-thankyou-summary-scroll {
        overflow: visible !important;
    }

    .oilmarket-thankyou-summary-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    .oilmarket-thankyou-summary-table thead {
        display: none !important;
    }

    .oilmarket-thankyou-summary-table,
    .oilmarket-thankyou-summary-table tbody,
    .oilmarket-thankyou-summary-table tr {
        display: block !important;
        width: 100% !important;
    }

    .oilmarket-thankyou-summary-table td {
        display: grid !important;
        grid-template-columns: minmax(120px, 42%) minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: baseline !important;
        padding: 9px 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45) !important;
        text-align: left !important;
    }

    .oilmarket-thankyou-summary-table td::before {
        content: attr(data-label);
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .oilmarket-order-details-table {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table,
    .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45) !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: grid !important;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr) !important;
        gap: 8px !important;
        padding: 6px 0 !important;
        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар";
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки";
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог";
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td::before {
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    /* Mobile order details: label left, value right (stable) */
    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name {
        display: block !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        display: block;
        margin-bottom: 4px;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name .product-quantity {
        display: inline !important;
        white-space: nowrap;
        margin-left: 4px;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery,
    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total {
        display: flex !important;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        white-space: nowrap;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery .order-item-delivery {
        margin-left: auto;
        display: inline-block;
        white-space: nowrap;
        text-align: right;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total > * {
        margin-left: auto;
        display: inline-block;
        white-space: nowrap;
        text-align: right;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        border: 0 !important;
        padding: 8px 0 !important;
    }

    .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        text-align: right !important;
        white-space: nowrap !important;
    }
    /* Thank-you mobile: обе таблицы без горизонтального скролла */
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-scroll {
        overflow: visible;
        margin-top: 14px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table {
        min-width: 0;
        width: 100%;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table thead {
        display: none;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table tbody,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table tr {
        display: block;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table td {
        display: grid;
        grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
        gap: 8px;
        align-items: baseline;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45);
        padding: 9px 12px;
        white-space: normal;
        word-break: break-word;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table td::before {
        content: attr(data-label);
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table td:last-child {
        border-bottom: 0;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: visible;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table {
        min-width: 0;
        width: 100%;
        table-layout: auto;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45);
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: grid;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
        gap: 8px;
        padding: 6px 0;
        border: 0;
        text-align: left;
        white-space: normal;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар";
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки";
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог";
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td::before {
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        border: 0;
        padding: 8px 0;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        text-align: right;
        white-space: nowrap;
    }
    .product-gallery-modal__dialog {
        grid-template-columns: 1fr;
        width: min(100vw - 20px, 560px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
        padding: 56px 12px 14px;
    }

    .product-gallery-modal__figure {
        gap: 10px;
    }

    .product-gallery-modal__image {
        max-height: 62vh;
        border-radius: 16px;
    }

    .product-gallery-modal__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
    }

    .product-gallery-modal__nav:hover {
        transform: translateY(-50%);
    }

    .product-gallery-modal__nav--prev {
        left: 10px;
    }

    .product-gallery-modal__nav--next {
        right: 10px;
    }

    .product-gallery-modal__thumb {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
}

/* Final mobile override for order-received tables */
@media (max-width: 680px) {
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-scroll {
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tbody,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tr {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td {
        display: grid !important;
        grid-template-columns: minmax(120px, 42%) minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: baseline !important;
        padding: 9px 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45) !important;
        text-align: left !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td::before {
        content: attr(data-label);
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: grid !important;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr) !important;
        gap: 8px !important;
        padding: 6px 0 !important;
        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар";
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки";
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог";
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td::before {
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        border: 0 !important;
        padding: 8px 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        text-align: right !important;
        white-space: nowrap !important;
    }
}

.product-focus__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 107, 93, 0.11);
    color: var(--oil-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-focus__title {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 46px);
}

.product-focus__sku {
    margin: 14px 0 0;
    color: var(--oil-muted);
    font-size: 14px;
}

.product-focus__price {
    margin-top: 20px;
}

.product-focus__price .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.08;
    text-decoration: none;
}

.product-focus__price .price > .woocommerce-Price-amount,
.product-focus__price ins,
.product-focus__price del,
.product-focus__price ins .woocommerce-Price-amount,
.product-focus__price del .woocommerce-Price-amount {
    display: block;
}

.product-focus__price del,
.product-focus__price del .woocommerce-Price-amount {
    font-weight: 400 !important;
}

@media (max-width: 680px) {
    .product-focus__price {
        margin-top: 18px;
    }

    .product-focus__price .price {
        gap: 7px;
        font-size: clamp(30px, 9vw, 34px);
    }
}

.product-focus__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.product-focus__fact {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 236, 224, 0.9));
    border: 1px solid rgba(217, 201, 181, 0.88);
}

.product-focus__fact strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--oil-muted);
}

.product-focus__fact span,
.product-focus__fact .stock {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.product-focus__fact--delivery-0 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 236, 224, 0.9));
    border-color: rgba(217, 201, 181, 0.88);
}

.product-focus__fact--delivery-0 span {
    color: var(--oil-ink);
}

.product-focus__fact--delivery-1 {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(210, 244, 218, 0.88) 55%, rgba(168, 220, 186, 0.72) 100%);
    border-color: rgba(76, 163, 102, 0.42);
}

.product-focus__fact--delivery-1 span {
    color: #1f5a32;
}

.product-focus__fact--delivery-2 {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 236, 188, 0.92) 50%, rgba(245, 210, 120, 0.78) 100%);
    border-color: rgba(200, 155, 40, 0.45);
}

.product-focus__fact--delivery-2 span {
    color: #6b5200;
}

.product-focus__fact--delivery-3 {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 214, 228, 0.9) 48%, rgba(236, 168, 198, 0.78) 100%);
    border-color: rgba(200, 100, 140, 0.4);
}

.product-focus__fact--delivery-3 span {
    color: #7a2045;
}

.product-focus__fact--delivery-4 {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 218, 218, 0.9) 45%, rgba(240, 170, 170, 0.82) 100%);
    border-color: rgba(200, 80, 80, 0.45);
}

.product-focus__fact--delivery-4 span {
    color: #8f1f1f;
}

.product-focus__excerpt {
    color: var(--oil-muted);
}

.product-focus__specs {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 232, 0.92));
}

.product-focus__specs strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--oil-muted);
}

.product-focus__specs p {
    margin: 0;
    color: var(--oil-ink);
    line-height: 1.6;
}

.product-focus__cta {
    margin-top: 20px;
}

.product-focus__cta form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.product-focus__cta .stock.in-stock {
    display: none;
}

.product-focus__cta .quantity.quantity--enhanced {
    display: inline-grid;
    grid-template-columns: 42px 48px 42px;
    align-items: stretch;
    min-width: 132px;
    border: 1px solid rgba(222, 223, 229, 0.96);
    border-radius: 6px;
    overflow: hidden;
    background: #f2f3f7;
}

.product-focus__cta .quantity.quantity--enhanced .qty {
    width: 48px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.product-focus__cta .quantity.quantity--enhanced .qty::-webkit-outer-spin-button,
.product-focus__cta .quantity.quantity--enhanced .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-focus__cta .quantity__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #5b5d68;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.product-focus__cta .quantity__button:hover {
    background: rgba(255, 255, 255, 0.52);
    color: var(--oil-ink);
}

.product-focus__cta .quantity__button:disabled {
    opacity: 0.38;
    cursor: default;
}

.product-focus__cta .quantity__button--minus {
    border-right: 1px solid rgba(222, 223, 229, 0.96);
}

.product-focus__cta .quantity__button--plus {
    border-left: 1px solid rgba(222, 223, 229, 0.96);
}

.product-focus__cta .added_to_cart.wc-forward,
.product-focus__cta .button--in-cart,
.product-focus__cta .product-focus__in-cart {
    min-width: 220px;
    background: linear-gradient(135deg, #58a884, #7bc39f);
    color: #fff;
    box-shadow: 0 16px 30px rgba(88, 168, 132, 0.18);
}

.product-focus__cta .added_to_cart.wc-forward:hover,
.product-focus__cta .button--in-cart:hover,
.product-focus__cta .product-focus__in-cart:hover {
    background: linear-gradient(135deg, #4d9f7a, #69b88f);
    color: #fff;
    box-shadow: 0 16px 30px rgba(88, 168, 132, 0.22);
}

.product-focus__cta .added_to_cart.wc-forward::after,
.product-focus__cta .button--in-cart::after,
.product-focus__cta .product-focus__in-cart::after {
    content: '\2713';
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.product-focus__meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--oil-line);
    color: var(--oil-muted);
}

.product-focus__tabs,
.product-focus__related {
    margin-top: 30px;
}

.product-focus__related .product-card,
.product-focus__related .product-card__media {
    background: #fff;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs li::marker,
.woocommerce-tabs ul.tabs::marker {
    content: none;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce-tabs ul.tabs li a {
    display: inline-flex !important;
    align-items: center;
    min-height: 46px;
    padding: 0 16px !important;
    border-radius: 14px;
    background: #fff;
    color: var(--oil-muted) !important;
    border: 1px solid var(--oil-line);
}

.woocommerce-tabs ul.tabs li.active a {
    background: rgba(213, 77, 45, 0.1);
    color: var(--oil-ink) !important;
}

.woocommerce-tabs .panel,
.content-card {
    padding: 24px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--oil-shadow);
}

.content-card--cart-page {
    padding: 28px;
    margin-top: 18px;
    --cart-col-remove: 5%;
    --cart-col-thumbnail: 10%;
    --cart-col-name: 25%;
    --cart-col-delivery: 12%;
    --cart-col-price: 18%;
    --cart-col-quantity: 19%;
    --cart-col-subtotal: 10%;
}

.content-card--checkout-page {
    margin-top: 18px;
}

.content-card--cart-page .page-hero {
    margin: 0 0 22px;
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid rgba(217, 201, 181, 0.72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.content-card--checkout-page .page-hero {
    margin: 0 0 22px;
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid rgba(217, 201, 181, 0.72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.woocommerce-tabs .panel table.shop_attributes,
.woocommerce-tabs .panel table.shop_attributes th,
.woocommerce-tabs .panel table.shop_attributes td {
    text-align: left !important;
}

.woocommerce-tabs .panel table.shop_attributes th,
.woocommerce-tabs .panel table.shop_attributes td {
    padding: 12px 14px !important;
    vertical-align: top;
}

.woocommerce-tabs .panel table.shop_attributes td p {
    margin: 0;
}

.woocommerce-tabs #tab-additional_information {
    padding-left: 0;
}

.woocommerce-tabs #tab-additional_information h2 {
    padding-left: 24px;
}

.woocommerce-tabs #tab-additional_information table.shop_attributes {
    margin-left: 24px;
    display: inline-table;
    width: auto !important;
    max-width: calc(100% - 24px);
    table-layout: auto;
}

.woocommerce-tabs #tab-additional_information table.shop_attributes th,
.woocommerce-tabs #tab-additional_information table.shop_attributes td {
    padding-left: 0 !important;
}

.woocommerce-tabs #tab-additional_information table.shop_attributes th {
    width: auto !important;
    white-space: nowrap;
    padding-right: 18px !important;
}

.home-products {
    padding: 26px;
    margin: 0 auto 44px;
    background: #fff;
}

.home-products > .eyebrow {
    margin-bottom: 14px;
}

.home-products .product-card {
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    box-shadow: var(--oil-shadow);
}

.home-products .product-card__media {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
}

.home-products .favorite-button--card {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(27, 29, 33, 0.72);
}

.home-products .favorite-button--card:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
    transform: scale(1.06);
}

.home-products .favorite-button--card.is-active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
}

.home-products .favorite-button--card svg {
    width: 24px;
    height: 24px;
}

.catalog-shell .product-card__media {
    height: 208px;
    min-height: 208px;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
}

.catalog-shell .product-card__media-wrap {
    height: 208px;
    min-height: 208px;
    margin-bottom: 14px;
}

.catalog-shell .product-card__media img {
    width: auto;
    height: auto;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    object-position: center center;
    margin: 0;
}

.catalog-shell .favorite-button--card {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(27, 29, 33, 0.72);
}

.catalog-shell .favorite-button--card:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
    transform: scale(1.06);
}

.catalog-shell .favorite-button--card.is-active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
}

.catalog-shell .favorite-button--card svg {
    width: 24px;
    height: 24px;
}

.promo-categories {
    margin: 55px auto 44px;
}

.promo-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.promo-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.88fr) minmax(180px, 1fr);
    align-items: start;
    gap: 18px;
    min-height: 255px;
    padding: 26px 28px;
    border: 1px solid rgba(217, 201, 181, 0.9);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(244, 244, 244, 0.96), rgba(236, 236, 236, 0.96));
    box-shadow: 0 22px 44px rgba(43, 31, 18, 0.08);
    overflow: hidden;
}

.promo-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.promo-card__title {
    margin: 0 0 22px;
    color: #2f6fdd;
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    line-height: 1.12;
}

.promo-card__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.promo-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    min-height: 46px;
    padding: 0 22px;
    border: 2px solid #f0a22f;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #121418;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.promo-card__button:hover {
    transform: translateY(-2px);
    border-color: #df8e14;
    background: #fff;
    box-shadow: 0 12px 22px rgba(43, 31, 18, 0.1);
}

.promo-card__media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    min-height: 180px;
}

.promo-card__media img {
    width: min(100%, 265px);
    max-height: 220px;
    object-fit: contain;
}

.section-title {
    margin: 0 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.02;
}

.section-copy {
    margin: 0 0 24px;
    max-width: 720px;
    color: var(--oil-muted);
}

.home-products .section-copy {
    max-width: none;
    white-space: nowrap;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price *,
.woocommerce div.product p.price *,
.woocommerce div.product span.price *,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce ul.products li.product .price a,
.woocommerce div.product p.price a,
.woocommerce div.product span.price a {
    text-decoration: none !important;
}

.woocommerce ins {
    background: transparent !important;
    text-decoration: none !important;
}

.site-footer {
    padding: 0 0 34px;
}

.site-footer__panel {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 28px;
}

.site-footer__panel h2,
.site-footer__panel h3 {
    margin: 0 0 12px;
    font-family: "Manrope", sans-serif;
}

.site-footer__panel p,
.site-footer__panel li {
    color: var(--oil-muted);
}

.site-footer__panel ul {
    margin: 0;
    padding-left: 18px;
}

.site-footer__copyright {
    margin-top: 16px;
    color: var(--oil-muted);
    font-size: 14px;
    text-align: center;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    margin: 0 0 18px !important;
    padding: 18px 20px 18px 54px !important;
    border-top: 0 !important;
    color: var(--oil-ink);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    top: 18px !important;
    left: 20px !important;
}

.woocommerce table.shop_table {
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--oil-shadow);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 18px;
    border-color: rgba(217, 201, 181, 0.6);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    table-layout: fixed;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
    padding: 14px 16px;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-number,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
    width: 8%;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-date,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
    width: 11%;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-status,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    width: 13%;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-pickup,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-pickup {
    width: 19%;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-total,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total {
    width: 17%;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    width: 32%;
}

.oilmarket-account-orders-pickup {
    display: -webkit-box;
    overflow: hidden;
    color: var(--oil-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.oilmarket-account-orders-pickup--empty {
    color: var(--oil-muted);
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(213, 77, 45, 0.14);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button:not(:last-child) {
    margin-right: 8px;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.pay {
    background: linear-gradient(135deg, var(--oil-brand), #ff8a58);
    box-shadow: 0 12px 24px rgba(213, 77, 45, 0.16);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.pay:hover {
    background: linear-gradient(135deg, var(--oil-brand-dark), var(--oil-brand));
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.view {
    background: linear-gradient(135deg, #2f6b5d, #6bb792);
    box-shadow: 0 12px 24px rgba(47, 107, 93, 0.16);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.view:hover {
    background: linear-gradient(135deg, #255749, #4f9f7b);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.cancel {
    background: linear-gradient(135deg, #b94a3c, #ef745c);
    box-shadow: 0 12px 24px rgba(185, 74, 60, 0.16);
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.cancel:hover {
    background: linear-gradient(135deg, #97362c, #d95a48);
}

@media (max-width: 820px) {
    .woocommerce-account .woocommerce-MyAccount-content:has(table.woocommerce-orders-table) {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
        display: block;
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
        table-layout: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
        margin: 0 0 12px;
        padding: 16px;
        border: 1px solid rgba(217, 201, 181, 0.72);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 26px rgba(73, 58, 40, 0.05);
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr:last-child {
        margin-bottom: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody th,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
        display: grid;
        grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100% !important;
        padding: 7px 0;
        border: 0;
        text-align: left;
        white-space: normal;
        word-break: break-word;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody th::before,
    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td::before {
        content: attr(data-title);
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 12px;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
        content: none;
    }

    .oilmarket-account-orders-pickup {
        display: block;
        overflow: visible;
        font-size: 13px;
        -webkit-line-clamp: unset;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
        width: 100%;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 13px;
    }

    .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button:not(:last-child) {
        margin-right: 0;
    }
}

.woocommerce .cart_totals,
.woocommerce-checkout-review-order {
    padding: 24px;
}

.cart-price-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.2;
}

.cart-price-stack__current {
    color: var(--oil-ink);
    font-size: 16px;
    font-weight: 700;
}

.cart-price-stack__old {
    color: rgba(121, 128, 139, 0.92);
    font-size: 13px;
    font-weight: 500;
    text-decoration-thickness: 1px;
}

.woocommerce-cart .content-card--cart-page .woocommerce {
    width: 100%;
}

.woocommerce-cart .content-card--cart-page .woocommerce-cart-form--mobile {
    display: none;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart {
    width: 100%;
    table-layout: fixed;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--remove {
    width: var(--cart-col-remove);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--thumbnail {
    width: var(--cart-col-thumbnail);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--name {
    width: var(--cart-col-name);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--delivery {
    width: var(--cart-col-delivery);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--price {
    width: var(--cart-col-price);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--quantity {
    width: var(--cart-col-quantity);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart col.cart-col--subtotal {
    width: var(--cart-col-subtotal);
}

.woocommerce-cart .content-card--cart-page .woocommerce table.shop_table {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.woocommerce-cart .content-card--cart-page .woocommerce table.shop_table th,
.woocommerce-cart .content-card--cart-page .woocommerce table.shop_table td {
    padding: 18px 10px;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart thead th {
    color: var(--oil-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
    border-bottom: 1px solid rgba(217, 201, 181, 0.62);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart thead th.product-name {
    text-align: left;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart thead th.product-delivery,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody td.product-delivery {
    text-align: center;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart thead th.product-price,
.woocommerce-cart .content-card--cart-page .shop_table.cart thead th.product-subtotal {
    text-align: right;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td {
    vertical-align: middle;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-remove,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-thumbnail,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-name,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-delivery,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-price,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-quantity,
.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td.product-subtotal {
    vertical-align: middle;
}

.woocommerce-cart .content-card--cart-page th.product-remove,
.woocommerce-cart .content-card--cart-page td.product-remove {
    padding-right: 6px;
    text-align: center;
}

.woocommerce-cart .content-card--cart-page td.product-thumbnail img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    border-radius: 16px;
    background: #fff;
    object-fit: contain;
    object-position: center center;
    margin: 0;
}

.woocommerce-cart .content-card--cart-page .product-thumbnail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.woocommerce-cart .content-card--cart-page .cart-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.woocommerce-cart .content-card--cart-page .cart-product-title,
.woocommerce-cart .content-card--cart-page .cart-product-title:visited {
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.woocommerce-cart .content-card--cart-page .cart-product-title__specs {
    color: var(--oil-muted);
    font-weight: 500;
    font-size: 0.9em;
}

.woocommerce-cart .content-card--cart-page .cart-product-sku {
    margin: 0;
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce-cart .content-card--cart-page th.product-price,
.woocommerce-cart .content-card--cart-page th.product-quantity,
.woocommerce-cart .content-card--cart-page th.product-subtotal,
.woocommerce-cart .content-card--cart-page td.product-price,
.woocommerce-cart .content-card--cart-page td.product-quantity,
.woocommerce-cart .content-card--cart-page td.product-subtotal {
    white-space: nowrap;
}

.woocommerce-cart .content-card--cart-page td.product-delivery {
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.4;
}

.woocommerce-cart .content-card--cart-page .cart-delivery-text {
    display: inline-block;
}

.woocommerce-cart .content-card--cart-page td.product-price,
.woocommerce-cart .content-card--cart-page td.product-subtotal {
    text-align: right;
}

.woocommerce-cart .content-card--cart-page th.product-price,
.woocommerce-cart .content-card--cart-page td.product-price {
    padding-right: 30px;
}

.woocommerce-cart .content-card--cart-page td.product-quantity,
.woocommerce-cart .content-card--cart-page th.product-quantity {
    text-align: center;
}

.woocommerce-cart .content-card--cart-page th.product-quantity,
.woocommerce-cart .content-card--cart-page td.product-quantity {
    padding-left: 30px;
}

.woocommerce-cart .content-card--cart-page td.product-price .amount,
.woocommerce-cart .content-card--cart-page td.product-price del,
.woocommerce-cart .content-card--cart-page td.product-price ins {
    display: block;
    text-align: right;
}

.woocommerce-cart .content-card--cart-page td.product-price del {
    opacity: 0.65;
}

.woocommerce-cart .content-card--cart-page td.product-subtotal,
.woocommerce-cart .content-card--cart-page td.product-subtotal .woocommerce-Price-amount {
    color: var(--oil-ink);
    font-size: 16px;
    font-weight: 700;
}

.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item td {
    border-bottom: 1px solid rgba(217, 201, 181, 0.24);
}

.woocommerce-cart .content-card--cart-page .shop_table.cart tbody tr.cart_item:last-child td {
    border-bottom-color: transparent;
}

.woocommerce-cart .content-card--cart-page .product-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(213, 77, 45, 0.1);
    color: var(--oil-brand) !important;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.woocommerce-cart .content-card--cart-page .product-remove .remove:hover {
    background: rgba(213, 77, 45, 0.16);
    color: var(--oil-brand-dark) !important;
    transform: translateY(-1px);
}

.woocommerce-cart .content-card--cart-page .quantity.quantity--enhanced {
    display: inline-grid;
    grid-template-columns: 30px 38px 30px;
    align-items: stretch;
    min-width: 98px;
    border: 1px solid rgba(222, 223, 229, 0.96);
    border-radius: 6px;
    overflow: hidden;
    background: #f2f3f7;
}

.woocommerce-cart .content-card--cart-page .quantity.quantity--enhanced .qty {
    width: 38px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--oil-ink);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.woocommerce-cart .content-card--cart-page .quantity.quantity--enhanced .qty::-webkit-outer-spin-button,
.woocommerce-cart .content-card--cart-page .quantity.quantity--enhanced .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.woocommerce-cart .content-card--cart-page .quantity__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #5b5d68;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.woocommerce-cart .content-card--cart-page .quantity__button:hover {
    background: rgba(255, 255, 255, 0.52);
    color: var(--oil-ink);
}

.woocommerce-cart .content-card--cart-page .quantity__button:disabled {
    opacity: 0.38;
    cursor: default;
}

.woocommerce-cart .content-card--cart-page .quantity__button--minus {
    border-right: 1px solid rgba(222, 223, 229, 0.96);
}

.woocommerce-cart .content-card--cart-page .quantity__button--plus {
    border-left: 1px solid rgba(222, 223, 229, 0.96);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals {
    width: 100%;
    margin-top: 10px;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals {
    width: 100%;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table {
    width: 100%;
    table-layout: fixed;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--remove {
    width: var(--cart-col-remove);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--thumbnail {
    width: var(--cart-col-thumbnail);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--name {
    width: var(--cart-col-name);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--delivery {
    width: var(--cart-col-delivery);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--price {
    width: var(--cart-col-price);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--quantity {
    width: var(--cart-col-quantity);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col.cart-col--subtotal {
    width: var(--cart-col-subtotal);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table th,
.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__spacer {
    padding: 0;
    border: 0;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__label {
    color: var(--oil-muted);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    padding-left: 0;
    padding-right: 12px;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__value {
    color: var(--oil-ink);
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    padding-left: 0;
    padding-right: 10px;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-subtotal .cart-totals__label,
.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-subtotal .cart-totals__value {
    color: var(--oil-ink);
    font-weight: 700;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-savings .cart-totals__label,
.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-savings .cart-totals__value {
    color: var(--oil-accent);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .order-total .cart-totals__label,
.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .order-total .cart-totals__value {
    padding-top: 14px;
    border-top: 1px solid rgba(217, 201, 181, 0.62);
    color: var(--oil-ink);
    font-weight: 700;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-cell {
    padding: 12px 10px 0 0;
    text-align: right;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-cell .wc-proceed-to-checkout {
    margin: 0;
    padding: 0;
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-cell .checkout-button {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
}

.woocommerce-cart .content-card--cart-page button[name="update_cart"] {
    display: none !important;
}

.woocommerce-cart .content-card--cart-page .actions .coupon {
    display: none !important;
}

.woocommerce-checkout .content-card--checkout-page .woocommerce {
    margin-top: 0;
}

.woocommerce-checkout .content-card--checkout-page form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: flex-start;
    gap: 0 28px;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .col2-set {
    grid-column: 1;
    width: auto !important;
    max-width: none;
    float: none !important;
    clear: none !important;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 18px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
}

.woocommerce-checkout .content-card--checkout-page form.checkout .checkout-order-block {
    max-width: none;
    float: none !important;
    clear: none !important;
    width: auto !important;
    grid-column: 2;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.woocommerce-checkout .content-card--checkout-page form.checkout .checkout-order-block #order_review_heading {
    margin: 0 0 12px;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .checkout-order-block #order_review {
    margin: 0;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .checkout-payment-bottom {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 18px;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom__title {
    margin: 0 0 12px;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom__method {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--oil-ink);
}

.woocommerce-checkout .content-card--checkout-page .woocommerce-checkout-review-order {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.shop_table,
.woocommerce-checkout .content-card--checkout-page #order_review #payment,
.woocommerce-checkout .content-card--checkout-page #order_review #payment .payment_box {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table thead th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--oil-muted);
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table th.product-thumbnail,
.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table td.product-thumbnail {
    width: 82px;
    text-align: center;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table tbody td {
    vertical-align: middle;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table td.product-thumbnail img {
    width: auto;
    height: auto;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    object-position: center center;
    display: inline-block;
    margin: 0;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table th.product-delivery,
.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table td.product-delivery {
    text-align: center;
    white-space: nowrap;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table td.product-total {
    text-align: right;
    white-space: nowrap;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table tfoot th {
    text-align: right;
    padding-right: 10px;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    white-space: nowrap;
    padding-left: 6px;
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table tbody tr td {
    border-bottom: 1px solid rgba(217, 201, 181, 0.42);
}

.woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table tbody tr:last-child td {
    border-bottom-color: transparent;
}

.woocommerce-checkout .content-card--checkout-page #order_review .checkout-order-item__title {
    display: block;
    font-weight: 700;
    color: var(--oil-ink);
}

.woocommerce-checkout .content-card--checkout-page #order_review .checkout-order-item__sku {
    display: block;
    margin-top: 2px;
    color: var(--oil-muted);
    font-size: 12px;
}

.oilmarket-checkout-order-mobile {
    display: none;
}

.woocommerce-checkout .content-card--checkout-page #order_review #payment {
    padding: 0;
    margin-top: 14px;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment {
    margin-top: 0;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods {
    display: none !important;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    list-style: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li::marker {
    content: '';
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li label {
    grid-column: 2;
    margin: 0;
    font-weight: 700;
    color: var(--oil-ink);
    cursor: pointer;
    line-height: 1.3;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li:hover {
    border-color: rgba(213, 77, 45, 0.38);
    box-shadow: 0 10px 22px rgba(32, 35, 46, 0.08);
    transform: translateY(-1px);
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li input[type="radio"] {
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 1px;
    accent-color: #d54d2d;
    flex: 0 0 18px;
    align-self: start;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li .payment_box {
    grid-column: 2;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li input[type="radio"]:checked + label,
.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li label:has(input[type="radio"]:checked) {
    color: #a93b23;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li:has(input[type="radio"]:checked) {
    border-color: rgba(213, 77, 45, 0.58);
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 245, 236, 0.92));
    box-shadow: 0 12px 24px rgba(213, 77, 45, 0.15);
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li .payment_box {
    display: block !important;
    position: static;
    margin: 8px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.45;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods li .payment_box::before {
    display: none;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom__actions {
    margin-top: 12px;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom__actions .checkout-back-to-cart {
    min-height: 0;
    padding: 0;
    display: inline;
    color: #1a5cff;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font: inherit;
    font-weight: 600;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment .form-row.place-order {
    display: block;
    margin: 0;
    padding-bottom: 0;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment .form-row.place-order #place_order {
    margin: 0;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment .woocommerce-privacy-policy-text {
    margin: 0 0 14px;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment .form-row.place-order .checkout-payment-bottom__actions {
    order: 2;
    margin-top: 0;
}

.woocommerce-checkout .content-card--checkout-page #order_comments {
    border-color: rgba(217, 201, 181, 0.45);
}

.woocommerce-checkout .content-card--checkout-page form.checkout .form-row select {
    padding-right: 64px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='%235a616c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: calc(100% - 34px) 50%;
}

.woocommerce-checkout .content-card--checkout-page .woocommerce-form-coupon-toggle,
.woocommerce-checkout .content-card--checkout-page .woocommerce-form-coupon {
    display: none !important;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 22px;
    align-items: start;
}

body.woocommerce-order-pay .content-card--checkout-page .woocommerce-info,
body.woocommerce-order-pay .content-card--checkout-page .woocommerce-message,
body.woocommerce-order-pay .content-card--checkout-page .woocommerce-error {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(217, 201, 181, 0.72);
    border-radius: 14px;
    background: rgba(255, 250, 244, 0.78);
    color: var(--oil-ink);
    box-shadow: none;
    list-style: none;
}

body.woocommerce-order-pay .content-card--checkout-page .woocommerce-info li,
body.woocommerce-order-pay .content-card--checkout-page .woocommerce-message li,
body.woocommerce-order-pay .content-card--checkout-page .woocommerce-error li {
    margin: 0;
    list-style: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
    overflow: hidden;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table th,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td {
    padding: 15px 16px;
    border: 0;
    border-bottom: 1px solid rgba(217, 201, 181, 0.45);
    vertical-align: top;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table thead th {
    background: rgba(255, 250, 244, 0.82);
    color: var(--oil-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tbody td.product-name {
    color: var(--oil-ink);
    font-weight: 800;
    line-height: 1.35;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-quantity {
    width: 110px;
    text-align: center;
    white-space: nowrap;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-subtotal,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table th.product-total,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-total {
    width: 150px;
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table .wc-item-meta {
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    padding: 0;
    color: var(--oil-muted);
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table .wc-item-meta li {
    display: flex;
    gap: 6px;
    align-items: baseline;
    margin: 0;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table .wc-item-meta p {
    margin: 0;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot th {
    color: var(--oil-ink);
    font-weight: 800;
    text-align: right;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot td {
    color: var(--oil-ink);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tbody tr:last-child td,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr:last-child th,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr:last-child td {
    border-bottom: 0;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr.order-total td {
    background: rgba(255, 250, 244, 0.72);
    font-size: 1.05rem;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment {
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.88);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment::before {
    content: "Оплата заказа";
    display: block;
    margin: 0 0 12px;
    color: var(--oil-ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    list-style: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(217, 201, 181, 0.78);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    list-style: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods li::marker {
    content: "";
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods li input[type="radio"] {
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #d54d2d;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods li label {
    grid-column: 2;
    margin: 0;
    color: var(--oil-ink);
    font-weight: 800;
    line-height: 1.3;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .payment_box {
    grid-column: 2;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .payment_box::before {
    display: none;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .form-row {
    margin: 0;
    padding: 0;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .woocommerce-terms-and-conditions-wrapper {
    margin: 0 0 14px;
    color: var(--oil-muted);
    font-size: 14px;
    line-height: 1.5;
}

body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment #place_order {
    width: 100%;
    min-height: 48px;
    margin: 0;
}

body.woocommerce-order-pay .content-card--checkout-page .oilmarket-coupon-box--order-pay {
    margin: 0 0 18px;
}

@media (max-width: 980px) {
    body.woocommerce-order-pay .content-card--checkout-page form#order_review {
        grid-template-columns: minmax(0, 1fr);
    }
}

.oilmarket-coupon-box {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid rgba(217, 201, 181, 0.82);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(213, 77, 45, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(255, 255, 255, 0.88));
    box-shadow: 0 14px 28px rgba(73, 58, 40, 0.07);
}

.woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .oilmarket-coupon-box {
    width: min(430px, 100%);
    margin-left: auto;
}

.oilmarket-coupon-box__header {
    display: grid;
    gap: 4px;
}

.oilmarket-coupon-box__title {
    margin: 0;
    color: var(--oil-ink);
    font-size: 18px;
    line-height: 1.2;
}

.oilmarket-coupon-box__text {
    margin: 0;
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.4;
}

.oilmarket-coupon-box__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.oilmarket-coupon-box__input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--oil-ink);
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.oilmarket-coupon-box__input::placeholder {
    color: rgba(90, 97, 108, 0.7);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.oilmarket-coupon-box__submit,
.oilmarket-coupon-box__remove {
    min-height: 44px;
    border: 0;
    cursor: pointer;
}

.oilmarket-coupon-box__submit {
    padding: 0 18px;
    border: 1px solid rgba(213, 77, 45, 0.34);
    border-radius: 14px;
    background: rgba(255, 250, 244, 0.72);
    color: var(--oil-brand-dark);
    font: inherit;
    font-weight: 800;
    box-shadow: none;
}

.woocommerce .oilmarket-coupon-box .oilmarket-coupon-box__submit,
.oilmarket-coupon-box .oilmarket-coupon-box__submit {
    border: 1px solid rgba(213, 77, 45, 0.34);
    background: rgba(255, 250, 244, 0.72);
    color: var(--oil-brand-dark);
    box-shadow: none;
}

.woocommerce .oilmarket-coupon-box .oilmarket-coupon-box__submit:hover,
.woocommerce .oilmarket-coupon-box .oilmarket-coupon-box__submit:focus-visible,
.oilmarket-coupon-box .oilmarket-coupon-box__submit:hover,
.oilmarket-coupon-box .oilmarket-coupon-box__submit:focus-visible {
    border-color: rgba(166, 55, 30, 0.54);
    background: rgba(213, 77, 45, 0.08);
    color: var(--oil-brand-dark);
    box-shadow: none;
    transform: none;
    filter: none;
}

.oilmarket-coupon-box__status {
    min-height: 0;
    color: var(--oil-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.oilmarket-coupon-box__status:empty {
    display: none;
}

.oilmarket-coupon-box__status.is-success {
    color: var(--oil-accent);
}

.oilmarket-coupon-box__status.is-error {
    color: #d04545;
}

.oilmarket-coupon-box__applied {
    display: grid;
    gap: 8px;
}

.oilmarket-coupon-box__applied-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(47, 107, 93, 0.1);
    color: var(--oil-ink);
}

.oilmarket-coupon-box__applied-code {
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.oilmarket-coupon-box__applied-discount {
    color: var(--oil-accent);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.oilmarket-coupon-box__remove {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--oil-brand-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.oilmarket-coupon-box.is-loading {
    opacity: 0.72;
}

.woocommerce-cart .content-card--cart-page .cart_totals .woocommerce-remove-coupon,
.woocommerce-checkout .content-card--checkout-page #order_review .woocommerce-remove-coupon {
    display: none;
}

@media (max-width: 680px) {
    .oilmarket-coupon-box {
        gap: 10px;
        margin-bottom: 14px;
        padding: 14px;
        border-radius: 16px;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .oilmarket-coupon-box {
        width: 100%;
        margin-left: 0;
    }

    .oilmarket-coupon-box__form {
        grid-template-columns: 1fr;
    }

    .oilmarket-coupon-box__submit {
        width: 100%;
    }

    .oilmarket-coupon-box__applied-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.woocommerce-checkout .content-card--checkout-page .woocommerce-NoticeGroup-checkout {
    display: block;
    margin-bottom: 12px;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .form-row {
    position: relative;
    margin-bottom: 14px;
    padding-bottom: 20px;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .form-row .woocommerce-error,
.woocommerce-checkout .content-card--checkout-page form.checkout .form-row .woocommerce-invalid-feedback {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d04545;
    font-size: 12px;
    line-height: 1.25;
    box-shadow: none;
    list-style: none;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .form-row .oilmarket-field-error {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #d04545;
    font-size: 12px;
    line-height: 1.25;
}

.woocommerce-checkout .content-card--checkout-page form.checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .content-card--checkout-page form.checkout .form-row.woocommerce-invalid textarea,
.woocommerce-checkout .content-card--checkout-page form.checkout .form-row.woocommerce-invalid select {
    border-color: rgba(208, 69, 69, 0.72);
}

.woocommerce-checkout .content-card--checkout-page #payment .oilmarket-payment-error {
    margin-top: 10px;
    color: #d04545;
    font-size: 12px;
    line-height: 1.3;
}

.oilmarket-pickup-map {
    display: grid;
    gap: 10px;
    margin: -2px 0 18px;
}

.oilmarket-pickup-map__lead {
    margin: 0;
    color: var(--oil-muted);
    font-size: 14px;
    font-weight: 700;
}

.oilmarket-pickup-map__canvas {
    position: relative;
    min-height: 380px;
    border: 1px solid rgba(217, 201, 181, 0.84);
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 16%, rgba(213, 77, 45, 0.11), transparent 28%),
        linear-gradient(135deg, rgba(255, 250, 244, 0.95), rgba(255, 255, 255, 0.86));
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(73, 58, 40, 0.08);
}

.oilmarket-pickup-map__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    color: var(--oil-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.oilmarket-pickup-map__status {
    margin: 0;
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.4;
}

.oilmarket-pickup-map__status:empty {
    display: none;
}

.oilmarket-pickup-map__balloon {
    display: grid;
    gap: 7px;
    max-width: 230px;
    color: var(--oil-ink);
    font-family: "IBM Plex Sans", sans-serif;
}

.oilmarket-pickup-map__balloon-title {
    font-size: 14px;
    line-height: 1.25;
}

.oilmarket-pickup-map__balloon-address {
    color: var(--oil-muted);
    font-size: 13px;
    line-height: 1.35;
}

.oilmarket-pickup-map__balloon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--oil-brand), var(--oil-brand-light));
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.oilmarket-order-receipt {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.78);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(255, 255, 255, 0.9));
    box-shadow: 0 14px 34px rgba(73, 58, 40, 0.08);
}

.oilmarket-order-pickup {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.78);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(246, 240, 231, 0.68), rgba(255, 255, 255, 0.92));
    box-shadow: 0 14px 34px rgba(73, 58, 40, 0.08);
}

.oilmarket-order-pickup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.oilmarket-order-pickup__body {
    display: grid;
    grid-template-columns: minmax(128px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.oilmarket-order-pickup__body--no-photo {
    grid-template-columns: minmax(0, 1fr);
}

.oilmarket-order-pickup__photo {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(246, 240, 231, 0.82);
    aspect-ratio: 4 / 3;
}

.oilmarket-order-pickup__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oilmarket-order-pickup__title {
    margin: 0;
    font-size: 1.18rem;
}

.oilmarket-order-pickup__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 107, 93, 0.12);
    color: var(--oil-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.oilmarket-order-pickup__label {
    margin: 0;
    color: var(--oil-muted);
    font-size: 13px;
    font-weight: 700;
}

.oilmarket-order-pickup__address {
    margin: 8px 0 0;
    color: var(--oil-ink);
    font-weight: 800;
    line-height: 1.55;
}

.oilmarket-order-pickup__description {
    margin: 10px 0 0;
    color: var(--oil-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.oilmarket-order-receipt__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.oilmarket-order-receipt__title {
    margin: 0;
    font-size: 1.18rem;
}

.oilmarket-order-receipt__status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 107, 93, 0.12);
    color: var(--oil-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.oilmarket-order-receipt--pending .oilmarket-order-receipt__status,
.oilmarket-order-receipt--offline .oilmarket-order-receipt__status {
    background: rgba(213, 77, 45, 0.11);
    color: var(--oil-brand-dark);
}

.oilmarket-order-receipt__text {
    margin: 0;
    color: var(--oil-muted);
    line-height: 1.55;
}

.oilmarket-order-receipt__meta {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.oilmarket-order-receipt__meta div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(217, 201, 181, 0.56);
}

.oilmarket-order-receipt__meta dt {
    color: var(--oil-muted);
    font-size: 13px;
    font-weight: 700;
}

.oilmarket-order-receipt__meta dd {
    margin: 0;
    color: var(--oil-ink);
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.oilmarket-order-receipt__actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.oilmarket-fiscal-receipt {
    border: 1px solid rgba(217, 201, 181, 0.76);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.oilmarket-fiscal-receipt__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
    cursor: pointer;
    color: var(--oil-ink);
    font-weight: 800;
    list-style: none;
}

.oilmarket-fiscal-receipt__summary::-webkit-details-marker {
    display: none;
}

.oilmarket-fiscal-receipt__body {
    padding: 0 16px 16px;
}

.oilmarket-fiscal-receipt__paper {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(217, 201, 181, 0.58);
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf9, #fffaf2);
    color: #1f2430;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.48;
    white-space: pre-wrap;
    overflow-x: auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.oilmarket-fiscal-receipt__download {
    margin-top: 12px;
}

/* Страница «Заказ принят» и просмотр заказа: таблица «Информация о заказе» на всю ширину блока */
.oilmarket-order-details-table {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Отступ сводки заказа от блока «Информация о заказе» */
.content-card--checkout-page .oilmarket-thankyou-overview {
    margin-bottom: 24px;
    padding-bottom: 0;
}

.content-card--checkout-page .oilmarket-order-details-table,
.woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table,
.woocommerce-account .woocommerce-MyAccount-content .oilmarket-order-details-table {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.content-card--checkout-page .oilmarket-order-details-table {
    margin-top: 28px;
    padding-top: 0;
}

.woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table {
    margin-top: 36px;
}

.oilmarket-order-details-table .woocommerce-order-details__title {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.oilmarket-order-details-table table.oilmarket-order-line-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.oilmarket-order-details-table table.oilmarket-order-line-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--oil-muted);
    border-bottom: 1px solid rgba(217, 201, 181, 0.85);
    vertical-align: bottom;
}

.oilmarket-order-details-table table.oilmarket-order-line-table tbody td,
.oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
.oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
    padding: 14px 14px;
    vertical-align: top;
    border-bottom: 1px solid rgba(217, 201, 181, 0.55);
    text-align: left;
}

.oilmarket-order-details-table table.oilmarket-order-line-table th.product-name,
.oilmarket-order-details-table table.oilmarket-order-line-table td.product-name {
    width: 46%;
    min-width: 0;
    word-wrap: break-word;
}

.oilmarket-order-details-table table.oilmarket-order-line-table th.product-delivery,
.oilmarket-order-details-table table.oilmarket-order-line-table td.product-delivery {
    width: 28%;
    min-width: 0;
}

.oilmarket-order-details-table table.oilmarket-order-line-table th.product-total,
.oilmarket-order-details-table table.oilmarket-order-line-table td.product-total {
    display: table-cell !important;
    width: 26%;
    min-width: 96px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.oilmarket-order-details-table table.oilmarket-order-line-table td.product-delivery .order-item-delivery {
    display: block;
    font-weight: 600;
    color: var(--oil-ink);
    list-style: none;
}

.oilmarket-order-details-table .wc-item-meta {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.oilmarket-order-details-table .wc-item-meta li {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.oilmarket-order-details-table .wc-item-meta li::marker {
    content: none;
}

.oilmarket-order-details-table table.oilmarket-order-line-table tfoot th {
    text-align: right;
    font-weight: 500;
}

.oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
    text-align: right;
    font-weight: 500;
}

.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:not(:last-child) th,
.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:not(:last-child) td {
    border-bottom: 0;
}

.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child th,
.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child td {
    font-weight: 700;
    border-bottom: 1px solid rgba(217, 201, 181, 0.55);
}

.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr.order-total-row--order_total th,
.oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr.order-total-row--order_total td {
    font-weight: 700;
    border-bottom: 1px solid rgba(217, 201, 181, 0.55);
}

/* Страница «Заказ принят»: сводка заказа — горизонтальная таблица */
.oilmarket-thankyou-summary-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 0;
    border-radius: 12px;
    border: 1px solid rgba(217, 201, 181, 0.65);
    background: rgba(255, 255, 255, 0.55);
}

.oilmarket-thankyou-summary-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
}

.oilmarket-thankyou-summary-table th,
.oilmarket-thankyou-summary-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(217, 201, 181, 0.45);
}

.oilmarket-thankyou-summary-table thead th {
    font-weight: 700;
    color: var(--oil-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(217, 201, 181, 0.75);
    white-space: nowrap;
}

.oilmarket-thankyou-summary-table tbody td {
    font-weight: 600;
    color: var(--oil-ink);
    border-bottom: 0;
    line-height: 1.35;
}

.oilmarket-thankyou-summary-table tbody td .woocommerce-Price-amount {
    font-weight: 700;
}

.woocommerce-checkout .col2-set,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: var(--oil-radius-xl);
    box-shadow: var(--oil-shadow);
    padding: 24px;
}

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--oil-muted);
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: rgba(213, 77, 45, 0.1);
    color: var(--oil-ink);
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    padding-left: 0;
    width: 100%;
    border: 0;
    background: transparent;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li {
    list-style: none !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li::marker,
.woocommerce nav.woocommerce-pagination ul.page-numbers::marker {
    content: '' !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--oil-line);
    background: rgba(255, 255, 255, 0.88);
    color: var(--oil-ink);
    font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: rgba(213, 77, 45, 0.12);
}

@media (max-width: 520px) {
    .woocommerce nav.woocommerce-pagination ul {
        gap: 6px;
        margin-top: 22px;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .woocommerce nav.woocommerce-pagination ul {
        gap: 4px;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 13px;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1180px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .site-footer__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce-cart .content-card--cart-page th.product-delivery,
    .woocommerce-cart .content-card--cart-page td.product-delivery {
        width: 132px;
    }

    .woocommerce-cart .content-card--cart-page td.product-thumbnail {
        width: 132px;
    }

    .woocommerce-cart .content-card--cart-page td.product-thumbnail img {
        width: auto;
        height: auto;
        max-width: 96px;
        max-height: 96px;
    }
}

@media (max-width: 980px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        justify-content: stretch;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--oil-line);
        border-radius: 20px;
        background: rgba(255, 250, 244, 0.98);
        box-shadow: var(--oil-shadow);
    }

    .primary-nav a {
        justify-content: flex-start;
    }

    .hero__panel,
    .product-focus__grid,
    .catalog-shell,
    .site-footer__panel,
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .promo-categories__grid {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce-checkout .content-card--checkout-page form.checkout {
        display: block !important;
    }

    .woocommerce-checkout .content-card--checkout-page form.checkout .col2-set,
    .woocommerce-checkout .content-card--checkout-page form.checkout .checkout-order-block {
        max-width: none;
        width: 100% !important;
        grid-column: 1;
    }

    .woocommerce-checkout .content-card--checkout-page form.checkout .checkout-payment-bottom {
        grid-column: 1;
    }

    .woocommerce-checkout .content-card--checkout-page .checkout-payment-bottom #payment ul.payment_methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header__bar {
        display: none;
    }

    .primary-nav {
        top: calc(100% + 10px);
        padding: 16px;
        border-radius: 22px;
    }

    .site-header__main,
    .hero__panel,
    .page-hero,
    .product-focus,
    .home-products,
    .site-footer__panel,
    .catalog-shell__sidebar-card,
    .content-card,
    .catalog-toolbar {
        padding: 20px;
    }

    .header-contacts {
        gap: 8px;
    }

    .hero__panel--slider {
        padding: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: 1024 / 528;
    }

    .hero-slider__control {
        display: none;
    }

    .hero-slider__dots {
        bottom: 12px;
        gap: 8px;
        padding: 7px 12px;
    }

    .hero-slider__slide--motor .hero-slider__image {
        object-position: 24% 50%;
    }

    .hero-slider__slide--hydraulic .hero-slider__image {
        object-position: 82% 50%;
    }

    .hero--intro {
        padding-top: 14px;
    }

    .single-product-shell {
        padding-top: 18px;
    }

    .catalog-shell {
        margin-top: 18px;
    }

    .catalog-toolbar .woocommerce-ordering,
    .catalog-toolbar .orderby {
        width: 100%;
    }

    .header-link {
        display: none;
    }

    .hero__grid,
    .product-focus__facts,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .promo-card {
        grid-template-columns: minmax(0, 1fr) 132px;
        align-items: end;
        gap: 12px;
        min-height: 0;
        padding: 20px;
    }

    .promo-card__title {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .promo-card__actions {
        gap: 10px;
    }

    .promo-card__button {
        min-width: 96px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 15px;
    }

    .promo-card__content {
        min-width: 0;
    }

    .promo-card__media {
        min-height: 0;
        align-self: end;
        justify-content: flex-end;
    }

    .promo-card__media img {
        width: 132px;
        max-width: 100%;
        max-height: 156px;
    }

    .site-brand__title {
        font-size: 19px;
    }

    .hero h1,
    .page-hero h1,
    .product-focus__title,
    .woocommerce-products-header__title.page-title {
        font-size: 30px;
        line-height: 1.02;
        letter-spacing: -0.02em;
    }

    .hero__copy p,
    .page-hero p {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero__actions {
        gap: 10px;
        margin-top: 20px;
    }
}

@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
    .hero--banner {
        padding-top: 18px;
    }

    .hero__panel--slider {
        padding: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: 1024 / 528;
    }

    .hero-slider__control {
        display: none;
    }

    .hero-slider__image {
        object-fit: cover;
        object-position: center center;
    }

    .hero-slider__dots {
        bottom: 12px;
        gap: 8px;
        padding: 7px 12px;
    }

    .hero-slider__slide--motor .hero-slider__image {
        object-position: 36% 50%;
    }

    .hero-slider__slide--hydraulic .hero-slider__image {
        object-position: 68% 50%;
    }
}

@media (max-width: 500px) and (max-height: 420px) and (orientation: landscape) {
    .hero {
        padding: 12px 0 12px;
    }

    .site-header__main,
    .hero__panel,
    .page-hero,
    .product-focus,
    .home-products,
    .site-footer__panel,
    .catalog-shell__sidebar-card,
    .content-card,
    .catalog-toolbar {
        padding: 14px;
    }

    .hero__panel--slider {
        height: auto;
        min-height: 0;
        aspect-ratio: 1024 / 528;
    }

    .hero-slider__image {
        object-fit: cover;
        object-position: center center;
    }

    .hero-slider__dots {
        bottom: 8px;
        padding: 6px 10px;
    }

    .hero-slider__dot {
        width: 13px;
        height: 13px;
    }
}

/* Header Refresh */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background:
        radial-gradient(circle at center, rgba(255, 252, 247, 1) 0%, rgba(246, 237, 226, 0.97) 50%, rgba(231, 219, 203, 0.95) 100%);
    border-bottom: 1px solid rgba(217, 201, 181, 0.72);
    box-shadow: 0 10px 24px rgba(88, 67, 43, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__bar {
    display: none;
}

.site-header__main {
    min-height: 104px;
    gap: 22px;
}

.site-brand {
    flex-shrink: 0;
    gap: 16px;
}

.site-brand__logo {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 201, 181, 0.86);
    box-shadow: 0 18px 38px rgba(43, 31, 18, 0.08);
}

.site-brand__logo img {
    width: 60px;
    height: 60px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    text-align: center;
}

.site-brand__eyebrow {
    display: none;
}

.site-brand__title {
    font-size: 28px;
    line-height: 1;
}

.site-brand__subtitle {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.site-brand__subtitle-line {
    display: block;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.primary-nav__links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 15px;
    border: 1px solid rgba(217, 201, 181, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 243, 236, 0.95));
    color: var(--oil-ink);
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.header-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(213, 77, 45, 0.42);
    box-shadow: 0 16px 32px rgba(43, 31, 18, 0.1);
}

.header-pill--accent {
    background: linear-gradient(135deg, rgba(213, 77, 45, 0.14), rgba(255, 143, 88, 0.26));
    border-color: rgba(213, 77, 45, 0.3);
}

.header-search {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 360px;
}

.header-search__input {
    width: 100%;
    min-height: 52px;
    padding: 0 56px 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    background: rgba(255, 255, 255, 0.96);
    color: var(--oil-ink);
    box-shadow: inset 0 1px 3px rgba(27, 29, 33, 0.04);
}

.header-search__input::placeholder {
    color: #79808b;
}

.header-search__button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--oil-brand), #ff8a58);
    color: #fff;
    box-shadow: 0 12px 24px rgba(213, 77, 45, 0.2);
}

.header-search__button svg,
.favorite-button svg {
    width: 20px;
    height: 20px;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    height: 48px;
    min-width: 0;
    flex: 0 1 212px;
    margin-left: 34px;
}

.primary-nav a.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--oil-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.header-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.primary-nav a.header-contact:hover {
    background: transparent;
    color: var(--oil-brand-dark);
    transform: none;
    box-shadow: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding-right: 4px;
}

.icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--oil-ink);
    line-height: 0;
    transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.icon-button svg {
    width: 28px;
    height: 28px;
}

.icon-button--account-authenticated {
    width: auto;
    min-width: 38px;
    height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(213, 77, 45, 0.22);
    border-radius: 999px;
    background: rgba(213, 77, 45, 0.1);
    color: var(--oil-brand-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(213, 77, 45, 0.1);
}

.icon-button__initials {
    line-height: 1;
}

.icon-button:hover {
    transform: translateY(-2px);
    color: var(--oil-brand);
    opacity: 0.92;
}

.icon-button--account-authenticated:hover {
    background: rgba(213, 77, 45, 0.16);
    color: var(--oil-brand-dark);
}

.icon-button__count {
    position: absolute;
    top: -7px;
    right: -9px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--oil-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.icon-button--cart {
    margin-right: 6px;
}

.icon-button--cart .icon-button__count {
    right: -4px;
}

.icon-button--favorites,
.favorite-button {
    display: none !important;
}

.product-card__media-wrap {
    position: relative;
}

.favorite-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(217, 201, 181, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #6a717c;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.favorite-button:hover {
    transform: translateY(-2px);
    border-color: rgba(213, 77, 45, 0.38);
    color: var(--oil-brand);
}

.favorite-button.is-active {
    background: rgba(213, 77, 45, 0.12);
    border-color: rgba(213, 77, 45, 0.34);
    color: var(--oil-brand);
}

.favorite-button--card {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
}

.product-focus__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-focus__title-wrap {
    flex: 1;
    min-width: 0;
}

.favorite-button--single {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(27, 29, 33, 0.72);
    flex-shrink: 0;
}

.favorite-button--single:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
    transform: scale(1.06);
}

.favorite-button--single.is-active {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--oil-brand);
}

.favorite-button--single svg {
    width: 26px;
    height: 26px;
}

.favorites-page__head {
    margin-bottom: 24px;
}

.favorites-page__copy {
    margin: 0;
    color: var(--oil-muted);
}

.favorites-empty {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(217, 201, 181, 0.9);
    background: rgba(255, 255, 255, 0.92);
}

.favorites-empty h2 {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
}

.favorites-empty p {
    margin: 0 0 18px;
    color: var(--oil-muted);
}

.site-footer--classic {
    margin-top: 64px;
    padding: 44px 0 20px;
    background: #171a1e;
    color: #f3ece1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer--classic .oilmarket-container {
    width: min(calc(100% - 32px), 1240px);
}

.site-footer__layout {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.site-footer__brand-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.site-footer__brand-line img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__brand-line strong {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 800;
}

.site-footer__brand p,
.site-footer__column li,
.site-footer__contacts span {
    color: rgba(243, 236, 225, 0.72);
}

.site-footer__column h3 {
    margin: 0 0 14px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column li + li {
    margin-top: 10px;
}

.site-footer__column a,
.site-footer__contacts a,
.site-footer__bottom-links a {
    color: #f3ece1;
}

.site-footer__column a:hover,
.site-footer__contacts a:hover,
.site-footer__bottom-links a:hover {
    color: #ffb494;
}

/* Скрыть механизм отмены удаления товара из корзины (Undo/Вернуть) */
.woocommerce-message .restore-item,
.woocommerce-notices-wrapper .restore-item {
    display: none !important;
}

h1 {
    font-size: 44px;
}

.oilmarket-order-lookup {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(217, 201, 181, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--oil-shadow);
}

.oilmarket-order-lookup__form h3 {
    margin: 0 0 6px;
}

.oilmarket-order-lookup__hint {
    margin: 0 0 8px;
    color: var(--oil-muted);
}

.oilmarket-order-lookup__message {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.oilmarket-order-lookup__message--error {
    background: rgba(208, 69, 69, 0.08);
    border: 1px solid rgba(208, 69, 69, 0.3);
    color: #b43c3c;
}

.oilmarket-order-lookup__message--success {
    background: rgba(71, 143, 89, 0.1);
    border: 1px solid rgba(71, 143, 89, 0.28);
    color: #2f7a45;
}

.oilmarket-order-lookup__email-status {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(217, 201, 181, 0.58);
    background: rgba(255, 255, 255, 0.72);
}

.oilmarket-order-lookup__email-status strong {
    color: var(--oil-ink);
}

.oilmarket-order-lookup__email-status p {
    margin: 0;
    color: var(--oil-muted);
    line-height: 1.5;
}

.oilmarket-order-lookup__email-status--verified {
    border-color: rgba(71, 143, 89, 0.28);
    background: rgba(71, 143, 89, 0.08);
}

.oilmarket-order-lookup__email-status--pending {
    border-color: rgba(213, 128, 45, 0.3);
    background: rgba(213, 128, 45, 0.08);
}

.oilmarket-order-payment {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(213, 128, 45, 0.3);
    background: rgba(213, 128, 45, 0.08);
}

.oilmarket-order-payment--thankyou {
    margin: 18px 0;
}

.oilmarket-order-payment--paid {
    border-color: rgba(71, 143, 89, 0.28);
    background: rgba(71, 143, 89, 0.08);
}

.oilmarket-order-payment--failed {
    border-color: rgba(208, 69, 69, 0.3);
    background: rgba(208, 69, 69, 0.08);
}

.oilmarket-order-payment strong {
    color: var(--oil-ink);
}

.oilmarket-order-payment p {
    margin: 0;
    color: var(--oil-muted);
    line-height: 1.5;
}

.oilmarket-order-payment__button {
    justify-self: start;
    margin-top: 2px;
}

.oilmarket-order-storage {
    margin: 0 0 14px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(71, 143, 89, 0.28);
    background: rgba(71, 143, 89, 0.08);
}

.oilmarket-order-storage--thankyou {
    margin: 0 0 18px;
}

.oilmarket-order-storage strong {
    color: var(--oil-ink);
}

.oilmarket-order-lookup__result {
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid rgba(217, 201, 181, 0.55);
    border-radius: 0;
    background: transparent;
}

.oilmarket-order-lookup__order-title {
    margin: 0 0 12px;
}

.oilmarket-order-lookup__summary-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 4px;
    border-radius: 12px;
    border: 1px solid rgba(217, 201, 181, 0.65);
    background: rgba(255, 255, 255, 0.55);
}

.oilmarket-order-lookup__summary-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.oilmarket-order-lookup__summary-table th,
.oilmarket-order-lookup__summary-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(217, 201, 181, 0.45);
}

.oilmarket-order-lookup__summary-table thead th {
    font-weight: 700;
    color: var(--oil-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(217, 201, 181, 0.75);
}

.oilmarket-order-lookup__summary-table tbody td {
    font-weight: 600;
    color: var(--oil-ink);
    border-bottom: 0;
}

.oilmarket-order-lookup__items {
    margin-top: 16px;
}

.oilmarket-order-lookup__items-heading {
    display: block;
    margin-bottom: 6px;
}

.oilmarket-order-lookup__item-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oilmarket-order-lookup__item-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(217, 201, 181, 0.45);
}

.oilmarket-order-lookup__item-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.oilmarket-order-lookup__item-name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--oil-ink);
}

.oilmarket-order-lookup__item-qty {
    font-weight: 500;
    color: var(--oil-muted);
    margin-left: 4px;
    white-space: nowrap;
}

.oilmarket-order-lookup__item-price {
    flex: 0 0 auto;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.oilmarket-order-lookup__item-price .woocommerce-Price-amount {
    font-weight: 600;
}

.oilmarket-order-lookup__items-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid rgba(217, 201, 181, 0.65);
}

.oilmarket-order-lookup__items-total-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--oil-ink);
}

.oilmarket-order-lookup__items-total-value {
    font-weight: 700;
    font-size: 1.08rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
}

.oilmarket-order-lookup__items-total-value .woocommerce-Price-amount {
    font-weight: 700;
}

.oilmarket-order-lookup__form .form-row {
    margin: 0 0 12px;
}

.oilmarket-order-lookup__form .form-row label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
}

.oilmarket-order-lookup__form input[type="text"],
.oilmarket-order-lookup__form input[type="email"] {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--oil-line);
    border-radius: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--oil-ink);
}

.oilmarket-order-lookup__form button[type="submit"] {
    min-height: 46px;
    padding: 0 20px;
}

.oilmarket-order-lookup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.oilmarket-order-lookup__actions .button {
    margin: 0;
}

@media (max-width: 980px) {
    .oilmarket-order-lookup {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .oilmarket-order-lookup__result {
        padding-top: 12px;
        border-top: 0;
    }

    .oilmarket-order-lookup__summary-scroll {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .oilmarket-order-lookup__result {
        display: grid;
        gap: 14px;
        padding-top: 16px;
    }

    .oilmarket-order-lookup__order-title {
        margin-bottom: 0;
    }

    .oilmarket-order-lookup__summary-table {
        width: 100%;
        min-width: 0;
    }

    .oilmarket-order-lookup__summary-table thead {
        display: none;
    }

    .oilmarket-order-lookup__summary-table,
    .oilmarket-order-lookup__summary-table tbody,
    .oilmarket-order-lookup__summary-table tr {
        display: block;
        width: 100%;
    }

    .oilmarket-order-lookup__summary-table tbody tr {
        display: grid;
        gap: 10px;
    }

    .oilmarket-order-lookup__summary-table tbody td {
        display: grid;
        grid-template-columns: minmax(114px, 42%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 0;
        border: 0;
        text-align: left;
        white-space: normal;
        word-break: break-word;
    }

    .oilmarket-order-lookup__summary-table tbody td::before {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--oil-muted);
    }

    .oilmarket-order-lookup__summary-table tbody td:nth-child(1)::before {
        content: "Статус";
    }

    .oilmarket-order-lookup__summary-table tbody td:nth-child(2)::before {
        content: "Оплата";
    }

    .oilmarket-order-lookup__summary-table tbody td:nth-child(3)::before {
        content: "Дата";
    }

    .oilmarket-order-lookup__summary-table tbody td:nth-child(4)::before {
        content: "Срок доставки";
    }

    .oilmarket-order-lookup__summary-table tbody td:nth-child(5)::before {
        content: "ПВЗ";
    }

    .oilmarket-order-lookup__items {
        margin-top: 0;
        padding-top: 14px;
        border-top: 1px solid rgba(217, 201, 181, 0.45);
    }

    .oilmarket-order-lookup__items-heading {
        margin-bottom: 10px;
    }

    .oilmarket-order-lookup__item-list {
        margin-top: 0;
        gap: 0;
    }

    .oilmarket-order-lookup__item-row {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: baseline;
        padding: 12px 0;
    }

    .oilmarket-order-lookup__item-name {
        line-height: 1.35;
        min-width: 0;
    }

    .oilmarket-order-lookup__item-price {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        white-space: nowrap;
        font-size: 0.96rem;
    }

    .oilmarket-order-lookup__items-total {
        margin-top: 14px;
        padding-top: 14px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: baseline;
    }

    .oilmarket-order-lookup__items-total-value {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        white-space: nowrap;
    }

    .oilmarket-order-lookup__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .oilmarket-order-lookup__actions .button,
    .oilmarket-order-payment__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .oilmarket-order-lookup__message,
    .oilmarket-order-payment,
    .oilmarket-order-storage {
        padding: 12px;
        border-radius: 12px;
        overflow-wrap: anywhere;
    }

    .oilmarket-order-lookup__form input[type="text"],
    .oilmarket-order-lookup__form input[type="email"] {
        min-height: 48px;
        padding: 10px 14px;
    }

    .oilmarket-order-lookup__form input[type="text"]::placeholder,
    .oilmarket-order-lookup__form input[type="email"]::placeholder {
        font-size: 13px;
        letter-spacing: -0.02em;
    }

    .oilmarket-order-lookup__form button[type="submit"] {
        width: 100%;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 13px;
        font-size: 14px;
    }

    .oilmarket-order-lookup__summary-table tbody td {
        grid-template-columns: minmax(96px, 40%) minmax(0, 1fr);
    }

    .oilmarket-order-lookup__item-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .oilmarket-order-lookup__item-price {
        margin-left: 0;
        text-align: left;
    }
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(243, 236, 225, 0.62);
    font-size: 14px;
}

.site-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-result + .search-result {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(217, 201, 181, 0.74);
}

@media (max-width: 1180px) {
    .primary-nav {
        gap: 12px;
    }

    .header-search {
        max-width: 300px;
    }

    .site-footer__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-header {
        position: relative;
        top: auto;
        z-index: 60;
    }

    body.admin-bar .site-header {
        top: auto;
    }

    .site-header__main {
        min-height: 88px;
        flex-wrap: nowrap;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        z-index: 80;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-height: calc(100vh - 118px);
        padding: 18px;
        overflow-y: auto;
        border-radius: 24px;
        border: 1px solid rgba(217, 201, 181, 0.94);
        background: linear-gradient(180deg, rgba(255, 252, 247, 1), rgba(252, 246, 238, 0.995));
        box-shadow: 0 24px 54px rgba(43, 31, 18, 0.16), 0 8px 18px rgba(43, 31, 18, 0.08);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-pill {
        width: 100%;
    }

    .header-search {
        width: 100%;
        max-width: none;
    }

    .header-contacts {
        width: 100%;
        height: auto;
        min-width: 0;
        margin-left: 0;
        padding-top: 14px;
        gap: 10px;
        border-top: 1px solid rgba(217, 201, 181, 0.72);
    }

    .oilmarket-filter-preview {
        position: static;
        left: 0;
        right: 0;
        top: auto !important;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }
}

@media (max-width: 680px) {
    .site-header__actions {
        gap: 6px;
        padding-right: 0;
    }

    .icon-button--cart {
        margin-right: 0;
    }

    .icon-button__count {
        right: 0;
    }

    .woocommerce-checkout .content-card--checkout-page form.checkout .form-row {
        padding-bottom: 0;
    }

    .woocommerce-checkout .content-card--checkout-page form.checkout .form-row .woocommerce-error,
    .woocommerce-checkout .content-card--checkout-page form.checkout .form-row .woocommerce-invalid-feedback,
    .woocommerce-checkout .content-card--checkout-page form.checkout .form-row .oilmarket-field-error {
        position: static;
        display: block;
        margin-top: 6px;
        line-height: 1.3;
    }

    .oilmarket-pickup-map {
        margin-bottom: 16px;
        gap: 8px;
    }

    .oilmarket-pickup-map__canvas {
        min-height: 280px;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(73, 58, 40, 0.06);
    }

    .oilmarket-pickup-map__lead {
        font-size: 13px;
    }

    .oilmarket-pickup-map__status {
        font-size: 12px;
    }

    .oilmarket-filter-preview {
        display: none !important;
    }

    .woocommerce-checkout .content-card--checkout-page #order_review table.woocommerce-checkout-review-order-table--desktop {
        display: none !important;
    }

    .woocommerce-checkout .content-card--checkout-page #order_review .oilmarket-checkout-order-mobile {
        display: block !important;
    }

    .woocommerce-checkout .content-card--checkout-page #order_review .oilmarket-checkout-order-mobile ~ .oilmarket-checkout-order-mobile {
        display: none !important;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tbody,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tr {
        display: block;
        width: 100%;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table thead {
        display: none;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tbody tr.order_item {
        padding: 14px 0;
        border-bottom: 1px solid rgba(217, 201, 181, 0.52);
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tbody td,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot th,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot td {
        display: block;
        width: 100% !important;
        padding: 0;
        border: 0;
        text-align: left;
        white-space: normal;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-name {
        color: var(--oil-ink);
        font-weight: 800;
        line-height: 1.3;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-name .wc-item-meta {
        display: grid;
        gap: 4px;
        margin: 10px 0 0;
        padding: 0;
        color: var(--oil-muted);
        font-size: 14px;
        font-weight: 600;
        list-style: none;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-name .wc-item-meta li {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-name .wc-item-meta p {
        margin: 0;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-quantity,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-subtotal {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-top: 8px;
        color: var(--oil-ink);
        font-weight: 700;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-quantity::before {
        content: "Количество";
        color: var(--oil-muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table td.product-subtotal::before {
        content: "Сумма";
        color: var(--oil-muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot {
        display: grid;
        gap: 8px;
        padding-top: 12px;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding-top: 8px;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot tr.order-total {
        border-top: 1px solid rgba(217, 201, 181, 0.52);
        font-weight: 800;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot th,
    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot td {
        width: auto !important;
        padding: 0;
        text-align: left;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review table.shop_table tfoot td {
        text-align: right;
        white-space: nowrap;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(217, 201, 181, 0.52);
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        border: 0;
        list-style: none;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment ul.payment_methods li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .payment_box {
        margin: 8px 0 0;
        padding: 0;
        background: transparent;
        color: var(--oil-muted);
        line-height: 1.5;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #payment .form-row {
        padding-bottom: 0;
    }

    body.woocommerce-order-pay .content-card--checkout-page form#order_review #place_order {
        width: 100%;
        margin-top: 12px;
    }

    .oilmarket-checkout-order-mobile__items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .oilmarket-checkout-order-mobile__item {
        padding: 10px 0 12px;
        border-bottom: 1px solid rgba(217, 201, 181, 0.45);
    }

    .oilmarket-checkout-order-mobile__head {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
    }

    .oilmarket-checkout-order-mobile__thumb img {
        width: auto;
        height: auto;
        max-width: 70px;
        max-height: 70px;
        object-fit: contain;
        object-position: center center;
        display: block;
        border-radius: 12px;
        background: #fff;
        margin: 0;
    }

    .oilmarket-checkout-order-mobile__thumb {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        overflow: hidden;
        border-radius: 12px;
        background: #fff;
    }

    .oilmarket-checkout-order-mobile__summary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        margin-top: 8px;
    }

    .oilmarket-checkout-order-mobile__summary .oilmarket-checkout-order-mobile__line:last-child {
        text-align: right;
    }

    .oilmarket-checkout-order-mobile__label {
        display: block;
        margin-bottom: 2px;
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .oilmarket-checkout-order-mobile__totals {
        margin-top: 10px;
        border-top: 1px solid rgba(217, 201, 181, 0.52);
        padding-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .oilmarket-checkout-order-mobile__total-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
    }

    .oilmarket-checkout-order-mobile__total-row--grand {
        font-weight: 700;
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px solid rgba(217, 201, 181, 0.52);
    }

    .oilmarket-catalog-filters__collapse-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-bottom: 12px;
        border: 1px solid rgba(217, 201, 181, 0.95);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 236, 0.95));
        color: var(--oil-ink);
        font-weight: 700;
    }

    .oilmarket-catalog-filters__collapse-toggle-count {
        position: absolute;
        top: 6px;
        right: 8px;
        display: grid;
        place-items: center;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--oil-brand);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
    }

    .oilmarket-catalog-filters__collapse-toggle-count[hidden] {
        display: none;
    }

    .oilmarket-catalog-filters.oilmarket-catalog-filters--collapsed .oilmarket-filter-group,
    .oilmarket-catalog-filters.oilmarket-catalog-filters--collapsed .button-row,
    .oilmarket-catalog-filters.oilmarket-catalog-filters--collapsed .oilmarket-filter-preview {
        display: none !important;
    }

    .primary-nav {
        top: calc(100% + 10px);
    }

    .site-brand__logo {
        width: 62px;
        height: 62px;
    }

    .site-brand__logo img {
        width: 52px;
        height: 52px;
    }

    .site-brand__title {
        font-size: 24px;
    }

    .site-brand__subtitle {
        font-size: 13px;
    }

    .content-card--cart-page {
        padding: 20px;
    }

    .content-card--cart-page .page-hero {
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .woocommerce-cart .content-card--cart-page .woocommerce-cart-form--desktop {
        display: none;
    }

    .woocommerce-cart .content-card--cart-page .woocommerce-cart-form--mobile {
        display: block;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(217, 201, 181, 0.55);
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__head {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr) 34px;
        gap: 10px;
        align-items: start;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__thumb img {
        display: block;
        width: auto;
        height: auto;
        max-width: 84px;
        max-height: 84px;
        border-radius: 14px;
        object-fit: contain;
        object-position: center center;
        background: #fff;
        margin: 0;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__thumb {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 84px;
        height: 84px;
        overflow: hidden;
        border-radius: 14px;
        background: #fff;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__meta {
        min-width: 0;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__remove {
        display: flex;
        justify-content: flex-end;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__remove .remove {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: rgba(213, 77, 45, 0.1);
        color: var(--oil-brand) !important;
        font-size: 26px;
        font-weight: 400;
        line-height: 1;
        transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__line {
        margin-top: 8px;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 8px;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__summary .oilmarket-cart-mobile-item__line {
        margin-top: 0;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__label {
        display: block;
        margin-bottom: 2px;
        color: var(--oil-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__summary .quantity.quantity--enhanced {
        min-width: 0;
        width: 100%;
        max-width: 124px;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__summary .quantity.quantity--enhanced {
        grid-template-columns: 33% 33% 33%;
    }

    .woocommerce-cart .content-card--cart-page .oilmarket-cart-mobile-item__summary .quantity.quantity--enhanced .quantity__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        padding: 0 !important;
        margin: 0;
        box-sizing: border-box;
    }

    .woocommerce-cart .content-card--cart-page th.product-delivery,
    .woocommerce-cart .content-card--cart-page td.product-delivery {
        width: auto;
    }

    .woocommerce-cart .content-card--cart-page td.product-thumbnail img {
        width: auto;
        height: auto;
        max-width: 84px;
        max-height: 84px;
        border-radius: 14px;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals {
        width: 100%;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table col {
        width: auto !important;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__spacer {
        display: none;
        width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table,
    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table tbody {
        display: block;
        width: 100%;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table tr {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__label,
    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__value {
        display: block;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__label,
    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__value {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__label {
        flex: 1 1 auto;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-totals__value {
        min-width: 132px;
        text-align: left;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-row {
        align-items: stretch;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-cell {
        display: block;
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        padding: 14px 0 0 !important;
    }

    .woocommerce-cart .content-card--cart-page .cart-collaterals .cart_totals .cart-totals-table .cart-checkout-cell .checkout-button {
        min-height: 54px;
        font-size: 16px;
    }

    .site-footer__layout,
    .site-footer__bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .product-focus__header {
        flex-direction: column;
    }

    .oilmarket-filter-group__toggle {
        min-height: 54px;
        padding: 0 16px;
        font-size: 16px;
    }

    .oilmarket-price-grid {
        grid-template-columns: 1fr;
    }

    .oilmarket-filter-group__body {
        padding: 0 16px 16px;
    }

    .oilmarket-filter-options {
        gap: 8px;
        max-height: 196px;
    }

    .oilmarket-filter-option {
        min-height: 24px;
        font-size: 14px;
    }

    .catalog-shell {
        margin-top: 18px;
        gap: 14px;
        padding-bottom: 28px;
    }

    .catalog-shell__sidebar {
        gap: 12px;
    }

    .catalog-shell__sidebar-card {
        padding: 16px;
    }

    .catalog-shell__sidebar-card h2 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .catalog-toolbar {
        gap: 12px;
        padding: 16px;
        margin-bottom: 14px;
    }

    .catalog-toolbar__meta {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(246, 240, 231, 0.95);
        font-size: 13px;
        line-height: 1.1;
    }

    .catalog-toolbar .woocommerce-result-count {
        margin: 0;
    }

    .catalog-toolbar__search {
        display: block;
        flex: 1 1 100%;
        width: 100%;
    }

    .catalog-toolbar__search .header-search__input {
        min-height: 48px;
        border-radius: 14px;
    }

    .catalog-toolbar__sort {
        display: none;
    }

    .oilmarket-catalog-filters .button-row {
        flex-direction: column;
    }

    .catalog-shell ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-focus__related ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .catalog-shell .product-card {
        padding: 12px;
        border-radius: 18px;
    }

    .product-focus__related .product-card {
        padding: 12px;
        border-radius: 18px;
    }

    .catalog-shell .product-card__media-wrap {
        height: auto;
        min-height: 0;
        margin-bottom: 10px;
    }

    .product-focus__related .product-card__media-wrap {
        height: auto;
        min-height: 0;
        margin-bottom: 10px;
    }

    .catalog-shell .product-card__media {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 10px;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
    }

    .product-focus__related .product-card__media {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 10px;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
    }

    .catalog-shell .product-card__media img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
        margin: 0;
    }

    .product-focus__related .product-card__media img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
        margin: 0;
    }

    .catalog-shell .product-card__topline {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 6px;
    }

    .product-focus__related .product-card__topline {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 6px;
    }

    .catalog-shell .tag {
        min-height: 20px;
        padding: 3px 6px;
        font-size: 10px;
        line-height: 1.1;
    }

    .product-focus__related .tag {
        min-height: 20px;
        padding: 3px 6px;
        font-size: 10px;
        line-height: 1.1;
    }

    .catalog-shell .product-card__title {
        font-size: 15px;
        line-height: 1.12;
    }

    .product-focus__related .product-card__title {
        font-size: 15px;
        line-height: 1.12;
    }

    .catalog-shell .product-card__specs {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.15;
    }

    .product-focus__related .product-card__specs {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.15;
    }

    .catalog-shell .product-card__sku,
    .catalog-shell .product-card__stock {
        display: none;
    }

    .product-focus__related .product-card__sku,
    .product-focus__related .product-card__stock {
        display: none;
    }

    .catalog-shell .product-card__price {
        gap: 4px;
        margin-top: 6px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .product-focus__related .product-card__price {
        gap: 4px;
        margin-top: 6px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .catalog-shell .product-card__price > .woocommerce-Price-amount,
    .catalog-shell .product-card__price ins,
    .catalog-shell .product-card__price ins .woocommerce-Price-amount {
        font-size: 14px;
        line-height: 1.1;
    }

    .product-focus__related .product-card__price > .woocommerce-Price-amount,
    .product-focus__related .product-card__price ins,
    .product-focus__related .product-card__price ins .woocommerce-Price-amount {
        font-size: 14px;
        line-height: 1.1;
    }

    .catalog-shell .product-card__price del,
    .catalog-shell .product-card__price del .woocommerce-Price-amount,
    .catalog-shell .product-card__price del .woocommerce-Price-currencySymbol {
        font-size: 12px;
        line-height: 1.1;
    }

    .product-focus__related .product-card__price del,
    .product-focus__related .product-card__price del .woocommerce-Price-amount,
    .product-focus__related .product-card__price del .woocommerce-Price-currencySymbol {
        font-size: 12px;
        line-height: 1.1;
    }

    .catalog-shell .product-card__actions {
        padding-top: 10px;
    }

    .product-focus__related .product-card__actions {
        padding-top: 10px;
    }

    .catalog-shell .product-card__actions .button,
    .catalog-shell .product-card__actions .added_to_cart.wc-forward,
    .catalog-shell .product-card__actions .button--in-cart {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 12px;
    }

    .product-focus__related .product-card__actions .button,
    .product-focus__related .product-card__actions .added_to_cart.wc-forward,
    .product-focus__related .product-card__actions .button--in-cart {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 12px;
    }

    .catalog-shell .product-card__actions .added_to_cart.wc-forward::after,
    .catalog-shell .product-card__actions .button--in-cart::after {
        font-size: 14px;
    }

    .home-products {
        padding: 18px;
        margin-bottom: 28px;
    }

    .home-products > .eyebrow {
        margin-bottom: 10px;
    }

    .home-products .section-title {
        margin-bottom: 10px;
        font-size: 34px;
        line-height: 0.98;
    }

    .home-products .section-copy {
        margin-bottom: 16px;
        white-space: normal;
        font-size: 13px;
        line-height: 1.35;
    }

    .home-products .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-products .product-card {
        padding: 12px;
        border-radius: 18px;
    }

    .home-products .product-card__media {
        min-height: 116px;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .home-products .product-card__media img {
        max-width: 100%;
        max-height: 96px;
        margin: 0;
        object-fit: contain;
        object-position: center center;
    }

    .home-products .product-card__topline {
        gap: 4px;
        margin-bottom: 6px;
    }

    .home-products .tag {
        min-height: 20px;
        padding: 3px 6px;
        font-size: 10px;
        line-height: 1.1;
    }

    .home-products .product-card__title {
        font-size: 15px;
        line-height: 1.12;
    }

    .home-products .product-card__specs {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.15;
    }

    .home-products .product-card__sku,
    .home-products .product-card__stock {
        display: none;
    }

    .home-products .product-card__price {
        gap: 4px;
        margin-top: 6px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .home-products .product-card__price > .woocommerce-Price-amount,
    .home-products .product-card__price ins,
    .home-products .product-card__price ins .woocommerce-Price-amount {
        font-size: 14px;
        line-height: 1.1;
    }

    .home-products .product-card__price del,
    .home-products .product-card__price del .woocommerce-Price-amount,
    .home-products .product-card__price del .woocommerce-Price-currencySymbol {
        font-size: 12px;
        line-height: 1.1;
    }

    .home-products .product-card__actions {
        padding-top: 10px;
    }

    .home-products .product-card__actions .button,
    .home-products .product-card__actions .added_to_cart.wc-forward,
    .home-products .product-card__actions .button--in-cart {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 12px;
    }

    .home-products .product-card__actions .added_to_cart.wc-forward::after,
    .home-products .product-card__actions .button--in-cart::after {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .site-header__main {
        gap: 8px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-brand {
        gap: 8px;
    }

    .site-brand__logo {
        width: 56px;
        height: 56px;
    }

    .site-brand__logo img {
        width: 46px;
        height: 46px;
    }

    .site-brand__title {
        font-size: 21px;
    }

    .site-brand__subtitle {
        font-size: 12px;
    }

    .site-header__actions {
        gap: 6px;
    }

    .icon-button__count {
        right: 0;
    }
}

@media (max-width: 680px) {
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-overview {
        margin: 18px 0 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-scroll {
        margin-top: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 14px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table td {
        display: grid !important;
        grid-template-columns: minmax(120px, 44%) minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 6px 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table td::before {
        color: var(--oil-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-thankyou-summary-table tbody td .woocommerce-Price-amount {
        white-space: nowrap;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table {
        width: 100% !important;
        margin: 22px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table .woocommerce-order-details__title {
        margin: 0 0 14px;
        font-size: 22px;
        line-height: 1.15;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block !important;
        padding: 14px !important;
        border: 1px solid rgba(217, 201, 181, 0.55) !important;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 24px rgba(73, 58, 40, 0.05);
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td + td {
        margin-top: 8px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name {
        display: block !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар";
        display: block;
        margin-bottom: 4px;
        color: var(--oil-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки";
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог";
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        color: var(--oil-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        flex: 0 0 auto;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name a,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name > span:first-child {
        line-height: 1.35;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery .order-item-delivery,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total > * {
        margin-left: auto;
        text-align: right;
        white-space: nowrap;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table .wc-item-meta {
        margin-top: 6px;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid rgba(217, 201, 181, 0.55);
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 7px 0 !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        padding: 0 !important;
        border: 0 !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th {
        color: var(--oil-muted);
        font-size: 13px;
        font-weight: 600;
        text-align: left !important;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        margin-left: auto;
        text-align: right !important;
        white-space: nowrap !important;
        font-weight: 600;
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child {
        margin-top: 4px;
        padding-top: 10px !important;
        border-top: 1px solid rgba(217, 201, 181, 0.55);
    }

    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child th,
    .woocommerce-checkout-order-received .content-card--checkout-page .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child td {
        color: var(--oil-ink);
        font-weight: 700;
    }
}

@media (max-width: 680px) {
    .woocommerce-checkout-order-received .woocommerce-thankyou-order-details.oilmarket-thankyou-overview,
    .woocommerce-checkout-order-received .oilmarket-thankyou-overview {
        margin: 18px 0 0 !important;
        padding: 16px 18px !important;
        border: 1px solid rgba(217, 201, 181, 0.7) !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 12px 28px rgba(73, 58, 40, 0.04) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-scroll {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tbody,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tr {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td {
        display: grid !important;
        grid-template-columns: minmax(118px, 42%) minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 7px 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td::before {
        content: attr(data-label) !important;
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table {
        width: 100% !important;
        margin: 22px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table .woocommerce-order-details__title {
        margin: 0 0 14px !important;
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block !important;
        padding: 14px !important;
        border: 1px solid rgba(217, 201, 181, 0.55) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 10px 24px rgba(73, 58, 40, 0.05) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td + td {
        margin-top: 8px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name {
        display: block !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар" !important;
        display: block !important;
        margin-bottom: 4px !important;
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки" !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог" !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        flex: 0 0 auto !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery .order-item-delivery,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total > * {
        margin-left: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table .wc-item-meta {
        margin-top: 6px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        margin-top: 14px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(217, 201, 181, 0.55) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 7px 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        padding: 0 !important;
        border: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th {
        color: var(--oil-muted) !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        margin-left: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child {
        margin-top: 4px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(217, 201, 181, 0.55) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child th,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child td {
        color: var(--oil-ink) !important;
        font-weight: 700 !important;
    }
}

.oilmarket-order-details-desktop {
    display: block;
}

.oilmarket-order-details-mobile {
    display: none;
}

@media (max-width: 680px) {
    .oilmarket-order-pickup {
        padding: 16px;
    }

    .oilmarket-order-pickup__header {
        display: grid;
        justify-content: stretch;
    }

    .oilmarket-order-pickup__badge {
        justify-self: start;
    }

    .oilmarket-order-pickup__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .oilmarket-order-receipt {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .oilmarket-order-receipt__header,
    .oilmarket-order-receipt__meta div {
        display: grid;
        justify-content: stretch;
    }

    .oilmarket-order-receipt__meta dd {
        text-align: left;
    }

    .oilmarket-fiscal-receipt {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .oilmarket-fiscal-receipt__summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 13px;
        background: linear-gradient(135deg, var(--oil-brand), var(--oil-brand-light));
        color: #fff;
        box-shadow: 0 12px 24px rgba(213, 77, 45, 0.16);
    }

    .oilmarket-fiscal-receipt__body {
        padding: 0 0 12px;
    }

    .oilmarket-fiscal-receipt__paper {
        padding: 10px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 12px;
        box-shadow: none;
    }

    .oilmarket-thankyou-summary-scroll {
        border: 0 !important;
    }

    .oilmarket-thankyou-summary-table td {
        border-bottom: 0 !important;
    }

    .woocommerce table.shop_table {
        border: 0 !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 980px) {
    .oilmarket-order-details-desktop {
        display: none !important;
    }

    .oilmarket-order-details-mobile {
        display: block !important;
        margin-top: 6px;
    }

    .oilmarket-order-details-mobile__items {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .oilmarket-order-details-mobile__item {
        padding: 14px;
        border: 1px solid rgba(217, 201, 181, 0.55);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 10px 24px rgba(73, 58, 40, 0.05);
    }

    .oilmarket-order-details-mobile__title-label,
    .oilmarket-order-details-mobile__row-label,
    .oilmarket-order-details-mobile__total-label {
        color: var(--oil-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .oilmarket-order-details-mobile__title-main {
        margin-top: 6px;
        color: var(--oil-ink);
        font-size: 17px;
        line-height: 1.35;
    }

    .oilmarket-order-details-mobile__title-main a {
        color: inherit;
        text-decoration: none;
    }

    .oilmarket-order-details-mobile__title-main .product-quantity {
        font-weight: 800;
        white-space: nowrap;
    }

    .oilmarket-order-details-mobile__meta {
        margin-top: 6px;
    }

    .oilmarket-order-details-mobile__meta .wc-item-meta {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .oilmarket-order-details-mobile__meta .wc-item-meta li {
        margin: 4px 0 0;
        list-style: none;
    }

    .oilmarket-order-details-mobile__meta .wc-item-meta li::marker {
        content: none;
    }

    .oilmarket-order-details-mobile__row,
    .oilmarket-order-details-mobile__total-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .oilmarket-order-details-mobile__row {
        margin-top: 10px;
    }

    .oilmarket-order-details-mobile__row-value,
    .oilmarket-order-details-mobile__total-value {
        margin-left: auto;
        color: var(--oil-ink);
        font-size: 16px;
        font-weight: 600;
        text-align: right;
        white-space: nowrap;
    }

    .oilmarket-order-details-mobile__totals {
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid rgba(217, 201, 181, 0.55);
    }

    .oilmarket-order-details-mobile__total-row {
        padding: 7px 0;
    }

    .oilmarket-order-details-mobile__total-row--order_total {
        margin-top: 4px;
        padding-top: 10px;
        border-top: 0;
    }

    .oilmarket-order-details-mobile__total-row--order_total .oilmarket-order-details-mobile__total-label,
    .oilmarket-order-details-mobile__total-row--order_total .oilmarket-order-details-mobile__total-value {
        color: var(--oil-ink);
        font-weight: 700;
    }
}

@media (max-width: 980px) {
    .woocommerce-checkout-order-received .woocommerce-thankyou-order-details.oilmarket-thankyou-overview,
    .woocommerce-checkout-order-received .oilmarket-thankyou-overview {
        margin: 18px 0 0 !important;
        padding: 16px 18px !important;
        border: 1px solid rgba(217, 201, 181, 0.7) !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 12px 28px rgba(73, 58, 40, 0.04) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-scroll,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tbody,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tr,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td {
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        background: transparent !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-scroll {
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tbody,
    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table tr {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td {
        display: grid !important;
        grid-template-columns: minmax(118px, 42%) minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 7px 0 !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .woocommerce-checkout-order-received .oilmarket-thankyou-summary-table td::before {
        content: attr(data-label) !important;
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table,
    .woocommerce-checkout-order-received .oilmarket-order-details-table tbody,
    .woocommerce-checkout-order-received .oilmarket-order-details-table tfoot,
    .woocommerce-checkout-order-received .oilmarket-order-details-table tr,
    .woocommerce-checkout-order-received .oilmarket-order-details-table td,
    .woocommerce-checkout-order-received .oilmarket-order-details-table th {
        box-shadow: none !important;
        outline: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table {
        width: 100% !important;
        margin: 22px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table .woocommerce-order-details__title {
        margin: 0 0 14px !important;
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table thead {
        display: none !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item {
        display: block !important;
        padding: 14px !important;
        border: 1px solid rgba(217, 201, 181, 0.55) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 10px 24px rgba(73, 58, 40, 0.05) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td + td {
        margin-top: 8px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name {
        display: block !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-name::before {
        content: "Товар" !important;
        display: block !important;
        margin-bottom: 4px !important;
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before {
        content: "Срок доставки" !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        content: "Подытог" !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery::before,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total::before {
        color: var(--oil-muted) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        flex: 0 0 auto !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-delivery .order-item-delivery,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tbody tr.order_item td.product-total > * {
        margin-left: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table .wc-item-meta {
        margin-top: 6px !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot {
        margin-top: 14px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(217, 201, 181, 0.55) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 7px 0 !important;
        border: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        padding: 0 !important;
        border: 0 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot th {
        color: var(--oil-muted) !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot td {
        margin-left: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child {
        margin-top: 4px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(217, 201, 181, 0.55) !important;
    }

    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child th,
    .woocommerce-checkout-order-received .oilmarket-order-details-table table.oilmarket-order-line-table tfoot tr:last-child td {
        color: var(--oil-ink) !important;
        font-weight: 700 !important;
    }
}
