/*
Theme Name: Pam's Fashion Store
Description: Tema a medida para Pam's Fashion Store 26 — catálogo WooCommerce con pedidos por WhatsApp y cotizador de links de SHEIN, Amazon, Temu y AliExpress.
Version: 1.0.0
Text Domain: pams
*/

:root {
	--teal: #1b8c99;
	--teal-dark: #126570;
	--aqua: #7bc9d3;
	--aqua-soft: #e3f4f6;
	--ink: #13323a;
	--muted: #5b7279;
	--rose: #e04f78;
	--rose-soft: #fde9ef;
	--cream: #fbf8f4;
	--white: #ffffff;
	--line: #dce9eb;
	--wa: #1faa59;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(19, 50, 58, .08);
	--max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section--aqua { background: var(--aqua-soft); }
.eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
	text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	font: 600 1rem/1 inherit; font-family: inherit; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(27, 140, 153, .3); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 89, .28); }
.btn--wa:hover { background: #178a47; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand span { display: block; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
	padding: 8px 14px; border-radius: 999px;
}
.nav a:hover, .nav a.is-active { background: var(--aqua-soft); color: var(--teal-dark); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: #178a47; color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
		background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
		display: none; gap: 2px;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 12px 14px; }
	.nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px;
	background: radial-gradient(circle, var(--aqua) 0%, rgba(123, 201, 211, 0) 70%); opacity: .45; z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chip {
	font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line);
}
.store-chip--shein { color: #111; }
.store-chip--amazon { color: #c76b00; }
.store-chip--temu { color: #e85d0c; }
.store-chip--aliexpress { color: #d7261e; }

.hero-card {
	background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow);
	border: 1px solid var(--line); position: relative;
}
.hero-card .logo-big { width: 120px; height: 120px; border-radius: 50%; margin: -88px auto 12px; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero-card h3 { text-align: center; margin-bottom: 4px; }
.hero-card p.small { text-align: center; color: var(--muted); font-size: .9rem; }
.quick-quote { display: grid; gap: 10px; margin-top: 16px; }

@media (max-width: 860px) {
	.hero { padding: 40px 0 56px; }
	.hero .wrap { grid-template-columns: 1fr; gap: 72px; }
}

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field small { color: var(--muted); font-size: .8rem; }
input[type=text], input[type=url], input[type=number], input[type=tel], input[type=email], input[type=search], select, textarea {
	width: 100%; font: inherit; color: var(--ink); background: #fff;
	border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(27, 140, 153, .15);
}
textarea { min-height: 90px; resize: vertical; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step::before {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--aqua-soft); color: var(--teal-dark); font-weight: 700; margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Info cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-soft); color: var(--teal-dark); margin-bottom: 14px; }
.card .ico svg { width: 26px; height: 26px; }
.card--rose { background: var(--rose-soft); border-color: #f7cfdb; }
.card--rose .ico { background: #fff; color: var(--rose); }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff;
	border-radius: 28px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* Empty catalog */
.empty-state {
	text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: 24px;
	padding: 48px 24px; max-width: 680px; margin: 32px auto 0;
}
.empty-state .ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-soft); color: var(--teal-dark); }
.empty-state .ico svg { width: 32px; height: 32px; }
.empty-state p { color: var(--muted); }

/* Quote form */
.quote { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.quote-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.quote-item { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 16px; position: relative; background: var(--cream); }
.quote-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.quote-item-head strong { font-size: .95rem; }
.quote-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; }
.quote-remove:hover { color: var(--rose); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.store-badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
.store-badge.ok { background: #e3f6ea; color: #157a40; }
.store-badge.warn { background: #fff3dc; color: #9a6300; }
.quote-add { margin-bottom: 22px; }
.quote-section-title { font-size: 1rem; margin: 6px 0 12px; }
.quote-aside .card { margin-bottom: 16px; }
.quote-aside ul { margin: 0; padding-left: 18px; color: var(--muted); }
.quote-aside li { margin-bottom: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.form-error { color: var(--rose); font-size: .85rem; font-weight: 500; margin-top: 4px; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .quote-box { padding: 20px; } }

/* Page header */
.page-hero { padding: 56px 0 40px; background: var(--aqua-soft); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-content { padding: 48px 0 72px; }
.entry > * + * { margin-top: 1em; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 18px;
	display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.woocommerce ul.products li.product a img { border-radius: 12px; margin-bottom: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .98rem; font-weight: 600; color: var(--ink); padding: 0 4px; margin-bottom: 4px; }
.woocommerce ul.products li.product .price { color: var(--teal-dark); font-weight: 700; padding: 0 4px; margin-bottom: 12px; display: block; }
.woocommerce ul.products li.product .btn { margin-top: auto; }
.woocommerce ul.products li.product > a { text-decoration: none; }
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.woocommerce div.product p.price { color: var(--teal-dark); font-size: 1.5rem; font-weight: 700; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_meta { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.woocommerce div.product .summary .btn { margin: 8px 0; }
@media (max-width: 800px) { .woocommerce div.product { grid-template-columns: 1fr; gap: 20px; } }

.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { width: auto; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.shop-cats a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500; }
.shop-cats a:hover, .shop-cats a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce span.onsale { background: var(--rose); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.4; font-size: .8rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c9dadd; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #178a47; color: #fff; }

.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
