/*
Theme Name: Stella
Theme URI: https://stella.dokku.sandbox.com.np
Author: Stella Studio
Author URI: https://stella.dokku.sandbox.com.np
Description: Handmade pipe-cleaner florals — a warm, hand-crafted brand theme for Stella of Pokhara, with full WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stella
WC requires at least: 6.0
WC tested up to: 10.0
*/

:root{
  --cream:#FBF6EC; --ink:#263029; --green:#35574A; --dark:#22352C;
  --coral:#DF7C63; --coral-d:#c9634b; --gold:#E0A33C; --blush:#F1D8CE;
  --sand:#F4ECDA; --sand2:#F3E7CE; --muted:#77807a; --line:rgba(38,48,41,.1);
  --serif:'DM Serif Display',Georgia,serif; --script:'Caveat',cursive;
  --sans:'Mulish',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);
  -webkit-font-smoothing:antialiased;line-height:1.55}
img{max-width:100%;height:auto}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--coral)}
::selection{background:var(--gold);color:#fff}
input,textarea,select,button{font-family:inherit}
/* DM Serif Display ships only a 400 weight. The Claude Design looks "chunky"
   because the UA default heading weight (700) makes the browser SYNTHESIZE bold —
   but mobile browsers apply that faux-bold inconsistently, so it showed on desktop
   and not on phones. Instead we thicken the true 400 outline with a hairline
   text-stroke, which renders identically on desktop and mobile. */
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.05;-webkit-text-stroke:0.021em currentColor}
@keyframes floatUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

.wrap{max-width:1160px;margin:0 auto;padding-left:28px;padding-right:28px}
.script{font-family:var(--script)}
.site-main{flex:1}
.site{min-height:100vh;display:flex;flex-direction:column}

/* ---------- buttons ---------- */
.btn{display:inline-block;border-radius:999px;font-weight:700;cursor:pointer;
  border:none;text-align:center;transition:background .18s,color .18s,border-color .18s;font-size:15px}
.btn-primary{background:var(--green);color:var(--cream);padding:15px 30px}
.btn-primary:hover{background:var(--dark);color:var(--cream)}
.btn-outline{background:transparent;color:var(--green);border:1.5px solid var(--green);padding:13.5px 30px}
.btn-outline:hover{background:var(--green);color:var(--cream)}
.btn-gold{background:var(--gold);color:var(--dark);padding:13px 26px;font-size:14.5px}
.btn-gold:hover{background:var(--sand2)}
.btn-coral{background:var(--coral);color:#fff;padding:16px 34px}
.btn-coral:hover{background:var(--coral-d);color:#fff}

/* ---------- announcement + header ---------- */
.announce{background:var(--green);color:var(--sand2);font-size:12.5px;letter-spacing:.06em;
  text-transform:uppercase;text-align:center;padding:8px 16px;font-weight:600}
.site-header{position:sticky;top:0;z-index:40;background:rgba(251,246,236,.9);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;flex-direction:column;line-height:.9}
.brand .name{font-family:var(--serif);font-size:28px;color:var(--ink)}
.brand .tag{font-family:var(--script);font-size:15px;color:var(--coral);margin-top:2px}
.brand:hover .name{color:var(--ink)}
.nav{display:flex;align-items:center;gap:30px}
.nav a.navlink{font-size:14.5px;font-weight:600;letter-spacing:.01em;color:var(--ink);
  padding-bottom:2px;border-bottom:2px solid transparent}
.nav a.navlink:hover{color:var(--coral)}
.nav a.navlink.current{color:var(--coral);border-bottom-color:var(--coral)}
.cart-btn{position:relative;background:var(--green);color:var(--cream);border:none;border-radius:999px;
  width:42px;height:42px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cart-btn:hover{background:var(--dark);color:var(--cream)}
.cart-count{position:absolute;top:-3px;right:-3px;background:var(--coral);color:#fff;font-size:11px;
  font-weight:700;min-width:19px;height:19px;border-radius:999px;display:flex;align-items:center;
  justify-content:center;padding:0 5px;border:2px solid var(--cream)}
.menu-toggle{display:none}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding:64px 28px 40px}
.hero .copy{animation:floatUp .6s ease both}
.hero .kicker{font-family:var(--script);font-size:26px;color:var(--coral)}
.hero h1{font-size:66px;margin:8px 0 20px;color:var(--ink)}
.hero p{font-size:17.5px;max-width:430px;color:#43514a;margin:0 0 30px}
.hero .cta{display:flex;gap:14px;flex-wrap:wrap}
.hero .art{position:relative}
.hero .blob1{position:absolute;inset:-18px -18px auto auto;width:130px;height:130px;background:var(--gold);border-radius:999px;opacity:.35;z-index:0}
.hero .blob2{position:absolute;left:-24px;bottom:-20px;width:96px;height:96px;background:var(--coral);border-radius:999px;opacity:.25;z-index:0}
.hero .frame{position:relative;z-index:1;border-radius:20px;overflow:hidden;
  box-shadow:0 26px 60px -28px rgba(38,48,41,.5);aspect-ratio:4/5;background:var(--blush)}
.hero .badge{position:absolute;z-index:2;right:-12px;bottom:28px;background:var(--cream);border-radius:14px;
  padding:12px 16px;box-shadow:0 12px 30px -12px rgba(38,48,41,.4);display:flex;align-items:center;gap:10px}
.hero .badge .inf{font-family:var(--serif);font-size:26px;color:var(--green)}

/* image placeholders */
.imgslot{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.5),transparent 62%)}
.imgslot svg{width:42%;height:42%;opacity:.6}
.flowerfill{width:100%;height:100%;position:relative}

/* ---------- trust strip ---------- */
.trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--sand)}
.trust .row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:22px 28px}
.trust .item{display:flex;align-items:center;gap:12px;justify-content:center}
.trust .item .t{font-weight:700;font-size:14px}
.trust .item .s{font-size:12.5px;color:var(--muted)}
.trust svg{color:var(--green)}

/* ---------- section heads ---------- */
.sec{padding:64px 28px 20px}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px;flex-wrap:wrap;gap:12px}
.sec-head .kicker{font-family:var(--script);font-size:22px;color:var(--coral)}
.sec-head h2{font-size:40px;margin:2px 0 0}
.sec-head .more{font-weight:700;font-size:14.5px;border-bottom:2px solid var(--gold);padding-bottom:2px}

/* ---------- product grid (Stella cards, shared with Woo) ---------- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.pcard{cursor:pointer;background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 4px rgba(38,48,41,.06);border:1px solid rgba(38,48,41,.07);
  transition:box-shadow .2s;display:flex;flex-direction:column}
.pcard:hover{box-shadow:0 20px 40px -22px rgba(38,48,41,.45)}
.pcard .thumb{aspect-ratio:1/1;position:relative;overflow:hidden}
.pcard .body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.pcard .titrow{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pcard h3{font-size:21px;margin:0}
.pcard .price{font-weight:800;font-size:15px;color:var(--green);white-space:nowrap}
.pcard .blurb{font-size:13px;color:var(--muted);margin:4px 0 14px;min-height:34px}
.pcard .cat-badge{position:absolute;top:12px;left:12px;background:rgba(251,246,236,.92);border-radius:999px;
  padding:4px 11px;font-size:11px;font-weight:700;color:var(--green);z-index:2}
.add-btn{width:100%;background:var(--sand);color:var(--green);border:1px solid rgba(53,87,74,.25);
  border-radius:999px;padding:10px;font-weight:700;font-size:13.5px;cursor:pointer;margin-top:auto;
  transition:background .18s,color .18s;text-align:center;display:block}
.add-btn:hover{background:var(--green);color:var(--cream)}
/* rotating placeholder tints */
.tint0{background:#F6E7CE}.tint1{background:#DCE7DC}.tint2{background:#F1D8CE}
.tint3{background:#F7DEC9}.tint4{background:#EDEBDD}.tint5{background:#F3DAE0}

/* ---------- story band ---------- */
.story{background:var(--dark);color:var(--sand2);margin-top:64px}
.story .row{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:70px 28px}
.story .pic{border-radius:18px;overflow:hidden;aspect-ratio:5/4;background:var(--green);position:relative}
.story .kicker{font-family:var(--script);font-size:24px;color:var(--gold)}
.story h2{font-size:38px;margin:6px 0 16px;color:var(--cream)}
.story p{font-size:16px;color:#D6D0BE;margin:0 0 22px}

/* ---------- custom CTA band ---------- */
.ctaband{padding:70px 28px}
.ctaband .inner{background:var(--blush);border-radius:22px;padding:52px 48px;display:flex;
  align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.ctaband h2{font-size:36px;margin:0 0 10px}
.ctaband p{font-size:16px;color:#6b5049;margin:0;max-width:560px}

/* ---------- generic page ---------- */
.page-head{max-width:820px;margin:0 auto;padding:64px 28px 30px;text-align:center}
.page-head .kicker{font-family:var(--script);font-size:26px;color:var(--coral)}
.page-head h1{font-size:52px;margin:6px 0 18px}
.page-head p{font-size:18px;color:#43514a;margin:0}
.prose{max-width:820px;margin:0 auto;padding:20px 28px 64px;font-size:16px;color:#43514a}
.prose h2{font-size:32px;margin:32px 0 14px;color:var(--ink)}

/* ---------- about ---------- */
.about-hero{max-width:1000px;margin:0 auto;padding:20px 28px}
.about-hero .pic{border-radius:22px;overflow:hidden;aspect-ratio:16/8;background:#DDE6DC;position:relative;
  box-shadow:0 22px 50px -28px rgba(38,48,41,.45)}
.about-split{max-width:1000px;margin:0 auto;padding:56px 28px;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.about-split .pic{border-radius:18px;overflow:hidden;aspect-ratio:4/5;background:var(--blush);position:relative}
.about-split h2{font-size:34px;margin:0 0 14px}
.about-split p{font-size:16px;color:#43514a;margin:0 0 16px}
.values{background:var(--sand);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.values .in{max-width:1000px;margin:0 auto;padding:56px 28px;text-align:center}
.values h2{font-size:32px;margin:0 0 34px}
.values .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.values .ic{width:56px;height:56px;border-radius:999px;background:#fff;display:flex;align-items:center;
  justify-content:center;margin:0 auto 14px;color:var(--green)}
.values h3{font-size:21px;margin:0 0 6px}
.values p{font-size:14px;color:#6b736c;margin:0}

/* ---------- custom orders ---------- */
.steps{max-width:960px;margin:0 auto;padding:20px 28px 10px}
.steps .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{background:#fff;border:1px solid rgba(38,48,41,.08);border-radius:16px;padding:24px 22px}
.step .n{font-family:var(--serif);font-size:30px;color:var(--gold)}
.step h3{font-size:20px;margin:6px 0}
.step p{font-size:14px;color:#6b736c;margin:0}
.cform-wrap{max-width:720px;margin:0 auto;padding:44px 28px 80px}
.cform{background:#fff;border:1px solid rgba(38,48,41,.09);border-radius:20px;padding:36px 34px;
  box-shadow:0 10px 30px -20px rgba(38,48,41,.3)}
.cform .two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.cform .two:first-of-type{margin-top:0}
.cform label{display:block}
.cform label>span{font-size:13px;font-weight:700;display:block;margin-bottom:6px}
.cform input,.cform select,.cform textarea{width:100%;padding:12px 14px;border:1.5px solid rgba(38,48,41,.18);
  border-radius:10px;font-size:14px;background:var(--cream)}
.cform textarea{resize:vertical}
.cform .full{margin-top:18px}
.cform .submit{width:100%;margin-top:22px}
.thankyou{background:var(--dark);color:var(--sand2);border-radius:20px;padding:56px 40px;text-align:center}
.thankyou .big{font-family:var(--serif);font-size:40px;color:var(--gold)}
.thankyou p{font-size:16px;color:#D6D0BE;margin:12px 0 26px}

/* ---------- footer ---------- */
.site-footer{background:var(--dark);color:#C9CFC3;margin-top:auto}
.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding:56px 28px 30px}
.site-footer .fname{font-family:var(--serif);font-size:28px;color:var(--cream)}
.site-footer .ftag{font-family:var(--script);font-size:16px;color:var(--gold);margin-bottom:14px}
.site-footer p{font-size:13.5px;line-height:1.6;margin:0;max-width:260px}
.site-footer .h{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-bottom:14px}
.site-footer .lnks{display:flex;flex-direction:column;gap:9px;font-size:13.5px}
.site-footer .lnks a,.site-footer .addr a{color:#C9CFC3}
.site-footer .lnks a:hover,.site-footer .addr a:hover{color:#fff}
.site-footer .addr{font-size:13.5px;line-height:1.7}
.site-footer .base{border-top:1px solid rgba(255,255,255,.1)}
.site-footer .base .in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding:18px 28px;font-size:12.5px;color:#8f978a}

/* ================= WooCommerce ================= */
.stella-shell{max-width:1160px;margin:0 auto;padding:44px 28px 80px}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:13.5px}
.woocommerce .woocommerce-ordering select{padding:8px 12px;border:1.5px solid rgba(38,48,41,.18);border-radius:999px;background:#fff}
.woocommerce-products-header{text-align:center;margin-bottom:26px}
.woocommerce-products-header__title,.woocommerce-products-header .woocommerce-products-header__title{font-family:var(--serif);font-size:48px;font-weight:400;margin:0}

/* product loop → Stella cards */
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(3,1fr);gap:26px;margin:0;padding:0;list-style:none}
/* WooCommerce's float-clearfix ::before/::after become stray grid cells — kill them */
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none !important;content:none !important}
.woocommerce ul.products li.product,.woocommerce ul.products li.product.first,.woocommerce ul.products li.product.last{
  width:auto !important;margin:0 !important;float:none !important;background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 4px rgba(38,48,41,.06);border:1px solid rgba(38,48,41,.07);transition:box-shadow .2s;
  display:flex;flex-direction:column;text-align:left;padding:0}
.woocommerce ul.products li.product:hover{box-shadow:0 20px 40px -22px rgba(38,48,41,.45)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.woocommerce ul.products li.product a img{margin:0;border-radius:0;aspect-ratio:1/1;object-fit:cover;width:100%;background:var(--blush)}
.woocommerce ul.products li.product:nth-child(6n+1) a img{background:#F6E7CE}
.woocommerce ul.products li.product:nth-child(6n+2) a img{background:#DCE7DC}
.woocommerce ul.products li.product:nth-child(6n+3) a img{background:#F1D8CE}
.woocommerce ul.products li.product:nth-child(6n+4) a img{background:#F7DEC9}
.woocommerce ul.products li.product:nth-child(6n+5) a img{background:#EDEBDD}
.woocommerce ul.products li.product:nth-child(6n+6) a img{background:#F3DAE0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif);font-size:21px;
  font-weight:400;padding:14px 18px 0;color:var(--ink)}
.woocommerce ul.products li.product .price{color:var(--green);font-weight:800;font-size:15px;padding:2px 18px 0;display:block}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:500}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{
  margin:14px 18px 18px;background:var(--sand);color:var(--green);border:1px solid rgba(53,87,74,.25);
  border-radius:999px;padding:10px;font-weight:700;font-size:13.5px;text-align:center;display:block;transition:background .18s,color .18s}
.woocommerce ul.products li.product .button:hover{background:var(--green);color:var(--cream)}
.woocommerce span.onsale{background:var(--coral);color:#fff;border-radius:999px;min-height:auto;min-width:auto;
  padding:4px 12px;font-weight:700;font-size:12px;top:12px;left:12px;margin:0}

/* buttons (global woo) */
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  background:var(--green);color:var(--cream);border-radius:999px;font-weight:700;padding:13px 26px;transition:background .18s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--dark);color:var(--cream)}

/* single product */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}
.single-product div.product .woocommerce-product-gallery{margin:0;width:auto !important;float:none}
.single-product div.product .woocommerce-product-gallery__wrapper img{border-radius:20px;background:var(--blush);
  box-shadow:0 20px 46px -26px rgba(38,48,41,.4)}
.single-product div.product .entry-summary{margin:0;width:auto !important;float:none}
.single-product div.product .product_title{font-size:44px;margin:2px 0 10px}
.single-product div.product p.price,.single-product div.product span.price{font-size:26px;font-weight:800;color:var(--green);margin-bottom:16px}
.single-product .woocommerce-product-details__short-description{font-size:16px;color:#43514a;margin-bottom:22px}
.single-product div.product form.cart{margin-bottom:24px}
.single-product div.product .quantity input{padding:12px;border:1.5px solid rgba(38,48,41,.2);border-radius:10px;width:72px}
.single-product div.product form.cart .button{padding:15px 30px;font-size:16px}
.single-product .woocommerce-tabs ul.tabs{padding:0}
.single-product .woocommerce-tabs ul.tabs li{background:var(--sand);border-radius:999px;border:none;font-weight:700}
.single-product .woocommerce-tabs ul.tabs li.active{background:var(--green)}
.single-product .woocommerce-tabs ul.tabs li.active a{color:var(--cream)}
.related.products>h2,.upsells.products>h2{font-family:var(--serif);font-size:30px;font-weight:400;margin:60px 0 24px}
.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(3,1fr)}

/* cart & checkout */
.woocommerce table.shop_table{border-radius:14px;border-color:var(--line)}
.woocommerce .cart_totals,.woocommerce-checkout #order_review,.woocommerce form.checkout_coupon{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--gold);border-radius:10px}
.woocommerce-checkout h3,.woocommerce .cart_totals h2{font-family:var(--serif);font-weight:400}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.select2-container .select2-selection{border:1.5px solid rgba(38,48,41,.18);border-radius:10px;padding:10px 12px}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero{grid-template-columns:1fr;gap:36px;padding-top:44px}
  .hero h1{font-size:48px}
  .trust .row{grid-template-columns:repeat(2,1fr);gap:18px}
  .pgrid,.woocommerce ul.products,.values .grid,.steps .grid{grid-template-columns:repeat(2,1fr) !important}
  .story .row,.about-split,.single-product div.product{grid-template-columns:1fr;gap:32px}
  .cform .two{grid-template-columns:1fr}
  .site-footer .cols{grid-template-columns:1fr 1fr}
  .page-head h1{font-size:40px}
}
@media (max-width:600px){
  .nav{gap:16px}
  .nav .navlink{display:none}
  .hero h1{font-size:40px}
  .pgrid,.woocommerce ul.products,.values .grid,.steps .grid,.trust .row{grid-template-columns:1fr !important}
  .ctaband .inner{flex-direction:column;align-items:flex-start;padding:36px 28px}
  .site-footer .cols{grid-template-columns:1fr}
  .woocommerce-products-header__title{font-size:36px}
}
