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

*, *::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; }

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;
}

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

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

.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); }
#rp-nav { z-index: 100002 !important; }

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;
  flex-direction: row;
  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;
}

.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;
  font-weight: 500;
  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;
}

.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; }

.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;
}

.rp-dropdown-sub {
  top: 0;
  left: 100%;
  border-top: 3px solid #ffe602;
}

.rp-dropdown .rp-has-dropdown::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  background: transparent;
  z-index: 601;
}

.rp-nav-contact {
  display: flex;
  flex-direction: row;
  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; }

.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; }

.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; }

.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); }

.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; }

.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; }

.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; }

.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; }

.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; }

.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; }

@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; }
  .rp-nav-links { display: none !important; }
  .rp-nav-contact { display: none !important; }
  .rp-nav-burger { display: flex; }
  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; }
  
  .rp-cats-section { overflow: hidden; }
  .rp-cats {
    display: flex;
    flex-direction: row;
    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;
    margin: 0;
    max-width: none;
    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;
    width: 68vw;
    max-width: none;
    aspect-ratio: 3/4;
    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; padding: 0.4rem 0; border-bottom: 1px solid #3a3a3a; width: 100%; }
  .rp-strip-item:last-child { border-bottom: none; }
}

.rp-catalog-wrap { min-height: 60vh; }

.rp-cat-hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.rp-cat-hero[style*="background-image"]::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.rp-cat-hero[style*="background-image"] .rp-cat-hero-inner {
  position: relative; z-index: 1;
}
.rp-cat-hero[style*="background-image"] .rp-catalog-title,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb a,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb span { color: #fff; }
.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;
  font-weight: 700;
  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; }

.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;
  font-weight: 700;
  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; }

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

.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; }

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

.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; }

.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; }

@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 {
  background-size: cover;
  background-position: center;
  position: relative;
}
.rp-cat-hero[style*="background-image"]::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.rp-cat-hero[style*="background-image"] .rp-cat-hero-inner {
  position: relative; z-index: 1;
}
.rp-cat-hero[style*="background-image"] .rp-catalog-title,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb a,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb span { color: #fff; }
.rp-cat-hero { padding: 2rem 1.5rem 1.5rem; }
  .rp-subcat-row { padding: 0.75rem 1.5rem; }
}
@media (max-width: 768px) {
  .rp-cat-hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.rp-cat-hero[style*="background-image"]::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.rp-cat-hero[style*="background-image"] .rp-cat-hero-inner {
  position: relative; z-index: 1;
}
.rp-cat-hero[style*="background-image"] .rp-catalog-title,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb a,
.rp-cat-hero[style*="background-image"] .rp-breadcrumb span { color: #fff; }
.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; }
}

.rp-sp { background: #fff; }

.rp-sp-crumb {
  border-bottom: 1px solid #f0ede6;
  padding: 0.75rem 0;
  font-size: 0.72rem;
  color: #bbb;
  border-bottom: 1px solid #f0ede6;
  letter-spacing: 0.03em;
}
.rp-sp-crumb-inner { margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; }
.rp-sp-crumb .woocommerce-breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.78rem; letter-spacing: 0.04em; }
.rp-sp-crumb a { color: #999; text-decoration: none; transition: color 0.15s; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }
.rp-sp-crumb .woocommerce-breadcrumb .separator { color: #ddd; font-size: 0.65rem; }
.rp-sp-crumb a:hover { color: #1a1a1a; }
.rp-sp-crumb .breadcrumb_last { color: #1a1a1a; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }

.rp-sp-main {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px;
  min-height: 80vh;
}

.rp-sp-gallery {
  position: sticky; top: 72px;
  height: calc(100vh - 72px);
  background: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #f0ede6;
}
.rp-sp-gallery .woocommerce-product-gallery {
  width: 100%; flex: 1; min-height: 0; margin: 0;
}
.rp-sp-gallery .flex-viewport { height: 100%; }
.rp-sp-gallery .woocommerce-product-gallery__wrapper { height: 100%; }
.rp-sp-gallery .woocommerce-product-gallery__image {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.rp-sp-gallery .woocommerce-product-gallery__image img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 2rem 3rem 1.5rem; box-sizing: border-box;
}

.rp-sp-gallery .flex-control-nav.flex-control-thumbs { display: none !important; }
.rp-sp-gallery .flex-direction-nav { display: none !important; }

.rp-thumb-bar {
  position: relative;
  z-index: 10;
  display: flex; align-items: center;
  border-top: 1px solid #f0ede6; background: #fff;
  height: 80px; flex-shrink: 0;
}
.rp-thumb-arrow {
  pointer-events: auto;
  cursor: pointer;
  flex-shrink: 0; width: 44px; height: 80px;
  background: #fff; border: none;
  cursor: pointer; font-size: 0.8rem; color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; padding: 0;
}
.rp-thumb-arrow:first-child { border-right: 1px solid #f0ede6; }
.rp-thumb-arrow:last-child { border-left: 1px solid #f0ede6; }
.rp-thumb-arrow:hover:not(:disabled) { color: #1a1a1a; background: #faf9f6; }
.rp-thumb-arrow:disabled { opacity: 0.25; cursor: default; }
.rp-thumb-scroll {
  flex: 1; display: flex; gap: 3px; padding: 6px 4px;
  overflow-x: auto; height: 100%; box-sizing: border-box;
  scrollbar-width: none; align-items: center;
}
.rp-thumb-scroll::-webkit-scrollbar { display: none; }
.rp-thumb-item {
  pointer-events: auto;
  cursor: pointer;
  flex: 0 0 90px; height: 64px;
  cursor: pointer; box-sizing: border-box;
  border: 2px solid transparent; border-radius: 2px;
  overflow: hidden; transition: border-color 0.15s;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.rp-thumb-item img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.rp-thumb-item.is-active { border-color: #ffe602; }
.rp-thumb-item:hover:not(.is-active) { border-color: #e0ddd6; }

.rp-sp-summary { padding: 2.5rem 2rem; display: flex; flex-direction: column; overflow-y: auto; }
.rp-sp-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #999; margin-bottom: 0.75rem; display: block; }
.rp-sp-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.85rem; font-weight: 800; text-transform: uppercase; color: #1a1a1a; margin: 0 0 0.5rem; line-height: 1.05; }
.rp-sp-price { font-family: 'Barlow Condensed', sans-serif; font-size: 1.75rem; font-weight: 700; color: #1a1a1a; margin-bottom: 1.75rem; line-height: 1; }
.rp-sp-price .woocommerce-Price-currencySymbol { font-size: inherit; }

.rp-sp-summary .cart { display: none !important; }

#enquiry.pe-enq-wrapper { display: block; margin-bottom: 1.5rem; }
#enquiry .contact,
#enquiry input.contact {
  display: block; visibility: visible; opacity: 1;
  width: 100%; box-sizing: border-box;
  height: 54px; line-height: 52px;
  background: #1a1a1a; border: none; color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; border-radius: 2px; padding: 0 1rem;
  transition: background 0.15s; text-align: center;
}
#enquiry .contact:hover,
#enquiry input.contact:hover { background: #333; }

.rp-sp-divider { border: none; border-top: 1px solid #f0ede6; margin: 1.25rem 0; }
.rp-sp-meta { font-size: 0.75rem; color: #bbb; line-height: 2; }
.rp-sp-meta a { color: #999; text-decoration: none; }
.rp-sp-meta a:hover { color: #1a1a1a; }

.rp-sp-section-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
  color: #1a1a1a; margin: 0 0 1.75rem; letter-spacing: 0.01em;
}

.rp-sp-desc { padding: 3.5rem 0; border-top: 1px solid #f0ede6; }
.rp-sp-desc-inner { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }

body .rp-sp-desc-inner table,
.rp-sp-desc-inner table {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem; border: none;
  background: transparent; box-shadow: none;
  margin-bottom: 2rem;
}
body .rp-sp-desc-inner table tr,
.rp-sp-desc-inner table tr {
  border: none;
  border-bottom: 1px solid #f0ede6;
}
body .rp-sp-desc-inner table tr:last-child,
.rp-sp-desc-inner table tr:last-child {
  border-bottom: 1px solid #f0ede6;
}

body .rp-sp-desc-inner table th,
.rp-sp-desc-inner table th {
  padding: 0.7rem 1.5rem 0.7rem 0;
  width: 170px; min-width: 140px;
  color: #aaa; font-weight: 500; font-size: 0.8rem;
  vertical-align: top; text-align: left;
  background: transparent;
  border: none;
  font-family: 'Barlow', sans-serif;
  text-transform: none; letter-spacing: 0;
}

body .rp-sp-desc-inner table td,
.rp-sp-desc-inner table td {
  padding: 0.7rem 1.5rem 0.7rem 0;
  color: #1a1a1a; vertical-align: top;
  font-size: 0.875rem;
  border: none;
  background: transparent;
  font-family: 'Barlow', sans-serif;
}



.rp-sp-related { padding: 3.5rem 0; border-top: 1px solid #f0ede6; }
.rp-sp-related-inner { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }
.rp-sp-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #f0ede6; border: 1px solid #f0ede6; border-radius: 2px; overflow: hidden; }
.rp-sp-rel-card { background: #fff; text-decoration: none; color: #1a1a1a; display: flex; flex-direction: column; transition: background 0.12s; }
.rp-sp-rel-card:hover { background: #faf9f6; }
.rp-sp-rel-img {
  height: 220px;
  background: #fff; display: flex; align-items: center; justify-content: center; padding: 0.75rem;
  overflow: hidden;
}
.rp-sp-rel-img img { max-width: 100%; max-height: 100%; object-fit: contain; width: 100%; height: 100%; }
.rp-sp-rel-info { padding: 0.8rem 1rem; border-top: 1px solid #f5f3ef; }
.rp-sp-rel-name { font-size: 0.8rem; font-weight: 500; line-height: 1.35; margin-bottom: 0.25rem; color: #444; }
.rp-sp-rel-price { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; color: #1a1a1a; }

@media (max-width: 900px) {
  .rp-sp-main { grid-template-columns: 1fr; }
  .rp-sp-gallery {
    position: static;
    height: 70vw; min-height: 280px; max-height: 420px;
    border-right: none; border-bottom: 1px solid #f0ede6;
  }
  .rp-sp-gallery .woocommerce-product-gallery { width: 100%; flex: 1; min-height: 0; }
  .rp-sp-gallery .flex-viewport { height: 100%; }
  .rp-sp-gallery .woocommerce-product-gallery__image { height: auto; overflow: visible; }
  .rp-sp-gallery .woocommerce-product-gallery__image a { display: block; padding: 1.5rem 0; }
  .rp-sp-gallery .woocommerce-product-gallery__image img { width: 100%; height: auto; padding: 0; display: block; }
  .rp-sp-gallery .flex-viewport { height: auto; overflow: visible; }
  .rp-sp-gallery .woocommerce-product-gallery__wrapper { height: auto; overflow: visible; }
  .rp-sp-gallery .woocommerce-product-gallery { height: auto; overflow: visible; }
  .rp-sp-gallery { height: auto; }
  .rp-sp-summary { padding: 1.5rem 1.25rem; }
  .rp-sp-desc { padding: 2.5rem 0; }
  .rp-sp-desc-inner { padding: 0 1.25rem; box-sizing: border-box; }

  .rp-sp-desc-inner table,
  .rp-sp-desc-inner table.price-list-product { display: block; width: 100%; }
  .rp-sp-desc-inner table tr:first-child,
  .rp-sp-desc-inner table.price-list-product tr:first-child { display: none; }
  .rp-sp-desc-inner table tbody,
  .rp-sp-desc-inner table.price-list-product tbody { display: block; }
  .rp-sp-desc-inner table tr,
  .rp-sp-desc-inner table.price-list-product tr,
  body .rp-sp-desc-inner table tr { display: block; padding: 1rem 0; border: none; border-bottom: 1px solid #f0ede6; }
  .rp-sp-desc-inner table tr:last-child,
  .rp-sp-desc-inner table.price-list-product tr:last-child { border-bottom: none; }
  .rp-sp-desc-inner table td,
  .rp-sp-desc-inner table.price-list-product td { display: block; padding: 0.1rem 0; border: none; font-size: 0.875rem; }
  .rp-sp-desc-inner table td:first-child,
  .rp-sp-desc-inner table.price-list-product td:first-child { font-weight: 600; color: #1a1a1a; margin-bottom: 0.15rem; }
  .rp-sp-crumb-inner { padding: 0 1.25rem; }
  .rp-sp-related-inner { padding: 0 1.25rem; }
  .rp-sp-title { font-size: 1.5rem; }
  .rp-sp-price { font-size: 2rem; }

  

  
  .rp-sp-related-inner { padding: 0; }
  .rp-sp-related .rp-sp-section-head { padding: 0 0 1rem 1.25rem; }
  .rp-sp-related-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0 1.25rem 0.5rem 1.25rem;
    scroll-padding-left: 1.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .rp-sp-related-grid::after { content: ''; flex: 0 0 1.25rem; display: block; }
  .rp-sp-related-grid::-webkit-scrollbar { display: none; }
  .rp-sp-rel-card {
    flex: 0 0 75vw;
    scroll-snap-align: start;
    border: 1px solid #f0ede6;
    border-radius: 2px;
  }


}

.rp-enquiry-btn {
  display: block; width: 100%; height: 54px;
  background: #ffe602; color: #1a1a1a; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; border-radius: 2px;
  transition: background 0.15s;
  margin-bottom: 1.5rem;
}
.rp-enquiry-btn:hover { background: #333;color: #fff; }

.rp-modal-overlay {
  display: none; position: fixed;
  inset: 0; background: rgba(0,0,0,0.5);
  z-index: 100010; backdrop-filter: blur(2px);
}
.rp-modal-overlay.is-open { display: block; }

.rp-modal {
  display: none; position: fixed;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  background: #fff; border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  z-index: 100011;
  flex-direction: column;
  overflow: hidden;
}
.rp-modal.is-open { display: flex; }

.rp-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f0ede6;
  flex-shrink: 0;
}
.rp-modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #1a1a1a;
}
.rp-modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: #aaa; line-height: 1;
  padding: 4px; transition: color 0.15s;
}
.rp-modal-close:hover { color: #1a1a1a; }

.rp-modal-body {
  padding: 1.5rem; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.rp-field { display: flex; flex-direction: column; margin-bottom: 0.85rem; }
.rp-field label {
  font-size: 0.72rem; font-weight: 600; color: #999;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.rp-field input,
.rp-field textarea {
  height: 42px; padding: 0 0.85rem;
  border: 1px solid #e0ddd6; border-radius: 3px;
  font-family: 'Barlow', sans-serif; font-size: 0.9rem;
  color: #1a1a1a; background: #fff;
  transition: border-color 0.15s; outline: none;
  width: 100%; box-sizing: border-box;
}
.rp-field textarea {
  height: 80px; padding: 0.65rem 0.85rem; resize: none;
}
.rp-field input:focus,
.rp-field textarea:focus { border-color: #1a1a1a; }

.rp-field-error {
  font-size: 0.75rem; color: #e05555;
  margin-bottom: 0.5rem; min-height: 0;
}

.rp-modal-submit {
  display: block; width: 100%; height: 50px;
  background: #ffe602; color: #1a1a1a; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; border-radius: 3px;
  transition: background 0.15s; margin-top: 0.5rem;
}
.rp-modal-submit:hover { background: #f0d800; }
.rp-modal-submit:disabled { opacity: 0.6; cursor: default; }

.rp-modal-success {
  text-align: center; padding: 2rem 1rem;
}
.rp-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #ffe602; color: #1a1a1a;
  font-size: 1.5rem; line-height: 56px;
  margin: 0 auto 1rem;
}
.rp-modal-success p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem; color: #555;
}

@media (max-width: 600px) {
  .rp-modal {
    top: 0; left: 0; right: 0; bottom: 0;
    transform: none;
    width: 100%; max-height: 100%;
    border-radius: 0;
  }
}

.rp-hooldus { background: #fff; }

.rp-hooldus-hero {
  background: #1a1a1a url('https://rattapood.ee/wp-content/uploads/2016/08/teamrattapood.jpg') center center / cover no-repeat;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.rp-hooldus-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}
.rp-hooldus-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #ffe602;
}
.rp-hooldus-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.rp-hooldus-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #ffe602; margin-bottom: 1rem;
}
.rp-hooldus-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800; text-transform: uppercase;
  color: #fff; margin: 0 0 1rem; line-height: 1;
}
.rp-hooldus-sub {
  font-size: 1rem; color: #aaa;
  max-width: 520px; margin: 0; line-height: 1.6;
}

.rp-hooldus-packages { padding: 5rem 0; background: #fff; }
.rp-hooldus-packages-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.rp-hooldus-card {
  border: 1px solid #f0ede6;
  border-radius: 4px; padding: 2rem;
  position: relative;
  display: flex; flex-direction: column;
}
.rp-hooldus-card--featured {
  border-color: #1a1a1a;
  background: #1a1a1a; color: #fff;
}
.rp-hooldus-card-badge {
  position: absolute; top: -1px; right: 1.5rem;
  background: #ffe602; color: #1a1a1a;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 4px 4px;
}
.rp-hooldus-card-header { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f0ede6; }
.rp-hooldus-card--featured .rp-hooldus-card-header { border-color: #333; }
.rp-hooldus-card-name {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #999; margin-bottom: 0.5rem;
}
.rp-hooldus-card--featured .rp-hooldus-card-name { color: #888; }
.rp-hooldus-card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem; font-weight: 800; color: #1a1a1a; line-height: 1;
}
.rp-hooldus-card--featured .rp-hooldus-card-price { color: #fff; }
.rp-hooldus-card-price span { font-size: 2rem; font-weight: 700; }

.rp-hooldus-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.rp-hooldus-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #f5f3ef;
  font-size: 0.875rem; color: #444;
  display: flex; align-items: center; gap: 0.6rem;
}
.rp-hooldus-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #e0ddd6; flex-shrink: 0;
}
.rp-hooldus-card--featured .rp-hooldus-list li { color: #ccc; border-color: #2d2d2d; }
.rp-hooldus-card--featured .rp-hooldus-list li::before { background: #ffe602; }
.rp-hooldus-list li:last-child { border-bottom: none; }
.rp-hooldus-card-note {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid #f0ede6;
  font-size: 0.8rem; color: #999;
}
.rp-hooldus-card-note a { color: #1a1a1a; font-weight: 600; text-decoration: none; }

.rp-hooldus-transport {
  background: #f9f8f5;
  border-top: 1px solid #f0ede6;
  padding: 5rem 0;
}
.rp-hooldus-transport-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.rp-hooldus-transport-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800; text-transform: uppercase;
  color: #1a1a1a; margin: 0 0 1.25rem; line-height: 1.1;
}
.rp-hooldus-transport-text p { font-size: 0.9rem; color: #666; line-height: 1.7; margin-bottom: 1rem; }
.rp-hooldus-transport-prices { margin-top: 2rem; display: flex; flex-direction: column; gap: 0; }
.rp-hooldus-tp-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid #f0ede6;
}
.rp-hooldus-tp-item:last-child { border-bottom: none; }
.rp-hooldus-tp-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: #1a1a1a;
  min-width: 48px;
}
.rp-hooldus-tp-label { font-size: 0.875rem; color: #555; }

.rp-hooldus-form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 700; text-transform: uppercase;
  color: #1a1a1a; margin-bottom: 1.5rem; letter-spacing: 0.04em;
}

.rp-hooldus-transport-tel {
  font-size: 0.9rem; color: #666; margin: 0 0 1.5rem;
}
.rp-hooldus-transport-tel a { color: #1a1a1a; font-weight: 600; text-decoration: none; }
.rp-hooldus-transport-tel a:hover { text-decoration: underline; }

.rp-hf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.rp-hf-field {
  display: flex; flex-direction: column; margin-bottom: 0.75rem;
}
.rp-hf-field label {
  font-size: 0.72rem; font-weight: 600; color: #999;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem;
}
.rp-hf-field input,
.rp-hf-field select {
  height: 42px; padding: 0 0.85rem;
  border: 1px solid #e0ddd6; border-radius: 3px;
  font-family: 'Barlow', sans-serif; font-size: 0.875rem;
  color: #1a1a1a; background: #fff;
  transition: border-color 0.15s; outline: none;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box; width: 100%;
}
.rp-hf-field input:focus,
.rp-hf-field select:focus { border-color: #1a1a1a; }
.rp-hf-error { font-size: 0.75rem; color: #e05555; margin-bottom: 0.5rem; min-height: 0; }
.rp-hf-submit {
  display: block; width: 100%; height: 50px;
  background: #ffe602; color: #1a1a1a; border: none; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; transition: background 0.15s; margin-top: 0.25rem;
}
.rp-hf-submit:hover { background: #f0d800; }
.rp-hf-submit:disabled { opacity: 0.6; cursor: default; }
.rp-hf-success {
  background: #f5f4f0; border-radius: 3px; padding: 1.25rem;
  font-size: 0.9rem; color: #555; text-align: center;
}

@media (max-width: 900px) {
  .rp-hooldus-packages-inner {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .rp-hooldus-transport-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rp-hooldus-packages-inner,
  .rp-hooldus-transport-inner {
    padding: 0 1.25rem;
  }
  .rp-hf-row {
    grid-template-columns: 1fr;
  }
  .rp-hooldus-hero {
    padding: calc(72px + 2rem) 1.25rem 3rem;
  }
}

.rp-kontakt { background: #fff; }

.rp-kontakt-hero {
  background: #1a1a1a;
  padding: 8rem 2.5rem 4rem;
  border-bottom: 3px solid #ffe602;
}
.rp-kontakt-hero-inner { max-width: 1400px; margin: 0 auto; }
.rp-kontakt-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800; text-transform: uppercase;
  color: #fff; margin: 0 0 0.75rem; line-height: 1;
}
.rp-kontakt-sub { font-size: 1rem; color: #aaa; margin: 0; max-width: 480px; }

.rp-kontakt-main { padding: 5rem 0; }
.rp-kontakt-main-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 380px 1fr; gap: 5rem; align-items: start;
}

.rp-kontakt-info { display: flex; flex-direction: column; gap: 0; }
.rp-kontakt-info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0ede6;
}
.rp-kontakt-info-block:first-child { padding-top: 0; }
.rp-kontakt-info-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #aaa; margin-bottom: 0.4rem;
}
.rp-kontakt-info-value {
  font-size: 1rem; color: #1a1a1a; line-height: 1.5;
}
.rp-kontakt-info-value a { color: #1a1a1a; text-decoration: none; font-weight: 500; }
.rp-kontakt-info-value a:hover { color: #888; }
.rp-kontakt-info-links { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.rp-kontakt-info-links a {
  font-size: 0.78rem; font-weight: 600;
  color: #999; text-decoration: none;
  border-bottom: 1px solid #e0ddd6;
  padding-bottom: 1px; transition: color 0.15s;
}
.rp-kontakt-info-links a:hover { color: #1a1a1a; border-color: #1a1a1a; }

.rp-kontakt-map {
  margin-top: 1.5rem;
  height: 240px; border-radius: 3px;
  overflow: hidden; border: 1px solid #f0ede6;
}

.rp-kontakt-form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
  color: #1a1a1a; margin-bottom: 1.75rem; letter-spacing: 0.02em;
}

.rp-kf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.rp-kf-field { display: flex; flex-direction: column; margin-bottom: 0.75rem; }
.rp-kf-field label {
  font-size: 0.72rem; font-weight: 600; color: #999;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem;
}
.rp-kf-field input,
.rp-kf-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 0 0.85rem; height: 42px;
  border: 1px solid #e0ddd6; border-radius: 3px;
  font-family: 'Barlow', sans-serif; font-size: 0.875rem;
  color: #1a1a1a; background: #fff;
  transition: border-color 0.15s; outline: none;
}
.rp-kf-field textarea { height: 140px; padding: 0.75rem 0.85rem; resize: none; }
.rp-kf-field input:focus,
.rp-kf-field textarea:focus { border-color: #1a1a1a; }
.rp-kf-error { font-size: 0.75rem; color: #e05555; margin-bottom: 0.5rem; }
.rp-kf-submit {
  height: 52px; width: 100%;
  background: #ffe602; color: #1a1a1a; border: none; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; transition: background 0.15s;
}
.rp-kf-submit:hover { background: #f0d800; }
.rp-kf-submit:disabled { opacity: 0.6; cursor: default; }
.rp-kf-success { display: none; text-align: center; padding: 3rem 1rem; }
.rp-kf-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #ffe602; color: #1a1a1a;
  font-size: 1.5rem; line-height: 56px;
  margin: 0 auto 1rem;
}
.rp-kf-success p { font-size: 0.95rem; color: #555; }

@media (max-width: 900px) {
  .rp-gallery-arrow { width: 34px; height: 34px; font-size: 0.75rem; }
  .rp-gallery-prev { left: 8px; }
  .rp-gallery-next { right: 8px; }
  .rp-sp-gallery .flex-control-thumbs li { flex: 0 0 56px; height: 44px; }
}
@media (max-width: 900px) {
  .rp-kontakt-main-inner { grid-template-columns: 1fr; gap: 3rem; padding: 0 1.25rem; }
  .rp-kontakt-hero { padding: calc(72px + 2rem) 1.25rem 3rem; }
  .rp-kontakt-main { padding: 3rem 0; }
  .rp-kf-row { grid-template-columns: 1fr; }
}

.rp-suusa { background: #fff; }

.rp-suusa-hero {
  background: #1a1a1a url('https://rattapood.ee/wp-content/uploads/2023/11/suusahooldus-Pirital-Team-Rattapood.png') center center / cover no-repeat;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  border-bottom: 3px solid #ffe602;
}
.rp-suusa-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}
.rp-suusa-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.rp-suusa-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800; text-transform: uppercase;
  color: #fff; margin: 0 0 0.75rem; line-height: 1;
}
.rp-suusa-sub { font-size: 1rem; color: #ccc; margin: 0 0 1.5rem; max-width: 520px; }
.rp-suusa-tel {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em;
  color: #ffe602; text-decoration: none;
  border-bottom: 1px solid rgba(255,230,2,0.4);
  padding-bottom: 2px;
}
.rp-suusa-tel:hover { border-color: #ffe602; }

.rp-suusa-services { padding: 5rem 0; }
.rp-suusa-services-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}

.rp-suusa-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #aaa; margin-bottom: 1rem;
}
.rp-suusa-item {
  display: flex; align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0ede6;
  gap: 1rem;
}
.rp-suusa-item:last-child { border-bottom: none; }
.rp-suusa-item-name { font-size: 0.95rem; color: #1a1a1a; }
.rp-suusa-item-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: #1a1a1a; white-space: nowrap; flex-shrink: 0;
}

.rp-suusa-cta { background: #f9f8f5; border-top: 1px solid #f0ede6; padding: 3.5rem 0; }
.rp-suusa-cta-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.rp-suusa-cta-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 800; text-transform: uppercase;
  color: #1a1a1a; margin: 0 0 0.25rem;
}
.rp-suusa-cta-text p { font-size: 0.875rem; color: #888; margin: 0; }
.rp-suusa-cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.rp-suusa-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 48px; padding: 0 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: all 0.15s;
}
.rp-suusa-btn--yellow { background: #ffe602; color: #1a1a1a; }
.rp-suusa-btn--yellow:hover { background: #f0d800; }
.rp-suusa-btn--dark { background: #1a1a1a; color: #fff; }
.rp-suusa-btn--dark:hover { background: #333; }

@media (max-width: 768px) {
  .rp-suusa-hero { padding: calc(72px + 2rem) 1.25rem 3rem; }
  .rp-suusa-services-inner { grid-template-columns: 1fr; padding: 0 1.25rem; }
  .rp-suusa-services { padding: 3rem 0; }
  .rp-suusa-cta-inner { flex-direction: column; align-items: flex-start; padding: 0 1.25rem; }
  .rp-suusa-cta-actions { flex-direction: column; width: 100%; }
  .rp-suusa-btn { justify-content: center; }
}

.woocommerce-page .rp-nav-logo, .woocommerce .rp-nav-logo { height: 65px; width: auto; }

.woocommerce .woocommerce-breadcrumb { margin: 0; }

@media (max-width: 768px) {
  .rp-hero-video { min-height: 100svh; align-items: flex-end; }
  .rp-hero-video-wrap { background: url('https://rattapood.ee/wp-content/uploads/2026/03/colnago.webp') center center / cover no-repeat; }
  .rp-hero-video-overlay { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.15) 100%); }
  .rp-hero-video-content { padding: 4rem 1.5rem 2.5rem; max-width: 100%; width: 100%; }
  .rp-hero-h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .rp-hero-sub { font-size: 0.95rem; }
}