/*
 * RCG Manager site-global presentation helpers.
 *
 * These rules are intentionally limited to reusable RCG/Astra/WooCommerce
 * patterns that are safe to keep with the manager plugin. The heavier
 * .rcg-refresh page system stays in rcg-refresh-global.css.
 */
.body-wrapper {
    padding:60px 25px 80px;
}

.header-title-wrapper {
    min-height:clamp(500px,30vw,900px);
    border-radius:0 0 14px 14px;
    opacity:.98;
    position:relative;
}

.hero-title {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    box-shadow:0 0 10px 8px rgba(0,0,0,.35);
    opacity:.98;
    background:var(--rcg-red,#c74235);
    background-clip:padding-box;
    border-radius:0 0 14px 14px;
    padding:10px 0!important;
}

.hero-title :is(h2) {
    font-size:clamp(1.2rem,4vw,2.25rem);
    font-weight:800!important;
    letter-spacing:.1rem;
    text-transform:uppercase;
    text-align:center;
    color:#fff!important;
}

.body-header :is(h2,h4) {
    color:var(--rcg-red,#c74235)!important;
}

.body-subheader :is(h3) {
    color:#616161!important;
}

.body-header h2 {
    font-size:2.25rem;
}

.body-header h4 {
    font-size:1.6rem;
}

.body-img img,
.body-desc-image img {
    border-radius:8px;
}

.body-desc {
    margin:20px 0;
}

.body-desc-image img {
    width:1140px;
    max-width:50%;
    border-radius:3px;
}

.body-desc-image.full-image img {
    max-width:100%;
}

.body-text p {
    font-family:Roboto, Arial, sans-serif;
    font-size:1rem;
    color:#7a7a7a;
    line-height:1.75rem;
}

.body-classic-button > a {
    background-color:#54595f!important;
    transition:all .35s ease;
    text-transform:capitalize;
}

.body-classic-button > a:hover {
    background-color:#54595fcc!important;
    transform:translateY(-2px);
}

.body-classic-button.light-bg > a {
    background-color:#e9e9e9e6!important;
    border-radius:10px;
    color:var(--rcg-red,#c74235)!important;
}

.body-classic-button.light-bg > a:hover {
    background-color:#e9e9e9!important;
    color:rgba(199,66,53,.52)!important;
}

.form-wrapper {
    border:2px solid #ccc;
    border-radius:8px;
    box-shadow:0 0 10px 10px rgba(0,0,0,.1) inset,0 0 12px 2px rgba(0,0,0,.2)!important;
}

.box-card {
    box-shadow:0 0 20px 8px rgba(200,200,200,.8) inset,0 0 3px 3px rgba(0,0,0,.08);
}

.box-card,
.box-card img {
    border-radius:12px;
}

.box-card img {
    box-shadow:1px 1px 8px 2px rgba(0,0,0,.2);
}

.ccm-cat-grid {
    display:grid;
    grid-template-columns:repeat(var(--ccm-cols), minmax(0,1fr));
    gap:16px;
}

.ccm-cat-item {
    margin:0;
}

.ccm-cat-inner {
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    min-height:54px;
    padding:0;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:#fff;
    text-decoration:none!important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.ccm-cat-title {
    margin:0!important;
    font-size:16px;
    width:100%;
    line-height:1.2;
}

.ccm-cat-inner:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.10);
    border-color:rgba(0,0,0,.22);
}

.woocommerce-message,
.woocommerce-info {
    border-top-color:var(--rcg-red,#c74235);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-message a.restore-item {
    color:var(--rcg-red,#c74235);
}

.woocommerce-message a.restore-item:hover {
    color:var(--rcg-red-hover,#b3362a);
}

.sale-carousel .sale-product__atc-btn a.button,
.rcg-original-filter-group:is(.rcg-original-status-filter,.rcg-original-letter-filter) a {
    text-decoration:none;
}

.astra-shop-summary-wrap a.button.product_type_simple.ncm-cfp-see-artwork,
.single_add_to_cart_button.button.alt,
.single_add_to_cart_button.button.alt:is(:active,:visited),
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:is(:active,:visited) {
    background-color:var(--rcg-red,#c74235);
}

.astra-shop-summary-wrap a.button.product_type_simple.ncm-cfp-see-artwork:hover,
.single_add_to_cart_button.button.alt:is(:hover,:focus),
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:is(:hover,:focus) {
    background-color:var(--rcg-red-hover,#b3362a);
}

.single-product-category a,
.single-product-category a:is(:active,:visited),
.product_meta a,
.product_meta a:is(:active,:visited) {
    color:var(--rcg-red,#c74235);
}

.single-product-category a:is(:hover,:focus),
.product_meta a:is(:hover,:focus) {
    color:var(--rcg-red-hover,#b3362a);
}

@media(max-width:1024px) {
    .header-title-wrapper {
        min-height:clamp(280px,60vw,500px);
    }
    .hero-title {
        box-shadow:0 0 8px 6px rgba(0,0,0,.35);
    }
    .body-wrapper {
        padding:50px 30px;
    }
    .ccm-cat-grid {
        grid-template-columns:repeat(var(--ccm-cols-tablet), minmax(0,1fr));
    }
}

@media(max-width:767px) {
    .hero-title {
        box-shadow:0 0 6px 4px rgba(0,0,0,.35);
    }
    .body-wrapper {
        padding:35px 15px;
    }
    .body-header h2 {
        font-size:1.75rem!important;
    }
    .ccm-cat-grid {
        grid-template-columns:repeat(var(--ccm-cols-mobile), minmax(0,1fr));
    }
    .ccm-cat-inner {
        min-height:92px;
    }
}

/* RCG virtual Gallery sublinks: render as direct, slightly indented rows under Gallery. */
.main-header-menu .menu-item.rcgsm-gallery-subnav-item > a,
.ast-builder-menu .menu-item.rcgsm-gallery-subnav-item > a,
.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item > a,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item > a {
    padding-left:calc(1em + 18px)!important;
    font-size:.92em;
    letter-spacing:.02em;
    color:var(--rcg-ink,#233044);
}

.main-header-menu .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-builder-menu .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item > a::before {
    content:"";
    display:inline-block;
    width:6px;
    height:6px;
    margin-right:10px;
    border-radius:999px;
    background:var(--rcg-red,#c74235);
    vertical-align:middle;
    opacity:.8;
}

.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item {
    border-top:0;
}

/* v0.3.23: link-only hidden collection cards and Nudes archive polish. */
.rcg-nudes-collection-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 30px 0 0;
  padding: clamp(22px, 3vw, 34px);
  background: #fff7f5;
  border: 1px solid rgba(199, 66, 53, 0.18);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(36, 50, 74, 0.055);
}

.rcg-nudes-collection-card h2 {
  margin: 0;
  color: var(--rcg-red, #c74235);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
}

.rcg-nudes-collection-card p:not(.rcg-eyebrow) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--rcg-text, #4b5563);
  line-height: 1.72;
}

.rcg-nudes-collection-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.rcg-nudes-collection-card__count {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--rcg-ink, #233044);
  border: 1px solid rgba(36, 50, 74, 0.12);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .rcg-nudes-collection-card {
    grid-template-columns: 1fr;
  }

  .rcg-nudes-collection-card__actions {
    justify-content: flex-start;
  }
}

/* v0.3.39: Nudes & Foods artist-story section. */
.rcg-nudes-foods-section .rcg-nudes-foods {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.rcg-nudes-foods__collection {
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid rgba(199, 66, 53, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(36, 50, 74, 0.07);
}

.rcg-nudes-foods__preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.rcg-nudes-foods-card {
  overflow: hidden;
  border: 1px solid rgba(36, 50, 74, 0.10);
  border-radius: 18px;
  background: #fffaf8;
}

.rcg-nudes-foods-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: #f6ece8;
}

.rcg-nudes-foods-card__image,
.rcg-nudes-foods-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rcg-nudes-foods-card__title {
  margin: 0;
  padding: 12px 13px 14px;
  color: var(--rcg-ink, #233044);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
}

.rcg-nudes-foods-card__title a {
  color: inherit;
  text-decoration: none;
}

.rcg-nudes-foods-card__title a:hover,
.rcg-nudes-foods-card__title a:focus {
  color: var(--rcg-red, #c74235);
}

.rcg-nudes-foods__empty {
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 18px;
  background: #fff7f5;
  color: var(--rcg-text, #4b5563);
}

.rcg-nudes-foods__empty p {
  margin: 0;
}

.rcg-nudes-foods__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .rcg-nudes-foods-section .rcg-nudes-foods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rcg-nudes-foods__preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rcg-nudes-foods__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .rcg-nudes-foods__preview-grid {
    grid-template-columns: 1fr;
  }
}

/* WooCommerce system pages: Cart, Checkout, and My Account refresh shell. */
body.rcgsm-woo-refresh-page {
    overflow-x:hidden;
    background:#fff;
}

body.rcgsm-woo-refresh-page .entry-title,
body.rcgsm-woo-refresh-page .page-title,
body.rcgsm-woo-refresh-page .ast-single-post .entry-title,
body.rcgsm-woo-refresh-page .ast-single-post-order,
body.rcgsm-woo-refresh-page header.entry-header {
    display:none!important;
}

body.rcgsm-woo-refresh-page.ast-separate-container .ast-article-single,
body.rcgsm-woo-refresh-page.ast-separate-container .ast-article-post,
body.rcgsm-woo-refresh-page.ast-page-builder-template .site-content,
body.rcgsm-woo-refresh-page .site-content,
body.rcgsm-woo-refresh-page .entry-content {
    background:#fff;
}

body.rcgsm-woo-refresh-page .entry-content > .rcg-woo-page {
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
}

.rcg-refresh.rcg-woo-page {
    background:#fff;
}

.rcg-refresh .rcg-woo-hero {
    min-height:clamp(230px,25vw,340px);
    background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 58%,rgba(251,244,239,.82) 100%), radial-gradient(circle at 88% 12%,rgba(199,66,53,.10),transparent 34%), linear-gradient(135deg,#fff 0%,#f5f5f5 100%);
}

.rcg-refresh .rcg-woo-helper-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.rcg-refresh .rcg-card-kicker {
    display:inline-flex;
    margin:0 0 12px;
    color:var(--rcg-red,#c74235);
    font-weight:800;
    font-size:.72rem;
    line-height:1;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.rcg-refresh .rcg-woo-stage .rcg-container {
    max-width:1180px;
}

.rcg-refresh .rcg-woo-content {
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:22px;
    padding:clamp(18px,3vw,34px);
    box-shadow:var(--rcg-soft-shadow,0 8px 20px rgba(35,48,68,.045));
}

.rcg-refresh .rcg-woo-content .woocommerce,
.rcg-refresh .rcg-woo-content .woocommerce-page,
.rcg-refresh .rcg-woo-content .wc-block-cart,
.rcg-refresh .rcg-woo-content .wc-block-checkout,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content {
    color:var(--rcg-text,#4b5563);
    font-family:Roboto, Arial, sans-serif;
}

.rcg-refresh .rcg-woo-content h2,
.rcg-refresh .rcg-woo-content h3,
.rcg-refresh .rcg-woo-content .cart_totals h2,
.rcg-refresh .rcg-woo-content #order_review_heading,
.rcg-refresh .rcg-woo-content .woocommerce-billing-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-shipping-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-additional-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-Address-title h3 {
    color:var(--rcg-ink,#233044);
    font-family:"Libre Baskerville", Georgia, serif;
    line-height:1.18;
}

.rcg-refresh .rcg-woo-content a {
    color:var(--rcg-red,#c74235);
    text-underline-offset:3px;
}

.rcg-refresh .rcg-woo-content a:hover,
.rcg-refresh .rcg-woo-content a:focus {
    color:var(--rcg-red-hover,#b3362a);
}

.rcg-refresh .rcg-woo-content .woocommerce-message,
.rcg-refresh .rcg-woo-content .woocommerce-info,
.rcg-refresh .rcg-woo-content .woocommerce-error,
.rcg-refresh .rcg-woo-content .woocommerce-noreviews,
.rcg-refresh .rcg-woo-content p.no-comments {
    border-top:0;
    border-left:4px solid var(--rcg-red,#c74235);
    border-radius:16px;
    background:#fff7f5;
    color:var(--rcg-ink,#233044);
    box-shadow:none;
    padding:1rem 1.25rem 1rem 3rem;
}

.rcg-refresh .rcg-woo-content .woocommerce-message::before,
.rcg-refresh .rcg-woo-content .woocommerce-info::before,
.rcg-refresh .rcg-woo-content .woocommerce-error::before {
    color:var(--rcg-red,#c74235);
    top:1.05rem;
}

.rcg-refresh .rcg-woo-content table.shop_table,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table,
.rcg-refresh .rcg-woo-content .shop_table,
.rcg-refresh .rcg-woo-content .wc-block-cart-items,
.rcg-refresh .rcg-woo-content .wc-block-components-totals-wrapper,
.rcg-refresh .rcg-woo-content .wc-block-components-sidebar-layout .wc-block-components-main,
.rcg-refresh .rcg-woo-content .wc-block-components-sidebar {
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 20px rgba(35,48,68,.035);
    overflow:hidden;
}

.rcg-refresh .rcg-woo-content table.shop_table th,
.rcg-refresh .rcg-woo-content table.shop_table td,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table th,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table td {
    border-color:var(--rcg-line,rgba(35,48,68,.12));
    color:var(--rcg-text,#4b5563);
    padding:16px;
}

.rcg-refresh .rcg-woo-content table.shop_table th,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table th {
    background:var(--rcg-soft,#f4f4f4);
    color:var(--rcg-ink,#233044);
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    font-size:.78rem;
}

.rcg-refresh .rcg-woo-content table.shop_table td.product-name,
.rcg-refresh .rcg-woo-content table.shop_table td.product-name a,
.rcg-refresh .rcg-woo-content table.shop_table td.product-price,
.rcg-refresh .rcg-woo-content table.shop_table td.product-subtotal,
.rcg-refresh .rcg-woo-content .woocommerce-Price-amount {
    color:var(--rcg-ink,#233044);
    font-weight:700;
}

.rcg-refresh .rcg-woo-content .product-thumbnail img,
.rcg-refresh .rcg-woo-content .woocommerce-cart-form__cart-item img,
.rcg-refresh .rcg-woo-content .wc-block-cart-items__row img {
    border-radius:12px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    background:#fff;
}

.rcg-refresh .rcg-woo-content .cart_totals,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order,
.rcg-refresh .rcg-woo-content #order_review,
.rcg-refresh .rcg-woo-content .woocommerce-order,
.rcg-refresh .rcg-woo-content .woocommerce-customer-details,
.rcg-refresh .rcg-woo-content .woocommerce-order-details,
.rcg-refresh .rcg-woo-content .woocommerce-Addresses .woocommerce-Address,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content,
.rcg-refresh .rcg-woo-content form.checkout_coupon,
.rcg-refresh .rcg-woo-content form.login,
.rcg-refresh .rcg-woo-content form.register,
.rcg-refresh .rcg-woo-content form.woocommerce-form-login,
.rcg-refresh .rcg-woo-content form.woocommerce-ResetPassword,
.rcg-refresh .rcg-woo-content form.edit-account,
.rcg-refresh .rcg-woo-content form.woocommerce-address-fields {
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    padding:clamp(18px,2.6vw,28px);
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .cart_totals {
    width:100%;
}

.rcg-refresh .rcg-woo-content .cart-collaterals {
    margin-top:28px;
}

.rcg-refresh .rcg-woo-content .woocommerce-cart-form,
.rcg-refresh .rcg-woo-content .woocommerce-checkout,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content {
    margin-top:0;
}

.rcg-refresh .rcg-woo-content .woocommerce form .form-row label,
.rcg-refresh .rcg-woo-content .woocommerce-form-row label,
.rcg-refresh .rcg-woo-content .form-row label,
.rcg-refresh .rcg-woo-content .wc-block-components-text-input label,
.rcg-refresh .rcg-woo-content .wc-block-components-checkbox label {
    color:var(--rcg-ink,#233044);
    font-weight:800;
}

.rcg-refresh .rcg-woo-content .woocommerce form .form-row input.input-text,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row textarea,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row select,
.rcg-refresh .rcg-woo-content input[type="text"],
.rcg-refresh .rcg-woo-content input[type="email"],
.rcg-refresh .rcg-woo-content input[type="tel"],
.rcg-refresh .rcg-woo-content input[type="password"],
.rcg-refresh .rcg-woo-content input[type="number"],
.rcg-refresh .rcg-woo-content textarea,
.rcg-refresh .rcg-woo-content select,
.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single,
.rcg-refresh .rcg-woo-content .wc-block-components-text-input input,
.rcg-refresh .rcg-woo-content .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="text"],
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="email"],
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="tel"] {
    min-height:46px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:12px;
    background:#fff;
    color:var(--rcg-ink,#233044);
    box-shadow:none;
    padding:10px 13px;
}

.rcg-refresh .rcg-woo-content textarea,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row textarea {
    min-height:120px;
}

.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:44px;
    color:var(--rcg-ink,#233044);
    padding-left:0;
}

.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height:44px;
}

.rcg-refresh .rcg-woo-content input:focus,
.rcg-refresh .rcg-woo-content textarea:focus,
.rcg-refresh .rcg-woo-content select:focus,
.rcg-refresh .rcg-woo-content .select2-container--default.select2-container--open .select2-selection--single,
.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single:focus {
    border-color:var(--rcg-red,#c74235);
    outline:0;
    box-shadow:0 0 0 3px rgba(199,66,53,.10);
}

.rcg-refresh .rcg-woo-content .button,
.rcg-refresh .rcg-woo-content button.button,
.rcg-refresh .rcg-woo-content input.button,
.rcg-refresh .rcg-woo-content #respond input#submit,
.rcg-refresh .rcg-woo-content a.button,
.rcg-refresh .rcg-woo-content .wc-block-components-button,
.rcg-refresh .rcg-woo-content .wc-block-cart__submit-button,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-place-order-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    border-radius:8px!important;
    border:1px solid var(--rcg-red,#c74235)!important;
    background:var(--rcg-red,#c74235)!important;
    color:#fff!important;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    text-decoration:none!important;
    padding:12px 20px!important;
    box-shadow:0 7px 14px rgba(199,66,53,.14);
    transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rcg-refresh .rcg-woo-content .button:hover,
.rcg-refresh .rcg-woo-content .button:focus,
.rcg-refresh .rcg-woo-content button.button:hover,
.rcg-refresh .rcg-woo-content button.button:focus,
.rcg-refresh .rcg-woo-content input.button:hover,
.rcg-refresh .rcg-woo-content input.button:focus,
.rcg-refresh .rcg-woo-content a.button:hover,
.rcg-refresh .rcg-woo-content a.button:focus,
.rcg-refresh .rcg-woo-content .wc-block-components-button:hover,
.rcg-refresh .rcg-woo-content .wc-block-components-button:focus {
    background:var(--rcg-red-hover,#b3362a)!important;
    border-color:var(--rcg-red-hover,#b3362a)!important;
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(179,54,42,.16);
}

.rcg-refresh .rcg-woo-content .button:disabled,
.rcg-refresh .rcg-woo-content .button:disabled[disabled],
.rcg-refresh .rcg-woo-content button.button:disabled,
.rcg-refresh .rcg-woo-content button.button:disabled[disabled] {
    opacity:.55;
    transform:none;
}

.rcg-refresh .rcg-woo-content .coupon {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.rcg-refresh .rcg-woo-content .coupon input.input-text {
    min-width:220px;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout .col2-set,
.rcg-refresh .rcg-woo-content .woocommerce-checkout .woocommerce-checkout-review-order,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table {
    margin-bottom:24px;
}

.rcg-refresh .rcg-woo-content #customer_details {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}

.rcg-refresh .rcg-woo-content #customer_details::before,
.rcg-refresh .rcg-woo-content #customer_details::after {
    display:none;
}

.rcg-refresh .rcg-woo-content #customer_details .col-1,
.rcg-refresh .rcg-woo-content #customer_details .col-2 {
    float:none;
    width:auto;
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    padding:clamp(18px,2.6vw,28px);
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation {
    float:none;
    width:100%;
    margin-bottom:24px;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation ul {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation li {
    margin:0;
    padding:0;
    list-style:none;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a {
    display:flex;
    align-items:center;
    min-height:48px;
    padding:12px 14px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:14px;
    background:#fff;
    color:var(--rcg-ink,#233044);
    font-weight:800;
    text-decoration:none!important;
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation li.is-active a,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a:hover,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a:focus {
    background:var(--rcg-red,#c74235);
    border-color:var(--rcg-red,#c74235);
    color:#fff!important;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content {
    float:none;
    width:100%;
}

.rcg-refresh .rcg-woo-content mark,
.rcg-refresh .rcg-woo-content .woocommerce-order-overview mark {
    border-radius:999px;
    background:#fff7f5;
    color:var(--rcg-red,#c74235);
    padding:2px 8px;
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:12px;
    margin:0 0 24px;
    padding:0;
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview li {
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:14px;
    padding:14px 16px;
    margin:0;
    background:#fff;
    color:var(--rcg-muted,#747b85);
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview li strong {
    color:var(--rcg-ink,#233044);
    margin-top:4px;
}

.rcg-refresh .rcg-woo-content .woocommerce-privacy-policy-text,
.rcg-refresh .rcg-woo-content .woocommerce-terms-and-conditions-wrapper,
.rcg-refresh .rcg-woo-content .woocommerce-form__label-for-checkbox {
    color:var(--rcg-muted,#747b85);
    line-height:1.65;
}

.rcg-refresh .rcg-woo-content .wc_payment_methods,
.rcg-refresh .rcg-woo-content #payment {
    border-radius:18px;
    background:var(--rcg-soft-2,#fafafa)!important;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
}

.rcg-refresh .rcg-woo-content #payment div.payment_box {
    border-radius:14px;
    background:#fff!important;
    color:var(--rcg-text,#4b5563);
}

.rcg-refresh .rcg-woo-content #payment div.payment_box::before {
    border-bottom-color:#fff!important;
}

.rcg-refresh .rcg-woo-content .wc-block-components-panel,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-step,
.rcg-refresh .rcg-woo-content .wc-block-components-order-summary,
.rcg-refresh .rcg-woo-content .wc-block-components-order-summary-item,
.rcg-refresh .rcg-woo-content .wc-block-components-totals-item {
    color:var(--rcg-text,#4b5563);
}

.rcg-refresh .rcg-woo-content .wc-block-components-title,
.rcg-refresh .rcg-woo-content .wc-block-cart__totals-title,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-step__title {
    color:var(--rcg-ink,#233044);
    font-family:"Libre Baskerville", Georgia, serif;
}

@media(max-width:1024px) {
    .rcg-refresh .rcg-woo-helper-grid,
    .rcg-refresh .rcg-woo-content #customer_details {
        grid-template-columns:1fr;
    }
}

@media(max-width:767px) {
    .rcg-refresh .rcg-woo-content {
        border-radius:16px;
        padding:16px;
    }
    .rcg-refresh .rcg-woo-content table.shop_table_responsive tr,
    .rcg-refresh .rcg-woo-content .woocommerce-page table.shop_table_responsive tr {
        border:1px solid var(--rcg-line,rgba(35,48,68,.12));
        border-radius:14px;
        margin-bottom:12px;
        overflow:hidden;
    }
    .rcg-refresh .rcg-woo-content table.shop_table_responsive tr td,
    .rcg-refresh .rcg-woo-content .woocommerce-page table.shop_table_responsive tr td {
        background:#fff;
        border-bottom:1px solid var(--rcg-line,rgba(35,48,68,.12));
    }
    .rcg-refresh .rcg-woo-content .coupon {
        display:grid;
        grid-template-columns:1fr;
    }
    .rcg-refresh .rcg-woo-content .coupon input.input-text,
    .rcg-refresh .rcg-woo-content .coupon .button,
    .rcg-refresh .rcg-woo-content .actions .button {
        width:100%!important;
    }
}


/* v0.3.49: Mobile sticky header account link and below-header icon alignment. */
#masthead .ast-header-account-link[data-rcgsm-account-link="1"],
.site-header .ast-header-account-link[data-rcgsm-account-link="1"] {
    cursor:pointer;
}

#masthead .ast-header-account-link[data-rcgsm-account-link="1"]:focus-visible,
.site-header .ast-header-account-link[data-rcgsm-account-link="1"]:focus-visible {
    outline:2px solid var(--rcg-red,#c74235);
    outline-offset:4px;
    border-radius:8px;
}

@media(max-width:921px){
    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-wrap,
    body.rcgsm-sticky-header-enabled #masthead .site-below-header-wrap {
        min-height:56px!important;
        background:rgba(255,255,255,.96);
        border-top:1px solid rgba(35,48,68,.08);
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar,
    body.rcgsm-sticky-header-enabled #masthead .site-below-header-wrap,
    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center {
        padding-top:0!important;
        padding-bottom:0!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar,
    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar .ast-builder-grid-row,
    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center {
        min-height:56px!important;
        align-items:center!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center {
        display:flex!important;
        justify-content:center!important;
        gap:24px;
    }

    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center > .ast-builder-layout-element,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-account,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-woo-cart,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-search {
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:56px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-wrap,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-inner-wrap,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link,
    body.rcgsm-sticky-header-enabled #masthead .cart-container,
    body.rcgsm-sticky-header-enabled #masthead .ast-addon-cart-wrap,
    body.rcgsm-sticky-header-enabled #masthead .ast-search-icon .astra-search-icon {
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:44px!important;
        height:44px!important;
        min-height:44px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-search-menu-icon,
    body.rcgsm-sticky-header-enabled #masthead .ast-search-icon {
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:44px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link svg,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-woo-cart svg,
    body.rcgsm-sticky-header-enabled #masthead .ast-search-icon svg {
        display:block!important;
        width:26px!important;
        height:26px!important;
        margin:0!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart,
    body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart .ast-icon,
    body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart .icon-cart,
    body.rcgsm-sticky-header-enabled #masthead .ast-search-icon .ast-icon,
    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link .ahfb-svg-iconset {
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled.rcgsm-sticky-header-compact-active #masthead .ast-below-header-wrap {
        max-height:56px!important;
        min-height:56px!important;
        overflow:visible!important;
    }
}
