/* RONÉ Chocolate Standalone Storefront Layout CSS */

.rone-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.rone-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--rone-caramel);
}

.rone-link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rone-cocoa);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.rone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.rone-btn--caramel {
  background-color: var(--rone-caramel);
  color: var(--rone-espresso);
}
.rone-btn--caramel:hover { background-color: var(--rone-blush); }

.rone-btn--cocoa {
  background-color: var(--rone-cocoa);
  color: var(--rone-cream);
}
.rone-btn--cocoa:hover { background-color: var(--rone-espresso); }

.rone-btn--cream {
  background-color: var(--rone-cream);
  color: var(--rone-espresso);
}
.rone-btn--cream:hover { background-color: var(--rone-blush); }

.rone-btn--outline-light {
  background-color: rgba(25, 22, 19, 0.45);
  border-color: rgba(248, 241, 232, 0.4);
  color: var(--rone-cream);
}
.rone-btn--outline-light:hover { border-color: var(--rone-blush); color: var(--rone-blush); }

/* Announcement Bar */
.rone-announcement {
  background-color: var(--rone-espresso);
  color: var(--rone-cream);
  border-bottom: 1px solid rgba(248, 241, 232, 0.1);
  font-size: 0.78rem;
}

.rone-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 0.75rem;
}

.rone-announcement__badge {
  color: rgba(248, 241, 232, 0.65);
  white-space: nowrap;
}

.rone-announcement__text {
  margin: 0 auto;
  text-align: center;
}

.rone-announcement__close {
  background: transparent;
  border: 0;
  color: rgba(248, 241, 232, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
}

/* Header */
.rone-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background-color: var(--rone-cream);
  border-bottom: 1px solid var(--rone-border);
}

.rone-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.rone-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rone-logo-link {
  display: inline-flex;
  align-items: center;
}

.rone-logo-link img,
.rone-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.rone-nav__list {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.rone-nav__list a {
  text-decoration: none;
  color: var(--rone-cocoa);
  transition: color 160ms ease;
  white-space: nowrap;
}
.rone-nav__list a:hover { color: var(--rone-caramel); }

.rone-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rone-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  color: var(--rone-cocoa);
  cursor: pointer;
}

.rone-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding-inline: 0.9rem;
  background-color: var(--rone-cocoa);
  color: var(--rone-cream);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.rone-cart-btn .rone-cart-count { color: var(--rone-blush); }

.rone-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.rone-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--rone-cocoa);
}

/* Hero Section */
.rone-hero {
  position: relative;
  background-color: var(--rone-espresso);
  color: var(--rone-cream);
  overflow: hidden;
}

.rone-hero__bg {
  position: absolute;
  inset: 0;
}
.rone-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.rone-hero__overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #191613, rgba(25, 22, 19, 0.82), rgba(25, 22, 19, 0.35));
}
.rone-hero__overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #191613, transparent 55%, rgba(25, 22, 19, 0.4));
}

.rone-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: end;
  padding-block: 5.5rem;
}

.rone-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--rone-blush);
  margin-bottom: 1.25rem;
}

.rone-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--rone-cream);
}

.rone-hero__sub {
  font-size: 1.1rem;
  color: rgba(248, 241, 232, 0.85);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.rone-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.rone-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 241, 232, 0.16);
  font-size: 0.8rem;
  color: rgba(248, 241, 232, 0.72);
}

/* Hero Random/Auto Slider */
.rone-hero__slider-col {
  display: flex;
  justify-content: flex-end;
}

.rone-hero-slider {
  width: 310px;
  background-color: rgba(25, 22, 19, 0.88);
  border: 1px solid rgba(248, 241, 232, 0.22);
  padding: 0.75rem;
}

.rone-hero-slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  color: var(--rone-blush);
}

.rone-hero-slider__arrows {
  display: flex;
  gap: 0.3rem;
}
.rone-hero-slider__arrows button {
  width: 24px;
  height: 24px;
  background: transparent;
  color: var(--rone-cream);
  border: 1px solid rgba(248, 241, 232, 0.22);
  cursor: pointer;
}

.rone-hero-slide { display: none; }
.rone-hero-slide.is-active { display: block; }

.rone-hero-slide__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rone-espresso);
}
.rone-hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rone-hero-slide__meta {
  padding-top: 0.65rem;
}
.rone-hero-slide__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.rone-hero-slide__row--sub {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: rgba(248, 241, 232, 0.7);
}
.rone-hero-slide__title {
  font-weight: 600;
  color: var(--rone-cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rone-hero-slide__link {
  color: var(--rone-blush);
  text-decoration: underline;
  flex-shrink: 0;
}

.rone-hero-slider__dots {
  display: flex;
  gap: 4px;
  margin-top: 0.65rem;
}
.rone-hero-slider__dots button {
  flex: 1;
  height: 2px;
  border: 0;
  background-color: rgba(248, 241, 232, 0.22);
  cursor: pointer;
}
.rone-hero-slider__dots button.is-active {
  background-color: var(--rone-blush);
}

/* Sections & Category Grid */
.rone-section {
  padding-block: 5.5rem;
}

.rone-band {
  padding-block: 5.5rem;
  border-block: 1px solid var(--rone-border);
}
.rone-band--white { background-color: rgba(255, 255, 255, 0.78); }
.rone-band--sand { background-color: rgba(239, 229, 216, 0.6); }

.rone-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rone-border);
  margin-bottom: 2.5rem;
}
.rone-section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
  color: var(--rone-cocoa);
}
.rone-section__sub {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--rone-ink-muted);
}

.rone-cat-grid {
  display: grid;
  gap: 1.5rem;
}
.rone-cat-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 2rem;
}
.rone-cat-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rone-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--rone-espresso);
  text-decoration: none;
}
.rone-cat-card--wide { aspect-ratio: 16 / 11; }
.rone-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.rone-cat-card:hover img { transform: scale(1.04); }

.rone-cat-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 22, 19, 0.88), rgba(25, 22, 19, 0.25) 55%, transparent);
}

.rone-cat-card__content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.75rem;
  color: #FFFFFF;
}
.rone-cat-card__content span {
  font-size: 0.78rem;
  color: var(--rone-blush);
}
.rone-cat-card__content h3 {
  margin: 0.25rem 0;
  font-size: 1.65rem;
  color: #FFFFFF;
}
.rone-cat-card__content p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(248, 241, 232, 0.85);
}

/* Diptych & Gift Chapter & Story & FAQ */
.rone-diptych {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 4rem;
  align-items: center;
}
.rone-diptych__media { position: relative; }
.rone-diptych__main {
  width: 88%;
  aspect-ratio: 3 / 4;
  max-height: 580px;
  overflow: hidden;
  background: var(--rone-espresso);
}
.rone-diptych__main img,
.rone-diptych__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rone-diptych__inset {
  position: absolute;
  bottom: -1.75rem;
  inset-inline-end: 0;
  width: 240px;
  aspect-ratio: 4 / 3;
  background: var(--rone-cream);
  padding: 0.6rem;
  border: 1px solid var(--rone-border);
  box-shadow: 0 18px 36px -18px rgba(25, 22, 19, 0.35);
}

.rone-diptych__copy h2,
.rone-story-copy h2,
.rone-gift-chapter__copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--rone-cocoa);
  margin-bottom: 1rem;
}
.rone-diptych__lead {
  color: var(--rone-ink-muted);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.rone-pillars {
  border-block: 1px solid var(--rone-border);
  margin-bottom: 2rem;
}
.rone-pillar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--rone-border);
  font-size: 0.88rem;
}
.rone-pillar:last-child { border-bottom: 0; }
.rone-pillar strong { color: var(--rone-cocoa); }
.rone-pillar span { color: var(--rone-ink-muted); }

/* Gift Chapter */
.rone-gift-chapter {
  background-color: var(--rone-espresso);
  color: var(--rone-cream);
}
.rone-gift-chapter__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: stretch;
}
.rone-gift-chapter__copy {
  padding-block: 4.5rem;
  padding-inline-end: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.rone-gift-chapter__copy h2 { color: var(--rone-cream); margin: 0; }
.rone-gift-chapter__copy p { color: rgba(248, 241, 232, 0.8); line-height: 1.8; }
.rone-gift-chapter__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

/* Story & FAQ */
.rone-story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
}
.rone-story-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.rone-story-media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.rone-story-media img.is-offset { margin-top: 2.5rem; }

.rone-faq-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 3rem;
}
.rone-faq-list {
  border-block: 1px solid var(--rone-border);
}
.rone-faq-item {
  border-bottom: 1px solid var(--rone-border);
}
.rone-faq-item:last-child { border-bottom: 0; }
.rone-faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rone-espresso);
  text-align: start;
  cursor: pointer;
}
.rone-faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--rone-ink-muted);
}

/* Pages & WooCommerce Wrapper */
.rone-page-wrap,
.rone-woo-wrap {
  padding-block: 3.5rem;
}
.rone-page-card {
  background-color: var(--rone-warm-white);
  border: 1px solid var(--rone-border);
  padding: 2.5rem;
}
.rone-page-title {
  color: var(--rone-cocoa);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.rone-footer {
  background-color: var(--rone-espresso);
  color: var(--rone-cream);
  border-top: 1px solid rgba(248, 241, 232, 0.1);
}
.rone-footer__wrap { padding-block: 4rem 2.5rem; }
.rone-footer__grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 2.5rem;
}
.rone-footer__logo-box {
  display: inline-block;
  background: var(--rone-cream);
  padding: 0.6rem 1rem;
  border: 1px solid rgba(182, 123, 83, 0.3);
  margin-bottom: 1rem;
}
.rone-footer__logo-box img { height: 42px; width: auto; }
.rone-footer__bio { font-size: 0.9rem; color: rgba(248, 241, 232, 0.78); }
.rone-footer__loc { font-size: 0.78rem; color: rgba(248, 241, 232, 0.55); }
.rone-footer__col h3 {
  font-size: 0.85rem;
  color: var(--rone-caramel);
  margin-bottom: 1rem;
}
.rone-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}
.rone-footer__col a {
  text-decoration: none;
  color: rgba(248, 241, 232, 0.82);
}
.rone-footer__col a:hover { color: var(--rone-blush); }
.rone-footer__shipping-note {
  font-size: 0.8rem;
  color: rgba(248, 241, 232, 0.8);
  margin-top: 0;
}
.rone-footer__shipping-note strong { color: var(--rone-blush); }
.rone-footer__social { margin-top: 1.25rem; }
.rone-footer__social p { font-size: 0.8rem; color: var(--rone-caramel); font-weight: 600; margin-bottom: 0.5rem; }
.rone-footer__social-icons { display: flex; gap: 0.6rem; }
.rone-footer__social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248, 241, 232, 0.18);
  font-size: 0.72rem;
  font-weight: 600;
}
.rone-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 241, 232, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(248, 241, 232, 0.6);
}
.rone-footer__bottom-links { display: flex; gap: 0.75rem; }
.rone-footer__bottom-links a { text-decoration: none; }

/* Drawers & Search Modal */
.rone-mobile-drawer,
.rone-search-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.rone-mobile-drawer__backdrop,
.rone-search-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 22, 19, 0.65);
}
.rone-mobile-drawer__panel {
  position: relative;
  z-index: 2;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--rone-cream);
  padding: 1.5rem;
}
.rone-mobile-drawer__head,
.rone-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rone-border);
  margin-bottom: 1rem;
}
.rone-mobile-drawer__head button,
.rone-search-modal__head button {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}
.rone-mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rone-mobile-drawer__list a { text-decoration: none; font-weight: 500; }

.rone-search-modal__box {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 5rem auto 0;
  background: var(--rone-cream);
  border: 1px solid var(--rone-border);
  padding: 1.5rem;
}
.rone-search-modal__form {
  display: flex;
  gap: 0.5rem;
}
.rone-search-modal__form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(50, 28, 24, 0.2);
  font-family: inherit;
}
.rone-search-modal__form button {
  padding-inline: 1.5rem;
  background: var(--rone-cocoa);
  color: var(--rone-cream);
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .rone-nav,
  .rone-hero__slider-col { display: none; }
  .rone-mobile-toggle { display: inline-flex; }
  .rone-hero__grid,
  .rone-diptych,
  .rone-gift-chapter__grid,
  .rone-story-grid,
  .rone-faq-grid { grid-template-columns: 1fr; }
  .rone-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .rone-cat-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .rone-hide-mobile { display: none; }
  .rone-cat-grid--2,
  .rone-cat-grid--3,
  .rone-footer__grid { grid-template-columns: 1fr; }
  .rone-diptych__inset { display: none; }
  .rone-diptych__main { width: 100%; }
}
