/*
Theme Name: LA Comunidad Shop
Theme URI: https://lacmovement.org
Author: LA Comunidad Movement
Author URI: https://lacmovement.org
Description: Lightweight WooCommerce theme for the LA Comunidad Movement shop. Blue, gold and black brand styling with the crest logo, a shop home page, and styled cart, checkout and account pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-comunidad-shop
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root{
  --blue:#1F4FD1; --blue-dark:#173CA3; --navy:#0B1A42; --gold:#F4C21B; --gold-dark:#D9A800;
  --black:#15161A; --cream:#F7F5EF; --line:#E4E0D4; --muted:#5B6472; --white:#fff;
  --red:#B3261E; --green:#14733B;
  --head:'Anton','Impact','Arial Narrow',sans-serif;
  --body:'Work Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --max:1200px; --radius:4px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.6;color:var(--black);background:var(--cream);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration-thickness:1.5px;text-underline-offset:2px}
a:hover{color:var(--blue-dark)}
h1,h2,h3,h4{font-family:var(--head);font-weight:400;letter-spacing:.01em;text-transform:uppercase;line-height:1.1;margin:0 0 .5em;color:var(--black)}
h1{font-size:clamp(40px,6vw,68px)} h2{font-size:clamp(30px,4vw,44px)} h3{font-size:24px} h4{font-size:19px}
p{margin:0 0 1em}
.center{text-align:center}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--black);padding:10px 16px;z-index:200;font-weight:700}
.skip-link:focus{left:8px;top:8px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* ---------- layout ---------- */
.container{max-width:var(--max);margin:0 auto;padding:40px 20px 72px}
.section{max-width:var(--max);margin:0 auto;padding:64px 20px}
.section-head{text-align:center;margin-bottom:32px}
.eyebrow{font-weight:800;font-size:13px;letter-spacing:.18em;color:var(--blue);margin-bottom:10px;text-transform:uppercase}
.notice-plain{text-align:center;color:var(--muted)}

/* ---------- buttons ---------- */
.btn,.button,button.button,input[type=submit],.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{
  display:inline-block;font-family:var(--body);font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;text-align:center;
  background:var(--blue);color:#fff;border:0;border-radius:var(--radius);padding:15px 28px;cursor:pointer;line-height:1.2;transition:background .15s,transform .15s}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,input[type=submit]:hover{background:var(--blue-dark);color:#fff;transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:var(--black)} .btn-gold:hover{background:var(--gold-dark);color:var(--black)}
.btn-blue{background:var(--blue)}
.btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.btn-ghost:hover{background:#fff;color:var(--navy)}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{background:var(--gold);color:var(--black)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--gold-dark);color:var(--black)}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.5;cursor:not-allowed}

/* ---------- header ---------- */
.topbar{background:var(--navy);color:#fff;text-align:center;font-size:13px;font-weight:600;letter-spacing:.06em;padding:8px 16px}
.site-header{background:#fff;border-bottom:3px solid var(--blue);position:sticky;top:0;z-index:100}
.admin-bar .site-header{top:32px}
.header-inner{max-width:var(--max);margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--black)}
.brand img,.brand .custom-logo{width:52px;height:52px;object-fit:contain;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text strong{font-family:var(--head);font-weight:400;font-size:22px;letter-spacing:.04em}
.brand-text em{font-style:normal;font-weight:800;font-size:12px;letter-spacing:.3em;color:var(--blue);text-transform:uppercase;margin-top:3px}
.site-nav{display:flex;align-items:center;gap:26px}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:26px}
.site-nav a{color:var(--black);text-decoration:none;font-weight:700;font-size:14px;letter-spacing:.06em;text-transform:uppercase;padding:6px 0;border-bottom:3px solid transparent}
.site-nav a:hover,.site-nav .current-menu-item>a,.site-nav .current_page_item>a{color:var(--blue);border-color:var(--gold)}
.site-nav a.nav-main{font-size:12px;color:var(--muted);border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;text-transform:none;letter-spacing:.02em}
.site-nav a.nav-main:hover{border-color:var(--blue);color:var(--blue)}
.nav-cart{position:relative;display:inline-flex;align-items:center;gap:6px}
.lac-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--gold);color:var(--black);font-size:12px;font-weight:800}
.nav-toggle{display:none;background:none;border:0;padding:10px;cursor:pointer}
.nav-toggle span{display:block;width:26px;height:3px;background:var(--black);margin:5px 0;border-radius:2px}

/* ---------- hero ---------- */
.hero{background:linear-gradient(135deg,var(--navy) 0%,#10286b 60%,var(--blue) 140%);color:#fff;overflow:hidden}
.hero-inner{max-width:var(--max);margin:0 auto;padding:72px 20px;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center}
.hero .eyebrow{color:var(--gold)}
.hero h1{color:#fff;margin-bottom:16px}
.hero p{font-size:20px;color:rgba(255,255,255,.88);max-width:520px;margin-bottom:28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-art{text-align:center}
.hero-art img{width:100%;max-width:400px;filter:drop-shadow(0 18px 30px rgba(0,0,0,.35))}

/* ---------- values + story ---------- */
.values{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.values-inner{max-width:var(--max);margin:0 auto;padding:44px 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center}
.values h3{color:var(--blue);margin-bottom:6px}
.values p{color:var(--muted);margin:0}
.story{background:var(--navy);color:#fff;text-align:center}
.story-inner{max-width:760px;margin:0 auto;padding:72px 20px}
.story .eyebrow{color:var(--gold)} .story h2{color:#fff}
.story p{font-size:19px;color:rgba(255,255,255,.85);margin-bottom:28px}

/* ---------- WooCommerce: product grid ---------- */
.woocommerce ul.products,ul.products{list-style:none;margin:0 0 32px;padding:0;display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products.columns-4,ul.products.columns-4{grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;position:relative;transition:box-shadow .2s,transform .2s}
.woocommerce ul.products li.product:hover{box-shadow:0 12px 28px rgba(11,26,66,.14);transform:translateY(-3px)}
.woocommerce ul.products li.product a{text-decoration:none;color:inherit}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:cover;margin:0;display:block;background:var(--cream)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--head);font-weight:400;font-size:20px;letter-spacing:.02em;text-transform:uppercase;padding:16px 16px 4px;margin:0;color:var(--black)}
.woocommerce ul.products li.product .price{display:block;padding:0 16px 14px;font-weight:700;font-size:17px;color:var(--blue)}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:500;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin:auto 16px 16px;padding:12px 16px;font-size:13px}
.woocommerce span.onsale{position:absolute;top:12px;left:12px;right:auto;margin:0;min-width:0;min-height:0;line-height:1;padding:8px 12px;border-radius:var(--radius);background:var(--gold);color:var(--black);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.woocommerce .star-rating{color:var(--gold-dark)}
.woocommerce-result-count{color:var(--muted);font-size:15px}
.woocommerce-ordering select{padding:10px 12px;border:1.5px solid #CFCABB;border-radius:var(--radius);background:#fff;font:inherit}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:24px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.woocommerce-breadcrumb a{color:var(--muted);text-decoration:none}
.woocommerce-products-header h1,.page-title,.entry-title,.product_title{margin-bottom:.4em}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:10px 16px;border:1.5px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--black);font-weight:700}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ---------- WooCommerce: single product ---------- */
.woocommerce div.product{display:block}
.woocommerce div.product div.images{border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue);font-weight:800;font-size:26px}
.woocommerce div.product .woocommerce-product-details__short-description{color:#3b4350;margin-bottom:20px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:24px}
.woocommerce div.product form.cart .variations{width:100%;margin-bottom:8px}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:0 0 8px;text-align:left}
.woocommerce div.product form.cart .variations label{font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.woocommerce div.product form.cart .variations select{width:100%;max-width:340px;padding:12px;border:1.5px solid #CFCABB;border-radius:var(--radius);background:#fff;font:inherit}
.woocommerce div.product form.cart .reset_variations{font-size:13px;margin-left:10px}
.woocommerce .quantity .qty{width:84px;padding:13px 10px;border:1.5px solid #CFCABB;border-radius:var(--radius);font:inherit;font-weight:700;text-align:center;background:#fff}
.woocommerce div.product .product_meta{font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px;border-bottom:2px solid var(--line);display:flex;gap:6px;flex-wrap:wrap}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 18px;font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-decoration:none;display:block;border-bottom:3px solid transparent;margin-bottom:-2px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--blue);border-color:var(--gold)}
.related.products>h2,.upsells.products>h2{margin:48px 0 20px}
@media (min-width:769px){
  .woocommerce div.product div.images{float:left;width:48%}
  .woocommerce div.product div.summary{float:right;width:48%}
  .woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{clear:both}
  .woocommerce div.product::after{content:"";display:table;clear:both}
}

/* ---------- WooCommerce: notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff;border:1px solid var(--line);border-left:5px solid var(--blue);border-radius:var(--radius);padding:16px 20px 16px 52px;margin:0 0 24px;list-style:none;color:var(--black);position:relative}
.woocommerce-message{border-left-color:var(--green)} .woocommerce-error{border-left-color:var(--red)} .woocommerce-info{border-left-color:var(--blue)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{color:inherit;top:16px;left:20px}
.woocommerce-message .button,.woocommerce-info .button{float:right;margin-left:16px;padding:10px 18px;font-size:12px}

/* ---------- WooCommerce: cart, checkout, account (classic) ---------- */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:var(--radius);border-collapse:separate;border-spacing:0;background:#fff;overflow:hidden;width:100%}
.woocommerce table.shop_table th{font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;background:var(--cream);padding:14px 16px}
.woocommerce table.shop_table td{padding:14px 16px;border-top:1px solid var(--line)}
.woocommerce table.shop_table td.product-name a{font-weight:700;text-decoration:none;color:var(--black)}
.woocommerce a.remove{color:var(--red)!important;font-weight:800}
.woocommerce a.remove:hover{background:var(--red)!important;color:#fff!important}
.woocommerce-cart table.cart img{width:72px;border-radius:var(--radius)}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.woocommerce-checkout #order_review_heading{margin-top:32px}
.woocommerce .cart-collaterals .cart_totals h2{font-size:26px}
.woocommerce form .form-row label{font-weight:700;font-size:14px;margin-bottom:6px;display:block}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{padding:13px 14px;border:1.5px solid #CFCABB!important;border-radius:var(--radius)!important;font:inherit;background:#fff;color:var(--black);width:100%;height:auto!important}
.select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;line-height:1.5}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%!important}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{outline:3px solid rgba(31,79,209,.25);border-color:var(--blue)!important}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:var(--red)!important}
.woocommerce-checkout #payment{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line);padding:18px 20px}
.woocommerce-checkout #payment div.payment_box{background:var(--cream);color:var(--black);border-radius:var(--radius)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--cream)}
.woocommerce-checkout #payment div.form-row{padding:20px}
.woocommerce-checkout #place_order{width:100%;font-size:16px;padding:18px;background:var(--gold);color:var(--black)}
.woocommerce-checkout #place_order:hover{background:var(--gold-dark)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:14px 18px;text-decoration:none;color:var(--black);font-weight:700;border-bottom:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--blue);color:#fff}
@media (min-width:769px){
  .woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:24%}
  .woocommerce-account .woocommerce-MyAccount-content{float:right;width:72%}
}

/* ---------- WooCommerce Blocks (new cart/checkout) ---------- */
.wc-block-components-button:not(.is-link){background:var(--blue)!important;color:#fff!important;border-radius:var(--radius)!important;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.wc-block-components-button:not(.is-link):hover{background:var(--blue-dark)!important}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--gold)!important;color:var(--black)!important}
.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--gold-dark)!important}
.wc-block-components-text-input input,.wc-block-components-select .wc-block-components-select__select{border-radius:var(--radius)!important}
.wc-block-components-product-price,.wc-block-components-totals-item__value{font-weight:700}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--body)}

/* ---------- pages, posts ---------- */
.page-wrap{max-width:820px}
.entry-content{font-size:18px;line-height:1.75}
.entry-content h2,.entry-content h3{margin-top:1.6em}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-meta{color:var(--muted);font-size:14px;margin-top:-6px}
.entry-list{padding:20px 0;border-bottom:1px solid var(--line)}
.entry-list .entry-title a{color:var(--black);text-decoration:none}
.alignwide{max-width:var(--max)} .alignfull{max-width:none}
input[type=text],input[type=email],input[type=search],input[type=tel],input[type=password],textarea{font:inherit}
.woo-wrap{padding-top:28px}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:rgba(255,255,255,.82);margin-top:0}
.footer-inner{max-width:var(--max);margin:0 auto;padding:56px 20px 36px;display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:36px}
.site-footer h3{font-size:15px;letter-spacing:.14em;color:var(--gold);margin-bottom:14px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:9px}
.site-footer a{color:#fff;text-decoration:none;font-size:15px}
.site-footer a:hover{color:var(--gold);text-decoration:underline}
.f-brand p{font-family:var(--head);font-size:20px;letter-spacing:.04em;text-transform:uppercase;color:#fff;margin:14px 0 0;line-height:1.25}
.footer-legal{max-width:var(--max);margin:0 auto;padding:20px;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.7)}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .woocommerce ul.products.columns-4,ul.products.columns-4{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:860px){
  .hero-inner{grid-template-columns:1fr;text-align:center;padding:48px 20px}
  .hero p{margin-left:auto;margin-right:auto}
  .hero-cta{justify-content:center}
  .hero-art{order:-1}
  .hero-art img{max-width:220px}
  .values-inner{grid-template-columns:1fr;gap:22px}
  .footer-inner{grid-template-columns:1fr 1fr}
  .f-brand{grid-column:1/-1}
  .woocommerce ul.products,ul.products,.woocommerce ul.products.columns-4,ul.products.columns-4{grid-template-columns:repeat(2,1fr);gap:16px}
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:3px solid var(--blue);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 18px;box-shadow:0 14px 24px rgba(0,0,0,.12)}
  .site-nav.is-open{display:flex}
  .site-nav ul{flex-direction:column;gap:0}
  .site-nav a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  .site-nav a.nav-main{margin:12px 0 0;text-align:center}
  .nav-cart{margin-top:6px}
  .woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
  .admin-bar .site-header{top:46px}
}
@media (max-width:480px){
  body{font-size:16px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;padding:12px 12px 4px}
  .woocommerce ul.products li.product .price{padding:0 12px 12px}
  .woocommerce ul.products li.product .button{margin:auto 12px 12px;padding:11px 10px}
  .footer-inner{grid-template-columns:1fr}
  .woocommerce-message .button,.woocommerce-info .button{float:none;display:block;margin:12px 0 0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
