/*
Theme Name: Nutra Professional 1.0.3
Theme URI: https://nutrahydroponics.com/
Author: OpenAI
Description: A clean, professional WooCommerce theme designed for Nutra Hydroponics. Uses existing products, categories, pages and WooCommerce data.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nutra-professional
*/

:root{
  --green:#174f36;
  --green-2:#236b49;
  --lime:#a7c957;
  --ink:#17211b;
  --muted:#647067;
  --cream:#f5f7f2;
  --line:#e3e9e2;
  --white:#fff;
  --radius:18px;
  --shadow:0 12px 35px rgba(19,45,31,.10);
}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--green-2)}
img{max-width:100%;height:auto}
.site-wrap{min-height:100vh}
.topbar{background:var(--green);color:#fff;font-size:13px;font-weight:700;letter-spacing:.02em;text-align:center;padding:9px 16px}
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header-inner{max-width:1240px;margin:auto;display:flex;align-items:center;gap:28px;padding:18px 22px}
.brand{font-size:25px;font-weight:900;letter-spacing:-.04em;color:var(--green);white-space:nowrap}
.brand span{color:var(--lime)}
.main-nav{display:flex;gap:24px;align-items:center;flex:1}
.main-nav a{font-size:14px;font-weight:750;color:var(--ink)}
.main-nav a:hover{color:var(--green)}
.header-tools{display:flex;align-items:center;gap:12px}
.search{border:1px solid var(--line);border-radius:999px;padding:9px 13px;min-width:185px}
.search input{border:0;outline:0;width:100%;font:inherit}
.cart-link{font-weight:800;white-space:nowrap}
.container{max-width:1240px;margin:auto;padding:0 22px}
.hero{background:linear-gradient(120deg,#102f22 0%,#174f36 58%,#2c704d 100%);color:#fff;overflow:hidden}
.hero-inner{min-height:520px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:#c9dc9c}
.hero h1{font-size:clamp(42px,5.2vw,72px);line-height:.98;letter-spacing:-.055em;margin:14px 0 22px;max-width:720px}
.hero p{font-size:18px;color:#e5eee7;max-width:600px;margin:0 0 28px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 20px;font-weight:850;border:1px solid transparent}
.btn-primary{background:var(--lime);color:#122519}
.btn-primary:hover{background:#bddc71;color:#122519}
.btn-light{background:#fff;color:var(--green)}
.btn-outline{border-color:#fff;color:#fff;margin-left:8px}
.hero-art{min-height:390px;display:flex;align-items:center;justify-content:center;position:relative}
.hero-art:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(167,201,87,.16)}
.hero-card{position:relative;width:min(360px,90%);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);border-radius:28px;padding:24px;box-shadow:0 25px 70px rgba(0,0,0,.2)}
.hero-card .mini-label{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#d6e6b2}
.hero-card h3{font-size:31px;line-height:1.05;margin:8px 0 18px}
.hero-bottles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end}
.hero-bottle{height:150px;border-radius:12px 12px 18px 18px;background:linear-gradient(#f3f5ed,#cbd4c4);box-shadow:inset 0 0 0 3px rgba(0,0,0,.05);position:relative}
.hero-bottle:nth-child(2){height:180px}
.hero-bottle:nth-child(3){height:135px}
.hero-bottle:after{content:"NUTRA";position:absolute;left:8px;right:8px;top:54%;background:#fff;color:var(--green);font-size:10px;font-weight:900;text-align:center;padding:6px 2px;transform:rotate(-4deg)}
.section{padding:76px 0}
.section-alt{background:var(--cream)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}
.section h2{font-size:34px;letter-spacing:-.04em;margin:0}
.section-head p{margin:6px 0 0;color:var(--muted)}
.text-link{font-weight:850;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.category-card{min-height:260px;border-radius:var(--radius);padding:28px;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(145deg,#174f36,#2e7650)}
.category-card:nth-child(2){background:linear-gradient(145deg,#273f35,#526c42)}
.category-card:nth-child(3){background:linear-gradient(145deg,#415a40,#819457)}
.category-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-45px;top:-45px;background:rgba(255,255,255,.10)}
.category-card h3{font-size:27px;letter-spacing:-.03em;margin:0 0 7px;position:relative;z-index:2}
.category-card p{margin:0;color:#eef5ef;position:relative;z-index:2}
.category-card .arrow{margin-top:18px;font-weight:900;position:relative;z-index:2}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.woocommerce ul.products{margin:0!important;display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0!important;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:none;transition:.2s}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.woocommerce ul.products li.product a img{margin:0!important;width:100%;aspect-ratio:1/1;object-fit:contain;background:#fafbf9}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;padding:16px 16px 4px!important;color:var(--ink);font-weight:800}
.woocommerce ul.products li.product .price{padding:0 16px 18px;font-weight:900;color:var(--green)}
.woocommerce ul.products li.product .button{margin:0 16px 16px!important;border-radius:999px;background:var(--green);color:#fff;font-weight:800}
.woocommerce ul.products li.product .onsale{top:12px!important;right:12px!important;left:auto!important;margin:0!important;background:var(--lime);color:#18301f;border:0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.trust{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.trust strong{display:block;font-size:16px;margin-bottom:5px}
.trust span{font-size:13px;color:var(--muted)}
.pro-banner{background:var(--green);color:#fff;border-radius:26px;padding:44px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}
.pro-banner h2{font-size:36px;line-height:1.05;margin:0 0 10px}
.pro-banner p{margin:0;color:#dbe9df;max-width:680px}
.order-box{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.order-method{border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff}
.order-method .num{display:inline-flex;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;background:var(--lime);font-weight:900;margin-bottom:14px}
.order-method h3{margin:0 0 6px}
.order-method p{margin:0;color:var(--muted)}
.site-footer{background:#102f22;color:#dce9df;margin-top:0;padding:54px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}
.site-footer h3{color:#fff;margin:0 0 13px;font-size:15px}
.site-footer a{color:#dce9df}
.site-footer p{color:#b9cbbf;font-size:14px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:12px;color:#a8bbb0}
.page-header{background:var(--cream);padding:54px 0}
.page-header h1{font-size:48px;letter-spacing:-.05em;margin:0}
.content-area{padding:55px 0}
.content-area .entry-content{max-width:900px}
.content-area h2,.content-area h3{letter-spacing:-.03em}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:13px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:24px}
.woocommerce div.product{padding-top:20px}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product .product_title{font-size:42px;letter-spacing:-.04em}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green);font-weight:900}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{border-radius:999px;background:var(--green);color:#fff;font-weight:850;padding:12px 18px}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{background:var(--green-2);color:#fff}
.woocommerce span.onsale{background:var(--lime);color:#18301f}
.woocommerce-message,.woocommerce-info{border-top-color:var(--green)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--green)}
@media(max-width:900px){
 .main-nav{display:none}.header-inner{justify-content:space-between}.search{display:none}
 .hero-inner{grid-template-columns:1fr;padding:55px 0}.hero-art{min-height:300px}
 .category-grid{grid-template-columns:1fr}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
 .trust-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}
 .pro-banner{grid-template-columns:1fr}.order-box{grid-template-columns:1fr}
}
@media(max-width:560px){
 .container{padding:0 16px}.header-inner{padding:14px 16px}.brand{font-size:21px}
 .hero h1{font-size:43px}.hero p{font-size:16px}.hero-art{display:none}
 .section{padding:52px 0}.section h2{font-size:29px}.section-head{display:block}
 .products-grid,.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:12px}
 .trust-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}
 .page-header h1{font-size:38px}.pro-banner{padding:30px 24px}.pro-banner h2{font-size:29px}
}


/* WooCommerce native templates: styling only, no template replacement. */
.woocommerce-page #content,
.woocommerce-page .site-content,
.woocommerce-page .content-area {
  width:100%;
}
.woocommerce-page .site-main {
  max-width:1240px;
  margin:0 auto;
  padding:55px 22px 75px;
}
.woocommerce-page .page-header + .site-main { padding-top:45px; }
.woocommerce div.product { margin-bottom:40px; }
.woocommerce div.product div.summary { padding-top:8px; }
.woocommerce div.product form.cart {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}
.woocommerce div.product form.cart .quantity { margin:0!important; }
.woocommerce div.product form.cart .quantity .qty {
  min-height:46px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  min-height:46px;
  background:var(--green)!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  padding:12px 24px!important;
  font-weight:850!important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background:var(--green-2)!important; }
.woocommerce div.product .woocommerce-tabs {
  margin-top:45px;
  border-top:1px solid var(--line);
  padding-top:25px;
}
.woocommerce div.product div.images img { background:#fafbf9; }
.woocommerce nav.woocommerce-pagination ul { border:0; }
.woocommerce nav.woocommerce-pagination ul li { border:0; margin:0 3px; }
@media(max-width:900px){
  .woocommerce-page .site-main{padding:40px 16px 60px;}
  .woocommerce div.product .product_title{font-size:34px;}
}

/* Direct WooCommerce add-to-cart fallback: deliberately does not use WooCommerce's AJAX/cart button classes. */
.woocommerce div.product form.nutra-direct-cart { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:24px; }
.woocommerce div.product form.nutra-direct-cart .quantity { margin:0!important; }
.woocommerce div.product form.nutra-direct-cart .quantity .qty { min-height:46px; border:1px solid var(--line); border-radius:999px; padding:8px 12px; }
.woocommerce div.product form.nutra-direct-cart .nutra-direct-add { min-height:46px; background:var(--green)!important; color:#fff!important; border:0!important; border-radius:999px!important; padding:12px 24px!important; font-weight:850!important; cursor:pointer!important; pointer-events:auto!important; opacity:1!important; }
.woocommerce div.product form.nutra-direct-cart .nutra-direct-add:hover { background:var(--green-2)!important; }
