/**
 * WooCommerce 页面样式覆盖（Mobile-First）
 *
 * WC 按钮统一样式已在 theme.css 中定义
 * 此文件专注于页面布局和组件样式
 */

/* ========== 产品归档页 ========== */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
    list-style: none;
}
body .woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    background: var(--hl-color-white);
    border: 1px solid var(--hl-color-border);
    border-radius: var(--hl-radius-md);
    overflow: hidden;
    transition: transform var(--hl-transition-fast), box-shadow var(--hl-transition-fast);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--hl-shadow-lg);
}
/* WC 归档页产品卡片与 Widget 产品卡片样式统一 */
.woocommerce ul.products li.product a img {
    margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hl-color-text);
    padding: 0;
    margin-bottom: 4px;
    line-height: 1.35;
}
.woocommerce ul.products li.product .price {
    font-size: 15px;
    font-weight: 700;
    color: var(--hl-color-primary-dark);
}
.woocommerce ul.products li.product .price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--hl-color-text-muted);
    margin-right: 6px;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    padding: 0 16px;
    margin-bottom: 12px;
    font-size: 13px;
}
.woocommerce .woocommerce-ordering select {
    min-height: 36px;
    border: 1px solid var(--hl-color-border);
    border-radius: var(--hl-radius-sm);
    font-size: 13px;
}

/* ========== 表单 ========== */
.woocommerce form .form-row {
    margin-bottom: 16px;
}
.woocommerce form input.input-text,
.woocommerce form select,
.woocommerce form textarea {
    min-height: 44px;
    border: 1px solid var(--hl-color-border);
    border-radius: var(--hl-radius-sm);
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
}
.woocommerce form label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

/* ========== 购物车页面 ========== */
body.woocommerce-cart .entry-title {
    display: none;
}
body.woocommerce-cart .woocommerce {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px;
}
body.woocommerce-cart .woocommerce-notices-wrapper {
    margin-bottom: 12px;
}
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-site-blocks,
body.woocommerce-cart .woocommerce {
    padding-bottom: 128px;
}
body.woocommerce-cart .wp-block-woocommerce-cart {
    padding-top: 18px;
}
body.woocommerce-cart .rhm-cart-page {
    display: grid;
    gap: 18px;
}
body.woocommerce-cart .rhm-cart-page__header {
    display: grid;
    gap: 12px;
}
body.woocommerce-cart .rhm-cart-page__title {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-page__subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(34, 34, 34, 0.72);
}
body.woocommerce-cart .rhm-cart-page__continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    font-size: 14px;
    font-weight: 600;
    color: #ef9d11;
    text-decoration: none;
}
body.woocommerce-cart .rhm-cart-page__continue svg {
    width: 16px;
    height: 16px;
}
body.woocommerce-cart .rhm-cart-page__progress {
    display: grid;
    gap: 10px;
}
body.woocommerce-cart .rhm-cart-page__progress-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
}
body.woocommerce-cart .rhm-cart-page__progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffbe2d 0%, #f5a623 100%);
}
body.woocommerce-cart .rhm-cart-page__progress-meta {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 600;
    color: rgba(34, 34, 34, 0.76);
}
body.woocommerce-cart .rhm-cart-page__layout {
    display: grid;
    gap: 18px;
}
body.woocommerce-cart .rhm-cart-page__main {
    display: grid;
    gap: 16px;
}
body.woocommerce-cart .rhm-cart-list {
    display: grid;
    gap: 14px;
}
body.woocommerce-cart .rhm-cart-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 12px 30px rgba(76, 56, 14, 0.05);
}
body.woocommerce-cart .rhm-cart-card__media {
    width: 96px;
}
body.woocommerce-cart .rhm-cart-card__image-link {
    display: flex;
    width: 96px;
    aspect-ratio: var(--rhm-cart-ui-image-ratio, 1 / 1);
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff7e4 0%, #fff0ca 100%);
}
body.woocommerce-cart .rhm-cart-card__image-link img {
    width: 100%;
    height: 100%;
    object-fit: var(--rhm-cart-ui-image-fit, cover);
}
body.woocommerce-cart .rhm-cart-card__content {
    display: grid;
    gap: 14px;
    min-width: 0;
}
body.woocommerce-cart .rhm-cart-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}
body.woocommerce-cart .rhm-cart-card__copy {
    min-width: 0;
}
body.woocommerce-cart .rhm-cart-card__name {
    display: block;
    color: #171717;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}
body.woocommerce-cart .rhm-cart-card__meta,
body.woocommerce-cart .rhm-cart-card__copy dl.variation,
body.woocommerce-cart .rhm-cart-card__copy .wc-item-meta {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(34, 34, 34, 0.58);
}
body.woocommerce-cart .rhm-cart-card__copy dl.variation dt,
body.woocommerce-cart .rhm-cart-card__copy .wc-item-meta li strong {
    font-weight: 600;
}
body.woocommerce-cart .rhm-cart-card__copy dl.variation dd,
body.woocommerce-cart .rhm-cart-card__copy .wc-item-meta li p {
    margin: 0;
}
body.woocommerce-cart .rhm-cart-card__copy dl.variation dd + dt {
    margin-top: 4px;
}
body.woocommerce-cart .rhm-cart-card__side {
    display: grid;
    gap: 18px;
    justify-items: end;
}
body.woocommerce-cart .rhm-cart-card__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: rgba(34, 34, 34, 0.54);
    text-decoration: none;
}
body.woocommerce-cart .rhm-cart-card__remove svg {
    width: 18px;
    height: 18px;
}
body.woocommerce-cart .rhm-cart-card__subtotal {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #171717;
    text-align: right;
    white-space: nowrap;
}
body.woocommerce-cart .rhm-cart-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
body.woocommerce-cart .rhm-cart-card__price {
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-card__quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(196, 146, 41, 0.18);
    border-radius: 999px;
    background: #ffffff;
}
body.woocommerce-cart .rhm-cart-card__qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.12);
    color: #ef9d11;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
body.woocommerce-cart .rhm-cart-card__qty-field {
    min-width: 44px;
}
body.woocommerce-cart .rhm-cart-card__quantity .quantity {
    display: flex;
    align-items: center;
    margin: 0;
}
body.woocommerce-cart .rhm-cart-card__quantity input.qty {
    width: 44px;
    min-height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #161616;
}
body.woocommerce-cart .rhm-cart-card__quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .rhm-cart-card__quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body.woocommerce-cart .rhm-cart-coupon {
    padding: 18px 16px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 22px;
    background: #ffffff;
}
body.woocommerce-cart .rhm-cart-coupon__header {
    margin-bottom: 14px;
}
body.woocommerce-cart .rhm-cart-coupon__title {
    font-size: 15px;
    font-weight: 600;
    color: #202020;
}
body.woocommerce-cart .rhm-cart-coupon__body {
    display: grid;
    gap: 10px;
}
body.woocommerce-cart .rhm-cart-coupon__input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(34, 34, 34, 0.12);
    border-radius: 16px;
    background: #ffffff;
    font-size: 14px;
}
body.woocommerce-cart .rhm-cart-coupon__button {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
}
body.woocommerce-cart .rhm-cart-form__update-button {
    display: none;
}
body.woocommerce-cart .rhm-cart-page__summary {
    min-width: 0;
}
body.woocommerce-cart .rhm-cart-summary {
    display: grid;
    gap: 16px;
}
body.woocommerce-cart .rhm-cart-summary__card {
    padding: 20px 18px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 16px 34px rgba(76, 56, 14, 0.05);
}
body.woocommerce-cart .rhm-cart-summary__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.14);
    color: #9b6a09;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
body.woocommerce-cart .rhm-cart-summary__table {
    width: 100%;
    margin-top: 14px;
    border: none;
    border-collapse: collapse;
}
body.woocommerce-cart .rhm-cart-summary__table th,
body.woocommerce-cart .rhm-cart-summary__table td {
    padding: 14px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    vertical-align: top;
}
body.woocommerce-cart .rhm-cart-summary__table tbody tr + tr th,
body.woocommerce-cart .rhm-cart-summary__table tbody tr + tr td,
body.woocommerce-cart .rhm-cart-summary__table tfoot tr th,
body.woocommerce-cart .rhm-cart-summary__table tfoot tr td {
    border-top: 1px solid rgba(34, 34, 34, 0.08);
}
body.woocommerce-cart .rhm-cart-summary__table th {
    width: 42%;
    text-align: left;
    font-weight: 500;
    color: rgba(34, 34, 34, 0.72);
}
body.woocommerce-cart .rhm-cart-summary__table td {
    text-align: right;
    font-weight: 700;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-summary .woocommerce-shipping-methods {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.woocommerce-cart .rhm-cart-summary .woocommerce-shipping-methods li {
    display: grid;
    gap: 8px;
    justify-items: end;
}
body.woocommerce-cart .rhm-cart-summary .woocommerce-shipping-methods label {
    font-weight: 600;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-summary .woocommerce-shipping-destination,
body.woocommerce-cart .rhm-cart-summary .woocommerce-shipping-calculator,
body.woocommerce-cart .rhm-cart-summary .shipping-calculator-button {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(34, 34, 34, 0.64);
}
body.woocommerce-cart .rhm-cart-summary .shipping-calculator-button {
    color: #ef9d11;
    font-weight: 600;
    text-decoration: none;
}
body.woocommerce-cart .rhm-cart-summary__table .order-total th,
body.woocommerce-cart .rhm-cart-summary__table .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-summary__table .order-total td .amount {
    font-size: 34px;
    line-height: 1;
    color: #f09b0f;
}
body.woocommerce-cart .rhm-cart-summary__cta {
    margin-top: 18px;
}
body.woocommerce-cart .rhm-cart-summary__cta .checkout-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: 0;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffc423 0%, #f5a623 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(245, 166, 35, 0.24);
}
body.woocommerce-cart .rhm-cart-summary__benefits {
    display: grid;
    gap: 10px;
}
body.woocommerce-cart .rhm-cart-summary__benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff9ec;
    border: 1px solid rgba(245, 166, 35, 0.12);
}
body.woocommerce-cart .rhm-cart-summary__benefit-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.12);
    color: #ad730d;
}
body.woocommerce-cart .rhm-cart-summary__benefit-icon svg {
    width: 18px;
    height: 18px;
}
body.woocommerce-cart .rhm-cart-summary__benefit strong,
body.woocommerce-cart .rhm-cart-summary__benefit span {
    display: block;
}
body.woocommerce-cart .rhm-cart-summary__benefit strong {
    font-size: 14px;
    line-height: 1.35;
    color: #171717;
}
body.woocommerce-cart .rhm-cart-summary__benefit span {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(34, 34, 34, 0.62);
}

/* ========== 购物车页面（Blocks） ========== */
body.woocommerce-cart .wp-block-woocommerce-cart > .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__totals-title {
    display: none;
}
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding-top: 0;
}
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-sidebar {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
}
body.woocommerce-cart .rhm-cart-block__hero {
    display: grid;
    gap: 0;
    margin-top: 10px;
}
body.woocommerce-cart .rhm-cart-block__hero-surface {
    display: grid;
    gap: 14px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 198, 63, 0.16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 14px 34px rgba(76, 56, 14, 0.05);
}
body.woocommerce-cart .rhm-cart-block__hero-head {
    display: grid;
    gap: 10px;
}
body.woocommerce-cart .rhm-cart-block__hero-copy {
    min-width: 0;
}
body.woocommerce-cart .rhm-cart-block__hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff4d6 0%, #ffedc2 100%);
    color: #a36b00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
body.woocommerce-cart .rhm-cart-block__hero-title {
    margin: 10px 0 0;
    color: #171717;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}
body.woocommerce-cart .rhm-cart-block__hero-note {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(34, 34, 34, 0.72);
}
body.woocommerce-cart .rhm-cart-block__hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(196, 146, 41, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #d88f0a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
body.woocommerce-cart .rhm-cart-block__hero-link svg {
    width: 16px;
    height: 16px;
}
body.woocommerce-cart .rhm-cart-block__hero-progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(34, 34, 34, 0.62);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
body.woocommerce-cart .rhm-cart-block__hero-progress-label strong {
    color: #171717;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}
body.woocommerce-cart .rhm-cart-block__hero-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
}
body.woocommerce-cart .rhm-cart-block__hero-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffbe2d 0%, #f5a623 100%);
}
body.woocommerce-cart .wp-block-woocommerce-cart-line-items-block {
    min-width: 0;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
    display: none;
}
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart table.wc-block-cart-items tbody {
    display: grid;
    gap: 14px;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 12px 30px rgba(76, 56, 14, 0.05);
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row td {
    padding: 0;
    border: none;
    background: transparent;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image {
    grid-column: 1;
    grid-row: 1 / span 3;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image a {
    display: flex;
    width: 96px;
    aspect-ratio: var(--rhm-cart-ui-image-ratio, 1 / 1);
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff7e4 0%, #fff0ca 100%);
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: var(--rhm-cart-ui-image-fit, cover);
    margin: 0;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__product {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 6px;
}
body.woocommerce-cart .wc-block-cart-item__wrap {
    display: grid;
    gap: 8px;
    min-width: 0;
}
body.woocommerce-cart .rhm-cart-block__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-name {
    color: #171717;
    display: block;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__prices,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__prices .wc-block-formatted-money-amount,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__prices .wc-block-components-product-price__value {
    display: none;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-metadata,
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-details,
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-metadata__description {
    color: rgba(34, 34, 34, 0.58);
    font-size: 12px;
    line-height: 1.45;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-details__value,
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-details__name {
    color: rgba(34, 34, 34, 0.58);
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__quantity {
    grid-column: 2;
    grid-row: 3;
    padding-top: 0;
    justify-self: start;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-quantity-selector {
    width: 104px;
    min-height: 36px;
    border: 1px solid rgba(196, 146, 41, 0.18);
    border-radius: 999px;
    background: #ffffff;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-quantity-selector__button {
    min-width: 30px;
    color: #ef9d11;
    opacity: 1;
    font-size: 17px;
    font-weight: 700;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-components-quantity-selector__input {
    color: #171717;
    font-size: 15px;
    font-weight: 700;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link {
    width: 22px;
    height: 22px;
    color: rgba(34, 34, 34, 0.52);
    text-decoration: none;
    flex-shrink: 0;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__total {
    grid-column: 3;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
    margin-top: 0;
    white-space: nowrap;
    min-width: 0;
    text-align: right;
    padding-left: 6px;
}
body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount {
    color: #171717;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}
body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-badge {
    display: none;
}
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-proceed-to-checkout-block,
body.woocommerce-cart .rhm-cart-block__benefits {
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 16px 34px rgba(76, 56, 14, 0.05);
}
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block {
    margin: 0;
    padding: 18px 16px;
}
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-proceed-to-checkout-block {
    margin: 14px 0 0;
    padding: 12px;
}
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-express-payment-block:empty,
body.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-accepted-payment-methods-block {
    display: none;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item {
    padding-left: 0;
    padding-right: 0;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button {
    min-height: 52px;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button span:first-child,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button .wc-block-components-panel__button-text,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__label {
    color: rgba(34, 34, 34, 0.72);
    font-size: 14px;
    font-weight: 500;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button::before {
    content: "Coupon";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 26px;
    margin-right: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff4d7 0%, #ffefc5 100%);
    color: #a06a00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button-icon,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel__button svg {
    color: #b38212;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-formatted-money-amount,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-formatted-money-amount {
    color: #171717;
    font-weight: 700;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item {
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(34, 34, 34, 0.08);
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-size: 16px;
    font-weight: 800;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
    color: #f09b0f;
    font-size: 26px;
    line-height: 1;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon__form {
    display: grid;
    gap: 10px;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon__input input {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(34, 34, 34, 0.12);
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block button,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block a,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block button,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block button,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block a {
    border: 1px solid rgba(196, 146, 41, 0.22);
    background: #ffffff;
    color: #161616;
}
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block button,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a {
    border: none;
    background: linear-gradient(180deg, #ffc423 0%, #f5a623 100%);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(245, 166, 35, 0.24);
}
body.woocommerce-cart .rhm-cart-block__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    margin-top: 14px;
    padding: 14px 12px;
}
body.woocommerce-cart .rhm-cart-block__benefit {
    display: grid;
    align-content: start;
    justify-items: center;
    place-items: center;
    text-align: center;
    gap: 4px;
    min-width: 0;
    padding: 0;
    background: transparent;
}
body.woocommerce-cart .rhm-cart-block__benefit > strong,
body.woocommerce-cart .rhm-cart-block__benefit > span:not(.rhm-cart-block__benefit-icon) {
    display: block;
}
body.woocommerce-cart .rhm-cart-block__benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    place-self: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff7e2 0%, #ffefc8 100%);
    color: #b68212;
}
body.woocommerce-cart .rhm-cart-block__benefit-icon svg {
    width: 18px;
    height: 18px;
    margin: 0 auto;
}
body.woocommerce-cart .rhm-cart-block__benefit strong {
    color: #171717;
    font-size: 12px;
    line-height: 1.25;
}
body.woocommerce-cart .rhm-cart-block__benefit > span:not(.rhm-cart-block__benefit-icon) {
    margin-top: 2px;
    color: rgba(34, 34, 34, 0.62);
    font-size: 11px;
    line-height: 1.35;
}
body.woocommerce-cart .rhm-cart-block__benefit > span:last-child {
    margin-top: 0;
}

/* ========== 结账页面 ========== */
.woocommerce-checkout .woocommerce {
    padding: 16px;
}
.woocommerce-checkout h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.login,
.woocommerce-checkout form.register {
    border: 1px solid var(--hl-color-border);
    border-radius: var(--hl-radius-md);
    padding: 16px;
    margin-bottom: 24px;
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    margin-bottom: 24px;
}
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: var(--hl-color-cream);
    border-radius: var(--hl-radius-md);
    padding: 16px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 16px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    font-size: 13px;
    font-weight: 500;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    font-size: 14px;
}

/* ========== 结账页（Blocks） ========== */
body.woocommerce-checkout {
    background: #ffffff;
}

body.woocommerce-checkout #page,
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article.page,
body.woocommerce-checkout .entry-content {
    background: #ffffff;
}

body.woocommerce-checkout .site-main {
    padding-top: 0;
}

body.woocommerce-checkout .entry-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 16px calc(140px + env(safe-area-inset-bottom, 0px));
}

body.woocommerce-checkout .woocommerce {
    padding: 0;
}

body.woocommerce-checkout .rhm-header--checkout {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.woocommerce-checkout .rhm-header--checkout .rhm-header__inner {
    height: 64px;
    gap: 10px;
}

body.woocommerce-checkout .rhm-header--checkout .rhm-header__menu-toggle,
body.woocommerce-checkout .rhm-header--checkout .rhm-header__nav,
body.woocommerce-checkout .rhm-header--checkout .rhm-header__actions {
    display: none;
}

body.woocommerce-checkout .rhm-header--checkout .rhm-header__logo {
    flex: 1;
    text-align: center;
}

body.woocommerce-checkout .rhm-header__checkout-back {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hl-color-text);
    text-decoration: none;
}

body.woocommerce-checkout .rhm-header__checkout-back svg {
    width: 18px;
    height: 18px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    display: grid;
    gap: 18px;
    align-items: start;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
    order: 1;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    order: 2;
}

body.woocommerce-checkout .rhm-checkout__policy-note {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 12px;
    line-height: 1.6;
}

body.woocommerce-checkout .rhm-checkout__policy-note a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 41, 55, 0.2);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    min-width: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    position: relative;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid #f1eadf;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.035);
}

body.woocommerce-checkout .wc-block-components-checkout-step::before {
    content: attr(data-rhm-step-index);
    position: absolute;
    top: 18px;
    left: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffb300;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 16px;
    padding-left: 36px;
    min-height: 24px;
    display: flex;
    align-items: center;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h3,
body.woocommerce-checkout .wc-block-components-checkout-step__heading-text {
    margin: 0;
    color: #151515;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__subtitle {
    color: #7a7a7a;
    font-size: 12px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__content > * + * {
    margin-top: 14px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="text"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="email"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="tel"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="number"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="password"],
body.woocommerce-checkout .wp-block-woocommerce-checkout select,
body.woocommerce-checkout .wp-block-woocommerce-checkout textarea {
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #e8e2d7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
    font-size: 14px;
    color: #151515;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout input:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout select:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout textarea:focus {
    border-color: #f3b21a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 178, 26, 0.12);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__label {
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkbox,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control__option {
    padding: 14px 16px;
    border: 1px solid #eee6da;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease, transform 150ms ease;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control__option:hover {
    border-color: #e4d6bf;
    background: #ffffff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control__option-checked,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control__option--checked-option-highlighted {
    border-color: #f3b21a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(243, 178, 26, 0.10);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control__input {
    accent-color: #f3b21a;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step {
    border-color: #f5eee4;
    box-shadow: none;
    padding: 15px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__content,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__content {
    margin-top: 4px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control {
    display: grid;
    gap: 10px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control--highlight-checked::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control--highlight-checked::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control--highlight-checked,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control--highlight-checked,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option-layout {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 52px 0 34px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__description-group,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__description-group {
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__description-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    flex: 0 1 auto;
    min-height: 0;
    position: relative;
    text-align: left;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__label-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    flex: 0 1 auto;
    margin: 0;
    text-align: left;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    inset: auto !important;
    transform: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option-layout::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-layout::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d4c29f;
    border-radius: 50%;
    background: #ffffff;
    transform: translateY(-50%);
    box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option-layout::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-layout::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f3b21a;
    transform: translateY(-50%) scale(0);
    transition: transform 150ms ease;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__option-layout::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__option-layout::before {
    border-color: #f3b21a;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__option-layout::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__option-layout::after {
    transform: translateY(-50%) scale(1);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__label,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label {
    color: #151515;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-label,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__secondary-label {
    color: #7b7b7b;
    font-size: 12px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-label {
    position: absolute;
    right: 0;
    top: 50%;
    margin-left: 0;
    transform: translateY(-50%);
    color: #767676;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-description,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__price {
    color: #151515;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__description,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__description {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #f3ece1;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option {
    border: 1px solid #efdfc3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
    box-shadow: none;
    overflow: hidden;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option {
    border-color: #ebd19a;
    box-shadow: 0 14px 28px rgba(243, 178, 26, 0.09) !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-content {
    border-top: none;
    background: transparent;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-layout {
    display: block;
    position: relative;
    padding: 12px 14px 12px 44px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label-group,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__description-group {
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    inset: auto !important;
    transform: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option .wc-allballpay-card {
    margin: 0 14px 14px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-card {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-card::before {
    display: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-header {
    margin-bottom: 6px;
    gap: 10px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-method-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-method-name,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-field label {
    color: #1b1b1b;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-badges span {
    border-color: #ead8b5;
    background: #ffffff;
    color: #8b6a12;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-badges span.is-active {
    background: #f3b21a;
    border-color: #f3b21a;
    color: #ffffff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-description,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-tip {
    color: #6e6e6e;
    font-size: 12px;
    line-height: 1.5;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-card-preview {
    background: linear-gradient(135deg, #1f242d 0%, #2f3948 100%);
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0 12px 22px rgba(31, 36, 45, 0.18);
    min-height: 96px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-card-preview-number {
    font-size: 18px;
    letter-spacing: 0.18em;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-method-item {
    border-color: #f3e8d6;
    border-radius: 12px;
    background: #fffdfa;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-method-item:hover {
    border-color: #e6d3ac;
    background: #fffefb;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-method-item.is-active {
    border-color: #ebd6aa;
    background: #fff9ed;
    box-shadow: 0 0 0 2px rgba(243, 178, 26, 0.06);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-field input,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-field select {
    border-color: #eadfcb;
    border-radius: 12px;
    min-height: 48px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-field input:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-allballpay-field select:focus {
    border-color: #f3b21a;
    box-shadow: 0 0 0 3px rgba(243, 178, 26, 0.10);
    background: #ffffff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__expand {
    color: #8d8d8d;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-notice-banner {
    margin: 12px 0 0;
    border-radius: 16px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: #fff7f7;
    box-shadow: none;
}

body.woocommerce-checkout .rhm-checkout__totals-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.woocommerce-checkout .rhm-checkout__totals-shell > .wp-block-woocommerce-checkout-order-summary-cart-items-block,
body.woocommerce-checkout .rhm-checkout__totals-shell > .wp-block-woocommerce-checkout-order-summary-totals-block,
body.woocommerce-checkout .rhm-checkout__totals-shell > .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .rhm-checkout__totals-shell > .wp-block-woocommerce-checkout-actions-block {
    padding: 0;
}

body.woocommerce-checkout .rhm-checkout__summary-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    border: 1px solid #efe4d2;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

body.woocommerce-checkout .rhm-checkout__summary-card::before {
    content: "";
    display: block;
    height: 1px;
    margin: -18px -18px 18px;
    background: linear-gradient(90deg, rgba(243, 165, 24, 0.00) 0%, rgba(243, 165, 24, 0.22) 18%, rgba(243, 165, 24, 0.22) 82%, rgba(243, 165, 24, 0.00) 100%);
}

body.woocommerce-checkout .rhm-checkout__summary-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-order-summary-totals-block,
body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-actions-block {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-order-summary-totals-block {
    padding: 0;
}

body.woocommerce-checkout .rhm-checkout__summary-section + .rhm-checkout__summary-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f2eadf;
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-actions-block {
    padding: 18px;
    border: 1px solid #efe4d2;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.04);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .checkout-order-summary-block-fill-wrapper,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .checkout-order-summary-block-fill-wrapper + .wc-block-components-notices,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .checkout-order-summary-block-fill-wrapper + .wc-block-components-notices__snackbar {
    display: none !important;
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wc-block-components-totals-wrapper {
    border-top: none;
    padding-top: 0;
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wc-block-components-panel {
    border: none;
    box-shadow: none;
}

body.woocommerce-checkout .rhm-checkout__totals-shell .wc-block-components-panel__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 0;
    border: none;
    box-shadow: none;
}

body.woocommerce-checkout .rhm-checkout__summary-native-title,
body.woocommerce-checkout .rhm-checkout__summary-native-title.wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .rhm-checkout__summary-native-title.rhm-checkout__summary-native {
    display: none !important;
}

body.woocommerce-checkout .rhm-checkout__summary-content {
    display: block !important;
}

body.woocommerce-checkout .rhm-checkout__summary-card > .wc-block-components-checkout-order-summary__content > .wc-block-components-totals-wrapper:not(.wp-block-woocommerce-checkout-order-summary-cart-items-block) {
    display: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block h2.wc-block-components-title.wc-block-components-checkout-step__title {
    display: none !important;
}

body.woocommerce-checkout .rhm-checkout__summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

body.woocommerce-checkout .rhm-checkout__summary-copy {
    min-width: 0;
}

body.woocommerce-checkout .rhm-checkout__summary-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff4d7;
    color: #aa7400;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.woocommerce-checkout .rhm-checkout__summary-title {
    margin: 0;
    color: #151515;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

body.woocommerce-checkout .rhm-checkout__summary-meta {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    max-width: 30ch;
}

body.woocommerce-checkout .rhm-checkout__summary-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

body.woocommerce-checkout .rhm-checkout__summary-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #111827 0%, #202938 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.18);
}

body.woocommerce-checkout .rhm-checkout__native-edit-cart {
    color: #d89600;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

body.woocommerce-checkout .rhm-checkout__native-edit-cart:hover {
    color: #b67800;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    position: relative;
    overflow: visible;
    margin-top: 2px;
    padding: 14px 16px;
    border: 1px solid #f0ddb4;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffaf1 0%, #fffefb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button span:first-child,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button .wc-block-components-panel__button-text {
    color: #151515;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button::before {
    content: "Coupon";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 26px;
    margin-right: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff4d7 0%, #ffefc5 100%);
    color: #a06a00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button svg,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button .wc-block-components-panel__button-icon {
    color: #b38212;
    width: 18px;
    height: 18px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content {
    padding: 14px 0 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__content {
    background: linear-gradient(180deg, #fffaf2 0%, #fffdf8 100%);
    border: 1px solid #efd8aa;
    border-radius: 18px;
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button-icon {
    opacity: 0.72;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__input,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__button {
    width: 100%;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__input input,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-text-input input[type="text"] {
    min-height: 50px;
    border-radius: 14px;
    border-color: #eddcad;
    background: #ffffff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__button {
    min-height: 50px;
    width: 100%;
    border-radius: 14px;
    border: none;
    background: linear-gradient(180deg, #ffbe14 0%, #f4ac00 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(244, 172, 0, 0.20);
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    border-radius: 22px;
    border: 1px solid #f0e7db;
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.035);
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 16px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h3,
body.woocommerce-checkout .wc-block-components-checkout-step__heading-text {
    letter-spacing: -0.01em;
}

body.woocommerce-checkout [data-rhm-checkout-ready="1"] .wp-block-woocommerce-checkout-actions-block .wc-block-components-checkout-return-to-cart-button {
    display: none;
}

body.woocommerce-checkout .wc-block-components-order-summary {
    padding: 0;
    border: none;
    background: transparent;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
        "image description"
        "image total";
    gap: 10px 14px;
    align-items: start;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border: none;
    border-bottom: 1px solid #f2eadf;
    border-radius: 0;
    background: transparent;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image .wc-block-components-order-summary-item__quantity {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #151515;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.14);
}

body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    grid-area: description;
    min-width: 0;
}

body.woocommerce-checkout .wc-block-components-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 6px;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: var(--rhm-checkout-summary-image-ratio, 1 / 1);
    object-fit: var(--rhm-checkout-summary-image-fit, cover);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(243, 178, 26, 0.08), 0 10px 18px rgba(17, 24, 39, 0.05);
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    grid-area: image;
    position: relative;
    display: block;
    flex: 0 0 72px;
    width: 72px !important;
    min-width: 72px;
    max-width: 72px;
    height: auto !important;
    aspect-ratio: var(--rhm-checkout-summary-image-ratio, 1 / 1);
    overflow: hidden;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description h3,
body.woocommerce-checkout .wc-block-components-order-summary-item__description a {
    color: #151515;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.32;
}

body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
    color: #7c7c7c;
    font-size: 13px;
    line-height: 1.55;
}

body.woocommerce-checkout .wc-block-components-product-metadata__description p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

body.woocommerce-checkout .wc-block-cart-item__prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
    display: none;
}

body.woocommerce-checkout .wc-block-components-product-metadata {
    margin-top: 2px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices del,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-components-product-price__regular {
    color: #adadad;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    grid-area: total;
}

body.woocommerce-checkout .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-formatted-money-amount {
    color: #151515;
    font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    body.woocommerce-checkout .rhm-checkout__summary-card,
    body.woocommerce-checkout .rhm-checkout__totals-shell .wp-block-woocommerce-checkout-actions-block {
        padding: 16px 14px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-card::before {
        margin: -16px -14px 16px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-head {
        gap: 12px;
        margin-bottom: 16px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-title {
        font-size: 24px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-meta {
        font-size: 12px;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 0 0 14px;
    }

    body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image img,
    body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
        border-radius: 14px;
    }

    body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image,
    body.woocommerce-checkout .wc-block-components-order-summary-item__image {
        flex-basis: 60px;
        width: 60px !important;
        min-width: 60px;
        max-width: 60px;
        height: auto !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__description h3,
    body.woocommerce-checkout .wc-block-components-order-summary-item__description a {
        font-size: 14px;
        line-height: 1.35;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
        font-size: 16px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button {
        min-height: 48px;
        padding: 0;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button span:first-child,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button .wc-block-components-panel__button-text {
        font-size: 14px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button::before {
        min-width: 58px;
        height: 22px;
        font-size: 9px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
        padding: 12px 14px;
        border-radius: 18px;
    }

    body.woocommerce-checkout .rhm-checkout__payment-trust {
        padding: 14px;
        gap: 12px;
    }

    body.woocommerce-checkout .rhm-checkout__payment-trust-top {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    body.woocommerce-checkout .rhm-checkout__payment-trust-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    body.woocommerce-checkout .rhm-checkout__payment-trust-title {
        font-size: 15px;
    }

    body.woocommerce-checkout .rhm-checkout__payment-assurance {
        gap: 8px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
        min-height: 56px;
        font-size: 16px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-actions {
        gap: 8px;
    }

    body.woocommerce-checkout .rhm-checkout__summary-amount {
        min-height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge {
    display: none;
}

body.woocommerce-checkout .wc-block-components-totals-item__label {
    color: #5b5b5b;
    font-weight: 500;
    letter-spacing: -0.01em;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
    margin-top: 0;
    padding: 0;
    border-top: 1px solid #f2eadf;
}

body.woocommerce-checkout .wc-block-components-totals-item {
    padding: 12px 0;
    color: #5f5f5f;
    font-size: 14px;
}

body.woocommerce-checkout .wc-block-components-totals-item + .wc-block-components-totals-item {
    border-top: 1px dashed rgba(239, 228, 210, 0.9);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f2eadf;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    color: #f3a518;
    font-size: 20px;
    font-weight: 800;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
    margin-top: 0;
}

body.woocommerce-checkout .rhm-checkout__payment-trust {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #efdcb7;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff9ee 0%, #ffffff 100%);
    box-shadow: 0 14px 26px rgba(243, 178, 26, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.woocommerce-checkout .rhm-checkout__payment-trust-top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body.woocommerce-checkout .rhm-checkout__payment-trust-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff0c4 0%, #ffe39a 100%);
    color: #8f5f00;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.woocommerce-checkout .rhm-checkout__payment-trust-icon svg {
    width: 22px;
    height: 22px;
}

body.woocommerce-checkout .rhm-checkout__payment-trust-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff0c4;
    color: #9b6700;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.woocommerce-checkout .rhm-checkout__payment-trust-title {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

body.woocommerce-checkout .rhm-checkout__payment-trust-meta {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.55;
}

body.woocommerce-checkout .rhm-checkout__payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.woocommerce-checkout .rhm-checkout__payment-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #ead7b2;
    border-radius: 999px;
    background: #ffffff;
    color: #75540c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.woocommerce-checkout .rhm-checkout__payment-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 2px;
}

body.woocommerce-checkout .rhm-checkout__payment-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

body.woocommerce-checkout .rhm-checkout__payment-assurance span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f3b21a;
    box-shadow: 0 0 0 4px rgba(243, 178, 26, 0.12);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 58px;
    width: 100%;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffbe14 0%, #f4ac00 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 18px 30px rgba(244, 172, 0, 0.26);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block::before {
    content: "Protected payment";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #fff4d7;
    color: #aa7400;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.woocommerce-checkout .rhm-checkout__security-note {
    margin: 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #7c7c7c;
    font-size: 12px;
    text-align: center;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    filter: brightness(1.02);
}

body.woocommerce-checkout .rhm-checkout__security-note svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

body.woocommerce-checkout .rhm-checkout__reassurance-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

body.woocommerce-checkout .rhm-checkout__reassurance-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid #efe3cc;
    border-radius: 999px;
    background: linear-gradient(180deg, #fffaf1 0%, #fffef9 100%);
    color: #7c6222;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.woocommerce-checkout .rhm-mobile-bottom-bar {
    z-index: 20;
}

/* ========== 我的账户 ========== */
body.woocommerce-account .entry-title {
    display: none;
}
body.woocommerce-account .woocommerce {
    max-width: 1560px;
    margin: 0 auto;
    padding: 18px 16px 132px;
}
body.woocommerce-account .woocommerce-notices-wrapper {
    margin-bottom: 12px;
}
.woocommerce-account .rhm-account-shell {
    display: grid;
    gap: 18px;
}
.woocommerce-account .rhm-account-shell__main {
    min-width: 0;
    display: grid;
    gap: 18px;
}
.woocommerce-account .woocommerce-MyAccount-content {
    min-width: 0;
    font-size: 14px;
}
.woocommerce-account .rhm-account-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.woocommerce-account .rhm-account-page-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-account .rhm-account-page-header__back-icon,
.woocommerce-account .rhm-account-page-header__back-icon svg {
    width: 20px;
    height: 20px;
}
.woocommerce-account .rhm-account-page-header__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #1d1d1d;
}
.woocommerce-account .rhm-account-nav {
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 16px 36px rgba(79, 58, 14, 0.06);
}
.woocommerce-account .rhm-account-nav__head {
    margin-bottom: 14px;
}
.woocommerce-account .rhm-account-nav__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
    color: #202020;
}
.woocommerce-account .rhm-account-nav__list {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.woocommerce-account .rhm-account-nav__item {
    margin: 0;
}
.woocommerce-account .rhm-account-nav__link {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 16px;
    color: #232323;
    text-decoration: none;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(216, 198, 162, 0.4);
    transition: background-color var(--hl-transition-fast), border-color var(--hl-transition-fast), transform var(--hl-transition-fast), color var(--hl-transition-fast);
}
.woocommerce-account .rhm-account-nav__icon,
.woocommerce-account .rhm-account-nav__icon svg,
.woocommerce-account .rhm-account-nav__chevron,
.woocommerce-account .rhm-account-nav__chevron svg {
    width: 18px;
    height: 18px;
}
.woocommerce-account .rhm-account-nav__label {
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-account .rhm-account-nav__chevron {
    color: rgba(33, 33, 33, 0.52);
}
.woocommerce-account .rhm-account-nav__item.is-active .rhm-account-nav__link,
.woocommerce-account .rhm-account-nav__link:hover {
    color: #d88b0d;
    background: linear-gradient(180deg, #fff8eb 0%, #fff4dd 100%);
    border-color: rgba(245, 166, 35, 0.36);
    transform: translateY(-1px);
}
.woocommerce-account .rhm-account-nav--subpage {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__link {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 14px;
    grid-template-columns: none;
    gap: 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__chevron {
    display: none;
}
.woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__label {
    font-size: 13px;
}
.woocommerce-account .rhm-account-dashboard,
.woocommerce-account .rhm-account-orders-page,
.woocommerce-account .rhm-account-addresses,
.woocommerce-account .rhm-account-payment-methods,
.woocommerce-account .rhm-account-form {
    display: grid;
    gap: 18px;
}
.woocommerce-account .rhm-account-section,
.woocommerce-account .rhm-account-promo,
.woocommerce-account .rhm-account-empty,
.woocommerce-account .rhm-account-form-card,
.woocommerce-account .rhm-account-address-card,
.woocommerce-account .rhm-account-payment-card {
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 14px 34px rgba(79, 58, 14, 0.05);
}
.woocommerce-account .rhm-account-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.woocommerce-account .rhm-account-section__head--tight {
    margin-bottom: 0;
}
.woocommerce-account .rhm-account-section__title,
.woocommerce-account .rhm-account-form-card__title,
.woocommerce-account .rhm-account-promo__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    color: #202020;
}
.woocommerce-account .rhm-account-section__link,
.woocommerce-account .rhm-account-address-card__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e09615;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.woocommerce-account .rhm-account-hero {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0) 42%),
        linear-gradient(180deg, #fffaf1 0%, #fffdf9 100%);
    border: 1px solid rgba(196, 146, 41, 0.14);
    box-shadow: 0 18px 40px rgba(79, 58, 14, 0.07);
}
.woocommerce-account .rhm-account-hero__copy {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.woocommerce-account .rhm-account-hero__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe8b0 0%, #f6d488 100%);
    color: #8a5b05;
    font-size: 28px;
    font-weight: 700;
}
.woocommerce-account .rhm-account-hero__text {
    display: grid;
    gap: 4px;
}
.woocommerce-account .rhm-account-hero__eyebrow,
.woocommerce-account .rhm-account-promo__text,
.woocommerce-account .rhm-account-addresses__intro,
.woocommerce-account .rhm-account-form__hint,
.woocommerce-account .rhm-account-payment-card__meta,
.woocommerce-account .rhm-account-empty__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(34, 34, 34, 0.64);
}
.woocommerce-account .rhm-account-hero__name {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #1d1d1d;
}
.woocommerce-account .rhm-account-hero__email {
    margin: 0;
    font-size: 13px;
    color: rgba(34, 34, 34, 0.58);
}
.woocommerce-account .rhm-account-hero__action {
    margin-top: 6px;
    justify-self: start;
}
.woocommerce-account .rhm-account-hero__visual {
    display: flex;
    min-height: 124px;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 238, 197, 0.8) 0%, rgba(255, 247, 231, 0.92) 100%);
    color: #d28d11;
}
.woocommerce-account .rhm-account-hero__visual img,
.woocommerce-account .rhm-account-hero__visual .custom-logo {
    width: auto;
    max-width: min(100%, 220px);
    max-height: 160px;
    height: auto;
    object-fit: contain;
}
.woocommerce-account .rhm-account-hero__visual-icon,
.woocommerce-account .rhm-account-hero__visual-icon svg {
    width: 64px;
    height: 64px;
}
.woocommerce-account .rhm-account-order-list {
    display: grid;
    gap: 14px;
}
.woocommerce-account .rhm-account-orders-page__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}
.woocommerce-account .rhm-account-orders-page__copy {
    margin: 0;
    max-width: 540px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f1f1f;
}
.woocommerce-account .rhm-account-orders-page__count {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #f7f3e8;
    color: #7a6840;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.woocommerce-account .rhm-account-order-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(221, 208, 175, 0.5);
    border-radius: 20px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
}
.woocommerce-account .rhm-account-order-card--compact {
    align-items: center;
}
.woocommerce-account .rhm-account-order-card--detail {
    align-items: center;
    padding: 14px;
    border-radius: 18px;
}
.woocommerce-account .rhm-account-order-card__image {
    display: flex;
    width: 78px;
    min-width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff5dc 0%, #ffefc8 100%);
}
.woocommerce-account .rhm-account-order-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.woocommerce-account .rhm-account-order-card__image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #d18b12;
}
.woocommerce-account .rhm-account-order-card__image-placeholder svg {
    width: 34px;
    height: 34px;
}
.woocommerce-account .rhm-account-order-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.woocommerce-account .rhm-account-order-card__heading {
    display: grid;
    gap: 3px;
}
.woocommerce-account .rhm-account-order-card__main {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.woocommerce-account .rhm-account-order-card__number {
    margin: 0;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 600;
    color: #1f1f1f;
}
.woocommerce-account .rhm-account-order-card__date,
.woocommerce-account .rhm-account-order-card__items,
.woocommerce-account .rhm-account-order-card__meta {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(34, 34, 34, 0.62);
}
.woocommerce-account .rhm-account-order-card__total {
    font-size: 24px;
    line-height: 1.1;
    color: #171717;
}
.woocommerce-account .rhm-account-order-card__side {
    display: grid;
    justify-items: end;
    align-content: space-between;
    gap: 20px;
    min-height: 78px;
}
.woocommerce-account .rhm-account-order-card__view,
.woocommerce-account .rhm-account-order-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.woocommerce-account .rhm-account-order-card__view svg,
.woocommerce-account .rhm-account-order-card__arrow svg {
    width: 14px;
    height: 14px;
}
.woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__view {
    color: #222;
}
.woocommerce-account .rhm-account-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.woocommerce-account .rhm-account-badge--processing {
    color: #d68d0f;
    background: #fff1c8;
}
.woocommerce-account .rhm-account-badge--completed {
    color: #6e9138;
    background: #e8f2d5;
}
.woocommerce-account .rhm-account-badge--cancelled {
    color: #ce4f5e;
    background: #fde6ea;
}
.woocommerce-account .rhm-account-badge--pending {
    color: #7d6b3d;
    background: #f3edd9;
}
.woocommerce-account .rhm-account-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    background:
        radial-gradient(circle at right center, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0) 38%),
        linear-gradient(180deg, #fff8eb 0%, #fffdf9 100%);
}
.woocommerce-account .rhm-account-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: #f5a623;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.woocommerce-account .rhm-account-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.woocommerce-account .rhm-account-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 2px 8px;
    border-bottom: 2px solid transparent;
    color: rgba(34, 34, 34, 0.62);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.woocommerce-account .rhm-account-tabs__item.is-active {
    color: #e09615;
    border-bottom-color: #f5a623;
}
.woocommerce-account .rhm-account-pagination {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.woocommerce-account .rhm-account-addresses__list,
.woocommerce-account .rhm-account-payment-methods__list {
    display: grid;
    gap: 14px;
}
.woocommerce-account .rhm-account-address-card__head,
.woocommerce-account .rhm-account-payment-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.woocommerce-account .rhm-account-address-card__label-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.woocommerce-account .rhm-account-address-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff4dd;
    color: #d88b0d;
    font-size: 12px;
    font-weight: 700;
}
.woocommerce-account .rhm-account-address-card__badge--muted {
    background: #f2f2f2;
    color: #6f6f6f;
}
.woocommerce-account .rhm-account-address-card address {
    margin: 0;
    font-style: normal;
    line-height: 1.75;
    color: #202020;
}
.woocommerce-account .rhm-account-address-card__empty {
    margin: 0;
    color: rgba(34, 34, 34, 0.58);
}
.woocommerce-account .rhm-account-payment-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #202020;
}
.woocommerce-account .rhm-account-payment-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.woocommerce-account .rhm-account-form-card__head {
    margin-bottom: 14px;
}
.woocommerce-account .rhm-account-form__grid {
    display: grid;
    gap: 14px;
}
.woocommerce-account .rhm-account-form .form-row {
    margin: 0;
}
.woocommerce-account .rhm-account-form label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
}
.woocommerce-account .rhm-account-form__hint {
    display: inline-block;
    margin-top: 6px;
}
.woocommerce-account .rhm-account-form__actions {
    margin: 0;
}
.woocommerce-account .rhm-account-form .button,
.woocommerce-account .rhm-account-form button {
    border: 0;
}
.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details,
.woocommerce-account .woocommerce-table--order-details,
.woocommerce-account .woocommerce-table--order-downloads,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 14px 34px rgba(79, 58, 14, 0.05);
}
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    gap: 14px;
}
.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
}
.woocommerce-account .woocommerce-Button.button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button {
    border-radius: 14px;
}
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    border-radius: 18px;
}

/* ========== 认证页 ========== */
body.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 16px 48px;
}

body.woocommerce-account:not(.logged-in) .rhm-mobile-bottom-bar {
    display: none;
}

.rhm-account-auth-shell,
.woocommerce-account .rhm-account-auth-shell {
    min-width: 0;
}

.woocommerce-MyAccount-content--auth,
.woocommerce-account .woocommerce-MyAccount-content--auth {
    width: 100%;
}

.rhm-auth-page,
.woocommerce-account .rhm-auth-page {
    position: relative;
    display: grid;
    gap: 24px;
}

.rhm-auth-page::before,
.woocommerce-account .rhm-auth-page::before {
    content: '';
    position: absolute;
    inset: 16px 0 auto;
    height: 280px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 18%, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0) 26%),
        radial-gradient(circle at 12% 78%, rgba(245, 166, 35, 0.08), rgba(245, 166, 35, 0) 18%),
        linear-gradient(180deg, #fffdf7 0%, #fff9ef 100%);
    z-index: 0;
}

.rhm-auth-page__grid,
.rhm-auth-trust,
.woocommerce-account .rhm-auth-page__grid,
.woocommerce-account .rhm-auth-trust {
    position: relative;
    z-index: 1;
}

.rhm-auth-page__grid,
.woocommerce-account .rhm-auth-page__grid {
    display: grid;
    gap: 20px;
}

.rhm-auth-page__grid--single,
.woocommerce-account .rhm-auth-page__grid--single {
    grid-template-columns: 1fr;
}

.rhm-auth-panel,
.woocommerce-account .rhm-auth-panel {
    display: grid;
    gap: 16px;
}

.rhm-auth-panel__header,
.woocommerce-account .rhm-auth-panel__header {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 10px 8px 0;
    text-align: center;
}

.rhm-auth-panel__intro,
.woocommerce-account .rhm-auth-panel__intro {
    display: grid;
    gap: 10px;
    max-width: 360px;
}

.rhm-auth-panel__title,
.woocommerce-account .rhm-auth-panel__title {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #181512;
    text-wrap: balance;
}

.rhm-auth-panel__description,
.woocommerce-account .rhm-auth-panel__description {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-auth-card,
.woocommerce-account .rhm-auth-card {
    padding: 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
    box-shadow: 0 18px 38px rgba(79, 58, 14, 0.06);
}

.rhm-auth-form,
.woocommerce-account .rhm-auth-form {
    display: grid;
    gap: 14px;
}

.rhm-auth-form__row,
.woocommerce-account .rhm-auth-form__row {
    margin: 0;
}

.rhm-auth-form label,
.woocommerce-account .rhm-auth-form label {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
}

.rhm-auth-field,
.woocommerce-account .rhm-auth-field {
    position: relative;
    display: block;
}

.rhm-auth-field__icon,
.woocommerce-account .rhm-auth-field__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: rgba(34, 34, 34, 0.38);
    transform: translateY(-50%);
    pointer-events: none;
}

.rhm-auth-field__icon svg,
.woocommerce-account .rhm-auth-field__icon svg {
    width: 100%;
    height: 100%;
}

.rhm-auth-form .input-text,
.rhm-auth-form input[type="email"],
.rhm-auth-form input[type="text"],
.rhm-auth-form input[type="password"],
.woocommerce-account .rhm-auth-form .input-text,
.woocommerce-account .rhm-auth-form input[type="email"],
.woocommerce-account .rhm-auth-form input[type="text"],
.woocommerce-account .rhm-auth-form input[type="password"] {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 44px;
    border: 1px solid rgba(196, 146, 41, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
    font-size: 14px;
}

.rhm-auth-field__toggle,
.woocommerce-account .rhm-auth-field__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(34, 34, 34, 0.42);
    transform: translateY(-50%);
    cursor: pointer;
}

.rhm-auth-field__toggle svg,
.woocommerce-account .rhm-auth-field__toggle svg {
    width: 18px;
    height: 18px;
}

.rhm-auth-field__toggle.is-active,
.woocommerce-account .rhm-auth-field__toggle.is-active {
    color: #d78d0d;
}

.rhm-auth-form__meta,
.woocommerce-account .rhm-auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rhm-auth-checkbox,
.woocommerce-account .rhm-auth-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(34, 34, 34, 0.76);
}

.rhm-auth-checkbox input[type="checkbox"],
.woocommerce-account .rhm-auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #f5a623;
}

.rhm-auth-checkbox a,
.woocommerce-account .rhm-auth-checkbox a {
    color: #e09615;
    text-decoration: none;
    font-weight: 600;
}

.rhm-auth-form__link,
.woocommerce-account .rhm-auth-form__link {
    color: #e09615;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.rhm-auth-form__actions,
.woocommerce-account .rhm-auth-form__actions {
    display: grid;
    margin: 0;
}

.rhm-auth-form__submit,
.woocommerce-account .rhm-auth-form__submit {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(245, 166, 35, 0.24);
}

.rhm-auth-form .woocommerce-password-hint,
.rhm-auth-form .woocommerce-password-strength,
.woocommerce-account .rhm-auth-form .woocommerce-password-hint,
.woocommerce-account .rhm-auth-form .woocommerce-password-strength {
    margin-top: 8px;
}

.rhm-auth-trust,
.woocommerce-account .rhm-auth-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 4px 2px 0;
}

.rhm-auth-trust__item,
.woocommerce-account .rhm-auth-trust__item {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
}

.rhm-auth-trust__icon,
.woocommerce-account .rhm-auth-trust__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #d6920d;
}

.rhm-auth-trust__icon svg,
.woocommerce-account .rhm-auth-trust__icon svg {
    width: 22px;
    height: 22px;
}

.rhm-auth-trust__item strong,
.woocommerce-account .rhm-auth-trust__item strong {
    font-size: 12px;
    line-height: 1.3;
    color: #171717;
}

.rhm-auth-trust__item span:last-child,
.woocommerce-account .rhm-auth-trust__item span:last-child {
    font-size: 11px;
    line-height: 1.45;
    color: rgba(34, 34, 34, 0.68);
}

@media (min-width: 768px) {
    body.woocommerce-account:not(.logged-in) .woocommerce {
        padding-top: 22px;
        padding-bottom: 60px;
    }

    .rhm-auth-page,
    .woocommerce-account .rhm-auth-page {
        gap: 28px;
    }

    .rhm-auth-page::before,
    .woocommerce-account .rhm-auth-page::before {
        inset: 18px 0 auto;
        height: 320px;
        border-radius: 36px;
    }

    .rhm-auth-page__grid,
    .woocommerce-account .rhm-auth-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .rhm-auth-page__grid--single,
    .woocommerce-account .rhm-auth-page__grid--single {
        grid-template-columns: minmax(0, 560px);
        justify-content: center;
    }

    .rhm-auth-card,
    .woocommerce-account .rhm-auth-card {
        padding: 24px;
        border-radius: 28px;
    }

    .rhm-auth-panel__title,
    .woocommerce-account .rhm-auth-panel__title {
        font-size: 44px;
    }
}

@media (min-width: 1100px) {
    body.woocommerce-account:not(.logged-in) .woocommerce {
        padding-left: 32px;
        padding-right: 32px;
    }

    .rhm-auth-page::before,
    .woocommerce-account .rhm-auth-page::before {
        inset: 18px 12px auto;
        height: 360px;
        border-radius: 42px;
    }

    .rhm-auth-page__grid,
    .woocommerce-account .rhm-auth-page__grid {
        gap: 28px;
    }

    .rhm-auth-card,
    .woocommerce-account .rhm-auth-card {
        padding: 28px;
    }

    .rhm-auth-panel__title,
    .woocommerce-account .rhm-auth-panel__title {
        font-size: 50px;
    }
}

/* ========== 单品页 ========== */
.woocommerce div.product {
    padding: 16px;
}
.woocommerce div.product .product_title {
    font-size: 22px;
    margin-bottom: 8px;
}
.woocommerce div.product .woocommerce-product-gallery {
    margin-bottom: 16px;
}
.woocommerce div.product .summary {
    margin-bottom: 24px;
}
.woocommerce div.product .quantity .qty {
    width: 56px;
    min-height: 44px;
    text-align: center;
    border: 1px solid var(--hl-color-border);
    border-radius: var(--hl-radius-sm);
    font-size: 14px;
}
.woocommerce div.product .woocommerce-tabs {
    margin-top: 24px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    border-bottom: 1px solid var(--hl-color-border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 12px -1px 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--hl-color-text-light);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--hl-color-primary);
    border-bottom: 2px solid var(--hl-color-primary);
}
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 16px 0;
    font-size: 14px;
    line-height: 1.7;
}

.single-product .woocommerce-notices-wrapper {
    padding: 12px 16px 0;
}

.single-product .rhm-single-product {
    padding: 14px 16px 36px;
}

.rhm-single-product__hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rhm-single-product__media-shell {
    padding: 10px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(196, 146, 41, 0.06);
    box-shadow: 0 10px 22px rgba(112, 84, 28, 0.035);
}

.rhm-single-product__gallery {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.rhm-single-product__thumbs-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0;
    height: 260px;
    max-height: 260px;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.rhm-single-product__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0;
    scrollbar-width: none;
}

.rhm-single-product__thumbs::-webkit-scrollbar {
    display: none;
}

.rhm-single-product__thumb {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 14px;
    background: #ffffff;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
    box-shadow: 0 6px 14px rgba(118, 90, 27, 0.045);
}

.rhm-single-product__thumb.is-active {
    border-color: #f5a623;
    background: #fff8e8;
    box-shadow: 0 10px 18px rgba(245, 166, 35, 0.16);
}

.rhm-single-product__thumb img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.rhm-single-product__main-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #fff6df;
    padding: 0;
}

.rhm-single-product__main-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--rhm-single-product-image-ratio, 1 / 1);
    min-height: 0;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
}

.rhm-single-product__main-frame::after {
    display: none;
}

.rhm-single-product__main-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: var(--rhm-single-product-image-fit, contain);
    border-radius: 28px;
    position: relative;
    z-index: 1;
    cursor: zoom-in;
}

.rhm-single-product__lightbox[hidden] {
    display: none;
}

.rhm-single-product__lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rhm-single-product__lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 24, 0.84);
    backdrop-filter: blur(4px);
}

.rhm-single-product__lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1040px);
    max-height: min(88vh, 980px);
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 251, 241, 0.98);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.rhm-single-product__lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(27, 28, 33, 0.74);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rhm-single-product__lightbox-close svg {
    width: 18px;
    height: 18px;
}

.rhm-single-product__lightbox-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: calc(88vh - 28px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 20px;
}

.rhm-single-product__test-modal[hidden] {
    display: none;
}

.rhm-single-product__test-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 14px calc(env(safe-area-inset-bottom, 0px) + 18px);
}

.rhm-single-product__test-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 20, 24, 0.6);
    backdrop-filter: blur(5px);
}

.rhm-single-product__test-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 412px);
    max-height: min(86vh, 920px);
    overflow-y: auto;
    padding: 20px 18px 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 64px rgba(18, 18, 18, 0.2);
}

.rhm-single-product__test-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(38, 38, 38, 0.05);
    color: #6a6258;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rhm-single-product__test-modal-close svg {
    width: 18px;
    height: 18px;
}

.rhm-single-product__test-modal-badge,
.rhm-single-product__test-trigger-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px 0 6px;
    border-radius: 999px;
    background: #f8fcf2;
    box-shadow: inset 0 0 0 1px rgba(88, 139, 33, 0.26);
    color: #4c8b16;
}

.rhm-single-product__test-modal-badge-image,
.rhm-single-product__test-trigger-badge-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.rhm-single-product__test-modal-badge-image img,
.rhm-single-product__test-trigger-badge-image img {
    display: block;
    width: auto;
    height: 22px;
    max-width: 104px;
    object-fit: contain;
}

.rhm-single-product__test-modal-badge,
.rhm-single-product__test-modal-badge-image {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

.rhm-single-product__test-modal-badge-icon,
.rhm-single-product__test-trigger-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #4c8b16;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}

.rhm-single-product__test-modal-badge-icon svg,
.rhm-single-product__test-trigger-badge-icon svg {
    width: 14px;
    height: 14px;
}

.rhm-single-product__test-modal-badge-text,
.rhm-single-product__test-trigger-badge-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rhm-single-product__test-modal-title {
    margin: 16px 0 0;
    font-size: 26px;
    line-height: 1.15;
    color: #1b1b1b;
    text-align: center;
}

.rhm-single-product__test-modal-status {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: #355f13;
    text-align: center;
}

.rhm-single-product__test-modal-description {
    margin: 14px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 30, 30, 0.08);
    font-size: 14px;
    line-height: 1.78;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-single-product__test-modal-section {
    margin-top: 18px;
}

.rhm-single-product__test-modal-section-title {
    display: block;
    font-size: 17px;
    color: #1f1f1f;
    margin-bottom: 14px;
}

.rhm-single-product__test-modal-row + .rhm-single-product__test-modal-row {
    margin-top: 14px;
}

.rhm-single-product__test-modal-row-title {
    display: block;
    margin-bottom: 10px;
    color: #1f1f1f;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.rhm-single-product__test-modal-highlights {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rhm-single-product__test-modal-highlight {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 13px;
    background: #f7f7f5;
    color: #2f2a24;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    line-height: 1.35;
}

.rhm-single-product__test-modal-highlight-icon {
    width: 20px;
    height: 20px;
    color: #4c8b16;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.rhm-single-product__test-modal-highlight-icon svg {
    width: 18px;
    height: 18px;
}

.rhm-single-product__test-modal-highlight-text {
    display: block;
}

.rhm-single-product__test-modal-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
}

.rhm-single-product__test-modal-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 12px 13px;
    border-radius: 13px;
    background: #f7f7f5;
    color: #4b4135;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
}

.rhm-single-product__test-modal-check-icon {
    width: 15px;
    height: 15px;
    color: #4c8b16;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 15px;
}

.rhm-single-product__test-modal-check-icon svg {
    width: 13px;
    height: 13px;
}

.rhm-single-product__test-modal-report {
    margin-top: 16px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(88, 139, 33, 0.34),
        0 14px 28px rgba(24, 35, 16, 0.07);
}

.rhm-single-product__test-modal-report img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.rhm-single-product__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.rhm-single-product__badge--sale {
    background: #f29a00;
}

.rhm-single-product__badge--stock {
    top: 56px;
    background: #7f7f7f;
}

.rhm-single-product__summary {
    display: flex;
    flex-direction: column;
}

.rhm-single-product__title-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.rhm-single-product__title-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--rhm-title-badge-bg, #d62828);
    color: var(--rhm-title-badge-color, #ffffff);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rhm-single-product__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.16;
    color: #1b1b1b;
}

.rhm-single-product__rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.rhm-single-product__rating-stars .star-rating {
    margin: 0;
    color: #f5a623;
}

.rhm-single-product__rating-text,
.rhm-single-product__rating-empty {
    font-size: 13px;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-single-product__price {
    margin-top: 14px;
    font-size: 26px;
    font-weight: 700;
    color: #151515;
}

.rhm-single-product__price del {
    /* margin-right: 8px; */
    font-size: 18px;
    color: rgba(21, 21, 21, 0.42);
}

.rhm-single-product__price ins {
    text-decoration: none;
}

.rhm-single-product__excerpt {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(34, 34, 34, 0.74);
}

.rhm-single-product__social-proof {
    margin-top: 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rhm-single-product__social-proof-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 33px;
    padding: 0 9px;
    border-radius: 13px;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    background: #fffdf9;
    box-shadow:
        inset 0 0 0 1px rgba(67, 49, 38, 0.18),
        0 4px 10px rgba(50, 36, 28, 0.04);
}

.rhm-single-product__social-proof-stat--accent {
    background: #fffdf9;
    box-shadow:
        inset 0 0 0 1px rgba(216, 101, 72, 0.32),
        0 4px 10px rgba(206, 98, 67, 0.05);
}

.rhm-single-product__social-proof-stat--viewing {
    position: relative;
    background: #fffdf9;
    box-shadow:
        inset 0 0 0 1px rgba(161, 91, 63, 0.24),
        0 4px 10px rgba(161, 91, 63, 0.05);
}

.rhm-single-product__social-proof-stat--time {
    background: #fffdf9;
    box-shadow:
        inset 0 0 0 1px rgba(114, 92, 76, 0.2),
        0 4px 10px rgba(60, 44, 35, 0.04);
}

.rhm-single-product__social-proof-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: 0 0 6px;
    background: #ff7a59;
    box-shadow: 0 0 0 0 rgba(255, 122, 89, 0.42);
    animation: rhm-proof-live-pulse 1.25s ease-out infinite;
}

.rhm-single-product__social-proof-stat-icon {
    width: 13px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 13px;
    color: #7d5a46;
    opacity: 0.92;
}

.rhm-single-product__social-proof-stat--accent .rhm-single-product__social-proof-stat-icon,
.rhm-single-product__social-proof-stat--accent strong,
.rhm-single-product__social-proof-stat--accent span:last-child {
    color: #bf5b3f;
}

.rhm-single-product__social-proof-stat--viewing .rhm-single-product__social-proof-stat-icon,
.rhm-single-product__social-proof-stat--viewing strong,
.rhm-single-product__social-proof-stat--viewing span:last-child {
    color: #8a4f39;
}

.rhm-single-product__social-proof-stat--time .rhm-single-product__social-proof-stat-icon,
.rhm-single-product__social-proof-stat--time strong {
    color: #5f4b3e;
}

.rhm-single-product__social-proof-stat--accent span:last-child,
.rhm-single-product__social-proof-stat--viewing span:last-child {
    color: #b44e33;
    text-shadow: 0 0 10px rgba(228, 121, 89, 0.14);
}

.rhm-single-product__social-proof-stat--time span:last-child {
    color: rgba(95, 75, 62, 0.72);
}

.rhm-single-product__social-proof-stat-icon svg {
    width: 13px;
    height: 13px;
}

.rhm-single-product__social-proof-stat strong {
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.015em;
    color: #2e2620;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
    font-variant-numeric: tabular-nums;
}

.rhm-single-product__social-proof-stat span:last-child {
    font-size: 8px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(46, 38, 32, 0.58);
    transform: translateY(0);
    transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.rhm-single-product__social-proof + .rhm-single-product__excerpt {
    margin-top: 12px;
}

.rhm-single-product__test-trigger {
    margin-top: 12px;
    width: 100%;
    min-height: 52px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(39, 39, 39, 0.08),
        0 6px 14px rgba(27, 27, 27, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    cursor: pointer;
}

.rhm-single-product__test-trigger:hover {
    box-shadow:
        inset 0 0 0 1px rgba(88, 139, 33, 0.18),
        0 8px 18px rgba(27, 27, 27, 0.06);
}

.rhm-single-product__test-trigger-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

.rhm-single-product__test-trigger-copy strong {
    font-size: 13.5px;
    line-height: 1.2;
    color: #1f1f1f;
    font-weight: 700;
}

.rhm-single-product__test-trigger-copy span {
    font-size: 12px;
    color: #2d5c9f;
}

.rhm-single-product__test-trigger-arrow {
    width: 14px;
    height: 14px;
    color: rgba(31, 31, 31, 0.5);
    flex: 0 0 14px;
}

.rhm-single-product__test-trigger-arrow svg {
    width: 100%;
    height: 100%;
}

.rhm-single-product__test-trigger + .rhm-single-product__excerpt {
    margin-top: 14px;
}

@media (max-width: 374px) {
    .rhm-single-product__social-proof {
        gap: 4px;
    }

    .rhm-single-product__social-proof-stat {
        min-height: 30px;
        padding: 0 7px;
    }

    .rhm-single-product__social-proof-stat strong {
        font-size: 10.5px;
    }

    .rhm-single-product__social-proof-stat span:last-child {
        font-size: 7px;
        letter-spacing: 0.1em;
    }

    .rhm-single-product__test-trigger {
        min-height: 50px;
        padding: 8px 12px;
        gap: 10px;
    }

    .rhm-single-product__test-trigger-copy strong {
        font-size: 14px;
    }

    .rhm-single-product__test-trigger-copy span {
        font-size: 12px;
    }

    .rhm-single-product__test-modal-highlights,
    .rhm-single-product__test-modal-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (min-width: 768px) {
    .rhm-single-product__test-modal-dialog {
        width: min(100%, 560px);
        max-height: min(88vh, 920px);
        padding: 24px 24px 22px;
    }

    .rhm-single-product__test-modal-title {
        font-size: 28px;
    }

    .rhm-single-product__test-trigger {
        min-height: 54px;
        padding: 8px 16px;
    }
}

@keyframes rhm-proof-live-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 122, 89, 0.42);
    }
    70% {
        transform: scale(1.18);
        box-shadow: 0 0 0 9px rgba(255, 122, 89, 0);
    }
}

@keyframes rhm-proof-accent-breathe {
    0%,
    100% {
        box-shadow:
            inset 0 0 0 1px rgba(216, 101, 72, 0.32),
            0 4px 10px rgba(206, 98, 67, 0.05);
        filter: saturate(1);
    }
    50% {
        box-shadow:
            inset 0 0 0 1px rgba(216, 101, 72, 0.38),
            0 8px 18px rgba(206, 98, 67, 0.12);
        filter: saturate(1.06);
    }
}

@keyframes rhm-proof-label-glow {
    0%,
    100% {
        opacity: 0.82;
    }
    50% {
        opacity: 1;
    }
}

.rhm-single-product__social-proof-stat--accent,
.rhm-single-product__social-proof-stat--viewing {
    animation: rhm-proof-accent-breathe 2.8s ease-in-out infinite;
}

.rhm-single-product__social-proof-stat--accent span:last-child,
.rhm-single-product__social-proof-stat--viewing span:last-child {
    animation: rhm-proof-label-glow 2.2s ease-in-out infinite;
}

.rhm-single-product__social-proof-stat.is-live {
    animation: rhm-proof-chip-bump 520ms ease;
}

@keyframes rhm-proof-chip-bump {
    0% {
        box-shadow: inset 0 0 0 1px rgba(216, 101, 72, 0.12);
        filter: brightness(1);
    }
    35% {
        box-shadow:
            inset 0 0 0 1px rgba(216, 101, 72, 0.22),
            0 12px 22px rgba(216, 101, 72, 0.18);
        filter: brightness(1.06);
    }
    100% {
        box-shadow: inset 0 0 0 1px rgba(216, 101, 72, 0.12);
        filter: brightness(1);
    }
}

.rhm-single-product__feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.rhm-single-product__feature-card {
    min-height: 98px;
    padding: 14px 14px 13px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff6e8 100%);
    border: 1px solid rgba(196, 146, 41, 0.14);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-shadow: 0 14px 28px rgba(112, 84, 28, 0.055);
}

.rhm-single-product__feature-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #b97a00;
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.2) 0%, rgba(245, 166, 35, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.1);
}

.rhm-single-product__feature-icon svg {
    width: 22px;
    height: 22px;
}

.rhm-single-product__feature-content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rhm-single-product__feature-card strong {
    font-size: 13px;
    line-height: 1.22;
    color: #1f1f1f;
    letter-spacing: -0.01em;
    text-align: left;
}

.rhm-single-product__feature-card span:last-child {
    font-size: 10.5px;
    line-height: 1.35;
    color: rgba(34, 34, 34, 0.62);
    text-align: left;
}

.rhm-single-product__purchase-card {
    margin-top: 22px;
    padding: 20px 16px 18px;
    border-radius: 28px;
    border: 1px solid rgba(29, 41, 57, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.rhm-single-product__purchase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rhm-single-product__purchase-label {
    font-size: 14px;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -0.01em;
}

.rhm-single-product .cart,
.rhm-single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: grid;
    gap: 14px;
}

.rhm-single-product__option-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.rhm-single-product__option-field {
    position: relative;
}

.rhm-single-product__option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.rhm-single-product__option-head label {
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
}

.rhm-single-product__option-select {
    position: absolute;
    inset: auto auto auto -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rhm-single-product__option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rhm-single-product__option-chip {
    width: auto;
    min-width: 60px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(196, 146, 41, 0.2);
    border-radius: 999px;
    background: #ffffff;
    color: #4f4637;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.rhm-single-product__option-chip:hover {
    border-color: rgba(245, 166, 35, 0.36);
    background: #fffaf0;
}

.rhm-single-product__option-chip.is-active {
    border-color: #e0a22d;
    background: #fff1cf;
    color: #8b5c00;
    box-shadow: none;
}

.rhm-single-product__option-chip.is-disabled,
.rhm-single-product__option-chip:disabled {
    border-color: rgba(210, 210, 210, 0.9);
    background: #f3f1ed;
    color: rgba(110, 110, 110, 0.58);
    opacity: 1;
    text-decoration: none;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.rhm-single-product__option-chip-swatch {
    display: none;
}

.rhm-single-product__option-chip-label {
    font-size: 13px;
    font-weight: 600;
    color: inherit;
}

.rhm-single-product__option-chip-check {
    display: none;
}

.rhm-single-product form.cart .reset_variations {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #c98a00;
}

.rhm-single-product__qty-block {
    display: grid;
    gap: 10px;
}

.rhm-single-product__qty-label {
    font-size: 13px;
    font-weight: 700;
    color: #1d2939;
    letter-spacing: 0;
    text-transform: none;
}

.rhm-single-product__qty-row {
    width: 188px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(29, 41, 57, 0.14);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.rhm-single-product__qty-display {
    min-height: 48px;
    padding: 0;
    border-left: 1px solid rgba(29, 41, 57, 0.12);
    border-right: 1px solid rgba(29, 41, 57, 0.12);
    border-radius: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rhm-single-product__qty-caption {
    display: none;
}

.rhm-single-product .quantity {
    width: 100%;
    margin: 0;
    display: block;
}

.rhm-single-product .quantity .qty {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #1b1b1b;
    text-align: center;
    box-shadow: none;
    padding: 0;
    line-height: 48px;
    outline: none;
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.rhm-single-product .quantity input.qty.input-text {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.rhm-single-product .quantity .qty:focus,
.rhm-single-product .quantity .qty:hover,
.rhm-single-product .quantity .qty:active {
    border: 0;
    outline: none;
    box-shadow: none;
}

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

.rhm-single-product__qty-btn {
    width: 100%;
    min-height: 48px;
    border: none;
    background: #ffffff;
    color: #1d2939;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 150ms ease, color 150ms ease;
    box-shadow: none;
}

.rhm-single-product__qty-btn:hover {
    background: #f8fafc;
}

.rhm-single-product .woocommerce-variation-price {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #1b1b1b;
}

.rhm-single-product__variation-price-group {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.rhm-single-product__save-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 12px;
    background: #eaf7e6;
    color: #3f8a35;
    font-size: 13px;
    font-weight: 700;
}

.rhm-single-product .woocommerce-variation-availability {
    margin-bottom: 6px;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.68);
}

.rhm-single-product .woocommerce-variation-availability .stock.out-of-stock {
    color: #a06b00;
}

.rhm-single-product .stock {
    margin: 0 0 8px;
    font-size: 13px;
}

.rhm-single-product .single_add_to_cart_button,
.rhm-single-product__buy-now {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rhm-single-product__buy-now {
    margin-top: 0;
}

.rhm-single-product__button-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rhm-single-product__button-icon svg {
    width: 24px;
    height: 24px;
}

.rhm-single-product .single_add_to_cart_button.disabled,
.rhm-single-product .single_add_to_cart_button:disabled,
.rhm-single-product__buy-now.is-disabled,
.rhm-single-product__buy-now:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rhm-single-product__purchase-benefits {
    margin-top: 16px;
    padding-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(29, 41, 57, 0.08);
}

.rhm-single-product__purchase-benefit {
    min-width: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.15;
    color: #667085;
}

.rhm-single-product__purchase-benefit > span:last-child {
    line-height: 1.15;
}

.rhm-single-product__purchase-benefit + .rhm-single-product__purchase-benefit {
    border-left: 1px solid rgba(29, 41, 57, 0.08);
}

.rhm-single-product__purchase-benefit-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    flex: 0 0 18px;
}

.rhm-single-product__purchase-benefit-icon--secure {
    color: var(--hl-color-success);
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
}

.rhm-single-product__purchase-benefit-icon--returns,
.rhm-single-product__purchase-benefit-icon--shipping {
    color: var(--hl-color-success);
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
}

.rhm-single-product__purchase-benefit-icon svg {
    width: 18px;
    height: 18px;
}

.rhm-single-product__purchase-benefit-icon--secure svg {
    width: 27px;
    height: 27px;
}

.rhm-single-product__purchase-benefit-icon--returns svg,
.rhm-single-product__purchase-benefit-icon--shipping svg {
    width: 27px;
    height: 27px;
}

.rhm-single-product .woocommerce-variation-price {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1b1b1b;
}

.rhm-single-product .woocommerce-variation-price .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.rhm-single-product .woocommerce-variation-availability {
    margin-bottom: 8px;
    font-size: 13px;
}

.rhm-single-product__accordions,
.rhm-single-product__reviews,
.rhm-single-product__related {
    margin-top: 28px;
}

.rhm-single-product__accordion-item {
    border-top: 1px solid rgba(229, 229, 229, 0.9);
}

.rhm-single-product__accordion-item:last-child {
    border-bottom: 1px solid rgba(229, 229, 229, 0.9);
}

.rhm-single-product__accordion-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    cursor: pointer;
}

.rhm-single-product__accordion-item summary::-webkit-details-marker {
    display: none;
}

.rhm-single-product__accordion-icon {
    width: 10px;
    height: 10px;
    border-right: 1.6px solid rgba(34, 34, 34, 0.64);
    border-bottom: 1.6px solid rgba(34, 34, 34, 0.64);
    transform: rotate(45deg);
    transition: transform 180ms ease;
}

.rhm-single-product__accordion-item[open] .rhm-single-product__accordion-icon {
    transform: rotate(-135deg);
}

.rhm-single-product__accordion-content {
    padding: 0 4px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(34, 34, 34, 0.74);
}

.rhm-single-product__accordion-content p + p {
    margin-top: 10px;
}

.rhm-single-product__meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.rhm-single-product__meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.rhm-single-product__meta-list strong {
    color: #1d1d1d;
    font-weight: 600;
    text-align: right;
}

.rhm-single-product__section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.rhm-single-product__section-head h2 {
    margin: 6px 0 0;
    font-size: 24px;
    line-height: 1;
    color: #171717;
}

.rhm-single-product__section-eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(34, 34, 34, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rhm-single-product__section-link {
    font-size: 13px;
    font-weight: 600;
    color: #d18f00;
    text-decoration: none;
}

.rhm-single-product__review-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.rhm-single-product__review-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
    gap: 12px;
    margin-top: 18px;
    align-items: stretch;
}

.rhm-single-product__review-filter {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(34, 34, 34, 0.12);
    border-radius: 16px;
    background: #ffffff;
}

.rhm-single-product__review-filter--search {
    padding-left: 44px;
}

.rhm-single-product__review-filter--sort {
    display: grid;
    gap: 4px;
    align-items: stretch;
    padding-top: 8px;
    padding-bottom: 8px;
}

.rhm-single-product__review-filter-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: rgba(34, 34, 34, 0.46);
    transform: translateY(-50%);
    pointer-events: none;
}

.rhm-single-product__review-filter-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.rhm-single-product__review-search,
.rhm-single-product__review-select {
    width: 100%;
    border: none;
    background: transparent;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
}

.rhm-single-product__review-search::placeholder {
    color: rgba(34, 34, 34, 0.42);
}

.rhm-single-product__review-filter-label {
    display: block;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.56);
}

.rhm-single-product__review-results,
.rhm-single-product__review-empty-state {
    margin: 12px 0 0;
    font-size: 13px;
    color: rgba(34, 34, 34, 0.62);
}

.rhm-single-product__review-empty-state {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid rgba(196, 146, 41, 0.12);
}

.rhm-single-product__review-overview {
    display: grid;
    gap: 14px;
    padding: 20px 16px 18px;
    border-radius: 28px;
    background: #fffdf8;
    border: 1px solid rgba(196, 146, 41, 0.12);
}

.rhm-single-product__review-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rhm-single-product__review-summary p {
    margin: 0;
    font-size: 13px;
    color: rgba(34, 34, 34, 0.66);
}

.rhm-single-product__review-empty {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    font-size: 13px;
    color: rgba(34, 34, 34, 0.56);
}

.rhm-single-product__reviews .star-rating {
    float: none;
}

.rhm-single-product__reviews.is-empty .rhm-single-product__section-head h2 {
    font-size: 22px;
}

.rhm-single-product__reviews.is-empty .rhm-single-product__review-overview {
    padding-top: 18px;
    padding-bottom: 16px;
}

.rhm-single-product__review-stars .star-rating {
    color: #f5a623;
}

.rhm-single-product__rating-breakdown {
    display: grid;
    gap: 8px;
}

.rhm-single-product__rating-bar {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.7);
}

.rhm-single-product__rating-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.16);
    overflow: hidden;
}

.rhm-single-product__rating-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffc01e 0%, #f5a623 100%);
}

.rhm-single-product__featured-review,
.rhm-single-product__review-card {
    margin-top: 16px;
    position: relative;
    padding: 18px 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(196, 146, 41, 0.12);
    box-shadow: 0 12px 24px rgba(88, 63, 12, 0.05);
}

.rhm-single-product__review-list .rhm-single-product__review-card {
    margin-top: 0;
}

.rhm-single-product__review-pin-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 11px 0 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff9ef 0%, #ffefc9 100%);
    border: 1px solid rgba(196, 146, 41, 0.22);
    box-shadow: 0 8px 18px rgba(196, 146, 41, 0.12);
    color: #9a6400;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rhm-single-product__review-pin-badge::before {
    content: "★";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fffdf7;
    color: #d69100;
    font-size: 10px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(214, 145, 0, 0.12);
}

.rhm-single-product__featured-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rhm-single-product__featured-review-head h3,
.rhm-single-product__featured-review-head p {
    margin: 0;
}

.rhm-single-product__featured-review-head h3 {
    font-size: 14px;
    color: #1e1e1e;
}

.rhm-single-product__featured-review-head p {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(34, 34, 34, 0.56);
}

.rhm-single-product__review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7ebcb;
    color: #c98a00;
    font-size: 14px;
    font-weight: 700;
}

.rhm-single-product__review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.rhm-single-product__featured-review-stars {
    margin-top: 12px;
}

.rhm-single-product__featured-review-stars .star-rating {
    color: #f5a623;
}

.rhm-single-product__featured-review-content {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-single-product__featured-review-gallery {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 78px);
    gap: 8px;
    justify-content: start;
    align-items: start;
}

.rhm-single-product__featured-review-image {
    display: block;
    width: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid rgba(29, 41, 57, 0.08);
}

.rhm-single-product__featured-review-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.rhm-single-product__review-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.rhm-single-product__review-load-more {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(209, 143, 0, 0.26);
    border-radius: 999px;
    background: #fff;
    color: #c98a00;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rhm-single-product__review-load-more:hover,
.rhm-single-product__review-load-more:focus-visible {
    background: #fff8e8;
    border-color: rgba(209, 143, 0, 0.42);
    color: #a86f00;
}

.rhm-single-product__review-load-more:active {
    transform: translateY(1px);
}

@media (max-width: 767px) {
    .rhm-single-product__review-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rhm-single-product__review-filter--search {
        grid-column: 1 / -1;
    }

    .rhm-single-product__review-filter {
        min-height: 42px;
        padding: 0 12px;
        border-radius: 14px;
    }

    .rhm-single-product__review-filter--search {
        padding-left: 40px;
    }

    .rhm-single-product__review-filter--sort {
        gap: 2px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .rhm-single-product__review-filter-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }

    .rhm-single-product__review-filter-icon svg {
        width: 16px;
        height: 16px;
    }

    .rhm-single-product__review-search,
    .rhm-single-product__review-select {
        font-size: 13px;
    }

    .rhm-single-product__review-filter-label {
        font-size: 11px;
        line-height: 1.2;
    }

    .rhm-single-product__review-pin-badge {
        top: 12px;
        right: 12px;
        min-height: 26px;
        padding: 0 10px 0 8px;
        font-size: 10px;
    }

    .rhm-single-product__review-pin-badge::before {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }
}

@media (min-width: 768px) {
    .rhm-single-product__featured-review-gallery {
        gap: 8px;
        grid-template-columns: repeat(auto-fit, 84px);
    }

    .rhm-single-product__featured-review-image {
        width: 84px;
    }
}

.rhm-single-product__related .rhm-single-product__related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    padding: 0;
    gap: 10px;
}

.single-product .rhm-single-product__related .rhm-single-product__related-list::before,
.single-product .rhm-single-product__related .rhm-single-product__related-list::after {
    content: none;
    display: none;
}

.rhm-single-product__related .rhm-single-product__related-list.is-single-item {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
}

.rhm-single-product__related .rhm-product-card {
    box-shadow: 0 10px 22px rgba(98, 72, 22, 0.06);
    width: 100%;
    min-width: 0;
}

.rhm-single-product__related .rhm-product-card__image-wrapper {
    aspect-ratio: var(--rhm-related-product-image-ratio, var(--rhm-product-card-image-ratio, 0.84));
    padding: 5px;
}

.rhm-single-product__related .rhm-product-card__image-wrapper::after {
    inset: 5px;
}

.rhm-single-product__related .rhm-product-card__image {
    object-fit: var(--rhm-related-product-image-fit, var(--rhm-product-card-image-fit, cover));
}

.rhm-single-product__related .rhm-product-card__body {
    padding: 9px 9px 10px;
    gap: 4px;
    min-width: 0;
}

.rhm-single-product__related .rhm-product-card__title {
    font-size: 13px;
    line-height: 1.35;
    min-height: 0;
}

.rhm-single-product__related .rhm-product-card__price {
    gap: 2px 5px;
}

.rhm-single-product__related .rhm-product-card__price--current {
    font-size: 16px;
}

.rhm-single-product__related .rhm-product-card__actions {
    gap: 6px;
    padding-top: 2px;
    margin-top: 0;
}

.rhm-single-product__related .rhm-product-card__actions .rhm-qv-trigger {
    display: none;
}

.rhm-single-product__related .rhm-product-card__actions .rhm-btn--add-to-cart,
.rhm-single-product__related .rhm-product-card__actions .rhm-btn--view-product,
.rhm-single-product__related .rhm-product-card__actions .rhm-btn--external,
.rhm-single-product__related .rhm-product-card__actions .rhm-btn--disabled {
    min-height: 36px;
    padding: 8px 11px;
}

.single-product .rhm-single-product__related .rhm-single-product__related-list > li.product {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    float: none;
    clear: none;
}

.single-product .rhm-single-product__related .rhm-single-product__related-list > li.product:nth-child(n) {
    float: none;
    clear: none;
}

.single-product .rhm-single-product__related .rhm-single-product__related-list.is-single-item > li.product {
    width: min(100%, 280px);
    max-width: min(100%, 280px);
}

/* ========== 消息提示 ========== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 12px 16px;
    border-radius: var(--hl-radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}
.woocommerce-message {
    background: #E8F5E9;
    color: var(--hl-color-success);
    border-top-color: var(--hl-color-success);
}
.woocommerce-info {
    background: #E3F2FD;
    color: #1565C0;
    border-top-color: #1565C0;
}
.woocommerce-error {
    background: #FFEBEE;
    color: #C62828;
    border-top-color: #C62828;
}

/* ========== 分页 ========== */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 16px 0;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--hl-radius-sm);
    font-size: 13px;
    border: 1px solid var(--hl-color-border);
    text-decoration: none;
    color: var(--hl-color-text);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--hl-color-primary);
    color: white;
    border-color: var(--hl-color-primary);
}

/* ========== 平板增强 ========== */
@media (min-width: 768px) {
    .woocommerce ul.products { gap: 20px; padding: 0 24px; }

    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-account .woocommerce,
    .woocommerce div.product { padding: 24px; }

    .woocommerce div.product .product_title { font-size: 26px; }

    .single-product .woocommerce-notices-wrapper,
    .single-product .rhm-single-product {
        padding-left: 24px;
        padding-right: 24px;
    }

    .rhm-single-product__hero {
        gap: 24px;
    }

    .rhm-single-product__gallery {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .rhm-single-product__thumb {
        width: 72px;
        height: 72px;
    }

    .rhm-single-product__main-media {
        min-height: 0;
        padding: 12px;
    }

    .rhm-single-product__main-frame {
        min-height: 0;
    }

    .rhm-single-product__main-image {
        min-height: 0;
    }

    .rhm-single-product__lightbox {
        padding: 28px;
    }


    .rhm-single-product__feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .rhm-single-product__feature-card {
        min-height: 108px;
        padding: 16px 16px 15px;
    }

    .rhm-single-product__review-overview {
        grid-template-columns: 200px minmax(0, 1fr);
        align-items: center;
    }

    /* 结账页双栏 */
    .woocommerce-checkout .col2-set {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    body.woocommerce-checkout .entry-content {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 40px;
    }

    body.woocommerce-cart .woocommerce {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 40px;
    }

    body.woocommerce-cart .rhm-cart-block__hero-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    body.woocommerce-cart .rhm-cart-block__hero-link {
        justify-self: end;
    }

    body.woocommerce-cart .rhm-cart-page__header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    body.woocommerce-cart .rhm-cart-page__continue {
        justify-self: end;
    }

    body.woocommerce-cart .rhm-cart-card {
        grid-template-columns: 120px minmax(0, 1fr);
        padding: 18px;
        gap: 18px;
    }

    body.woocommerce-cart .rhm-cart-card__media,
    body.woocommerce-cart .rhm-cart-card__image-link {
        width: 120px;
        height: 120px;
    }

    body.woocommerce-cart .rhm-cart-coupon__body {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    body.woocommerce-cart .rhm-cart-coupon__button {
        width: auto;
        min-width: 160px;
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
        grid-template-columns: 120px minmax(0, 1fr) auto;
        gap: 18px;
        padding: 18px;
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image a {
        width: 120px;
        aspect-ratio: var(--rhm-cart-ui-image-ratio, 1 / 1);
    }

}

/* ========== 桌面增强 ========== */
@media (min-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
        padding: 0 32px;
    }

    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-account .woocommerce,
    .woocommerce div.product { padding: 40px; }

    body.woocommerce-checkout .entry-content {
        max-width: 1560px;
        padding-left: 32px;
        padding-right: 32px;
        padding-bottom: 56px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout {
        grid-template-columns: minmax(0, 1.92fr) minmax(400px, 0.68fr);
        gap: 28px;
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.92fr) minmax(400px, 0.68fr);
        gap: 28px;
        align-items: start;
        margin: 0;
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: auto;
        min-width: 0;
        padding: 0;
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        min-width: 400px;
        margin-top: 0;
    }

    body.woocommerce-cart .woocommerce {
        padding: 40px 32px 56px;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.85fr);
        gap: 28px;
        align-items: start;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-sidebar {
        position: sticky;
        top: 32px;
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
        grid-template-columns: 132px minmax(0, 1fr) auto;
        gap: 20px;
        padding: 20px;
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__image a {
        width: 132px;
        aspect-ratio: var(--rhm-cart-ui-image-ratio, 1 / 1);
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-components-product-name {
        font-size: 22px;
    }

    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount {
        font-size: 30px;
    }

    body.woocommerce-cart .rhm-cart-page__layout {
        grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.85fr);
        gap: 28px;
        align-items: start;
    }

    body.woocommerce-cart .rhm-cart-page__summary {
        position: sticky;
        top: 32px;
    }

    body.woocommerce-cart .rhm-cart-card {
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    body.woocommerce-cart .rhm-cart-card__media,
    body.woocommerce-cart .rhm-cart-card__image-link {
        width: 132px;
        height: 132px;
    }

    body.woocommerce-cart .rhm-cart-card__name {
        font-size: 22px;
    }

    body.woocommerce-cart .rhm-cart-card__subtotal {
        font-size: 30px;
    }

    body.woocommerce-cart .rhm-cart-summary__card {
        padding: 24px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
        order: 1;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
        order: 2;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step {
        padding: 22px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step::before {
        top: 22px;
        left: 22px;
    }

    body.woocommerce-checkout .rhm-checkout__totals-shell {
        position: sticky;
        top: 108px;
        gap: 16px;
    }

    .single-product .woocommerce-notices-wrapper,
    .single-product .rhm-single-product {
        max-width: 1240px;
        margin: 0 auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    .rhm-single-product__hero {
        display: grid;
        grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
        gap: 40px;
        align-items: start;
    }

    .rhm-single-product__gallery {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 18px;
        position: sticky;
        top: 96px;
        align-items: start;
    }

    .rhm-single-product__thumb {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .rhm-single-product__main-media {
        min-height: 0;
        border-radius: 32px;
        padding: 18px;
    }

    .rhm-single-product__main-frame {
        min-height: 0;
    }

    .rhm-single-product__main-image {
        min-height: 0;
        border-radius: 28px;
    }

    .rhm-single-product__lightbox-dialog {
        width: min(84vw, 1180px);
        padding: 18px;
    }

    .rhm-single-product__title {
        font-size: 42px;
    }

    .rhm-single-product__price {
        font-size: 34px;
    }

    .rhm-single-product__excerpt {
        font-size: 15px;
    }

    .rhm-single-product__social-proof {
        margin-top: 14px;
        gap: 6px;
    }

    .rhm-single-product__social-proof-stat {
        min-height: 36px;
    }

    .rhm-single-product__feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .rhm-single-product__feature-card {
        min-height: 116px;
        padding: 18px 18px 17px;
    }

    .rhm-single-product__feature-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .rhm-single-product__feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .rhm-single-product__feature-card strong {
        font-size: 15px;
        line-height: 1.24;
    }

    .rhm-single-product__feature-card span:last-child {
        font-size: 12px;
        line-height: 1.45;
    }

    .rhm-single-product__purchase-card {
        padding: 22px;
        border-radius: 28px;
    }

    .rhm-single-product__accordions,
    .rhm-single-product__reviews,
    .rhm-single-product__related {
        margin-top: 40px;
    }

    .rhm-single-product__featured-review,
    .rhm-single-product__review-card {
        max-width: none;
        width: 100%;
    }

    .rhm-single-product__featured-review-gallery {
        gap: 10px;
        grid-template-columns: repeat(auto-fit, 92px);
        width: fit-content;
        max-width: 100%;
        justify-content: start;
        justify-items: start;
    }

    .rhm-single-product__featured-review-image {
        width: 92px;
    }

    .rhm-single-product__related .rhm-single-product__related-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .single-product .rhm-single-product__related .rhm-single-product__related-list > li.product {
        width: 100%;
        max-width: none;
    }

    /* 单品页左右分栏旧样式覆盖 */
    .woocommerce div.product .woocommerce-product-gallery,
    .woocommerce div.product .summary {
        width: auto;
        float: none;
        margin: 0;
    }

    /* 我的账户桌面端 */
    .woocommerce-account .rhm-account-shell--dashboard {
        grid-template-columns: minmax(0, 1.45fr) 340px;
        align-items: start;
    }
    .woocommerce-account .rhm-account-shell--subpage {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }
    .woocommerce-account .rhm-account-nav--subpage {
        padding: 18px;
        border: 1px solid rgba(196, 146, 41, 0.12);
        border-radius: 24px;
        background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
        box-shadow: 0 16px 36px rgba(79, 58, 14, 0.06);
    }
    .woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__list {
        display: grid;
        overflow: visible;
        gap: 10px;
        padding: 0;
    }
    .woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__link {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr) 16px;
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 18px;
        white-space: normal;
    }
    .woocommerce-account .rhm-account-nav--subpage .rhm-account-nav__chevron {
        display: inline-flex;
    }
    .woocommerce-account .rhm-account-hero {
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: center;
        padding: 24px;
    }
    .woocommerce-account .rhm-account-promo {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .woocommerce-account .rhm-account-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .woocommerce-account .rhm-account-orders-page__intro {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    .woocommerce-account .rhm-account-order-card--detail {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
        border-radius: 22px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__image {
        width: 100px;
        min-width: 100px;
        height: 100px;
        border-radius: 20px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__content {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 14px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__main {
        gap: 8px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__side {
        justify-items: end;
        align-content: stretch;
        text-align: right;
        min-width: 132px;
        min-height: 100px;
        gap: 12px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__number {
        font-size: 20px;
        font-weight: 700;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__date,
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__meta {
        font-size: 13px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__total {
        font-size: 26px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-badge {
        min-height: 28px;
        padding: 5px 10px;
        font-size: 12px;
    }
    .woocommerce-account .rhm-account-order-card--detail .rhm-account-order-card__view {
        font-size: 13px;
        font-weight: 600;
    }
    .woocommerce-account .rhm-account-form .form-row-wide {
        grid-column: 1 / -1;
    }
    .woocommerce-account .rhm-account-addresses__list,
    .woocommerce-account .rhm-account-payment-methods__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========== Shop 归档页 ========== */
body.post-type-archive-product .site-main.rhm-shop-page,
body.tax-product_cat .site-main.rhm-shop-page,
body.tax-product_tag .site-main.rhm-shop-page,
body.tax-pa_benefits .site-main.rhm-shop-page {
    padding-bottom: 138px;
    background:
        radial-gradient(circle at top left, rgba(247, 181, 56, 0.08) 0, rgba(247, 181, 56, 0) 38%),
        linear-gradient(180deg, #fffdf9 0%, #ffffff 28%, #fffdfa 100%);
}

.rhm-shop-hero {
    position: relative;
    overflow: hidden;
    padding: 8px 0 22px;
    background:
        radial-gradient(circle at 20% 50%, rgba(246, 184, 54, 0.08) 0, rgba(246, 184, 54, 0) 36%),
        linear-gradient(180deg, #fefbf5 0%, #fff8ea 100%);
}

.rhm-shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(224, 187, 102, 0.16) 1px, transparent 0),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
    background-size: 28px 28px, auto;
    opacity: 0.55;
    pointer-events: none;
}

.rhm-shop-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    align-items: start;
    justify-items: start;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 0;
}

.rhm-shop-hero__content {
    display: grid;
    gap: 12px;
    max-width: 560px;
    padding: 22px 20px 20px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 253, 248, 0.92) 100%);
    box-shadow: 0 16px 34px rgba(98, 72, 22, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rhm-shop-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(240, 161, 23, 0.2);
    border-radius: 999px;
    background: rgba(255, 245, 221, 0.92);
    color: #a56c0e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhm-shop-hero__title {
    margin: 0;
    font-size: clamp(40px, 9vw, 60px);
    line-height: 0.94;
    letter-spacing: -0.05em;
    color: #181512;
    text-wrap: balance;
}

.rhm-shop-hero__description {
    margin: 0;
    max-width: 470px;
    font-size: 16px;
    line-height: 1.72;
    color: rgba(34, 34, 34, 0.74);
}

.rhm-shop-hero__accent {
    display: inline-flex;
    width: 82px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5a623 0%, rgba(245, 166, 35, 0.12) 100%);
}

.rhm-shop-page__main {
    padding: 18px 0 0;
}

.rhm-shop-page__notices {
    margin-bottom: 12px;
}

.rhm-shop-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(34, 34, 34, 0.62);
}

.rhm-shop-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.rhm-shop-breadcrumb__sep {
    color: rgba(34, 34, 34, 0.34);
}

.rhm-shop-layout {
    display: grid;
    gap: 18px;
}

.rhm-shop-filters__backdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgba(23, 23, 23, 0.42);
}

.rhm-shop-filters {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 49;
    display: grid;
    gap: 22px;
    width: min(88vw, 340px);
    height: 100vh;
    padding: 18px 18px 32px;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 20px 0 40px rgba(17, 17, 17, 0.18);
    transform: translateX(-100%);
    transition: transform 180ms ease;
}

.rhm-shop-filters.is-open {
    transform: translateX(0);
}

.rhm-shop-filters-open {
    overflow: hidden;
}

.rhm-shop-filters-open .rhm-shop-filters__backdrop {
    display: block;
}

.rhm-shop-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rhm-shop-filters__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #171717;
}

.rhm-shop-filters__close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(196, 146, 41, 0.18);
    border-radius: 14px;
    background: #fffaf1;
    color: #8f6a22;
    font-size: 24px;
    line-height: 1;
}

.rhm-shop-filter {
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(196, 146, 41, 0.12);
}

.rhm-shop-filter:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.rhm-shop-filter__heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rhm-shop-filter__heading {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
}

.rhm-shop-filter__dash {
    display: inline-flex;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: rgba(34, 34, 34, 0.34);
}

.rhm-shop-filter__options {
    display: grid;
    gap: 10px;
}

.rhm-shop-filter__option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(34, 34, 34, 0.78);
    text-decoration: none;
    font-size: 15px;
}

.rhm-shop-filter__control {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1.4px solid rgba(34, 34, 34, 0.18);
    border-radius: 50%;
    background: #ffffff;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.rhm-shop-filter__options--checkbox .rhm-shop-filter__control {
    border-radius: 5px;
}

.rhm-shop-filter__option.is-active {
    color: #171717;
}

.rhm-shop-filter__option.is-active .rhm-shop-filter__control {
    border-color: #f0a117;
    background: #f0a117;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.rhm-shop-filter__count {
    color: rgba(34, 34, 34, 0.46);
}

.rhm-shop-price-filter {
    display: grid;
    gap: 16px;
}

.rhm-shop-price-filter__sliders {
    display: grid;
    gap: 12px;
}

.rhm-shop-price-filter input[type="range"] {
    width: 100%;
    height: 4px;
    margin: 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #f0a117, #f0a117) left center / 100% 4px no-repeat, rgba(34, 34, 34, 0.08);
    appearance: none;
    -webkit-appearance: none;
}

.rhm-shop-price-filter input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #f0a117;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(240, 161, 23, 0.28);
    appearance: none;
    -webkit-appearance: none;
}

.rhm-shop-price-filter input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #f0a117;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(240, 161, 23, 0.28);
}

.rhm-shop-price-filter__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: rgba(34, 34, 34, 0.72);
}

.rhm-shop-price-filter__submit {
    width: fit-content;
    min-width: 90px;
    min-height: 42px;
}

.rhm-shop-content {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.rhm-shop-toolbar {
    display: grid;
    gap: 14px;
}

.rhm-shop-toolbar__top,
.rhm-shop-toolbar__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rhm-shop-toolbar__summary,
.rhm-shop-toolbar__mobile-summary {
    font-size: 14px;
    color: rgba(34, 34, 34, 0.68);
}

.rhm-shop-toolbar__summary {
    display: none;
}

.rhm-shop-toolbar__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
}

.rhm-shop-toolbar__filter-toggle,
.rhm-shop-toolbar__ordering .woocommerce-ordering,
.rhm-shop-toolbar__view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1px solid rgba(196, 146, 41, 0.16);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(57, 44, 17, 0.04);
}

.rhm-shop-toolbar__filter-toggle {
    gap: 10px;
    padding: 0 16px;
    justify-content: flex-start;
    font-size: 15px;
    font-weight: 600;
    color: #171717;
}

.rhm-shop-toolbar__icon {
    width: 20px;
    height: 20px;
    color: #6b5a34;
}

.rhm-shop-toolbar__icon svg {
    width: 100%;
    height: 100%;
}

.rhm-shop-toolbar__ordering {
    min-width: 0;
}

.rhm-shop-toolbar__ordering .woocommerce-ordering {
    width: 100%;
    margin: 0;
    padding: 0 14px;
    justify-content: stretch;
}

.rhm-shop-toolbar__ordering .woocommerce-ordering::before {
    content: '';
    width: 18px;
    height: 18px;
    margin-right: 10px;
    flex: 0 0 18px;
    background:
        linear-gradient(currentColor, currentColor) center 4px / 12px 1.8px no-repeat,
        linear-gradient(currentColor, currentColor) center 9px / 12px 1.8px no-repeat,
        linear-gradient(currentColor, currentColor) center 14px / 12px 1.8px no-repeat;
    color: #6b5a34;
}

.rhm-shop-toolbar__ordering .orderby {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #171717;
}

.rhm-shop-toolbar__view-switch {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}

.rhm-shop-toolbar__view-button {
    width: 48px;
    min-height: 48px;
    color: rgba(34, 34, 34, 0.56);
}

.rhm-shop-toolbar__view-button.is-active {
    border-color: rgba(240, 161, 23, 0.26);
    background: #fff4d8;
    color: #f0a117;
}

.rhm-shop-toolbar__view-button svg {
    width: 20px;
    height: 20px;
}

.rhm-shop-products {
    min-width: 0;
}

.rhm-shop-products__grid,
.rhm-shop-products[data-view="list"] .rhm-shop-products__grid {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhm-shop-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rhm-shop-products[data-view="list"] .rhm-shop-products__grid {
    grid-template-columns: 1fr;
}

.rhm-shop-products .product {
    margin: 0;
    float: none;
    clear: none;
    width: 100%;
    max-width: none;
}

.rhm-shop-products .rhm-product-card--archive {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(84, 60, 14, 0.08);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(180deg, #fbf6ec 0%, #f8ecd7 100%);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 6px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__image {
    object-fit: var(--rhm-product-card-image-fit, cover);
    transform: none;
    transform-origin: center;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__body {
    width: 100%;
    min-width: 0;
    gap: 6px;
    padding: 14px 14px 16px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 146, 41, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(34, 34, 34, 0.54);
    backdrop-filter: blur(8px);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__wishlist svg {
    width: 18px;
    height: 18px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__title {
    min-height: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1f1f1f;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__excerpt {
    min-height: 2.8em;
    margin: -1px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(34, 34, 34, 0.56);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__rating {
    gap: 6px;
    min-height: 20px;
    margin-top: 2px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__stars .star-rating {
    width: 78px;
    height: 14px;
    margin: 0;
    color: #f3ad22;
    font-size: 14px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__review-count {
    font-size: 11px;
    color: rgba(34, 34, 34, 0.52);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price {
    gap: 4px 8px;
    margin-top: 2px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price--current {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #f0a117;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price del,
.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price--original {
    font-size: 12px;
    color: rgba(34, 34, 34, 0.42);
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price ins,
.rhm-shop-products .rhm-product-card--archive .rhm-product-card__price .amount {
    color: inherit;
    text-decoration: none;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__actions {
    gap: 0;
    padding-top: 6px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-btn--add-to-cart,
.rhm-shop-products .rhm-product-card--archive .rhm-btn--view-product,
.rhm-shop-products .rhm-product-card--archive .rhm-btn--external,
.rhm-shop-products .rhm-product-card--archive .rhm-btn--disabled {
    min-height: 38px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.22);
}

.rhm-shop-products .rhm-product-card--archive .rhm-btn--add-to-cart {
    background: linear-gradient(180deg, #ffbe2d 0%, #f5a623 100%);
}

.rhm-shop-products .rhm-product-card--archive .rhm-add-to-cart-form {
    width: 100%;
}

.rhm-shop-products .rhm-product-card--archive .rhm-btn--add-to-cart svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rhm-shop-products .rhm-product-card--archive .rhm-btn--view-product,
.rhm-shop-products .rhm-product-card--archive .rhm-btn--external,
.rhm-shop-products .rhm-product-card--archive .rhm-btn--disabled {
    background: transparent;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__badge {
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    font-size: 10px;
    text-transform: uppercase;
}

.rhm-shop-products .rhm-product-card--archive .rhm-badge--best-seller {
    background: #e8a51c;
}

.rhm-shop-products .rhm-product-card--archive .rhm-badge--new {
    background: #77be2f;
}

.rhm-shop-products .rhm-product-card--archive .rhm-badge--sale {
    background: #ea2f2f;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__rating {
    min-height: 18px;
}

.rhm-shop-products .rhm-product-card--archive .rhm-product-card__stars .star-rating::before {
    color: rgba(34, 34, 34, 0.14);
}

.rhm-shop-products[data-view="list"] .rhm-shop-products__grid .rhm-product-card--archive {
    display: grid;
    grid-template-columns: minmax(132px, 180px) minmax(0, 1fr);
    align-items: start;
}

.rhm-shop-products[data-view="list"] .rhm-shop-products__grid .rhm-product-card--archive .rhm-product-card__image-wrapper {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.rhm-shop-products[data-view="list"] .rhm-shop-products__grid .rhm-product-card--archive .rhm-product-card__body {
    align-self: stretch;
    padding: 18px;
}

.rhm-shop-products[data-view="list"] .rhm-shop-products__grid .rhm-product-card--archive .rhm-product-card__image {
    transform: none;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product,
body.tax-pa_benefits ul.products li.product {
    float: none;
    clear: none;
    width: 100%;
    margin: 0;
}

body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after,
body.tax-pa_benefits ul.products::before,
body.tax-pa_benefits ul.products::after {
    display: none;
    content: none;
}

.rhm-shop-empty-state {
    padding: 28px 18px;
    border: 1px solid rgba(196, 146, 41, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(84, 60, 14, 0.05);
}

body.post-type-archive-product .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_tag .woocommerce-pagination,
body.tax-pa_benefits .woocommerce-pagination {
    margin-top: 8px;
}

body.post-type-archive-product .woocommerce-pagination ul.page-numbers,
body.tax-product_cat .woocommerce-pagination ul.page-numbers,
body.tax-product_tag .woocommerce-pagination ul.page-numbers,
body.tax-pa_benefits .woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    border: none;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers li,
body.tax-product_cat .woocommerce-pagination .page-numbers li,
body.tax-product_tag .woocommerce-pagination .page-numbers li,
body.tax-pa_benefits .woocommerce-pagination .page-numbers li {
    border: none;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers a,
body.post-type-archive-product .woocommerce-pagination .page-numbers span,
body.tax-product_cat .woocommerce-pagination .page-numbers a,
body.tax-product_cat .woocommerce-pagination .page-numbers span,
body.tax-product_tag .woocommerce-pagination .page-numbers a,
body.tax-product_tag .woocommerce-pagination .page-numbers span,
body.tax-pa_benefits .woocommerce-pagination .page-numbers a,
body.tax-pa_benefits .woocommerce-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(196, 146, 41, 0.16);
    border-radius: 14px;
    background: #ffffff;
    color: #171717;
    font-weight: 600;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers .current,
body.tax-product_cat .woocommerce-pagination .page-numbers .current,
body.tax-product_tag .woocommerce-pagination .page-numbers .current,
body.tax-pa_benefits .woocommerce-pagination .page-numbers .current {
    border-color: rgba(240, 161, 23, 0.26);
    background: #fff4d8;
    color: #f0a117;
}

@media (min-width: 768px) {
    .rhm-shop-hero {
        padding-bottom: 28px;
    }

    .rhm-shop-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding-top: 24px;
    }

    .rhm-shop-hero__content {
        gap: 14px;
        padding: 28px 30px 26px;
        border-radius: 30px;
    }

    .rhm-shop-hero__eyebrow {
        min-height: 34px;
        padding: 0 14px;
        font-size: 11px;
    }

    .rhm-shop-hero__description {
        font-size: 17px;
    }

    .rhm-shop-hero__accent {
        width: 92px;
    }

    .rhm-shop-toolbar__summary {
        display: block;
    }

    .rhm-shop-toolbar__mobile-summary {
        display: none;
    }

    .rhm-shop-toolbar__actions {
        width: auto;
        grid-template-columns: auto minmax(220px, 280px);
        margin-left: auto;
    }

    .rhm-shop-toolbar__filter-toggle {
        min-width: 148px;
        display: none;
    }

    .rhm-shop-toolbar__bottom {
        justify-content: flex-end;
    }

    .rhm-shop-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1100px) {
    .rhm-shop-page__main .rhm-container,
    .rhm-shop-hero .rhm-container {
        max-width: 1560px;
    }

    .rhm-shop-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }

    .rhm-shop-filters__backdrop,
    .rhm-shop-filters__close {
        display: none;
    }

    .rhm-shop-filters {
        position: sticky;
        top: 28px;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        z-index: 1;
    }

    .rhm-shop-content {
        gap: 20px;
    }

    .rhm-shop-toolbar__top {
        flex-wrap: nowrap;
    }

    .rhm-shop-toolbar__view-switch {
        margin-left: 0;
    }

    .rhm-shop-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
