/* ============================================================
   ROSY DESIGN — Mobile & Responsive Stylesheet
   Breakpoints:
     xl:  1280px  (large desktop)
     lg:  1024px  (tablet landscape / small desktop)
     md:   768px  (tablet portrait)
     sm:   640px  (large phone)
     xs:   480px  (small phone)
     2xs:  375px  (iPhone SE / small Android)
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   GLOBAL MOBILE BASE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --rd-gutter: 1rem;
  }

  /* Momentum scrolling on iOS */
  body {
    -webkit-overflow-scrolling: touch;
  }

  /* Tap target minimum */
  a, button, [role="button"], input[type="submit"] {
    min-height: 44px;
  }

  /* Prevent horizontal scroll from any overflowing element */
  .rd-container {
    overflow-x: hidden;
  }

  /* Remove tap highlight on interactive elements */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Safe area padding for fixed footer / bottom bar (iPhone X+) */
  #rd-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ══════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-topbar {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    line-height: 1.4;
  }
  /* Hide the middle pipe segments on very small screens */
  .rd-topbar .rd-topbar-extra {
    display: none;
  }
}
@media (max-width: 375px) {
  .rd-topbar { font-size: 0.6875rem; }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-header-inner {
    height: 60px;
    gap: 0.5rem;
  }
  .rd-logo__placeholder {
    width: 120px;
    font-size: 0.875rem;
    padding: 0 0.75rem;
  }
  /* Collapse action icons on very small screens */
  .rd-header-icon:not([aria-label="Cart"]):not([aria-label="Search"]) {
    display: none;
  }
  .rd-menu-toggle { display: flex; }
}
@media (max-width: 375px) {
  .rd-header-inner { gap: 0.25rem; }
  .rd-logo__placeholder { width: 100px; font-size: 0.8125rem; }
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .rd-hero { max-height: 780px; }
}

@media (max-width: 768px) {
  .rd-hero {
    /* 100vh fallback for browsers without svh support */
    height: 100vh;
    height: 100svh;
    min-height: 580px;
    max-height: 820px;
  }
  .rd-hero-slide {
    /* Center content vertically on mobile, not bottom-pinned */
    align-items: center;
  }
  /* Keep slides absolutely stacked — do NOT change to relative */
  .rd-hero-slide__content {
    /* bottom safe-area padding for iPhone home indicator */
    padding: 2rem 1.25rem max(4.5rem, calc(4.5rem + env(safe-area-inset-bottom)));
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .rd-hero-slide__sub {
    max-width: 100%;
    font-size: 0.9375rem;
  }
  .rd-hero-slide__actions {
    justify-content: center;
  }
  .rd-hero-slide__title {
    font-size: clamp(1.875rem, 7vw, 2.75rem);
  }
  .rd-hero-arrow {
    width: 40px;
    height: 40px;
  }
  .rd-hero-controls {
    /* safe area for iPhone notch */
    bottom: max(1.25rem, calc(1.25rem + env(safe-area-inset-bottom)));
    left: 50%;
    transform: translateX(-50%);
  }
  .rd-hero-counter { display: none; }
  .rd-hero-progress {
    /* extend progress bar to cover safe area */
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 480px) {
  .rd-hero {
    min-height: 540px;
    max-height: 760px;
  }
  .rd-hero-slide__content {
    padding: 1.5rem 1rem max(4rem, calc(4rem + env(safe-area-inset-bottom)));
  }
  .rd-hero-slide__title { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .rd-hero-slide__eyebrow {
    font-size: 0.6875rem;
    padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  }
  .rd-hero-slide__actions {
    flex-direction: column;
    align-items: center;
  }
  .rd-hero-slide__actions .rd-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  /* Hide prev/next arrows on phones — dots are enough */
  .rd-hero-arrows { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-trust-grid {
    gap: 1rem 1.5rem;
    justify-content: flex-start;
  }
  .rd-trust-item {
    font-size: 0.8125rem;
    flex: 1 1 40%;
  }
}
@media (max-width: 480px) {
  .rd-trust-item { flex: 1 1 100%; }
}

/* ══════════════════════════════════════════════════════════════
   SECTION TITLES & SPACING
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-section { padding: clamp(3rem, 7vw, 5rem) 0; }
  .rd-section-header { margin-bottom: 2rem; }
  .rd-section-subtitle { margin-bottom: 2rem; }
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .rd-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }
  .rd-cat-card { aspect-ratio: 2/3; }
  .rd-cat-card__name { font-size: 0.875rem; }
}

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS STEPS
══════════════════════════════════════════════════════════════ */
/* Already handled in main.css — no extra needed */

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS GRID
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 375px) {
  .rd-products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMIZER PROMO SECTION
══════════════════════════════════════════════════════════════ */
/* Already has 768px breakpoint in main.css */
@media (max-width: 768px) {
  .rd-customizer-section .rd-section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .rd-customizer-mockup-card { margin-top: 1.5rem; }
}
@media (max-width: 480px) {
  .rd-customizer-steps { gap: 1rem; }
  .rd-customizer-step__icon { width: 36px; height: 36px; flex-shrink: 0; }
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════ */
/* Already has 600px breakpoint in main.css */
@media (max-width: 375px) {
  .rd-stat-number { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   BUSINESS / EVENT SECTION  ← was missing entirely
══════════════════════════════════════════════════════════════ */
/* .rd-two-col-grid responsive is handled in main.css */
@media (max-width: 768px) {
  .rd-business-tags { gap: 0.5rem; }
  .rd-tag { font-size: 0.75rem; padding: 0.3125rem 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
/* Already handled in main.css */
@media (max-width: 480px) {
  .rd-testimonial-card { padding: 1.25rem; }
  .rd-testimonial-card__text { font-size: 0.875rem; }
}

/* ══════════════════════════════════════════════════════════════
   INSTAGRAM GALLERY
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
  /* Cancel the large-item span so all cells are equal on mobile */
  .rd-gallery-item:nth-child(1) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER SECTION  ← was missing
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-newsletter-box { padding: 2rem 1.25rem; border-radius: 1rem; }
  .rd-newsletter-form {
    flex-direction: column;
    border-radius: 1rem;
    overflow: visible;
    background: transparent;
    border: none;
    gap: 0.75rem;
  }
  .rd-newsletter-input {
    border: 1px solid rgba(255,255,255,.3);
    border-radius: var(--rd-radius-pill);
    background: rgba(255,255,255,.12);
    padding: 0.875rem 1.25rem;
    width: 100%;
    color: #fff;
  }
  .rd-newsletter-input::placeholder { color: rgba(255,255,255,.6); }
  .rd-newsletter-btn {
    border-radius: var(--rd-radius-pill);
    padding: 0.875rem;
    width: 100%;
    text-align: center;
  }
  .rd-newsletter-perks {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-cta-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .rd-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .rd-cta-actions .rd-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
/* Grid already handled in main.css at 900px and 600px */
@media (max-width: 640px) {
  .rd-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .rd-payment-icons { flex-wrap: wrap; gap: 0.375rem; }
}
@media (max-width: 480px) {
  .rd-footer-top { padding: 2.5rem 0 1.5rem; }
  .rd-footer-socials { gap: 0.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS — Mobile Sizing
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .rd-btn--xl {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
  .rd-btn--lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-back-top { bottom: 1.25rem; right: 1.25rem; width: 42px; height: 42px; }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMIZE PAGE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-customizer-wrap {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .rd-customizer-canvas {
    min-height: 280px;
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }
  .rd-customizer-panel { padding: 1.25rem; border-radius: 1rem; }
  .rd-size-btns { gap: 0.375rem; }
  .rd-size-btn { padding: 0.3125rem 0.75rem; font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .rd-swatches { gap: 0.375rem; }
  .rd-swatch { width: 28px; height: 28px; }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — SHOP PAGE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rd-shop-layout { grid-template-columns: 1fr; }

  /* Filter sidebar becomes a collapsible panel on tablet */
  .rd-filter-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
  }
  .rd-filter-card { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .rd-filter-sidebar { grid-template-columns: 1fr; }
  .rd-shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .rd-shop-sort { flex-wrap: wrap; }
}

/* WooCommerce loop grid */
@media (max-width: 640px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .woocommerce ul.products li.product a img {
    height: 180px !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.8125rem !important;
    padding: 0.625rem 0.75rem 0.25rem !important;
  }
  .woocommerce ul.products li.product .price {
    padding: 0.25rem 0.75rem 0.625rem !important;
    font-size: 0.9375rem !important;
  }
  .woocommerce ul.products li.product .button {
    margin: 0 0.75rem 0.75rem !important;
    padding: 0.5rem 0.875rem !important;
    font-size: 0.8125rem !important;
  }
}
@media (max-width: 375px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — PRODUCT SINGLE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    position: static;
  }
  .woocommerce div.product .product_title {
    font-size: 1.5rem;
  }
  .woocommerce div.product p.price {
    font-size: 1.375rem;
  }
  .woocommerce div.product form.cart {
    flex-wrap: wrap;
  }
  .woocommerce div.product .single_add_to_cart_button {
    flex: 1 1 100% !important;
    min-width: 200px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    white-space: nowrap;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — CART TABLE  ← was missing
   Convert table rows to cards on mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .woocommerce table.cart thead { display: none; }

  .woocommerce table.cart,
  .woocommerce table.cart tbody,
  .woocommerce table.cart tr {
    display: block;
    width: 100%;
  }

  .woocommerce table.cart tr {
    border: 1px solid var(--rd-light);
    border-radius: var(--rd-radius-md);
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    box-shadow: var(--rd-shadow-sm);
    position: relative;
  }

  .woocommerce table.cart td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rd-light);
    font-size: 0.875rem;
  }
  .woocommerce table.cart td:last-child { border-bottom: none; }

  .woocommerce table.cart td::before {
    content: attr(data-title);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rd-text-2);
    flex-shrink: 0;
    margin-right: 1rem;
  }

  .woocommerce table.cart .product-thumbnail img {
    width: 64px;
    height: 64px;
  }
  .woocommerce table.cart .product-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
  }
  .woocommerce table.cart .product-remove::before { display: none; }
}

/* Cart totals */
@media (max-width: 640px) {
  .woocommerce .cart_totals {
    max-width: 100%;
    border-radius: var(--rd-radius-md);
    padding: 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — CHECKOUT (Classic + Block)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Classic checkout ── */
  .woocommerce-page.rd-checkout form.checkout,
  .woocommerce form.checkout { display: block; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
  #place_order {
    padding: 1rem 1.5rem !important;
    font-size: 0.9375rem !important;
  }

  /* ── Block checkout ── */
  .wp-block-woocommerce-checkout,
  .wc-block-checkout {
    padding: 1rem 0 2rem !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* Stack main (fields) above sidebar (summary) */
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 1.25rem !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
  }

  /* All inputs fill the container and avoid iOS zoom */
  .wc-block-components-text-input input,
  .wc-block-components-select select,
  .wc-block-components-textarea textarea,
  .wc-block-components-country-input input,
  .wc-block-components-state-input input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    padding: 0.875rem 1rem !important;
  }

  /* Two-col address rows → single col */
  .wc-block-components-address-form,
  .wc-block-components-form { display: block !important; }
  .wc-block-components-address-form .wc-block-components-text-input,
  .wc-block-components-address-form .wc-block-components-select,
  .wc-block-components-address-form .wc-block-components-country-input,
  .wc-block-components-address-form .wc-block-components-state-input {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* Place order button full width */
  .wc-block-checkout__place-order,
  .wc-block-checkout__place-order .wc-block-components-button,
  .wc-block-checkout__place-order button,
  .wp-block-woocommerce-checkout-actions-block .wc-block-components-button {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar {
    padding: 1rem !important;
    border-radius: 12px !important;
  }

  /* Coupon row stacks on small phones */
  .wc-block-components-totals-coupon__form {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .wc-block-components-totals-coupon__form input,
  .wc-block-components-totals-coupon__form button {
    width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — MY ACCOUNT
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    display: block;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    border-radius: var(--rd-radius-md);
    margin-bottom: 1rem;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    border-radius: var(--rd-radius-md);
    padding: 1.25rem;
  }
}

/* Orders table on mobile */
@media (max-width: 640px) {
  .woocommerce table.woocommerce-orders-table thead { display: none; }
  .woocommerce table.woocommerce-orders-table,
  .woocommerce table.woocommerce-orders-table tbody,
  .woocommerce table.woocommerce-orders-table tr {
    display: block;
    width: 100%;
  }
  .woocommerce table.woocommerce-orders-table tr {
    border: 1px solid var(--rd-light);
    border-radius: var(--rd-radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  .woocommerce table.woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    border: none;
  }
  .woocommerce table.woocommerce-orders-table td::before {
    content: attr(data-title);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--rd-text-2);
  }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — PAGINATION
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .woocommerce-pagination ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .woocommerce-pagination ul li span,
  .woocommerce-pagination ul li a {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   DOKAN — VENDOR DASHBOARD
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .dokan-dashboard .dokan-dash-sidebar {
    width: 100% !important;
    float: none !important;
    margin-bottom: 1.5rem;
  }
  .dokan-dashboard-content {
    width: 100% !important;
    float: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .rd-breadcrumb { font-size: 0.8125rem; }
  .rd-breadcrumb ol { gap: 0.125rem; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE SEARCH BAR
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rd-search-bar { padding: 1rem; }
  .rd-search-form {
    border-radius: 0.75rem;
  }
  .rd-search-input { padding: 0.75rem 1rem; font-size: 0.9375rem; }
  .rd-search-submit { padding: 0.75rem 1rem; font-size: 0.875rem; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .rd-mobile-nav { width: 100vw; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE CONTENT (About, FAQ, Contact, etc.)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .rd-page-main { padding: 2rem 1rem 4rem !important; }
  /* About/FAQ inline grid override */
  .rd-page-main div[style*="grid-template-columns"],
  .rd-page-main [style*="display: grid"] {
    display: block !important;
  }
  .rd-page-main div[style*="grid-template-columns"] > div,
  .rd-page-main [style*="display: grid"] > div {
    margin-bottom: 1.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMIZE PAGE — Mobile overrides
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .rd-product-tiles {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }
  .rd-product-tile {
    padding: 0.875rem 0.5rem 0.75rem !important;
  }
  .rd-product-tile__icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 0.5rem !important;
  }
  .rd-product-tile__icon svg { width: 24px !important; height: 24px !important; }
  .rd-product-tile__name { font-size: 0.75rem !important; }
  .rd-product-tile__price { font-size: 0.75rem !important; }
  .rd-canvas-bg { padding: 2rem 1rem 1.75rem; min-height: 300px; }
  .rd-canvas-svg { width: 160px; height: 160px; }
  .rd-canvas-stage { width: 160px; height: 160px; }
  .rd-customizer-panel { padding: 1rem; }
  .rd-size-btn {
    padding: 0.3125rem 0.625rem;
    font-size: 0.8125rem;
  }
  .rd-add-to-cart-btn { font-size: 0.9375rem; }
  .rd-customize-process { padding: 1.5rem 1rem; }
  .rd-customize-process__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   IMAGE LAZY LOAD — prevent layout shift
══════════════════════════════════════════════════════════════ */
img[loading="lazy"] {
  content-visibility: auto;
}

/* ══════════════════════════════════════════════════════════════
   PRINT — hide decorative elements
══════════════════════════════════════════════════════════════ */
@media print {
  #rd-header, #rd-footer, .rd-back-top,
  .rd-hero-controls, .rd-hero-arrows,
  .rd-topbar, .rd-mobile-nav, .rd-mobile-nav-overlay {
    display: none !important;
  }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
