/*
Theme Name: Nana y Tutu Store Native
Theme URI: https://example.com/
Author: Nana y Tutu Store
Description: Tema nativo WordPress + WooCommerce para Nana y Tutu Store. Sin Spectra ni dependencias de terceros.
Version: 3.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nana-y-tutu-store
*/

:root {
  --nyt-primary: #f5b7ca;
  --nyt-primary-dark: #d9799f;
  --nyt-pink-soft: #fff2f6;
  --nyt-pink-pale: #fff8fa;
  --nyt-accent: #5d3346;
  --nyt-text: #29242a;
  --nyt-muted: #756b71;
  --nyt-border: #f0dfe5;
  --nyt-surface: #ffffff;
  --nyt-success: #2f7d5b;
  --nyt-radius: 18px;
  --nyt-shadow: 0 14px 40px rgba(93,51,70,.08);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  background:#fff;
  color:var(--nyt-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; }
button,input,select,textarea { font:inherit; }
.container { width:min(1180px,calc(100% - 32px)); margin-inline:auto; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* HEADER: limpio, sin menú de categorías ni menú superior */
.nyt-header {
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #f4e6eb;
}
.nyt-header .container {
  min-height:78px;
  display:grid;
  grid-template-columns:auto minmax(280px,520px) auto;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.nyt-brand { display:flex; align-items:center; gap:11px; font-weight:900; font-size:1.12rem; white-space:nowrap; color:var(--nyt-accent); }
.nyt-brand img { max-height:48px; width:auto; }
.nyt-brand-mark { width:39px; height:39px; border-radius:13px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--nyt-primary),#ffd7e4); color:var(--nyt-accent); font-weight:1000; box-shadow:0 8px 18px rgba(217,121,159,.18); }
.nyt-header-search { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--nyt-border); border-radius:999px; padding:5px 6px 5px 16px; box-shadow:0 4px 16px rgba(93,51,70,.04); }
.nyt-header-search input { flex:1; min-width:0; border:0; outline:none; background:transparent; color:var(--nyt-text); }
.nyt-header-search input::placeholder { color:#9e9298; }
.nyt-header-search button { width:40px; height:40px; border:0; border-radius:50%; background:var(--nyt-pink-soft); color:var(--nyt-accent); cursor:pointer; font-size:1.1rem; }
.nyt-header-actions { display:flex; justify-content:flex-end; }
.nyt-cart-link { position:relative; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid var(--nyt-border); border-radius:999px; background:#fff; font-weight:800; color:var(--nyt-accent); }
.nyt-cart-icon { font-size:1rem; }
.nyt-cart-count { min-width:22px; height:22px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; padding:0 6px; background:var(--nyt-primary-dark); color:#fff; font-size:.72rem; font-weight:900; }

/* HOME HERO */
.nyt-home { background:linear-gradient(180deg,#fff 0%,#fff 56%,var(--nyt-pink-pale) 100%); }
.nyt-hero-home { overflow:hidden; }
.nyt-hero-home-grid { min-height:610px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); align-items:center; gap:40px; padding:48px 0 70px; }
.nyt-hero-copy { position:relative; z-index:2; }
.nyt-kicker { display:inline-block; color:var(--nyt-primary-dark); text-transform:uppercase; letter-spacing:.13em; font-size:.78rem; font-weight:950; }
.nyt-hero-copy h1 { max-width:700px; margin:.2em 0 .25em; font-size:clamp(2.7rem,6vw,5.3rem); line-height:1.02; letter-spacing:-.045em; color:var(--nyt-accent); }
.nyt-hero-copy h1 em { font-style:normal; color:var(--nyt-primary-dark); }
.nyt-hero-copy p { max-width:640px; margin:0; color:var(--nyt-muted); font-size:1.12rem; }
.nyt-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.nyt-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 19px; border-radius:999px; font-weight:850; border:2px solid transparent; cursor:pointer; }
.nyt-btn-primary { color:#fff; background:linear-gradient(135deg,var(--nyt-primary-dark),#c96590); box-shadow:0 12px 24px rgba(217,121,159,.22); }
.nyt-btn-primary:hover { transform:translateY(-1px); }
.nyt-btn-secondary { background:#fff; border-color:#f0c9d7; color:var(--nyt-accent); }
.nyt-hero-trust { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:22px; color:#806d76; font-size:.88rem; font-weight:700; }

.nyt-hero-art { position:relative; min-height:500px; }
.nyt-hero-blob { position:absolute; width:420px; height:420px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:43% 57% 50% 50% / 47% 43% 57% 53%; background:radial-gradient(circle at 35% 35%,#ffdce8 0%,#f8bfd0 45%,#ef9fbb 100%); opacity:.9; box-shadow:inset 0 0 70px rgba(255,255,255,.45); }
.nyt-hero-bag { position:absolute; width:235px; height:265px; left:50%; top:51%; transform:translate(-50%,-45%); filter:drop-shadow(0 28px 25px rgba(93,51,70,.16)); }
.nyt-bag-body { position:absolute; inset:42px 0 0; border-radius:22px 22px 30px 30px; background:linear-gradient(160deg,#fff,#fff8fa); border:5px solid rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; color:var(--nyt-primary-dark); font-size:2.5rem; font-weight:1000; letter-spacing:-.08em; }
.nyt-bag-handle { position:absolute; width:115px; height:72px; left:50%; top:0; transform:translateX(-50%); border:9px solid #fff; border-bottom:0; border-radius:70px 70px 0 0; }
.nyt-float-card { position:absolute; padding:13px 15px; border:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.9); backdrop-filter:blur(10px); border-radius:16px; box-shadow:var(--nyt-shadow); display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-items:center; }
.nyt-float-card span { grid-row:span 2; width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:var(--nyt-pink-soft); font-size:1.15rem; }
.nyt-float-card strong { color:var(--nyt-accent); font-size:.92rem; }
.nyt-float-card small { color:#8d7b84; }
.nyt-float-card-top { right:3%; top:12%; }
.nyt-float-card-bottom { left:0; bottom:11%; }

/* PRODUCTS */
.nyt-home-products { padding:78px 0 50px; }
.nyt-products-title { margin-bottom:22px; }
.nyt-products-title h2 { margin:.15em 0 .2em; color:var(--nyt-accent); font-size:clamp(2rem,4vw,3.1rem); line-height:1.08; letter-spacing:-.03em; }
.nyt-products-title p { margin:0; max-width:720px; color:var(--nyt-muted); }
.nyt-product-filters,.nyt-archive-filter { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 24px; padding:7px; background:#fff; border:1px solid #f2dbe3; border-radius:999px; box-shadow:0 7px 22px rgba(93,51,70,.04); }
.nyt-filter-btn { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 15px; border:1px solid #f0d1dc; border-radius:999px; background:#fff; color:var(--nyt-accent); font-weight:800; cursor:pointer; transition:.18s ease; }
.nyt-filter-btn:hover,.nyt-filter-btn.is-active { background:var(--nyt-primary); color:var(--nyt-accent); border-color:var(--nyt-primary); }
.nyt-products-home .woocommerce ul.products { margin-top:0 !important; }
.nyt-filter-empty { margin:22px 0 0; padding:18px; text-align:center; background:#fff; border:1px solid #f2d8e1; border-radius:14px; color:var(--nyt-muted); }

.woocommerce ul.products { margin:0 !important; padding:0 !important; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px !important; }
.woocommerce ul.products li.product { width:auto !important; margin:0 !important; padding:0 !important; background:#fff; border:1px solid #f1e1e7; border-radius:18px; overflow:hidden; box-shadow:0 8px 22px rgba(93,51,70,.06); transition:transform .18s ease, box-shadow .18s ease; }
.woocommerce ul.products li.product:hover { transform:translateY(-4px); box-shadow:0 18px 34px rgba(93,51,70,.10); }
.woocommerce ul.products li.product a img { margin:0 !important; width:100%; aspect-ratio:1/1; object-fit:cover; background:#fff8fa; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding:15px 15px 0 !important; font-size:1rem !important; color:#322b30; }
.woocommerce ul.products li.product .price { padding:0 15px; color:var(--nyt-accent) !important; font-weight:950; font-size:1.05rem; }
.woocommerce ul.products li.product .button { margin:10px 15px 15px !important; width:calc(100% - 30px); text-align:center; background:var(--nyt-primary-dark) !important; color:#fff !important; border-radius:999px !important; padding:12px !important; font-weight:850 !important; }
.woocommerce span.onsale { background:var(--nyt-primary) !important; color:var(--nyt-accent) !important; }

/* CTA */
.nyt-home-whatsapp { padding:18px 0 84px; }
.nyt-home-whatsapp-box { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 32px; border:1px solid #f2cedb; border-radius:22px; background:linear-gradient(135deg,#fff5f8,#fff); box-shadow:var(--nyt-shadow); }
.nyt-home-whatsapp-box h2 { margin:.15em 0 .18em; color:var(--nyt-accent); }
.nyt-home-whatsapp-box p { margin:0; color:var(--nyt-muted); }

/* General WooCommerce */
.woocommerce div.product { background:#fff; border:1px solid var(--nyt-border); border-radius:20px; padding:22px; }
.woocommerce div.product div.images img { border-radius:14px; }
.woocommerce div.product .summary { padding:8px 10px; }
.woocommerce div.product .product_title { font-size:clamp(1.8rem,3vw,2.8rem); color:var(--nyt-accent); }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:var(--nyt-accent) !important; font-weight:950; }
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button { border-radius:999px !important; background:var(--nyt-primary-dark) !important; color:#fff !important; font-weight:850 !important; }
.woocommerce .quantity .qty { min-height:44px; border:1px solid var(--nyt-border); border-radius:10px; }
.woocommerce table.shop_table { border-radius:14px; overflow:hidden; border:1px solid var(--nyt-border); }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select { border:1px solid var(--nyt-border); border-radius:10px; padding:11px 12px; }
.woocommerce-checkout #payment,.woocommerce-checkout .woocommerce-checkout-review-order-table { border-radius:14px; }

.nyt-page { padding:44px 0; }
.nyt-content { background:#fff; border:1px solid var(--nyt-border); border-radius:18px; padding:28px; }
.nyt-content h1 { margin-top:0; }
.nyt-contact-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:24px; }
.nyt-contact-box { background:#fff; border:1px solid var(--nyt-border); border-radius:18px; padding:26px; }
.nyt-contact-form { display:grid; gap:14px; }
.nyt-contact-form label { font-weight:700; }
.nyt-contact-form input,.nyt-contact-form textarea { width:100%; border:1px solid var(--nyt-border); border-radius:10px; padding:12px; }
.nyt-contact-form textarea { min-height:150px; resize:vertical; }
.nyt-whatsapp-box { background:#fff4f7; border-color:#f1ced9; }

.nyt-footer { margin-top:40px; background:#fff2f6; color:#5c3a48; border-top:1px solid #f1ced9; }
.nyt-footer .container { padding:42px 0; }
.nyt-footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:30px; }
.nyt-footer h3 { margin-top:0; }
.nyt-footer ul { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.nyt-footer a:hover { color:#b85f83; }
.nyt-copyright { padding-top:20px; margin-top:30px; border-top:1px solid #f1ced9; color:#7f5a68; font-size:.9rem; }

@media (max-width:980px) {
  .nyt-header .container { grid-template-columns:auto minmax(0,1fr) auto; }
  .nyt-hero-home-grid { grid-template-columns:1fr; padding-top:34px; }
  .nyt-hero-art { min-height:420px; }
  .nyt-products-title h2 { font-size:2.25rem; }
  .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nyt-contact-grid,.nyt-footer-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .container { width:min(100% - 22px,1180px); }
  .nyt-header .container { min-height:66px; grid-template-columns:1fr auto; gap:10px; }
  .nyt-header-search { grid-column:1/-1; order:3; margin-bottom:10px; }
  .nyt-header { position:static; }
  .nyt-brand { font-size:1rem; }
  .nyt-cart-label { display:none; }
  .nyt-hero-home-grid { min-height:auto; padding:36px 0 48px; gap:18px; }
  .nyt-hero-copy h1 { font-size:clamp(2.4rem,12vw,3.65rem); }
  .nyt-hero-copy p { font-size:1rem; }
  .nyt-hero-art { min-height:350px; }
  .nyt-hero-blob { width:290px; height:290px; }
  .nyt-hero-bag { width:175px; height:205px; }
  .nyt-float-card { transform:scale(.88); }
  .nyt-float-card-top { right:-6px; top:6%; }
  .nyt-float-card-bottom { left:-10px; bottom:3%; }
  .nyt-home-products { padding:54px 0 34px; }
  .nyt-products-title h2 { font-size:2rem; }
  .nyt-product-filters,.nyt-archive-filter { border-radius:18px; }
  .nyt-filter-btn { font-size:.88rem; padding:0 12px; }
  .woocommerce ul.products { grid-template-columns:1fr !important; }
  .nyt-home-whatsapp-box { flex-direction:column; align-items:flex-start; padding:24px; }
}
