/*
Theme Name: RK Cinenest
Description: Lightweight mobile-first theme for RK Cinenest private theatre. Pairs with the RK Cinenest Booking plugin.
Version: 1.0.0
Author: Switch2Growth
Text Domain: rkcinenest
*/

:root{
  --rk-bg:#0e0b11;
  --rk-surface:#17121c;
  --rk-surface-2:#1f1826;
  --rk-line:#2e2533;
  --rk-text:#f3ecf1;
  --rk-muted:#b4a8b3;
  --rk-gold:#e6b85c;
  --rk-red:#c8243b;
  --rk-radius:16px;
  --font-display:'Fraunces',Georgia,serif;
  --font-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--rk-bg);color:var(--rk-text);font-family:var(--font-body);font-size:16px;line-height:1.6;padding-bottom:64px}
img{max-width:100%;height:auto;display:block}
a{color:var(--rk-gold)}
a:hover{color:#f3cf86}
h1,h2,h3{font-family:var(--font-display);font-weight:800;line-height:1.12;letter-spacing:-.01em;margin:0 0 .5em;text-wrap:balance}
h1{font-size:clamp(2rem,7vw,3.6rem)}
h2{font-size:clamp(1.5rem,4.5vw,2.3rem)}
p{margin:0 0 1em}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.sr,.skip:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip:focus{position:fixed;top:8px;left:8px;z-index:100;background:var(--rk-gold);color:#000;padding:8px 12px;border-radius:8px}
:focus-visible{outline:2px solid var(--rk-gold);outline-offset:2px}
.muted{color:var(--rk-muted)}
.small{font-size:.9rem}
.center{text-align:center}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:700;color:var(--rk-gold);margin-bottom:.6em}
.lead{font-size:1.12rem;color:var(--rk-muted);max-width:60ch}
.ph{background:#3d2f12;color:#ffd98a;border:1px dashed #a07a2c;border-radius:6px;padding:0 6px;font-size:.92em}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:12px;background:var(--rk-red);color:#fff;font-weight:700;text-decoration:none;border:0;cursor:pointer;font:inherit;font-weight:700}
.btn:hover{background:#dd2e46;color:#fff}
.btn--sm{min-height:42px;padding:0 16px;font-size:.95rem}
.btn--ghost{background:transparent;border:1px solid var(--rk-gold);color:var(--rk-gold)}
.btn--ghost:hover{background:var(--rk-gold);color:#1a1208}
.btn--wa{background:#1fa855}
.btn--wa:hover{background:#23bf61}
.btn-row{display:flex;flex-wrap:wrap;gap:10px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(14,11,17,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--rk-line)}
.header__inner{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--rk-text)}
.brand__mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--rk-red),#7a1426);font-family:var(--font-display);font-weight:800;color:#fff;font-size:.95rem}
.brand__name{font-family:var(--font-display);font-weight:800;font-size:1.3rem;letter-spacing:.01em}
.brand__logo{max-height:44px;width:auto}
.nav-toggle{display:grid;place-items:center;width:48px;height:48px;background:none;border:0;color:var(--rk-text);cursor:pointer}
.nav-toggle__bars,.nav-toggle__bars::before,.nav-toggle__bars::after{display:block;width:24px;height:2px;background:currentColor;border-radius:2px;position:relative;transition:transform .2s}
.nav-toggle__bars::before,.nav-toggle__bars::after{content:"";position:absolute;left:0}
.nav-toggle__bars::before{top:-7px}.nav-toggle__bars::after{top:7px}
.nav-open .nav-toggle__bars{background:transparent}
.nav-open .nav-toggle__bars::before{transform:translateY(7px) rotate(45deg)}
.nav-open .nav-toggle__bars::after{transform:translateY(-7px) rotate(-45deg)}
.nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--rk-bg);border-bottom:1px solid var(--rk-line);padding:8px 16px 20px}
.nav-open .nav{display:block}
.nav__list{list-style:none;margin:0 0 12px;padding:0}
.nav__list a{display:block;padding:14px 4px;color:var(--rk-text);text-decoration:none;font-weight:500;border-bottom:1px solid var(--rk-line)}
.nav__list .current-menu-item>a,.nav__list a:hover{color:var(--rk-gold)}
.nav__cta{width:100%}
@media (min-width:880px){
  .nav-toggle{display:none}
  .nav{display:flex!important;position:static;align-items:center;gap:20px;padding:0;border:0;background:none}
  .nav__list{display:flex;gap:4px;margin:0}
  .nav__list a{border:0;padding:8px 12px;border-radius:8px}
  .nav__cta{width:auto}
}

/* Hero */
.hero{position:relative;overflow:hidden;min-height:78vh;display:flex;align-items:flex-end}
.hero__bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,11,17,.15) 0%,rgba(14,11,17,.55) 45%,var(--rk-bg) 100%)}
.hero__inner{position:relative;padding-top:120px;padding-bottom:48px}
.hero__title em{font-style:italic;color:var(--rk-gold)}
.hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:8px}
.price-tag{color:var(--rk-muted)}
.price-tag strong{color:var(--rk-text);font-size:1.3rem}

/* Sections */
.section{padding:56px 0}
.section--flush{padding-top:8px}
.section--alt{background:var(--rk-surface)}
.section__head{margin-bottom:24px}
.page-hero{padding:48px 0 24px;background:radial-gradient(120% 80% at 10% 0%,#2a1424 0%,transparent 60%)}
.page-hero--tight{padding-bottom:8px}

/* Occasion cards */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.card{position:relative;display:block;border-radius:var(--rk-radius);overflow:hidden;text-decoration:none;color:var(--rk-text);aspect-ratio:3/4;background:var(--rk-surface-2)}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover img{transform:scale(1.04)}
.card__body{position:absolute;inset:auto 0 0 0;padding:14px;background:linear-gradient(transparent,rgba(0,0,0,.85));display:flex;flex-direction:column}
.card__title{font-family:var(--font-display);font-weight:800;font-size:1.1rem;line-height:1.2}
.card__more{font-size:.85rem;color:var(--rk-gold);margin-top:2px}
@media (min-width:880px){.cards{grid-template-columns:repeat(4,1fr);gap:18px}}

/* Steps */
.steps__list{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:12px}
.steps__list li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;column-gap:14px;padding:16px;background:var(--rk-bg);border:1px solid var(--rk-line);border-radius:var(--rk-radius)}
.steps__list li::before{content:counter(s);grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--rk-gold);color:#1a1208;font-weight:800}
.steps__list span{color:var(--rk-muted);font-size:.95rem}
@media (min-width:880px){.steps__list{grid-template-columns:repeat(4,1fr)}.steps__list li{grid-template-columns:1fr}.steps__list li::before{grid-row:auto;margin-bottom:10px}}

/* Price + visit */
.price,.visit,.about,.contact{display:grid;gap:28px;align-items:center}
.price__img{border-radius:var(--rk-radius);width:100%}
.ticks{list-style:none;padding:0;margin:0 0 20px}
.ticks li{padding-left:26px;position:relative;margin-bottom:6px}
.ticks li::before{content:"✓";position:absolute;left:0;color:var(--rk-gold);font-weight:700}
.map{width:100%;height:320px;border:0;border-radius:var(--rk-radius);filter:grayscale(.2)}
.map--tall{height:420px}
@media (min-width:880px){.price,.visit{grid-template-columns:1fr 1fr}.about{grid-template-columns:1.6fr 1fr;align-items:start}.contact{grid-template-columns:1fr 1.3fr;align-items:start}.map--tall{height:560px}}

/* Occasions page */
.occ-list{display:grid;gap:20px}
.occ{display:grid;background:var(--rk-surface);border:1px solid var(--rk-line);border-radius:var(--rk-radius);overflow:hidden}
.occ img{width:100%;aspect-ratio:3/2;object-fit:cover}
.occ__body{padding:20px}
@media (min-width:880px){.occ-list{grid-template-columns:1fr 1fr}}
.pkg{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.pkg__item{text-align:center;padding:18px 8px;border-radius:var(--rk-radius);background:var(--rk-bg);border:1px solid var(--rk-line)}
.pkg__item.is-pop{border-color:var(--rk-gold)}
.pkg__h{font-weight:700}
.pkg__p{font-family:var(--font-display);font-size:clamp(1.2rem,5vw,1.8rem);font-weight:800;color:var(--rk-gold);margin:4px 0}

/* Gallery */
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gallery__item{margin:0;position:relative;border-radius:12px;overflow:hidden}
.gallery__item img{width:100%;aspect-ratio:1;object-fit:cover}
.gallery__item figcaption{position:absolute;left:8px;bottom:8px;font-size:.8rem;background:rgba(0,0,0,.6);padding:2px 8px;border-radius:6px}
.gallery .prose{grid-column:1/-1}
@media (min-width:880px){.gallery{grid-template-columns:repeat(4,1fr);gap:14px}}

/* About facts / contact */
.facts{display:grid;gap:12px;padding:20px;background:var(--rk-surface);border:1px solid var(--rk-line);border-radius:var(--rk-radius)}
.facts div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--rk-line);padding-bottom:10px}
.facts__k{color:var(--rk-muted)}
.facts__v{font-weight:600;text-align:right}
.contact__info{display:grid;gap:14px}
.contact__block{padding:18px;background:var(--rk-surface);border:1px solid var(--rk-line);border-radius:var(--rk-radius)}
.contact__block h2{font-size:1.15rem;margin-bottom:.4em}
.contact__block p:last-child{margin-bottom:0}

/* Prose (WP content, WooCommerce pages) */
.prose{max-width:760px}
.prose>*:first-child{margin-top:0}

/* Footer */
.site-footer{border-top:1px solid var(--rk-line);padding:40px 0 16px;margin-top:24px}
.footer__grid{display:grid;gap:24px}
.footer__h{font-family:var(--font-body);font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;color:var(--rk-gold)}
.footer__base{padding-top:24px;font-size:.85rem}
.brand--footer{margin-bottom:12px}
@media (min-width:880px){.footer__grid{grid-template-columns:1.4fr 1fr 1fr}}

/* Sticky mobile book bar + WhatsApp */
.book-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;justify-content:center;min-height:56px;background:var(--rk-red);color:#fff;font-weight:700;text-decoration:none;padding-bottom:env(safe-area-inset-bottom)}
.book-bar:hover{color:#fff}
.page-template-default.woocommerce-checkout .book-bar,.page-book .book-bar,body.woocommerce-checkout .book-bar{display:none}
.wa-float{position:fixed;right:16px;bottom:72px;z-index:41;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#1fa855;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.4)}
@media (min-width:880px){body{padding-bottom:0}.book-bar{display:none}.wa-float{bottom:24px}}

/* WooCommerce checkout, dark */
.woocommerce form .form-row{display:block;margin:0 0 14px;padding:0}
.woocommerce form .form-row label{display:block;margin-bottom:6px;font-weight:600}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;min-height:48px;padding:10px 12px;border-radius:10px;border:1px solid var(--rk-line);background:var(--rk-bg);color:var(--rk-text);font:inherit;font-size:16px}
.woocommerce form .form-row textarea{min-height:96px}
.woocommerce table.shop_table{width:100%;border-collapse:collapse;border:1px solid var(--rk-line);border-radius:12px;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px;border-bottom:1px solid var(--rk-line);text-align:left;vertical-align:top}
.woocommerce table.shop_table .wc-item-meta,.woocommerce td.product-name dl.variation{font-size:.9rem;color:var(--rk-muted);margin:6px 0 0;padding:0;list-style:none}
.woocommerce td.product-name dl.variation dt,.woocommerce td.product-name dl.variation dd{display:inline;margin:0}
.woocommerce td.product-name dl.variation dd p{display:inline}
.woocommerce td.product-name dl.variation dd::after{content:"";display:block}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-notice{list-style:none;padding:12px 14px;border-radius:10px;background:var(--rk-surface);border:1px solid var(--rk-line);margin:0 0 16px}
.woocommerce-error{border-color:var(--rk-red);background:#3a1219}
.woocommerce-message{border-color:#1fa855}
.woocommerce .checkout_coupon{padding:16px;border:1px dashed var(--rk-gold);border-radius:12px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.woocommerce .checkout_coupon p:first-child{width:100%;margin:0}
.woocommerce .checkout_coupon .form-row{flex:1;margin:0}
.woocommerce button.button,.woocommerce a.button,.woocommerce #place_order{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:12px;background:var(--rk-red);color:#fff;border:0;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.woocommerce #place_order{width:100%;min-height:54px;font-size:1.05rem;margin-top:12px}
.woocommerce-checkout #payment{background:var(--rk-surface);border-radius:12px;padding:16px;margin-top:16px}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;margin:0;padding:0}
.woocommerce-checkout #payment div.payment_box{color:var(--rk-muted);font-size:.95rem}
.woocommerce-checkout .col2-set .col-2{display:none}
#order_review_heading{margin-top:24px}
.woocommerce-order-overview{list-style:none;padding:0;display:grid;gap:6px}
.woocommerce .required{color:var(--rk-red);text-decoration:none}
.woocommerce-privacy-policy-text{font-size:.85rem;color:var(--rk-muted)}
.woocommerce-form-coupon-toggle{display:none}
.woocommerce form.checkout_coupon{display:flex!important}
