/* stable overrides loaded after styles.css */

:root{
  --contact-brand-icon-size:28px;
  --footer-brand-icon-size:18px;
}

/* cart button: keep the original cart logic and add the lunar icon on the left */
.cart-link-header{
  position:relative;
  min-height:46px;
  padding:0 14px 0 47px !important;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:rgba(255,255,255,.88);
  color:var(--ink);
  font-weight:600;
  gap:10px;
  box-shadow:0 10px 30px rgba(47,36,29,.06);
}

.cart-link-header:hover,
.cart-link-header:focus-visible{
  color:var(--ink);
  background:#fff;
}

.cart-link-header .cart-link-icon{
  display:block;
  position:absolute;
  left:10px !important;
  top:50% !important;
  width:30px !important;
  height:31px !important;
  transform:translateY(-52%) !important;
  font-size:0;
  line-height:0;
  color:transparent;
  background-image:url("icons/cart-moon-stars.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:29px auto !important;
  pointer-events:none;
}

.cart-link-header .cart-link-text{
  display:inline;
  line-height:1;
  white-space:nowrap;
}

.cart-link-header .cart-badge{
  min-width:24px;
  height:24px;
  padding:0 7px;
  background:var(--ink);
  color:#fff;
}

/* contact and footer logos: use the local assets directly without CSS redraws */
.contact-pill-icon.contact-pill-icon-image,
.footer-social-icon.footer-social-icon-image{
  display:inline-grid;
  place-items:center;
  background:none !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

.contact-pill-icon.contact-pill-icon-image{
  width:var(--contact-brand-icon-size) !important;
  height:var(--contact-brand-icon-size) !important;
}

.footer-social-icon.footer-social-icon-image{
  width:var(--footer-brand-icon-size) !important;
  height:var(--footer-brand-icon-size) !important;
}

.social-logo-image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

/* contact form: keep the fields white and the typed text dark */
body[data-route="index.html"] .contact-form-panel-wide .input,
body[data-route="index.html"] .contact-form-panel-wide textarea.input{
  background:#fff !important;
  color:var(--ink) !important;
  caret-color:var(--ink) !important;
  border:1px solid rgba(86,65,49,.14) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px rgba(47,36,29,.05) !important;
}

body[data-route="index.html"] .contact-form-panel-wide .input::placeholder,
body[data-route="index.html"] .contact-form-panel-wide textarea.input::placeholder{
  color:rgba(47,36,29,.46) !important;
}

body[data-route="index.html"] .contact-form-panel-wide .input:-webkit-autofill,
body[data-route="index.html"] .contact-form-panel-wide .input:-webkit-autofill:hover,
body[data-route="index.html"] .contact-form-panel-wide .input:-webkit-autofill:focus,
body[data-route="index.html"] .contact-form-panel-wide textarea.input:-webkit-autofill{
  -webkit-text-fill-color:var(--ink) !important;
  box-shadow:0 0 0 1000px #fff inset !important;
  transition:background-color 9999s ease-out 0s;
}

/* home cards: preserve the mobile layout and keep desktop spacing light and stable */
@media (max-width:759px){
  body[data-route="index.html"] .home-product-card .product-title-script{
    font-size:clamp(1.95rem, 7.4vw, 2.18rem) !important;
    line-height:.94 !important;
  }
}

@media (min-width:760px){
  body[data-route="index.html"] .home-product-card .product-copy-panel{
    gap:19px !important;
  }

  body[data-route="index.html"] .home-product-card .product-body{
    gap:15px !important;
  }

  body[data-route="index.html"] .home-product-card .product-top{
    gap:10px !important;
    min-height:0 !important;
  }

  body[data-route="index.html"] .home-product-card .product-note,
  body[data-route="index.html"] .home-product-card .product-note-wide,
  body[data-route="index.html"] .home-product-card .product-note-digital,
  body[data-route="index.html"] .home-product-card .product-note-printed,
  body[data-route="index.html"] .home-product-card .product-note-painting{
    max-width:none !important;
    min-height:3.15em !important;
    margin:0 !important;
    line-height:1.54 !important;
  }

  body[data-route="index.html"] .home-product-card .product-meta-tags{
    margin-top:6px !important;
    gap:8px !important;
    min-height:0 !important;
    align-items:flex-start !important;
  }

  body[data-route="index.html"] .home-product-card .product-price{
    margin-top:6px !important;
  }
}

@media (min-width:1024px){
  body[data-route="index.html"] .booklet-cards .home-product-card,
  body[data-route="index.html"] .painting-offer-wrap .home-product-card{
    width:min(100%, 378px) !important;
    max-width:378px !important;
  }
}

/* shared footer */
.footer[data-shared-footer="true"] .footer-social-link,
.footer .footer-social-link{
  align-items:center;
}

/* contact controls: independent hover only on the hovered button */
.contact-card{transform:none !important;}
@media (hover:hover) and (pointer:fine){
  .contact-card:hover{transform:none !important; box-shadow:var(--shadow) !important;}
  .contact-pill{transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;}
  .contact-pill:hover{transform:translateY(-1px); box-shadow:0 12px 24px rgba(47,36,29,.08);}
}

/* email icon: same visual footprint as the brand logos */
.contact-pill-icon-emoji.email-brand,
.footer-social-icon-emoji.footer-social-icon-email{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:none !important;
  border-radius:0 !important;
  line-height:1 !important;
  font-weight:400 !important;
  transform:none !important;
}
.contact-pill-icon-emoji.email-brand{
  width:var(--contact-brand-icon-size) !important;
  height:var(--contact-brand-icon-size) !important;
  font-size:1.35rem !important;
  translate:0 -1px;
}
.footer-social-icon-emoji.footer-social-icon-email{
  width:var(--footer-brand-icon-size) !important;
  height:var(--footer-brand-icon-size) !important;
  font-size:1rem !important;
  translate:0 -1px;
}

/* review cards: keep only the first names, no initials before them */
.review-name{gap:0 !important;}
.review-name::before{content:none !important; display:none !important;}

/* order confirmed page */
body[data-route="order-confirmed/index.html"] .page-hero-order-confirmed{
  padding:30px 0 12px;
}
body[data-route="order-confirmed/index.html"] .page-hero-order-confirmed .page-hero-copy{
  display:grid;
  gap:14px;
}
body[data-route="order-confirmed/index.html"] .page-hero-order-confirmed h1{
  margin:0;
}
body[data-route="order-confirmed/index.html"] .page-hero-order-confirmed p{
  max-width:42rem;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(86,65,49,.12);
  color:#6e5b4d;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 3px 10px rgba(47,36,29,.03);
}
body[data-route="order-confirmed/index.html"] .order-confirmed-section{
  padding:8px 0 34px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-layout{
  display:grid;
  gap:16px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-card,
body[data-route="order-confirmed/index.html"] .order-confirmed-help,
body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card{
  padding:22px;
  background-color:#ffffff;
  background-image:url("images/paper-texture-ambient.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-card{
  display:grid;
  gap:18px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-head{
  display:grid;
  gap:8px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-eyebrow{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  letter-spacing:.03em;
  text-transform:uppercase;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-title{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(1.95rem, 7vw, 2.45rem);
  line-height:.96;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-copy,
body[data-route="order-confirmed/index.html"] .order-confirmed-generic-body,
body[data-route="order-confirmed/index.html"] .order-confirmed-delivery,
body[data-route="order-confirmed/index.html"] .order-confirmed-help-copy{
  display:grid;
  gap:12px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-copy p,
body[data-route="order-confirmed/index.html"] .order-confirmed-generic-body p,
body[data-route="order-confirmed/index.html"] .order-confirmed-delivery p,
body[data-route="order-confirmed/index.html"] .order-confirmed-help-copy p{
  margin:0;
  color:var(--ink);
  line-height:1.65;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--ink);
  line-height:1.55;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-list li::before{
  content:"";
  width:8px;
  height:8px;
  margin-top:.5rem;
  border-radius:999px;
  flex:0 0 8px;
  background:rgba(120,86,58,.55);
}
body[data-route="order-confirmed/index.html"] .order-confirmed-email-row,
body[data-route="order-confirmed/index.html"] .order-confirmed-delivery{
  display:grid;
  gap:8px;
  padding-top:14px;
  border-top:1px solid rgba(47,36,29,.08);
}
body[data-route="order-confirmed/index.html"] .order-confirmed-label,
body[data-route="order-confirmed/index.html"] .order-confirmed-delivery-label{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  font-weight:600;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-email-link{
  width:fit-content;
  color:var(--ink);
  text-decoration:none;
  font-weight:600;
  word-break:break-word;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-email-link:hover{
  text-decoration:underline;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-note{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-help h2,
body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card h2{
  margin:0 0 12px;
  font-family:var(--serif);
  font-size:clamp(1.55rem, 5vw, 2rem);
  line-height:1;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card{
  display:grid;
  gap:16px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-actions{
  display:grid;
  gap:10px;
}
body[data-route="order-confirmed/index.html"] .order-confirmed-actions .button{
  width:100%;
}
@media(min-width:760px){
  body[data-route="order-confirmed/index.html"] .page-hero-order-confirmed{
    padding:34px 0 14px;
  }
  body[data-route="order-confirmed/index.html"] .order-confirmed-card,
  body[data-route="order-confirmed/index.html"] .order-confirmed-help,
  body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card{
    padding:26px;
  }
  body[data-route="order-confirmed/index.html"] .order-confirmed-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(min-width:1024px){
  body[data-route="order-confirmed/index.html"] .order-confirmed-layout{
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr);
    align-items:start;
  }
  body[data-route="order-confirmed/index.html"] .order-confirmed-actions-card{
    grid-column:1 / -1;
  }
}

/* v154 faq accordion */
.detail-faq-card{gap:20px}
.detail-faq-accordion{display:grid;gap:12px}
.detail-faq-accordion .detail-faq-item{
  margin:0;
  border:1px solid rgba(73,57,46,.11);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(73,57,46,.045);
  overflow:hidden;
  transition:border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.detail-faq-accordion .detail-faq-item:hover{
  border-color:rgba(73,57,46,.16);
  box-shadow:0 14px 28px rgba(73,57,46,.06);
}
.detail-faq-accordion .detail-faq-item[open]{
  border-color:rgba(73,57,46,.16);
  box-shadow:0 18px 34px rgba(73,57,46,.08);
}
.detail-faq-accordion .detail-faq-question{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px;
  margin:0;
  font-weight:600;
  font-size:1rem;
  line-height:1.5;
  background:#fff;
}
.detail-faq-accordion .detail-faq-question::-webkit-details-marker{display:none}
.detail-faq-accordion .detail-faq-question::after{
  content:'›';
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  color:rgba(47,36,29,.86);
  font-size:1.25rem;
  line-height:1;
  transform:translateY(-1px);
  transition:transform .22s ease, color .22s ease;
}
.detail-faq-accordion .detail-faq-item[open] .detail-faq-question::after{
  transform:rotate(90deg) translateX(-1px);
  color:rgba(47,36,29,.98);
}
.detail-faq-answer-wrap{
  padding:0 20px 20px;
  background:#fff;
}
.detail-faq-accordion .detail-faq-answer{
  margin:0;
  color:var(--ink);
  line-height:1.75;
}
@media (min-width:760px){
  .detail-faq-accordion{gap:14px}
  .detail-faq-accordion .detail-faq-question{padding:20px 22px}
  .detail-faq-answer-wrap{padding:0 22px 22px}
}

/* v153 more information content fill */
.detail-section-intro{margin:0;color:var(--muted);font-size:1rem;line-height:1.78;max-width:60ch}
.detail-copy-card .detail-lead,
.detail-delivery-card .detail-lead{font-size:1.06rem;color:var(--ink)}
.detail-soft-note{color:var(--muted);font-size:1rem;line-height:1.8}
.detail-proof-line{font-weight:600;color:var(--ink)}
.detail-faq-list{display:grid;gap:18px}
.detail-faq-item{display:grid;gap:8px}
.detail-faq-question{margin:0;font-weight:700;color:var(--ink);font-size:1rem;line-height:1.55}
.detail-faq-answer{margin:0;color:var(--ink);font-size:1rem;line-height:1.75}
@media (min-width:760px){
  .detail-faq-list{gap:20px}
}

/* home about section: editorial overlap for Orlando and Giulia */
/* home about section: editorial embrace for Orlando and Giulia */
body[data-route="index.html"] .about-narrow{
  max-width:1000px;
}

body[data-route="index.html"] .about-section-head{
  margin-bottom:26px;
}

body[data-route="index.html"] .about-section-head p{
  max-width:28rem;
}

body[data-route="index.html"] .about-embrace{
  position:relative;
  display:grid;
  gap:0;
  align-items:start;
  padding:4px 0 0;
}

body[data-route="index.html"] .about-card{
  position:relative;
  overflow:visible;
  padding:24px 22px;
  border-radius:32px;
  background:rgba(255,251,246,.92);
  border:1px solid rgba(86,65,49,.12);
  box-shadow:0 18px 44px rgba(47,36,29,.08), 0 2px 10px rgba(47,36,29,.04);
}

body[data-route="index.html"] .about-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background-image:url("images/paper-texture-ambient.jpg");
  background-size:cover;
  background-position:center;
  opacity:.17;
  pointer-events:none;
}

body[data-route="index.html"] .about-card > *{
  position:relative;
  z-index:2;
}

body[data-route="index.html"] .about-card-orlando{
  z-index:2;
  padding-bottom:34px;
  border-radius:34px 34px 42px 34px;
}

body[data-route="index.html"] .about-card-giulia{
  z-index:1;
  width:calc(100% - 18px);
  margin:0 0 0 auto;
  padding-top:34px;
  border-radius:42px 34px 34px 34px;
}

body[data-route="index.html"] .about-card-grid{
  display:grid;
  gap:18px;
  align-items:center;
}

body[data-route="index.html"] .about-card-grid-orlando,
body[data-route="index.html"] .about-card-grid-giulia{
  grid-template-columns:1fr;
}

body[data-route="index.html"] .about-role{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(2rem, 6vw, 2.9rem);
  line-height:.92;
}

body[data-route="index.html"] .about-role-subtitle{
  margin:0;
  color:rgba(47,36,29,.68);
  font-size:.88rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
}

body[data-route="index.html"] .about-copy{
  display:grid;
  gap:10px;
  min-width:0;
}

body[data-route="index.html"] .about-text{
  display:grid;
  gap:12px;
}

body[data-route="index.html"] .about-text p{
  margin:0;
  color:var(--ink);
  line-height:1.76;
  max-width:none;
}

body[data-route="index.html"] .about-text-large{
  max-width:35rem;
}

body[data-route="index.html"] .about-text-small{
  max-width:28rem;
}

body[data-route="index.html"] .about-portrait{
  width:140px;
  aspect-ratio:1/1;
  margin:0;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(86,65,49,.12);
  box-shadow:0 12px 26px rgba(47,36,29,.10);
  background:#fff;
}

body[data-route="index.html"] .about-portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  background:#fff;
}

body[data-route="index.html"] .about-portrait-giulia img{
  object-position:52% 24%;
}

body[data-route="index.html"] .about-bridge-note{
  position:relative;
  z-index:5;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:58px;
  margin:-2px 0 2px;
  padding:0 14px;
  pointer-events:none;
}

body[data-route="index.html"] .about-bridge-note span{
  display:inline-block;
  white-space:nowrap;
  font-family:var(--script);
  font-size:clamp(1.04rem, 4.6vw, 1.7rem);
  line-height:1;
  letter-spacing:.01em;
  color:#715846;
  transform:rotate(-2deg);
  text-shadow:0 1px 0 rgba(255,255,255,.68);
}

@media (min-width:760px){
  body[data-route="index.html"] .about-embrace{
    grid-template-columns:repeat(12, minmax(0, 1fr));
    grid-template-rows:auto auto auto;
    gap:0;
    padding:8px 0 10px;
  }

  body[data-route="index.html"] .about-card-orlando{
    grid-column:1 / span 9;
    grid-row:1;
    width:auto;
    padding-bottom:36px;
  }

  body[data-route="index.html"] .about-bridge-note{
    grid-column:5 / span 6;
    grid-row:2;
    justify-self:center;
    align-self:center;
    min-height:74px;
    margin:-2px 0 0;
    transform:translateX(4%);
  }

  body[data-route="index.html"] .about-card-giulia{
    grid-column:5 / -1;
    grid-row:3;
    width:auto;
    margin:0;
    padding-top:36px;
  }

  body[data-route="index.html"] .about-card-grid-orlando{
    grid-template-columns:176px minmax(0,1fr);
    gap:26px;
  }

  body[data-route="index.html"] .about-card-grid-giulia{
    grid-template-columns:minmax(0,1fr) 150px;
    gap:24px;
  }

  body[data-route="index.html"] .about-portrait{
    width:154px;
  }

  body[data-route="index.html"] .about-bridge-note span{
    font-size:clamp(1.28rem, 2.5vw, 2.08rem);
  }
}

@media (min-width:1024px){
  body[data-route="index.html"] .about-card{
    padding:28px 28px 30px;
  }

  body[data-route="index.html"] .about-card-grid-orlando{
    grid-template-columns:186px minmax(0,1fr);
    gap:30px;
  }

  body[data-route="index.html"] .about-card-grid-giulia{
    grid-template-columns:minmax(0,1fr) 160px;
    gap:28px;
  }

  body[data-route="index.html"] .about-portrait{
    width:164px;
  }

  body[data-route="index.html"] .about-card-orlando{
    padding-bottom:40px;
  }

  body[data-route="index.html"] .about-card-giulia{
    padding-top:40px;
  }

  body[data-route="index.html"] .about-bridge-note{
    min-height:82px;
    transform:translateX(6%);
  }

  body[data-route="index.html"] .about-bridge-note span{
    font-size:clamp(1.56rem, 2vw, 2.32rem);
  }
}

/* v164 adjustments */
body[data-route="index.html"] .about-card-orlando,
body[data-route="index.html"] .about-card-giulia{
  width:100%;
  margin-left:0;
}

@media (min-width:760px){
  body[data-route="index.html"] .about-embrace{
    grid-template-columns:1fr;
    gap:16px;
  }
  body[data-route="index.html"] .about-card-orlando,
  body[data-route="index.html"] .about-card-giulia{
    grid-column:auto;
    grid-row:auto;
    width:100%;
    margin:0;
  }
  body[data-route="index.html"] .about-bridge-note{
    grid-column:auto;
    grid-row:auto;
    justify-self:center;
    transform:none;
  }
}

