/*
Theme Name: Ruffwear Child
Theme URI: https://example.com/ruffwear-child
Description: Ruffwear-inspired storefront child theme for Twenty Twenty-One.
Author: Site Team
Template: twentytwentyone
Version: 3.11.3
Text Domain: ruffwear-child
*/

@font-face { font-family: "Geist Ruffwear"; src: url("assets/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Ruffwear"; src: url("assets/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Ruffwear"; src: url("assets/Geist-Semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Ruffwear"; src: url("assets/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --rw-navy: #00263e;
  --rw-navy-dark: #002b42;
  --rw-orange: #f2a900;
  --rw-orange-hover: #e08823;
  --rw-cloud: #f5f7f8;
  --rw-border: #dfe5e8;
  --rw-muted: #647681;
  --rw-font: "Geist Ruffwear", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--rw-navy); font-family: var(--rw-font); }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img, video { display: block; max-width: 100%; }
.rw-site { min-height: 100vh; overflow-x: hidden; background: var(--rw-cloud); }
.rw-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 90px; }
.rw-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #ebeef0; }
.rw-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 100px; }
.rw-logo img { width: 165px; height: auto; }
.rw-primary-nav { display: flex; align-items: stretch; gap: 32px; height: 100px; }
.rw-primary-nav > a, .rw-nav-trigger { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0 4px; background: none; color: var(--rw-navy); font-size: 18px; font-weight: 600; cursor: pointer; }
.rw-primary-nav > a:hover, .rw-nav-trigger:hover, .rw-utility button:hover { color: var(--rw-orange); }
.rw-nav-item { position: relative; display: flex; align-items: center; }
.rw-dropdown { position: absolute; top: 100%; left: 50%; width: 330px; padding: 32px; transform: translateX(-50%); background: var(--rw-navy-dark); color: #fff; box-shadow: 0 18px 36px rgba(0,38,62,.2); }
.rw-dropdown[hidden] { display: none; }
.rw-dropdown h2 { margin: 0 0 24px; font-size: 26px; font-weight: 500; }
.rw-dropdown a { display: block; margin: 0 0 14px; color: #b8c7ce; font-size: 17px; }
.rw-dropdown a:hover { color: #fff; }
.rw-utility { display: flex; justify-content: flex-end; gap: 8px; }
.rw-utility button, .rw-mobile-bar button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--rw-navy); cursor: pointer; }
.rw-utility svg, .rw-mobile-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rw-cart-count { position: absolute; top: -2px; right: -3px; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--rw-orange); color: var(--rw-navy); font-size: 10px; font-weight: 700; }
.rw-mobile-bar { display: none; min-height: 68px; align-items: center; justify-content: space-between; padding: 0 16px; }
.rw-mobile-bar .rw-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.rw-mobile-menu { display: none; background: var(--rw-navy); color: #fff; }
.rw-mobile-menu.is-open { display: block; }
.rw-mobile-menu nav { display: flex; flex-direction: column; padding: 12px 24px 30px; }
.rw-mobile-menu a, .rw-mobile-menu button { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); background: none; color: #fff; text-align: left; font-size: 20px; font-weight: 600; }
.rw-mobile-submenu { display: none; padding: 0 0 18px 16px; }
.rw-mobile-submenu.is-open { display: block; }
.rw-mobile-submenu a { display: block; padding: 6px 0; border: 0; color: rgba(255,255,255,.8); font-size: 16px; font-weight: 400; }
.rw-hero, .rw-campaign { position: relative; min-height: 568px; overflow: hidden; background: var(--rw-navy); color: #fff; }
.rw-hero { height: min(980px, calc(100vh - 100px)); }
.rw-hero video, .rw-campaign > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw-hero::after, .rw-campaign::after { position: absolute; inset: 0; content: ""; background: rgba(0,0,0,.24); }
.rw-hero-content, .rw-campaign-content { position: absolute; z-index: 1; right: auto; bottom: 100px; left: 90px; max-width: 720px; }
.rw-hero h1, .rw-campaign h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 500; }
.rw-hero p, .rw-campaign p { max-width: 700px; margin: 20px 0 0; font-size: 20px; line-height: 1.6; }
.rw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rw-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; border: 0; background: #fff; color: var(--rw-navy); font-size: 16px; font-weight: 600; cursor: pointer; }
.rw-button:hover { background: var(--rw-orange); }
.rw-play-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgba(0,38,62,.8); color: #fff; cursor: pointer; }
.rw-play-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.rw-section { position: relative; padding: 72px 0 70px; background: var(--rw-cloud); }
.rw-section h2 { margin: 0 0 24px; font-size: 33px; line-height: 1.05; font-weight: 600; }
.rw-rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.rw-rail::-webkit-scrollbar { display: none; }
.rw-product-card { position: relative; display: flex; flex: 0 0 286px; flex-direction: column; height: 399px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 28px 60px rgba(0,0,0,.05); }
.rw-product-image { position: relative; display: block; height: 220px; flex: 0 0 220px; background: #fff; }
.rw-product-image img { width: 100%; height: 100%; object-fit: contain; }
.rw-badge { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border-radius: 999px; background: var(--rw-navy); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.rw-swatch-row { display: flex; height: 28px; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.rw-swatch { width: 13px; height: 13px; padding: 0; border: 1px solid #6d7d86; border-radius: 50%; cursor: pointer; }
.rw-swatch.is-selected { outline: 1px solid var(--rw-navy); outline-offset: 2px; }
.rw-product-meta { margin-top: auto; padding: 0 28px 18px; text-align: center; }
.rw-product-meta h3 { margin: 0; font-size: 15px; line-height: 1.2; font-weight: 500; }
.rw-product-meta p { margin: 4px 0 0; color: #5d6b73; font-size: 13px; }
.rw-carousel-button { position: absolute; top: 326px; z-index: 2; display: grid; width: 64px; height: 64px; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--rw-navy); box-shadow: 0 10px 30px rgba(0,0,0,.14); cursor: pointer; }
.rw-carousel-button.prev { left: 32px; } .rw-carousel-button.next { right: 32px; }
.rw-carousel-button:disabled { cursor: not-allowed; opacity: .6; }
.rw-category-grid { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.rw-category-card { flex: 0 0 286px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 28px 60px rgba(0,0,0,.05); }
.rw-category-card img { width: 100%; aspect-ratio: 1.22; object-fit: cover; transition: transform .5s ease; }
.rw-category-card:hover img { transform: scale(1.05); }
.rw-category-label { display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 40px; font-size: 15px; font-weight: 500; }
.rw-campaign { height: min(980px, calc(100vh - 100px)); margin-top: 40px; }
.rw-story { display: flex; margin: 100px 90px 0; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 28px 60px rgba(0,0,0,.05); }
.rw-story-copy { width: 360px; flex: 0 0 360px; padding: 80px 40px 40px; }
.rw-story-copy .eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.rw-story-copy h2 { margin: 20px 0 0; font-family: Georgia, serif; font-size: 33px; line-height: 1.08; font-weight: 400; }
.rw-story-copy p { margin: 24px 0 0; font-size: 18px; line-height: 1.55; }
.rw-story-copy a { display: inline-block; margin-top: 40px; border-bottom: 1px solid var(--rw-navy); font-size: 14px; font-weight: 600; }
.rw-story-image { min-height: 680px; flex: 1; }
.rw-story-image img { width: 100%; height: 100%; object-fit: cover; }
.rw-footer { margin-top: 0; background: var(--rw-navy); color: #fff; }
.rw-footer-grid { display: grid; grid-template-columns: 50% 25% 25%; padding: 40px 50px; }
.rw-footer h2 { margin: 0; font-size: 26px; font-weight: 500; }
.rw-footer p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.55; }
.rw-newsletter { max-width: 510px; }
.rw-newsletter label { display: block; margin-top: 28px; font-size: 18px; font-weight: 500; }
.rw-newsletter input { width: 100%; height: 34px; margin-top: 4px; border: 0; border-bottom: 1px solid #fff; background: transparent; color: #fff; }
.rw-footer .rw-button { margin-top: 16px; background: var(--rw-orange); }
.rw-footer .rw-button:hover { background: #ffba3d; }
.rw-footer-group ul { margin: 24px 0 0; padding: 0; list-style: none; color: #cfd4d8; font-size: 18px; }
.rw-footer-group li { margin: 0 0 15px; }
.rw-footer-group a:hover { color: #fff; text-decoration: underline; }
.rw-copyright { margin-top: 40px; }
.rw-shop-hero { padding: 56px 0; background: var(--rw-navy); color: #fff; }
.rw-shop-hero h1 { margin: 0; font-size: 42px; line-height: 1; }
.rw-shop-hero p { max-width: 560px; margin: 16px 0 0; color: rgba(255,255,255,.8); font-size: 18px; }
.rw-breadcrumb { margin-bottom: 20px; color: rgba(255,255,255,.7); font-size: 13px; }
.rw-catalog { padding: 48px 0 80px; background: var(--rw-cloud); }
.rw-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding: 20px; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgba(0,38,62,.05); }
.rw-filter-controls { display: flex; flex-wrap: wrap; gap: 16px; }
.rw-filter-controls label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.rw-filter-controls select { height: 40px; padding: 0 30px 0 12px; border: 1px solid #d7dfe3; border-radius: 4px; background: #fff; color: var(--rw-navy); }
.rw-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rw-catalog-card { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(0,38,62,.06); }
.rw-catalog-card-image { position: relative; display: block; aspect-ratio: 1; background: #f8fafb; }
.rw-catalog-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.rw-catalog-card-body { display: flex; min-height: 150px; flex-direction: column; padding: 20px; }
.rw-catalog-card-body .category { color: #65757e; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rw-catalog-card-body h2 { margin: 6px 0 0; font-size: 16px; line-height: 1.25; }
.rw-catalog-card-body p { margin: 4px 0 0; color: #65757e; font-size: 13px; }
.rw-catalog-card-body .price { margin-left: auto; color: var(--rw-navy); font-size: 16px; font-weight: 600; }
.rw-color-count { margin-top: auto; color: #65757e; font-size: 12px; }
.rw-product-page { max-width: 1370px; margin: 0 auto; padding: 40px 90px 112px; color: var(--rw-navy); background: #fff; }
.rw-back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.rw-back-link:hover { color: var(--rw-orange); }
.rw-card-title-row { display: flex; align-items: flex-start; gap: 12px; }
.rw-product-layout { display: grid; grid-template-columns: 58% 42%; gap: 76px; margin-top: 36px; }
.rw-product-detail-image { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--rw-cloud); }
.rw-product-detail-image img { width: 100%; height: 100%; object-fit: contain; padding: 40px; }
.rw-product-detail-image .rw-badge { top: 24px; left: 24px; padding: 8px 12px; font-size: 12px; letter-spacing: .08em; }
.rw-product-info h1 { margin: 12px 0 0; color: var(--rw-navy); font-size: 42px; line-height: 1.1; font-weight: 600; }
.rw-product-info .category { color: #647681; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rw-product-info .subtitle { margin: 12px 0 0; color: #536873; font-size: 18px; }
.rw-product-info .price { margin: 20px 0 0; color: var(--rw-navy); font-size: 22px; font-weight: 600; }
.rw-product-info .description { margin: 24px 0 0; color: #334e5d; font-size: 16px; line-height: 1.55; }
.rw-option-group { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rw-border); }
.rw-option-group legend { font-size: 15px; font-weight: 600; }
.rw-option-group legend span { color: #526b78; font-weight: 400; }
.rw-color-options { display: flex; gap: 12px; margin-top: 12px; }
.rw-color-options button { width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.rw-color-options button.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rw-navy); }
.rw-size-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.rw-size-options button { min-height: 48px; border: 1px solid var(--rw-navy); background: #fff; color: var(--rw-navy); cursor: pointer; }
.rw-size-options button.is-selected { background: var(--rw-navy); color: #fff; }
.rw-buy-row { display: flex; align-items: end; gap: 16px; margin-top: 28px; }
.rw-quantity { display: flex; height: 52px; align-items: center; border: 1px solid var(--rw-navy); }
.rw-quantity button { width: 50px; height: 50px; border: 0; background: #fff; cursor: pointer; }
.rw-quantity output { width: 32px; text-align: center; font-weight: 600; }
.rw-add-button { display: inline-flex; height: 52px; flex: 1; align-items: center; justify-content: center; border: 0; background: var(--rw-orange); color: var(--rw-navy); font-size: 16px; font-weight: 600; cursor: pointer; }
.rw-add-button:hover { background: #ffbb26; }
.rw-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--rw-border); border-bottom: 1px solid var(--rw-border); color: #334e5d; font-size: 15px; line-height: 1.4; }
.rw-features { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--rw-border); }
.rw-features-grid { display: grid; grid-template-columns: 42% 58%; gap: 64px; }
.rw-features h2, .rw-related h2 { margin: 8px 0 0; font-size: 34px; }
.rw-features ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.rw-related { margin-top: 96px; }
.rw-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.rw-related-card img { width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--rw-cloud); object-fit: contain; padding: 16px; }
.rw-related-card h3 { margin: 12px 0 0; font-size: 15px; }
.rw-related-card p { margin: 4px 0 0; color: #526b78; }

/* The original desktop layout expands the four category cards into a full-width grid. */
@media (min-width: 1536px) {
  .rw-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .rw-category-card { width: 100%; min-width: 0; }
}

@media (max-width: 1100px) {
  .rw-container { padding: 0 40px; }
  .rw-primary-nav { gap: 18px; }
  .rw-primary-nav > a, .rw-nav-trigger { font-size: 16px; }
  .rw-hero-content, .rw-campaign-content { left: 40px; }
  .rw-story { margin-right: 40px; margin-left: 40px; }
  .rw-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rw-product-layout { gap: 40px; }
}
@media (max-width: 767px) {
  .rw-container { padding: 0 16px; }
  .rw-header-inner { display: none; }
  .rw-mobile-bar { display: flex; }
  .rw-hero { height: 568px; }
  .rw-hero-content, .rw-campaign-content { right: 16px; bottom: 32px; left: 16px; }
  .rw-hero h1, .rw-campaign h2 { font-size: 38px; }
  .rw-hero p, .rw-campaign p { font-size: 16px; }
  .rw-section { padding-top: 72px; }
  .rw-section h2 { font-size: 26px; }
  .rw-carousel-button { display: none; }
  .rw-campaign { height: 568px; margin-top: 40px; }
  .rw-story { display: flex; flex-direction: column-reverse; margin: 70px 16px 0; }
  .rw-story-copy { width: 100%; padding: 40px 24px; }
  .rw-story-image { min-height: 260px; }
  .rw-footer-grid { display: block; padding: 40px 16px; }
  .rw-footer-group { margin-top: 40px; }
  .rw-shop-hero { padding: 40px 0; }
  .rw-shop-hero h1 { font-size: 32px; }
  .rw-catalog { padding: 32px 0 60px; }
  .rw-filter-bar { display: block; }
  .rw-filter-controls { margin-top: 14px; }
  .rw-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rw-catalog-card-body { padding: 14px; }
  .rw-product-page { padding: 28px 16px 80px; }
  .rw-product-layout { display: block; margin-top: 28px; }
  .rw-product-info { margin-top: 32px; }
  .rw-product-info h1 { font-size: 30px; }
  .rw-size-options { grid-template-columns: repeat(3, 1fr); }
  .rw-benefits, .rw-features-grid { grid-template-columns: 1fr; }
  .rw-features { margin-top: 64px; padding-top: 40px; }
  .rw-features ul { grid-template-columns: 1fr; }
  .rw-related { margin-top: 64px; }
  .rw-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Twenty Twenty-One reset: these rules intentionally stay scoped to this theme. */
.rw-site,
.rw-site * { box-sizing: border-box; }
.rw-site a,
.rw-site a:visited { color: inherit; text-decoration: none; }
.rw-site button { min-width: 0; margin: 0; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }
.rw-container { max-width: none; }
.rw-header { width: 100%; }
.rw-header-inner { width: 100%; min-height: 100px; }
.rw-logo { display: inline-flex !important; align-items: center; }
.rw-logo img { width: 165px !important; max-width: none !important; height: auto !important; }
.rw-primary-nav > a,
.rw-nav-trigger { height: 100%; color: var(--rw-navy) !important; background: transparent !important; border: 0 !important; font-family: var(--rw-font); line-height: 1; }
.rw-nav-trigger span { color: currentColor; font-size: 14px; }
.rw-nav-chevron { width: 14px !important; height: 14px !important; fill: none !important; stroke: currentColor; stroke-width: 2; transition: transform .18s ease; }
.rw-nav-trigger[aria-expanded="true"] .rw-nav-chevron,
.rw-mobile-trigger[aria-expanded="true"] .rw-nav-chevron { transform: rotate(180deg); }
.rw-header-inner > .rw-logo { justify-self: start; width: max-content; }
.rw-logo img { pointer-events: none; }
.rw-utility button,
.rw-mobile-bar button { color: var(--rw-navy) !important; background: transparent !important; border: 0 !important; }
.rw-utility button:hover,
.rw-mobile-bar button:hover { color: var(--rw-orange) !important; background: transparent !important; }
.rw-utility button span[aria-hidden="true"] { display: inline-block; font-size: 24px; line-height: 1; }
.rw-utility .rw-cart-count { color: var(--rw-navy) !important; background: var(--rw-orange) !important; font-size: 10px !important; }
.rw-hero,
.rw-campaign { isolation: isolate; min-height: 568px !important; }
.rw-hero { height: min(980px, calc(100vh - 100px)) !important; }
.rw-hero video,
.rw-campaign > img { z-index: 0; }
.rw-hero::after,
.rw-campaign::after { z-index: 1; }
.rw-hero h1,
.rw-hero p,
.rw-campaign h2,
.rw-campaign p { color: #fff !important; }
.rw-hero-content,
.rw-campaign-content { z-index: 2; }
.rw-button,
.rw-button:visited { color: var(--rw-navy) !important; background: #fff !important; }
.rw-button:hover { color: var(--rw-navy) !important; background: var(--rw-orange) !important; }
.rw-site .rw-play-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; line-height: 1; appearance: none; color: #fff !important; background: rgba(0,38,62,.82) !important; }
.rw-site .rw-play-toggle:hover { background: var(--rw-navy) !important; }
.rw-site .rw-play-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rw-site .rw-play-toggle svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: currentColor; stroke: none; pointer-events: none; }
.rw-site .rw-play-toggle[aria-pressed="true"] .rw-video-play,
.rw-site .rw-play-toggle[aria-pressed="false"] .rw-video-pause { display: none; }
.rw-footer,
.rw-footer * { border-color: transparent; }
.rw-footer { color: #fff !important; background: var(--rw-navy) !important; }
.rw-footer h2,
.rw-footer p,
.rw-footer label,
.rw-footer .rw-copyright { color: #fff !important; }
.rw-footer p { color: rgba(255,255,255,.85) !important; }
.rw-footer-group ul,
.rw-footer-group li,
.rw-footer .rw-footer-group li a,
.rw-footer .rw-footer-group li a:visited { color: #cfd4d8 !important; }
.rw-footer .rw-footer-group li a:hover { color: #fff !important; text-decoration: underline; }
.rw-newsletter input { color: #fff !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid #fff !important; border-radius: 0 !important; }
.rw-footer .rw-button { color: var(--rw-navy) !important; background: var(--rw-orange) !important; }
.rw-footer .rw-button:hover { background: #ffba3d !important; }
.rw-section,
.rw-catalog { background: var(--rw-cloud) !important; }
.rw-site > main { background: var(--rw-cloud) !important; }
.rw-site > main.rw-product-page { background: #fff !important; }
.rw-body.rw-product-view,
.rw-body.rw-product-view .rw-site { background: #fff !important; }
.rw-site .rw-carousel-button { display: grid; width: 64px !important; height: 64px !important; padding: 0 !important; place-items: center; border: 0 !important; border-radius: 50% !important; background: #fff !important; color: var(--rw-navy) !important; box-shadow: 0 10px 30px rgba(0,0,0,.14) !important; }
.rw-site .rw-carousel-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rw-site .rw-carousel-button:disabled { background: #fff !important; color: var(--rw-navy) !important; opacity: .55; }
.rw-section h2,
.rw-category-label,
.rw-product-meta h3,
.rw-product-meta h3 a { color: var(--rw-navy) !important; }
.rw-product-meta p { color: #5d6b73 !important; }
.rw-shop-hero { color: #fff !important; background: var(--rw-navy) !important; }
.rw-shop-hero h1,
.rw-shop-hero p,
.rw-shop-hero a { color: #fff !important; }
.rw-catalog-card-body h2,
.rw-catalog-card-body h2 a { color: var(--rw-navy) !important; }
.rw-catalog-card-body p,
.rw-color-count { color: #65757e !important; }
.rw-back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rw-product-detail-image .rw-badge { border-radius: 0; }
.rw-product-info fieldset.rw-option-group { min-width: 0; margin-left: 0; margin-right: 0; border: 0; }
.rw-option-group legend { width: auto; padding: 0; }
.rw-color-options button { flex: 0 0 40px; border-radius: 50% !important; background-clip: padding-box; }
.rw-size-options button { border-radius: 0 !important; }
.rw-buy-row > div > label { display: block; margin-bottom: 12px; color: var(--rw-navy); font-size: 15px; font-weight: 600; }
.rw-add-button { gap: 8px; border-radius: 0 !important; }
.rw-add-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rw-benefits > div { display: flex; gap: 12px; align-items: flex-start; }
.rw-benefits svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: var(--rw-navy); stroke-width: 1.7; }
.rw-benefits strong { color: var(--rw-navy); font-weight: 600; }
.rw-features li { display: flex; gap: 12px; align-items: flex-start; }
.rw-feature-check { color: var(--rw-orange); font-size: 20px; line-height: 1.1; }
.rw-related-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rw-related-heading a { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.rw-related-heading a:hover { color: var(--rw-orange); }
.rw-site .rw-size-options button { background: #fff !important; color: var(--rw-navy) !important; border: 1px solid var(--rw-navy) !important; }
.rw-site .rw-size-options button.is-selected { background: var(--rw-navy) !important; color: #fff !important; }
.rw-site .rw-size-options button { height: 48px !important; min-height: 48px !important; padding: 0 !important; line-height: 48px !important; }
.rw-site .rw-quantity button { background: #fff !important; color: var(--rw-navy) !important; border: 0 !important; }
.rw-site .rw-quantity output { color: var(--rw-navy) !important; background: #fff !important; }
.rw-site .rw-add-button { background: var(--rw-orange) !important; color: var(--rw-navy) !important; border: 0 !important; }
.rw-site .rw-add-button:hover { background: #ffbb26 !important; }

/* Keep the original breathing room below editorial content and preserve circular rail controls. */
.rw-site > main:not(.rw-product-page) { padding-bottom: 100px; }
.rw-site .rw-carousel-button { border-radius: 50% !important; }

@media (max-width: 767px) {
  .rw-site > main:not(.rw-product-page) { padding-bottom: 70px; }
  .rw-site .rw-carousel-button { display: none !important; }
}

/* Product detail alignment with the static storefront reference. */
.rw-site .rw-product-layout { grid-template-columns: minmax(0, 58%) minmax(0, 42%); }
.rw-site .rw-product-info { min-width: 0; }
.rw-site .rw-product-info .category,
.rw-site .rw-features .category { margin: 0; line-height: 1.3; }
.rw-site .rw-product-info .subtitle { line-height: 1.4; }
.rw-site .rw-product-info h1 { overflow-wrap: anywhere; }
.rw-site .rw-color-choice,
.rw-site .rw-size-choice,
.rw-site .rw-quantity button,
.rw-site .rw-add-button { -webkit-appearance: none; appearance: none; }
.rw-site .rw-color-choice:focus-visible,
.rw-site .rw-size-choice:focus-visible,
.rw-site .rw-quantity button:focus-visible,
.rw-site .rw-add-button:focus-visible { outline: 2px solid var(--rw-orange); outline-offset: 3px; }
.rw-site .rw-quantity button { display: inline-flex; align-items: center; justify-content: center; }
.rw-site .rw-quantity button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rw-site .rw-quantity button:disabled { cursor: not-allowed; opacity: .4; }
.rw-site .rw-feature-check { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 767px) {
  .rw-site .rw-product-page { padding-top: 28px; padding-bottom: 80px; }
  .rw-site .rw-product-layout { display: block; margin-top: 28px; }
  .rw-site .rw-product-info { margin-top: 32px; }
  .rw-site .rw-product-detail-image img { padding: 20px; }
  .rw-site .rw-product-info h1 { font-size: 30px; line-height: 1.12; }
  .rw-site .rw-product-info .subtitle { font-size: 17px; }
  .rw-site .rw-features h2,
  .rw-site .rw-related h2 { font-size: 28px; line-height: 1.12; }
}

@media (min-width: 768px) {
  .rw-site .rw-product-info { padding-top: 8px; }
}

@media (max-width: 639px) {
  .rw-site .rw-related-heading a { display: none; }
  .rw-site .rw-related-grid { display: flex; gap: 16px; margin-right: -16px; margin-left: -16px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
  .rw-site .rw-related-grid::-webkit-scrollbar { display: none; }
  .rw-site .rw-related-card { flex: 0 0 210px; }
}
