/*
Theme Name: Soluand Market
Theme URI: https://soluand.com/
Author: Soluand
Description: Tienda WooCommerce rápida, editorial y preparada para catálogo en Ecuador.
Version: 2.0.0
Text Domain: soluand-market
*/

:root {
  --ink: #0d1b2a;
  --ink-soft: #25384a;
  --blue: #1237c8;
  --blue-dark: #0d2388;
  --lime: #d6f36a;
  --coral: #ff7a64;
  --sand: #f7f4ed;
  --paper: #ffffff;
  --muted: #657486;
  --line: #e7e8e5;
  --shadow: 0 22px 60px rgba(13, 27, 42, .12);
  --radius: 24px;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body, button, input, select { font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.promo-bar { padding: 9px 16px; color: var(--ink); background: var(--lime); text-align: center; font-size: .83rem; font-weight: 800; letter-spacing: .01em; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); font-weight: 950; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); background: var(--lime); border-radius: 13px 13px 13px 4px; transform: rotate(-4deg); }
.brand-mark svg { width: 25px; height: 25px; transform: rotate(4deg); }
.brand-name { font-size: 1.05rem; line-height: 1; }
.brand-name small { display: block; margin-top: 5px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 10px; cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--ink-soft); font-size: .9rem; font-weight: 800; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.header-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); }
.header-icon:hover { border-color: var(--blue); color: var(--blue); }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: -18px; margin-top: -22px; color: var(--paper); background: var(--coral); border-radius: 999px; font-size: .7rem; font-weight: 900; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 999px; font-size: .9rem; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(13,27,42,.16); }
.button-primary { color: var(--paper); background: var(--blue); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-dark); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-coral { color: var(--paper); background: var(--coral); }
.button-outline { border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .76rem; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 99px; background: var(--coral); }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
.hero { overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; min-height: 610px; padding: 82px 0 92px; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow::before { background: var(--lime); }
.hero h1 { max-width: 720px; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 590px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: rgba(255,255,255,.7); font-size: .83rem; font-weight: 750; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note b { color: var(--lime); }
.hero-visual { position: relative; min-height: 480px; }
.hero-visual::before { content: ""; position: absolute; inset: 4% 4% 0 10%; border: 1px solid rgba(214,243,106,.25); border-radius: 50% 50% 25% 25%; transform: rotate(5deg); }
.hero-image { position: absolute; z-index: 1; right: 0; bottom: 0; width: min(100%, 530px); overflow: hidden; border: 12px solid rgba(255,255,255,.92); border-radius: 38px 38px 38px 10px; box-shadow: 22px 25px 0 rgba(214,243,106,.9), var(--shadow); transform: rotate(3.5deg); }
.hero-image img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; object-position: center top; background: var(--paper); }
.hero-sticker { position: absolute; z-index: 3; top: 22px; left: 0; display: grid; place-items: center; width: 112px; height: 112px; padding: 13px; border-radius: 50%; color: var(--ink); background: var(--coral); box-shadow: 0 14px 28px rgba(0,0,0,.2); font-size: .8rem; font-weight: 950; line-height: 1.05; text-align: center; transform: rotate(-12deg); }
.section { padding: 94px 0; }
.section-sand { background: var(--sand); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 166px; padding: 25px; overflow: hidden; border-radius: var(--radius); color: var(--paper); background: var(--blue); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:nth-child(2) { color: var(--ink); background: var(--lime); }
.category-card:nth-child(3) { background: var(--coral); }
.category-card:nth-child(4) { color: var(--ink); background: #dce6ff; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card::after { content: "↗"; position: absolute; right: 20px; bottom: 15px; font-size: 2.1rem; font-weight: 300; }
.category-card h3 { max-width: 150px; margin-bottom: 7px; font-size: 1.38rem; }
.category-card p { max-width: 180px; margin: 0; opacity: .74; font-size: .83rem; font-weight: 700; }
.category-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px; border: 1px solid currentColor; border-radius: 13px; font-size: 1.25rem; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; border: 1px solid var(--line); border-radius: 19px; background: var(--line); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 12px; min-height: 83px; padding: 15px 19px; background: var(--paper); }
.trust-item strong { display: block; font-size: .9rem; }
.trust-item span { display: block; color: var(--muted); font-size: .77rem; }
.trust-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border-radius: 11px; color: var(--blue); background: #e9edff; font-weight: 950; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.shop-links { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .83rem; font-weight: 850; }
.shop-link:hover, .shop-link.active { border-color: var(--blue); color: var(--blue); background: #f0f3ff; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; display: grid; place-items: center; min-height: 224px; padding: 18px; background: #f4f6f8; }
.product-media img { width: 100%; height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder { display: grid; place-items: center; width: 138px; height: 138px; border-radius: 40% 42% 35% 43%; color: var(--ink); background: var(--lime); font-size: 2rem; font-weight: 950; letter-spacing: -.08em; transform: rotate(-7deg); }
.product-card:nth-child(3n) .product-placeholder { background: var(--coral); }
.product-card:nth-child(4n) .product-placeholder { background: #dce6ff; }
.product-badge { position: absolute; top: 13px; left: 13px; padding: 6px 9px; border-radius: 999px; color: var(--ink); background: var(--lime); font-size: .68rem; font-weight: 950; text-transform: uppercase; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 19px; }
.product-category { margin-bottom: 8px; color: var(--blue); font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.product-title { min-height: 43px; margin-bottom: 11px; color: var(--ink); font-size: 1.08rem; }
.product-excerpt { color: var(--muted); font-size: .82rem; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.product-price { color: var(--ink); font-size: 1.12rem; font-weight: 950; }
.product-old-price { margin-left: 4px; color: #99a3ab; font-size: .8rem; font-weight: 700; text-decoration: line-through; }
.quick-add { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px; color: var(--paper); background: var(--blue); font-size: 1.2rem; font-weight: 400; }
.quick-add:hover { background: var(--blue-dark); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.story-panel { position: relative; min-height: 410px; padding: 48px; overflow: hidden; border-radius: 32px; color: var(--paper); background: var(--ink); }
.story-panel::after { content: "EC"; position: absolute; right: -12px; bottom: -62px; color: rgba(214,243,106,.17); font-size: 13rem; font-weight: 950; letter-spacing: -.15em; }
.story-panel h2 { position: relative; z-index: 1; color: var(--paper); }
.story-panel p { position: relative; z-index: 1; max-width: 365px; color: rgba(255,255,255,.73); }
.story-panel .button { position: relative; z-index: 1; margin-top: 10px; }
.story-copy p { color: var(--muted); }
.steps { display: grid; gap: 16px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 43px 1fr; gap: 14px; align-items: start; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--ink); background: var(--lime); font-size: .85rem; font-weight: 950; }
.step h3 { margin-bottom: 3px; font-size: 1rem; }
.step p { margin: 0; font-size: .87rem; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 11px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 850; }
.faq-list details p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.final-cta { padding: 65px 0; color: var(--paper); background: var(--blue); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.final-cta h2 { max-width: 650px; color: var(--paper); font-size: clamp(2rem, 4vw, 3.4rem); }
.final-cta p { max-width: 520px; margin: 0; color: rgba(255,255,255,.74); }
.site-footer { padding: 62px 0 22px; color: rgba(255,255,255,.72); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr; gap: 45px; padding-bottom: 45px; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-mark { color: var(--ink); }
.footer-grid h3 { color: var(--paper); font-size: .9rem; letter-spacing: .02em; }
.footer-grid p, .footer-links { margin: 0; font-size: .84rem; }
.footer-links { display: grid; gap: 8px; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.47); font-size: .75rem; }
.page-hero { padding: 75px 0 65px; color: var(--paper); background: var(--ink); }
.page-hero h1 { max-width: 800px; margin-top: 12px; }
.page-hero p { max-width: 600px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; }
.catalog-sidebar { position: sticky; top: 105px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.catalog-sidebar h3 { margin-bottom: 14px; font-size: .95rem; }
.catalog-sidebar ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.catalog-sidebar a { color: var(--muted); font-size: .86rem; font-weight: 750; }
.catalog-sidebar a:hover { color: var(--blue); }
.woocommerce-breadcrumb { margin: 0 0 18px; color: var(--muted); font-size: .8rem; }
.woocommerce-result-count { color: var(--muted); font-size: .85rem; }
.woocommerce-ordering select, .woocommerce div.product form.cart .variations select { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.woocommerce div.product div.images img { border-radius: 22px; background: #f4f6f8; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--blue); font-size: 1.5rem; font-weight: 950; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button { min-height: 46px; padding: 12px 19px; border-radius: 999px; color: var(--paper); background: var(--blue); font-weight: 900; }
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { color: var(--paper); background: var(--blue-dark); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--blue); }
.content-card { max-width: 760px; margin-inline: auto; padding: 42px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.not-found { padding: 120px 0; text-align: center; }
@media (max-width: 980px) { .main-nav { gap: 15px; } .hero-inner { grid-template-columns: 1fr; padding-top: 65px; } .hero-visual { min-height: 400px; max-width: 610px; width: 100%; } .category-grid, .products-grid { grid-template-columns: repeat(2, 1fr); } .story-grid, .faq-grid { grid-template-columns: 1fr; gap: 35px; } .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .container { width: min(var(--max), calc(100% - 28px)); } .header-inner { min-height: 70px; } .menu-toggle { display: inline-flex; margin-left: auto; } .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 70px; align-items: stretch; flex-direction: column; gap: 0; padding: 17px; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); } .main-nav.is-open { display: flex; } .main-nav a { padding: 10px 4px; } .header-actions { margin-left: 0; } .header-icon { width: 38px; height: 38px; } .brand-name { font-size: .95rem; } h1 { font-size: 3rem; } .hero-inner { min-height: 0; padding: 57px 0 72px; gap: 36px; } .hero-visual { min-height: 290px; } .hero-image { border-width: 8px; box-shadow: 13px 15px 0 var(--lime), var(--shadow); } .hero-sticker { top: 2px; left: -3px; width: 84px; height: 84px; font-size: .64rem; } .section { padding: 66px 0; } .section-heading, .shop-toolbar, .final-cta-inner { display: block; } .section-heading > p { margin-top: 12px; } .shop-links { margin-top: 15px; } .category-grid, .products-grid { grid-template-columns: 1fr 1fr; gap: 11px; } .category-card { min-height: 150px; padding: 18px; } .category-card h3 { font-size: 1.05rem; } .category-card p { font-size: .75rem; } .product-media { min-height: 160px; padding: 10px; } .product-media img { height: 150px; } .product-placeholder { width: 95px; height: 95px; font-size: 1.35rem; } .product-info { padding: 13px; } .product-title { min-height: 0; font-size: .95rem; } .product-excerpt { display: none; } .product-price { font-size: .95rem; } .quick-add { width: 33px; height: 33px; } .trust-row { grid-template-columns: 1fr 1fr; } .trust-item { min-height: 75px; padding: 12px; } .trust-item strong { font-size: .78rem; } .trust-item span { font-size: .68rem; } .story-panel { min-height: 330px; padding: 30px; } .faq-grid { gap: 25px; } .final-cta p { margin-bottom: 20px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .footer-grid > div:first-child { grid-column: 1 / -1; } .footer-bottom { display: block; } .footer-bottom span { display: block; margin-top: 7px; } .catalog-layout, .woocommerce div.product { grid-template-columns: 1fr; gap: 25px; } .catalog-sidebar { position: static; } .woocommerce div.product .product_title { font-size: 2.4rem; } }
