:root {
  --ramalhos-blush: #f6d9dd;
  --ramalhos-wine: #6f1027;
  --ramalhos-cream: #fff9f7;
  --ramalhos-cocoa: #6b4636;
  --ramalhos-ink: #2f2326;
  --ramalhos-white: #ffffff;
  --ramalhos-radius: 22px;
  --ramalhos-shadow: 0 18px 50px rgba(111, 16, 39, 0.1);
}

.ramalhos-home { color: var(--ramalhos-ink); }
.ramalhos-home h1,
.ramalhos-home h2,
.ramalhos-age-gate h1,
.ramalhos-adult-entry h2 { color: var(--ramalhos-wine); line-height: 1.08; letter-spacing: -0.025em; }
.ramalhos-eyebrow { color: var(--ramalhos-cocoa); font-size: .78rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 .6rem; text-transform: uppercase; }

.ramalhos-button,
.woocommerce a.button.ramalhos-button {
  align-items: center;
  background: var(--ramalhos-wine);
  border: 2px solid var(--ramalhos-wine);
  border-radius: 999px;
  color: var(--ramalhos-white);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.35rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ramalhos-button:hover { background: #861633; color: #fff; transform: translateY(-2px); }
.ramalhos-button--ghost { background: transparent; color: var(--ramalhos-wine); }
.ramalhos-button--disabled { cursor: not-allowed; opacity: .55; }

.ramalhos-hero {
  align-items: center;
  background: linear-gradient(135deg, var(--ramalhos-cream), var(--ramalhos-blush));
  border: 1px solid rgba(111, 16, 39, .08);
  border-radius: 30px;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: 1.15fr .85fr;
  margin: 1.5rem 0 4rem;
  min-height: 580px;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5.5rem);
  position: relative;
}
.ramalhos-hero::after { background: rgba(255,255,255,.35); border-radius: 50%; content: ''; height: 430px; position: absolute; right: -170px; top: -170px; width: 430px; }
.ramalhos-hero__copy { max-width: 690px; position: relative; z-index: 2; }
.ramalhos-hero h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); margin: 0 0 1.25rem; }
.ramalhos-hero__copy > p:not(.ramalhos-eyebrow) { font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.7; max-width: 620px; }
.ramalhos-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.ramalhos-hero__actions > a:nth-child(2) { background: transparent; color: var(--ramalhos-wine); }
.ramalhos-hero__mark { position: relative; z-index: 1; }
.ramalhos-hero__mark img { filter: drop-shadow(0 28px 36px rgba(111,16,39,.18)); height: auto; max-width: 100%; }

.ramalhos-section { margin: clamp(3.5rem, 7vw, 6.5rem) 0; }
.ramalhos-section__heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem; }
.ramalhos-section__heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.ramalhos-category-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.ramalhos-category-card { align-items: end; background-image: linear-gradient(180deg, transparent 25%, rgba(47,35,38,.72)), var(--category-image); background-position: center; background-size: cover; border-radius: var(--ramalhos-radius); box-shadow: var(--ramalhos-shadow); color: #fff; display: flex; min-height: 270px; overflow: hidden; padding: 1.5rem; text-decoration: none; transition: transform .25s ease; }
.ramalhos-category-card:hover { color: #fff; transform: translateY(-5px); }
.ramalhos-category-card span { font-size: 1.45rem; font-weight: 800; }
.ramalhos-category-card--empty { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.8), transparent 25%), linear-gradient(145deg, var(--ramalhos-blush), #d99ba6); color: var(--ramalhos-wine); }
.ramalhos-category-card--empty:hover { color: var(--ramalhos-wine); }

.ramalhos-carousel__buttons { display: flex; gap: .55rem; }
.ramalhos-carousel__buttons button { background: #fff; border: 1px solid rgba(111,16,39,.2); border-radius: 50%; color: var(--ramalhos-wine); cursor: pointer; font-size: 1.3rem; height: 44px; width: 44px; }
.ramalhos-carousel .ramalhos-product-track { display: grid !important; gap: 1.5rem; grid-auto-columns: minmax(240px, 1fr); grid-auto-flow: column; grid-template-columns: none !important; list-style: none; margin: 0 !important; overflow-x: auto; padding: .4rem .2rem 1.6rem !important; scroll-snap-type: x mandatory; scrollbar-color: var(--ramalhos-blush) transparent; }
.ramalhos-carousel .ramalhos-product-track li.product { background: #fff; border: 1px solid rgba(111,16,39,.08); border-radius: var(--ramalhos-radius); box-shadow: 0 10px 35px rgba(111,16,39,.07); float: none !important; margin: 0 !important; min-width: 0; overflow: hidden; padding: 0 0 1.25rem; position: relative; scroll-snap-align: start; width: auto !important; }
.ramalhos-carousel li.product > a { text-decoration: none; }
.ramalhos-carousel li.product img { aspect-ratio: 4/5; margin: 0 0 1rem !important; object-fit: cover; width: 100%; }
.ramalhos-carousel li.product .woocommerce-loop-product__title,
.ramalhos-carousel li.product .price,
.ramalhos-carousel li.product > .button { margin-left: 1.1rem !important; margin-right: 1.1rem !important; }
.ramalhos-carousel li.product .woocommerce-loop-product__title { color: var(--ramalhos-ink); font-size: 1rem !important; line-height: 1.4; }
.ramalhos-carousel li.product .price { color: var(--ramalhos-wine) !important; font-weight: 800 !important; }
.ramalhos-carousel li.product > .button { border-radius: 999px; display: block; margin-top: .8rem !important; text-align: center; }
.ramalhos-stock-badge { background: var(--ramalhos-ink); border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 800; left: 1rem; letter-spacing: .05em; padding: .45rem .7rem; position: absolute; text-transform: uppercase; top: 1rem; z-index: 3; }
.ramalhos-unavailable { cursor: not-allowed; opacity: .6; }
.ramalhos-empty-collection { background: var(--ramalhos-cream); border: 1px dashed rgba(111,16,39,.22); border-radius: var(--ramalhos-radius); padding: 2rem; }

.ramalhos-service-strip { background: var(--ramalhos-wine); border-radius: var(--ramalhos-radius); color: #fff; display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 5rem 0 2rem; overflow: hidden; }
.ramalhos-service-strip div { background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: .35rem; padding: 1.7rem; }
.ramalhos-service-strip span { color: rgba(255,255,255,.78); font-size: .92rem; }

.ramalhos-cart-notice { background: var(--ramalhos-cream); border-left: 4px solid var(--ramalhos-wine); border-radius: 8px; margin-bottom: 1.25rem; padding: 1rem 1.2rem; }
.ramalhos-whatsapp-checkout { background: #1f8f4d !important; border-radius: 999px !important; width: 100%; }
.ramalhos-cart-help,
.ramalhos-admin-hint { display: block; margin-top: .65rem; }
.ramalhos-admin-hint { background: #fff8c5; border: 1px solid #e1cc67; border-radius: 6px; padding: .6rem; }

.ramalhos-adult-entry { align-items: center; background: linear-gradient(145deg, #2f2326, #6f1027); border-radius: 28px; color: #fff; display: grid; gap: 2rem; grid-template-columns: 160px 1fr; margin: 3rem auto; max-width: 900px; padding: clamp(2rem, 6vw, 4.5rem); }
.ramalhos-adult-entry > span { align-items: center; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; display: flex; font-size: 2.4rem; font-weight: 800; height: 130px; justify-content: center; width: 130px; }
.ramalhos-adult-entry h2 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.5rem); margin: 0; }
.ramalhos-adult-entry .ramalhos-eyebrow { color: var(--ramalhos-blush); }

.ramalhos-gate-body { align-items: center; background: radial-gradient(circle at top, #f6d9dd, #fff9f7 55%); color: var(--ramalhos-ink); display: flex; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; justify-content: center; margin: 0; min-height: 100vh; padding: 1.25rem; }
.ramalhos-age-gate { background: rgba(255,255,255,.96); border: 1px solid rgba(111,16,39,.1); border-radius: 28px; box-shadow: var(--ramalhos-shadow); max-width: 620px; padding: clamp(1.5rem, 6vw, 4rem); text-align: center; }
.ramalhos-age-gate img { height: auto; max-width: 150px; }
.ramalhos-age-gate h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: .4rem 0 1rem; }
.ramalhos-age-gate p { line-height: 1.65; }
.ramalhos-age-gate small { display: block; line-height: 1.45; margin-top: 1.3rem; opacity: .75; }
.ramalhos-age-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }

@media (max-width: 980px) {
  .ramalhos-hero { grid-template-columns: 1fr; min-height: 0; }
  .ramalhos-hero__mark { margin: auto; max-width: 360px; order: -1; }
  .ramalhos-category-grid { grid-template-columns: repeat(2, 1fr); }
  .ramalhos-carousel .ramalhos-product-track { grid-auto-columns: minmax(220px, 46vw); }
}

@media (max-width: 620px) {
  .ramalhos-hero { border-radius: 20px; margin-top: .75rem; padding: 1.5rem; }
  .ramalhos-hero__mark { max-width: 235px; }
  .ramalhos-hero__actions { align-items: stretch; flex-direction: column; }
  .ramalhos-category-grid { grid-template-columns: 1fr 1fr; }
  .ramalhos-category-card { min-height: 185px; padding: 1rem; }
  .ramalhos-category-card span { font-size: 1.1rem; }
  .ramalhos-carousel__buttons { display: none; }
  .ramalhos-carousel .ramalhos-product-track { grid-auto-columns: 78vw; }
  .ramalhos-service-strip { grid-template-columns: 1fr; }
  .ramalhos-adult-entry { grid-template-columns: 1fr; text-align: center; }
  .ramalhos-adult-entry > span { margin: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

