/* RastaGucci homepage (Concept D, Ital Minimal) - Rasta Gucci Child Theme 1.1.0
   Everything is scoped to .rg-home so other pages are untouched. */

:root {
	--rg-bg: #0b0b0b;
	--rg-text: #f5f3ee;
	--rg-muted: #9a968e;
	--rg-body: #cfccc5;
	--rg-line: #262626;
	--rg-red: #e8432f;
	--rg-gold: #f4b42a;
	--rg-green: #34a853;
	--rg-tile: #ece9e2;
	--rg-sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
	--rg-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

/* Divi wrappers behind the homepage */
body.rg-home-page,
body.rg-home-page #page-container,
body.rg-home-page #main-content,
body.rg-home-page .et_pb_section.rg-full { background-color: var(--rg-bg); }
body.rg-home-page .et_pb_section.rg-full { padding: 0 !important; }
body.rg-home-page .et_pb_section.rg-full .et_pb_row { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
body.rg-home-page .et_pb_section.rg-full .et_pb_column { margin: 0 !important; width: 100% !important; }
body.rg-home-page #main-content .container::before { display: none; }

/* Reset Divi typography inside the homepage */
.rg-home { background: var(--rg-bg); color: var(--rg-text); font-family: var(--rg-sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.rg-home *, .rg-home *::before, .rg-home *::after { box-sizing: border-box; }
.rg-home h1, .rg-home h2, .rg-home h3, .rg-home p, .rg-home dl, .rg-home dd, .rg-home figure { margin: 0; padding: 0; }
.rg-home h1, .rg-home h2, .rg-home h3 { color: var(--rg-text); font-family: var(--rg-sans); }
.rg-home p:empty { display: none; }
.rg-home br { display: none; }
.rg-home img { max-width: 100%; height: auto; display: block; }
.rg-home a { color: var(--rg-gold); text-decoration: none; transition: color .2s ease; }
.rg-home a:hover { color: #ffd27a; }
.rg-home a:focus-visible, .rg-home button:focus-visible, .rg-home input:focus-visible { outline: 2px solid var(--rg-gold); outline-offset: 3px; }
.rg-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

.rg-wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.rg-mono { font-family: var(--rg-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Tricolor stripe */
.rg-tri { display: grid; grid-template-columns: repeat(3, 1fr); height: 6px; }
.rg-tri span:nth-child(1) { background: var(--rg-red); }
.rg-tri span:nth-child(2) { background: var(--rg-gold); }
.rg-tri span:nth-child(3) { background: var(--rg-green); }
.rg-dots { display: inline-flex; gap: 6px; }
.rg-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rg-dot--red { background: var(--rg-red); }
.rg-dot--gold { background: var(--rg-gold); }
.rg-dot--green { background: var(--rg-green); }

/* Header (only used by the 1.0.x homepage module; 1.1.0 uses the shared site header) */
.rg-header { border-bottom: 1px solid var(--rg-line); }
.rg-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.rg-logo img { height: 72px; width: auto; mix-blend-mode: screen; }
.rg-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.rg-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rg-text); font-family: var(--rg-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.rg-nav a:hover { color: var(--rg-gold); }
.rg-home .rg-nav .rg-nav__cart { color: var(--rg-gold); }

/* Hero */
.rg-hero { padding-top: 40px; }
.rg-hero__title { font-weight: 900 !important; font-size: clamp(72px, 15.6vw, 228px) !important; line-height: .82 !important; letter-spacing: -.055em; text-transform: uppercase; }
.rg-hero__title span { display: block; }
.rg-c-red { color: var(--rg-red); }
.rg-c-gold { color: var(--rg-gold); }
.rg-c-green { color: var(--rg-green); }
.rg-hero__title .rg-inline { display: inline; }
.rg-hero .rg-tri { margin-top: 40px; }
.rg-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.rg-hero__intro { padding: 28px 0 56px; }
.rg-hero__label { display: flex; flex-direction: column; gap: 14px; color: var(--rg-muted); }
.rg-hero__copy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: end; }
.rg-hero__lede { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.015em; color: var(--rg-text); }
.rg-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rg-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; font-weight: 600; font-size: 16px; font-family: var(--rg-sans); }
.rg-home .rg-btn--gold { background: var(--rg-gold); color: var(--rg-bg); }
.rg-home .rg-btn--gold:hover { background: #ffd27a; color: var(--rg-bg); }
.rg-home .rg-btn--line { border: 1px solid var(--rg-text); color: var(--rg-text); }
.rg-home .rg-btn--line:hover { background: var(--rg-text); color: var(--rg-bg); }
.rg-hero__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 40% 45%; }
.rg-gray { filter: grayscale(1) contrast(1.08); transition: filter .5s ease; }
.rg-gray:hover { filter: grayscale(0); }
.rg-caption { margin-top: 10px !important; font-size: 12px; color: var(--rg-muted); }

/* Sections */
.rg-section { padding-top: 120px; }
.rg-section--last { padding-bottom: 120px; }
.rg-section .rg-row { border-top: 1px solid var(--rg-text); padding-top: 24px; }
.rg-label { display: flex; align-items: center; gap: 10px; align-self: start; color: var(--rg-muted); }
.rg-stack { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.rg-h2 { font-weight: 800 !important; font-size: clamp(44px, 5.6vw, 84px) !important; line-height: .92 !important; letter-spacing: -.04em; }
.rg-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rg-more { font-family: var(--rg-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; align-self: flex-start; }

/* Player */
.rg-player { position: relative; border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); padding: 24px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.rg-player__btn { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--rg-text); background: transparent; color: var(--rg-text); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s ease, color .2s ease; }
.rg-player__btn svg { width: 22px; height: 22px; fill: currentColor; }
.rg-player__btn .rg-i-pause { display: none; }
.rg-player.is-playing .rg-player__btn { background: var(--rg-gold); border-color: var(--rg-gold); color: var(--rg-bg); }
.rg-player.is-playing .rg-i-play { display: none; }
.rg-player.is-playing .rg-i-pause { display: block; }
.rg-player__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rg-player__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; }
.rg-player__title { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.rg-player__time { color: var(--rg-muted); }
.rg-wave { height: 40px; display: flex; align-items: center; gap: 3px; overflow: hidden; cursor: pointer; }
.rg-wave span { flex: 1; min-width: 2px; background: #3a3a3a; transition: background .15s linear; }
.rg-wave span.is-red { background: var(--rg-red); }
.rg-wave span.is-gold { background: var(--rg-gold); }
.rg-wave span.is-green { background: var(--rg-green); }
.rg-seek { width: 100%; accent-color: var(--rg-gold); }

/* Story */
.rg-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px; }
.rg-story__h { font-weight: 800 !important; font-size: clamp(44px, 5.4vw, 80px) !important; line-height: .94 !important; letter-spacing: -.04em; }
.rg-story__text { display: flex; flex-direction: column; gap: 28px; }
.rg-body { font-size: 20px; line-height: 1.6 !important; color: var(--rg-body); }
.rg-story__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Dinner */
.rg-event { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 24px; padding: 22px 0; border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); align-items: baseline; }
.rg-home a.rg-event { color: var(--rg-text); }
.rg-home a.rg-event:hover .rg-event__name { color: var(--rg-gold); }
.rg-event__date { font-family: var(--rg-mono); font-size: 14px; text-transform: uppercase; color: var(--rg-gold); }
.rg-event__name { font-size: 22px; font-weight: 600; transition: color .2s ease; }
.rg-event__venue { font-size: 18px; color: var(--rg-body); }
.rg-event__go { font-family: var(--rg-mono); font-size: 14px; text-transform: uppercase; text-align: right; }
.rg-menu { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px 24px; font-size: 17px; line-height: 1.45; }
.rg-menu dt { font-family: var(--rg-mono); font-size: 12px; text-transform: uppercase; color: var(--rg-muted); padding-top: 4px; }
.rg-flyer { width: 100%; max-width: 360px; }

/* Products ([rg_products]) */
.rg-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px 20px; }
.rg-home a.rg-prod { display: flex; flex-direction: column; gap: 14px; color: var(--rg-text); }
.rg-prod__img { aspect-ratio: 4 / 5; background: var(--rg-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 6px solid var(--rg-red); }
.rg-prod:nth-child(3n+2) .rg-prod__img { border-bottom-color: var(--rg-gold); }
.rg-prod:nth-child(3n+3) .rg-prod__img { border-bottom-color: var(--rg-green); }
.rg-prod__img img { width: 76% !important; height: 76% !important; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.rg-prod:hover .rg-prod__img img { transform: scale(1.04); }
.rg-prod__meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rg-line); padding-top: 12px; }
.rg-prod__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.rg-prod__price { font-family: var(--rg-mono); font-size: 14px; white-space: nowrap; text-align: right; }
.rg-prod__price del { color: var(--rg-muted); margin-right: 6px; }
.rg-prod__price ins { text-decoration: none; }

/* Signup */
.rg-signup__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 40px; align-items: end; }
.rg-signup__h { font-weight: 800 !important; font-size: clamp(36px, 4vw, 60px) !important; line-height: .96 !important; letter-spacing: -.035em; }
.rg-signup { display: flex; flex-direction: column; gap: 10px; }
.rg-signup__row { display: flex; align-items: flex-end; gap: 16px; border-bottom: 2px solid var(--rg-text); padding-bottom: 6px; }
.rg-signup__field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rg-signup__field label { font-family: var(--rg-mono); font-size: 12px; text-transform: uppercase; color: var(--rg-muted); }
.rg-home .rg-signup input[type="email"] { min-height: 48px; border: 0; background: transparent; color: var(--rg-text); font: inherit; font-size: 22px; padding: 0; width: 100%; box-shadow: none; }
.rg-signup button { min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: var(--rg-green); font-family: var(--rg-mono); font-size: 15px; text-transform: uppercase; cursor: pointer; }
.rg-signup button:hover { color: #6fd08c; }
.rg-signup__note { font-size: 14px; color: var(--rg-muted); min-height: 1em; }
.rg-hp { position: absolute; left: -5000px; }

/* Footer */
.rg-footer { border-top: 1px solid var(--rg-line); }
.rg-footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.rg-home a.rg-footer__mail { font-weight: 800; font-size: clamp(34px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; color: var(--rg-text); overflow-wrap: anywhere; }
.rg-home a.rg-footer__mail:hover { color: var(--rg-gold); }
.rg-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.rg-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.rg-home .rg-footer__nav a { color: var(--rg-text); }
.rg-home .rg-footer__nav a:hover { color: var(--rg-gold); }
.rg-footer__copy { color: var(--rg-muted); }

@media (max-width: 860px) {
	.rg-row { grid-template-columns: 1fr; gap: 20px; }
	.rg-section { padding-top: 88px; }
	.rg-event__go { text-align: left; }
	.rg-logo img { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	.rg-home * { transition: none !important; }
}
