/* ערכת עיצוב: סלסלות פירות — קש קלוע, נייר קראפט, סרט פשתן ותגיות מתנה. נטענת רק בעמודים עם "theme": "basket" */
.theme-basket{
  --bk-straw:#C99A5B; --bk-straw-d:#8F6532; --bk-kraft:#D9B98C; --bk-kraft-l:#F2E3CC; --bk-linen:#F7F1E6; --bk-ink:#3D2B1A; --bk-leaf:#4E7A3A; --bk-red:#B8412E;
  --link:#9A4A1E;
  --grad:linear-gradient(100deg,#B8412E,#C99A5B);
  /* קליעת קש */
  --weave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Crect width='28' height='28' fill='%23C99A5B'/%3E%3Cpath d='M0 7h14M14 21h14' stroke='%23E2BD82' stroke-width='6'/%3E%3Cpath d='M7 0v14M21 14v14' stroke='%23A9783E' stroke-width='6'/%3E%3Cpath d='M0 0h28v28H0z' fill='none' stroke='%238F6532' stroke-opacity='.25'/%3E%3C/svg%3E");
  --tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 8c10 4 18 2 24 10' fill='none' stroke='%238F6532' stroke-width='2'/%3E%3Cpath d='M30 16l16-6 14 14-6 16-24 18-18-18z' fill='%23D9B98C' stroke='%238F6532' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='22' r='4' fill='%23F7F1E6' stroke='%238F6532' stroke-width='2'/%3E%3Cpath d='M24 38l10-8M28 44l10-8' stroke='%238F6532' stroke-width='2' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E");
  --apple:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7c-2-1.6-6-1.2-7 2.4-1 3.6 1.4 9.6 4.4 10.6 1 .3 1.8-.4 2.6-.4s1.6.7 2.6.4c3-1 5.4-7 4.4-10.6C18 5.8 14 5.4 12 7z' fill='%23B8412E'/%3E%3Cpath d='M12 7c0-2 1-3.6 3-4.4' stroke='%233D2B1A' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M13 4.8c1.6-1.6 4-1.4 5 0-1.6 1.2-3.6 1.2-5 0z' fill='%234E7A3A'/%3E%3C/svg%3E");
  background:var(--bk-linen);
}
.theme-basket .progress span{background:linear-gradient(90deg,var(--bk-straw-d),var(--bk-red))}

/* --- כותרת: נייר קראפט עם רצועת קש למטה וסרט --- */
.theme-basket .phero{
  position:relative;isolation:isolate;max-width:1232px;margin:20px auto 8px;padding:46px 44px 64px;border-radius:30px;overflow:hidden;
  background:radial-gradient(120% 100% at 80% 0%,#F7E8D0 0%,var(--bk-kraft-l) 55%,#EBD5B3 100%);
  box-shadow:0 26px 54px -32px rgba(61,43,26,.6),inset 0 0 0 1px rgba(143,101,50,.25);
}
.theme-basket .phero::before{content:"";position:absolute;bottom:0;inset-inline:0;height:26px;background:var(--weave) 0 0/28px 28px;box-shadow:inset 0 3px 0 rgba(143,101,50,.5);z-index:-1}
.theme-basket .phero::after{ /* סרט פשתן אנכי */
  content:"";position:absolute;top:0;bottom:26px;inset-inline-start:72px;width:26px;z-index:-1;
  background:linear-gradient(90deg,rgba(0,0,0,.05),transparent 30%,transparent 70%,rgba(0,0,0,.05)),#EFE6D6;box-shadow:0 0 0 1px rgba(143,101,50,.15)
}
.theme-basket .phero h1{color:var(--bk-ink)}
.theme-basket .phero .lead{color:#5B4630}
.theme-basket .phero .chip{background:var(--bk-red);color:#fff}
.theme-basket .phero-img{border-radius:20px;box-shadow:0 0 0 8px #fff,0 0 0 9px rgba(143,101,50,.35),0 24px 48px -22px rgba(61,43,26,.7);transform:rotate(-1.2deg)}

/* --- כותרות משנה עם תגית מתנה --- */
.theme-basket .body h2{display:flex;align-items:center;gap:12px;color:var(--bk-ink)}
.theme-basket .body h2::before{content:"";flex:0 0 34px;height:34px;background:var(--tag) center/contain no-repeat}

/* --- רכיבים --- */
.theme-basket .toc{border-inline-start-color:var(--bk-straw)}
.theme-basket .toc li::before{color:var(--bk-red)}
.theme-basket .ticks li::before{width:16px;height:16px;top:.4em;border-radius:0;background:var(--apple) center/contain no-repeat}
.theme-basket .steps li::before{background:var(--bk-kraft);color:var(--bk-ink);box-shadow:inset 0 0 0 2px var(--bk-straw-d)}
.theme-basket th{background:var(--bk-straw-d);color:#FFF6E8}
.theme-basket tbody tr:nth-child(even) td{background:#FBF4E8}
.theme-basket .tbl{box-shadow:0 0 0 1px rgba(143,101,50,.3),var(--sh)}
.theme-basket .tip{background:#FBEEDB;border-color:var(--bk-straw)}
.theme-basket .tip.warn{background:#F9E4DE;border-color:var(--bk-red)}
.theme-basket .tip.fact{background:#EAF0E2;border-color:var(--bk-leaf)}
.theme-basket .tip.fact::before{content:"🧺 כדאי לדעת";color:var(--bk-leaf)}
.theme-basket .keybox div{background:#fff;box-shadow:inset 0 -6px 0 var(--bk-kraft),0 8px 18px -12px rgba(61,43,26,.4)}
.theme-basket .body figure{border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(143,101,50,.25),0 18px 40px -24px rgba(61,43,26,.6)}
.theme-basket .body figure img{aspect-ratio:4/3}
.theme-basket .body figcaption{color:#6B5236;padding:10px 16px 14px}

/* ציטוט: כרטיס ברכה בכתב יד על נייר קראפט */
.theme-basket blockquote{
  position:relative;border:0;margin:48px auto 24px;max-width:640px;padding:34px 34px 28px;border-radius:8px;text-align:center;transform:rotate(-1deg);
  background:var(--bk-kraft-l);color:var(--bk-ink);font-size:23px;box-shadow:0 2px 0 #E2CBA6,0 18px 36px -24px rgba(61,43,26,.6)
}
.theme-basket blockquote::before{content:"";position:absolute;top:-14px;inset-inline-start:calc(50% - 50px);width:100px;height:26px;background:#EFE6D6;box-shadow:0 1px 2px rgba(0,0,0,.1);transform:rotate(2deg)}

/* --- רכיב חתימה: תגיות מתנה תלויות על חוט, לפי אירוע --- */
.theme-basket .bk-tags{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:26px 18px;margin:34px 0 30px;padding:26px 0 0;list-style:none}
.theme-basket .bk-tags::before{content:"";position:absolute;top:6px;inset-inline:0;height:2px;background:repeating-linear-gradient(90deg,var(--bk-straw-d) 0 6px,transparent 6px 9px);opacity:.6}
.theme-basket .bk-tags li{position:relative;margin:0;padding:30px 18px 16px;background:var(--bk-kraft-l);border-radius:6px 6px 16px 16px;
  clip-path:polygon(16% 0,84% 0,100% 12%,100% 100%,0 100%,0 12%);box-shadow:none;filter:drop-shadow(0 8px 10px rgba(61,43,26,.18))}
.theme-basket .bk-tags li:nth-child(odd){transform:rotate(-1.4deg)}
.theme-basket .bk-tags li:nth-child(even){transform:rotate(1.2deg)}
.theme-basket .bk-tags li::before{content:"";position:absolute;top:10px;left:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:var(--bk-linen);box-shadow:inset 0 0 0 2px var(--bk-straw-d)}
.theme-basket .bk-tags h3{margin:4px 0 8px;font-size:19px;text-align:center;color:var(--bk-ink)}
.theme-basket .bk-tags dl{margin:0;font-size:15px}
.theme-basket .bk-tags dt{font-weight:700;color:var(--bk-leaf);margin-top:6px}
.theme-basket .bk-tags dt.no{color:var(--bk-red)}
.theme-basket .bk-tags dd{margin:0;color:#4A3826}
.theme-basket .bk-tags .more{display:block;margin-top:10px;font-size:14px;font-weight:700;text-align:center}

.theme-basket .faq summary::after{color:var(--bk-red)}
.theme-basket .share{box-shadow:inset 0 0 0 1px rgba(143,101,50,.3),var(--sh)}

@media (max-width:900px){
  .theme-basket .phero{margin:12px 12px 4px;padding:28px 20px 50px;border-radius:26px}
  .theme-basket .phero::after{inset-inline-start:36px;width:18px}
  .theme-basket .phero-img{transform:none}
  .theme-basket .bk-tags{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .theme-basket .body h2::before{flex-basis:28px;height:28px}
  .theme-basket .bk-tags{grid-template-columns:1fr;max-width:380px;margin-inline:auto}
  .theme-basket blockquote{font-size:20px;padding:30px 20px 24px;transform:none}
}
html.a11y-contrast .theme-basket .phero,html.a11y-contrast .theme-basket blockquote,html.a11y-contrast .theme-basket .bk-tags li{background:#000!important;color:#fff!important}
