/*
Theme Name: Ramox 3D
Theme URI: https://ramox3ddesigns.in
Author: Ramox 3D Designs
Description: A premium WooCommerce theme for trending toys, personalised gifts and custom 3D printing. App-style mobile experience, dynamic homepage, personalisation fields and a custom-order inbox.
Version: 3.7.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ramox
Tags: e-commerce, woocommerce, custom-colors, custom-logo, custom-menu, responsive-layout
*/

/* =====================================================================
   1. Design tokens
   ===================================================================== */
:root {
  /* Brand colours (--r-bg, --r-ink, --r-primary, --r-accent can be changed in the Customizer) */
  --r-bg: #faf8f5;
  --r-ink: #17151f;
  --r-primary: #ff5a36;
  --r-accent: #4f5bd5;
  --r-surface: #ffffff;
  --r-surface-2: #f4f1ec;
  --r-text: #3f3c4a;
  --r-muted: #6b6779;
  --r-line: #ebe6de;
  --r-line-2: #ddd6cb;
  --r-primary-ink: color-mix(in srgb, var(--r-primary) 78%, #000);
  --r-primary-soft: color-mix(in srgb, var(--r-primary) 9%, #fff);
  --r-success: #0f8a64;
  --r-success-soft: #e5f5ee;
  --r-danger: #c2371b;
  --r-danger-soft: #fff0ec;
  --r-sun: #ffc93c;
  --r-mint: #12a37f;

  /* Type */
  --r-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-font-head: var(--r-font);
  --r-font-body: var(--r-font);

  /* Shape & depth */
  --r-radius-xs: 8px;
  --r-radius-sm: 12px;
  --r-radius: 18px;
  --r-radius-lg: 24px;
  --r-radius-xl: 32px;
  --r-pill: 999px;
  --r-shadow-sm: 0 1px 2px rgba(23, 21, 31, .05), 0 1px 1px rgba(23, 21, 31, .03);
  --r-shadow: 0 10px 30px -14px rgba(23, 21, 31, .18);
  --r-shadow-lg: 0 30px 60px -28px rgba(23, 21, 31, .32);

  /* Layout */
  --r-wrap: 1240px;
  --r-gutter: 20px;
  --r-header-h: 72px;
  --r-tabs-h: 0px;
  --r-ease: cubic-bezier(.2, .8, .2, 1);
}

/* =====================================================================
   2. Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0; background: var(--r-bg); color: var(--r-text);
  font: 400 16px/1.65 var(--r-font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  position: relative; overflow-x: clip;
}
img, video, iframe, embed, object, svg, canvas { max-width: 100%; }
img, video { height: auto; display: block; }
iframe, video { aspect-ratio: 16 / 9; }
iframe[height], video[height] { aspect-ratio: auto; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--r-primary); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--r-font-head); color: var(--r-ink); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
h4 { font-size: 1rem; }
strong, b { font-weight: 700; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--r-line); margin: 2em 0; }
pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--r-surface-2); padding: 16px; border-radius: var(--r-radius-sm); font-size: .9rem; }
blockquote { margin: 0; }
::selection { background: var(--r-ink); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--r-wrap); margin: 0 auto; padding: 0 var(--r-gutter); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; background: #fff; color: var(--r-ink); padding: 10px 16px; border-radius: 10px; clip: auto; clip-path: none; width: auto; height: auto; box-shadow: var(--r-shadow); }
.ri { width: 22px; height: 22px; flex: none; }

/* =====================================================================
   3. Buttons
   ===================================================================== */
.btn, .button, button.button, input[type="submit"], input[type="button"],
.wp-element-button, .wc-block-components-button:not(.is-link),
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-pill);
  background: var(--r-primary); color: #fff;
  font: 700 .95rem/1 var(--r-font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--r-primary) 80%, transparent);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover, .button:hover, input[type="submit"]:hover, .wp-element-button:hover, .wc-block-components-button:not(.is-link):hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--r-primary-ink); color: #fff; transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--r-primary) 90%, transparent);
}
.btn:active, .button:active { transform: translateY(0) scale(.98); }
.btn .ri, .button .ri { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--r-ink); box-shadow: inset 0 0 0 1.5px var(--r-line-2); }
.btn--ghost:hover { background: var(--r-ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--r-ink); }
.btn--light { background: #fff; color: var(--r-ink); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .4); }
.btn--light:hover { background: var(--r-sun); color: var(--r-ink); }
.btn--ink { background: var(--r-ink); color: #fff; box-shadow: none; }
.btn--ink:hover { background: #2c2938; color: #fff; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.button.disabled, .button:disabled, .button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--r-ink); font-size: .95rem; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { color: var(--r-primary); }
.link-arrow:hover::after { transform: translateX(3px); }

/* =====================================================================
   4. Forms
   ===================================================================== */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"],
input[type="url"], input[type="date"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce-page form .form-row .input-text {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: #fff; color: var(--r-ink); border: 1.5px solid var(--r-line-2); border-radius: var(--r-radius-sm);
  font: 500 1rem/1.4 var(--r-font); transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2317151f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
input::placeholder, textarea::placeholder { color: #a39fae; }
input:focus, textarea:focus, select:focus, .woocommerce form .form-row .input-text:focus {
  outline: none; border-color: var(--r-ink); box-shadow: 0 0 0 4px rgba(23, 21, 31, .06);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--r-primary); width: 18px; height: 18px; vertical-align: -3px; }
label { color: var(--r-ink); font-weight: 600; font-size: .92rem; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--r-primary); text-decoration: none; }
.woocommerce-invalid input.input-text { border-color: var(--r-danger) !important; }

/* =====================================================================
   5. Announcement + header
   ===================================================================== */
.announce {
  background: var(--r-ink); color: rgba(255, 255, 255, .85); text-align: center;
  font-size: .8rem; font-weight: 500; letter-spacing: .01em; padding: 9px 16px; line-height: 1.4;
}
.announce strong { color: #fff; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--r-line); box-shadow: 0 6px 20px -16px rgba(23, 21, 31, .25); }
.site-header > .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--r-header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: none; color: var(--r-ink); font: 800 1.2rem/1 var(--r-font); letter-spacing: -.03em; white-space: nowrap; }
.brand:hover { color: var(--r-ink); }
.brand .custom-logo { max-height: 48px; width: auto; }
.brand > span:not(.brand-mark) { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand-mark { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--r-ink); color: #fff; font-size: 1rem; }

.main-nav { margin-left: auto; min-width: 0; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; border-radius: var(--r-pill); color: var(--r-ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--r-ink); background: rgba(23, 21, 31, .05); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--r-ink); background: rgba(23, 21, 31, .06); }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px; margin: 0;
  display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius);
  box-shadow: var(--r-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 10px; }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--r-ink);
  display: grid; place-items: center; cursor: pointer; transition: background .15s ease; -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: rgba(23, 21, 31, .06); color: var(--r-ink); }
.icon-btn .ri, .icon-btn svg { width: 22px; height: 22px; }
.header-custom {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; padding: 0 16px; min-height: 40px; border-radius: var(--r-pill);
  background: var(--r-ink); color: #fff; font-weight: 700; font-size: .88rem; white-space: nowrap; transition: background .15s ease;
}
.header-custom:hover { background: #2c2938; color: #fff; }
.header-custom .ri, .header-custom svg { width: 16px; height: 16px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--r-primary); color: #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--r-bg);
}
.cart-count[hidden] { display: none !important; }
.menu-toggle { display: none; }

.header-search { display: none; border-top: 1px solid var(--r-line); padding: 14px 0; background: var(--r-bg); }
.header-search.is-open { display: block; animation: fadeDown .2s ease both; }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] { flex: 1; border-radius: var(--r-pill); padding-left: 20px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* =====================================================================
   6. Sections & shared UI
   ===================================================================== */
.site-main { min-height: 50vh; }
.section { padding: 80px 0; }
.section--tint { background: var(--r-surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--r-muted); margin: 8px 0 0; max-width: 560px; }
.content-area { padding-top: 8px; padding-bottom: 90px; }
.page-header { padding: 48px 0 24px; }
.page-header h1 { margin: 0; }
.page-header .meta { color: var(--r-muted); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.entry-content { background: var(--r-surface); border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); padding: clamp(22px, 4vw, 48px); margin-bottom: 80px; overflow-wrap: anywhere; }
.entry-content > *:last-child { margin-bottom: 0; }
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content a:not(.btn):not(.button):not(.wc-block-components-button) { color: var(--r-primary-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table:not(.shop_table) { width: 100%; border-collapse: collapse; margin: 1em 0; }
.entry-content table:not(.shop_table) th, .entry-content table:not(.shop_table) td { border-bottom: 1px solid var(--r-line); padding: 10px 12px; text-align: left; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; list-style: none;
  margin: 0 0 20px !important; padding: 14px 18px 14px 50px !important; border: 1px solid var(--r-line) !important; border-radius: var(--r-radius) !important;
  background: #fff !important; color: var(--r-ink) !important; font-size: .95rem; box-shadow: var(--r-shadow-sm); position: relative;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 50% !important; left: 18px !important; transform: translateY(-50%); color: var(--r-success) !important; }
.woocommerce-info::before { color: var(--r-accent) !important; }
.woocommerce-error { border-color: #f6cbbf !important; background: var(--r-danger-soft) !important; flex-direction: column; align-items: flex-start; }
.woocommerce-error::before { color: var(--r-danger) !important; top: 24px !important; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 3; margin-left: auto; min-height: 40px; padding: 0 18px; float: none !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.wc-block-components-notice-banner { border-radius: var(--r-radius) !important; font-size: .95rem; }

/* Pagination */
.woocommerce nav.woocommerce-pagination, .pagination { text-align: center; margin-top: 44px; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0 !important; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; overflow: visible !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px !important; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--r-line); color: var(--r-ink); font-weight: 700; font-size: .92rem;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .page-numbers.current { background: var(--r-ink) !important; border-color: var(--r-ink); color: #fff !important; }
.woocommerce nav.woocommerce-pagination ul li a:hover, a.page-numbers:hover { border-color: var(--r-ink); background: #fff !important; color: var(--r-ink) !important; }
.nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }

/* Stars */
.star-rating { color: #f5a524 !important; }
.star-rating::before { color: var(--r-line-2) !important; }

/* =====================================================================
   7. Footer
   ===================================================================== */
.site-footer { background: var(--r-ink); color: rgba(255, 255, 255, .64); padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-mark { background: #fff; color: var(--r-ink); }
.site-footer p { max-width: 340px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: all .15s ease; }
.socials a:hover { background: #fff; color: var(--r-ink); border-color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: .72rem; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7);
  transition: transform .2s var(--r-ease);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }
.page-template-custom-order .wa-float, .single-product .wa-float, .woocommerce-cart .wa-float, .woocommerce-checkout .wa-float, .woocommerce-account .wa-float { display: none; }

/* =====================================================================
   8. Scroll-reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--r-ease), transform .7s var(--r-ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   9. Homepage
   ===================================================================== */

/* ---------- Hero ---------- */
.hx { position: relative; padding: 64px 0 88px; overflow: clip; isolation: isolate; }
.hx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 10%, color-mix(in srgb, var(--r-primary) 10%, transparent), transparent 70%),
    radial-gradient(50% 50% at 92% 30%, color-mix(in srgb, var(--r-accent) 9%, transparent), transparent 70%);
}
.hx-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 12px;
  background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-pill); box-shadow: var(--r-shadow-sm);
  color: var(--r-ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; max-width: 100%;
}
.hx-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--r-mint); flex: none; }
.hx-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--r-mint); animation: ping 2.4s ease-out infinite; will-change: transform, opacity; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.hx-title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; }
.hx-rotator { display: flex; align-items: flex-end; height: 1.14em; overflow: hidden; }
.hx-word { display: inline-block; white-space: nowrap; color: var(--r-primary); padding-bottom: .06em; will-change: transform, opacity; }
.hx-word.is-in { animation: wordIn .6s var(--r-ease) both; }
.hx-word.is-out { animation: wordOut .3s ease-in both; }
@keyframes wordIn { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wordOut { to { transform: translateY(-60%); opacity: 0; } }
.hx-lede { font-size: 1.12rem; color: var(--r-muted); max-width: 520px; margin: 0; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hx-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 32px; padding: 0; margin: 0; }
.hx-stats li { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--r-line-2); }
.hx-stats li:first-child { padding-left: 0; border-left: 0; }
.hx-stats strong { font-size: 1.6rem; font-weight: 800; color: var(--r-ink); line-height: 1; letter-spacing: -.03em; }
.hx-stats li[data-plus] strong::after { content: "+"; color: var(--r-primary); }
.hx-stats span { color: var(--r-muted); font-weight: 600; font-size: .82rem; margin-top: 6px; }

/* Showcase */
.hx-stage { position: relative; width: 100%; max-width: 540px; margin-left: auto; aspect-ratio: 1 / 1.05; }
.hx-track { position: absolute; inset: 0; }
.hx-slide {
  position: absolute; inset: 0; border-radius: var(--r-radius-xl); overflow: hidden;
  background: color-mix(in srgb, var(--c1, #ff7a45) 13%, #fff);
  border: 1px solid color-mix(in srgb, var(--c1, #ff7a45) 16%, var(--r-line));
  opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .7s var(--r-ease), transform .9s var(--r-ease), visibility 0s .7s;
  will-change: opacity, transform;
}
.hx-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; transition: opacity .7s var(--r-ease), transform .9s var(--r-ease), visibility 0s; }
.hx-media { position: absolute; left: 0; right: 0; top: 0; bottom: 104px; display: grid; place-items: center; padding: 40px 40px 16px; }
.hx-img {
  width: 76%; max-height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-radius-lg); background: #fff;
  box-shadow: 0 30px 50px -30px rgba(23, 21, 31, .45);
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px), 0);
  transition: transform .4s var(--r-ease);
}
.hx-slide.is-active .hx-img { animation: heroIn .9s var(--r-ease) both; }
@keyframes heroIn { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
.hx-emoji { font-size: 7rem; }
.hx-off {
  position: absolute; top: 20px; left: 20px; z-index: 2; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--r-ink); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: -.01em;
}
.hx-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 20px;
  background: #fff; border-radius: var(--r-radius); box-shadow: 0 10px 30px -18px rgba(23, 21, 31, .35);
}
.hx-slide.is-active .hx-card { animation: cardIn .7s .1s var(--r-ease) both; }
@keyframes cardIn { from { transform: translateY(12px); opacity: 0; } }
.hx-card__info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hx-card__name { font-weight: 700; font-size: 1rem; color: var(--r-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.hx-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-weight: 800; color: var(--r-ink); font-size: 1rem; }
.hx-card__price ins { order: -1; text-decoration: none; }
.hx-card__price del { color: var(--r-muted); font-weight: 500; font-size: .85rem; }
.hx-card__btn.button { flex: none; min-height: 44px; padding: 0 20px; font-size: .9rem; }
.hx-card__btn.added { background: var(--r-success); }
.hx-card__btn.added::after, .hx-card__btn.loading::after { display: none !important; }
.hx-nav {
  position: absolute; top: calc(50% - 72px); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--r-line);
  background: #fff; color: var(--r-ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--r-shadow);
  opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
.hx-stage:hover .hx-nav, .hx-nav:focus-visible { opacity: 1; }
.hx-nav:hover { transform: scale(1.06); }
.hx-nav svg { width: 20px; height: 20px; }
.hx-nav--prev { left: 14px; }
.hx-nav--next { right: 14px; }
.hx-dots { position: absolute; left: 0; right: 0; bottom: -30px; display: flex; justify-content: center; gap: 6px; }
.hx-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--r-line-2); cursor: pointer; overflow: hidden; transition: width .35s var(--r-ease), background .2s ease; }
.hx-dot::before { content: ""; position: absolute; inset: -10px; }
.hx-dot.is-active { width: 32px; }
.hx-dot i { position: absolute; inset: 0; background: var(--r-ink); transform: scaleX(0); transform-origin: left; }
.hx-dot.is-active i { animation: fill var(--dur, 5s) linear forwards; }
.hx-stage.is-paused .hx-dot.is-active i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--r-ink); color: rgba(255, 255, 255, .88); overflow: hidden; padding: 14px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker span { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--r-primary); font-size: 0; flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Three ways to shop ---------- */
.pillars-section { padding: 88px 0 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r-radius-lg);
  background: #fff; border: 1px solid var(--r-line); color: var(--r-ink);
  transition: transform .3s var(--r-ease), box-shadow .3s var(--r-ease), border-color .3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--r-shadow-lg); border-color: var(--r-line-2); color: var(--r-ink); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 14px; }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c1) 13%, #fff); color: color-mix(in srgb, var(--c2) 85%, #17151f);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__thumbs { display: flex; }
.pillar__thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; border: 2px solid #fff; background: var(--r-surface-2); box-shadow: 0 6px 16px -8px rgba(23, 21, 31, .3); transition: transform .35s var(--r-ease); }
.pillar__thumbs img + img { margin-left: -12px; }
.pillar:hover .pillar__thumbs img:first-child { transform: translateX(-4px) rotate(-4deg); }
.pillar:hover .pillar__thumbs img + img { transform: translateX(4px) rotate(4deg); }
.pillar h3 { font-size: 1.3rem; margin: 0; }
.pillar p { color: var(--r-muted); margin: 0; }
.pillar__tags { color: var(--r-muted); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.pillar__tags em { font-style: normal; }
.pillar__tags em + em::before { content: " · "; }
.pillar__cta { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: .95rem; color: var(--r-ink); display: inline-flex; align-items: center; gap: 8px; }
.pillar__cta b { font-weight: 700; transition: transform .2s ease; }
.pillar:hover .pillar__cta b { transform: translateX(4px); }

/* ---------- Category bubbles ---------- */
.bub-section { padding-top: 72px; }
.bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 26px; }
.bubble { display: flex; flex-direction: column; align-items: center; width: 116px; text-align: center; color: var(--r-ink); }
.bubble:hover { color: var(--r-ink); }
.bubble__ring { width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: var(--r-line-2); transition: background .25s ease, transform .35s var(--r-ease); }
.bubble:hover .bubble__ring { background: var(--r-ink); transform: translateY(-3px); }
.bubble__img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--r-surface-2); border: 3px solid var(--r-bg); }
.bubble__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--r-ease); }
.bubble:hover .bubble__img img { transform: scale(1.08); }
.bubble__img b { font-size: 1.8rem; font-weight: 800; color: var(--r-ink); }
.bubble__name { font-weight: 700; font-size: .92rem; line-height: 1.25; margin-top: 12px; }
.bubble__count { font-size: .76rem; color: var(--r-muted); font-weight: 600; }

/* ---------- Deal ---------- */
.deal {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
  background: var(--r-ink); color: #fff; border-radius: var(--r-radius-xl); padding: 52px;
}
.deal::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--r-primary) 45%, transparent), transparent 65%); }
.deal__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r-sun); margin-bottom: 14px; }
.deal h2 { color: #fff; }
.deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 1.7rem; font-weight: 800; margin-bottom: 22px; }
.deal__price ins { order: -1; text-decoration: none; }
.deal__price del { font-size: 1rem; font-weight: 500; opacity: .55; }
.deal__price em { font-style: normal; font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); }
.countdown { display: flex; gap: 10px; margin-bottom: 26px; }
.countdown span { min-width: 68px; padding: 12px 10px; text-align: center; border-radius: var(--r-radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.countdown b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown small { display: block; margin-top: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.deal__img { justify-self: center; width: min(100%, 340px); }
.deal__img img { border-radius: var(--r-radius-lg); background: #fff; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); }

/* ---------- Tabbed product rail ---------- */
.rail-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--r-surface-2); border-radius: var(--r-pill); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rail-tabs::-webkit-scrollbar { display: none; }
.rail-tab { border: 0; background: transparent; cursor: pointer; padding: 10px 18px; border-radius: var(--r-pill); font: 700 .92rem var(--r-font); color: var(--r-muted); white-space: nowrap; transition: all .2s ease; }
.rail-tab:hover { color: var(--r-ink); }
.rail-tab.is-active { background: #fff; color: var(--r-ink); box-shadow: var(--r-shadow-sm), 0 4px 12px -6px rgba(23, 21, 31, .2); }
.rail-panel:not([hidden]) { animation: panelIn .45s var(--r-ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.rail-panel .woocommerce { margin: 0; }

/* ---------- Collections ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coll {
  position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 24px; overflow: hidden; isolation: isolate;
  border-radius: var(--r-radius-lg); color: var(--r-ink);
  background: color-mix(in srgb, var(--c1) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c1) 14%, var(--r-line));
  transition: transform .3s var(--r-ease), box-shadow .3s var(--r-ease);
}
.coll:hover { transform: translateY(-4px); box-shadow: var(--r-shadow-lg); color: var(--r-ink); }
.coll__art { position: relative; height: 220px; margin-bottom: 18px; }
.coll__art img {
  position: absolute; width: 56%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #fff;
  border: 3px solid #fff; box-shadow: 0 20px 36px -22px rgba(23, 21, 31, .5); transition: transform .5s var(--r-ease);
}
.coll__art.n1 img { width: 64%; left: 18%; top: 0; }
.coll__art.n2 img:nth-child(1) { left: 8%; top: 18px; transform: rotate(-6deg); }
.coll__art.n2 img:nth-child(2) { right: 8%; top: 0; transform: rotate(6deg); z-index: 2; }
.coll__art.n3 img { width: 50%; }
.coll__art.n3 img:nth-child(1) { left: 0; top: 30px; transform: rotate(-8deg); }
.coll__art.n3 img:nth-child(2) { left: 25%; top: 0; z-index: 2; }
.coll__art.n3 img:nth-child(3) { right: 0; top: 30px; transform: rotate(8deg); }
.coll:hover .coll__art.n1 img, .coll:hover .coll__art.n3 img:nth-child(2) { transform: translateY(-6px); }
.coll:hover .coll__art.n3 img:nth-child(1), .coll:hover .coll__art.n2 img:nth-child(1) { transform: rotate(-12deg) translateX(-8px); }
.coll:hover .coll__art.n3 img:nth-child(3), .coll:hover .coll__art.n2 img:nth-child(2) { transform: rotate(12deg) translateX(8px); }
.coll__emoji { position: absolute; inset: 0; display: grid; place-items: center; color: var(--r-ink); }
.coll__emoji svg { width: 72px; height: 72px; opacity: .8; }
.coll__body { margin-top: auto; position: relative; padding-right: 56px; }
.coll__body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.coll__body p { margin: 0; color: var(--r-muted); font-size: .95rem; }
.coll__go { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--r-ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--r-ease); }
.coll__go svg { width: 18px; height: 18px; }
.coll:hover .coll__go { transform: translateX(3px); }

/* ---------- How it works ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow li { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); counter-increment: flow; }
.flow li::before { content: "0" counter(flow); position: absolute; top: 26px; right: 24px; font-weight: 800; font-size: .85rem; color: var(--r-line-2); letter-spacing: .04em; }
.flow i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--r-surface-2); color: var(--r-ink); font-style: normal; }
.flow i svg { width: 24px; height: 24px; }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--r-muted); margin: 0; font-size: .95rem; }

/* ---------- Custom order CTA ---------- */
.glow-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-radius-xl); padding: 56px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center;
  background: var(--r-ink); color: #fff;
}
.glow-cta::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(40% 80% at 100% 0%, color-mix(in srgb, var(--r-primary) 40%, transparent), transparent 70%),
              radial-gradient(35% 70% at 0% 100%, color-mix(in srgb, var(--r-accent) 38%, transparent), transparent 70%);
}
.glow-cta__orb { display: none; }
.glow-cta__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.glow-cta__tag svg { width: 16px; height: 16px; }
.glow-cta h2 { color: #fff; }
.glow-cta p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 600px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); padding: 28px; display: flex; flex-direction: column; }
.review .stars { color: #f5a524; letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; }
.review p { color: var(--r-text); font-size: 1rem; line-height: 1.6; }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--r-ink); font-size: .9rem; }
.review cite a { color: var(--r-muted); font-weight: 600; }

/* =====================================================================
   10. Shop / category pages
   ===================================================================== */
.shop-hero { padding: 52px 0 28px; }
.shop-hero h1 { margin: 0; }
.shop-hero .term-description { color: var(--r-muted); max-width: 640px; margin-top: 10px; }
.shop-hero .term-description p:last-child { margin: 0; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.shop-cats a {
  padding: 9px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--r-line);
  color: var(--r-ink); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .15s ease;
}
.shop-cats a:hover { border-color: var(--r-ink); color: var(--r-ink); }
.shop-cats a.is-active { background: var(--r-ink); border-color: var(--r-ink); color: #fff; }
.woocommerce .woocommerce-result-count { float: none; margin: 0; color: var(--r-muted); font-size: .9rem; font-weight: 500; }
.woocommerce .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 42px; padding-top: 8px; padding-bottom: 8px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; }
.content-area .woocommerce-result-count + .woocommerce-ordering, .shop-toolbar { display: flex; }
.woocommerce-products-header { display: none; }
.woocommerce-no-products-found .woocommerce-info { justify-content: center; }

/* Toolbar row (count + sort) */
.woocommerce .content-area > .woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce .content-area > .woocommerce-result-count { display: inline-block; margin-bottom: 22px; }
.woocommerce .content-area > .woocommerce-ordering { float: right; margin-bottom: 22px; }

/* =====================================================================
   11. Product cards (all product grids)
   ===================================================================== */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; margin: 0 !important; padding: 0; list-style: none; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  --pc-r: 20px;
  position: relative; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important;
  display: flex; flex-direction: column; text-align: left; background: transparent; container-type: inline-size;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: inherit; }
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 14px !important; border-radius: var(--pc-r);
  background: var(--r-surface-2); transition: transform .6s var(--r-ease), box-shadow .3s ease;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.02); box-shadow: 0 24px 40px -28px rgba(23, 21, 31, .45); }
.woocommerce ul.products li.product .onsale, .woocommerce ul.products li.product span.onsale {
  position: absolute; top: 12px !important; left: 12px !important; right: auto !important; z-index: 2; margin: 0 !important;
  min-width: 0; min-height: 0; padding: 5px 9px; line-height: 1; border-radius: var(--r-pill);
  background: var(--r-ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 0;
}
.ramox-badge-custom { display: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 2px !important; margin: 0 0 6px !important; font-size: .98rem !important; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--r-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .star-rating { font-size: .7rem; margin: 0 2px 6px !important; }
.woocommerce ul.products li.product .price {
  display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 !important; padding: 0 2px !important;
  color: var(--r-ink) !important; font-size: 1rem !important; font-weight: 700; letter-spacing: -.01em;
}
.woocommerce ul.products li.product .price ins { order: -1; text-decoration: none; font-weight: 700; color: var(--r-ink); }
.woocommerce ul.products li.product .price del { color: var(--r-muted) !important; font-size: .82rem !important; font-weight: 500 !important; opacity: 1; }
.woocommerce ul.products li.product .price .price-from { font-size: .72rem; font-weight: 600; color: var(--r-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Quick-add pill sits on the image's bottom-right corner */
.woocommerce ul.products li.product .button {
  position: absolute; z-index: 3; margin: 0 !important; right: 10px; top: calc(100cqw - 50px);
  min-height: 38px; padding: 0 15px; font-size: .82rem; font-weight: 700;
  background: rgba(255, 255, 255, .96); color: var(--r-ink); box-shadow: 0 6px 18px -8px rgba(23, 21, 31, .4);
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.woocommerce ul.products li.product .button::before { content: "+"; font-size: 1.05rem; font-weight: 600; margin-right: -1px; }
.woocommerce ul.products li.product .button.product_type_variable::before,
.woocommerce ul.products li.product .button.product_type_personalize::before,
.woocommerce ul.products li.product .button.product_type_grouped::before,
.woocommerce ul.products li.product .button.product_type_external::before { content: none; }
.woocommerce ul.products li.product .button:hover { background: var(--r-ink); color: #fff; transform: none; }
.woocommerce ul.products li.product .button.loading { opacity: .8; padding-right: 15px; }
.woocommerce ul.products li.product .button.loading::after { display: none; }
.woocommerce ul.products li.product .button.added { background: var(--r-success); color: #fff; }
.woocommerce ul.products li.product .button.added::before { content: "✓"; font-size: .9rem; margin-right: 2px; }
.woocommerce ul.products li.product .button.added::after, .woocommerce ul.products li.product a.added_to_cart { display: none !important; }
@supports not (container-type: inline-size) {
  .woocommerce ul.products li.product .button { position: static; align-self: flex-start; margin: 12px 2px 0 !important; }
}
.woocommerce ul.products li.product.outofstock img { filter: grayscale(.5); opacity: .75; }

/* WooCommerce block product grids (e.g. empty-cart "New in store") */
.wc-block-grid__products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0 !important; padding: 0; list-style: none; }
.wc-block-grid__product { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; position: relative; }
.wc-block-grid__product-image img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; background: var(--r-surface-2); width: 100%; }
.wc-block-grid__product-title { font-size: .95rem !important; font-weight: 600 !important; color: var(--r-ink); margin: 12px 0 4px !important; }
.wc-block-grid__product-price { font-weight: 700; color: var(--r-ink); margin-bottom: 10px !important; }
.wc-block-grid__product-price del { color: var(--r-muted); font-weight: 500; font-size: .85em; }
.wc-block-grid__product-price ins { text-decoration: none; }
.wc-block-grid__product-onsale { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0 !important; padding: 4px 9px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: var(--r-ink) !important; color: #fff !important; font-size: .7rem !important; font-weight: 800 !important; }
.wc-block-grid__product-add-to-cart .wp-block-button__link { min-height: 40px !important; padding: 0 18px !important; font-size: .85rem !important; border-radius: var(--r-pill) !important; background: var(--r-ink) !important; }

/* =====================================================================
   12. Single product
   ===================================================================== */
.single-product .content-area { padding-top: 28px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: start; position: relative; }
.woocommerce div.product > * { min-width: 0; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }

/* Gallery */
@media (min-width: 861px) { .woocommerce div.product div.images.woocommerce-product-gallery { position: sticky; top: calc(var(--r-header-h) + 24px); } }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport { border-radius: var(--r-radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--r-line); }
.woocommerce div.product div.images img { border-radius: 0; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin: 14px 0 0 !important; padding: 0 !important; overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar { display: none; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 76px !important; flex: none; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 14px; border: 1.5px solid var(--r-line); opacity: .65; transition: opacity .2s ease, border-color .2s ease; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--r-ink); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 16px !important; right: 16px !important; width: 40px !important; height: 40px !important; border-radius: 50%;
  background: rgba(255, 255, 255, .95) !important; box-shadow: var(--r-shadow-sm); z-index: 5;
}
.woocommerce div.product > span.onsale {
  position: absolute; top: 16px !important; left: 16px !important; right: auto !important; z-index: 6; margin: 0 !important;
  min-width: 0; min-height: 0; padding: 6px 12px; line-height: 1; border-radius: var(--r-pill);
  background: var(--r-ink); color: #fff; font-size: .8rem; font-weight: 800;
}

/* Summary */
.woocommerce div.product div.summary { display: flex; flex-direction: column; }
.pdp-cat {
  align-self: flex-start; margin-bottom: 12px; color: var(--r-muted);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pdp-cat:hover { color: var(--r-ink); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 10px; }
.woocommerce div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin: 0 0 12px !important; font-size: .88rem; }
.woocommerce div.product .woocommerce-product-rating .star-rating { margin: 0 !important; }
.woocommerce div.product .woocommerce-review-link { color: var(--r-muted); }
.woocommerce div.product .summary > p.price, .woocommerce div.product .summary > span.price, .woocommerce div.product .woocommerce-variation-price .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 4px;
  color: var(--r-ink) !important; font-size: 2rem !important; font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.woocommerce div.product .price ins { order: -1; text-decoration: none; color: var(--r-ink); }
.woocommerce div.product .price del { font-size: 1.05rem; font-weight: 500; color: var(--r-muted) !important; opacity: 1; }
.pdp-save { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 20px; }
.pdp-save__pill { background: var(--r-success-soft); color: var(--r-success); font-weight: 800; font-size: .78rem; padding: 5px 10px; border-radius: var(--r-pill); }
.pdp-save__amt { color: var(--r-success); font-weight: 700; font-size: .9rem; }
.pdp-save__tax { color: var(--r-muted); font-size: .8rem; flex-basis: 100%; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--r-muted); font-size: 1rem; margin-bottom: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--r-line); }
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin: 0; }
.woocommerce div.product .stock { font-weight: 700; font-size: .9rem; }
.woocommerce div.product .stock.in-stock { color: var(--r-success); }
.woocommerce div.product .stock.out-of-stock { color: var(--r-danger); }

/* Options → chips */
.woocommerce div.product form.cart { margin: 18px 0 0; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 0 0 8px; border: 0; border-collapse: collapse; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 !important; text-align: left; line-height: 1.3; border: 0; }
.woocommerce div.product form.cart .variations th label, .woocommerce div.product form.cart .variations .label label {
  display: block; margin-bottom: 10px; color: var(--r-ink); font-size: .85rem; font-weight: 700;
}
.var-select-hidden { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; }
.var-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.var-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--r-line-2); border-radius: var(--r-pill);
  font: 600 .92rem var(--r-font); color: var(--r-ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.var-chip.has-dot { padding-left: 10px; }
.var-chip.has-dot::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.var-chip:hover { border-color: var(--r-ink); }
.var-chip.is-on { border-color: var(--r-ink); box-shadow: 0 0 0 1px var(--r-ink); }
.var-chip.is-off { opacity: .4; text-decoration: line-through; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--r-muted); text-decoration: underline; text-underline-offset: 3px; }
.variations.is-nudged { animation: nudge .5s ease; }
@keyframes nudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price { font-size: 1.4rem !important; }
.woocommerce div.product .woocommerce-variation-availability p { margin: 4px 0 0; }

/* Quantity + buttons */
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; width: 100%; margin-bottom: 22px;
}
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woocommerce div.product form.cart .ramox-personalize { order: -1; }
.woocommerce div.product form.cart .quantity { margin: 0 !important; float: none; }
.quantity.has-stepper { display: inline-flex; align-items: center; height: 54px; background: #fff; border: 1.5px solid var(--r-line-2); border-radius: var(--r-pill); overflow: hidden; }
.quantity.has-stepper .qty { width: 40px !important; min-height: 0; height: 100% !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; text-align: center; font-weight: 700; font-size: 1rem; background: transparent; -moz-appearance: textfield; }
.quantity.has-stepper .qty::-webkit-outer-spin-button, .quantity.has-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 44px; height: 100%; border: 0; background: none; color: var(--r-ink); font-size: 1.25rem; font-weight: 500; cursor: pointer; transition: background .15s ease; }
.qty-btn:hover { background: var(--r-surface-2); }
.woocommerce div.product form.cart .single_add_to_cart_button, .woocommerce div.product form.cart .ramox-buy-now {
  flex: 1 1 150px; min-width: 0; height: 54px; padding: 0 22px; font-size: 1rem;
}
.woocommerce div.product form.cart .single_add_to_cart_button { background: #fff; color: var(--r-ink); box-shadow: inset 0 0 0 1.5px var(--r-ink); }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--r-ink); color: #fff; }
.woocommerce div.product form.cart .ramox-buy-now { background: var(--r-primary); color: #fff; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .45; }
.woocommerce div.product form.cart .single_add_to_cart_button.is-adding { opacity: .7; }

/* Plugin widgets (pincode / EMI) moved below the buttons */
.pdp-extras { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.pdp-extras > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.woocommerce div.product .summary :where(div, form, p):has(> input[placeholder*="incode" i], > input[name*="pincode" i]) {
  display: flex !important; gap: 8px; align-items: stretch; flex-wrap: nowrap;
}
.woocommerce div.product .summary :where(div, form, p):has(> input[placeholder*="incode" i]) > input { flex: 1; min-width: 0; margin: 0 !important; min-height: 48px; border-radius: var(--r-pill); padding-left: 18px; }
.woocommerce div.product .summary :where(div, form, p):has(> input[placeholder*="incode" i]) > :is(button, input[type="submit"], input[type="button"]) {
  flex: none; margin: 0 !important; min-height: 48px; border: 0 !important; border-radius: var(--r-pill) !important;
  background: var(--r-ink) !important; color: #fff !important; font: 700 .9rem var(--r-font) !important; padding: 0 20px !important; cursor: pointer; box-shadow: none;
}
.woocommerce div.product .summary [class*="razorpay" i], .woocommerce div.product .summary [id*="razorpay" i] { max-width: 100%; border-radius: var(--r-radius-sm); overflow: hidden; }

/* Perks + meta */
.product-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-perks li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); font-weight: 700; font-size: .88rem; line-height: 1.3; color: var(--r-ink); }
.product-perks li i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--r-surface-2); color: var(--r-ink); font-style: normal; }
.product-perks li i svg { width: 20px; height: 20px; }
.product-perks li small { display: block; font-weight: 500; color: var(--r-muted); font-size: .8rem; margin-top: 2px; }
.pdp-wa { margin: 14px 0 0; }
.pdp-wa .btn { min-height: 44px; font-size: .9rem; }
.pdp-wa .btn svg { width: 18px; height: 18px; color: #25d366; }
.pdp-wa .btn:hover svg { color: #fff; }
.woocommerce div.product .product_meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: .82rem; color: var(--r-muted); }
.woocommerce div.product .product_meta a { color: var(--r-ink); font-weight: 600; }

/* Tabs, reviews, related */
.single-product .pdp-more .woocommerce-tabs { margin-top: 72px; }
.single-product .pdp-more .woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0 0 20px !important; padding: 5px !important; background: var(--r-surface-2); border-radius: var(--r-pill); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.single-product .pdp-more .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.single-product .pdp-more .woocommerce-tabs ul.tabs::before, .single-product .pdp-more .woocommerce-tabs ul.tabs li::before, .single-product .pdp-more .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .pdp-more .woocommerce-tabs ul.tabs li { flex: none; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; border-radius: var(--r-pill) !important; }
.single-product .pdp-more .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px !important; color: var(--r-muted) !important; font-weight: 700 !important; font-size: .92rem; white-space: nowrap; }
.single-product .pdp-more .woocommerce-tabs ul.tabs li.active { background: #fff !important; box-shadow: var(--r-shadow-sm), 0 4px 12px -6px rgba(23, 21, 31, .2); }
.single-product .pdp-more .woocommerce-tabs ul.tabs li.active a { color: var(--r-ink) !important; }
.single-product .pdp-more .woocommerce-tabs .panel { margin: 0 !important; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); }
.single-product .pdp-more .woocommerce-tabs .panel > h2:first-child { font-size: 1.25rem; }
.single-product .pdp-more .woocommerce-tabs .panel table { max-width: 100%; }
.woocommerce table.shop_attributes { border: 0; margin: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0 !important; border-bottom: 1px solid var(--r-line) !important; padding: 12px 0 !important; background: none !important; font-style: normal; }
.woocommerce table.shop_attributes th { width: 180px; color: var(--r-muted); font-weight: 600; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--r-line) !important; border-radius: var(--r-radius) !important; padding: 16px 18px !important; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border: 0 !important; background: var(--r-surface-2) !important; border-radius: 50%; padding: 0 !important; }
.woocommerce #review_form #respond { border: 1px solid var(--r-line); border-radius: var(--r-radius); padding: 22px; }
.woocommerce #review_form #respond p.stars a { color: #f5a524; }
.single-product .pdp-more .related > h2, .single-product .pdp-more .upsells > h2, .single-product .pdp-more .up-sells > h2 { font-size: 1.6rem; margin: 72px 0 24px; }

/* Personalization box */
.ramox-personalize { width: 100%; display: grid; gap: 14px; padding: 20px; margin-bottom: 4px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); }
.ramox-personalize h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.ramox-personalize h4 svg { width: 18px; height: 18px; color: var(--r-primary); }
.ramox-personalize label { display: block; margin-bottom: 6px; font-size: .85rem; }
.ramox-personalize .label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .85rem; color: var(--r-ink); }
.ramox-personalize .hint { margin: 6px 0 0; font-size: .8rem; color: var(--r-muted); }
.ramox-personalize .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ramox-personalize textarea { min-height: 80px; }
.ramox-personalize input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed var(--r-line-2); border-radius: var(--r-radius-sm); background: var(--r-bg); font-size: .85rem; }
.ramox-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ramox-swatches label { margin: 0; cursor: pointer; }
.ramox-swatches input { position: absolute; opacity: 0; pointer-events: none; }
.ramox-swatches span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 8px; border: 1.5px solid var(--r-line-2); border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; }
.ramox-swatches span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ramox-swatches input:checked + span { border-color: var(--r-ink); box-shadow: 0 0 0 1px var(--r-ink); }
.ramox-swatches input:focus-visible + span { outline: 2px solid var(--r-accent); outline-offset: 2px; }

/* =====================================================================
   13. Cart, checkout, account (block + classic)
   ===================================================================== */
.woocommerce-cart .page-header, .woocommerce-checkout .page-header, .woocommerce-account .page-header { padding: 44px 0 20px; }
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content {
  background: transparent; border: 0; padding: 0; margin-bottom: 90px;
}
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; margin-left: 0; margin-right: 0; }

/* Shared card look for block sections */
.wc-block-cart .wc-block-cart__main, .wc-block-checkout__main .wc-block-components-checkout-step,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block, .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg);
}
.wc-block-cart .wc-block-cart__main { padding: 8px 24px; }
.wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block { padding: 8px 24px 24px; }
.wc-block-cart .wc-block-cart__totals-title { font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--r-muted) !important; padding: 18px 0 6px !important; }
.wc-block-checkout__main .wc-block-components-checkout-step { padding: 24px !important; margin-bottom: 16px !important; }
.wc-block-checkout__main .wc-block-components-checkout-step::after { display: none !important; }
.wc-block-components-checkout-step__heading { margin: 0 0 16px !important; }
.wc-block-components-checkout-step__title { font-size: 1.1rem !important; font-weight: 800 !important; color: var(--r-ink); letter-spacing: -.01em; }
.wc-block-components-checkout-step__container::after { display: none !important; }
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { padding: 20px 24px; }
.wc-block-components-totals-wrapper { border-color: var(--r-line) !important; }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value { font-size: .95rem; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700 !important; color: var(--r-ink); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--r-ink); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea {
  border-radius: var(--r-radius-sm) !important; border: 1.5px solid var(--r-line-2) !important; min-height: 52px !important; font-family: var(--r-font) !important; box-shadow: none !important; background-color: #fff !important;
}
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { border-color: var(--r-ink) !important; box-shadow: 0 0 0 4px rgba(23, 21, 31, .06) !important; }
.wc-blocks-components-select .wc-blocks-components-select__container { border-radius: var(--r-radius-sm) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: var(--r-radius-sm) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--r-ink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--r-ink) !important; border-color: var(--r-ink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff !important; }
.wc-block-components-order-summary-item__image img { border-radius: 12px; background: var(--r-surface-2); }
.wc-block-components-order-summary-item__quantity { background: var(--r-ink) !important; color: #fff !important; border: 2px solid #fff !important; box-shadow: none !important; }
.wc-block-components-panel__button { font-weight: 700 !important; }
.wc-block-components-button.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button { width: 100%; min-height: 54px; font-size: 1rem; }

/* Cart item rows → cards */
.wc-block-cart .wc-block-cart-items { width: 100% !important; table-layout: fixed; border: 0 !important; margin: 0 !important; }
.wc-block-cart .wc-block-cart-items__header { display: none; }
.wc-block-cart .wc-block-cart-items__row {
  display: grid !important; grid-template-columns: 104px minmax(0, 1fr) !important; column-gap: 20px; row-gap: 12px;
  padding: 22px 0 !important; border-bottom: 1px solid var(--r-line);
}
.wc-block-cart .wc-block-cart-items__row:last-child { border-bottom: 0; }
.wc-block-cart .wc-block-cart-items__row > td { padding: 0 !important; border: 0 !important; min-width: 0; width: auto !important; }
.wc-block-cart .wc-block-cart-item__image { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
.wc-block-cart .wc-block-cart-item__image img { width: 104px !important; height: 104px !important; object-fit: cover; border-radius: 16px; background: var(--r-surface-2); }
.wc-block-cart .wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; }
.wc-block-cart .wc-block-cart-item__wrap { display: flex; flex-direction: column; gap: 4px; }
.wc-block-cart .wc-block-components-product-name { font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--r-ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.wc-block-cart .wc-block-cart-item__prices { font-size: .88rem; color: var(--r-muted); }
.wc-block-cart .wc-block-cart-item__prices del { margin-right: 4px; }
.wc-block-cart .wc-block-cart-item__prices ins { text-decoration: none; }
.wc-block-cart .wc-block-components-product-metadata { font-size: .82rem; color: var(--r-muted); margin: 0; }
.wc-block-cart .wc-block-components-product-metadata__description p { margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wc-block-cart .wc-block-components-product-details { margin: 2px 0 0; font-size: .84rem; }
.wc-block-cart .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.wc-block-cart .wc-block-components-quantity-selector { width: 108px; margin: 0 !important; border-radius: var(--r-pill) !important; overflow: hidden; }
.wc-block-cart .wc-block-components-quantity-selector::after { border-radius: var(--r-pill) !important; border-color: var(--r-line-2) !important; }
.wc-block-cart .wc-block-components-quantity-selector input { font-weight: 700; padding: 6px 0 !important; min-width: 0; }
.wc-block-cart .wc-block-cart-item__remove-link { color: var(--r-muted) !important; }
.wc-block-cart .wc-block-cart-item__remove-link:hover { color: var(--r-danger) !important; }
.wc-block-cart .wc-block-cart-item__total { grid-column: 2 !important; grid-row: 2 !important; display: block !important; text-align: left !important; }
.wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between;
  flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; border-radius: var(--r-radius-sm); background: var(--r-bg); max-width: 360px;
}
.wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper::before { content: "Item total"; order: -1; margin-right: auto; font-size: .8rem; font-weight: 600; color: var(--r-muted); }
.wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price { order: 1; font-weight: 800; font-size: 1rem; color: var(--r-ink); white-space: nowrap; }
.wc-block-cart .wc-block-components-sale-badge { order: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--r-success) !important; font-weight: 700; font-size: .78rem; white-space: nowrap; }

/* Empty cart */
.wp-block-woocommerce-empty-cart-block { text-align: center; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-size: 1.4rem !important; font-weight: 800; color: var(--r-ink); padding-top: 90px !important; position: relative; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before {
  content: "" !important; position: absolute; top: 0; left: 50%; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%;
  background: var(--r-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2317151f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.1a2 2 0 0 1-2 1.9H8.2a2 2 0 0 1-2-1.9L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / 32px no-repeat;
  -webkit-mask: none; mask: none;
}
.wp-block-woocommerce-empty-cart-block .wp-block-separator { border: 0 !important; margin: 36px auto !important; max-width: 60px; height: 1px; background: var(--r-line-2) !important; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots::before { display: none; }
.wp-block-woocommerce-empty-cart-block h2 { font-size: 1.4rem; margin-bottom: 24px; }

/* Classic cart/checkout tables (fallback when not using blocks) */
.woocommerce table.shop_table { border: 1px solid var(--r-line) !important; border-radius: var(--r-radius-lg) !important; border-collapse: separate !important; background: #fff; overflow: hidden; margin: 0 0 24px !important; }
.woocommerce table.shop_table th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--r-muted); padding: 14px 18px !important; }
.woocommerce table.shop_table td { padding: 16px 18px !important; border-top: 1px solid var(--r-line) !important; }
.woocommerce table.shop_table img { width: 64px; border-radius: 12px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  background: #fff; border: 1px solid var(--r-line) !important; border-radius: var(--r-radius-lg) !important; padding: 24px !important; margin: 0 0 20px !important;
}
.woocommerce-checkout #payment { background: var(--r-bg) !important; border-radius: var(--r-radius) !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: var(--r-radius-sm); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* Summary bars (cart & checkout) */
.checkout-bar { display: none; }
.checkout-bar:not([hidden]) {
  display: flex; align-items: center; gap: 16px; position: fixed; left: 0; right: 0; bottom: var(--r-tabs-h, 0px); z-index: 89;
  padding: 12px max(var(--r-gutter), calc((100vw - var(--r-wrap)) / 2 + var(--r-gutter)));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--r-line); box-shadow: 0 -12px 32px -20px rgba(23, 21, 31, .3);
  transform: translateZ(0); animation: barUp .45s var(--r-ease) both;
}
@keyframes barUp { from { transform: translateY(100%); } }
.checkout-bar__sum { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.checkout-bar__label { font-size: .78rem; font-weight: 600; color: var(--r-muted); white-space: nowrap; }
.checkout-bar__total { font-size: 1.35rem; font-weight: 800; color: var(--r-ink); white-space: nowrap; letter-spacing: -.02em; }
.checkout-bar__save { font-size: .74rem; font-weight: 700; color: var(--r-success); white-space: nowrap; }
.checkout-bar__btn { margin-left: auto; flex: none; min-height: 50px; padding: 0 30px; }
.checkout-bar__btn[disabled], .checkout-bar__btn.is-busy { opacity: .6; pointer-events: none; }
.checkout-bar__btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: rspin .7s linear infinite; }
@keyframes rspin { to { transform: rotate(360deg); } }
body.has-checkout-bar { padding-bottom: calc(var(--r-tabs-h, 0px) + 80px); }
body.has-checkout-bar .wc-block-cart__submit-container:not(.wc-block-cart__submit-container--sticky),
body.has-checkout-bar .wc-proceed-to-checkout,
body.has-checkout-bar .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
body.has-checkout-bar.woocommerce-checkout #place_order { display: none !important; }
body.has-checkout-bar .wc-block-checkout__actions_row { justify-content: flex-start; }
.wc-block-cart__submit-container--sticky { display: none !important; }
body.has-checkout-bar .wc-block-components-notices__snackbar { bottom: calc(var(--r-tabs-h, 0px) + 92px) !important; }
@media (min-width: 861px) {
  .checkout-bar__sum { flex-direction: row; align-items: baseline; gap: 14px; }
  .checkout-bar__save { padding: 4px 10px; border-radius: var(--r-pill); background: var(--r-success-soft); }
}

/* =====================================================================
   14. My account
   ===================================================================== */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 920px; }
.woocommerce-MyAccount-navigation { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); padding: 10px; position: sticky; top: calc(var(--r-header-h) + 20px); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: var(--r-radius-sm); color: var(--r-text); font-weight: 600; font-size: .95rem; }
.woocommerce-MyAccount-navigation a:hover { background: var(--r-bg); color: var(--r-ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--r-ink); color: #fff; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--r-danger); }
.woocommerce-MyAccount-content { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); padding: clamp(22px, 3vw, 36px); min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { font-size: 1.05rem; color: var(--r-ink); }
.woocommerce-MyAccount-content a:not(.button) { color: var(--r-primary-ink); font-weight: 600; }
.woocommerce-MyAccount-content .woocommerce-orders-table, .woocommerce-MyAccount-content table.shop_table { border-radius: var(--r-radius) !important; }
.woocommerce-MyAccount-content .button { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.woocommerce-Addresses::before, .woocommerce-Addresses::after { display: none !important; }
.woocommerce-Address { width: auto !important; float: none !important; padding: 20px; border: 1px solid var(--r-line); border-radius: var(--r-radius); }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: 1.05rem; margin: 0; }
.woocommerce-Address address { font-style: normal; color: var(--r-muted); margin-top: 10px; }

/* Login / register */
.woocommerce .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.woocommerce .u-columns.col2-set::before, .woocommerce .u-columns.col2-set::after { display: none; }
.woocommerce .u-columns .u-column1, .woocommerce .u-columns .u-column2 { width: auto !important; float: none !important; }
.woocommerce-account:not(.logged-in) .woocommerce > h2, .woocommerce .u-columns h2 { font-size: 1.4rem; margin-bottom: 14px; }
.woocommerce form.login, .woocommerce form.register { padding: 28px !important; }
.woocommerce form .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 500; }
.woocommerce form .woocommerce-form-login__submit, .woocommerce form .woocommerce-form-register__submit { width: 100%; float: none; margin: 0 0 12px; }
.woocommerce .lost_password { margin: 0; font-size: .9rem; }
.woocommerce .lost_password a { color: var(--r-muted); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce form.login .form-row-first, .woocommerce form.login .form-row-last { width: 100%; float: none; }
.woocommerce-privacy-policy-text { font-size: .82rem; color: var(--r-muted); }

/* Order received */
.woocommerce-order { max-width: 880px; }
.woocommerce-thankyou-order-received, .woocommerce-notice--success.woocommerce-thankyou-order-received {
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 20px 22px; border-radius: var(--r-radius-lg);
  background: var(--r-success-soft); color: var(--r-ink); font-size: 1.15rem; font-weight: 700;
}
.woocommerce-thankyou-order-received::before { content: "✓"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--r-success); color: #fff; font-size: 1.1rem; }
ul.woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; list-style: none; padding: 0 !important; margin: 0 0 32px !important; }
ul.woocommerce-order-overview::before, ul.woocommerce-order-overview::after { display: none !important; }
ul.woocommerce-order-overview li { float: none !important; margin: 0 !important; padding: 16px !important; border: 1px solid var(--r-line) !important; border-radius: var(--r-radius); background: #fff; font-size: .75rem !important; text-transform: uppercase; letter-spacing: .08em; color: var(--r-muted); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: 1rem !important; text-transform: none; letter-spacing: -.01em; color: var(--r-ink); }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.25rem; }
.woocommerce-customer-details address { font-style: normal; padding: 20px !important; border: 1px solid var(--r-line) !important; border-radius: var(--r-radius) !important; background: #fff; }
.wc-block-order-confirmation-status { padding: 24px; border-radius: var(--r-radius-lg); background: var(--r-success-soft); }
.wc-block-order-confirmation-summary-list { border-radius: var(--r-radius) !important; }

/* =====================================================================
   15. Custom Orders page
   ===================================================================== */


























.co-card { background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--r-shadow); }
.co-card__title { font-size: 1.6rem; margin-bottom: 6px; }
.co-card__sub { color: var(--r-muted); margin-bottom: 26px; }
.co-error { padding: 14px 18px; margin-bottom: 20px; border-radius: var(--r-radius-sm); background: var(--r-danger-soft); border: 1px solid #f6cbbf; color: var(--r-danger); font-weight: 600; }
.co-form { display: grid; gap: 20px; }
.co-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.co-field label, .co-field legend, .co-label { display: block; margin-bottom: 8px; padding: 0; font-size: .88rem; font-weight: 700; color: var(--r-ink); }
.co-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chip { margin: 0 !important; cursor: pointer; }
.co-chip input { position: absolute; opacity: 0; pointer-events: none; }
.co-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--r-line-2); background: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap; transition: border-color .15s ease, box-shadow .15s ease; }
.co-chip:hover span { border-color: var(--r-ink); }
.co-chip input:checked + span { border-color: var(--r-ink); box-shadow: 0 0 0 1px var(--r-ink); }
.co-chip input:focus-visible + span { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.co-chips.is-flash { animation: nudge .5s ease; }
.co-drop {
  display: flex !important; align-items: center; gap: 16px; margin: 0 !important; padding: 20px; cursor: pointer;
  border: 1.5px dashed var(--r-line-2); border-radius: var(--r-radius); background: var(--r-bg); font-weight: 500 !important;
  transition: border-color .2s ease, background .2s ease;
}
.co-drop:hover, .co-drop.is-over { border-color: var(--r-ink); background: #fff; }
.co-drop:focus-within { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.co-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-drop__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--r-ink); box-shadow: var(--r-shadow-sm); }
.co-drop__icon svg { width: 24px; height: 24px; }
.co-drop__text { color: var(--r-text); font-size: .95rem; }
.co-drop__text strong { color: var(--r-ink); }
.co-drop__text small { display: block; margin-top: 2px; color: var(--r-muted); font-size: .8rem; }
.co-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.co-previews:empty { display: none; }
.co-prev { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--r-bg); border: 1px solid var(--r-line); font-size: .7rem; text-align: center; animation: fadeUp .3s var(--r-ease) both; }
.co-prev img { width: 100%; height: 100%; object-fit: cover; }
.co-prev button { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(23, 21, 31, .75); color: #fff; font-size: .75rem; line-height: 1; cursor: pointer; }
.co-prev-msg { width: 100%; margin: 0; color: var(--r-danger); font-size: .82rem; font-weight: 600; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.co-divider { display: flex; align-items: center; gap: 14px; margin-top: 6px; color: var(--r-muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.co-divider::before, .co-divider::after { content: ""; flex: 1; border-top: 1px solid var(--r-line); }
.co-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-submit { width: 100%; min-height: 56px; font-size: 1.02rem; margin-top: 4px; }
.co-submit.is-busy { opacity: .7; pointer-events: none; }
.co-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--r-muted); font-size: .84rem; text-align: center; }
.co-note svg { width: 15px; height: 15px; }
.co-field.has-error input, .co-field.has-error textarea { border-color: var(--r-danger); background: #fffaf8; }
.co-field .co-msg { margin: 6px 0 0; color: var(--r-danger); font-size: .8rem; font-weight: 600; }
.co-done { padding: 24px 0; text-align: center; }
.co-done__check { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--r-success); color: #fff; animation: popCheck .6s var(--r-ease) both; }
.co-done__check svg { width: 36px; height: 36px; stroke-width: 2.2; }
@keyframes popCheck { from { transform: scale(.6); opacity: 0; } }
.co-done__id { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--r-bg); border: 1px solid var(--r-line); color: var(--r-ink); font-weight: 700; }
.co-done p { max-width: 440px; margin-left: auto; margin-right: auto; color: var(--r-muted); }
.co-done__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.co-faq { display: grid; gap: 10px; }
.co-faq details { background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); padding: 0 22px; transition: border-color .2s ease; }
.co-faq details[open] { border-color: var(--r-line-2); }
.co-faq summary { position: relative; padding: 20px 36px 20px 0; list-style: none; cursor: pointer; font-weight: 700; color: var(--r-ink); }
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.8px solid var(--r-ink); border-bottom: 1.8px solid var(--r-ink); transform: rotate(45deg); transition: transform .25s var(--r-ease); }
.co-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.co-faq p { margin: 0 0 20px; color: var(--r-muted); }

/* =====================================================================
   16. Blog, search, 404, comments
   ===================================================================== */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; padding-bottom: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); overflow: hidden; transition: transform .3s var(--r-ease), box-shadow .3s var(--r-ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--r-shadow-lg); }
.post-card > a img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--r-surface-2); }
.post-card .body { display: flex; flex-direction: column; gap: 6px; padding: 22px; flex: 1; }
.post-card .body h3 { font-size: 1.1rem; margin: 0; }
.post-card .body p { color: var(--r-muted); font-size: .95rem; margin: 0; }
.post-card .body .link-arrow { margin-top: auto; padding-top: 10px; }
.post-card__type { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--r-muted); }
.single-post .page-header { max-width: 820px; margin: 0 auto; }
.single-post .post-thumb { max-width: 820px; margin: 0 auto 28px; border-radius: var(--r-radius-lg); overflow: hidden; }
.single-post .entry-content { max-width: 820px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.75; }
.search-empty { text-align: center; }
.search-empty form, .search-form { display: flex; gap: 10px; max-width: 520px; margin: 18px auto 0; }
.search-form label { flex: 1; }
.search-form .search-field { border-radius: var(--r-pill); padding-left: 20px; }

.error-404 { padding: 110px 0 130px; text-align: center; }
.error-404__code { display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--r-ink); margin-bottom: 16px; }
.error-404__code span { color: var(--r-primary); }
.error-404 p { color: var(--r-muted); max-width: 440px; margin: 0 auto; }
.error-404 .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

.comments-area { max-width: 820px; margin: 0 auto 90px; }
.comments-title, .comment-reply-title { font-size: 1.35rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.comment-list .children { list-style: none; margin: 14px 0 0; padding-left: 24px; display: grid; gap: 14px; }
.comment-body { padding: 18px 20px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--r-muted); margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; }
.comment-meta b, .comment-meta .fn { color: var(--r-ink); font-style: normal; }
.comment-respond { padding: 28px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 500; font-size: .88rem; color: var(--r-muted); }
.comment-notes, .logged-in-as { color: var(--r-muted); font-size: .9rem; }
.form-submit .submit { width: auto; }

/* =====================================================================
   17. Mobile app layer: bottom tabs, category sheet, buy bar, fly-to-cart
   ===================================================================== */
.app-tabs, .cat-sheet, .sheet-backdrop, .buy-bar { display: none; }

.fly-to-cart { position: fixed; z-index: 9999; pointer-events: none; background: #fff center / cover no-repeat; border-radius: 16px; box-shadow: 0 16px 34px -12px rgba(23, 21, 31, .45); will-change: transform, opacity; }
.fly-to-cart.is-dot { background: var(--r-primary); }
a.added_to_cart, .woocommerce-message .button.wc-forward { display: none !important; }

/* =====================================================================
   18. Responsive
   ===================================================================== */
@media (max-width: 1280px) {
  .main-nav a { padding: 10px 10px; font-size: .92rem; }
  .header-custom { padding: 0 12px; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .header-custom { font-size: 0; gap: 0; width: 40px; padding: 0; justify-content: center; }
  .header-custom svg { width: 18px; height: 18px; }
}
@media (max-width: 1024px) {
  .woocommerce ul.products, .woocommerce-page ul.products, .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
}

@media (max-width: 860px) {
  :root { --r-header-h: 62px; --r-tabs-h: calc(64px + env(safe-area-inset-bottom)); --r-gutter: 18px; }
  body { padding-bottom: var(--r-tabs-h); }
  .hide-mobile { display: none !important; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 22px; }

  /* Header + drawer */
  .site-header > .wrap { gap: 12px; }
  .brand { font-size: 1.1rem; }
  .brand .custom-logo { max-height: 40px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .main-nav {
    display: none; position: fixed; inset: 0 0 0 auto; z-index: 95; width: min(340px, 86vw); margin: 0; padding: 88px 18px 24px;
    background: #fff; box-shadow: -20px 0 60px -20px rgba(23, 21, 31, .35); overflow-y: auto;
  }
  .main-nav.is-open { display: block; animation: navIn .3s var(--r-ease) both; }
  @keyframes navIn { from { transform: translateX(100%); } }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; border-radius: var(--r-radius-sm); font-size: 1.02rem; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  body.menu-open .menu-toggle { visibility: hidden; }

  /* Bottom tabs */
  .app-tabs {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: var(--r-tabs-h); padding: 6px 6px env(safe-area-inset-bottom); align-items: start;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--r-line); transform: translateZ(0);
  }
  .app-tabs--5 { grid-template-columns: repeat(5, 1fr); }
  .app-tab {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0; border: 0; background: none; cursor: pointer;
    color: var(--r-muted); font: 600 .68rem/1.2 var(--r-font); letter-spacing: .01em; -webkit-tap-highlight-color: transparent;
  }
  .app-tab__icon { position: relative; width: 48px; height: 30px; display: grid; place-items: center; border-radius: var(--r-pill); transition: background .2s ease, color .2s ease, transform .15s ease; }
  .app-tab__icon svg { width: 22px; height: 22px; }
  .app-tab .cart-count { top: -3px; right: 5px; box-shadow: 0 0 0 2px #fff; }
  .app-tab:hover { color: var(--r-ink); }
  .app-tab.is-active, .app-tab.is-open { color: var(--r-ink); font-weight: 700; }
  .app-tab.is-active .app-tab__icon, .app-tab.is-open .app-tab__icon { background: var(--r-surface-2); }
  .app-tab:active .app-tab__icon { transform: scale(.92); }
  .app-tab--custom .app-tab__icon {
    width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; background: var(--r-ink); color: #fff;
    box-shadow: 0 10px 20px -10px rgba(23, 21, 31, .6), 0 0 0 4px #fff;
  }
  .app-tab--custom .app-tab__icon svg { width: 24px; height: 24px; }
  .app-tab--custom .app-tab__label { color: var(--r-ink); }
  .app-tab--custom.is-active .app-tab__icon { background: var(--r-primary); }

  /* Category sheet */
  .sheet-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 95; background: rgba(23, 21, 31, .4); animation: fadeIn .25s ease both; }
  .cat-sheet:not([hidden]) {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 82vh; overflow-y: auto;
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; border-radius: 26px 26px 0 0;
    animation: sheetUp .35s var(--r-ease) both;
  }
  .cat-sheet__grab { width: 40px; height: 5px; margin: 4px auto 12px; border-radius: var(--r-pill); background: var(--r-line-2); }
  .cat-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .cat-sheet__head h3 { margin: 0; font-size: 1.25rem; }
  .cat-sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .cat-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--r-ink); font-weight: 600; font-size: .82rem; line-height: 1.25; }
  .cat-chip__img { display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border-radius: 22px; background: var(--r-surface-2); color: var(--r-ink); font-size: 1.4rem; font-weight: 800; }
  .cat-chip__img img { width: 100%; height: 100%; object-fit: cover; }
  .cat-chip__img svg { width: 28px; height: 28px; }
  body.sheet-open { overflow: hidden; }

  /* Product page buy bar */
  .buy-bar:not([hidden]) {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: var(--r-tabs-h); z-index: 89;
    padding: 10px var(--r-gutter); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--r-line);
    box-shadow: 0 -12px 32px -20px rgba(23, 21, 31, .3); transform: translateZ(0);
  }
  .buy-bar__price { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.15; }
  .buy-bar__price ins, .buy-bar__price > .amount, .buy-bar__price .price > .amount, .buy-bar__price > bdi { order: -1; text-decoration: none; font-size: 1.25rem; font-weight: 800; color: var(--r-ink); letter-spacing: -.02em; }
  .buy-bar__price del { font-size: .78rem; color: var(--r-muted); }
  .buy-bar__price .screen-reader-text { position: absolute !important; }
  .buy-bar__add { position: relative; flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1.5px solid var(--r-ink); background: #fff; color: var(--r-ink); cursor: pointer; }
  .buy-bar__add svg { width: 22px; height: 22px; }
  .buy-bar__add span { position: absolute; top: 6px; right: 7px; font-size: .85rem; font-weight: 800; line-height: 1; }
  .buy-bar__buy { flex: none; min-height: 50px; padding: 0 26px; }
  body.has-buy-bar { padding-bottom: calc(var(--r-tabs-h) + 76px); }
  body.has-buy-bar .summary form.cart .single_add_to_cart_button, body.has-buy-bar .summary form.cart .ramox-buy-now { display: none !important; }

  .wa-float { bottom: calc(var(--r-tabs-h) + 14px); right: 14px; width: 48px; height: 48px; }
  .wa-float svg { width: 24px; height: 24px; }

  /* Home */
  .hx { padding: 30px 0 64px; }
  .hx-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hx-stage { max-width: 460px; margin: 0 auto; }
  .hx-nav { display: none; }
  .pillars-section { padding: 56px 0 8px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pillar { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding: 18px; border-radius: var(--r-radius); }
  .pillar:hover { transform: none; box-shadow: none; }
  .pillar.reveal { opacity: 1; transform: none; }
  .pillar__top { grid-row: span 4; margin: 0; min-height: 0; align-items: flex-start; }
  .pillar__icon { width: 48px; height: 48px; border-radius: 14px; }
  .pillar__icon svg { width: 22px; height: 22px; }
  .pillar__thumbs { display: none; }
  .pillar h3 { font-size: 1.08rem; }
  .pillar p { font-size: .9rem; }
  .pillar__cta { padding-top: 8px; font-size: .9rem; }
  .bub-section { padding-top: 48px; }
  .bubbles { flex-wrap: nowrap; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--r-gutter); margin: 0 calc(var(--r-gutter) * -1); padding: 2px var(--r-gutter) 8px; scrollbar-width: none; }
  .bubbles::-webkit-scrollbar { display: none; }
  .bubble { flex: none; width: 82px; scroll-snap-align: start; }
  .bubble.reveal { opacity: 1; transform: none; }
  .bubble__ring { width: 76px; height: 76px; padding: 2px; }
  .bubble__name { font-size: .8rem; margin-top: 8px; }
  .deal { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 22px; border-radius: var(--r-radius-lg); }
  .deal__img { width: min(64%, 240px); order: -1; }
  .rail-section .section-head { flex-direction: column; align-items: flex-start; }
  .rail ul.products {
    display: flex !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--r-gutter);
    margin: 0 calc(var(--r-gutter) * -1) !important; padding: 0 var(--r-gutter) 10px !important; scrollbar-width: none;
  }
  .rail ul.products::-webkit-scrollbar { display: none; }
  .rail ul.products li.product { flex: 0 0 44% !important; scroll-snap-align: start; }
  .coll-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .coll { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-radius-lg); }
  .coll:hover { transform: none; box-shadow: none; }
  .coll__art { flex: 0 0 42%; height: 140px; margin: 0; }
  .coll__art.n3 img { width: 62%; }
  .coll__art.n3 img:nth-child(2) { left: 19%; }
  .coll__body { margin: 0; padding: 0 0 52px; }
  .coll__body h3 { font-size: 1.15rem; }
  .coll__body p { font-size: .85rem; }
  .coll__go { width: 40px; height: 40px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 18px; border-radius: var(--r-radius); }
  .flow li i { grid-row: span 2; margin: 0; }
  .flow li h3 { margin: 2px 0; font-size: 1.02rem; }
  .flow li p { font-size: .9rem; }
  .flow li::before { top: 18px; right: 18px; }
  .glow-cta { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 34px 24px; border-radius: var(--r-radius-lg); }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--r-gutter); margin: 0 calc(var(--r-gutter) * -1); padding: 0 var(--r-gutter) 8px; gap: 12px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews .review { flex: 0 0 84%; scroll-snap-align: start; padding: 22px; }

  /* Shop */
  .shop-hero { padding: 28px 0 18px; }
  .shop-cats { flex-wrap: nowrap; overflow-x: auto; margin: 16px calc(var(--r-gutter) * -1) 0; padding: 0 var(--r-gutter) 4px; scrollbar-width: none; }
  .shop-cats::-webkit-scrollbar { display: none; }
  .woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-3 { gap: 28px 14px; }

  /* Product page */
  .single-product .content-area { padding-top: 12px; }
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; }
  .woocommerce div.product div.images { margin: 0 !important; width: 100% !important; }
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper, .woocommerce div.product div.images .flex-viewport { border-radius: var(--r-radius-lg); }
  .woocommerce div.product div.images .flex-control-thumbs li { width: 62px !important; }
  .woocommerce div.product .summary > p.price, .woocommerce div.product .summary > span.price { font-size: 1.75rem !important; }
  .single-product .pdp-more .woocommerce-tabs { margin-top: 44px; }
  .single-product .pdp-more .woocommerce-tabs ul.tabs { width: auto; }
  .single-product .pdp-more .related > h2, .single-product .pdp-more .upsells > h2 { margin-top: 48px; font-size: 1.35rem; }
  .product-perks li { padding: 12px; gap: 10px; font-size: .84rem; }
  .product-perks li i { width: 34px; height: 34px; border-radius: 10px; }
  .product-perks li i svg { width: 18px; height: 18px; }

  /* Cart & checkout */
  .wc-block-cart .wc-block-cart__main { padding: 4px 16px; }
  .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block { padding: 4px 16px 16px; }
  .wc-block-cart .wc-block-cart-items__row { grid-template-columns: 76px minmax(0, 1fr) !important; column-gap: 14px; padding: 16px 0 !important; }
  .wc-block-cart .wc-block-cart-item__image img { width: 76px !important; height: 76px !important; border-radius: 14px; }
  .wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper { max-width: none; }
  .wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-components-sale-badge { flex-basis: 100%; order: 3; text-align: right; }
  .wc-block-checkout__main .wc-block-components-checkout-step { padding: 18px !important; }
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { padding: 14px 16px; }
  .checkout-bar:not([hidden]) { padding: 10px var(--r-gutter); border-radius: 22px 22px 0 0; }
  .checkout-bar__btn { padding: 0 24px; }
  body.woocommerce-checkout.has-checkout-bar .checkout-bar__btn { max-width: 58%; overflow: hidden; text-overflow: ellipsis; }

  /* Account */
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .woocommerce-MyAccount-navigation { position: static; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; padding: 10px 14px; font-size: .9rem; }
  .woocommerce .u-columns.col2-set, .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }

  /* Custom orders */
  
  
  
  
  
  
  
  
  
  .co-card { margin: 0 -6px; border-radius: var(--r-radius-lg); }
  .co-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .co-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .co-row--3 > :last-child { grid-column: 1 / -1; }
  .co-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(clamp(24px, 4vw, 44px) * -1); padding: 2px clamp(24px, 4vw, 44px) 6px; scrollbar-width: none; }
  .co-chips::-webkit-scrollbar { display: none; }
  .co-chip { flex: none; }

  /* Blog */
  .post-list { grid-template-columns: minmax(0, 1fr); }
  .error-404 { padding: 70px 0 90px; }
}

@media (max-width: 600px) {
  .woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-3, .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .woocommerce ul.products li.product { --pc-r: 16px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .9rem !important; }
  .woocommerce ul.products li.product .price { font-size: .95rem !important; }
  .woocommerce ul.products li.product .button { right: 8px; top: calc(100cqw - 44px); min-height: 34px; padding: 0 12px; font-size: .78rem; }
  .woocommerce ul.products li.product .onsale { top: 8px !important; left: 8px !important; font-size: .68rem; padding: 4px 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer { padding: 52px 0 24px; }
  .hx-title { font-size: 2.5rem; }
  .hx-lede { font-size: 1rem; }
  .hx-ctas { margin: 26px 0 30px; }
  .hx-ctas .btn { flex: 1 1 auto; }
  .hx-stats { gap: 20px; }
  .hx-stats li { padding-left: 14px; }
  .hx-stats strong { font-size: 1.35rem; }
  .hx-eyebrow { font-size: .66rem; letter-spacing: .06em; }
  .hx-media { padding: 28px 28px 10px; bottom: 92px; }
  .hx-card { left: 12px; right: 12px; bottom: 12px; padding: 12px 12px 12px 16px; }
  .hx-card__name { font-size: .95rem; }
  .hx-card__btn.button { min-height: 42px; padding: 0 18px; }
  .countdown span { min-width: 58px; padding: 10px 6px; }
  .countdown b { font-size: 1.35rem; }
  .ramox-personalize .row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  :root { --r-gutter: 16px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .hx-title { font-size: 2.2rem; }
  .app-tab { font-size: .62rem; }
}

/* =====================================================================
   19. Motion & performance
   ===================================================================== */
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
.hx.is-offscreen *, .hx.is-offscreen *::before, .hx.is-offscreen *::after,
.ticker.is-offscreen .ticker__track, .deal.is-offscreen * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .announce, .site-header, .site-footer, .app-tabs, .wa-float, .checkout-bar, .buy-bar { display: none !important; }
  body { background: #fff; padding: 0 !important; }
}
.deal__tag svg { width: 16px; height: 16px; }

.woocommerce-notices-wrapper :focus, .woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .wc-block-components-notice-banner:focus { outline: none !important; }
.pdp-more { clear: both; }

.wc-block-components-product-name { text-decoration: none !important; color: var(--r-ink) !important; }
.post-card.type-product > a img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 14px; }
.woocommerce form .password-input, .woocommerce-page form .password-input { position: relative; display: block; }
.woocommerce form .password-input input[type="password"], .woocommerce form .password-input input[type="text"] { padding-right: 52px; }
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--r-muted); cursor: pointer; display: grid; place-items: center;
}
.woocommerce form .show-password-input:hover { background: var(--r-surface-2); color: var(--r-ink); }
.woocommerce form .show-password-input::after { position: static; margin: 0; }
.woocommerce-tabs ul.tabs { list-style: none; }
.woocommerce-tabs .panel > h2:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .hx-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
  .hx-stats li { padding: 0 16px; }
  .hx-stats li:first-child { padding-left: 0; }
  /* Phones: WhatsApp lives in the footer, product pages and Custom Orders instead of floating over content */
  .wa-float { display: none; }
}
@media (max-width: 860px) {
  /* Frosted blur on the header would trap the fixed menu drawer inside the header box */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 248, 245, .98); }
  .main-nav.is-open { box-shadow: 0 0 0 100vmax rgba(23, 21, 31, .38), -20px 0 60px -20px rgba(23, 21, 31, .35); }
  body.menu-open { overflow: hidden; }
}
.wc-block-components-quantity-selector input, .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.nav-head { display: none; }
@media (max-width: 860px) {
  .main-nav { padding-top: 16px; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; padding: 0 4px 12px 16px; border-bottom: 1px solid var(--r-line); }
  .nav-head span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--r-muted); }
}

/* =====================================================================
   Button text always centred — even if WooCommerce / a cache plugin
   loads its own button styles after the theme.
   ===================================================================== */
.btn, .button, button.button, input[type="submit"].button, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  line-height: 1.1 !important; padding-top: 0 !important; padding-bottom: 0 !important; vertical-align: middle;
}
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product a.button, .woocommerce-page ul.products li.product .button {
  height: 38px !important; min-height: 0 !important; padding: 0 16px !important; margin: 0 !important; gap: 3px;
  font-size: .82rem !important; line-height: 1 !important; text-align: center;
}
.woocommerce ul.products li.product .button::before { line-height: 1; display: inline-block; transform: translateY(-.5px); }
@media (max-width: 600px) {
  .woocommerce ul.products li.product .button, .woocommerce ul.products li.product a.button { height: 34px !important; padding: 0 13px !important; font-size: .78rem !important; }
}
.deal-section { padding-bottom: 0; }

/* Cart: shipping is chosen at checkout (3.1.2) */
.wc-block-cart .wc-block-components-totals-shipping,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals,
.woocommerce-cart .cart_totals .shipping { display: none !important; }
body.rx-own-total .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.rx-own-total .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__description { display: none !important; }
.rx-cart-total { margin-left: auto; font-weight: 800; font-size: 1.25rem; color: var(--r-ink); white-space: nowrap; }
.rx-ship-note { margin: 10px 0 0; font-size: .85rem; color: var(--r-muted); }

/* =====================================================================
   3D product view (3.2.0)
   ===================================================================== */
.r3d-host { position: relative; }
.r3d-open {
  position: absolute; left: 16px; bottom: 16px; z-index: 6;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px 0 13px; margin: 0;
  border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .96); color: var(--r-ink);
  font: inherit; font-size: .86rem; font-weight: 700; line-height: 1; cursor: pointer;
  box-shadow: 0 1px 2px rgba(23, 21, 31, .08), 0 10px 24px -12px rgba(23, 21, 31, .35);
  transition: transform .2s var(--r-ease), box-shadow .2s ease; -webkit-tap-highlight-color: transparent;
}
.r3d-open[hidden] { display: none; }
.r3d-open svg { width: 19px; height: 19px; flex: none; }
.r3d-open::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 1.5px solid rgba(255, 255, 255, .9);
  animation: r3dPulse 2.8s ease-out infinite; pointer-events: none;
}
.r3d-open:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(23, 21, 31, .08), 0 14px 28px -12px rgba(23, 21, 31, .45); }
.r3d-open:active { transform: scale(.97); }
.r3d-open:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 3px; }
@keyframes r3dPulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.35); } }

.r3d-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px 4px 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .95); color: var(--r-ink);
  font-size: .68rem; font-weight: 800; line-height: 1; letter-spacing: .02em; box-shadow: 0 1px 2px rgba(23, 21, 31, .1);
}
.r3d-tag svg { width: 13px; height: 13px; }

html.r3d-lock, html.r3d-lock body { overflow: hidden; }
.r3d { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.r3d[hidden] { display: none; }
.r3d-backdrop { position: absolute; inset: 0; background: rgba(23, 21, 31, .5); opacity: 0; transition: opacity .22s ease; }
.r3d-panel {
  position: relative; display: flex; flex-direction: column; width: min(980px, 100%); height: min(760px, calc(100vh - 48px)); height: min(760px, calc(100dvh - 48px));
  border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 50% 38%, #fff 0%, #f6f3ee 62%, #ece7df 100%);
  box-shadow: 0 40px 80px -30px rgba(23, 21, 31, .55); opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .22s ease, transform .3s var(--r-ease);
}
.r3d.is-open .r3d-backdrop { opacity: 1; }
.r3d.is-open .r3d-panel { opacity: 1; transform: none; }
.r3d-head { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 0 26px; pointer-events: none; }
.r3d-htext { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 4px; }
.r3d-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--r-muted); }
.r3d-title { font-size: 1.1rem; font-weight: 700; color: var(--r-ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r3d-x, .r3d-reset {
  pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: var(--r-ink); cursor: pointer; box-shadow: 0 1px 2px rgba(23, 21, 31, .08), 0 6px 16px -8px rgba(23, 21, 31, .3);
  transition: transform .15s ease;
}
.r3d-x svg, .r3d-reset svg { width: 20px; height: 20px; }
.r3d-x:hover, .r3d-reset:hover { transform: scale(1.06); }
.r3d-x:focus-visible, .r3d-reset:focus-visible, .r3d-chip:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 2px; }
.r3d-stage { position: relative; flex: 1; min-height: 0; }
.r3d-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline: none; }
.r3d-canvas:active { cursor: grabbing; }
.r3d-reset { position: absolute; right: 20px; bottom: 20px; z-index: 2; opacity: 0; transition: opacity .3s ease, transform .15s ease; }
.r3d.is-ready .r3d-reset { opacity: 1; }
.r3d-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--r-muted); transition: opacity .3s ease; }
.r3d-load.is-done { opacity: 0; }
.r3d-load small { font-size: .85rem; }
.r3d-pct { margin-top: -52px; margin-bottom: 30px; font-size: .82rem; color: var(--r-ink); font-variant-numeric: tabular-nums; }
.r3d-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.r3d-ring circle { fill: none; stroke: var(--r-line); stroke-width: 3.5; }
.r3d-ring .r3d-ring-bar { stroke: var(--r-ink); stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset .2s ease; }
.r3d-err { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 40px; text-align: center; color: var(--r-muted); }
.r3d-err[hidden] { display: none; }
.r3d-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: var(--r-pill); background: rgba(23, 21, 31, .78); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap;
  transform: translateX(-50%); opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.r3d-hint svg { width: 18px; height: 18px; }
.r3d.is-ready .r3d-hint { opacity: 1; }
.r3d .r3d-hint.is-gone { opacity: 0; }
.r3d-foot { position: relative; z-index: 2; padding: 14px 26px 20px; border-top: 1px solid rgba(23, 21, 31, .06); background: rgba(255, 255, 255, .7); }
.r3d-colors { display: flex; align-items: center; gap: 14px; min-width: 0; }
.r3d-colors > span { font-size: .78rem; font-weight: 700; color: var(--r-muted); flex: none; }
.r3d-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; }
.r3d-chips::-webkit-scrollbar { display: none; }
.r3d-chip {
  width: 30px; height: 30px; flex: none; margin: 0; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(23, 21, 31, .14); transition: box-shadow .15s ease, transform .15s ease;
}
.r3d-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(23, 21, 31, .14), 0 0 0 2px #fff, 0 0 0 4px var(--r-ink); }
.r3d-chip:hover { transform: scale(1.08); }
.r3d-cname { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--r-ink); white-space: nowrap; margin-left: auto; }

@media (max-width: 860px) {
  .r3d-open { left: 12px; bottom: 12px; height: 40px; font-size: .82rem; }
  .r3d { padding: 0; place-items: stretch; }
  .r3d-panel { width: 100%; height: 100%; border-radius: 0; transform: translateY(24px); }
  .r3d-head { padding: calc(12px + env(safe-area-inset-top)) 14px 0 18px; }
  .r3d-title { font-size: 1rem; }
  .r3d-reset { right: 14px; bottom: 14px; }
  .r3d-hint { bottom: 16px; }
  .r3d-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
  .r3d-cname { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .r3d-open::before { animation: none; display: none; }
  .r3d-panel, .r3d-backdrop { transition: none; }
}
@media (max-width: 860px) {
  .r3d-hint { bottom: 20px; left: 18px; transform: none; padding: 8px 12px; font-size: .74rem; }
}
.r3d-load { pointer-events: none; }
.r3d-load[hidden], .r3d-hint[hidden] { display: none; }

/* =====================================================================
   Custom Orders page — studio layout (3.3.0)
   ===================================================================== */
.cx-eyebrow { display: inline-block; margin-bottom: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--r-primary); }
.cx-head { max-width: 640px; margin-bottom: 40px; }
.cx-head h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.03em; line-height: 1.12; }
.cx-head p { margin: 12px 0 0; color: var(--r-muted); font-size: 1.05rem; }
.cx-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; max-width: none; }
.cx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--r-ink); }
.cx-link svg { width: 18px; height: 18px; transition: transform .2s var(--r-ease); }
.cx-link:hover { color: var(--r-ink); }
.cx-link:hover svg { transform: translateX(3px); }

/* Hero */
.cx-hero { padding: 64px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--r-bg) 100%); border-bottom: 1px solid var(--r-line); }
.cx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 64px; align-items: center; }
.cx-hero h1 { margin: 0 0 20px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.045em; max-width: 12ch; }
.cx-hero__lede { margin: 0; max-width: 520px; color: var(--r-muted); font-size: 1.14rem; line-height: 1.65; }
.cx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.cx-hero__ctas .btn svg { width: 18px; height: 18px; }
.cx-wa svg { width: 19px; height: 19px; color: #1fa855; }
.cx-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; padding-top: 28px; border-top: 1px solid var(--r-line); }
.cx-facts > div { padding: 0 32px; border-left: 1px solid var(--r-line); }
.cx-facts > div:first-child { padding-left: 0; border-left: 0; }
.cx-facts dt { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--r-ink); line-height: 1.1; }
.cx-facts dd { margin: 4px 0 0; color: var(--r-muted); font-size: .86rem; }

.cx-hero__visual { position: relative; padding: 0 0 36px 36px; }
.cx-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .92; }
.cx-mosaic__item { margin: 0; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--r-line); }
.cx-mosaic__item--1 { grid-row: 1 / 3; }
.cx-mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--r-ease); }
.cx-hero__visual:hover .cx-mosaic__item img { transform: scale(1.03); }
.cx-mosaic--empty { display: grid; place-items: center; grid-template: none; border-radius: 28px; background: #fff; border: 1px solid var(--r-line); color: var(--r-line-2); }
.cx-mosaic--empty svg { width: 96px; height: 96px; stroke-width: 1; }
.cx-status {
  position: absolute; left: 0; bottom: 0; width: 244px; padding: 18px 20px; border-radius: 20px; background: #fff;
  border: 1px solid var(--r-line); box-shadow: 0 30px 60px -30px rgba(23, 21, 31, .35);
}
.cx-status__head { display: block; margin-bottom: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--r-muted); }
.cx-status ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-status li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--r-ink); }
.cx-status i { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; font-style: normal; }
.cx-status i svg { width: 13px; height: 13px; stroke-width: 2.6; }
.cx-status .is-done i { background: var(--r-success); color: #fff; }
.cx-status .is-now i { border: 2px solid var(--r-primary); position: relative; }
.cx-status .is-now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--r-primary); animation: cxBlink 1.6s ease-in-out infinite; }
@keyframes cxBlink { 50% { opacity: .25; } }

/* Services */
.cx-services { padding-top: 96px; }
.cx-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cx-svc {
  display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: var(--r-radius-lg); background: #fff; border: 1px solid var(--r-line);
  transition: border-color .25s ease, box-shadow .3s var(--r-ease), transform .3s var(--r-ease);
}
.cx-svc:hover { border-color: var(--r-line-2); box-shadow: 0 24px 48px -32px rgba(23, 21, 31, .35); transform: translateY(-3px); }
.cx-svc__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--r-bg); border: 1px solid var(--r-line); color: var(--r-ink); }
.cx-svc__icon svg { width: 24px; height: 24px; }
.cx-svc h3 { margin: 0 0 8px; font-size: 1.14rem; letter-spacing: -.01em; }
.cx-svc p { margin: 0 0 18px; color: var(--r-muted); font-size: .94rem; line-height: 1.6; }
.cx-svc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; }
.cx-svc__tags li { padding: 4px 10px; border-radius: var(--r-pill); background: var(--r-bg); color: var(--r-text); font-size: .76rem; font-weight: 600; }
.cx-svc__cta {
  display: inline-flex; align-items: center; gap: 6px; margin: auto 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--r-line); background: none;
  color: var(--r-ink); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-align: left;
}
.cx-svc__cta svg { width: 17px; height: 17px; transition: transform .2s var(--r-ease); }
.cx-svc__cta:hover svg { transform: translateX(4px); }

/* Process */
.cx-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; counter-reset: none; }
.cx-steps li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--r-line-2); }
.cx-steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--r-ink); box-shadow: 0 0 0 4px var(--r-surface); }
.cx-steps__n { display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 800; color: var(--r-muted); letter-spacing: .08em; }
.cx-steps__when { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--r-line); font-size: .74rem; font-weight: 700; color: var(--r-ink); }
.cx-steps h3 { margin: 0 0 8px; font-size: 1.12rem; }
.cx-steps p { margin: 0; color: var(--r-muted); font-size: .94rem; line-height: 1.6; }

/* Recent work */
.cx-work__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cx-work__rail::-webkit-scrollbar { display: none; }
.cx-work__item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; color: var(--r-ink); }
.cx-work__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #fff; border: 1px solid var(--r-line); transition: transform .5s var(--r-ease); }
.cx-work__item:hover { color: var(--r-ink); }
.cx-work__item:hover img { transform: translateY(-3px); }
.cx-work__item span { font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Request */
.cx-request__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr); gap: 40px; align-items: start; }
.cx-brief { position: sticky; top: calc(var(--r-header-h) + 24px); padding: 36px 32px; border-radius: var(--r-radius-xl); background: var(--r-ink); color: rgba(255, 255, 255, .72); }
.cx-brief .cx-eyebrow { color: #ff9a7f; }
.cx-brief h2 { margin: 0 0 12px; color: #fff; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.15; }
.cx-brief > p { margin: 0 0 28px; font-size: .98rem; }
.cx-brief__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cx-brief__list li { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.cx-brief__list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: #fff; }
.cx-brief__list strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 2px; }
.cx-brief__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cx-brief__contact > span { width: 100%; margin-bottom: 4px; font-size: .82rem; font-weight: 600; }
.cx-brief__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .9rem; font-weight: 700; transition: background .2s ease, border-color .2s ease; }
.cx-brief__contact a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; }
.cx-brief__contact svg { width: 18px; height: 18px; }

.cx-card { padding: 0; overflow: hidden; }
.cx-card .co-form { gap: 0; }
.cx-card .co-error { margin: 28px 36px 0; }
.cx-card .co-done { padding: 56px 36px; }
.cx-part { display: grid; gap: 20px; padding: 32px 36px; border-top: 1px solid var(--r-line); }
.cx-part:first-of-type { border-top: 0; }
.cx-part__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.08rem; letter-spacing: -.01em; }
.cx-part__title span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--r-ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.cx-card .co-field label em, .cx-card .co-label em { font-style: normal; color: var(--r-primary); }
.cx-card .co-field label small, .cx-card .co-label small { margin-left: 4px; font-size: .78rem; font-weight: 500; color: var(--r-muted); }
.cx-submit { display: grid; gap: 12px; padding: 26px 36px 30px; background: var(--r-bg); border-top: 1px solid var(--r-line); }
.cx-submit .co-submit { margin: 0; }

/* FAQ */
.cx-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.cx-faq .cx-head { position: sticky; top: calc(var(--r-header-h) + 24px); margin: 0; }

/* Closing call to action */
.cx-cta { padding: 0 0 96px; }
.cx-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 48px 52px; border-radius: var(--r-radius-xl); background: var(--r-ink); color: rgba(255, 255, 255, .72); }
.cx-cta__box h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.cx-cta__box p { margin: 0; max-width: 520px; }
.cx-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-cta__wa { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3) !important; }
.cx-cta__wa:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6) !important; }
.cx-cta__wa svg { width: 19px; height: 19px; }

@media (max-width: 1100px) {
  .cx-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-hero__grid { gap: 40px; }
}
@media (max-width: 860px) {
  .cx-hero { padding: 36px 0 56px; }
  .cx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cx-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .cx-hero__lede { font-size: 1.02rem; }
  .cx-hero__ctas { margin: 26px 0 30px; }
  .cx-hero__ctas .btn { flex: 1 1 100%; }
  .cx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 22px; }
  .cx-facts > div { padding: 0 12px; }
  .cx-facts dt { font-size: 1.2rem; }
  .cx-facts dd { font-size: .78rem; }
  .cx-hero__visual { padding: 0 0 28px 20px; }
  .cx-status { width: 210px; padding: 14px 16px; }
  .cx-status li { font-size: .84rem; }
  .cx-services { padding-top: 64px; }
  .cx-head { margin-bottom: 28px; }
  .cx-svc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cx-svc { padding: 22px 20px 18px; }
  .cx-svc__icon { margin-bottom: 16px; }
  .cx-steps { grid-template-columns: minmax(0, 1fr); }
  .cx-steps li { padding: 0 0 30px 30px; border-top: 0; border-left: 2px solid var(--r-line-2); margin-left: 5px; }
  .cx-steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
  .cx-steps li::before { top: 0; left: -7px; }
  .cx-steps__n { display: inline-block; margin: 0 10px 10px 0; }
  .cx-work__rail { grid-auto-columns: 62%; margin: 0 calc(var(--r-gutter, 20px) * -1); padding: 0 var(--r-gutter, 20px) 6px; scroll-padding: 0 var(--r-gutter, 20px); }
  .cx-request__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cx-brief { position: static; padding: 28px 22px; border-radius: var(--r-radius-lg); }
  .cx-brief h2 { font-size: 1.45rem; }
  .cx-brief__list { gap: 14px; }
  .cx-card { margin: 0; border-radius: var(--r-radius-lg); }
  .cx-part { padding: 26px 20px; }
  .cx-card .co-error { margin: 22px 20px 0; }
  .cx-card .co-chips { margin: 0 -20px; padding: 2px 20px 6px; }
  .cx-submit { padding: 22px 20px 24px; }
  .cx-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cx-faq .cx-head { position: static; }
  .cx-cta { padding-bottom: 64px; }
  .cx-cta__box { padding: 32px 24px; border-radius: var(--r-radius-lg); }
  .cx-cta__btns, .cx-cta__btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-status .is-now i::after { animation: none; }
}
@media (max-width: 860px) { .cx-request.is-sent .cx-brief { display: none; } }

/* =====================================================================
   Coupon game — Layer Stack (3.4.0)
   ===================================================================== */
.rg-section { padding-top: 0; }
.rg-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 32px;
  padding: 48px 52px; border-radius: var(--r-radius-xl); background: linear-gradient(135deg, #fff4ee 0%, #f1f0ff 100%); border: 1px solid var(--r-line);
}
.rg-banner__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; color: var(--r-ink); font-size: .76rem; font-weight: 800; letter-spacing: .04em; box-shadow: var(--r-shadow-sm); }
.rg-banner__tag svg { width: 15px; height: 15px; color: var(--r-primary); }
.rg-banner h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; max-width: 16ch; }
.rg-banner p { margin: 0 0 26px; max-width: 470px; color: var(--r-muted); }
.rg-play svg { width: 18px; height: 18px; }
.rg-banner__art { position: relative; height: 210px; }
.rg-banner__art span {
  --w: calc(150px - var(--i) * 6px);
  position: absolute; left: 50%; bottom: calc(18px + var(--i) * 22px); width: var(--w); height: var(--w);
  transform: translateX(-50%) rotateX(60deg) rotateZ(45deg); transform-origin: 50% 50%;
  background: hsl(calc(12 + var(--i) * 9), 78%, 66%); border-radius: 6px;
  box-shadow: 0 10px 0 -1px hsl(calc(12 + var(--i) * 9), 58%, 46%);
  animation: rgFloat 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.18s);
}
.rg-banner__art span:first-child { background: #3a3746; box-shadow: 0 12px 0 -1px #211f29; }
@keyframes rgFloat { 50% { translate: 0 -5px; } }

.rg-launch {
  position: fixed; left: 20px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; margin: 0;
  border: 0; border-radius: var(--r-pill); background: var(--r-ink); color: #fff; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(23, 21, 31, .6); transition: transform .2s var(--r-ease);
}
.rg-launch svg { width: 18px; height: 18px; color: #ffb199; }
.rg-launch:hover { transform: translateY(-2px); }
.rg-launch:focus-visible { outline: 2px solid var(--r-accent); outline-offset: 3px; }
html.rg-lock .rg-launch { visibility: hidden; }

html.rg-lock, html.rg-lock body { overflow: hidden; }
.rg { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.rg[hidden] { display: none; }
.rg-backdrop { position: absolute; inset: 0; background: rgba(23, 21, 31, .55); opacity: 0; transition: opacity .22s ease; }
.rg-panel {
  position: relative; width: min(460px, 100%); height: min(760px, calc(100vh - 48px)); height: min(760px, calc(100dvh - 48px));
  border-radius: 30px; overflow: hidden; background: #fff4ee; box-shadow: 0 40px 80px -30px rgba(23, 21, 31, .6); outline: none;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .22s ease, transform .3s var(--r-ease);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.rg.is-open .rg-backdrop { opacity: 1; }
.rg.is-open .rg-panel { opacity: 1; transform: none; }
.rg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rg-x { position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--r-ink); cursor: pointer; }
.rg-x svg { width: 20px; height: 20px; }

.rg-hud { position: absolute; top: 26px; left: 0; right: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.rg-hud[hidden] { display: none; }
.rg-score { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: rgba(23, 21, 31, .85); font-variant-numeric: tabular-nums; }
.rg-next { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rg-next__txt { font-size: .78rem; font-weight: 700; color: rgba(23, 21, 31, .6); }
.rg-next i { display: block; width: 140px; height: 5px; border-radius: 5px; background: rgba(23, 21, 31, .1); overflow: hidden; }
.rg-next b { display: block; height: 100%; background: var(--r-ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s var(--r-ease); }
.rg-toast { position: absolute; top: 44%; left: 0; right: 0; z-index: 4; text-align: center; font-size: 1.2rem; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(23, 21, 31, .35); opacity: 0; pointer-events: none; }
.rg-toast.is-on { animation: rgToast .9s var(--r-ease) both; }
.rg-toast.is-big { font-size: 1.6rem; color: var(--r-ink); text-shadow: 0 2px 16px rgba(255, 255, 255, .9); animation-duration: 1.6s; }
@keyframes rgToast { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 20% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
.rg-hint { position: absolute; left: 50%; bottom: 34px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: rgba(23, 21, 31, .78); color: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; transform: translateX(-50%); pointer-events: none; animation: rgPulse 1.8s ease-in-out infinite; }
.rg-hint[hidden] { display: none; }
.rg-hint svg { width: 20px; height: 20px; }
@keyframes rgPulse { 50% { transform: translateX(-50%) scale(1.04); } }

.rg-screen {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 24px 24px; border-radius: 24px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -24px rgba(23, 21, 31, .45); animation: fadeUp .35s var(--r-ease) both; user-select: text; -webkit-user-select: text;
}
.rg-screen[hidden] { display: none; }
.rg-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--r-primary); }
.rg-screen h2 { margin: 6px 0 8px; font-size: 1.9rem; letter-spacing: -.03em; }
.rg-screen p { margin: 0 0 14px; color: var(--r-muted); font-size: .94rem; line-height: 1.55; }
.rg-screen .btn { min-width: 200px; }
.rg-tiers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 4px 0 18px; padding: 0; }
.rg-tiers li { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border-radius: 14px; background: var(--r-bg); border: 1px solid var(--r-line); }
.rg-tiers b { font-size: 1.25rem; line-height: 1; color: var(--r-ink); }
.rg-tiers span { font-size: .7rem; color: var(--r-muted); margin: 2px 0 6px; }
.rg-tiers em { font-style: normal; font-size: .8rem; font-weight: 800; color: var(--r-primary); }
.rg-best { margin-top: 12px; color: var(--r-muted); font-size: .8rem; }
.rg-best:empty { display: none; }
.rg-won { width: 100%; margin-bottom: 14px; }
.rg-won[hidden] { display: none; }
.rg-won p { margin-bottom: 8px; }
.rg-big { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 4px 0 8px; font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--r-ink); }
.rg-big small { font-size: 1rem; letter-spacing: 0; font-weight: 700; color: var(--r-muted); }
.rg-lead { color: var(--r-text) !important; font-size: 1rem !important; }
.rg-lead b { color: var(--r-ink); }
.rg-claim { width: 100%; margin: 0 0 12px; text-align: left; }
.rg-claim label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 700; color: var(--r-ink); }
.rg-claim__row { display: flex; gap: 8px; }
.rg-claim__row input { flex: 1; min-width: 0; }
.rg-claim__row .btn { min-width: 0; flex: none; padding: 0 18px; }
.rg-claim .btn.is-busy { opacity: .7; pointer-events: none; }
.rg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rg-msg { margin: 8px 0 0 !important; color: var(--r-danger) !important; font-weight: 600; font-size: .84rem !important; }
.rg-msg[hidden] { display: none; }
.rg-fine { margin: 8px 0 0 !important; font-size: .78rem !important; }
.rg-code { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1.5px dashed var(--r-ink); background: #fff; text-align: left; }
.rg-code > span { flex: none; padding: 4px 8px; border-radius: 8px; background: var(--r-ink); color: #fff; font-size: .74rem; font-weight: 800; }
.rg-code code { flex: 1; min-width: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; color: var(--r-ink); background: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-copy { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; margin: 0; border: 0; border-radius: 12px; background: var(--r-bg); color: var(--r-ink); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.rg-copy svg { width: 16px; height: 16px; }
.rg-tick { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 10px; border-radius: 50%; background: var(--r-success); color: #fff; animation: popCheck .6s var(--r-ease) both; }
.rg-tick svg { width: 30px; height: 30px; }
.rg-terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 4px; padding: 0; }
.rg-terms li { padding: 5px 10px; border-radius: var(--r-pill); background: var(--r-bg); font-size: .76rem; color: var(--r-text); }
.rg-actions { display: flex; gap: 10px; width: 100%; margin-top: 16px; }
.rg-actions .btn { flex: 1; min-width: 0; }

@media (max-width: 860px) {
  .rg-banner { grid-template-columns: minmax(0, 1fr); padding: 30px 22px 0; gap: 0; border-radius: var(--r-radius-lg); }
  .rg-banner .btn { width: 100%; }
  .rg-banner__art { height: 170px; margin-top: 8px; transform: scale(.85); transform-origin: 50% 100%; }
  .rg-launch { left: 14px; bottom: calc(var(--r-tabs-h) + 14px); height: 44px; font-size: .82rem; }
  body.has-checkout-bar .rg-launch { bottom: calc(var(--r-tabs-h) + 96px); }
  .rg { padding: 0; place-items: stretch; }
  .rg-panel { width: 100%; height: 100%; border-radius: 0; }
  .rg-x { top: calc(12px + env(safe-area-inset-top)); }
  .rg-hud { top: calc(22px + env(safe-area-inset-top)); }
  .rg-screen { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 24px 18px 20px; }
  .rg-claim__row { flex-direction: column; }
  .rg-claim__row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rg-banner__art span, .rg-hint { animation: none; }
}
.rg-banner__art { height: 250px; pointer-events: none; }
.rg-banner__copy { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .rg-banner__art { height: 210px; margin-top: 12px; transform: scale(.78); transform-origin: 50% 100%; }
}
body.has-checkout-bar .rg-launch { bottom: 100px; }
@media (max-width: 860px) { body.has-checkout-bar .rg-launch { bottom: calc(var(--r-tabs-h) + 96px); } }
@media (max-width: 420px) {
  .rg-code { padding-left: 12px; gap: 8px; }
  .rg-code > span { display: none; }
  .rg-code code { font-size: 1.05rem; letter-spacing: .03em; }
}

/* =====================================================================
   Surprise pages — homepage banner (3.5.0)
   ===================================================================== */
.sxb-section { padding-top: 0; }
.sxb { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 32px; padding: 48px 52px; border-radius: var(--r-radius-xl);
  background: radial-gradient(90% 120% at 80% 50%, #2a1f15 0%, #0b0a0d 70%); color: rgba(246, 237, 220, .72); text-decoration: none; }
.sxb:hover { color: rgba(246, 237, 220, .72); }
.sxb__tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid rgba(233, 207, 142, .45); color: #e9cf8e; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sxb h2 { margin: 0 0 10px; color: #f6eddc; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; }
.sxb p { margin: 0 0 26px; max-width: 480px; }
.sxb__btn { background: linear-gradient(120deg, #8a6424, #e9cf8e 50%, #b88a3a) !important; color: #1d1406 !important; }
.sxb__btn svg { width: 18px; height: 18px; }
.sxb__art { display: grid; place-items: center; min-height: 200px; }
.sxb__env { position: relative; width: 220px; aspect-ratio: 1.42; border-radius: 6px; background: linear-gradient(165deg, #efe4d0, #e0d0b4); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); animation: rgFloat 4s ease-in-out infinite; }
.sxb__env::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; background: linear-gradient(180deg, #e0d0b4, #efe4d0); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: brightness(.96); }
.sxb__env i { position: absolute; left: 0; right: 0; top: 50%; height: 13%; transform: translateY(-50%); background: linear-gradient(180deg, #9a2336, #6e1220); }
.sxb__env b { position: absolute; left: 50%; top: 58%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, #b3283b, #7d1422 60%, #4e0c16); box-shadow: 0 4px 10px rgba(0,0,0,.4), inset 0 0 0 5px rgba(0,0,0,.12); }
@media (max-width: 860px) {
  .sxb { grid-template-columns: minmax(0, 1fr); padding: 30px 22px 34px; border-radius: var(--r-radius-lg); gap: 8px; }
  .sxb__art { order: -1; min-height: 150px; }
  .sxb__env { width: 170px; }
  .sxb__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sxb__env { animation: none; } }

/* =====================================================================
   Sign in with Google
   ===================================================================== */
.glx { display: grid; justify-items: center; gap: 10px; max-width: 460px; margin: 0 auto 30px; }
.glx__btn { display: flex; justify-content: center; width: 100%; min-height: 44px; }
.glx__note { margin: 0; color: var(--r-muted); font-size: .84rem; text-align: center; }
.glx__or { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 12px; color: var(--r-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.glx__or::before, .glx__or::after { content: ""; flex: 1; height: 1px; background: var(--r-line); }
.glx__msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--r-surface-2); color: var(--r-ink); font-size: .86rem; font-weight: 600; text-align: center; }
.glx.is-busy .glx__btn { opacity: .5; pointer-events: none; }
.glx--checkout { max-width: none; justify-items: stretch; margin: 0 0 22px; padding: 14px 18px; border: 1px solid var(--r-line); border-radius: var(--r-radius-lg); background: #fff; }
.glx--checkout .glx__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.glx--checkout .glx__label { font-weight: 700; color: var(--r-ink); }
.glx--checkout .glx__btn { width: auto; }
@media (max-width: 600px) {
  .glx--checkout .glx__row { justify-content: center; text-align: center; }
  .glx--checkout .glx__btn { width: 100%; }
}
.glx[hidden] { display: none !important; }

/* =====================================================================
   Login / register — premium split layout (woocommerce/myaccount/form-login.php)
   ===================================================================== */
.rx-auth-page .page-header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rx-auth-page .entry-content { margin-bottom: 80px; }
.rx-auth-page.woocommerce-account .woocommerce { max-width: 1080px; margin: 0 auto; }
.rx-auth {
  --gold: #e9cf8e; --goldgrad: linear-gradient(120deg, #8a6424, #e9cf8e 50%, #b88a3a);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 40px;
  border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--r-line);
  box-shadow: 0 50px 100px -50px rgba(20, 14, 6, .45);
}
/* Brand side */
.rx-auth__brand {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 56px 52px; min-height: 620px; color: rgba(246, 237, 220, .72);
  background: radial-gradient(90% 70% at 85% 5%, rgba(184, 138, 58, .28), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(122, 20, 36, .30), transparent 60%), #0b0a0d;
}
.rx-auth__brand::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 14% 22%, var(--gold) 50%, transparent 51%), radial-gradient(1px 1px at 70% 14%, var(--gold) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 58%, var(--gold) 50%, transparent 51%), radial-gradient(1px 1px at 86% 44%, var(--gold) 50%, transparent 51%), radial-gradient(1px 1px at 58% 84%, var(--gold) 50%, transparent 51%);
  background-size: 380px 380px; }
.rx-auth__layers { position: absolute; top: 64px; right: 52px; display: grid; justify-items: center; gap: 5px; transform: perspective(600px) rotateX(58deg) rotateZ(-28deg); animation: rgFloat 5s ease-in-out infinite; }
.rx-auth__layers i { display: block; height: 16px; border-radius: 999px; background: var(--goldgrad); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.rx-auth__layers i:nth-child(1) { width: 60px; } .rx-auth__layers i:nth-child(2) { width: 88px; } .rx-auth__layers i:nth-child(3) { width: 108px; }
.rx-auth__layers i:nth-child(4) { width: 120px; } .rx-auth__layers i:nth-child(5) { width: 126px; } .rx-auth__layers i:nth-child(6) { width: 128px; opacity: .85; }
.rx-auth__tag { align-self: flex-start; margin-bottom: 18px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid rgba(233, 207, 142, .45); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rx-auth__title { margin: 0 0 14px; color: #f6eddc; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.04; letter-spacing: -.035em; }
.rx-auth__title em { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-style: italic; font-size: 1.1em; letter-spacing: -.01em; color: transparent; background: linear-gradient(100deg, #b88a3a, #f3dea6 45%, #c9a052); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.rx-auth__lead { margin: 0 0 26px; max-width: 40ch; line-height: 1.6; }
.rx-auth__perks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rx-auth__perks li { display: flex; align-items: center; gap: 12px; color: #f6eddc; font-weight: 600; font-size: .95rem; }
.rx-auth__perks li::before { content: ""; flex: none; width: 8px; height: 8px; transform: rotate(45deg); background: var(--goldgrad); box-shadow: 0 0 12px rgba(233, 207, 142, .6); }

/* Form side */
.rx-auth__panel { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 48px 56px; }
.rx-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 28px; padding: 5px; border-radius: 16px; background: var(--r-surface-2); }
.rx-auth__tabs button { min-height: 44px; margin: 0; border: 0; border-radius: 12px; background: transparent; color: var(--r-muted); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.rx-auth__tabs button[aria-selected="true"] { background: #fff; color: var(--r-ink); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .14); }
.rx-auth__h { margin: 0 0 22px; font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: -.035em; line-height: 1.1; }
.rx-auth .glx { max-width: none; justify-items: stretch; margin: 0 0 20px; }
.rx-auth .glx__note { text-align: center; }
.rx-auth .glx__or { margin-top: 10px; }
.rx-auth .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 16px; }
.rx-auth form.login, .rx-auth form.register { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.rx-auth form .form-row { margin: 0 0 16px; padding: 0; }
.rx-auth form label { display: flex; align-items: baseline; gap: 4px; margin-bottom: 7px; font-size: .86rem; font-weight: 700; }
.rx-auth .rx-auth__forgot { margin-left: auto; color: var(--r-muted); font-weight: 600; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.rx-auth .rx-auth__forgot:hover { color: var(--r-ink); }
.rx-auth input.input-text { min-height: 54px; border-radius: 14px; background: var(--r-bg); }
.rx-auth input.input-text:focus { background: #fff; }
.rx-auth .woocommerce-form-login__rememberme { margin: 0 !important; font-weight: 500 !important; font-size: .9rem !important; }
.rx-auth .woocommerce-form-login__submit, .rx-auth .woocommerce-form-register__submit {
  width: 100%; min-height: 56px !important; margin: 4px 0 0 !important; border-radius: var(--r-pill) !important; font-size: 1rem !important;
  background: #121015 !important; color: #fff !important; box-shadow: 0 16px 30px -16px rgba(18, 16, 21, .8) !important;
}
.rx-auth .woocommerce-form-login__submit:hover, .rx-auth .woocommerce-form-register__submit:hover { background: #2a2530 !important; }
.rx-auth .woocommerce-privacy-policy-text p { margin: 0 0 16px; font-size: .8rem; line-height: 1.55; color: var(--r-muted); }
.rx-auth__hint { margin: 0 0 16px; color: var(--r-muted); font-size: .88rem; }
.rx-auth__switch { margin: 18px 0 0; text-align: center; color: var(--r-muted); font-size: .92rem; }
.rx-auth__switch button { margin: 0; padding: 0; border: 0; background: none; color: var(--r-ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rx-auth__secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 26px 0 0; color: var(--r-muted); font-size: .78rem; }
.rx-auth [hidden] { display: none !important; }

@media (max-width: 900px) {
  .rx-auth { grid-template-columns: minmax(0, 1fr); margin-top: 16px; border-radius: 26px; }
  .rx-auth__brand { min-height: 0; padding: 30px 24px 28px; }
  .rx-auth__layers { top: 26px; right: 22px; transform: perspective(600px) rotateX(58deg) rotateZ(-28deg) scale(.62); transform-origin: top right; }
  .rx-auth__title { font-size: 1.85rem; max-width: 12ch; }
  .rx-auth__lead { display: none; }
  .rx-auth__perks { gap: 8px; }
  .rx-auth__perks li { font-size: .86rem; }
  .rx-auth__panel { padding: 26px 20px 28px; }
  .rx-auth__tabs { margin-bottom: 22px; }
  .rx-auth__h { font-size: 1.6rem; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .rx-auth__layers { animation: none; } }
.rx-auth form .rx-pass label { width: 100%; }
.rx-auth input[type="checkbox"] { accent-color: #121015; }
.rx-auth__brand > .rx-auth__tag { margin-top: auto; }
.rx-auth form .form-row label { display: flex; align-items: baseline; gap: 4px; }

/* Continue with Google — full-size custom button (official G mark) */
.gbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; margin: 0; padding: 0 22px;
  border: 1px solid #d9d4cb; border-radius: var(--r-pill); background: #fff; color: #1f1f1f;
  font: 700 1rem/1 var(--r-font); letter-spacing: -.005em; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 22px -16px rgba(20, 14, 6, .45);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.gbtn:hover { border-color: #b9b2a6; box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 16px 28px -16px rgba(20, 14, 6, .5); transform: translateY(-1px); }
.gbtn:active { transform: translateY(0) scale(.99); }
.gbtn:focus-visible { outline: 3px solid rgba(66, 133, 244, .45); outline-offset: 2px; }
.gbtn:disabled { opacity: .6; cursor: default; transform: none; }
.gbtn__g { width: 22px; height: 22px; flex: none; }
.glx__btn { min-height: 56px; }
.glx--checkout .gbtn { min-height: 50px; width: auto; min-width: 280px; }
@media (max-width: 600px) { .glx--checkout .gbtn { width: 100%; min-width: 0; } }
/* Phones: form only — no brand panel. */
@media (max-width: 900px) {
  .rx-auth__brand { display: none; }
  .rx-auth { margin-top: 12px; }
}

/* =====================================================================
   My account — app-style (dashboard.php / navigation.php overrides)
   ===================================================================== */
.rx-acc .page-header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rx-acc .entry-content { padding-top: 36px; }
.rx-acc.woocommerce-account .woocommerce { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; max-width: 1120px; margin: 0 auto; }
.rx-acc--dash .woocommerce-MyAccount-content { background: transparent; border: 0; padding: 0; }

/* Navigation */
.rx-acc .woocommerce-MyAccount-navigation { padding: 8px; border-radius: 22px; box-shadow: 0 20px 40px -32px rgba(20, 14, 6, .35); }
.rx-acc .woocommerce-MyAccount-navigation ul { gap: 2px; }
.rx-acc .woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; font-size: .95rem; color: var(--r-ink); }
.rx-nav__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--r-surface-2); color: var(--r-ink); }
.rx-nav__ic .ri { width: 18px; height: 18px; }
.rx-nav__t { flex: 1; min-width: 0; }
.rx-nav__chev { display: grid; color: var(--r-muted); opacity: .6; }
.rx-nav__chev .ri { width: 16px; height: 16px; }
.rx-acc .woocommerce-MyAccount-navigation .is-active a { background: #121015; color: #fff; }
.rx-acc .woocommerce-MyAccount-navigation .is-active .rx-nav__ic { background: linear-gradient(120deg, #8a6424, #e9cf8e 50%, #b88a3a); color: #1d1406; }
.rx-acc .woocommerce-MyAccount-navigation .is-active .rx-nav__chev { color: #fff; }
.rx-acc .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--r-danger); }
.rx-acc .woocommerce-MyAccount-navigation-link--customer-logout .rx-nav__ic { background: var(--r-danger-soft); color: var(--r-danger); }
.rx-acc .woocommerce-MyAccount-navigation-link--customer-logout .rx-nav__chev { display: none; }
.rx-nav-help .rx-nav__ic { background: #e7f7ee; color: #1a8a4c; }

/* Profile card */
.rx-dash { display: grid; gap: 18px; }
.rx-prof {
  position: relative; overflow: hidden; isolation: isolate; padding: 26px; border-radius: 28px; color: #f6eddc;
  background: radial-gradient(80% 90% at 100% 0%, rgba(184, 138, 58, .32), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(122, 20, 36, .32), transparent 60%), #0b0a0d;
  box-shadow: 0 30px 60px -34px rgba(11, 10, 13, .9);
}
.rx-prof::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 18% 30%, #e9cf8e 50%, transparent 51%), radial-gradient(1px 1px at 72% 18%, #e9cf8e 50%, transparent 51%), radial-gradient(1px 1px at 88% 70%, #e9cf8e 50%, transparent 51%), radial-gradient(1.5px 1.5px at 42% 82%, #e9cf8e 50%, transparent 51%); background-size: 320px 220px; }
.rx-prof__top { display: flex; align-items: center; gap: 16px; }
.rx-prof__av { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #2a2016, #121015); color: #e9cf8e; font: 700 1.6rem/1 "Cormorant Garamond", Georgia, serif; box-shadow: 0 0 0 2px #0b0a0d, 0 0 0 3.5px #d7b56d; }
.rx-prof__av img { width: 100%; height: 100%; object-fit: cover; }
.rx-prof__who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.rx-prof__hi { color: #e9cf8e; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.rx-prof__name { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; color: #f6eddc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-prof__mail { color: rgba(246, 237, 220, .55); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-prof__edit { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(233, 207, 142, .35); color: #e9cf8e !important; }
.rx-prof__edit .ri { width: 17px; height: 17px; }
.rx-prof__edit:hover { background: rgba(233, 207, 142, .1); }
.rx-prof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 207, 142, .16); }
.rx-prof__stats > * { display: grid; gap: 3px; justify-items: center; padding: 14px 6px; text-align: center; color: inherit !important; text-decoration: none !important; font-weight: 400 !important; }
.rx-prof__stats > * + * { border-left: 1px solid rgba(233, 207, 142, .14); }
.rx-prof__stats b { font-size: 1.3rem; letter-spacing: -.02em; color: #f6eddc; }
.rx-prof__stats span { font-size: .74rem; color: rgba(246, 237, 220, .6); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* Cards */
.rx-card { padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--r-line); box-shadow: 0 20px 40px -34px rgba(20, 14, 6, .35); }
.rx-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rx-card__label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--r-muted); }
.rx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--r-surface-2); color: var(--r-ink); white-space: nowrap; }
.rx-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rx-pill--processing { background: #e8f0ff; color: #2456c7; }
.rx-pill--completed { background: var(--r-success-soft); color: var(--r-success); }
.rx-pill--on-hold, .rx-pill--pending { background: #fff5dc; color: #9a6a00; }
.rx-pill--cancelled, .rx-pill--failed { background: var(--r-danger-soft); color: var(--r-danger); }
.rx-last__body { display: flex; align-items: center; gap: 14px; color: inherit !important; font-weight: 400 !important; text-decoration: none !important; }
.rx-last__thumbs { display: flex; flex: none; }
.rx-last__thumb { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: var(--r-surface-2); border: 2px solid #fff; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .35); }
.rx-last__thumb + .rx-last__thumb { margin-left: -18px; }
.rx-last__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rx-last__more { font-size: .8rem; font-weight: 800; color: var(--r-ink); }
.rx-last__meta { display: grid; gap: 3px; flex: 1; min-width: 0; }
.rx-last__meta strong { font-size: 1rem; color: var(--r-ink); }
.rx-last__meta span { font-size: .84rem; color: var(--r-muted); }
.rx-last__total { font-weight: 800; color: var(--r-ink); white-space: nowrap; }
.rx-last__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.rx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--r-line-2); background: #fff; color: var(--r-ink) !important; font-weight: 700 !important; font-size: .9rem; text-decoration: none !important; }
.rx-btn .ri { width: 17px; height: 17px; color: #1a8a4c; }
.rx-btn--dark { background: #121015; border-color: #121015; color: #fff !important; }
.rx-btn:hover { filter: brightness(.97); }
.rx-empty { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; text-align: center; }
.rx-empty__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; background: var(--r-surface-2); }
.rx-empty strong { font-size: 1.1rem; }
.rx-empty p { margin: 0 0 10px; color: var(--r-muted); font-size: .9rem; }

/* Inner pages: back bar + title */
.rx-back { display: grid; gap: 8px; margin: 0 0 22px; }
.rx-back a { display: inline-flex; align-items: center; gap: 4px; justify-self: start; margin-left: -6px; padding: 4px 10px 4px 4px; border-radius: 999px; color: var(--r-muted) !important; font-weight: 700 !important; font-size: .88rem; }
.rx-back a:hover { background: var(--r-surface-2); color: var(--r-ink) !important; }
.rx-back a .ri { width: 18px; height: 18px; }
.rx-back h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.035em; line-height: 1.1; }

/* Phones: feels like an app */
@media (max-width: 900px) {
  .rx-acc .entry-content { padding-top: 16px; }
  .rx-acc.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rx-acc--dash .woocommerce-MyAccount-navigation { order: 2; position: static; padding: 6px; }
  .rx-acc--dash .woocommerce-MyAccount-content { order: 1; }
  .rx-acc--dash .woocommerce-MyAccount-navigation-link--dashboard { display: none; }
  .rx-acc .woocommerce-MyAccount-navigation ul { gap: 0; }
  .rx-acc .woocommerce-MyAccount-navigation li + li a { border-top: 1px solid var(--r-line); border-radius: 0; }
  .rx-acc .woocommerce-MyAccount-navigation li:nth-child(2) a { border-top: 0; }
  .rx-acc .woocommerce-MyAccount-navigation a { min-height: 58px; padding: 10px 8px; }
  .rx-acc .woocommerce-MyAccount-navigation .is-active a { background: transparent; color: var(--r-ink); }
  .rx-acc .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; }
  .rx-acc .woocommerce-MyAccount-navigation-link--customer-logout a { border-top: 0 !important; border-radius: 14px; background: var(--r-danger-soft); justify-content: center; }
  .rx-acc .woocommerce-MyAccount-navigation-link--customer-logout .rx-nav__t { flex: none; }
  .rx-acc .woocommerce-MyAccount-navigation-link--customer-logout .rx-nav__ic { width: auto; height: auto; background: none; }
  .rx-acc--sub .woocommerce-MyAccount-navigation { display: none; }
  .rx-acc--sub .woocommerce-MyAccount-content { background: transparent; border: 0; padding: 0; }
  .rx-prof { padding: 22px 18px 18px; border-radius: 26px; }
  .rx-prof__av { width: 58px; height: 58px; }
  .rx-prof__name { font-size: 1.2rem; }
  .rx-card { padding: 16px; border-radius: 22px; }
  .rx-last__thumb { width: 50px; height: 50px; border-radius: 14px; }

  /* Orders list as cards */
  .rx-acc .woocommerce table.woocommerce-orders-table { border: 0 !important; background: none !important; }
  .rx-acc .woocommerce table.woocommerce-orders-table thead { display: none; }
  .rx-acc .woocommerce table.woocommerce-orders-table, .rx-acc .woocommerce table.woocommerce-orders-table tbody { display: block; }
  .rx-acc .woocommerce table.woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 12px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--r-line); box-shadow: 0 16px 30px -28px rgba(20, 14, 6, .4); }
  .rx-acc .woocommerce table.woocommerce-orders-table td, .rx-acc .woocommerce table.woocommerce-orders-table th { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
  .rx-acc .woocommerce table.woocommerce-orders-table td::before, .rx-acc .woocommerce table.woocommerce-orders-table th::before { display: none; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number { font-size: 1.05rem; font-weight: 800; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { color: var(--r-ink) !important; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date { grid-column: 1; color: var(--r-muted); font-size: .86rem; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status { grid-column: 2; grid-row: 1; justify-self: end; font-size: .8rem; font-weight: 700; padding: 5px 11px !important; border-radius: 999px; background: var(--r-surface-2) !important; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total { grid-column: 1 / -1; font-size: .9rem; color: var(--r-text); }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; display: flex !important; gap: 8px; margin-top: 6px; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button { flex: 1; min-height: 44px !important; border-radius: 999px !important; background: #121015 !important; color: #fff !important; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button + .button { background: #fff !important; color: var(--r-ink) !important; box-shadow: inset 0 0 0 1px var(--r-line-2) !important; }
  .rx-acc .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
  .rx-acc .woocommerce-Address { background: #fff; border-radius: 22px; }
  .rx-acc--sub form.woocommerce-EditAccountForm, .rx-acc--sub .woocommerce-MyAccount-content > form { padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--r-line); }
}
@media (max-width: 900px) {
  .rx-acc .woocommerce-MyAccount-navigation { overflow: visible; }
  .rx-acc .woocommerce-MyAccount-navigation ul { display: grid; }
  .rx-acc .woocommerce-MyAccount-navigation a { white-space: normal; font-size: 1rem; font-weight: 600; }
  .rx-prof__stats b { font-size: 1.15rem; }
  .rx-prof__stats span { font-size: .68rem; letter-spacing: .06em; }
}
.rx-prof__stats .is-sm b { font-size: 1rem; line-height: 1.3; }
.rx-prof__av { position: relative; }
.rx-prof__av img { position: absolute; inset: 0; }
@media (hover: none) { .rx-acc .woocommerce-MyAccount-navigation li:not(.is-active):not(.woocommerce-MyAccount-navigation-link--customer-logout) a:hover { background: transparent; } }
.rx-acc.woocommerce-account .woocommerce::before, .rx-acc.woocommerce-account .woocommerce::after { display: none !important; content: none !important; }
@media (max-width: 900px) {
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { background: #e8f0ff !important; color: #2456c7; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { background: var(--r-success-soft) !important; color: var(--r-success); }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status,
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { background: #fff5dc !important; color: #9a6a00; }
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
  .rx-acc .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status { background: var(--r-danger-soft) !important; color: var(--r-danger); }
}

/* Homepage hero: rotating words never get cut off */
.hx-rotator { display: block; height: auto; min-height: 1.2em; padding-bottom: .08em; line-height: 1.12; }
.hx-word { vertical-align: top; line-height: 1.12; padding-bottom: 0; }
