/*
Theme Name: Amouré Nails Studio
Theme URI: https://amoure.mx
Author: Amouré Studio
Description: Tema profesional para Amouré Nails Studio. Diseño en tonos cálidos, tipografía Cormorant Garamond + Manrope. Pensado para conectar con el plugin "Amouré Booking Bridge" que sincroniza la agenda con el backend FastAPI.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: amoure
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --amoure-bg: #FDFBF7;
  --amoure-surface: #FFFFFF;
  --amoure-primary: #8C3A40;
  --amoure-primary-hover: #6C2A2F;
  --amoure-secondary: #E8D8CE;
  --amoure-accent: #C4A484;
  --amoure-text: #2D2424;
  --amoure-muted: #5C5050;
  --amoure-border: #E8E3DF;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--amoure-bg); color: var(--amoure-text); font-family: 'Manrope', sans-serif; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; letter-spacing: -0.01em; font-weight: 500; }
a { color: var(--amoure-primary); text-decoration: none; }
.small-caps { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; }

.amoure-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.amoure-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px); background: rgba(253,251,247,.8); border-bottom: 1px solid rgba(232,227,223,.6); }
.amoure-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.amoure-brand { font-family: 'Cormorant Garamond', serif; font-size: 24px; }
.amoure-nav a { margin-left: 24px; color: var(--amoure-text); font-size: 14px; }
.amoure-nav a:hover { color: var(--amoure-primary); }
.amoure-cta-btn { background: var(--amoure-primary); color: #fff; padding: 10px 22px; border-radius: 999px; font-size: 14px; display: inline-block; }
.amoure-cta-btn:hover { background: var(--amoure-primary-hover); color: #fff; }

/* Hero */
.amoure-hero { padding: 80px 0; }
.amoure-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 0; }
.amoure-hero em { font-style: italic; color: var(--amoure-primary); }
.amoure-hero p { color: var(--amoure-muted); font-size: 17px; max-width: 540px; line-height: 1.6; }
.amoure-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .amoure-hero-grid { grid-template-columns: 1.2fr 1fr; } }
.amoure-hero-img { width: 100%; height: 480px; object-fit: cover; border-radius: 28px; border: 1px solid var(--amoure-border); }

/* Cards */
.amoure-card { background: #fff; border: 1px solid var(--amoure-border); border-radius: 16px; padding: 20px; }
.amoure-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Forms */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { font-family: inherit; border: 1px solid var(--amoure-border); padding: 12px 14px; border-radius: 12px; background: #fff; width: 100%; outline: none; box-sizing: border-box; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus, select:focus, textarea:focus { border-color: var(--amoure-primary); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--amoure-primary); margin: 0; cursor: pointer; }
button.amoure-btn { background: var(--amoure-primary); color: #fff; border: none; padding: 12px 24px; border-radius: 999px; cursor: pointer; font-size: 14px; }
button.amoure-btn:hover { background: var(--amoure-primary-hover); }

/* Booking calendar grid */
.amoure-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.amoure-cal-head { text-align: center; font-size: 11px; color: var(--amoure-muted); text-transform: uppercase; letter-spacing: .1em; padding: 6px 0; }
.amoure-cal-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid transparent; background: transparent; font-size: 14px; cursor: pointer; color: var(--amoure-text); transition: all .15s ease; padding: 0; }
.amoure-cal-day:hover:not(:disabled) { border-color: var(--amoure-primary); background: #8C3A4010; }
.amoure-cal-day[data-selected="true"] { background: var(--amoure-primary); color: #fff; border-color: var(--amoure-primary); font-weight: 600; }
.amoure-cal-day:disabled { color: #C8BFB8; cursor: not-allowed; background: #FAF6F2; }
.amoure-cal-day.is-today { font-weight: 600; box-shadow: inset 0 0 0 1px #E8D8CE; }
.amoure-cal-empty { aspect-ratio: 1 / 1; }
.amoure-cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 0 4px; }
.amoure-cal-nav button { background: #fff; border: 1px solid var(--amoure-border); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; color: var(--amoure-text); display: inline-flex; align-items: center; justify-content: center; }
.amoure-cal-nav button:hover { border-color: var(--amoure-primary); color: var(--amoure-primary); }
.amoure-cal-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; text-transform: capitalize; color: var(--amoure-text); }

/* Extras list */
.amoure-extra-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--amoure-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.amoure-extra-row:hover { border-color: rgba(140, 58, 64, .4); }
.amoure-extra-row:has(input[type="checkbox"]:checked) { border-color: var(--amoure-primary); background: rgba(140, 58, 64, .05); }
.amoure-extra-row .amoure-extra-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.amoure-extra-row .amoure-extra-info { display: flex; flex-direction: column; min-width: 0; }
.amoure-extra-row .amoure-extra-info strong { font-weight: 500; font-size: 14px; color: var(--amoure-text); }
.amoure-extra-row .amoure-extra-info small { font-size: 12px; color: var(--amoure-muted); margin-top: 2px; }
.amoure-extra-row .amoure-extra-price { color: var(--amoure-primary); font-weight: 500; white-space: nowrap; }

/* Time slots */
.amoure-slot-btn { padding: 9px 8px; border: 1px solid var(--amoure-border); background: #fff; color: var(--amoure-text); border-radius: 10px; cursor: pointer; font-size: 13px; transition: all .15s ease; }
.amoure-slot-btn:hover { border-color: var(--amoure-primary); color: var(--amoure-primary); }
.amoure-slot-btn[data-selected="true"] { background: var(--amoure-primary); color: #fff; border-color: var(--amoure-primary); font-weight: 600; }

/* Calendar tweaks for mobile */
@media (max-width: 520px) {
  .amoure-cal-day { font-size: 13px; }
  .amoure-cal-head { font-size: 10px; }
}

/* Steps */
.amoure-steps { display: flex; gap: 8px; margin: 24px 0; }
.amoure-step { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--amoure-border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.amoure-step.active { background: var(--amoure-primary); color: #fff; border-color: var(--amoure-primary); }

/* Footer */
.amoure-footer { text-align: center; padding: 32px; color: var(--amoure-muted); font-size: 13px; border-top: 1px solid var(--amoure-border); }

/* WA chat preview */
.amoure-bubble { background: rgba(232,216,206,.4); border: 1px solid var(--amoure-secondary); border-radius: 16px; padding: 16px; white-space: pre-line; line-height: 1.55; font-size: 14px; }
.amoure-wa { background: #25D366; color: #fff; padding: 12px 24px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
