/*
 * TAARARA Playful Edition / visual-only v0.1
 * Scope: ONLY presentation. No markup, strings, products, routes, prices,
 * forms, WooCommerce business logic, payment or shipping changes.
 * Reference inspiration: cheerful character-led storefronts; original mascot.
 */
:root{
 --ta-bg:#fffaf4;
 --ta-surface:#fffefb;
 --ta-surface-2:#fff2e5;
 --ta-rose:#db817f;
 --ta-rose-2:#ed9d96;
 --ta-rose-3:#f8d4c6;
 --ta-ink:#493c38;
 --ta-muted:#76645e;
 --ta-border:#eeded1;
 --ta-green:#8ab49b;
 --ta-yellow:#f2c96d;
 --ta-rose-dark:#a55b65;
 --ta-focus:rgba(218,126,130,.30);
 --ta-shadow:0 17px 42px rgba(111,84,63,.11);
 --ta-shadow-soft:0 8px 20px rgba(111,84,63,.07);
 --ta-r-md:23px;
 --ta-r-lg:36px;
 --ta-joy-cream:#fff6e8;
 --ta-joy-mint:#e5f4e8;
 --ta-joy-peach:#ffebe3;
}
body.taarara-v1{background:var(--ta-bg);color:var(--ta-ink)}
.ta-announcement{background:#af6b76}
.ta-announcement__inner{min-height:37px}
.ta-header{
 background:rgba(255,250,244,.97);
 border-bottom:1px solid #eddbd1;
 box-shadow:0 9px 24px rgba(111,84,63,.055);
 backdrop-filter:blur(13px);
 overflow:visible;
}
.ta-header__bar{min-height:82px}
.ta-brand img{box-shadow:0 6px 14px rgba(153,100,88,.13)}
.ta-brand__text strong{color:#a75f6a}
.ta-nav ul{gap:2px;overflow:visible}
.ta-nav li{position:relative}
.ta-nav a{
 position:relative;
 z-index:2;
 border-radius:999px;
 padding-inline:16px;
 transition:background-color .18s,color .18s,transform .18s;
}
.ta-nav a:hover,.ta-nav a:focus-visible,.ta-nav .current-menu-item>a{
 background:#ffe9df;
 color:#8f535b;
 transform:translateY(-1px);
}
/* Original little yarn friend peeks out of each menu item on pointer or keyboard focus. */
.ta-nav li::before{
 content:"";
 position:absolute;
 z-index:1;
 width:65px;height:69px;
 top:-53px;left:50%;
 background:url("../brand/taarara-yarn-mascot-v1.svg") center / contain no-repeat;
 opacity:0;pointer-events:none;
 transform:translate(-50%,16px) rotate(-10deg) scale(.85);
 transition:transform .3s cubic-bezier(.2,1.2,.35,1),opacity .2s ease;
}
.ta-nav li:hover::before,.ta-nav li:focus-within::before{
 opacity:1;
 transform:translate(-50%,-1px) rotate(7deg) scale(1);
}
.ta-icon-btn{
 background:#fffdfa;
 border-color:#eddbd1;
 transition:transform .2s,background-color .2s,border-color .2s;
}
.ta-icon-btn:hover,.ta-icon-btn:focus-visible{background:#ffede5;border-color:#e8b9ad;transform:translateY(-2px)}
.ta-search input{background:#fffefc;border-color:#eddbd1}
.ta-search input:focus{border-color:#cf8584}
.ta-drawer__panel{background:#fffaf4}
.ta-drawer__panel nav a{background:#fffdfa;border-color:#f0ded1;border-radius:16px}
.ta-drawer__panel nav a:hover,.ta-drawer__panel nav a:focus-visible{background:#ffede5}
.ta-drawer__panel::after{
 content:"";pointer-events:none;
 display:block;
 position:absolute;bottom:32px;left:14px;
 width:70px;height:75px;
 opacity:.96;
 background:url("../brand/taarara-yarn-mascot-v1.svg") center/contain no-repeat;
 transform:rotate(-8deg);
}
.ta-drawer__social{padding-left:55px}
.ta-ed-home{background:var(--ta-bg)}
.ta-ed-hero__frame{
 border-radius:38px;
 border-color:#e9d9cd;
 background:radial-gradient(circle at 86% 18%,#f8eed7 0,transparent 30%),linear-gradient(145deg,#fffcf6 0%,#fff0e8 100%);
 box-shadow:0 18px 45px rgba(112,77,65,.095);
}
.ta-ed-hero__visual{border-radius:26px}
.ta-ed-hero__copy{position:relative;z-index:2}
.ta-ed-hero__title{color:#77504f}
.ta-ed-hero__badge{border-radius:20px}
.ta-ed-story__statement,.ta-ed-story__note,.ta-ed-live__bar,.ta-ed-custom__frame,.ta-ed-social__frame,.ta-ed-family__card{
 border-radius:28px;
 box-shadow:0 12px 28px rgba(105,73,61,.065);
}
.ta-ed-cats__grid{gap:15px}
.ta-ed-cat{
 border-radius:25px;
 border:1px solid #e8d8c8;
 background-color:#fffefc;
 box-shadow:0 9px 22px rgba(111,84,63,.07);
 transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.ta-ed-cat:nth-child(4n+1){background-color:#fff4eb}
.ta-ed-cat:nth-child(4n+2){background-color:#eff9ee}
.ta-ed-cat:nth-child(4n+3){background-color:#fff6e2}
.ta-ed-cat:nth-child(4n){background-color:#faeff1}
.ta-ed-cat:hover,.ta-ed-cat:focus-within{
 transform:translateY(-5px) rotate(-.6deg);
 border-color:#e0b6aa;
 box-shadow:0 17px 30px rgba(111,84,63,.12);
}
.ta-ed-product,.ta-product{
 border-radius:25px;
 border:1px solid #edddce;
 background:#fffdfa;
 box-shadow:0 8px 24px rgba(105,73,61,.055);
 transition:transform .22s ease,box-shadow .22s ease;
}
.ta-ed-product:hover,.ta-product:hover{
 transform:translateY(-4px);
 box-shadow:0 16px 30px rgba(105,73,61,.10);
}
.ta-ed-product__media,.ta-product__media{background:#fff4ed}
.ta-ed-product__img img,.ta-product__media img{transition:transform .32s ease}
.ta-ed-product:hover .ta-ed-product__img img,.ta-product:hover .ta-product__media img{transform:scale(1.025)}
.ta-ed-custom__frame{
 border-color:#f0dccd;
 background:linear-gradient(135deg,#fff6ea,#ffede7);
}
.ta-ed-steps{gap:12px}
.ta-ed-step{border-radius:20px}
.ta-ed-live__bar{background:linear-gradient(135deg,#eff9ed,#fffbec)}
.ta-ed-family__card{background-color:#fffdfa}
.ta-btn{--btn-a:#dd8d8b;--btn-b:#cd737d}
.ta-btn--light{--btn-a:#f7d5c6;--btn-b:#eeb5ab}
.ta-btn:focus-visible,.ta-icon-btn:focus-visible,.ta-nav a:focus-visible,.ta-ed-cat:focus-visible{
 outline:3px solid #9c6665;
 outline-offset:3px;
}
.ta-form-shell,.ta-tracking-card{border-radius:29px;border-color:#efdfd4}
.ta-footer{background:#f8efe6;border-color:#eadad0}
.ta-footer__bottom{border-color:#e8d5cd}
@media(max-width:859px){
 .ta-header__bar{min-height:72px}
 .ta-nav li::before{display:none}
 .ta-drawer__panel::after{width:57px;height:60px;bottom:22px}
}
@media(max-width:620px){
 .ta-ed-hero__frame{border-radius:26px}
 .ta-ed-cat,.ta-ed-product,.ta-product{border-radius:19px}
 .ta-ed-cats__grid{gap:10px}
 .ta-ed-product:hover,.ta-product:hover,.ta-ed-cat:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
 .ta-nav li::before,.ta-nav a,.ta-icon-btn,.ta-ed-cat,.ta-ed-product,.ta-product,.ta-ed-product__img img,.ta-product__media img{
  transition:none!important;animation:none!important;
 }
 .ta-ed-product:hover,.ta-product:hover,.ta-ed-cat:hover{transform:none}
}


/* Playful identity: replace the old woven-pill navigation and striped buttons. */
.ta-header .ta-nav ul{
 background:#fffdfa;
 border:1px solid #eddbd0;
 box-shadow:0 6px 18px rgba(101,72,62,.08);
 gap:5px;padding:5px;
}
.ta-header .ta-nav a{
 color:#73514c;
 text-shadow:none;
 border:1px solid transparent;
 border-radius:16px;
 font-weight:750;
 letter-spacing:0;
}
.ta-header .ta-nav a::after{display:none}
.ta-header .ta-nav a:hover,.ta-header .ta-nav li:focus-within>a{
 background:#ffe7d9;
 color:#7f5050;
 box-shadow:0 2px 8px rgba(158,104,89,.09);
}
body.taarara-v1 .ta-btn{
 background:linear-gradient(135deg,#da888b,#bd7285);
 border:1px solid #c97980;
 box-shadow:0 7px 15px rgba(153,84,88,.14);
 color:#fff;
}
body.taarara-v1 .ta-btn::before{background:none;opacity:0}
body.taarara-v1 .ta-btn--light{
 background:linear-gradient(135deg,#ffeddb,#fce0d2);
 border-color:#efd0c0;
 box-shadow:0 4px 12px rgba(153,84,88,.07);
 color:#87595b;
}
body.taarara-v1 .ta-btn--plain{
 background:#fffdfa;
 color:#8e5b63;
 border-color:#edd6cd;
 box-shadow:none;
}
/* A visible little mascot is the new hero signature even before a hover. */
.ta-ed-hero__frame{position:relative;overflow:visible}
.ta-ed-hero__frame::after{
 content:"";
 position:absolute;
 z-index:4;
 top:-30px;
 left:39%;
 width:110px;height:116px;
 background:url("../brand/taarara-yarn-mascot-v1.svg") center/contain no-repeat;
 pointer-events:none;
 filter:drop-shadow(0 8px 9px rgba(134,96,74,.16));
 transform:rotate(-13deg);
}
.ta-ed-hero__title{
 color:#714d4c;
 font-weight:850;
 line-height:1.12;
 letter-spacing:-.5px;
}
.ta-ed-hero__title em{color:#d37e84}
.ta-ed-story__statement{background:#f6f8ed}
.ta-ed-story__note{background:#fff2e4}
.ta-ed-hero__visual{box-shadow:0 12px 28px rgba(117,91,67,.07)}
.ta-ed-cat__index{color:#b66c73}
.ta-ed-products__head{color:#493c38}
@media(max-width:859px){
 .ta-ed-hero__frame::after{left:20px;top:-22px;width:80px;height:85px;transform:rotate(13deg)}
}
@media(max-width:620px){
 .ta-ed-hero__frame::after{left:10px;top:-15px;width:65px;height:70px}
}

/* Small-screen heading: keep the exact text, never orphan Persian glyphs. */
@media(max-width:620px){
 .ta-ed-hero__title{
  font-size:clamp(28px,8.2vw,38px);
  line-height:1.28;
  letter-spacing:0;
 }
 .ta-ed-hero__title>span,.ta-ed-hero__title>em{
  white-space:nowrap;
  max-width:100%;
 }
 .ta-ed-hero__copy{min-width:0}
}


/* Fix inherited RTL mobile overflow: legacy honeypot used left:-10000px.
   Keep the field hidden and operational, without expanding the document width. */
.ta-honeypot {
 position:absolute!important;
 left:0!important;
 right:auto!important;
 width:1px!important;
 height:1px!important;
 clip:rect(0,0,0,0);
 clip-path:inset(50%);
 overflow:hidden;
 opacity:0;
 pointer-events:none;
}
