/* ICANCROCHET — About, Contact, policy pages, checkout pop-ups, cookie banner */

:root{
  --icp:#e00189; --icp-dark:#b30070; --icp-bg:#fff7fa; --icp-bg2:#fff0f5;
  --icb:#f8c8d8; --icb2:#f3c9d6; --ict:#2b2426; --ict2:#5c5057; --icm:#8b8189;
}

/* ====================================================== content pages */
.ic-page{max-width:820px;margin:0 auto;color:var(--ict);font-size:16px;line-height:1.72}
.ic-page > *:first-child{margin-top:0}
.ic-page h2{font-family:'Concert One',cursive;font-weight:400;font-size:27px;line-height:1.25;margin:38px 0 12px;color:var(--ict)}
.ic-page h3{font-size:18px;font-weight:800;margin:26px 0 8px}
.ic-page p{margin:0 0 16px}
.ic-page ul,.ic-page ol{margin:0 0 18px;padding-left:0;list-style:none}
.ic-page ol{counter-reset:icnum}
.ic-page ul li{position:relative;padding-left:26px;margin:0 0 9px}
.ic-page ul li::before{content:'';position:absolute;left:4px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--icp)}
.ic-page ol li{position:relative;padding-left:34px;margin:0 0 11px;counter-increment:icnum}
.ic-page ol li::before{content:counter(icnum);position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:50%;
  background:var(--icp-bg);border:1px solid var(--icb2);color:var(--icp);font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center}
.ic-page a{color:var(--icp);text-decoration:underline;text-underline-offset:2px}
.ic-page a:hover{color:var(--icp-dark)}
.ic-page strong{color:var(--ict)}
.ic-lede{font-size:19px;line-height:1.65;color:var(--ict2);margin:0 0 26px}
.ic-btn{display:inline-block;background:var(--icp);color:#fff!important;border-radius:99px;padding:14px 30px;
  font-size:16px;font-weight:800;text-decoration:none!important;box-shadow:0 8px 22px rgba(224,1,137,.26);
  transition:transform .15s,background .15s,box-shadow .15s}
.ic-btn:hover{background:var(--icp-dark);color:#fff!important;transform:translateY(-2px);box-shadow:0 12px 26px rgba(224,1,137,.3)}

/* page hero used by About / Contact / policies */
.ic-hero{text-align:center;max-width:820px;margin:0 auto 34px}
.ic-hero-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--icp);background:var(--icp-bg);border:1px solid var(--icb2);border-radius:99px;padding:6px 15px;margin:0 0 14px}
.ic-hero h1,.ic-hero .ic-hero-h{font-family:'Concert One',cursive;font-weight:400;font-size:42px;line-height:1.12;margin:0 0 12px}
.ic-hero p{font-size:18px;line-height:1.6;color:var(--ict2);margin:0}

/* callout / note box */
.ic-note{background:var(--icp-bg);border:1px solid var(--icb2);border-radius:16px;padding:20px 22px;margin:26px 0}
.ic-note p:last-child{margin-bottom:0}
.ic-note-t{font-size:16px;font-weight:800;margin:0 0 6px;color:var(--ict)}

/* ============================================================== ABOUT */
.ic-about-top{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:34px;align-items:center;
  max-width:960px;margin:0 auto 40px}
.ic-about-photo{position:relative}
.ic-about-photo img{width:100%;height:auto;display:block;border-radius:22px;border:1px solid var(--icb2);background:#fff}
.ic-about-badge{position:absolute;right:-10px;bottom:-14px;background:#fff;border:1px solid var(--icb2);border-radius:16px;
  padding:10px 14px;box-shadow:0 8px 22px rgba(0,0,0,.08);text-align:center;min-width:104px}
.ic-about-badge b{display:block;font-family:'Concert One',cursive;font-weight:400;font-size:22px;color:var(--icp);line-height:1}
.ic-about-badge span{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--icm);margin-top:3px}
.ic-about-intro h1{font-family:'Concert One',cursive;font-weight:400;font-size:40px;line-height:1.12;margin:0 0 14px}
.ic-about-intro p{font-size:18px;line-height:1.65;color:var(--ict2);margin:0 0 14px}
.ic-about-sign{font-family:'Concert One',cursive;font-size:22px;color:var(--icp);margin:6px 0 0!important}

.ic-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:960px;margin:0 auto 44px}
.ic-stat{background:var(--icp-bg);border:1px solid var(--icb2);border-radius:16px;padding:20px 16px;text-align:center}
.ic-stat b{display:block;font-family:'Concert One',cursive;font-weight:400;font-size:30px;color:var(--icp);line-height:1}
.ic-stat span{display:block;font-size:12.5px;color:var(--ict2);margin-top:6px;line-height:1.4}

.ic-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:960px;margin:0 auto 44px}
.ic-card{background:#fff;border:1px solid #f0e2ea;border-radius:16px;padding:22px 20px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.ic-card h3{font-family:'Concert One',cursive;font-weight:400;font-size:19px;margin:0 0 8px;color:var(--ict)}
.ic-card p{margin:0;font-size:14px;line-height:1.6;color:var(--ict2)}
.ic-card-ico{width:40px;height:40px;border-radius:12px;background:var(--icp-bg);border:1px solid var(--icb2);
  display:flex;align-items:center;justify-content:center;font-size:19px;margin:0 0 12px}

.ic-band{background:var(--icp-bg);border:1px solid var(--icb2);border-radius:22px;padding:34px 30px;text-align:center;
  max-width:960px;margin:0 auto 40px}
.ic-band h2{margin-top:0}
.ic-band p{max-width:620px;margin-left:auto;margin-right:auto;color:var(--ict2)}

/* ============================================================ CONTACT */
.ic-contact-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:26px;align-items:start;
  max-width:1020px;margin:0 auto}
.ic-cf{background:#fff;border:1px solid #f0e2ea;border-radius:20px;padding:28px;box-shadow:0 4px 20px rgba(0,0,0,.045)}
.ic-cf-ok,.ic-cf-bad{margin:0 0 18px;padding:13px 15px;border-radius:12px;font-size:14.5px;line-height:1.55}
.ic-cf-ok{background:#eef8ee;color:#25693b;border:1px solid #cfe9d6}
.ic-cf-bad{background:#fff1f2;color:#a3283a;border:1px solid #f6d0d6}
.ic-cf-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ic-cf-row{margin:0 0 15px}
.ic-cf-row label{display:block;font-size:13.5px;font-weight:700;margin:0 0 6px;color:var(--ict)}
.ic-cf-row label span{color:#d0021b}
.ic-cf-opt{color:var(--icm)!important;font-weight:400}
.ic-cf input[type=text],.ic-cf input[type=email],.ic-cf select,.ic-cf textarea{width:100%;border:1px solid #ddd3c6;
  border-radius:11px;padding:12px 13px;font-size:15px;font-family:inherit;background:#fff;color:var(--ict);line-height:1.4}
.ic-cf input:focus,.ic-cf select:focus,.ic-cf textarea:focus{outline:0;border-color:var(--icp);box-shadow:0 0 0 3px rgba(224,1,137,.15)}
.ic-cf textarea{resize:vertical;min-height:140px}
.ic-cf-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}
.ic-cf-consent{margin:2px 0 18px;font-size:12.5px;line-height:1.55;color:var(--ict2)}
.ic-cf-consent label{display:flex;gap:9px;align-items:flex-start;cursor:pointer}
.ic-cf-consent input{margin-top:3px;flex:0 0 auto;accent-color:var(--icp)}
.ic-cf-send{width:100%;background:var(--icp);color:#fff;border:0;border-radius:99px;padding:16px 24px;font-size:16.5px;
  font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(224,1,137,.26);transition:transform .15s,background .15s}
.ic-cf-send:hover{background:var(--icp-dark);transform:translateY(-2px)}
.ic-cf-note{margin:14px 0 0;font-size:12.5px;color:var(--icm);text-align:center}

.ic-contact-side{display:flex;flex-direction:column;gap:14px}
.ic-side-card{background:var(--icp-bg);border:1px solid var(--icb2);border-radius:18px;padding:20px}
.ic-side-card h3{font-family:'Concert One',cursive;font-weight:400;font-size:19px;margin:0 0 10px;color:var(--ict)}
.ic-side-card p{margin:0 0 10px;font-size:14px;line-height:1.6;color:var(--ict2)}
.ic-side-card p:last-child{margin-bottom:0}
.ic-side-card ul{list-style:none;margin:0;padding:0}
.ic-side-card li{position:relative;padding-left:22px;margin:0 0 8px;font-size:14px;line-height:1.55;color:var(--ict2)}
.ic-side-card li::before{content:'\2713';position:absolute;left:0;top:0;color:#1c9d57;font-weight:800}
.ic-side-card a{color:var(--icp)}

/* ============================================ policy pop-up (checkout) */
.ic-policy-links{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:16px 0 0;padding:14px 0 0;border-top:1px solid #f2e4ec}
.ic-policy-links li{margin:0;padding:0}
.ic-policy-links li::before{display:none}
.ic-policy-link{font-size:12px;color:var(--icm);text-decoration:underline;text-underline-offset:2px;cursor:pointer;background:none;border:0}
.ic-policy-link:hover{color:var(--icp)}

.ic-pm{position:fixed;inset:0;z-index:100000;background:rgba(30,20,26,.55);display:flex;align-items:center;
  justify-content:center;padding:24px;backdrop-filter:blur(2px)}
.ic-pm[hidden]{display:none}
body.ic-pm-lock{overflow:hidden}
.ic-pm-box{display:flex;flex-direction:column;width:100%;max-width:760px;max-height:86vh;background:#fff;
  border-radius:20px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.28)}
.ic-pm-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;
  border-bottom:1px solid #f2e4ec;background:var(--icp-bg)}
.ic-pm-title{font-family:'Concert One',cursive;font-weight:400;font-size:22px;margin:0;color:var(--ict);line-height:1.25}
.ic-pm-close{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1.5px solid var(--icb);color:#ad1457;
  font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;padding:9px 15px;
  border-radius:99px;transition:all .2s;flex:0 0 auto;line-height:1}
.ic-pm-close:hover{background:var(--icp);border-color:var(--icp);color:#fff}
.ic-pm-body{flex:1 1 auto;overflow-y:auto;padding:22px;font-size:14.5px;line-height:1.7;color:var(--ict2);-webkit-overflow-scrolling:touch}
.ic-pm-body h2{font-family:'Concert One',cursive;font-weight:400;font-size:20px;margin:24px 0 8px;color:var(--ict)}
.ic-pm-body h2:first-child{margin-top:0}
.ic-pm-body h3{font-size:15.5px;font-weight:800;margin:18px 0 6px;color:var(--ict)}
.ic-pm-body p{margin:0 0 12px}
.ic-pm-body ul,.ic-pm-body ol{margin:0 0 14px;padding-left:20px}
.ic-pm-body li{margin:0 0 7px}
.ic-pm-body a{color:var(--icp)}
.ic-pm-loading{color:var(--icm)}
.ic-pm-foot{flex:0 0 auto;padding:14px 22px;border-top:1px solid #f2e4ec;background:#fff;text-align:center}
.ic-pm-done{background:var(--icp);color:#fff;border:0;border-radius:99px;padding:12px 26px;font-size:14.5px;
  font-weight:800;cursor:pointer;transition:background .15s}
.ic-pm-done:hover{background:var(--icp-dark)}

/* ====================================================== cookie banner */
.ic-cc{position:fixed;left:0;right:0;bottom:0;z-index:99998;padding:14px}
.ic-cc[hidden]{display:none}
.ic-cc-box{position:relative;max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--icb2);
  border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.16);padding:18px 46px 18px 20px;
  display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ic-cc-text{flex:1 1 380px;min-width:0}
.ic-cc-t{margin:0 0 4px;font-size:15px;font-weight:800;color:var(--ict)}
.ic-cc-b{margin:0;font-size:12.5px;line-height:1.6;color:var(--ict2)}
.ic-cc-b a{color:var(--icp)}
.ic-cc-btns{flex:0 0 auto;display:flex;gap:10px;flex-wrap:wrap}
.ic-cc-yes,.ic-cc-no{border-radius:99px;padding:12px 22px;font-size:14px;font-weight:800;cursor:pointer;
  transition:transform .15s,background .15s,box-shadow .15s;white-space:nowrap}
.ic-cc-yes{background:var(--icp);color:#fff;border:0;box-shadow:0 6px 18px rgba(224,1,137,.26)}
.ic-cc-yes:hover{background:var(--icp-dark);transform:translateY(-1px)}
.ic-cc-no{background:#fff;color:var(--ict2);border:1.5px solid #e6d7df}
.ic-cc-no:hover{border-color:var(--icp);color:var(--icp)}
.ic-cc-x{position:absolute;top:10px;right:12px;width:28px;height:28px;border:0;border-radius:50%;background:none;
  color:var(--icm);font-size:14px;cursor:pointer;line-height:1}
.ic-cc-x:hover{background:var(--icp-bg);color:var(--icp)}
.ic-cc-reopen{position:fixed;left:14px;bottom:14px;z-index:99997;background:#fff;border:1px solid var(--icb2);
  color:var(--ict2);border-radius:99px;padding:8px 14px;font-size:11.5px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.1)}
.ic-cc-reopen[hidden]{display:none}
.ic-cc-reopen:hover{color:var(--icp);border-color:var(--icp)}

/* ============================================================= tablet */
@media (max-width:900px){
  .ic-about-top{grid-template-columns:1fr;gap:26px;text-align:center;max-width:560px}
  .ic-about-photo{max-width:280px;margin:0 auto}
  .ic-about-badge{right:0}
  .ic-cards{grid-template-columns:1fr}
  .ic-contact-grid{grid-template-columns:1fr}
}

/* ============================================================= mobile */
@media (max-width:640px){
  .ic-page{font-size:15.5px}
  .ic-page h2{font-size:23px;margin-top:30px}
  .ic-lede{font-size:17px}
  .ic-hero h1,.ic-hero .ic-hero-h,.ic-about-intro h1{font-size:30px}
  .ic-hero p{font-size:16px}
  .ic-stats{grid-template-columns:1fr;gap:10px}
  .ic-stat{display:flex;align-items:baseline;justify-content:center;gap:10px;padding:14px}
  .ic-stat b{font-size:24px}
  .ic-stat span{margin-top:0}
  .ic-band{padding:26px 18px;border-radius:18px}
  .ic-cf{padding:20px 16px;border-radius:16px}
  .ic-cf-two{grid-template-columns:1fr;gap:0}

  .ic-pm{padding:0}
  .ic-pm-box{max-width:none;max-height:100%;height:100%;border-radius:0}
  .ic-pm-head{padding:14px 16px}
  .ic-pm-title{font-size:18px}
  .ic-pm-body{padding:16px}
  .ic-pm-foot{padding:12px 16px}
  .ic-pm-done{width:100%}

  .ic-cc{padding:10px}
  .ic-cc-box{padding:16px 40px 16px 16px;gap:14px;border-radius:16px}
  .ic-cc-btns{width:100%}
  .ic-cc-yes,.ic-cc-no{flex:1 1 0;padding:13px 12px}
}

/* ======================================================== legal bar */
.ic-legal{background:#fff;border-top:1px solid #f0e2ea;padding:16px 16px 22px}
.ic-legal ul{list-style:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:6px 20px;margin:0 auto;padding:0;max-width:1080px}
.ic-legal li{margin:0;padding:0}
.ic-legal li::before{display:none}
.ic-legal a{font-size:12.5px;color:var(--icm);text-decoration:none}
.ic-legal a:hover{color:var(--icp);text-decoration:underline;text-underline-offset:2px}
.ic-fc{font-size:12px;color:var(--icm)}

/* page shells for the content pages */
body.page-template-default .ic-hero,
body.page-template-default .ic-about-top,
body.page-template-default .ic-stats,
body.page-template-default .ic-cards,
body.page-template-default .ic-band,
body.page-template-default .ic-contact-grid{clear:both}
body.page .entry-content > .ic-page,
body.page .entry-content > .ic-hero{margin-left:auto;margin-right:auto}
body.page .entry-content{max-width:1080px;margin-left:auto;margin-right:auto}

/* keep the cookie banner clear of the sticky buy bar */
body.single-product .ic-cc{bottom:74px}
@media (max-width:640px){ body.single-product .ic-cc{bottom:86px} }

/* our content pages carry their own headline */
body.ic-hero-page .entry-title,
body.ic-hero-page .ast-archive-description,
body.ic-hero-page .page-header{display:none!important}
body.ic-hero-page .site-content{background:#fffdfe}
body.ic-hero-page .site-content .ast-container{padding-top:34px;padding-bottom:44px}
body.ic-hero-page .entry-content > *:first-child{margin-top:0}
@media (max-width:640px){
  body.ic-hero-page .site-content .ast-container{padding-top:22px;padding-bottom:32px}
}

/* inside the pop-up the modal header is the title, so drop the page hero */
.ic-pm-body .ic-hero{display:none}
.ic-pm-body .ic-page{max-width:none;font-size:14.5px;line-height:1.7}
.ic-pm-body .ic-page h2{font-size:19px;margin:22px 0 8px}
.ic-pm-body .ic-page h2:first-child{margin-top:0}
.ic-pm-body .ic-note{padding:14px 16px;border-radius:12px;margin:18px 0}
.ic-pm-body .ic-note-t{font-size:14.5px}
.ic-pm-body .ic-page ul li,.ic-pm-body .ic-page ol li{margin-bottom:8px}

/* consent line reads as one sentence, not two columns */
.ic-cf-consent label{display:block;position:relative;padding-left:28px}
.ic-cf-consent input{position:absolute;left:0;top:3px;margin:0}
.ic-cf-consent a{white-space:nowrap}

/* cookie choices lives in the legal bar, clear of the currency pill */
.ic-cc-reopen{display:none!important}
.ic-cc-open-link{background:none;border:0;padding:0;font-size:12.5px;color:var(--icm);cursor:pointer;font-family:inherit}
.ic-cc-open-link:hover{color:var(--icp);text-decoration:underline;text-underline-offset:2px}

/* ------------------------------------- content pages: top spacing ------- */
/* Astra gives #primary a 60px top margin above 1200px. Stacked on the
   container padding that opened a ~118px void between the header and the
   page title on a wide screen. The hero carries the breathing room now. */
@media (min-width:1200px){
  body.ic-hero-page .site-content .ast-container{padding-top:40px}
  /* Astra prints its 60px in an inline block after this file, so the
     override needs one more class to win rather than !important. */
  body.ic-hero-page.ast-plain-container #primary,
  body.ic-hero-page.ast-plain-container .content-area.primary,
  body.ic-hero-page.ast-separate-container #primary{margin-top:0}
}

/* A phone has less room above the fold, but a title pinned right under the
   header reads as cramped, so it keeps slightly more than the desktop ratio. */
@media (max-width:768px){
  body.ic-hero-page .site-content .ast-container{padding-top:34px}
  .ic-hero{margin-bottom:26px}
}

/* ------------------------------------------- contact form control height */
/* Astra pins form controls to a fixed 40px. With 12px of padding top and
   bottom and a 21px line, the box needs 47px — so the select clipped its own
   text in half. Let the controls size to their content, with a comfortable
   minimum for thumbs. */
.ic-cf input[type=text],
.ic-cf input[type=email],
.ic-cf input[type=tel],
.ic-cf input[type=number],
.ic-cf select {
	height: auto;
	min-height: 46px;
}

.ic-cf select {
	line-height: 1.4;
}
