/* Brand themes: presentation only. No hidden order fields or changed amounts. */
.rb-commerce .rb-recipient-heading{flex:0 0 100%;grid-column:1 / -1;width:100%;margin:0 0 12px;font-size:16px;font-weight:600;line-height:1.5;color:var(--rb-text)}
.rb-commerce .woocommerce-account{color:var(--rb-text)}
.rb-commerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border:1px solid var(--rb-line);border-radius:16px;background:var(--rb-surface)}
.rb-commerce .woocommerce-MyAccount-navigation li{margin:0;padding:0}
.rb-commerce .woocommerce-MyAccount-navigation a{display:block;padding:12px 16px;border-radius:10px;color:var(--rb-text);text-decoration:none;font-size:16px;line-height:1.5}
.rb-commerce .woocommerce-MyAccount-navigation .is-active a{background:var(--rb-accent);color:var(--rb-button-text);font-weight:700}
.rb-commerce .woocommerce-MyAccount-navigation a:hover{text-decoration:underline}
.rb-commerce .woocommerce-MyAccount-content{min-width:0;overflow-wrap:anywhere}
.rb-commerce .woocommerce-MyAccount-content :is(p,address,td,th){font-size:16px;line-height:1.65}
.rb-commerce .woocommerce :is(table.shop_table,form.login,form.register,form.lost_reset_password,.woocommerce-Address address,.woocommerce-customer-details address){border:1px solid var(--rb-line);border-radius:16px;background:var(--rb-surface);color:var(--rb-text)}
.rb-commerce .woocommerce :is(form.login,form.register,form.lost_reset_password){padding:24px}
.rb-commerce .woocommerce table.shop_table :is(td,th){border-color:var(--rb-line);padding:14px 16px}
.rb-commerce .woocommerce :is(.woocommerce-orders-table,.woocommerce-table--order-details){width:100%;border-collapse:separate;border-spacing:0}
.rb-commerce .woocommerce :is(.woocommerce-MyAccount-content,.woocommerce-order) a:not(.button){color:var(--rb-accent)}
.rb-commerce .woocommerce :is(a.button,button.button,input.button){background:var(--rb-accent);color:var(--rb-button-text);border:0;border-radius:10px;padding:12px 20px;font-size:16px;line-height:1.5;font-weight:700;text-decoration:none}
.rb-commerce .woocommerce :is(input.input-text,textarea,select){box-sizing:border-box;max-width:100%;background:var(--rb-bg)!important;color:var(--rb-text)!important;border:1px solid var(--rb-line)!important;border-radius:8px;padding:12px;font:inherit}
.rb-commerce .woocommerce button.show-password-input{color:var(--rb-text)!important;background:transparent!important}
.rb-commerce .woocommerce :is(fieldset,.woocommerce-info,.woocommerce-message,.woocommerce-error){border-color:var(--rb-line);background:var(--rb-surface);color:var(--rb-text)}
.rb-commerce .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){border-top:3px solid var(--rb-accent);border-radius:10px}
.rb-commerce .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before{color:var(--rb-accent)}
.rb-commerce .woocommerce .wc-item-meta{margin:12px 0 0;padding:0;list-style:none}
.rb-commerce .woocommerce .wc-item-meta li{padding:6px 0;border-bottom:1px solid var(--rb-line);font-size:14px;line-height:1.6}
.rb-commerce .woocommerce .wc-item-meta li p{display:inline;margin:0;font-size:inherit;line-height:inherit}
.rb-commerce .woocommerce .wc-item-meta li:last-child{border-bottom:0}
.rb-commerce .woocommerce :is(.woocommerce-Address address,.woocommerce-customer-details address){box-sizing:border-box;padding:20px;font-style:normal}
@media(max-width:768px){.rb-commerce .woocommerce-MyAccount-navigation,.rb-commerce .woocommerce-MyAccount-content{float:none;width:100%}.rb-commerce .woocommerce-MyAccount-navigation{margin-bottom:24px}.rb-commerce .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px}.rb-commerce .woocommerce-MyAccount-navigation a{padding:9px 12px;font-size:14px}.rb-commerce .woocommerce table.shop_table :is(td,th){padding:10px;font-size:14px}.rb-commerce .woocommerce table.shop_table_responsive tr td{background:var(--rb-surface);color:var(--rb-text)}}
body.rb-commerce{--rb-bg:#fff;--rb-surface:#faf8f8;--rb-text:#050000;--rb-muted:#625757;--rb-line:#C4BABA;--rb-accent:#7E2828;--rb-button-text:#fff;--wp--preset--color--base:#fff;--wp--preset--color--contrast:#050000;background:var(--rb-bg);color:var(--rb-text);color-scheme:light}
[data-rb-theme="dark"] body.rb-commerce{--rb-bg:#111112;--rb-surface:#1c1c1f;--rb-text:#f5f2ec;--rb-muted:#c4baba;--rb-line:#454046;--rb-accent:#CDA034;--rb-button-text:#050000;--wp--preset--color--base:#111112;--wp--preset--color--contrast:#f5f2ec;color-scheme:dark}
.rb-commerce .wp-site-blocks{background:var(--rb-bg);color:var(--rb-text)}
.rb-commerce :is(header,footer){background:var(--rb-bg);color:var(--rb-text)}
.rb-themed-header{position:relative;padding-right:110px!important}
#rb-commerce-switch{display:flex;gap:2px;width:fit-content;margin:12px 24px 12px auto;padding:3px;border:1px solid var(--rb-line);border-radius:22px;background:var(--rb-bg)}
.rb-themed-header #rb-commerce-switch{position:absolute;right:24px;top:50%;transform:translateY(-50%);margin:0}
#rb-commerce-switch button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--rb-muted);cursor:pointer}
#rb-commerce-switch svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#rb-commerce-switch button[aria-pressed="true"]{background:rgba(196,186,186,.15);color:var(--rb-accent)}
.rb-commerce :focus-visible{outline:3px solid var(--rb-accent);outline-offset:3px}
.rb-commerce :is(.wc-block-cart,.wc-block-checkout){color:var(--rb-text);--wc-form-color-text:var(--rb-text);--wc-form-color-background:var(--rb-bg);--wc-form-border-color:var(--rb-line)}
.rb-commerce :is(.wc-block-components-sidebar,.wc-block-components-order-summary){background:var(--rb-surface);border-radius:16px}
.rb-commerce :is(.wc-block-components-order-summary,.wc-block-components-totals-wrapper,.wc-block-cart-items__row,.wc-block-components-address-card,.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control__option){border-color:var(--rb-line)!important}
.rb-commerce :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea,.wc-block-components-combobox .components-combobox-control__input){background:var(--rb-bg)!important;color:var(--rb-text)!important;border-color:var(--rb-line)!important}
.rb-commerce :is(.wc-block-components-text-input label,.wc-blocks-components-select__label,.wc-block-components-product-metadata,.wc-block-components-product-details){color:var(--rb-muted)!important}
.rb-commerce :is(.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-content,.wc-block-components-address-card,.wc-block-components-checkbox__input){background:var(--rb-bg);color:var(--rb-text)}
.rb-commerce :is(.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button){background:var(--rb-accent)!important;color:var(--rb-button-text)!important;border:0;border-radius:12px;padding:16px 22px;font-weight:700}
.rb-commerce :is(.wc-block-components-product-name,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value){color:var(--rb-accent)}
.rb-commerce .wc-block-components-product-metadata{font-size:13px;line-height:1.5}
.rb-commerce .wc-block-components-product-metadata .wc-block-components-product-details{display:grid!important;grid-template-columns:1fr;gap:0!important;margin:14px 0!important;padding:0!important;list-style:none}
.rb-commerce .wc-block-components-product-details > :is(li,span){display:block!important;padding:4px 0!important;margin:0!important;border-bottom:1px solid var(--rb-line);overflow-wrap:anywhere}
.rb-commerce .wc-block-components-product-details > span > span[aria-hidden="true"]{display:none}
.rb-commerce .wc-block-components-product-details li::after{content:none!important}
.rb-commerce .wc-block-components-product-details__name{font-weight:600;color:var(--rb-text)}
.rb-commerce .wc-block-components-product-details__value{font-weight:400}
.rb-commerce .wc-block-cart .wc-block-components-product-details{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:20px!important}
.rb-commerce .wc-block-components-product-metadata__description{font-size:13px;color:var(--rb-muted)}
@media(max-width:700px){.rb-themed-header{padding-right:96px!important}.rb-themed-header #rb-commerce-switch{right:12px}#rb-commerce-switch button{width:36px;height:36px}.rb-commerce .wc-block-cart .wc-block-components-product-details{grid-template-columns:1fr!important}}

/* Rare Beer visual continuity for checkout and order confirmation */
body.rb-commerce.woocommerce-checkout,
body.rb-commerce.woocommerce-order-received {
    --rb-paper: url("home-assets/story-paper-bg.png");
    position: relative;
    min-height: 100vh;
    background-color: #f8f0e7;
    background-image: var(--rb-paper);
    background-position: center top;
    background-size: 720px auto;
    background-repeat: repeat;
    background-attachment: fixed;
}
html[data-rb-theme="dark"] body.rb-commerce.woocommerce-checkout,
html[data-rb-theme="dark"] body.rb-commerce.woocommerce-order-received {
    background-color: #171313;
    background-image: linear-gradient(180deg, rgba(23,19,19,.30), rgba(23,19,19,.30)), url("home-assets/cover-dark-texture.png");
    background-position: center top, center top;
    background-size: auto, auto 100vh;
    background-repeat: no-repeat, repeat-x;
    color-scheme: dark;
}
body.rb-commerce.woocommerce-checkout .wp-site-blocks,
body.rb-commerce.woocommerce-order-received .wp-site-blocks {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent !important;
}
body.rb-commerce.woocommerce-checkout header.rb-shared-header,
body.rb-commerce.woocommerce-order-received header.rb-shared-header,
body.rb-commerce.woocommerce-checkout footer,
body.rb-commerce.woocommerce-order-received footer {
    background: transparent !important;
}
body.rb-commerce.woocommerce-checkout :is(main, .wp-block-post-content),
body.rb-commerce.woocommerce-order-received :is(main, .wp-block-post-content) {
    background: transparent;
}
.rb-commerce-art {
    position: fixed;
    z-index: 0;
    right: clamp(10px, 2vw, 34px);
    bottom: 3vh;
    display: grid;
    place-items: end center;
    width: clamp(132px, 17vw, 250px);
    height: min(36vh, 330px);
    pointer-events: none;
    opacity: .16;
}
.rb-commerce-art span {
    position: absolute;
    right: 0;
    bottom: -4%;
    z-index: -1;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--rb-accent);
    opacity: .65;
}
.rb-commerce-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: saturate(.86);
}
html[data-rb-theme="dark"] .rb-commerce-art { opacity: .13; }
.rb-commerce .wc-block-checkout__main,
.rb-commerce .wc-block-checkout__sidebar {
    box-sizing: border-box;
    padding: clamp(18px, 2.2vw, 32px);
    border: 1px solid var(--rb-line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--rb-surface) 94%, transparent);
    box-shadow: 0 14px 38px rgba(42, 25, 18, .06);
}
html[data-rb-theme="dark"] .rb-commerce :is(.wc-block-checkout__main, .wc-block-checkout__sidebar) {
    background: rgba(28, 28, 31, .92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}
.rb-commerce.woocommerce-checkout .wp-block-post-title,
.rb-commerce.woocommerce-order-received .wp-block-post-title,
.rb-commerce .woocommerce-order > :is(h2, h3),
.rb-commerce .wc-block-checkout__main :is(h2, h3),
.rb-commerce .wc-block-checkout__sidebar :is(h2, h3) {
    font-family: "Bebas Neue", Oswald, "Arial Narrow", sans-serif;
    letter-spacing: .025em;
}
.rb-commerce .woocommerce-order {
    position: relative;
    box-sizing: border-box;
    max-width: 1160px;
    margin: 0 auto;
    color: var(--rb-text);
}
.rb-commerce .woocommerce-order > p:first-child,
.rb-commerce .woocommerce-order-overview,
.rb-commerce .woocommerce-order-details,
.rb-commerce .woocommerce-customer-details {
    position: relative;
    z-index: 1;
}
.rb-commerce .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--rb-line);
    border-radius: 18px;
    background: var(--rb-surface);
}
.rb-commerce .woocommerce-order-overview li {
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-left: 2px solid var(--rb-accent);
    color: var(--rb-text);
    line-height: 1.5;
    text-transform: none;
}
.rb-commerce .rb-yape-panel {
    position: relative;
    z-index: 1;
    border: 1px solid var(--rb-line) !important;
    border-top: 4px solid var(--rb-accent) !important;
    border-radius: 20px !important;
    background: var(--rb-surface) !important;
    color: var(--rb-text);
    box-shadow: 0 16px 38px rgba(42, 25, 18, .08);
}
.rb-commerce .rb-yape-panel h2 {
    font-family: "Bebas Neue", Oswald, "Arial Narrow", sans-serif;
    letter-spacing: .025em;
}
.rb-commerce .rb-yape-panel a:not(.button) {
    color: var(--rb-accent);
    font-weight: 700;
}
.rb-commerce .woocommerce-order-details,
.rb-commerce .woocommerce-customer-details {
    margin-top: 28px;
}
.rb-commerce .woocommerce-order-details table,
.rb-commerce .woocommerce-customer-details address {
    background: var(--rb-surface);
}
@media (max-width: 780px) {
    .rb-commerce-art { display: none; }
    .rb-commerce .wc-block-checkout__main,
    .rb-commerce .wc-block-checkout__sidebar { padding: 18px; border-radius: 15px; }
    .rb-commerce .woocommerce-order-overview { grid-template-columns: 1fr 1fr; padding: 14px; }
    body.rb-commerce.woocommerce-checkout,
    body.rb-commerce.woocommerce-order-received {
        background-size: 560px auto;
        background-attachment: scroll;
    }
    html[data-rb-theme="dark"] body.rb-commerce.woocommerce-checkout,
    html[data-rb-theme="dark"] body.rb-commerce.woocommerce-order-received {
        background-size: auto, auto 100vh;
        background-repeat: repeat, repeat-x;
    }
}
@media (max-width: 480px) {
    .rb-commerce .woocommerce-order-overview { grid-template-columns: 1fr; }
}
/* Compact, scannable Yape confirmation with a high-contrast QR card. */
.rb-commerce.woocommerce-order-received .woocommerce-order-details .wc-item-meta { display:none; }
.rb-commerce .rb-yape-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,280px); align-items:center; gap:22px 32px; width:min(100%,960px); margin:24px auto!important; padding:clamp(20px,3vw,34px)!important; }
.rb-commerce .rb-yape-copy { min-width:0; }
.rb-commerce .rb-yape-kicker { margin:0 0 8px; color:var(--rb-accent); font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.rb-commerce .rb-yape-panel h2 { margin:0 0 8px; font-size:clamp(28px,3vw,38px); line-height:1; }
.rb-commerce .rb-yape-amount { margin:0 0 8px; color:var(--rb-accent); font-size:clamp(28px,3.4vw,42px); font-weight:800; line-height:1.1; }
.rb-commerce .rb-yape-balance,.rb-commerce .rb-yape-holder { margin:8px 0; color:var(--rb-muted); }
.rb-commerce .rb-yape-note { margin:16px 0 0; padding-top:12px; border-top:1px solid var(--rb-line); color:var(--rb-muted); font-size:13px; line-height:1.5; }
.rb-commerce .rb-yape-qr-card { display:grid; justify-items:center; gap:10px; padding:18px; border:1px solid #e4d8d1; border-radius:18px; background:#fff; color:#211815; box-shadow:0 10px 28px rgba(42,25,18,.12); text-align:center; font-size:13px; font-weight:700; }
.rb-commerce .rb-yape-qr-card img { display:block; width:min(100%,220px); height:auto; aspect-ratio:1; object-fit:contain; border-radius:8px; }
.rb-commerce .rb-yape-whatsapp { display:inline-flex; align-items:center; gap:10px; margin-top:12px; padding:12px 18px; border-radius:999px; background:#087b52; color:#fff!important; text-decoration:none; font-size:13px; font-weight:700; }
@media(max-width:700px) { .rb-commerce .rb-yape-panel { grid-template-columns:1fr; } .rb-commerce .rb-yape-qr-card { grid-row:1; } }