/*
Theme Name:        Anthony Patterson
Theme URI:         https://anthonypatterson.com
Author:            Anthony Patterson
Author URI:        https://anthonypatterson.com
Description:       Official one-page website theme for Anthony Patterson — featuring a hero image slider, MP3 music player, WooCommerce store, and bookings section. All sections are editable via the WordPress Customizer (Appearance → Customize). Requires WooCommerce plugin for the store section.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       anthony-patterson
Tags:              one-page, music, woocommerce, customizer, dark, western, full-width-template
*/

/* ═══════════════════════════════════════════════════════════
   ANTHONY PATTERSON — BASE THEME STYLES
   All colors, fonts, and spacing use CSS custom properties
   that are overridden by the WordPress Customizer.
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS (defaults — overridden by Customizer) ─── */
:root {
  --ap-color-bg:            #0e0c08;
  --ap-color-surface:       #151209;
  --ap-color-surface-2:     #1c1710;
  --ap-color-surface-3:     #251e14;
  --ap-color-border:        #3a3020;
  --ap-color-divider:       #2c2516;
  --ap-color-text:          #e8dcc8;
  --ap-color-text-muted:    #9a8a70;
  --ap-color-text-faint:    #5a4e3a;
  --ap-color-copper:        #b87333;
  --ap-color-copper-light:  #d4944a;
  --ap-color-copper-dark:   #7a4c20;
  --ap-color-gold:          #c8922a;
  --ap-color-gold-light:    #e8b84a;
  --ap-color-bronze:        #8c5a1a;
  --ap-color-patina:        #5a7a60;
  --ap-color-primary:       #b87333;
  --ap-color-primary-hover: #d4944a;
  --ap-color-primary-glow:  rgba(184,115,51,0.25);

  --ap-font-display: 'Playfair Display', Georgia, serif;
  --ap-font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --ap-slider-height:      100svh;
  --ap-slider-interval:    5000;

  --ap-header-bg:          rgba(14,12,8,0.9);
  --ap-header-border:      rgba(58,48,32,0.8);

  --ap-radius-sm:   0.375rem;
  --ap-radius-md:   0.5rem;
  --ap-radius-lg:   0.75rem;
  --ap-radius-xl:   1rem;
  --ap-radius-full: 9999px;
  --ap-trans:       200ms cubic-bezier(0.16, 1, 0.3, 1);
  --ap-trans-slow:  500ms cubic-bezier(0.16, 1, 0.3, 1);
  --ap-shadow-sm:   0 1px 2px rgba(0,0,0,0.35);
  --ap-shadow-md:   0 4px 16px rgba(0,0,0,0.45);
  --ap-shadow-lg:   0 12px 40px rgba(0,0,0,0.55);
}

/* ── RESET / BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--ap-font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--ap-color-text);
  background-color: var(--ap-color-bg);
  line-height: 1.65;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--ap-color-copper-light); text-decoration: none; transition: color var(--ap-trans); }
a:hover { color: var(--ap-color-gold-light); }
:focus-visible { outline: 2px solid var(--ap-color-copper); outline-offset: 3px; border-radius: var(--ap-radius-sm); }
::selection { background: var(--ap-color-primary-glow); color: var(--ap-color-text); }

/* ── TYPE SCALE ──────────────────────────────────────────── */
.ap-text-xs   { font-size: clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem); }
.ap-text-sm   { font-size: clamp(0.875rem, 0.8rem  + 0.35vw, 1rem); }
.ap-text-base { font-size: clamp(1rem,     0.95rem + 0.25vw, 1.125rem); }
.ap-text-lg   { font-size: clamp(1.125rem, 1rem    + 0.75vw, 1.5rem); }
.ap-text-xl   { font-size: clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem); }
.ap-text-2xl  { font-size: clamp(2rem,     1.2rem  + 2.5vw,  3.5rem); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.ap-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--ap-radius-sm);
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--ap-trans);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.ap-btn-primary {
  background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold));
  color: #0e0c08;
  border-color: var(--ap-color-copper-dark);
  box-shadow: 0 2px 8px var(--ap-color-primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.ap-btn-primary:hover {
  background: linear-gradient(135deg, var(--ap-color-copper-light), var(--ap-color-gold-light));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--ap-color-primary-glow);
  color: #0e0c08;
}
.ap-btn-sm  { padding: 0.5rem 1rem; font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem); }
.ap-btn-lg  { padding: 1rem 2.5rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }

/* ── SECTION DECORATION ──────────────────────────────────── */
.ap-section-header { text-align: center; margin-bottom: 3rem; }
.ap-section-header h2 {
  font-family: var(--ap-font-display);
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  color: var(--ap-color-gold-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.ap-section-sub { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); color: var(--ap-color-text-muted); font-weight: 300; letter-spacing: 0.04em; }
.ap-star-divider { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.ap-divider-line { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(to right, transparent, var(--ap-color-copper), transparent); }
.ap-section-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--ap-color-copper), var(--ap-color-gold), var(--ap-color-copper), transparent);
}

/* ── HEADER ──────────────────────────────────────────────── */
#ap-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--ap-header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ap-header-border);
  transition: box-shadow var(--ap-trans-slow);
}
#ap-header.scrolled { box-shadow: var(--ap-shadow-md); }
.ap-header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.ap-logo { flex-shrink: 0; display: flex; align-items: center; }
.ap-logo img { height: 44px; width: auto; }
.ap-logo-text {
  font-family: var(--ap-font-display);
  font-size: 1.5rem; font-weight: 900;
  color: var(--ap-color-gold);
  letter-spacing: 0.04em;
}
.ap-main-nav { flex: 1; }
.ap-main-nav ul { display: flex; gap: 2rem; justify-content: center; }
.ap-main-nav a {
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ap-color-text-muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--ap-trans);
}
.ap-main-nav a:hover { color: var(--ap-color-copper-light); border-bottom-color: var(--ap-color-copper); }
.ap-header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.ap-theme-toggle {
  width: 36px; height: 36px; border-radius: var(--ap-radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--ap-color-text-muted);
  border: 1px solid var(--ap-color-border);
  transition: all var(--ap-trans);
}
.ap-theme-toggle:hover { color: var(--ap-color-copper-light); border-color: var(--ap-color-copper); }
.ap-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-sm);
  transition: all var(--ap-trans);
}
.ap-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ap-color-text-muted); transition: all var(--ap-trans); border-radius: 2px; }
.ap-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ap-menu-toggle.open span:nth-child(2) { opacity: 0; }
.ap-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ap-mobile-nav { display: none; padding: 1rem 1.5rem; border-top: 1px solid var(--ap-color-border); background: var(--ap-color-surface); }
.ap-mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; }
.ap-mobile-nav a { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ap-color-text-muted); }
.ap-mobile-nav a:hover { color: var(--ap-color-copper-light); }

/* ── HERO SLIDER ─────────────────────────────────────────── */
#ap-hero {
  position: relative; width: 100%;
  height: var(--ap-slider-height); min-height: 500px;
  overflow: hidden; background: #0e0c08;
}
.ap-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.ap-slide.active { opacity: 1; z-index: 1; }
.ap-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ap-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,12,8,0.2) 0%, rgba(14,12,8,0.05) 40%, rgba(14,12,8,0.5) 100%); }
.ap-slide-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.ap-slide-content { text-align: center; }
.ap-slide-headline { font-family: var(--ap-font-display); font-size: clamp(2.5rem, 1rem + 4vw, 5rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.6); font-weight: 900; }
.ap-slide-subtext { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); color: rgba(255,255,255,0.85); margin-top: 0.75rem; letter-spacing: 0.08em; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.ap-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 52px; height: 52px; border-radius: var(--ap-radius-full);
  border: 2px solid rgba(184,115,51,0.5);
  background: rgba(14,12,8,0.6); color: var(--ap-color-copper-light);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: all var(--ap-trans);
}
.ap-slider-btn:hover { border-color: var(--ap-color-copper); background: rgba(184,115,51,0.15); }
.ap-slider-prev { left: 1.5rem; }
.ap-slider-next { right: 1.5rem; }
.ap-slider-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.75rem; }
.ap-dot { width: 10px; height: 10px; border-radius: var(--ap-radius-full); border: 2px solid var(--ap-color-copper); background: transparent; transition: all var(--ap-trans); padding: 0; }
.ap-dot.active { background: var(--ap-color-copper); width: 28px; }
.ap-slide-counter { position: absolute; bottom: 2rem; right: 2rem; z-index: 10; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--ap-color-copper-light); font-weight: 700; text-transform: uppercase; background: rgba(14,12,8,0.5); padding: 0.25rem 0.75rem; border-radius: var(--ap-radius-full); backdrop-filter: blur(8px); border: 1px solid rgba(184,115,51,0.3); }

/* ── MUSIC PLAYER ────────────────────────────────────────── */
#ap-music {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background: var(--ap-color-surface); position: relative;
}
.ap-player-container {
  max-width: 900px; margin: 0 auto 3rem;
  display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center;
  background: var(--ap-color-surface-2); border: 1px solid var(--ap-color-border);
  border-radius: var(--ap-radius-xl); padding: 2rem;
  box-shadow: var(--ap-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.ap-player-container::before, .ap-player-container::after { content: '★'; position: absolute; color: var(--ap-color-copper); opacity: 0.15; font-size: 5rem; line-height: 1; }
.ap-player-container::before { top: -10px; left: -10px; }
.ap-player-container::after  { bottom: -10px; right: -10px; }
.ap-player-art { position: relative; border-radius: var(--ap-radius-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--ap-shadow-md), 0 0 30px rgba(184,115,51,0.2); border: 2px solid var(--ap-color-border); }
.ap-player-art img { width: 100%; height: 100%; object-fit: cover; }
.ap-vinyl-spin { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #1a1200 30%, #2a2000 50%, #1a1200 70%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s; animation: ap-vinyl-rotate 4s linear infinite paused; }
.ap-vinyl-spin.playing { opacity: 0.7; animation-play-state: running; }
.ap-vinyl-inner { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, #2a2000, #1a1200); border: 3px solid rgba(200,146,42,0.5); }
@keyframes ap-vinyl-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ap-controls-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.ap-np-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ap-color-copper); }
.ap-np-title { font-family: var(--ap-font-display); font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem); color: var(--ap-color-gold-light); margin: 0.25rem 0 0; }
.ap-np-artist { font-size: 0.875rem; color: var(--ap-color-text-muted); font-weight: 300; letter-spacing: 0.08em; }
.ap-progress-wrap { display: flex; align-items: center; gap: 0.75rem; }
.ap-time { font-size: 0.75rem; color: var(--ap-color-text-muted); font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: center; }
.ap-progress-bar { flex: 1; height: 6px; background: var(--ap-color-surface-3); border-radius: var(--ap-radius-full); cursor: pointer; position: relative; transition: height var(--ap-trans); }
.ap-progress-bar:hover { height: 8px; }
.ap-progress-fill { height: 100%; border-radius: var(--ap-radius-full); background: linear-gradient(to right, var(--ap-color-copper), var(--ap-color-gold)); width: 0%; transition: width 0.1s linear; }
.ap-progress-thumb { position: absolute; top: 50%; right: -6px; transform: translateY(-50%); width: 14px; height: 14px; border-radius: var(--ap-radius-full); background: var(--ap-color-gold-light); opacity: 0; transition: opacity var(--ap-trans); }
.ap-progress-bar:hover .ap-progress-thumb { opacity: 1; }
.ap-player-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.ap-ctrl-btn { display: flex; align-items: center; justify-content: center; color: var(--ap-color-text-muted); border-radius: var(--ap-radius-full); width: 40px; height: 40px; transition: all var(--ap-trans); }
.ap-ctrl-btn:hover { color: var(--ap-color-copper-light); }
.ap-ctrl-btn.active { color: var(--ap-color-copper); }
.ap-play-btn { width: 58px; height: 58px; background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); color: #0e0c08 !important; box-shadow: 0 4px 20px var(--ap-color-primary-glow); }
.ap-play-btn:hover { transform: scale(1.06); }
.ap-volume-row { display: flex; align-items: center; gap: 0.75rem; color: var(--ap-color-text-faint); }
.ap-volume-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: var(--ap-radius-full); background: var(--ap-color-surface-3); outline: none; cursor: pointer; }
.ap-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: var(--ap-radius-full); background: var(--ap-color-copper-light); cursor: pointer; }
.ap-track-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-lg); overflow: hidden; }
.ap-track-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--ap-color-surface-2); cursor: pointer; transition: background var(--ap-trans); border-bottom: 1px solid var(--ap-color-divider); }
.ap-track-item:last-child { border-bottom: none; }
.ap-track-item:hover { background: var(--ap-color-surface-3); }
.ap-track-item.active { background: linear-gradient(to right, rgba(184,115,51,0.15), transparent); border-left: 3px solid var(--ap-color-copper); }
.ap-tnum { font-size: 0.875rem; color: var(--ap-color-text-faint); font-variant-numeric: tabular-nums; }
.ap-track-item.active .ap-tnum { display: none; }
.ap-playing-anim { display: none; align-items: flex-end; gap: 2px; height: 16px; }
.ap-track-item.active .ap-playing-anim { display: flex; }
.ap-playing-anim i { display: block; width: 3px; background: var(--ap-color-copper); border-radius: 1px; animation: ap-bar-bounce 0.8s ease infinite alternate; }
.ap-playing-anim i:nth-child(2) { animation-delay: 0.2s; }
.ap-playing-anim i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ap-bar-bounce { from { height: 4px; } to { height: 14px; } }
.ap-paused .ap-playing-anim i { animation-play-state: paused; }
.ap-track-info { display: flex; flex-direction: column; gap: 2px; }
.ap-track-name { font-size: 0.875rem; font-weight: 700; color: var(--ap-color-text); transition: color var(--ap-trans); }
.ap-track-item.active .ap-track-name { color: var(--ap-color-gold-light); }
.ap-track-album { font-size: 0.75rem; color: var(--ap-color-text-faint); letter-spacing: 0.08em; }
.ap-track-dur { font-size: 0.75rem; color: var(--ap-color-text-faint); font-variant-numeric: tabular-nums; }

/* ── STORE ───────────────────────────────────────────────── */
#ap-store { padding: clamp(4rem, 8vw, 7rem) 1.5rem; background: var(--ap-color-bg); position: relative; }
.ap-store-filters { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.ap-filter-btn { padding: 0.5rem 1.5rem; border-radius: var(--ap-radius-full); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ap-color-text-muted); border: 2px solid var(--ap-color-border); transition: all var(--ap-trans); background: transparent; }
.ap-filter-btn:hover { border-color: var(--ap-color-copper); color: var(--ap-color-copper-light); }
.ap-filter-btn.active { border-color: var(--ap-color-copper); background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); color: #0e0c08; }
.ap-product-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.ap-product-card { background: var(--ap-color-surface); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-xl); overflow: hidden; display: flex; flex-direction: column; transition: all var(--ap-trans-slow); position: relative; }
.ap-product-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg), 0 0 30px rgba(184,115,51,0.15); border-color: var(--ap-color-copper); }
.ap-product-card.hidden { display: none; }
.ap-product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ap-color-surface-2); }
.ap-product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ap-product-card:hover .ap-product-img-wrap img { transform: scale(1.05); }
.ap-product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); color: #0e0c08; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: var(--ap-radius-full); }
.ap-product-badge.sale { background: linear-gradient(135deg, #8c1a1a, #c03020); color: #fff; }
.ap-product-info { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.ap-product-name { font-family: var(--ap-font-display); font-size: clamp(1.125rem, 1rem + 0.75vw, 1.5rem); color: var(--ap-color-text); }
.ap-product-desc { font-size: 0.875rem; color: var(--ap-color-text-muted); line-height: 1.5; }
.ap-product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 0.75rem; }
.ap-product-price { font-family: var(--ap-font-display); font-size: clamp(1.125rem, 1rem + 0.75vw, 1.5rem); font-weight: 700; color: var(--ap-color-gold-light); }
.ap-product-price del { font-size: 0.875rem; color: var(--ap-color-text-faint); font-weight: 400; font-family: var(--ap-font-body); }
.ap-size-select { background: var(--ap-color-surface-2); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-sm); padding: 0.25rem 0.75rem; font-size: 0.75rem; color: var(--ap-color-text); cursor: pointer; }

/* Cart */
.ap-cart-toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--ap-color-surface-3); border: 1px solid var(--ap-color-copper); border-radius: var(--ap-radius-lg); padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 700; color: var(--ap-color-copper-light); box-shadow: var(--ap-shadow-lg); z-index: 2000; opacity: 0; transition: opacity var(--ap-trans), transform var(--ap-trans); pointer-events: none; white-space: nowrap; }
.ap-cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ap-cart-widget { position: fixed; bottom: 2rem; right: 2rem; z-index: 500; }
.ap-cart-icon-btn { width: 56px; height: 56px; border-radius: var(--ap-radius-full); background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); color: #0e0c08; display: flex; align-items: center; justify-content: center; box-shadow: var(--ap-shadow-md), 0 0 20px var(--ap-color-primary-glow); border: 2px solid var(--ap-color-copper-dark); transition: all var(--ap-trans); position: relative; }
.ap-cart-icon-btn:hover { transform: scale(1.08); }
.ap-cart-count { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: var(--ap-radius-full); background: #c03020; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ap-color-bg); }
.ap-cart-dropdown { position: absolute; bottom: 68px; right: 0; width: 300px; background: var(--ap-color-surface); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-xl); padding: 1.25rem; box-shadow: var(--ap-shadow-lg); }
.ap-cart-dropdown h4 { font-family: var(--ap-font-display); color: var(--ap-color-gold-light); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ap-color-divider); }
.ap-cart-empty { font-size: 0.875rem; color: var(--ap-color-text-faint); text-align: center; padding: 1rem 0; }
.ap-cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--ap-color-divider); font-size: 0.875rem; }
.ap-cart-total-row { display: flex; justify-content: space-between; padding-top: 0.75rem; margin-top: 0.5rem; font-weight: 700; color: var(--ap-color-text); border-top: 2px solid var(--ap-color-border); }

/* WooCommerce overrides */
.woocommerce .ap-product-grid,
.woocommerce ul.products { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.woocommerce ul.products li.product { background: var(--ap-color-surface); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-xl); overflow: hidden; transition: all var(--ap-trans-slow); }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg); border-color: var(--ap-color-copper); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--ap-font-display); color: var(--ap-color-text); padding: 1rem 1.25rem 0; }
.woocommerce ul.products li.product .price { color: var(--ap-color-gold-light); padding: 0 1.25rem; font-family: var(--ap-font-display); font-weight: 700; }
.woocommerce ul.products li.product .button { margin: 0.75rem 1.25rem 1.25rem; display: inline-flex; padding: 0.5rem 1rem; background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); color: #0e0c08; border-radius: var(--ap-radius-sm); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; transition: all var(--ap-trans); }
.woocommerce ul.products li.product .button:hover { background: linear-gradient(135deg, var(--ap-color-copper-light), var(--ap-color-gold-light)); }

/* ── BOOKINGS ────────────────────────────────────────────── */
#ap-bookings { padding: clamp(4rem, 8vw, 7rem) 1.5rem; background: var(--ap-color-surface); position: relative; }
.ap-bookings-inner { max-width: 1200px; margin: 0 auto; }
.ap-bookings-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.ap-bookings-info { display: flex; flex-direction: column; gap: 2rem; }
.ap-booking-intro p { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); color: var(--ap-color-text-muted); line-height: 1.75; }
.ap-contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.ap-contact-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--ap-color-surface-2); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-lg); border-left: 3px solid var(--ap-color-copper); transition: all var(--ap-trans); }
.ap-contact-card:hover { border-left-color: var(--ap-color-gold); }
.ap-contact-icon { width: 44px; height: 44px; border-radius: var(--ap-radius-full); background: linear-gradient(135deg, var(--ap-color-copper), var(--ap-color-gold)); display: flex; align-items: center; justify-content: center; color: #0e0c08; flex-shrink: 0; }
.ap-contact-label { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ap-color-text-faint); margin-bottom: 2px; }
.ap-contact-value { font-size: 1rem; font-weight: 700; color: var(--ap-color-copper-light); }
.ap-event-types h4 { font-family: var(--ap-font-display); color: var(--ap-color-gold-light); margin-bottom: 1rem; font-size: clamp(1.125rem, 1rem + 0.75vw, 1.5rem); }
.ap-event-types li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--ap-color-text-muted); padding: 0.25rem 0; }
.ap-star-bullet { color: var(--ap-color-copper); font-size: 0.75em; }
.ap-form-wrap { background: var(--ap-color-surface-2); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-xl); padding: 2rem; box-shadow: var(--ap-shadow-md); }
.ap-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.ap-form-full { grid-column: 1 / -1; }
.ap-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.ap-form-group label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ap-color-text-muted); }
.ap-form-group label .required { color: var(--ap-color-copper); }
.ap-form-group input, .ap-form-group select, .ap-form-group textarea { width: 100%; padding: 0.75rem 1rem; background: var(--ap-color-surface); border: 1px solid var(--ap-color-border); border-radius: var(--ap-radius-md); color: var(--ap-color-text); font-size: 0.875rem; transition: all var(--ap-trans); outline: none; }
.ap-form-group input::placeholder, .ap-form-group textarea::placeholder { color: var(--ap-color-text-faint); }
.ap-form-group input:focus, .ap-form-group select:focus, .ap-form-group textarea:focus { border-color: var(--ap-color-copper); box-shadow: 0 0 0 3px var(--ap-color-primary-glow); }
.ap-form-group textarea { resize: vertical; min-height: 100px; }
.ap-form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b87333' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.ap-form-tagline { font-size: 0.875rem; color: var(--ap-color-text-faint); font-style: italic; margin-bottom: 1.25rem; }
.ap-form-success { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding: 1rem; background: rgba(90,122,96,0.15); border: 1px solid var(--ap-color-patina); border-radius: var(--ap-radius-md); color: var(--ap-color-patina); }

/* ── FOOTER ──────────────────────────────────────────────── */
#ap-footer { background: var(--ap-color-surface-2); border-top: 1px solid var(--ap-color-border); padding: 2.5rem 1.5rem; }
.ap-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.ap-footer-brand p { font-size: 0.75rem; color: var(--ap-color-text-faint); margin-top: 0.5rem; }
.ap-footer-nav { display: flex; gap: 1.5rem; justify-content: center; }
.ap-footer-nav a { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ap-color-text-muted); transition: color var(--ap-trans); }
.ap-footer-nav a:hover { color: var(--ap-color-copper-light); }
.ap-footer-social { display: flex; gap: 1rem; justify-content: flex-end; align-items: center; }
.ap-social-link { width: 36px; height: 36px; border-radius: var(--ap-radius-full); border: 1px solid var(--ap-color-border); display: flex; align-items: center; justify-content: center; color: var(--ap-color-text-muted); transition: all var(--ap-trans); }
.ap-social-link:hover { border-color: var(--ap-color-copper); color: var(--ap-color-copper-light); }

/* ── FADE-IN ANIMATION ───────────────────────────────────── */
.ap-fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ap-fade-in.ap-visible { opacity: 1; transform: translateY(0); }

/* ── LIGHT MODE ──────────────────────────────────────────── */
[data-theme="light"] {
  --ap-color-bg:          #f5f0e8;
  --ap-color-surface:     #faf5ec;
  --ap-color-surface-2:   #f0e8d8;
  --ap-color-surface-3:   #e8ddc8;
  --ap-color-border:      #c8b898;
  --ap-color-divider:     #d8c8a8;
  --ap-color-text:        #2a1e0e;
  --ap-color-text-muted:  #6a5a3a;
  --ap-color-text-faint:  #a89878;
  --ap-color-copper:       #8c4a18;
  --ap-color-copper-light: #b87333;
  --ap-color-copper-dark:  #5a3010;
  --ap-color-gold:         #9a6a10;
  --ap-color-gold-light:   #c8922a;
  --ap-color-primary:       #8c4a18;
  --ap-color-primary-hover: #5a3010;
  --ap-color-primary-glow:  rgba(140,74,24,0.2);
  --ap-header-bg: rgba(245,240,232,0.94);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .ap-main-nav, .ap-header-actions .ap-btn-primary { display: none; }
  .ap-menu-toggle { display: flex; }
  .ap-mobile-nav.open { display: block; }
  .ap-player-container { grid-template-columns: 1fr; }
  .ap-player-art { max-width: 220px; margin: 0 auto; }
  .ap-bookings-layout { grid-template-columns: 1fr; }
  .ap-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .ap-footer-social { justify-content: center; }
}
@media (max-width: 600px) {
  .ap-form-grid { grid-template-columns: 1fr; }
  .ap-product-grid { grid-template-columns: 1fr 1fr; }
  .ap-slider-btn { display: none; }
}
@media (max-width: 400px) {
  .ap-product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
