/*
Theme Name: Party Bureau
Theme URI: https://partybureau.com.au
Author: Party Bureau
Description: Melbourne's Party Headquarters – WooCommerce-ready custom theme with AI Party Planner
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 8.9
License: Proprietary
Text Domain: party-bureau
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --gold: #C9A84C; --gold-lt: #F5E6C0; --gold-dk: #b8923e;
  --teal: #2A7C7C; --teal-lt: #E0F2F1; --teal-dk: #236868;
  --magenta: #C2185B; --ink: #1A1A2E; --muted: #6B7280;
  --surface: #FAFAF8; --border: #E5E7EB;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 12px; --radius-sm: 8px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max: 1280px; --header-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: .9rem; transition: all .2s; cursor: pointer; border: none; font-family: var(--font-body); }
.btn-gold { background: var(--gold); color: #fff; } .btn-gold:hover { background: var(--gold-dk); transform: translateY(-1px); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; } .btn-teal:hover { background: var(--teal-dk); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); } .btn-outline:hover { background: var(--gold); color: #fff; }
.btn-white { background: #fff; color: var(--ink); } .btn-white:hover { background: #f5f5f5; color: var(--ink); }
.btn-sm { padding: 8px 20px; font-size: .82rem; }
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.section-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--ink); }
.section-title span { color: var(--gold); }
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.fade-up.visible { opacity: 1; transform: none; }

/* ===== ANNOUNCEMENT BAR ===== */
.ann-bar { background: var(--ink); color: #fff; text-align: center; font-size: .8rem; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.ann-bar a { color: var(--gold); font-weight: 600; }
.ann-bar a:hover { color: var(--gold-lt); }
.ann-bar .ann-close { color: #fff; opacity: .6; margin-left: auto; font-size: 1.1rem; padding: 0 4px; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 500; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 var(--border); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.site-branding { display: flex; align-items: center; }
.site-logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); white-space: nowrap; font-weight: 700; }
.site-logo span { color: var(--gold); }
.site-logo img { height: 44px; width: auto; }
.header-search-wrap { flex: 1; max-width: 400px; position: relative; margin: 0 12px; }
.header-search-wrap input { width: 100%; border: 1.5px solid var(--border); border-radius: 50px; padding: 9px 40px 9px 18px; font-size: .88rem; outline: none; transition: border-color .2s; }
.header-search-wrap input:focus { border-color: var(--gold); }
.header-search-wrap button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-btn { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 500; color: var(--ink); transition: background .15s; position: relative; }
.hdr-btn:hover { background: var(--surface); }
.hdr-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hdr-planner-btn { background: linear-gradient(135deg, var(--gold), #e8c46a); color: #fff !important; border-radius: 50px !important; padding: 8px 18px !important; font-weight: 700 !important; }
.hdr-planner-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.4); background: linear-gradient(135deg, var(--gold-dk), var(--gold)) !important; }
.cart-btn { position: relative; }
.cart-count-badge { position: absolute; top: 2px; right: 4px; background: var(--magenta); color: #fff; font-size: .62rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.cart-count-badge.has-items { display: flex; }

/* ===== PRIMARY NAV ===== */
.primary-nav { background: var(--surface); border-bottom: 1px solid var(--border); }
.nav-menu { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu li { position: relative; list-style: none; }
.nav-menu li a { display: flex; align-items: center; gap: 4px; padding: 14px 16px; font-size: .88rem; font-weight: 500; color: var(--ink); white-space: nowrap; border-bottom: 2px solid transparent; transition: all .15s; }
.nav-menu li a:hover, .nav-menu li.current-menu-item > a { color: var(--gold); border-bottom-color: var(--gold); }
.nav-menu li a.planner-link { color: var(--gold); font-weight: 700; }
.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0; display: none; z-index: 400; }
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li a { padding: 9px 20px; border-bottom: none; font-size: .88rem; color: var(--muted); }
.nav-menu .sub-menu li a:hover { color: var(--teal); background: var(--surface); border-bottom: none; }

/* ===== MOBILE ===== */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 600; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav-inner { position: absolute; top: 0; left: 0; width: 88%; max-width: 340px; height: 100%; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .35s; }
.mobile-nav.open .mobile-nav-inner { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.mobile-nav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; font-size: .95rem; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--ink); }
.mobile-nav-links a:hover { background: var(--surface); color: var(--gold); }
.mobile-planner { background: var(--gold-lt); color: var(--gold) !important; font-weight: 700 !important; }

/* ===== HERO ===== */
.hero-section { position: relative; overflow: hidden; min-height: min(560px, 85vw); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-bg-1 { background: linear-gradient(135deg, #1A1A2E 0%, #2A7C7C 60%, #1a5f5f 100%); }
.hero-bg-2 { background: linear-gradient(135deg, #3d1a4e 0%, #C2185B 60%, #880e4f 100%); }
.hero-bg-3 { background: linear-gradient(135deg, #1a2f1a 0%, #2d5a2d 60%, #1b4332 100%); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.18); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 600px; padding: 60px 0; }
.hero-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 14px; }
.hero-title { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 16px; }
.hero-desc { font-size: 1.05rem; opacity: .9; margin-bottom: 28px; max-width: 440px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btns .btn { font-size: .95rem; padding: 13px 30px; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; border: none; }
.hero-dot.active { background: #fff; transform: scale(1.4); }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: background .2s; }
.hero-nav-btn:hover { background: rgba(255,255,255,.35); }
.hero-prev { left: 16px; } .hero-next { right: 16px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--ink); color: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 14px 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.trust-icon { font-size: 1.1rem; }

/* ===== OCCASIONS ===== */
.occasions-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.occasion-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 12px; text-align: center; cursor: pointer; transition: all .2s; }
.occasion-card:hover { border-color: var(--gold); background: var(--gold-lt); transform: translateY(-3px); }
.occasion-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.occasion-card h4 { font-size: .82rem; font-weight: 600; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-panel { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 300px; display: flex; flex-direction:column; justify-content: flex-end; padding: 28px; cursor: pointer; transition: transform .2s; }
.service-panel:hover { transform: translateY(-4px); }
.service-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1)); }
.service-content { position: relative; z-index: 1; color: #fff; }
.service-content h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 8px; }
.service-content p { font-size: .88rem; opacity: .85; margin-bottom: 16px; }
.sp-shop { background: linear-gradient(135deg, #2A7C7C, #1a5f5f); }
.sp-hire { background: linear-gradient(135deg, #C9A84C, #a07a2a); }
.sp-plan { background: linear-gradient(135deg, #C2185B, #880e4f); }

/* ===== PRODUCTS (WooCommerce) ===== */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s; padding: 0; margin: 0; }
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.woocommerce ul.products li.product a img { height: 200px; object-fit: cover; width: 100%; transition: transform .3s; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .product-thumb-wrap { overflow: hidden; position: relative; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .9rem; font-weight: 600; padding: 14px 14px 4px; line-height: 1.3; font-family: var(--font-body); }
.woocommerce ul.products li.product .price { display: block; padding: 0 14px 8px; color: var(--ink); font-weight: 700; font-size: .95rem; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-size: .82rem; margin-right: 4px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--magenta); }
.woocommerce ul.products li.product .button { display: block; margin: 0 14px 14px; background: var(--teal); color: #fff; border-radius: var(--radius-sm); padding: 9px; text-align: center; font-size: .85rem; font-weight: 600; transition: background .2s; font-family: var(--font-body); border: none; }
.woocommerce ul.products li.product .button:hover { background: var(--teal-dk); color: #fff; }
.woocommerce ul.products li.product .onsale { background: var(--magenta); border-radius: 50px; font-size: .72rem; font-weight: 700; padding: 3px 10px; top: 10px; left: 10px; }
.pb-products-section { padding: 80px 0; }
.pb-products-section .product-tab-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pb-products-section .ptab { padding: 10px 24px; border-radius: 50px; font-size: .88rem; font-weight: 500; border: 1.5px solid var(--border); color: var(--muted); transition: all .2s; cursor: pointer; background: #fff; }
.pb-products-section .ptab.active, .pb-products-section .ptab:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ===== SHOP PAGE ===== */
.woocommerce-page .site-main { padding: 60px 0; }
.woocommerce .woocommerce-result-count { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.woocommerce .woocommerce-ordering select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; font-size: .88rem; font-family: var(--font-body); outline: none; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.shop-sidebar .widget { margin-bottom: 32px; }
.shop-sidebar .widget-title { font-family: var(--font-head); font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.woocommerce .woocommerce-breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--teal); }

/* ===== SINGLE PRODUCT ===== */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 60px 0; }
.woocommerce div.product .woocommerce-product-gallery { position: sticky; top: 100px; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-family: var(--font-head); font-size: 2rem; margin-bottom: 12px; }
.woocommerce div.product .price { font-size: 1.6rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; display: block; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.woocommerce div.product .cart .qty { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .95rem; width: 70px; text-align: center; outline: none; font-family: var(--font-body); }
.woocommerce div.product .cart .qty:focus { border-color: var(--gold); }
.woocommerce div.product .cart .single_add_to_cart_button { background: var(--gold); color: #fff; border-radius: 50px; padding: 13px 32px; font-size: .95rem; font-weight: 700; transition: all .2s; border: none; cursor: pointer; font-family: var(--font-body); }
.woocommerce div.product .cart .single_add_to_cart_button:hover { background: var(--gold-dk); transform: translateY(-1px); }
.woocommerce div.product .woocommerce-tabs .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; padding: 0; list-style: none; }
.woocommerce div.product .woocommerce-tabs .tabs li { margin: 0; }
.woocommerce div.product .woocommerce-tabs .tabs li a { display: block; padding: 12px 24px; font-size: .88rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: all .15s; }
.woocommerce div.product .woocommerce-tabs .tabs li.active a { color: var(--gold); border-bottom-color: var(--gold); }

/* ===== CART & CHECKOUT ===== */
.woocommerce .cart_totals h2, .woocommerce .checkout h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; }
.woocommerce table.shop_table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { background: var(--surface); padding: 14px 20px; font-size: .85rem; font-weight: 700; text-align: left; border-bottom: 1px solid var(--border); }
.woocommerce table.shop_table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--gold); color: #fff; border-radius: 50px; padding: 12px 28px; font-size: .9rem; font-weight: 600; border: none; cursor: pointer; transition: all .2s; font-family: var(--font-body); display: inline-block; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--gold-dk); color: #fff; transform: translateY(-1px); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order { background: var(--teal); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: var(--teal-dk); }
.woocommerce form .form-row label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .9rem; font-family: var(--font-body); width: 100%; outline: none; transition: border-color .2s; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { border-color: var(--gold); }

/* ===== BUDGET FINDER ===== */
.budget-finder-section { background: linear-gradient(135deg, var(--ink), #2d2d4e); color: #fff; padding: 80px 0; }
.budget-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.budget-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px 20px; text-align: center; cursor: pointer; transition: all .2s; }
.budget-card:hover { background: rgba(201,168,76,.15); border-color: var(--gold); transform: translateY(-4px); }
.budget-card .bc-em { font-size: 2rem; display: block; margin-bottom: 10px; }
.budget-card .bc-range { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 6px; }
.budget-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.budget-card p { font-size: .78rem; opacity: .65; line-height: 1.4; }

/* ===== AI PLANNER CTA ===== */
.planner-cta-section { padding: 80px 0; }
.planner-cta-box { background: linear-gradient(135deg, #e8f0fe, #fce4ec); border: 2px solid var(--gold-lt); border-radius: var(--radius); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.planner-cta-box h2 { font-family: var(--font-head); font-size: 1.9rem; margin-bottom: 10px; }
.planner-cta-box p { color: var(--muted); max-width: 460px; line-height: 1.7; }
.planner-steps-row { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.planner-step-chip { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.planner-step-chip .chip-n { background: var(--gold); color: #fff; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; flex-shrink: 0; }
.planner-cta-right { text-align: center; flex-shrink: 0; }
.planner-cta-right small { display: block; font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* ===== COLOUR SWATCHES ===== */
.colours-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.colour-tile { border-radius: var(--radius); padding: 16px 12px; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.colour-tile:hover { transform: scale(1.04); border-color: rgba(0,0,0,.12); }
.colour-dot { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.colour-tile h4 { font-size: .78rem; font-weight: 600; }

/* ===== PLANNING PACKAGES ===== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; transition: all .2s; }
.plan-card.featured { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-lt); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 16px; border-radius: 50px; white-space: nowrap; }
.plan-name { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; }
.plan-price { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); margin: 10px 0 4px; }
.plan-desc { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; }
.plan-feature::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== BLOG POSTS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb-placeholder { height: 180px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 20px; }
.blog-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.blog-body h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.blog-body p { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.blog-read-more { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--teal); margin-top: 12px; }
.blog-read-more:hover { color: var(--teal-dk); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-lt); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; overflow: hidden; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-size: .88rem; font-weight: 600; }
.review-date { font-size: .75rem; color: var(--muted); }

/* ===== EMAIL SIGNUP ===== */
.email-section { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); color: #fff; padding: 64px 0; }
.email-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.email-text h2 { font-family: var(--font-head); font-size: 1.9rem; margin-bottom: 8px; }
.email-text p { opacity: .9; }
.email-form { display: flex; gap: 12px; }
.email-form input { border: none; border-radius: 50px; padding: 13px 22px; font-size: .9rem; width: 260px; outline: none; font-family: var(--font-body); }
.email-form button { background: var(--ink); color: #fff; border-radius: 50px; padding: 13px 28px; font-weight: 600; font-size: .9rem; white-space: nowrap; border: none; cursor: pointer; transition: background .2s; font-family: var(--font-body); }
.email-form button:hover { background: #2d2d4e; }

/* ===== INSTAGRAM GRID ===== */
.ig-section { padding: 80px 0; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.ig-tile { aspect-ratio: 1; background: var(--surface); overflow: hidden; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; }
.ig-tile:hover::after { background: rgba(0,0,0,.25); }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: #fff; }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-logo-img { height: 90px; width: auto; object-fit: contain; display: block; }
.footer-about-text { font-size: .88rem; opacity: .7; line-height: 1.6; max-width: 240px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: all .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-heading { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .85rem; opacity: .7; transition: opacity .15s; }
.footer-links a:hover { opacity: 1; color: var(--gold-lt); }
.footer-newsletter p { font-size: .85rem; opacity: .7; margin-bottom: 14px; }
.footer-email { display: flex; flex-direction: column; gap: 10px; }
.footer-email input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); padding: 10px 14px; color: #fff; font-size: .88rem; outline: none; font-family: var(--font-body); }
.footer-email input::placeholder { opacity: .6; }
.footer-email input:focus { border-color: var(--gold); }
.footer-address { font-size: .75rem; opacity: .5; margin-top: 14px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; opacity: .6; }
.footer-bottom a { opacity: .8; transition: opacity .15s; }
.footer-bottom a:hover { opacity: 1; }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.payment-badge { background: rgba(255,255,255,.15); border-radius: 4px; padding: 3px 10px; font-size: .72rem; font-weight: 600; }

/* ===== PAGES & POSTS ===== */
.page-hero { background: linear-gradient(135deg, var(--teal), #1a5f5f); color: #fff; padding: 72px 0; }
.page-hero h1 { font-family: var(--font-head); font-size: 2.8rem; margin-bottom: 14px; }
.page-hero p { opacity: .9; max-width: 520px; }
.page-content { padding: 80px 0; }
.page-content .entry-content { max-width: 760px; }
.page-content .entry-content h2 { font-family: var(--font-head); font-size: 1.6rem; margin: 32px 0 14px; }
.page-content .entry-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.page-content .entry-content a { color: var(--teal); }
.page-content .entry-content a:hover { color: var(--teal-dk); text-decoration: underline; }
.page-content .entry-content img { border-radius: var(--radius); margin: 24px 0; }

/* ===== BACK TO TOP ===== */
#back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s; z-index: 300; }
#back-to-top.show { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--gold-dk); transform: translateY(-3px); }

/* ===== NOTIFICATIONS ===== */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; font-size: .9rem; border-top: none; }
.woocommerce-message { background: var(--teal-lt); border-left: 4px solid var(--teal); color: var(--ink); }
.woocommerce-error { background: #fde8e8; border-left: 4px solid var(--magenta); color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .occasions-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: span 3; }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-search-wrap { display: none; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .occasions-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: span 2; }
  .email-inner { flex-direction: column; }
  .email-form { flex-direction: column; width: 100%; }
  .email-form input { width: 100%; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .budget-cards { grid-template-columns: repeat(2, 1fr); }
  .planner-cta-box { flex-direction: column; padding: 28px 24px; }
  .colours-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .occasions-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .colours-grid { grid-template-columns: repeat(3, 1fr); }
  .budget-cards { grid-template-columns: 1fr 1fr; }
}
