/* ============================================
   Team Rattapood — rp-style.css v7
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; min-width: 0 !important; width: 100% !important; }
body { overflow-x: hidden; position: relative; }
/* Global link fix — ei underline'i */
body.rp-site a { text-decoration: none; }
body.rp-site a:hover { text-decoration: none; }

body.rp-site {
  font-family: 'Barlow', sans-serif;
  background: #f5f4f0;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==============================
   NAV BASE — kõik seadmed
   ============================== */
#rp-nav {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: #fff;
  border-bottom: 1px solid #e8e8e4;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 100000 !important;
  height: 72px;
  gap: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
  box-sizing: border-box;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

/* Transparent state */
#rp-nav.rp-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
#rp-nav.rp-transparent .rp-nav-logo {
  filter: brightness(0) invert(1) !important;
}
#rp-nav.rp-transparent .rp-nav-burger span {
  background: #fff !important;
}
#rp-nav.rp-transparent .rp-nav-links > li > a {
  color: rgba(255,255,255,0.9) !important;
}

.rp-nav-logo {
  height: 65px;
  display: block;
  transition: filter 0.3s;
}
.rp-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}
.rp-nav-burger span {
  display: block; width: 24px; height: 2px;
  background: #1a1a1a;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.rp-nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rp-nav-burger.is-open span:nth-child(2) { opacity: 0; }
.rp-nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Spacer hero lehtedel (transparent nav katab sisu) */
body.rp-site.has-hero { padding-top: 0; }
body.rp-site:not(.has-hero) { padding-top: 72px; }

.rp-nav-logo-link { flex-shrink: 0; }

.rp-nav-links {
  display: flex !important;
  flex-direction: row !important;
  gap: 0;
  list-style: none;
  align-items: stretch;
  height: 72px;
  flex: 1;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.rp-nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}

/* Invisible bridge: fills gap between nav item and dropdown */
.rp-has-dropdown {
  position: relative;
}
.rp-has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 4px;
  background: transparent;
  z-index: 599;
}

.rp-nav-links > li > a {
  display: flex;
  align-items: center;
  color: #444;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 72px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.rp-nav-links > li > a:hover,
.rp-nav-links > li > a.active {
  color: #1a1a1a;
  border-bottom-color: #ffe602;
}

/* Dropdown */
.rp-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e4;
  border-top: 3px solid #ffe602;
  list-style: none;
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 600;
  transition: opacity 0.15s, visibility 0.15s;
  padding: 0.25rem 0;
  margin: 0;
}
.rp-has-dropdown:hover > .rp-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.rp-dropdown li { position: relative; }
.rp-dropdown > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.1rem;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f5f4f0;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  height: auto;
  border-bottom-width: 1px;
  border-bottom-color: #f5f4f0;
}
.rp-dropdown > li > a:hover {
  background: #f5f4f0;
  color: #1a1a1a;
  border-bottom-color: #f5f4f0;
}
.rp-dropdown > li:last-child > a { border-bottom: none; }

/* Sub-menu arrow indicator */
.rp-dropdown > li.rp-has-dropdown > a::after {
  content: '\203A';
  font-size: 18px;
  color: #aaa;
  line-height: 1;
  position: static;
  height: auto;
  background: none;
  width: auto;
  bottom: auto;
}

/* Sub-dropdown */
.rp-dropdown-sub {
  top: 0;
  left: 100%;
  border-top: 3px solid #ffe602;
}
/* Sub-dropdown bridge — hiir saab liikuda submenu peale */
.rp-dropdown .rp-has-dropdown::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  background: transparent;
  z-index: 601;
}

/* Nav contact */
.rp-nav-contact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.4rem;
}

.rp-nav-phone, .rp-nav-email {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.rp-nav-phone {
  color: #1a1a1a;
  background: #f5f4f0;
  border: 1px solid #e0ddd6;
}
.rp-nav-phone:hover { background: #ffe602; border-color: #e6cf00; }
.rp-nav-email {
  color: #666;
  background: transparent;
  border: 1px solid #e8e8e4;
}
.rp-nav-email:hover { background: #f5f4f0; color: #1a1a1a; }
.rp-nav-phone i, .rp-nav-email i { font-size: 11px; }

/* ==============================
   MOBILE MENU
   ============================== */
.rp-mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
  pointer-events: none;
  backdrop-filter: blur(3px);
}
.rp-mobile-overlay.is-visible { display: block; pointer-events: auto; }

.rp-mobile-menu {
  position: fixed;
  top: 0; left: 100vw; bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  z-index: 100001;
  transform: translateX(0);
  transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  visibility: hidden;
}
.rp-mobile-menu.is-open { left: calc(100vw - min(340px, 88vw)); visibility: visible; }
.rp-mobile-menu-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.rp-mobile-menu-links { flex: 1; overflow-y: auto; padding-top: 60px; }

.rp-mobile-link {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #1a1a1a; text-decoration: none;
  border-bottom: 1px solid #f0ede6;
  transition: background 0.12s;
}
.rp-mobile-link:hover { background: #f8f7f4; }

.rp-mobile-parent, .rp-mobile-subparent {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #1a1a1a; background: none; border: none;
  border-bottom: 1px solid #f0ede6;
  cursor: pointer; text-align: left;
  transition: background 0.12s;
  font-family: 'Barlow', sans-serif;
  padding: 1rem 1.5rem;
}
.rp-mobile-parent:hover, .rp-mobile-subparent:hover { background: #f8f7f4; }

/* Chevron — plain text, no background */
.rp-mob-chevron {
  font-size: 20px;
  font-weight: 700;
  color: #ffe602;
  line-height: 1;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.rp-mobile-sub { display: none; background: #f8f7f4; }
.rp-mobile-sub.is-open { display: block; }
.rp-mobile-sub2 { background: #f0ede6; }

.rp-mobile-subparent {
  font-size: 13px;
  padding: 0.8rem 1.5rem 0.8rem 2rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.rp-mobile-leaf {
  display: block;
  padding: 0.8rem 1.5rem 0.8rem 2.25rem;
  font-size: 13px; color: #555; text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.12s;
}
.rp-mobile-leaf:hover { background: #ece9e2; color: #1a1a1a; }
.rp-mobile-sub2 a {
  display: block;
  padding: 0.7rem 1.5rem 0.7rem 3rem;
  font-size: 13px; color: #666; text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.12s;
}
.rp-mobile-sub2 a:hover { background: #e4e1da; color: #1a1a1a; }

.rp-mobile-cta {
  padding: 1rem;
  border-top: 1px solid #e8e5de;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #fafaf8;
  flex-shrink: 0;
}
.rp-mob-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.8rem 0.5rem;
  font-size: 12px; font-weight: 600;
  text-decoration: none; border-radius: 6px;
  transition: all 0.15s; text-align: center;
  border: 2px solid transparent;
}
.rp-mob-btn i { font-size: 13px; }
.rp-mob-btn-yellow { background: #ffe602; color: #1a1a1a; border-color: #ffe602; }
.rp-mob-btn-yellow:hover { background: #e6cf00; border-color: #e6cf00; }
.rp-mob-btn-dark { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.rp-mob-btn-dark:hover { background: #333; border-color: #333; }
.rp-mob-btn-outline { border-color: #ddd; color: #555; background: #fff; }
.rp-mob-btn-outline:hover { border-color: #1a1a1a; color: #1a1a1a; }

/* ==============================
   COMMON
   ============================== */
.rp-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #888; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.rp-label::before { content: ''; display: block; width: 20px; height: 2px; background: #ffe602; flex-shrink: 0; }
.rp-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  text-transform: uppercase; color: #1a1a1a;
  margin: 0 0 2.5rem; line-height: 1;
}
.rp-section { padding: 5rem 2.5rem; }
.rp-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.rp-see-all {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1a1a1a; text-decoration: none;
  border-bottom: 1.5px solid #ffe602; padding-bottom: 2px;
  white-space: nowrap; transition: color 0.2s;
}
.rp-see-all:hover { color: #555; }
.rp-btn-dark {
  background: #1a1a1a; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; text-decoration: none; transition: background 0.2s; display: inline-block;
}
.rp-btn-dark:hover { background: #333; color: #fff; }
.rp-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 28px; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.rp-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ==============================
   STRIP
   ============================== */
.rp-strip {
  background: #2a2a2a; padding: 1.25rem 2.5rem;
  display: flex; align-items: center; flex-wrap: wrap;
}
.rp-strip-item {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #bbb; padding: 0.25rem 2rem 0.25rem 0;
}
.rp-strip-item + .rp-strip-item { padding-left: 2rem; border-left: 1px solid #444; }
.rp-strip-item strong { color: #fff; font-weight: 600; }
.rp-strip-item a { color: #ffe602; text-decoration: none; }

/* ==============================
   KATEGOORIAD
   ============================== */
.rp-cats-section { overflow: hidden; }

.rp-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.rp-cat {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ddd;
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}
.rp-cat img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; opacity: 0.78;
}
.rp-cat:hover img { transform: scale(1.06); opacity: 0.95; }
.rp-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}
.rp-cat-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem 1.1rem; }
.rp-cat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem; font-weight: 700; text-transform: uppercase;
  color: #fff; line-height: 1.1; margin-bottom: 0.3rem;
}
.rp-cat-link { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.rp-cat:hover .rp-cat-link { color: #ffe602; }

/* ==============================
   TOOTED
   ============================== */
.rp-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.rp-product {
  position: relative; overflow: hidden; display: block;
  text-decoration: none; color: inherit; aspect-ratio: 4/3; background: #eee;
}
.rp-product img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.rp-product:hover img { transform: scale(1.05); }
.rp-product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.rp-product-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.25rem; }
.rp-product-cat { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.3rem; }
.rp-product-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.15; }
.rp-product-bottom { display: flex; justify-content: space-between; align-items: center; }
.rp-product-price { font-size: 1.1rem; font-weight: 500; color: #fff; }
.rp-product-arrow { width: 32px; height: 32px; background: #ffe602; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #1a1a1a; flex-shrink: 0; transition: background 0.2s; }
.rp-product:hover .rp-product-arrow { background: #fff; }

/* ==============================
   TEAM LUGU
   ============================== */
.rp-story { display: grid; grid-template-columns: 1fr 1fr; }
.rp-story-img { position: relative; min-height: 520px; background: #ddd; overflow: hidden; }
.rp-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(15%); }
.rp-story-year { position: absolute; top: 2.5rem; left: 2.5rem; }
.rp-story-year-num { font-family: 'Barlow Condensed', sans-serif; font-size: 5rem; font-weight: 800; color: #ffe602; line-height: 1; text-shadow: 3px 3px 0 rgba(0,0,0,0.25); }
.rp-story-year-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.rp-story-text { background: #fff; padding: 5rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.rp-story-p { color: #666; font-weight: 300; line-height: 1.85; margin-bottom: 1.25rem; font-size: 0.95rem; }
.rp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: #f0ede6; }
.rp-stat { background: #fff; padding: 1.5rem 1rem; text-align: center; }
.rp-stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 800; color: #1a1a1a; line-height: 1; }
.rp-stat-num em { font-style: normal; color: #ffe602; }
.rp-stat-label { font-size: 10px; color: #888; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ==============================
   BRÄNDID
   ============================== */
.rp-brands-section { background: #fff; padding: 3rem 2.5rem; border-top: 1px solid #ece9e2; border-bottom: 1px solid #ece9e2; }
.rp-brands-row { display: flex; gap: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.rp-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: #ccc; letter-spacing: 0.05em; transition: color 0.2s; cursor: default; }
.rp-brand:hover { color: #1a1a1a; }

/* ==============================
   FOOTER
   ============================== */
.rp-footer { background: #1e1e1e; }
.rp-footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding: 4rem 2.5rem 2.5rem; }
.rp-footer-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 0.75rem; }
.rp-footer-desc { font-size: 0.875rem; color: #888; line-height: 1.85; margin-bottom: 1.5rem; }
.rp-footer-contact-block { display: flex; flex-direction: column; gap: 0.45rem; }
.rp-footer-contact-block a { color: #ccc; font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.rp-footer-contact-block a:hover { color: #fff; }
.rp-footer-contact-block span { color: #666; font-size: 0.8rem; }
.rp-footer-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #ffe602; margin-bottom: 1.25rem; }
.rp-footer-links { list-style: none; }
.rp-footer-links li { margin-bottom: 0.65rem; }
.rp-footer-links a { color: #888; font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.rp-footer-links a:hover { color: #fff; }
.rp-footer-bottom { padding: 1.25rem 2.5rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #2e2e2e; }
.rp-copy { font-size: 11px; color: #555; letter-spacing: 0.04em; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .rp-nav-contact { display: none !important; }
  .rp-cats { grid-template-columns: repeat(3, 1fr); }
  .rp-cat { aspect-ratio: 4/5; }
}
@media (max-width: 900px) {
  .rp-footer-inner { grid-template-columns: 1fr 1fr; }
  .rp-products { grid-template-columns: repeat(2, 1fr); }
  .rp-story { grid-template-columns: 1fr; }
  .rp-story-img { min-height: 55vw; }
  .rp-story-text { padding: 3rem 2rem; }
}
@media (max-width: 768px) {
  #rp-nav { height: 60px !important; padding: 0 1.25rem !important; }
  .rp-nav-logo { height: 40px !important; }
  .rp-nav-links { display: none !important; }
  .rp-nav-contact { display: none !important; }
  .rp-nav-burger { display: flex !important; }
  body.rp-site:not(.has-hero) { padding-top: 60px; }
  .rp-section { padding: 3rem 1.25rem; }
  .rp-strip { padding: 1rem 1.25rem; }
  .rp-strip-item { padding: 0.2rem 1rem 0.2rem 0; font-size: 11px; }
  .rp-strip-item + .rp-strip-item { padding-left: 1rem; }
  /* Kategooriad — horizontal scroll mobiilis */
  .rp-cats-section { overflow: hidden; }
  .rp-cats {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 6px;
    padding: 0 1.25rem !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100%;
  }
  .rp-cats::after {
    content: '';
    flex: 0 0 1.25rem;
    display: block;
  }
  .rp-cats::-webkit-scrollbar { display: none; }
  .rp-cat {
    flex: 0 0 68vw !important;
    width: 68vw !important;
    max-width: none !important;
    aspect-ratio: 3/4 !important;
    scroll-snap-align: start;
  }
  .rp-products { grid-template-columns: 1fr 1fr; }
  .rp-brands-section { padding: 2.5rem 1.25rem; }
  .rp-brands-row { gap: 1.5rem; }
  .rp-footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .rp-footer-bottom { flex-direction: column; gap: 0.4rem; padding: 1rem 1.25rem; text-align: center; }
  .rp-h2 { margin-bottom: 1.5rem; }
  .rp-section-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
@media (max-width: 480px) {
  .rp-cats { grid-template-columns: 1fr 1fr; }
  .rp-products { grid-template-columns: 1fr; }
  .rp-strip { flex-direction: column; }
  .rp-strip-item { border-left: none !important; padding: 0.4rem 0; border-bottom: 1px solid #3a3a3a; width: 100%; }
  .rp-strip-item:last-child { border-bottom: none; }
}

/* ==============================
   TOOTEKATALOOG
   ============================== */
.rp-catalog-wrap { min-height: 60vh; }

/* Hero */
.rp-cat-hero {
  background: #1a1a1a;
  padding: 3rem 2.5rem 2rem;
}
.rp-cat-hero-inner { }

.rp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #555;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.rp-breadcrumb a { color: #666; transition: color 0.15s; }
.rp-breadcrumb a:hover { color: #fff; }
.rp-breadcrumb-current { color: #aaa; }

.rp-catalog-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
  margin: 0;
}
.rp-catalog-desc { color: #777; font-size: 0.9rem; margin-top: 0.6rem; }

/* Alamkategooriad */
.rp-subcat-row {
  background: #fff;
  padding: 1rem 2.5rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid #e8e5de;
}
.rp-subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  background: #f0ede6;
  transition: all 0.15s;
}
.rp-subcat-chip:hover { border-color: #1a1a1a; background: #1a1a1a; color: #fff; }
.rp-subcat-chip img { width: 18px; height: 18px; object-fit: cover; border-radius: 1px; }
.rp-subcat-count { font-size: 10px; color: #bbb; }
.rp-subcat-chip:hover .rp-subcat-count { color: #888; }

/* Main */
.rp-catalog-main {
  background: #fff;
  padding: 2rem 2.5rem 5rem;
}

/* Toolbar */
.rp-catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.rp-catalog-count {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
}
.rp-sort-select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
}
.rp-sort-select:focus { outline: none; border-color: #1a1a1a; }

/* Product grid — 3 kolonni */
.rp-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e8e5de;
}

/* Product card */
.rp-prod-card {
  background: #fff;
  display: block;
  color: inherit;
  transition: box-shadow 0.2s;
  position: relative;
}
.rp-prod-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.08); z-index: 1; }

.rp-prod-img {
  position: relative;
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
  background: #fff;
}
.rp-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 1rem;
  transition: transform 0.35s ease;
}
.rp-prod-card:hover .rp-prod-img img { transform: scale(1.03); }
.rp-prod-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f4f0;
}

.rp-prod-info {
  padding: 0.85rem 1rem 0.9rem;
}
.rp-prod-name {
  font-size: 0.875rem;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.rp-prod-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rp-prod-price { font-size: 1rem; font-weight: 600; color: #1a1a1a; }
.rp-prod-arrow {
  width: 26px; height: 26px;
  background: #f0ede6;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #aaa;
  transition: all 0.15s;
  flex-shrink: 0;
}
.rp-prod-card:hover .rp-prod-arrow { background: #ffe602; color: #1a1a1a; }

/* Out of stock */
.rp-out-of-stock { opacity: 0.6; }
.rp-badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px;
}
.rp-badge-out { background: #1a1a1a; color: #fff; }

/* ==============================
   CATALOG RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .rp-product-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-catalog-main { padding: 1.5rem 1.5rem 3rem; }
  .rp-cat-hero { padding: 2rem 1.5rem 1.5rem; }
  .rp-subcat-row { padding: 0.75rem 1.5rem; }
}
@media (max-width: 768px) {
  .rp-cat-hero { padding: calc(60px + 1.5rem) 1.25rem 1.5rem; }
  .rp-catalog-main { padding: 1.25rem 1.25rem 3rem; }
  .rp-subcat-row { padding: 0.65rem 1.25rem; }
  .rp-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .rp-prod-img { aspect-ratio: 1/1; }
}
@media (max-width: 480px) {
  .rp-product-grid { grid-template-columns: 1fr; }
}


/* ============================================
   SINGLE PRODUCT
   ============================================ */

.rp-single-wrap {
  background: #fff;
  min-height: 80vh;
}

/* Breadcrumb */
.rp-single-breadcrumb {
  background: #f5f4f0;
  border-bottom: 1px solid #e8e5de;
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: #666;
}
.rp-single-breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.rp-single-breadcrumb .breadcrumb_last { color: #1a1a1a; font-weight: 500; }
.rp-single-breadcrumb a { color: #666; text-decoration: none; }
.rp-single-breadcrumb a:hover { color: #1a1a1a; }

/* Toote peajaotis */
.rp-single-product {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Pildid */
.rp-single-gallery {
  position: sticky;
  top: 80px;
}
.rp-single-gallery .woocommerce-product-gallery {
  margin: 0 !important;
}
.rp-single-gallery .flex-viewport {
  border-radius: 4px;
  overflow: hidden;
}
.rp-single-gallery .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.rp-single-gallery .flex-control-thumbs li {
  list-style: none;
  width: 80px;
  height: 60px;
  overflow: hidden;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rp-single-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-single-gallery .flex-control-thumbs .flex-active {
  border-color: #ffe602;
}

/* Summary */
.rp-single-summary {
  padding-top: 0.5rem;
}
.rp-single-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.15;
  text-transform: uppercase;
}
.rp-single-price .price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  display: block;
}
.rp-single-price .woocommerce-Price-currencySymbol { font-size: 1.5rem; }

/* Lisa korvi */
.rp-single-actions .cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rp-single-actions .quantity { display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 3px; overflow: hidden; }
.rp-single-actions .quantity input[type="button"] {
  background: #f5f4f0;
  border: none;
  width: 36px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #1a1a1a;
}
.rp-single-actions .quantity input[type="button"]:hover { background: #e8e5de; }
.rp-single-actions .quantity .qty {
  border: none;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  width: 52px;
  height: 48px;
  text-align: center;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
  -moz-appearance: textfield;
}
.rp-single-actions .quantity .qty::-webkit-outer-spin-button,
.rp-single-actions .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }

.rp-single-actions .single_add_to_cart_button {
  background: #ffe602;
  color: #1a1a1a;
  border: none;
  padding: 0 2rem;
  height: 48px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s;
}
.rp-single-actions .single_add_to_cart_button:hover { background: #f0d800; }

/* Enquiry nupp */
.pe-enq-wrapper { margin-top: 10px; }
.pe-enq-wrapper .contact {
  background: transparent;
  border: 1.5px solid #1a1a1a;
  color: #1a1a1a;
  padding: 0 2rem;
  height: 44px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.15s;
  width: 100%;
}
.pe-enq-wrapper .contact:hover { background: #1a1a1a; color: #fff; }

/* Meta (SKU, kategooriad) */
.rp-single-meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e5de;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}
.rp-single-meta a { color: #1a1a1a; text-decoration: none; }
.rp-single-meta a:hover { text-decoration: underline; }

/* Kirjeldus / spec tabel */
.rp-single-description {
  background: #f9f8f5;
  border-top: 1px solid #e8e5de;
  padding: 3rem 0;
}
.rp-single-description-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.rp-single-desc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.03em;
}

/* Spec tabel */
.rp-single-description table.price-list-product {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.rp-single-description table.price-list-product th,
.rp-single-description table.price-list-product td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f0ede6;
  text-align: left;
  vertical-align: top;
}
.rp-single-description table.price-list-product th {
  color: #666;
  font-weight: 500;
  width: 180px;
  white-space: nowrap;
  background: #fafaf8;
}
.rp-single-description table.price-list-product tr:last-child th,
.rp-single-description table.price-list-product tr:last-child td {
  border-bottom: none;
}
.rp-single-description table.price-list-product tr:hover td,
.rp-single-description table.price-list-product tr:hover th {
  background: #f5f4f0;
}

/* Seotud tooted */
.rp-single-related {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid #e8e5de;
}
.rp-single-related-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.rp-related-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.03em;
}
.rp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rp-related-card {
  text-decoration: none;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #e8e5de;
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: block;
}
.rp-related-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: #ccc;
}
.rp-related-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.rp-related-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rp-related-info {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f0ede6;
}
.rp-related-name {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}
.rp-related-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* ============================================
   SINGLE PRODUCT MOBIIL
   ============================================ */
@media (max-width: 768px) {
  .rp-single-product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .rp-single-gallery { position: static; }
  .rp-single-title { font-size: 1.6rem; }
  .rp-single-price .price { font-size: 1.6rem; }
  .rp-single-description-inner,
  .rp-single-related-inner,
  .rp-single-breadcrumb-inner { padding: 0 1.25rem; }
  .rp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rp-single-description table.price-list-product th { width: 120px; font-size: 0.8rem; }
  .rp-single-description table.price-list-product td { font-size: 0.8rem; }
  .rp-single-gallery .flex-control-thumbs li { width: 60px; height: 45px; }
}
