/*
Theme Name: Verde Shop
Theme URI: https://example.com/
Author: OpenAI
Description: Tema WordPress + WooCommerce para tiendas de plantas, inspirado en la estética editorial de tiendas botánicas modernas. Compatible con Elementor.
Version: 1.0.0
Text Domain: verde-shop
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

:root{
  --verde:#244b32;
  --verde-2:#315f40;
  --verde-claro:#eaf1e8;
  --crema:#f8f6ef;
  --arena:#e9e2d2;
  --texto:#263128;
  --gris:#687169;
  --blanco:#fff;
  --negro:#18201a;
  --radio:18px;
  --sombra:0 12px 35px rgba(29,52,34,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--texto);
  background:#fff;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}
img{max-width:100%;height:auto}
a{color:var(--verde);text-decoration:none}
a:hover{color:var(--verde-2)}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,92%);margin-inline:auto}
.site-main{min-height:55vh}
.screen-reader-text{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Header */
.topbar{
  background:var(--verde);
  color:#fff;
  font-size:13px;
  text-align:center;
  padding:8px 15px;
}
.site-header{
  background:#fff;
  border-bottom:1px solid #edf0eb;
  position:relative;
  z-index:20;
}
.header-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  gap:30px;
}
.site-branding{display:flex;align-items:center;min-width:180px}
.site-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  font-weight:700;
  letter-spacing:-.5px;
  color:var(--verde);
}
.site-description{display:none}
.main-navigation{margin-left:auto}
.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;gap:27px;align-items:center}
.main-navigation a{font-size:14px;font-weight:600;color:var(--texto)}
.main-navigation a:hover{color:var(--verde)}
.header-actions{display:flex;align-items:center;gap:12px}
.header-search{
  width:220px;height:42px;border:1px solid #e2e6e1;border-radius:999px;
  display:flex;align-items:center;padding:0 15px;background:#fafbf9;
}
.header-search input{border:0;outline:0;background:transparent;width:100%;font-size:13px}
.cart-link{
  min-width:44px;height:44px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;background:var(--verde-claro);font-size:18px;position:relative;
}
.cart-count{
  position:absolute;right:-3px;top:-3px;background:var(--verde);color:#fff;
  width:19px;height:19px;border-radius:50%;font-size:11px;display:flex;
  align-items:center;justify-content:center;
}
.mobile-toggle{display:none;border:0;background:none;font-size:24px;color:var(--verde)}

/* Hero */
.hero{
  background:linear-gradient(100deg,#edf4eb 0%,#f8f6ef 56%,#e8eee3 100%);
  overflow:hidden;
}
.hero-inner{
  min-height:570px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:50px;
}
.hero-copy{padding:55px 0}
.eyebrow{
  display:inline-block;
  color:var(--verde);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:700;
  margin-bottom:14px;
}
.hero h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,5vw,72px);
  line-height:1.03;
  margin:0 0 20px;
  color:var(--verde);
  letter-spacing:-2px;
}
.hero p{max-width:560px;color:#59625b;font-size:17px;margin:0 0 30px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 25px;border-radius:999px;background:var(--verde);color:#fff;
  font-weight:700;font-size:14px;border:2px solid var(--verde);transition:.2s;
}
.btn:hover{background:transparent;color:var(--verde)}
.btn-light{background:#fff;color:var(--verde);border-color:#fff}
.hero-art{
  min-height:500px;
  border-radius:45% 45% 20px 20px;
  background:
    radial-gradient(circle at 70% 22%,rgba(255,255,255,.95) 0 6%,transparent 7%),
    radial-gradient(circle at 30% 35%,rgba(255,255,255,.7) 0 7%,transparent 8%),
    linear-gradient(145deg,#d5e2cf,#a7bd9f);
  position:relative;
  box-shadow:var(--sombra);
  display:flex;align-items:flex-end;justify-content:center;
  overflow:hidden;
}
.hero-art:before{
  content:"";
  width:48%;height:72%;
  background:linear-gradient(145deg,#315f40,#244b32);
  border-radius:50% 50% 20% 20%;
  transform:rotate(-7deg);
  position:absolute;bottom:-13%;left:25%;
  box-shadow:55px -35px 0 -10px #3e704b,-55px -60px 0 -22px #587d55;
}
.hero-art:after{
  content:"PLANTAS";
  position:absolute;bottom:22px;left:0;right:0;text-align:center;
  color:rgba(255,255,255,.8);font-family:Georgia,serif;font-size:18px;letter-spacing:5px;
}

/* Sections */
.section{padding:80px 0}
.section-soft{background:var(--crema)}
.section-head{text-align:center;margin-bottom:38px}
.section-head h2{
  margin:0 0 10px;font:700 38px/1.1 Georgia,"Times New Roman",serif;color:var(--verde);
}
.section-head p{margin:0 auto;color:var(--gris);max-width:650px}

/* Category cards */
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.category-card{
  min-height:230px;border-radius:var(--radio);padding:26px;display:flex;align-items:flex-end;
  position:relative;overflow:hidden;background:linear-gradient(145deg,#e9f0e7,#cbdac7);
  box-shadow:0 7px 25px rgba(31,56,35,.07);
}
.category-card:nth-child(2){background:linear-gradient(145deg,#f1eee3,#ded5bf)}
.category-card:nth-child(3){background:linear-gradient(145deg,#e7ece9,#c8d5ce)}
.category-card:nth-child(4){background:linear-gradient(145deg,#eee8de,#d9ccb9)}
.category-card:before{
  content:"";position:absolute;width:160px;height:190px;border-radius:70% 30% 60% 40%;
  background:rgba(255,255,255,.36);right:-30px;top:-30px;transform:rotate(22deg);
}
.category-card h3{position:relative;z-index:2;margin:0;font:700 25px Georgia,serif;color:var(--verde)}
.category-card span{position:relative;z-index:2;display:block;font-size:12px;margin-top:5px;color:#536257}

/* WooCommerce */
.woocommerce ul.products{margin:0!important;display:grid!important;grid-template-columns:repeat(4,1fr);gap:26px}
.woocommerce ul.products li.product{
  float:none!important;width:auto!important;margin:0!important;padding:0 0 20px!important;
  border-radius:var(--radio);background:#fff;overflow:hidden;box-shadow:0 6px 24px rgba(32,52,36,.07);
}
.woocommerce ul.products li.product a img{margin:0!important;width:100%!important;aspect-ratio:1/1;object-fit:cover;background:#eef1ea}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding:18px 18px 5px!important;margin:0!important;font-size:16px!important;color:var(--texto)!important;
}
.woocommerce ul.products li.product .price{padding:0 18px!important;font-size:15px!important;color:var(--verde)!important;font-weight:700}
.woocommerce ul.products li.product .button{
  margin:10px 18px 0!important;border-radius:999px!important;background:var(--verde)!important;color:#fff!important;
  padding:10px 17px!important;font-size:12px!important;
}
.woocommerce span.onsale{
  background:var(--verde)!important;min-width:50px!important;min-height:50px!important;
  border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:11px!important;
}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:28px}
.woocommerce div.product{padding:30px 0 70px}
.woocommerce div.product .product_title{font:700 42px/1.1 Georgia,serif;color:var(--verde)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--verde);font-weight:700}
.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  background:var(--verde);color:#fff;border-radius:999px;border:0;padding:13px 23px;
}
.woocommerce div.product .quantity .qty{border:1px solid #ddd;border-radius:999px;padding:11px 10px}

/* Benefits */
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.benefit{padding:30px 22px;border:1px solid #e5e9e3;border-radius:var(--radio);background:#fff;text-align:center}
.benefit-icon{font-size:30px;margin-bottom:12px}
.benefit h3{font-size:16px;margin:0 0 7px;color:var(--verde)}
.benefit p{font-size:13px;color:var(--gris);margin:0}

/* Promo */
.promo{
  border-radius:28px;overflow:hidden;background:var(--verde);color:#fff;
  display:grid;grid-template-columns:1fr 1fr;align-items:center;
}
.promo-copy{padding:55px}
.promo-copy h2{font:700 40px/1.08 Georgia,serif;margin:0 0 15px}
.promo-copy p{color:#dce7dd;margin:0 0 25px}
.promo-art{min-height:330px;background:linear-gradient(145deg,#78936f,#b7c7ac);position:relative}
.promo-art:before,.promo-art:after{
  content:"";position:absolute;border-radius:50% 20% 50% 20%;background:rgba(255,255,255,.25);
}
.promo-art:before{width:220px;height:300px;left:28%;bottom:-80px;transform:rotate(20deg)}
.promo-art:after{width:130px;height:240px;left:52%;bottom:-50px;transform:rotate(-25deg)}

/* Footer */
.site-footer{background:#1c2b20;color:#dce6dc;padding:60px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:35px}
.site-footer h3{color:#fff;font:700 20px Georgia,serif;margin:0 0 15px}
.site-footer p,.site-footer li{font-size:13px;color:#b9c6bb}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;font-size:12px;color:#9faf9f}

/* Elementor */
.elementor-page .site-main{width:100%}
.elementor-page .content-area{width:100%;max-width:none}
.elementor-page .container.elementor-container{width:100%}

/* Notices / forms */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--verde)!important}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],select,textarea{
  border:1px solid #dfe4df;border-radius:10px;padding:12px 14px;background:#fff;
}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(49,95,64,.18);border-color:var(--verde)}

/* Responsive */
@media(max-width:980px){
  .header-inner{gap:18px}
  .main-navigation{display:none}
  .mobile-toggle{display:block}
  .header-search{display:none}
  .hero-inner{grid-template-columns:1fr;min-height:auto}
  .hero-copy{padding:70px 0 30px}
  .hero-art{min-height:380px;margin-bottom:55px}
  .category-grid,.benefits{grid-template-columns:repeat(2,1fr)}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .header-inner{min-height:70px}
  .site-title{font-size:23px}
  .header-actions{margin-left:auto}
  .hero h1{font-size:43px}
  .hero p{font-size:15px}
  .hero-art{min-height:310px}
  .section{padding:55px 0}
  .section-head h2{font-size:31px}
  .category-grid,.benefits,.woocommerce ul.products,.footer-grid{grid-template-columns:1fr}
  .promo{grid-template-columns:1fr}
  .promo-copy{padding:38px 28px}
  .promo-copy h2{font-size:32px}
  .promo-art{min-height:240px}
}
