.quote-page {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 0 48px;
    color: #242424;
    line-height: 1.75;
}

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

.quote-page__inner {
    max-width: 780px;
    margin: 0 auto;
}

.quote-page h2 {
    margin: 1.8em 0 0.6em;
    color: #222;
    font-size: 1.25rem;
    line-height: 1.45;
}

.quote-page p,
.quote-page li,
.quote-page dt,
.quote-page dd {
    overflow-wrap: anywhere;
}

.quote-page__items,
.quote-page__summary {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
}

.quote-page__summary {
    display: grid;
    grid-template-columns: minmax(9rem, 0.36fr) minmax(0, 1fr);
    gap: 0.5rem 1rem;
}

.quote-page__summary dt {
    font-weight: 700;
}

.quote-page__summary dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.quote-page__subtotal,
.quote-page__notice {
    padding: 1rem;
    border-left: 4px solid #8b1c22;
    background: #f7f3f3;
}

.quote-page__next-steps {
    min-width: 0;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
}

.quote-page__next-steps h2 {
    margin-top: 0;
}

.quote-page__next-steps ol {
    margin: 0;
    padding-left: 1.5rem;
}

.quote-page__next-steps li + li {
    margin-top: 0.75rem;
}

.quote-page__next-steps[lang="en"] {
    margin-top: 1rem;
}

.quote-page__english-details {
    margin: 1.25rem 0;
    border-top: 1px solid #d5d5d5;
}

.quote-page__english-details summary {
    min-height: 44px;
    padding: 0.6rem 0;
    cursor: pointer;
    font-weight: 700;
}

.quote-page__english-details summary:focus-visible {
    outline: 3px solid #1469a0;
    outline-offset: 2px;
}

.quote-page select {
    max-width: 100%;
    min-width: 0;
}

.quote-page .quote-page__conditional-required[hidden] {
    display: none !important;
}

.quote-page .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.quote-page table {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.quote-page table th:nth-child(1) {
    width: 40%;
}

.quote-page table th:nth-child(2) {
    width: 15%;
}

.quote-page table th:nth-child(3) {
    width: 27%;
}

.quote-page table th:nth-child(4) {
    width: 18%;
}

.quote-page table thead th {
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: middle;
    line-height: 1.35;
}

.quote-page table thead th span {
    display: block;
}

.quote-page table thead th span + span {
    margin-top: 2px;
    color: #625b54;
    font-size: 0.9em;
}

.quote-page table th,
.quote-page table td {
    vertical-align: middle;
}

.quote-page table .ec-inlineBtn {
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
}

.quote-page button,
.quote-page a.ec-blockBtn--action,
.quote-page a.ec-blockBtn--cancel,
.catalog-variant-form .ec-blockBtn--action {
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.quote-page .ec-RegisterRole__actions .ec-off4Grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.quote-page .ec-RegisterRole__actions .ec-off4Grid__cell {
    min-width: 0;
    width: 100%;
    margin: 0;
}

.quote-page .ec-RegisterRole__actions form {
    margin: 0;
}

.quote-page #quote-domestic-delivery[hidden],
.quote-page #quote-international-carrier[hidden] {
    display: none !important;
}

.quote-page__honeypot {
    position: absolute !important;
    top: -10000px !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.catalog-variant-form .ec-productRole__actions {
    align-items: end;
}

.catalog-variant-form .ec-numberInput {
    max-width: 12rem;
}

.purchase-guide__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.purchase-guide__actions a {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 16px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.catalog-variant-form .catalog-product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
}

.catalog-variant-form .catalog-product-actions button,
.catalog-product-followup-actions > a,
.catalog-product-followup-actions form button {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 16px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.catalog-variant-form .catalog-cart-note {
    margin: 10px 0 0;
    color: #625b54;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.catalog-product-followup {
    margin-top: 16px;
}

.catalog-product-followup-note {
    margin: 0 0 10px;
    color: #625b54;
    font-size: 0.9rem;
    line-height: 1.6;
}

.catalog-product-followup-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
}

.catalog-product-followup-actions .catalog-favorite-form {
    width: 100%;
    margin: 0;
}

.order-guide-en .order-guide-hero {
    background-color: #f3eee6;
}

.order-guide-en .order-guide-hero::after {
    content: none !important;
}

.order-guide-en .order-guide-hero h1 {
    color: #352a20 !important;
    text-shadow: none;
}

.order-guide-en .en-guide-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.order-guide-en .guide-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-guide-en .en-guide-block ol,
.order-guide-en .en-guide-block ul {
    padding-left: 1.5rem;
}

.order-guide-en .en-guide-block li + li {
    margin-top: 0.65rem;
}

.order-guide-en .en-guide-block .ec-blockBtn--action {
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .purchase-guide__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-page {
        width: calc(100% - 24px);
        max-width: 640px;
        padding-top: 16px;
    }

    .quote-page__summary {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .quote-page__summary dd {
        margin: 0 0 0.75rem;
    }

    .quote-page .ec-RegisterRole__actions .ec-off4Grid {
        grid-template-columns: 1fr;
    }

    .quote-page .ec-blockBtn--action,
    .quote-page .ec-blockBtn--cancel,
    .catalog-variant-form .ec-blockBtn--action {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
    }

    .catalog-variant-form .catalog-product-actions {
        gap: 10px;
    }

    .quote-page .table-responsive {
        overflow: visible !important;
    }

    .quote-page table {
        width: 100%;
        min-width: 0;
        table-layout: auto;
    }

    .quote-page table thead {
        position: absolute !important;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .quote-page table,
    .quote-page table tbody {
        display: block;
        width: 100%;
    }

    .quote-page table tbody tr {
        display: block;
        width: 100%;
        margin: 0 0 12px;
        padding: 8px 12px;
        border: 1px solid #d5d5d5;
        border-radius: 4px;
    }

    .quote-page table tbody th {
        display: block;
        width: 100% !important;
        max-width: none;
        padding: 8px 0;
        border: 0;
        text-align: left;
    }

    .quote-page table tbody td {
        display: block;
        align-items: start;
        width: 100%;
        padding: 10px 0;
        border: 0;
        border-top: 1px solid #ece8e2;
        text-align: left;
    }

    .quote-page table tbody td::before {
        display: block;
        content: attr(data-label);
        margin: 0 0 5px;
        color: #625b54;
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .quote-page table .ec-inlineBtn {
        margin-top: 2px;
    }

    body:has(.quote-page, .catalog-variant-form, .ec-shelfGrid, .order-guide-en) .ec-blockTopBtn.pagetop {
        display: none !important;
    }
}

/* Keep long product names, descriptions, and embedded media inside narrow screens. */
@media (max-width: 767px) {
    .ec-productRole__profile,
    .ec-productRole__profile *,
    .ec-shelfGrid__item,
    .ec-shelfGrid__item * {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .ec-productRole__description iframe,
    .ec-productRole__description video {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .ec-productRole__description img,
    .ec-productRole__description embed,
    .ec-productRole__description object {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Keep the quotation form and cart on one centered content width. */
.quote-page__inner {
    width: 100%;
    max-width: 780px;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
}

.quote-page__panel {
    padding: 28px;
    border: 1px solid #e2ddd5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(53, 42, 32, 0.06);
}

.quote-page__panel > :first-child {
    margin-top: 0;
}

.quote-page__panel > :last-child {
    margin-bottom: 0;
}

.quote-page .ec-borderedDefs {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    border-top: 1px solid #e2ddd5;
}

.quote-page .ec-borderedDefs dl {
    display: grid;
    grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
    gap: 8px 24px;
    align-items: start;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid #e2ddd5;
}

.quote-page .ec-borderedDefs dt,
.quote-page .ec-borderedDefs dd {
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
}

.quote-page .ec-borderedDefs dt .ec-label,
.quote-page .ec-borderedDefs dt label {
    display: inline-block;
    margin: 0;
    font-weight: 700;
}

.quote-page .ec-borderedDefs dd input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.quote-page .ec-borderedDefs dd select,
.quote-page .ec-borderedDefs dd textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #aaa39a;
    border-radius: 6px;
    background-color: #fff;
    color: #242424;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.quote-page .ec-borderedDefs dd textarea {
    min-height: 9rem;
    resize: vertical;
}

.quote-page .ec-borderedDefs dd input:focus-visible,
.quote-page .ec-borderedDefs dd select:focus-visible,
.quote-page .ec-borderedDefs dd textarea:focus-visible {
    border-color: #1469a0;
    outline: 3px solid rgba(20, 105, 160, 0.22);
    outline-offset: 1px;
}

.quote-page .ec-borderedDefs dd p {
    margin: 8px 0 0;
    color: #5d5750;
    font-size: 0.9rem;
    line-height: 1.65;
}

.quote-page .ec-RegisterRole__actions {
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
}

.quote-page .ec-RegisterRole__actions .ec-blockBtn--action,
.quote-page .ec-RegisterRole__actions .ec-blockBtn--cancel {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
}

.quote-page .ec-RegisterRole__actions .ec-off4Grid__cell {
    display: flex;
}

.quote-page__form-actions {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
}

.quote-page__form-actions .ec-off4Grid {
    grid-template-columns: minmax(0, 1fr) !important;
}

.quote-page__empty > .ec-blockBtn--action {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 360px;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
}

.quote-page .quote-page__items {
    border-color: #e2ddd5;
    background: #faf9f7;
}

@media (max-width: 767px) {
    .quote-page__panel {
        padding: 16px;
        border-radius: 8px;
    }

    .quote-page .ec-borderedDefs dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 14px 0;
    }

    .quote-page .ec-borderedDefs dd {
        width: 100%;
    }

    .quote-page__form-actions {
        max-width: none;
        margin-left: 0;
    }

    .quote-page__empty > .ec-blockBtn--action {
        max-width: 100%;
    }
}

/* Final alignment pass for quotation pages: matching headings and full-width form columns. */
.quote-page > .ec-pageHeader {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 24px;
    padding: 0;
    text-align: center;
}

.quote-page > .ec-pageHeader h1,
.quote-page > .ec-pageHeader .ec-pageHeader__title {
    display: table;
    margin: 0 auto;
    padding: 0 0 12px;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.35;
}

.quote-page .ec-borderedDefs dl {
    grid-template-columns: minmax(13rem, 0.4fr) minmax(0, 1fr);
}

.quote-page .ec-borderedDefs dt,
.quote-page .ec-borderedDefs dd {
    display: block;
    width: 100%;
    max-width: none;
    flex: none;
}

@media (max-width: 767px) {
    .quote-page > .ec-pageHeader {
        margin-bottom: 20px;
    }

    .quote-page .ec-borderedDefs dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-page > .ec-pageHeader h1,
    .quote-page > .ec-pageHeader .ec-pageHeader__title {
        font-size: 1.45rem;
        line-height: 1.4;
    }
}

/* Keep bilingual required markers on one line on desktop and align the item card. */
@media (min-width: 768px) {
    .quote-page .ec-borderedDefs dl {
        grid-template-columns: minmax(18.5rem, 0.4fr) minmax(0, 1fr);
    }
}

.quote-page .quote-page__items {
    list-style: none;
    padding-left: 1rem;
}

/* Make the linked product card visibly respond to hover and keyboard focus. */
.ec-shelfGrid .ec-shelfGrid__item {
    border-radius: 6px;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.ec-shelfGrid .ec-shelfGrid__item:hover,
.ec-shelfGrid .ec-shelfGrid__item:focus-within {
    background-color: #f7f3ec;
    box-shadow: 0 3px 14px rgba(35, 27, 18, 0.08);
}

.ec-shelfGrid .ec-shelfGrid__item > a:first-child .ec-shelfGrid__item-image img {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .ec-shelfGrid .ec-shelfGrid__item {
        transition: none;
    }
}

.quote-page table tbody th small {
    display: block;
    margin-top: 3px;
    color: #625b54;
    font-size: 0.85rem;
    font-weight: 400;
}

.quote-page table tbody td form {
    margin: 0;
    text-align: center;
}

body#page_cart .ec-cartRole__actions .ec-blockBtn--action,
body#page_cart .ec-cartRole__actions .ec-blockBtn--cancel {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 360px;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 0 18px !important;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1.2 !important;
    text-align: center;
}

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

.howto-order {
    color: #302b26;
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.howto-order .order-guide-hero {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    background: #f3eee6;
}

.howto-order .order-guide-hero::after {
    display: none;
    content: none !important;
}

.howto-order__hero-inner {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 36px;
}

.howto-order__eyebrow {
    margin: 0 0 8px;
    color: #8b1c22;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.howto-order .order-guide-hero h1 {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    margin: 0;
    transform: none;
    color: #352a20 !important;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    text-shadow: none;
}

.howto-order__introduction {
    max-width: 760px;
    margin-top: 18px;
}

.howto-order__introduction p {
    margin: 0 0 8px;
    line-height: 1.75;
}

.howto-order__introduction .howto-order__welcome {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.howto-order .order-guide-inner {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 64px;
}

.howto-order__contents {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid #e2ddd5;
    border-radius: 10px;
    background: #faf9f7;
}

.howto-order__contents > p {
    margin: 0 0 10px;
    color: #625b54;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.howto-order__contents > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.howto-order__contents a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #e2ddd5;
    border-radius: 999px;
    background: #fff;
    color: #352a20;
    font-size: 0.88rem;
    line-height: 1.35;
    text-decoration: none;
}

.howto-order__contents a:hover {
    border-color: #8b1c22;
    color: #8b1c22;
}

.howto-order__contents a:focus-visible {
    outline: 3px solid #1469a0;
    outline-offset: 2px;
}

.howto-order__sections {
    display: grid;
    gap: 14px;
}

.howto-order__section {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid #e2ddd5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(53, 42, 32, 0.035);
    scroll-margin-top: 24px;
}

.howto-order__section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #ece8e2;
    color: #352a20;
    font-size: 1.24rem;
    line-height: 1.4;
}

.howto-order__icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: #f6f0e8;
    color: #8b1c22;
    font-size: 1.2rem;
    line-height: 1;
}

.howto-order__section h3 {
    margin: 20px 0 6px;
    color: #352a20;
    font-size: 1.02rem;
    line-height: 1.5;
}

.howto-order__section h2 + h3 {
    margin-top: 0;
}

.howto-order__section p {
    margin: 0 0 10px;
    line-height: 1.75;
}

.howto-order__section p:last-child {
    margin-bottom: 0;
}

.howto-order__section ol,
.howto-order__section ul {
    margin: 8px 0 14px;
    padding-left: 1.5rem;
}

.howto-order__section li {
    padding-left: 0.15rem;
    line-height: 1.7;
}

.howto-order__section li + li {
    margin-top: 8px;
}

.howto-order__notice {
    margin: 8px 0 4px;
    padding: 16px 18px;
    border-left: 4px solid #8b1c22;
    border-radius: 0 8px 8px 0;
    background: #f8f5f2;
}

.howto-order__notice p:last-child {
    margin-bottom: 0;
}

.howto-order__notice--important {
    margin-top: 18px;
    background: #fbf2f1;
}

.howto-order__notice--important h3 {
    margin-top: 0;
}

.howto-order__updated {
    color: #625b54;
    font-size: 0.84rem;
}

.howto-order__section--policy {
    border-left: 4px solid #8b1c22;
}

@media (max-width: 767px) {
    .howto-order__hero-inner {
        width: calc(100% - 32px);
        padding: 28px 0 24px;
    }

    .howto-order .order-guide-inner {
        width: calc(100% - 24px);
        padding: 18px 0 40px;
    }

    .howto-order__contents {
        padding: 14px;
    }

    .howto-order__contents > div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .howto-order__contents a {
        min-height: 42px;
        justify-content: center;
        padding: 6px 8px;
        font-size: 0.8rem;
        text-align: center;
    }

    .howto-order__sections {
        gap: 10px;
    }

    .howto-order__section {
        padding: 17px 16px;
        border-radius: 8px;
    }

    .howto-order__section h2 {
        gap: 9px;
        font-size: 1.08rem;
    }

    .howto-order__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 1.08rem;
    }

    .howto-order__notice {
        padding: 13px 14px;
    }
}

.catalog-stock-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 6px 0 8px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
}

.catalog-stock-status.is-in-stock {
    color: #24683b;
    background: #e8f4eb;
}

.catalog-stock-status.is-out-of-stock {
    color: #9c2f2a;
    background: #f8e9e7;
}

.catalog-cart-stock-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    margin: 5px 0 8px;
}

.catalog-cart-stock-status .catalog-stock-status {
    margin: 0;
}

.catalog-cart-stock-status small {
    color: #5d625f;
    font-size: .8rem;
}

.ec-cartRow__amountUpButtonDisabled {
    cursor: not-allowed;
    opacity: .42;
}

/* Keep the plus control the same size when it becomes disabled at the stock limit. */
body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButton,
body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButtonDisabled {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    margin: 0 2px;
    padding: 0;
    border: 2px solid #c9c9c9;
    border-radius: 50%;
    background: #fff;
    line-height: 1;
    position: relative;
    vertical-align: middle;
    text-align: center;
}

body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButtonDisabled {
    cursor: not-allowed;
    opacity: .42;
}

body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButton__icon {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButton__icon img {
    position: static !important;
    display: block;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .catalog-stock-status {
        font-size: .78rem;
    }

    body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButton,
    body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButtonDisabled {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
    }

    body#page_cart .ec-cartRow__amountColumn .ec-cartRow__amountUpButton__icon img {
        width: 16px !important;
        height: 16px !important;
    }
}

.contact-product-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.contact-product-page .ec-para-normal {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid #e2ddd5;
    border-radius: 8px;
    background: #faf9f7;
    line-height: 1.75;
}

.contact-product-page__details {
    display: grid;
    grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
    margin: 20px 0;
    border: 1px solid #e2ddd5;
    border-radius: 8px;
    overflow: hidden;
}

.contact-product-page__details > div {
    display: contents;
}

.contact-product-page__details dt,
.contact-product-page__details dd {
    min-width: 0;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid #e2ddd5;
    overflow-wrap: anywhere;
}

.contact-product-page__details > div:last-child dt,
.contact-product-page__details > div:last-child dd {
    border-bottom: 0;
}

.contact-product-page__details dt {
    background: #f6f3ef;
    font-weight: 700;
}

.contact-product-page .ec-RegisterRole__actions {
    margin-top: 24px;
}

.contact-product-page .ec-RegisterRole__actions .ec-off4Grid {
    display: flex;
    justify-content: center;
    margin: 0;
}

.contact-product-page .ec-RegisterRole__actions .ec-off4Grid__cell {
    width: min(100%, 360px);
    margin: 0;
}

@media (max-width: 767px) {
    .contact-product-page {
        padding: 16px 12px 36px;
    }

    .contact-product-page__details {
        grid-template-columns: minmax(6.5rem, 0.38fr) minmax(0, 1fr);
    }

    .contact-product-page__details dt,
    .contact-product-page__details dd {
        padding: 10px;
    }
}
