:root{--forest:#3F5D49;--cream:#F3EDE0;--ink:#242421;--sage:#687766;--gold:#A58A5B;--burgundy:#5A3435;--paper:#FBF8F1;--muted:#687766;--line:#D8D0C2}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,sans-serif}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
header{position:sticky;top:0;z-index:20;background:rgba(243,237,224,.94);border-bottom:1px solid var(--line)}
nav{max-width:1180px;margin:auto;padding:18px 24px;display:flex;align-items:center;gap:24px}
.logo{font:700 26px Georgia,serif;margin-right:auto}
.links{display:flex;gap:22px;font-size:13px;font-weight:700}
.links a.active,.links a:hover{color:var(--forest)}
.bag{border:0;background:var(--ink);color:white;padding:10px 15px;border-radius:999px}
.page,.hero{max-width:1180px;margin:auto;padding:58px 24px}
.hero{min-height:75vh;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;color:var(--forest);font-size:11px;font-weight:bold}
h1,h2{font-family:Georgia,serif;font-weight:400}
h1{font-size:clamp(52px,7vw,86px);line-height:.95;margin:12px 0 20px}
h2{font-size:38px}
p{color:var(--muted);line-height:1.75}
.btn{display:inline-block;padding:13px 21px;border:1px solid var(--ink);border-radius:999px;font-weight:700}
.primary{background:var(--ink);color:white}
.art{min-height:480px;border-radius:28px;background:linear-gradient(145deg,#BBC5B8,#687766);position:relative;overflow:hidden}
.art:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:#E8DDC8;right:-70px;top:-50px}
.book{position:absolute;width:230px;height:145px;background:#e6d7bd;left:18%;bottom:18%;border-radius:8px 16px 16px 8px;transform:rotate(-8deg);box-shadow:22px 24px 0 #A58A5B}
.vine{position:absolute;width:260px;height:18px;background:#687766;border-radius:999px;right:8%;bottom:25%;transform:rotate(-8deg)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product{background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.product-image{aspect-ratio:1/1;background:#000;padding:10px;display:flex;align-items:center;justify-content:center}
.product-image img{width:100%;height:100%;object-fit:contain}
.product-body{padding:20px}
.product-title{font-size:28px;margin:0 0 8px}
.row{display:flex;justify-content:space-between;align-items:center;margin:16px 0}
.add{width:100%;padding:12px;border:0;border-radius:12px;background:var(--ink);color:#fff;font-weight:700}
.card{background:var(--paper);border:1px solid var(--line);border-radius:26px;padding:38px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.dark{background:var(--ink);color:white}
.dark p{color:#D7DED7}
.email{font-size:20px;font-weight:bold;color:white}
.field{margin-bottom:16px}
.field label{display:block;font-weight:bold;font-size:13px;margin-bottom:7px}
.field input,.field textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px}
.field textarea{min-height:140px}
footer{max-width:1180px;margin:auto;padding:25px 24px 48px;color:var(--muted);font-size:12px}
.drawer{position:fixed;right:-400px;top:0;width:min(400px,100%);height:100%;background:white;z-index:50;padding:24px;transition:.3s;box-shadow:-10px 0 35px #0002}
.drawer.open{right:0}
.overlay{position:fixed;inset:0;background:#0006;display:none;z-index:40}
.overlay.open{display:block}
.close{float:right;border:0;background:none;font-size:26px}
.item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}
.total{display:flex;justify-content:space-between;font-weight:bold;margin:22px 0}
@media(max-width:800px){
  .hero,.two{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .links{display:none}
}

/* Ivy & Inklings logo */
.logo{
  display:flex;
  align-items:center;
  margin-right:auto;
  line-height:0;
}
.logo img{
  display:block;
  width:150px;
  height:62px;
  object-fit:contain;
  object-position:center;
}
.home-logo{
  display:block;
  width:min(420px, 85%);
  max-height:360px;
  object-fit:contain;
  object-position:left center;
  margin:0 0 24px;
}
@media(max-width:800px){
  .logo img{width:115px;height:52px}
  .home-logo{width:min(360px,90%)}
}

/* Ivy & Inklings brand palette refinements */
body{
  background:var(--cream);
  color:var(--ink);
}
header{
  background:rgba(243,237,224,.94);
}
.links a.active,
.links a:hover{
  color:var(--gold);
}
.eyebrow{
  color:var(--sage);
}
h1,h2,.product-title{
  color:var(--ink);
}
.dark{
  background:var(--forest);
}
.dark p{
  color:#E1E5E0;
}
.card{
  border-color:var(--line);
}
.product{
  border-color:var(--line);
}
.email:hover{
  color:var(--gold);
}
footer{
  border-top:1px solid var(--gold);
  color:var(--sage);
}
.art{
  background:
    radial-gradient(circle at 76% 16%, #E8DDC8 0 15%, transparent 15.5%),
    linear-gradient(145deg, #AEB9AC, var(--sage));
}
.book{
  background:#DDD0B8;
  box-shadow:22px 24px 0 var(--gold);
}
.vine{
  background:var(--sage);
}
.product-image{
  background:#151713;
}
.row strong,
.price{
  color:var(--forest);
}
.contact-email,
.email{
  color:#F3EDE0;
}
::selection{
  background:var(--gold);
  color:var(--ink);
}

/* Home hero: logo replaces the former decorative .art panel */
.hero-logo-panel{
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:38px;
  border-radius:28px;
  background:var(--forest);
  border:1px solid rgba(165,138,91,.45);
}
.hero-logo-panel img{
  display:block;
  width:min(100%,520px);
  height:auto;
  max-height:440px;
  object-fit:contain;
}
@media(max-width:800px){
  .hero-logo-panel{
    min-height:360px;
    padding:24px;
  }
}

/* HOME logo panel now blends into the main Antique Cream background */
.hero-logo-panel{
  background:var(--cream);
  border-color:transparent;
}

/* HOME layout: logo on top, text content below */
.hero{
  min-height:auto;
  display:flex;
  flex-direction:column-reverse;
  align-items:stretch;
  gap:34px;
  padding-top:46px;
  padding-bottom:64px;
}

.hero-logo-panel{
  order:2;
  width:100%;
  min-height:440px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px;
  background:var(--cream);
  border:3px solid var(--forest);
  border-radius:24px;
}

.hero-logo-panel img{
  width:min(100%,560px);
  max-height:410px;
  object-fit:contain;
}

.hero > div:first-child{
  order:1;
  width:100%;
  max-width:850px;
  margin:0 auto;
  text-align:center;
}

.hero > div:first-child p{
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
}

.hero > div:first-child .btn{
  margin-top:6px;
}

@media(max-width:800px){
  .hero{
    gap:26px;
    padding-top:30px;
  }
  .hero-logo-panel{
    min-height:330px;
    padding:22px;
    border-width:2px;
  }
  .hero-logo-panel img{
    max-height:290px;
  }
}

/* HOME logo: remove surrounding border */
.hero-logo-panel{
  border:none;
}

/* Shopping bag remove control */
.item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 14px;
  align-items:center;
}
.remove-item{
  grid-column:1 / -1;
  justify-self:start;
  border:0;
  background:transparent;
  padding:2px 0;
  color:var(--burgundy);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.remove-item:hover{
  color:var(--gold);
  text-decoration:underline;
}

/* Journal listing descriptions */
.product-subtitle{margin:0 0 12px;color:var(--forest);font-weight:700;line-height:1.45}
.product-body strong{color:var(--ink)}
.product-body p:last-child{margin-bottom:0}

/* Store-only shopping flow: products are viewed here, purchases happen on Amazon */
.store-cta{
  display:flex;
  justify-content:center;
  margin:28px auto 42px;
  padding:0 24px;
}
.view-store-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  text-align:center;
}

/* Disable legacy on-site cart UI if any markup remains */
.cart,
.cart-button,
.bag,
.bag-button,
.cart-drawer,
#drawer,
#overlay{
  display:none !important;
}

/* Newsletter page */
.newsletter-page{
  max-width:900px;
  margin:0 auto;
  padding:70px 24px 90px;
}
.newsletter-intro{
  max-width:680px;
  margin:0 auto 34px;
  text-align:center;
}
.newsletter-intro h1{
  margin:8px 0 14px;
}
.newsletter-card{
  max-width:680px;
  margin:0 auto;
  padding:34px;
  border:1px solid rgba(63,93,73,.28);
  border-radius:20px;
  background:rgba(255,255,255,.22);
}
.newsletter-card #mc_embed_signup{
  background:transparent !important;
  width:100% !important;
  font-family:inherit !important;
}
.newsletter-card #mc_embed_signup form{
  margin:0 !important;
}
.newsletter-card #mc_embed_signup h2{
  color:var(--forest);
  font-family:inherit;
}
.newsletter-card #mc_embed_signup .mc-field-group{
  width:100%;
}
.newsletter-card #mc_embed_signup input[type="text"],
.newsletter-card #mc_embed_signup input[type="email"]{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(63,93,73,.45);
  border-radius:8px;
  background:#fffdf8;
  color:var(--ink);
  padding:11px 12px;
}
.newsletter-card #mc_embed_signup .button{
  background:var(--forest) !important;
  color:var(--cream) !important;
  border-radius:999px !important;
  padding:0 24px !important;
}
.newsletter-card #mc_embed_signup .button:hover{
  background:var(--sage) !important;
}
@media(max-width:700px){
  .newsletter-page{padding:45px 18px 70px;}
  .newsletter-card{padding:22px 18px;}
}

/* Individual journal detail pages */
.product-card-link{
  display:block;
}
.product-title-link{
  color:inherit;
  text-decoration:none;
}
.product-title-link:hover{
  color:var(--forest);
}
.product-details-btn{
  margin-top:6px;
}
.individual-product-page{
  max-width:1100px;
  margin:0 auto;
  padding:58px 24px 90px;
}
.back-link{
  display:inline-block;
  margin-bottom:28px;
  color:var(--forest);
  font-weight:700;
  text-decoration:none;
}
.back-link:hover{
  color:var(--sage);
}
.individual-product{
  display:grid;
  grid-template-columns:minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap:56px;
  align-items:start;
}
.individual-product-image-wrap{
  background:rgba(255,255,255,.22);
  border-radius:20px;
  padding:24px;
}
.individual-product-image{
  display:block;
  width:100%;
  max-width:520px;
  margin:0 auto;
  border-radius:8px;
}
.individual-product-copy h1{
  margin:6px 0 10px;
}
.individual-product-copy p{
  line-height:1.72;
}
.buy-now-btn{
  margin-top:14px;
}
@media(max-width:820px){
  .individual-product{
    grid-template-columns:1fr;
    gap:30px;
  }
}

/* Fixed links from Books & Journals listings to individual journal pages */
.product-card-image-link{
  display:block;
  text-decoration:none;
}
.product-card-image-link img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-title-link{
  color:inherit;
  text-decoration:none;
}
.product-title-link:hover,
.product-title-link:focus{
  color:var(--forest);
  text-decoration:underline;
}
.product-card-action{
  margin:18px 0 0;
}
.product-details-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

/* Consistent links and buttons for product listings */
.product-card-image-link{display:block;text-decoration:none;}
.product-card-image-link img{display:block;width:100%;height:100%;object-fit:contain;}
.product-title-link{color:inherit;text-decoration:none;}
.product-title-link:hover,.product-title-link:focus{color:var(--forest);text-decoration:underline;}
.product-card-action{margin:18px 0 0;}
.product-details-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;}

.spooky-detail-page .individual-product-image-wrap{max-width:340px;width:100%;justify-self:center}
.spooky-detail-page .individual-product-image{width:100%;max-width:320px;height:320px;object-fit:contain}

/* Final book cover consistency */
.product-image{aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.product-image img{display:block;width:100% !important;height:100% !important;max-width:360px;max-height:360px;object-fit:contain !important;margin:auto;}
.individual-product-image-wrap{display:flex;align-items:flex-start;justify-content:center;}
.individual-product-image{display:block;width:100%;max-width:430px;height:auto;object-fit:contain;}
