/* Jewelry by Rosy — public storefront skin. Load after Striz and Elementor.
 * Observed: Striz product-block/product-transition/caption; .osf-sorting;
 * #primary, #secondary; classic .woocommerce-cart; Elementor 4527/4734;
 * .free-shipping-bar/.scrolling-text. Checkout and block rules use native
 * WooCommerce selectors. Provider markup, fields, visibility and scripts stay native.
 */
body:not(.wp-admin) {
  --rosy-ivory: #f7f2ea;
  --rosy-plum: #3d1b2e;
  --rosy-ink: #2d1e25;
  --rosy-gold: #80603a;
  --rosy-muted: #74686c;
  --rosy-line: #ded4ca;
  --rosy-paper: #fffdf9;
  --rosy-radius: 10px;
  background: var(--rosy-ivory);
  color: var(--rosy-ink);
  font-family: Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin-top: 38px !important;
  -webkit-font-smoothing: antialiased;
}
body:not(.wp-admin) #page,
body:not(.wp-admin) .site-content-contain { background: var(--rosy-ivory); }
body:not(.wp-admin) :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .widget-title):where(:not(.rosy-home *):not(.rosy-inner *)) {
  color: var(--rosy-plum);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.18;
  text-transform: none;
}
body:not(.wp-admin) a { color: var(--rosy-plum); text-underline-offset: 4px; }
body:not(.wp-admin) a:hover { color: var(--rosy-gold); }
body:not(.wp-admin) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--rosy-gold);
  outline-offset: 4px;
}
body:not(.wp-admin) :is(button, input, select, textarea) { font-family: inherit; }
body:not(.wp-admin) :is(.breadcrumb, .woocommerce-breadcrumb) {
  color: var(--rosy-muted);
  font-size: 12px;
  letter-spacing: .025em;
}
body:not(.wp-admin) .page-title-bar {
  background: var(--rosy-ivory) !important;
  border-bottom: 1px solid var(--rosy-line);
}
body:not(.wp-admin) :is(.page-title-bar h1, .woocommerce-products-header__title) {
  font-size: clamp(34px, 4vw, 58px);
}
body:not(.wp-admin):not(.home) .site-content { padding-top: 42px; padding-bottom: 72px; }
body:not(.wp-admin):not(.home) .site-content > .wrap { max-width: 1280px; padding-inline: 28px; }
body:not(.wp-admin) .free-shipping-bar {
  background: var(--rosy-plum) !important;
  color: #fff9f0 !important;
  font-family: Rubik, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 18px;
  letter-spacing: .1em;
  padding: 10px 0 !important;
  overflow: hidden;
  z-index: 10001;
}
body:not(.wp-admin) .free-shipping-bar .scrolling-text {
  animation: rosy-announcement 18s linear infinite !important;
  white-space: nowrap;
}
@keyframes rosy-announcement {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
/* Keep the existing Elementor header/footer usable if template replacement is off. */
body:not(.wp-admin) #masthead,
body:not(.wp-admin) .elementor-4527 .elementor-element.elementor-element-2a8159b {
  background: var(--rosy-paper) !important;
  border-color: var(--rosy-line) !important;
}
body:not(.wp-admin) .elementor-4527 .osf-sticky-active.sticky-show { top: 38px; }
body:not(.wp-admin).admin-bar .elementor-4527 .osf-sticky-active.sticky-show { top: 70px; }
body:not(.wp-admin) .elementor-4527 .elementor-nav-menu--main .elementor-item {
  color: var(--rosy-ink);
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
}
body:not(.wp-admin) .elementor-4527 .elementor-nav-menu--dropdown {
  background: var(--rosy-paper);
  border: 1px solid var(--rosy-line);
}
body:not(.wp-admin) .site-footer { border-top: 1px solid var(--rosy-line); }
body:not(.wp-admin) .elementor-4734 :is(.elementor-element-97d96b6, .elementor-element-69a7722) {
  background-color: var(--rosy-ivory) !important;
}
body:not(.wp-admin) .elementor-4734 :is(a, p, .elementor-heading-title) { color: var(--rosy-ink); }
/* Catalog layout: native category and price filters remain available. */
body.rosy-redesign:not(.wp-admin):is(.post-type-archive-product, .tax-product_cat) #content.site-content > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  column-gap: 40px;
  align-items: start;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
}
body.rosy-redesign:not(.wp-admin):is(.post-type-archive-product, .tax-product_cat) #content #primary {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  padding: 0;
}
body.rosy-redesign:not(.wp-admin):is(.post-type-archive-product, .tax-product_cat) #content #secondary {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  padding: 0;
  font-size: 13px;
}
body:not(.wp-admin) #secondary .widget {
  background: var(--rosy-paper);
  border: 1px solid var(--rosy-line);
  border-radius: var(--rosy-radius);
  margin-bottom: 20px;
  padding: 22px;
}
body:not(.wp-admin) #secondary .widget-title { font-size: 24px; margin-bottom: 18px; }
body:not(.wp-admin) #secondary .product-categories :is(a, .count) { font-size: 13px; }
body:not(.wp-admin) .osf-sorting {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--rosy-line);
}
body:not(.wp-admin) .osf-sorting-group { padding: 0; width: auto; flex: 0 1 auto; max-width: 100%; }
body:not(.wp-admin) .woocommerce-result-count { color: var(--rosy-muted); font-size: 12px; margin: 0; }
body:not(.wp-admin) .woocommerce-ordering { float: none; margin: 0; }
body:not(.wp-admin) .woocommerce-ordering select { min-height: 42px; width: min(100%, 250px); font-size: 12px; }
body:not(.wp-admin) .osf-active-filters { color: var(--rosy-muted); font-size: 12px; margin-bottom: 20px; }
body:not(.wp-admin) ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body:not(.wp-admin) ul.products::before,
body:not(.wp-admin) ul.products::after { content: none; }
body:not(.wp-admin) ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body:not(.wp-admin) ul.products li.product .product-block {
  background: var(--rosy-paper);
  border: 1px solid var(--rosy-line);
  border-radius: var(--rosy-radius);
  padding: 14px;
  height: 100%;
  box-shadow: none;
}
body:not(.wp-admin) ul.products li.product .product-transition {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  background: #fff;
  border-radius: 6px;
}
body:not(.wp-admin) ul.products li.product :is(.product-image, .product-img-wrap) { width: 100%; }
body:not(.wp-admin) ul.products li.product .product-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
body:not(.wp-admin) ul.products li.product .product-transition > .button {
  position: relative !important;
  inset: auto !important;
  order: 5;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3;
  width: 100%;
  margin: 12px 0 0;
  border-radius: 5px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .055em;
}
body:not(.wp-admin) ul.products li.product .caption { padding: 18px 4px 4px; text-align: left; }
body:not(.wp-admin) ul.products li.product :is(.group-transition, .group-transition-inner) {
  position: static;
  transform: none;
  opacity: 1;
  height: auto;
}
body:not(.wp-admin) ul.products li.product .stock-label { color: #4b6248; font-size: 10px; letter-spacing: .04em; }
body:not(.wp-admin) ul.products li.product .woocommerce-loop-product__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  margin: 8px 0;
  height: auto !important;
  max-height: none !important;
  white-space: normal;
  overflow: visible;
  -webkit-line-clamp: unset;
}
body:not(.wp-admin) ul.products li.product .woocommerce-loop-product__title a {
  font-family: inherit !important;
  font-weight: 400 !important;
  font-size: inherit !important;
  color: var(--rosy-ink) !important;
  text-transform: none;
}
body:not(.wp-admin) ul.products li.product .posted_in { color: var(--rosy-muted); font-size: 11px; margin-block: 6px; }
body:not(.wp-admin) ul.products li.product .posted_in a { color: inherit; }
body:not(.wp-admin) :is(ul.products li.product .price, .single-product .summary .price) {
  color: var(--rosy-plum);
  font-family: Rubik, sans-serif;
  font-weight: 500;
}
body:not(.wp-admin) ul.products li.product :is(.affirm-as-low-as, .wc-stripe-bnpl-shop-message) {
  font-size: 11px;
  line-height: 1.5;
  padding-inline: 4px;
  margin-top: 9px;
}
body:not(.wp-admin) .woocommerce-pagination { margin-top: 40px; }
body:not(.wp-admin) .woocommerce-pagination .page-numbers { border-color: var(--rosy-line); border-radius: 5px; }
body:not(.wp-admin) .woocommerce-pagination .page-numbers.current { background: var(--rosy-plum); color: #fff; }
/* Native buttons and text controls; radio/checkbox/payment fields keep their UI. */
body:not(.wp-admin) :is(.woocommerce, .woocommerce-page, .wc-block-components-main, .wc-block-components-sidebar) :is(a.button, button.button, input.button),
body:not(.wp-admin).woocommerce-page :is(a.button, button.button, input.button),
body:not(.wp-admin) ul.products li.product a.button,
body:not(.wp-admin) .wc-block-components-button:not(.is-link) {
  background: var(--rosy-plum);
  color: #fffdf9;
  border: 1px solid var(--rosy-plum);
  border-radius: 6px;
  padding: 13px 22px;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: .035em;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}
body:not(.wp-admin) :is(.woocommerce, .woocommerce-page) :is(a.button, button.button, input.button):hover,
body:not(.wp-admin).woocommerce-page :is(a.button, button.button, input.button):hover,
body:not(.wp-admin) ul.products li.product a.button:hover,
body:not(.wp-admin) .wc-block-components-button:not(.is-link):hover {
  background: #552c43;
  border-color: #552c43;
  color: #fffdf9;
}
body:not(.wp-admin) :is(.woocommerce, .woocommerce-page) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select),
body:not(.wp-admin).woocommerce-page :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select) {
  background: var(--rosy-paper);
  color: var(--rosy-ink);
  border: 1px solid #cfc2b7;
  border-radius: 6px;
  min-height: 48px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
  max-width: 100%;
}
body:not(.wp-admin) .woocommerce .form-row label { color: var(--rosy-ink); font-size: 12px; font-weight: 500; }
body:not(.wp-admin) .woocommerce .form-row { margin-bottom: 18px; }
body:not(.wp-admin) .select2-container .select2-selection--single {
  background: var(--rosy-paper);
  border: 1px solid #cfc2b7;
  border-radius: 6px;
  min-height: 48px;
}
body:not(.wp-admin) .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-inline: 13px 28px; color: var(--rosy-ink); }
body:not(.wp-admin) .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
body:not(.wp-admin) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) {
  background: var(--rosy-paper);
  color: var(--rosy-ink);
  border-radius: 6px;
  border-top-color: var(--rosy-gold);
  font-size: 13px;
  line-height: 1.65;
  box-shadow: none;
}
body:not(.wp-admin) .woocommerce-error { border-top-color: #9a3947; }
body:not(.wp-admin) .woocommerce :is(table.shop_table, fieldset) { border-color: var(--rosy-line); border-radius: 8px; }
body:not(.wp-admin) .woocommerce table.shop_table :is(th, td) { border-color: var(--rosy-line); padding: 16px 12px; }
body:not(.wp-admin) .woocommerce table.shop_table th { color: var(--rosy-ink); font-size: 12px; font-weight: 500; letter-spacing: .025em; }
body:not(.wp-admin) .woocommerce .quantity input.qty { width: 82px; min-width: 68px; text-align: center; }
/* Product detail keeps full photography, variations and financing messages. */
body:not(.wp-admin).single-product div.product { margin: 0; column-gap: 44px; }
body:not(.wp-admin).single-product div.product .product_title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 20px; }
body:not(.wp-admin).single-product div.product .woocommerce-product-gallery img { height: auto; object-fit: contain; border-radius: 8px; }
body:not(.wp-admin).single-product div.product .summary { color: var(--rosy-muted); }
body:not(.wp-admin).single-product div.product .summary .price { font-size: 25px; margin-bottom: 20px; }
body:not(.wp-admin).single-product div.product .summary .product_meta { border-top: 1px solid var(--rosy-line); padding-top: 22px; font-size: 12px; }
body:not(.wp-admin).single-product div.product .woocommerce-tabs { border-top: 1px solid var(--rosy-line); margin-top: 44px; padding-top: 28px; }
body:not(.wp-admin).single-product div.product .woocommerce-tabs ul.tabs li a { font-size: 13px; font-weight: 400; color: var(--rosy-plum); }
/* Classic cart: two columns when populated, with notices occupying full width. */
body:not(.wp-admin):is(.woocommerce-cart, .woocommerce-checkout) .site-content > .wrap { width: 100%; }
body:not(.wp-admin):is(.woocommerce-cart, .woocommerce-checkout) #primary { width: 100%; max-width: 100%; padding: 0; flex: 0 0 100%; }
body:not(.wp-admin).woocommerce-cart .entry-content > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: 28px;
  margin: 0;
}
body:not(.wp-admin).woocommerce-cart .woocommerce > :is(.woocommerce-notices-wrapper, .return-to-shop, .cart-empty, .cross-sells) { grid-column: 1 / -1; width: 100%; }
body:not(.wp-admin).woocommerce-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; margin: 0; }
body:not(.wp-admin).woocommerce-cart .cart-collaterals { grid-column: 2; width: auto; padding: 0; }
body:not(.wp-admin).woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; background: var(--rosy-paper); border: 1px solid var(--rosy-line); border-radius: var(--rosy-radius); padding: 26px; }
body:not(.wp-admin).woocommerce-cart .cart_totals h2 { font-size: 28px; margin-bottom: 24px; }
body:not(.wp-admin).woocommerce-cart .shop_table .product-name { white-space: normal; overflow-wrap: anywhere; }
body:not(.wp-admin).woocommerce-cart .shop_table .product-thumbnail img { width: 76px; height: auto; object-fit: contain; }
body:not(.wp-admin).woocommerce-cart .cart-empty { padding: 36px; font-family: Georgia, serif; font-size: 25px; }
body:not(.wp-admin).woocommerce-cart .wc-proceed-to-checkout .button { display: block; text-align: center; width: 100%; }
/* Classic checkout: native billing/shipping left, order/payment right. */
body:not(.wp-admin).woocommerce-checkout form.checkout {
  display: block;
}
body:not(.wp-admin).woocommerce-checkout form.checkout > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  align-items: start;
  gap: 24px 36px;
  margin: 0;
}
body:not(.wp-admin).woocommerce-checkout form.checkout > .row > [class*="col-"] {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  flex: none;
}
body:not(.wp-admin).woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; width: auto; max-width: none; min-width: 0; margin: 0; }
body:not(.wp-admin).woocommerce-checkout #customer_details > :is(.col-1, .col-2) { float: none; width: 100%; max-width: 100%; padding: 0; }
body:not(.wp-admin).woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; font-size: 30px; }
body:not(.wp-admin).woocommerce-checkout #order_review { grid-column: 2; width: 100%; min-width: 0; background: var(--rosy-paper); padding: 26px; border: 1px solid var(--rosy-line); border-radius: var(--rosy-radius); }
body:not(.wp-admin).woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) h3 { font-size: 28px; margin-bottom: 24px; }
body:not(.wp-admin).woocommerce-checkout #payment { background: transparent; border-radius: 6px; }
body:not(.wp-admin).woocommerce-checkout #payment .payment_methods { padding: 18px 0; border-bottom-color: var(--rosy-line); }
body:not(.wp-admin).woocommerce-checkout #payment .payment_box { background: var(--rosy-ivory); color: var(--rosy-ink); border-radius: 6px; font-size: 13px; }
body:not(.wp-admin).woocommerce-checkout #payment .payment_box::before { border-bottom-color: var(--rosy-ivory); }
body:not(.wp-admin).woocommerce-checkout #payment .place-order { padding: 22px 0 0; }
body:not(.wp-admin).woocommerce-checkout #place_order { width: 100%; min-height: 52px; margin-top: 16px; }
body:not(.wp-admin) .woocommerce-privacy-policy-text { color: var(--rosy-muted); font-size: 12px; line-height: 1.7; }
/* Block checkout/cart: use Woo's structural containers, never provider controls. */
body:not(.wp-admin) .wc-block-components-sidebar-layout { gap: 32px; align-items: flex-start; }
body:not(.wp-admin) .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(62% - 16px); padding-right: 0; min-width: 0; }
body:not(.wp-admin) .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: calc(38% - 16px); padding: 24px; background: var(--rosy-paper); border: 1px solid var(--rosy-line); border-radius: var(--rosy-radius); min-width: 0; }
body:not(.wp-admin) :is(.wc-block-components-title, .wc-block-components-checkout-step__title, .wc-block-cart__totals-title) { font-family: Georgia, serif; color: var(--rosy-plum); font-weight: 400; letter-spacing: -.025em; }
body:not(.wp-admin) .wc-block-components-text-input input,
body:not(.wp-admin) .wc-block-components-combobox .wc-block-components-combobox-control input { background: var(--rosy-paper); color: var(--rosy-ink); border-color: #cfc2b7; border-radius: 6px; }
body:not(.wp-admin) .wc-block-components-order-summary-item__image img { object-fit: contain; height: auto; }
body:not(.wp-admin) .wc-block-components-totals-wrapper { border-color: var(--rosy-line); }
@media (min-width: 769px) {
  body:not(.wp-admin).single-product div.product > .woocommerce-product-gallery { flex: 0 0 calc(52% - 22px); max-width: calc(52% - 22px); width: calc(52% - 22px); padding-inline: 0; }
  body:not(.wp-admin).single-product div.product > .summary { flex: 0 0 calc(48% - 22px); max-width: calc(48% - 22px); width: calc(48% - 22px); padding-inline: 0; }
}
@media (max-width: 900px) {
  body:not(.wp-admin).woocommerce-checkout form.checkout > .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.rosy-redesign:not(.wp-admin):is(.post-type-archive-product, .tax-product_cat) #content.site-content > .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  body.rosy-redesign:not(.wp-admin):is(.post-type-archive-product, .tax-product_cat) #content #secondary { grid-column: 1; grid-row: 2; }
  body:not(.wp-admin) #secondary > .inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  body:not(.wp-admin).woocommerce-cart .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
  body:not(.wp-admin).woocommerce-cart .cart-collaterals { grid-column: 1; }
}
@media (max-width: 768px) {
  body:not(.wp-admin):not(.home) .site-content { padding-top: 28px; padding-bottom: 48px; }
  body:not(.wp-admin):not(.home) .site-content > .wrap { padding-inline: 18px; }
  body:not(.wp-admin) ul.products { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body:not(.wp-admin) ul.products li.product .product-block { padding: 14px; }
  body:not(.wp-admin) ul.products li.product .woocommerce-loop-product__title { font-size: 21px; }
  body:not(.wp-admin) .osf-sorting { align-items: stretch; }
  body:not(.wp-admin) .osf-sorting-group { flex: 1 1 100%; }
  body:not(.wp-admin) .woocommerce-ordering select { width: 100%; }
  body:not(.wp-admin) #secondary > .inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body:not(.wp-admin).single-product div.product > :is(.woocommerce-product-gallery, .summary) { float: none; width: 100%; max-width: 100%; flex-basis: 100%; padding-inline: 0; }
  body:not(.wp-admin).single-product div.product .summary { margin-top: 28px; }
  body:not(.wp-admin).woocommerce-checkout :is(#customer_details, #order_review_heading, #order_review) { grid-column: 1; grid-row: auto; }
  body:not(.wp-admin).woocommerce-checkout #order_review { padding: 20px; }
  body:not(.wp-admin).woocommerce-cart .cart-collaterals .cart_totals { padding: 22px; }
  body:not(.wp-admin) .woocommerce :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
  body:not(.wp-admin) .wc-block-components-sidebar-layout { flex-direction: column; gap: 24px; }
  body:not(.wp-admin) .wc-block-components-sidebar-layout :is(.wc-block-components-main, .wc-block-components-sidebar) { width: 100%; padding-right: 0; }
  body:not(.wp-admin) .wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 20px; }
  body:not(.wp-admin) .free-shipping-bar { font-size: 10px !important; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.wp-admin) .free-shipping-bar .scrolling-text { animation: none !important; transform: none !important; white-space: normal; padding-inline: 12px; }
  body:not(.wp-admin) :is(ul.products a.button, .wc-block-components-button) { transition: none; }
}
