/* Redesign styles (product detail page). Loaded alongside candc.css; classes are prefixed rd- to avoid Bootstrap clashes. */
:root {
  --rd-navy: #1b2b63;
  --rd-red: #c62832;
  --rd-red-dark: #a91f28;
  --rd-ink: #1c1d22;
  --rd-muted: #5f5d58;
  --rd-body: #4a4944;
  --rd-paper: #f8f7f4;
  --rd-line: #e3e0d8;
  --rd-line-strong: #d6d2c8;
  --rd-navy-soft: #aab3d6;
  --rd-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--rd-paper);
  color: var(--rd-ink);
  font-family: var(--rd-sans);
  -webkit-font-smoothing: antialiased;
}

body a { color: var(--rd-navy); text-decoration: none; }
body a:hover { color: var(--rd-red); text-decoration: none; }

.rd-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Preview banner (remove when the redesign goes live) */

/* Top status bar */
.rd-topbar { background: var(--rd-navy); color: #e8eaf3; font-size: 13px; }
.rd-topbar .rd-wrap { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.rd-status { display: flex; align-items: center; gap: 8px; }
.rd-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a63b; }
.rd-status-dot.is-open { background: #5fc06a; }
.rd-status-text { font-weight: 600; }
.rd-dim { opacity: .7; }
.rd-topbar-note { opacity: .85; }

/* Header */
.rd-header { background: #fff; border-bottom: 1px solid var(--rd-line); }
.rd-header .rd-wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.rd-logo img { height: 52px; display: block; }
.rd-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.rd-nav a { color: var(--rd-ink); }
.rd-search { flex: 1 1 300px; display: flex; align-items: center; gap: 8px; background: var(--rd-paper); border: 1px solid var(--rd-line-strong); border-radius: 6px; padding: 4px 4px 4px 14px; height: 46px; margin: 0; }
.rd-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--rd-ink); outline: none; }
.rd-search input::placeholder { color: #8a877f; }
.rd-search button { border: 0; background: var(--rd-navy); color: #fff; font: inherit; font-size: 14px; font-weight: 600; padding: 0 16px; height: 36px; border-radius: 4px; cursor: pointer; }
.rd-phone { font-weight: 700; font-size: 16px; color: var(--rd-red) !important; white-space: nowrap; }

/* Product page */
.rd-section { padding-top: 28px; padding-bottom: 64px; }
.rd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--rd-muted); margin-bottom: 16px; }
.rd-product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: start; }
.rd-photo { position: relative; aspect-ratio: 1 / 1; max-width: 460px; border-radius: 10px; background: #fff; border: 1px solid var(--rd-line); overflow: hidden; }
.rd-photo img, .rd-photo-empty { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.rd-photo-empty { border-radius: 6px; background: repeating-linear-gradient(135deg, #ece9e3 0 10px, #f3f1ec 10px 20px); }
.rd-upload { margin-top: 10px; font-size: 14px; }
.rd-info { display: flex; flex-direction: column; gap: 22px; }
.rd-heading { display: flex; flex-direction: column; gap: 8px; }
.rd-sku { font-size: 13px; color: var(--rd-muted); }
.rd-title { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.015em; font-weight: 700; color: var(--rd-ink); }
.rd-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--rd-line); border: 1px solid var(--rd-line); border-radius: 8px; overflow: hidden; }
.rd-tier { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.rd-tier-label { font-size: 14px; color: var(--rd-muted); }
.rd-tier-price { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rd-btn { font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 6px; }
.rd-btn-primary { background: var(--rd-red); color: #fff !important; }
.rd-btn-primary:hover { background: var(--rd-red-dark); }
.rd-btn-outline { border: 1.5px solid var(--rd-navy); color: var(--rd-navy); padding: 14px 24px; }
.rd-note { margin: 0; font-size: 14px; color: var(--rd-muted); }

.rd-h2 { margin: 48px 0 16px; font-size: 24px; letter-spacing: -0.01em; font-weight: 700; }
.rd-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rd-card { background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; color: var(--rd-ink) !important; }
.rd-card:hover { border-color: var(--rd-navy); }
.rd-card-img { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid #eeebe4; }
.rd-card-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.rd-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; overflow-wrap: break-word; }
.rd-card-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rd-card-sku { font-size: 12px; color: var(--rd-muted); }
.rd-card-price { font-size: 14px; font-weight: 600; }

/* Category and price-list pages */
.rd-page-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.rd-page-title { margin: 0; font-size: 40px; letter-spacing: -0.015em; font-weight: 700; color: var(--rd-ink); }
.rd-page-meta { font-size: 16px; color: var(--rd-muted); }
.rd-subhead { margin: 0 0 14px; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-red); border-bottom: 1px solid var(--rd-line); padding-bottom: 10px; }
.rd-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; }
.rd-tiles + .rd-subhead { margin-top: 36px; }
.rd-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; padding: 10px; color: var(--rd-ink) !important; }
.rd-tile:hover { border-color: var(--rd-navy); }
.rd-tile-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rd-thumb { flex: none; width: 56px; height: 56px; border-radius: 5px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: repeating-linear-gradient(135deg, #f1efea 0 6px, #f7f5f1 6px 12px); }
.rd-thumb.has-img { background: #fff; }
.rd-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.rd-thumb-lg { width: 72px; height: 72px; border-radius: 6px; }

.rd-cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.rd-cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; overflow: hidden; color: var(--rd-ink) !important; }
.rd-cat-card:hover { border-color: var(--rd-navy); }
.rd-cat-card-img { position: relative; aspect-ratio: 1 / 1; background: repeating-linear-gradient(135deg, #f1efea 0 8px, #f7f5f1 8px 16px); }
.rd-cat-card-img.has-img { background: #fff; }
.rd-cat-card-img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.rd-cat-card-name { padding: 12px 14px 14px; font-size: 16px; font-weight: 600; line-height: 1.3; border-top: 1px solid #eeebe4; }

.rd-list { background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; overflow: hidden; }
.rd-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; padding: 12px 18px 12px 12px; border-bottom: 1px solid #eeebe4; color: var(--rd-ink) !important; }
.rd-row:last-child { border-bottom: 0; }
.rd-row:hover { background: var(--rd-paper); }
.rd-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rd-row-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.rd-row-sku { font-size: 12px; color: var(--rd-muted); }
.rd-row-tiers { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.rd-row-tier { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 84px; }
.rd-row-tier-label { font-size: 12px; color: var(--rd-muted); white-space: nowrap; }
.rd-row-tier-price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.rd-empty { font-size: 17px; color: var(--rd-muted); }
.rd-list + .rd-note { margin-top: 16px; }

@media (max-width: 600px) {
  .rd-page-title { font-size: 32px; }
  .rd-cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rd-cat-card-name { font-size: 15px; padding: 10px 12px 12px; }
  .rd-row { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; }
  .rd-row .rd-thumb-lg { width: 56px; height: 56px; }
  .rd-row-tiers { grid-column: 2; justify-content: flex-start; }
  .rd-row-tier { align-items: flex-start; min-width: 0; }
}

/* Home */
.rd-eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-red); }
.rd-eyebrow-soft { color: var(--rd-navy-soft); }
.rd-hero { background: #fff; border-bottom: 1px solid var(--rd-line); }
.rd-hero-grid { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; }
.rd-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.rd-hero-title { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; color: var(--rd-ink); }
.rd-hero-lede { margin: 0; font-size: 19px; line-height: 1.5; color: var(--rd-body); max-width: 540px; text-wrap: pretty; }
.rd-visit { background: var(--rd-navy); color: #fff; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.rd-visit-list { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; font-size: 16px; line-height: 1.45; margin: 0; }
.rd-visit-list dt { color: var(--rd-navy-soft); font-weight: 400; }
.rd-visit-list dd { margin: 0; }
.rd-visit-list a { color: #fff; }
.rd-home-section { padding-top: 48px; padding-bottom: 8px; }
.rd-home-section-last { padding-bottom: 64px; }
.rd-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rd-section-title { margin: 0; font-size: 28px; letter-spacing: -0.01em; font-weight: 700; }
.rd-section-link { font-weight: 600; font-size: 15px; }
.rd-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.rd-feature { background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; color: var(--rd-ink) !important; }
.rd-feature:hover { border-color: var(--rd-navy); }
.rd-feature-img { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid #eeebe4; }
.rd-feature-img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.rd-feature-name { padding: 14px 16px; font-size: 17px; font-weight: 600; }
.rd-popular { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.rd-popular .rd-tile { padding: 14px; }
.rd-thumb-md { width: 64px; height: 64px; border-radius: 6px; }

/* All products */
.rd-page-head-split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.rd-page-head-split .rd-page-head { margin-bottom: 0; }
.rd-filter { width: min(100%, 320px); height: 44px; border: 1px solid var(--rd-line-strong); border-radius: 6px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; outline: none; }
.rd-filter:focus { border-color: var(--rd-navy); }
.rd-tile[hidden], .rd-cat-card[hidden] { display: none; }

/* About and contact */
.rd-display { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; color: var(--rd-ink); }
.rd-lede { margin: 0; font-size: 18px; line-height: 1.55; color: var(--rd-body); max-width: 520px; text-wrap: pretty; }
.rd-about { max-width: 1100px; padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.rd-about-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
/* The archive photos are only 288px wide, so they're shown at natural size rather than stretched. */
.rd-figures { display: flex; flex-wrap: wrap; gap: 24px; }
.rd-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.rd-figure img { display: block; width: 288px; max-width: 100%; height: auto; border-radius: 8px; }
.rd-figure-wide, .rd-figure-wide img { width: 100%; }
.rd-figure-crop img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 45%; }
.rd-figure figcaption { font-size: 14px; color: var(--rd-muted); }
.rd-timeline { list-style: none; margin: 0; padding: 0; }
.rd-timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--rd-line); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.rd-timeline-year { font-size: 16px; font-weight: 500; color: var(--rd-navy); }
.rd-contact { padding-top: 48px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; }
.rd-contact-info { display: flex; flex-direction: column; gap: 26px; }
.rd-callout { background: #fff; border: 1px solid var(--rd-line); border-radius: 8px; padding: 16px 18px; font-size: 16px; line-height: 1.5; }
/* Flex rather than equal grid columns so the email address gets the width it needs instead of breaking mid-word. */
.rd-contact-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; font-size: 16px; line-height: 1.55; }
.rd-contact-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: break-word; }
.rd-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-muted); }
.rd-map { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 10px; background: #ece9e3; }

@media (max-width: 600px) {
  .rd-timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; font-size: 16px; }
}

/* Footer */
.rd-footer { background: var(--rd-navy); color: #e8eaf3; }
.rd-footer .rd-wrap { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; font-size: 15px; line-height: 1.6; }
.rd-footer-col { display: flex; flex-direction: column; gap: 2px; }
.rd-footer-name { font-weight: 700; font-size: 17px; color: #fff; }
.rd-footer-label { color: var(--rd-navy-soft); }
.rd-footer a { color: #fff; }
.rd-footer a:hover { color: var(--rd-navy-soft); }
