/*
Theme Name: Skinoir Colourful
Version: 3.2
Description: Premium Indian-colour skincare WooCommerce theme with self-contained SVG graphics.
*/
:root{--plum:#4b164c;--dark:#190b1c;--pink:#d93f76;--saffron:#f4a62a;--green:#0d634e;--teal:#087e8b;--cream:#fff7ee;--ink:#241b27;--gold:#d6a84f;--line:#eadbd2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}img{max-width:100%;height:auto;display:block}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}
.topbar{background:linear-gradient(90deg,#b51664,#73124f);color:#fff;text-align:center;padding:8px 12px;font-size:12px;font-weight:600}
.site-header{position:relative;z-index:10;background:#1d0b20;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}.logo{font-family:Georgia,serif;letter-spacing:4px;font-size:25px;color:#f7d477;line-height:1}.logo small{display:block;font-family:Arial,sans-serif;font-size:10px;letter-spacing:1.4px;color:#fff;margin-top:6px}
.menu{display:flex;gap:26px;align-items:center;font-size:14px}.menu a:hover{color:#f7ca5c}.hero{background:#3b0b3d}.hero-img{width:100%;max-height:720px;object-fit:cover}
.trust{background:#fffaf4;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(5,1fr)}.trust-item{text-align:center;padding:24px 12px;border-right:1px solid var(--line);font-size:13px}.trust-item:last-child{border:0}.trust-icon{display:block;color:var(--pink);font-size:24px;margin-bottom:6px}
.section{padding:76px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.kicker{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#9b4b67;font-weight:800}.section h2{font-family:Georgia,serif;font-size:clamp(35px,4vw,52px);line-height:1.05;margin:8px 0 14px}.section p{font-size:17px}
.concerns{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.concern{min-height:280px;border-radius:22px;padding:24px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;position:relative;box-shadow:0 12px 30px rgba(39,16,40,.12);transition:transform .25s}.concern:hover{transform:translateY(-6px)}.concern:before{content:"";position:absolute;width:150px;height:150px;right:-30px;top:-30px;border-radius:50%;background:rgba(255,255,255,.18)}.concern h3{font-family:Arial,sans-serif;font-size:22px;line-height:1.05;margin:0 0 14px;position:relative}.concern span{position:relative;font-weight:700}.c1{background:linear-gradient(145deg,#ffb21f,#d05a10)}.c2{background:linear-gradient(145deg,#14926e,#07503d)}.c3{background:linear-gradient(145deg,#159fd0,#12619c)}.c4{background:linear-gradient(145deg,#9a3097,#4b164c)}.c5{background:linear-gradient(145deg,#e54c83,#a30f4e)}
.nature{background:linear-gradient(120deg,#063f32,#0d6b53);color:#fff}.nature-grid{display:grid;grid-template-columns:1fr 2fr;gap:45px;align-items:center}.nature .kicker{color:#f7d477}.ingredient-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ingredient{aspect-ratio:1;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:rgba(255,255,255,.06);padding:20px}.ingredient b{font-family:Georgia,serif;font-size:20px}.ingredient span{font-size:12px;margin-top:6px}
.btn{display:inline-flex;border:0;border-radius:999px;padding:14px 22px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;align-items:center;justify-content:center}.btn-primary{background:var(--saffron);color:#251522}.btn-dark{background:var(--plum);color:#fff}
.science{display:grid;grid-template-columns:1fr 1fr}.science-image{min-height:460px;background:linear-gradient(135deg,#2d1634,#b44b69);display:flex;align-items:center;justify-content:center;overflow:hidden}.science-image img{width:100%;height:100%;object-fit:cover}.science-copy{background:var(--plum);color:#fff;padding:72px}.science-copy .kicker{color:#f7d477}.checklist{list-style:none;padding:0}.checklist li{padding:10px 0}.checklist li:before{content:"✓";color:#f7d477;font-weight:900;margin-right:10px}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(47,12,43,.08);padding-bottom:18px}.product-card img{width:100%;aspect-ratio:1;object-fit:cover}.product-card .info{padding:16px}.product-card h3{font-family:Georgia,serif;font-size:20px;margin:0 0 7px}.price{color:#7d6d19;font-weight:800;margin-bottom:14px}.rating{color:#e5a128;letter-spacing:2px;font-size:13px}
.reviews{background:#fff0e9}.review-grid{display:grid;grid-template-columns:1fr 2fr;gap:30px}.review-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.review{background:#fff;border-radius:18px;padding:22px;box-shadow:0 10px 25px rgba(47,12,43,.08)}.stars{color:#e5a128;letter-spacing:2px}
.story{background:linear-gradient(120deg,#27102a,#71392d);color:#fff}.story-grid{display:grid;grid-template-columns:1fr 1fr;min-height:440px;align-items:center}.story-art{min-height:440px;background:radial-gradient(circle at 55% 45%,#e5ad52,transparent 20%),linear-gradient(135deg,#40203a,#8d4c35);display:flex;align-items:center;justify-content:center}.story-art:after{content:"SKINOIR";font-family:Georgia,serif;font-size:54px;letter-spacing:6px;color:#f7d477}
.newsletter{background:#160a18;color:#fff;padding:44px 0}.newsletter-row{display:flex;align-items:center;justify-content:space-between;gap:25px}.newsletter form{display:flex}.newsletter input{border:0;padding:15px 18px;border-radius:999px 0 0 999px;min-width:280px}.newsletter button{border:0;background:var(--saffron);font-weight:800;padding:0 22px;border-radius:0 999px 999px 0}
.footer{background:#100811;color:#cdbcc9;padding:42px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}.footer h3{color:#fff;font-family:Georgia,serif}.footer a{display:block;margin:8px 0;font-size:13px}.copyright{border-top:1px solid #352636;margin-top:30px;padding-top:20px;font-size:12px;display:flex;justify-content:space-between}
.woocommerce .site-main,.woocommerce-page .site-main{width:min(1180px,92%);margin:auto}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:25px 0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(47,12,43,.08);padding-bottom:18px}.woocommerce ul.products li.product a img{margin:0 0 14px!important;width:100%!important;aspect-ratio:1!important;object-fit:cover!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 16px;font-family:Georgia,serif;font-size:20px}.woocommerce ul.products li.product .price{padding:0 16px;color:#7d6d19;font-weight:800}.woocommerce ul.products li.product .button{margin:5px 16px 0!important;background:var(--plum);color:#fff;border-radius:999px;padding:12px 18px;border:0}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin:0 0 20px}.woocommerce span.onsale{background:var(--pink)!important;min-width:52px;min-height:52px;line-height:52px}
@media(max-width:950px){.menu{gap:14px}.concerns{grid-template-columns:repeat(3,1fr)}.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.nature-grid,.science,.review-grid,.story-grid{grid-template-columns:1fr}.science-copy{padding:48px}.story-art{min-height:280px}.trust-grid{grid-template-columns:repeat(3,1fr)}.trust-item:nth-child(3){border:0}}
@media(max-width:650px){.menu{display:none}.nav{min-height:68px}.hero-img{min-height:520px;object-fit:cover;object-position:60% center}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-item{border-bottom:1px solid var(--line)}.concerns,.products,.woocommerce ul.products{grid-template-columns:1fr!important}.section{padding:55px 0}.section-head{display:block}.ingredient-grid{grid-template-columns:repeat(2,1fr)}.newsletter-row{flex-direction:column;align-items:flex-start}.newsletter form{width:100%}.newsletter input{min-width:0;width:65%}.newsletter button{width:35%}.footer-grid{grid-template-columns:1fr 1fr}.copyright{flex-direction:column;gap:8px}}
@media(max-width:430px){.footer-grid{grid-template-columns:1fr}}

/* ===== SKINOIR MOBILE COMFORT PATCH ===== */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{min-width:0;-webkit-text-size-adjust:100%}.container{width:min(1180px,92%);max-width:100%;}
.header-right{display:flex;align-items:center;gap:16px}.menu-toggle{display:none;width:42px;height:42px;padding:9px;border:1px solid rgba(255,255,255,.25);background:transparent;border-radius:10px;cursor:pointer}.menu-toggle i{display:block;height:2px;background:#fff;margin:5px 0;border-radius:2px}
.hero{position:relative;overflow:hidden}.hero-img{display:block;width:100%;height:auto;max-height:720px;min-width:0}
.product-card,.concern,.review,.ingredient{min-width:0}.product-card h3,.product-card p,.woocommerce ul.products li.product .woocommerce-loop-product__title{overflow-wrap:anywhere}
@media(max-width:650px){
  .topbar{font-size:11px;line-height:1.35;padding:8px 18px;min-height:40px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}.topbar span{opacity:.65}
  .nav{min-height:70px;padding:10px 0;gap:10px}.logo{font-size:22px;letter-spacing:3px}.logo small{font-size:8px;letter-spacing:1.1px;margin-top:5px}.menu-toggle{display:block}
  .menu{position:absolute;left:4%;right:4%;top:70px;display:flex;flex-direction:column;gap:0;background:#1d0b20;border:1px solid rgba(255,255,255,.13);border-radius:0 0 16px 16px;padding:8px;box-shadow:0 18px 35px rgba(0,0,0,.3);visibility:hidden;opacity:0;transform:translateY(-8px);transition:.2s ease}.menu.open{visibility:visible;opacity:1;transform:translateY(0)}.menu a{padding:13px 14px;border-radius:10px;font-size:15px}.menu a:hover{background:rgba(255,255,255,.08)}
  /* On phones, make the hero a clean two-part composition: image first, copy below. */
  .hero{background:var(--plum);display:flex;flex-direction:column}.hero-img{order:1;height:300px;min-height:300px;max-height:300px;object-fit:cover;object-position:70% 25%}.hero>div{position:static!important;transform:none!important;order:2}.hero>div:first-of-type{display:none}.hero>div:last-of-type{padding:30px 7% 36px;max-width:none;background:linear-gradient(145deg,#3b0b3d,#71124f)}.hero h1{font-size:44px!important;line-height:.98!important;margin:12px 0 15px!important}.hero p{font-size:15px!important;line-height:1.5;margin:0 0 22px}.hero .kicker{font-size:10px;letter-spacing:2px}.hero .btn{width:100%;min-height:48px}
  .trust-grid{grid-template-columns:1fr 1fr}.trust-item{padding:18px 8px;font-size:12px;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center}.trust-icon{font-size:20px;margin-bottom:3px}
  .section{padding:48px 0}.section-head{margin-bottom:22px}.section h2{font-size:35px;line-height:1.06}.section p{font-size:15px}.section-head>a{display:inline-block;margin-top:10px;font-weight:700}
  .concerns{grid-template-columns:1fr 1fr!important;gap:10px}.concern{min-height:190px;border-radius:17px;padding:18px}.concern h3{font-size:17px}.concern span{font-size:12px}
  .products{grid-template-columns:1fr 1fr!important;gap:10px}.product-card{border-radius:16px;padding-bottom:12px}.product-card img{aspect-ratio:1}.product-card .info{padding:12px}.product-card h3{font-size:17px;line-height:1.08}.product-card p{font-size:11px!important;line-height:1.35;margin:4px 0}.rating{font-size:11px;letter-spacing:1px}.price{font-size:14px;margin-bottom:10px}.btn{width:100%;padding:12px 10px;min-height:44px;font-size:11px}
  .nature-grid{gap:30px}.ingredient-grid{grid-template-columns:1fr 1fr;gap:10px}.ingredient{padding:13px;aspect-ratio:1;border-radius:18px}.ingredient b{font-size:17px}.ingredient span{font-size:10px}
  .science{display:flex;flex-direction:column}.science-image{min-height:280px}.science-image img{height:280px}.science-copy{padding:40px 7%}.science-copy h2{font-size:35px}
  .review-grid{grid-template-columns:1fr;gap:22px}.review-cards{grid-template-columns:1fr;gap:10px}.review{padding:18px}.review p{font-size:14px}
  .newsletter{padding:38px 0}.newsletter-row{display:block}.newsletter h2{font-size:30px;margin-top:8px}.newsletter form{width:100%;display:flex}.newsletter input{min-width:0;width:65%;font-size:13px}.newsletter button{width:35%;padding:0 8px;font-size:12px}
  .footer{padding:38px 0}.footer-grid{grid-template-columns:1fr 1fr;gap:25px 20px}.footer-grid>div:first-child{grid-column:1/-1}.copyright{display:block;font-size:11px}.copyright span{display:block;margin:6px 0}
  .woocommerce .site-main,.woocommerce-page .site-main{width:92%;max-width:100%}.woocommerce ul.products{grid-template-columns:1fr 1fr!important;gap:10px;margin-top:18px!important}.woocommerce ul.products li.product{width:auto!important;border-radius:16px;padding-bottom:12px}.woocommerce ul.products li.product a img{aspect-ratio:1!important;margin-bottom:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;padding:0 12px;line-height:1.1}.woocommerce ul.products li.product .price{padding:0 12px;font-size:14px}.woocommerce ul.products li.product .button{margin:4px 12px 0!important;width:calc(100% - 24px);padding:11px 8px;font-size:11px}.woocommerce .woocommerce-result-count{float:none!important;font-size:13px;margin-bottom:10px}.woocommerce .woocommerce-ordering{float:none!important;width:100%;margin-bottom:16px}.woocommerce .woocommerce-ordering select{width:100%;padding:9px;border-radius:8px}.woocommerce span.onsale{min-width:42px;min-height:42px;line-height:42px;font-size:10px}
}
@media(max-width:380px){.logo{font-size:19px}.hero-img{height:270px;min-height:270px;max-height:270px}.hero h1{font-size:39px!important}.concern{min-height:175px}.product-card h3{font-size:15px}.product-card p{font-size:10px!important}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}


/* Customer account + cart header actions */
.header-right{display:flex;align-items:center;gap:18px}
.header-actions{display:flex;align-items:center;gap:14px}
.header-action{position:relative;display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:inherit;font-size:13px;font-weight:700;white-space:nowrap}
.header-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.header-action:hover{opacity:.72}
.skinoir-cart-count{display:inline-flex!important;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#d9a85f;color:#1d0b20;font-size:10px;font-weight:800;line-height:18px;margin-left:-3px}
@media(max-width:760px){
 .header-right{gap:10px}
 .header-actions{gap:9px}
 .header-action{gap:4px;font-size:11px}
 .header-action svg{width:18px;height:18px}
 .header-action span:not(.skinoir-cart-count){display:none}
 .skinoir-cart-count{min-width:16px;height:16px;font-size:9px;line-height:16px;margin-left:-7px}
}


/* ===== V9 HEADER ACTION HARDENING ===== */
.site-header .nav{position:relative;min-height:78px;height:auto!important;max-height:none!important}
.site-header .header-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;min-width:0!important;height:auto!important}
.site-header .header-actions{display:flex!important;align-items:center!important;gap:16px!important;flex:0 0 auto!important;width:auto!important;height:auto!important}
.site-header .header-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:auto!important;height:40px!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;line-height:1!important;vertical-align:middle!important}
.site-header .header-action svg{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;flex:0 0 20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;overflow:visible!important}
.site-header .header-action>span{display:inline!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap!important}
.site-header .header-action .skinoir-cart-count{display:inline-flex!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;padding:0!important;font-size:10px!important;line-height:18px!important}
@media(max-width:760px){
 .site-header .nav{min-height:70px!important}
 .site-header .header-actions{gap:8px!important}
 .site-header .header-action{height:38px!important}
 .site-header .header-action svg{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex-basis:18px!important}
 .site-header .header-action>span:not(.skinoir-cart-count){display:none!important}
 .site-header .header-action .skinoir-cart-count{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;line-height:16px!important;font-size:9px!important}
}
