/* Compact customer footer */
.customer-footer{
  --cf-bg:#fff9f4;
  --cf-pink:#ca4a75;
  --cf-pink-deep:#963757;
  --cf-line:#ecd4dc;
  --cf-ink:#3a2029;
  position:relative;
  margin-top:0;
  padding:0;
  border:0;
  background:var(--cf-bg);
  color:var(--cf-ink);
  text-align:left;
  font-size:15px;
  overflow:hidden;
}
.customer-footer,.customer-footer *{box-sizing:border-box}
.customer-footer__scallop{
  height:14px;
  background:
    radial-gradient(circle at 16px 16px,#fff 15px,transparent 16px) 0 -16px/32px 32px repeat-x,
    linear-gradient(#f3dce4,#f3dce4);
}
.customer-footer__main{
  padding:28px 36px 24px;
  background:var(--cf-bg);
}
.customer-footer__grid{
  width:min(1260px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.25fr .8fr 1.05fr 1.15fr;
  align-items:start;
}
.customer-footer__grid>section,
.customer-footer__grid>nav{
  min-width:0;
  padding:0 26px;
}
.customer-footer__grid>:first-child{padding-left:0}
.customer-footer__grid>:last-child{padding-right:0}
.customer-footer__grid>*+*{border-left:1px solid var(--cf-line)}
.customer-footer__logo{display:inline-flex;align-items:center;text-decoration:none}
.customer-footer__logo img{
  display:block;
  width:min(190px,100%);
  max-height:72px;
  object-fit:contain;
  object-position:left center;
}
.customer-footer__brand>p{
  max-width:250px;
  margin:10px 0 0;
  font-size:.92rem;
  line-height:1.45;
}
.customer-footer__column h2{
  margin:0 0 12px;
  color:var(--cf-pink);
  font:700 1.3rem/1.15 "Segoe Script","Brush Script MT",cursive;
}
.customer-footer__column h2 span{font-size:.75em;color:#d99bb0}
.customer-footer__column>a:not(.customer-footer__facebook-button){
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 0 8px;
  color:var(--cf-ink);
  text-decoration:none;
  font-weight:500;
  line-height:1.25;
  transition:color .15s,transform .15s;
}
.customer-footer__column>a:not(.customer-footer__facebook-button):hover{
  color:var(--cf-pink-deep);
  transform:translateX(2px);
}
.customer-footer__contact-row{display:flex;align-items:flex-start;gap:11px}
.customer-footer__contact-icon{
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#fceaf0,#f2b7c9);
}
.customer-footer__contact-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:var(--cf-ink);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.customer-footer__contact address{
  margin:0;
  font-style:normal;
  line-height:1.45;
}
.customer-footer__community>p{
  max-width:320px;
  margin:-1px 0 12px;
  line-height:1.4;
}
.customer-footer__facebook-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:7px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#ca4a75,#963757);
  color:#fff!important;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 6px 16px rgba(150,55,87,.16);
  transition:transform .15s,box-shadow .15s;
}
.customer-footer__facebook-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(150,55,87,.23)}
.customer-footer__facebook-mark{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#1877f2;
  font:900 17px/1 Arial,sans-serif;
}
.customer-footer__bottom{
  border-top:1px solid var(--cf-line);
  background:linear-gradient(90deg,#fff9f4,#fceaf0 48%,#fff7f2);
}
.customer-footer__bottom-inner{
  width:min(1260px,calc(100% - 48px));
  min-height:52px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.customer-footer__bottom-inner>p{margin:0;font-size:.82rem}
.customer-footer__facebook-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f2b7c9;
  color:#3a2029;
  text-decoration:none;
  font:900 22px/1 Arial,sans-serif;
  transition:transform .15s,background .15s,color .15s;
}
.customer-footer__facebook-icon:hover{transform:translateY(-1px);background:#1877f2;color:#fff}

@media(max-width:980px){
  .customer-footer__main{padding-inline:26px}
  .customer-footer__grid{grid-template-columns:1.1fr .9fr 1.1fr}
  .customer-footer__community{
    grid-column:1/-1;
    margin-top:22px;
    padding:18px 0 0!important;
    border-left:0!important;
    border-top:1px solid var(--cf-line);
  }
}
@media(max-width:700px){
  .customer-footer__main{padding:24px 20px 20px}
  .customer-footer__grid{grid-template-columns:1fr 1fr;row-gap:22px}
  .customer-footer__grid>section,.customer-footer__grid>nav{padding:0 18px}
  .customer-footer__grid>:nth-child(odd){padding-left:0;border-left:0}
  .customer-footer__grid>:nth-child(even){padding-right:0}
  .customer-footer__community{grid-column:1/-1;padding:16px 0 0!important}
  .customer-footer__bottom-inner{width:calc(100% - 32px);min-height:48px}
}
@media(max-width:500px){
  .customer-footer__scallop{height:10px;background-size:24px 24px;background-position:0 -12px}
  .customer-footer__main{padding:20px 18px 16px}
  .customer-footer__grid{grid-template-columns:1fr;row-gap:0}
  .customer-footer__grid>section,.customer-footer__grid>nav{
    padding:15px 0!important;
    border-left:0!important;
    border-top:1px solid var(--cf-line);
  }
  .customer-footer__grid>:first-child{padding-top:0!important;border-top:0}
  .customer-footer__logo img{width:min(170px,100%);max-height:64px}
  .customer-footer__column h2{font-size:1.18rem;margin-bottom:9px}
  .customer-footer__column>a:not(.customer-footer__facebook-button){margin-bottom:6px}
  .customer-footer__bottom-inner{min-height:46px}
  .customer-footer__bottom-inner>p{font-size:.76rem}
  .customer-footer__facebook-icon{width:31px;height:31px;font-size:20px}
}

/* ================================================================
   IMAKE — compact mobile footer, shared across customer pages
   Applies to Home, Cake Builder, Receipt, and any customer page
   which includes includes/customer-footer.php + this stylesheet.
   No desktop changes. No HTML/JS changes.
   ================================================================ */
@media (max-width: 820px) {
  .customer-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
  }
  .customer-footer__scallop {
    height: 5px;
  }
  .customer-footer__main {
    padding: 11px 15px 9px !important;
  }
  .customer-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: 0;
    gap: 7px;
    align-items: start;
  }
  .customer-footer__grid > section,
  .customer-footer__grid > nav {
    grid-column: auto;
    margin: 0 !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
  }
  .customer-footer__brand {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 11px;
  }
  .customer-footer__logo { flex: 0 0 auto; }
  .customer-footer__logo img {
    width: 57px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
  }
  .customer-footer__brand > p {
    margin: 0;
    max-width: none;
    font-size: .77rem;
    line-height: 1.28;
  }
  .customer-footer__column h2 {
    margin: 0 0 5px;
    font-size: .89rem;
    line-height: 1.15;
  }
  .customer-footer__column h2 span { display: none; }
  .customer-footer__grid > nav.customer-footer__column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.27) !important;
  }
  .customer-footer__grid > nav.customer-footer__column h2 {
    flex: 0 0 100%;
  }
  .customer-footer__column > a:not(.customer-footer__facebook-button) {
    margin: 0;
    font-size: .76rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .customer-footer__grid > .customer-footer__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 11px;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.27) !important;
  }
  .customer-footer__contact h2 { flex: 0 0 100%; }
  .customer-footer__contact-row {
    min-width: 0;
    align-items: center;
    gap: 6px;
    line-height: 1.22;
  }
  .customer-footer__contact .customer-footer__contact-row + .customer-footer__contact-row {
    margin-top: 0;
  }
  .customer-footer__contact-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
  }
  .customer-footer__contact-icon svg { width: 13px; height: 13px; }
  .customer-footer__contact-row a,
  .customer-footer__contact-row address {
    font-size: .73rem;
    line-height: 1.22;
  }
  /* Community copy repeats the Facebook shortcut in the bottom bar.
     Keep the Facebook shortcut accessible in the bottom bar. */
  .customer-footer__grid > .customer-footer__community {
    display: none !important;
  }
  .customer-footer__bottom-inner {
    width: calc(100% - 30px);
    min-height: 35px;
    gap: 8px;
  }
  .customer-footer__bottom-inner > p {
    font-size: .69rem;
    line-height: 1.15;
  }
  .customer-footer__facebook-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 17px;
  }
}

@media (max-width: 355px) {
  .customer-footer__grid > .customer-footer__contact { gap: 6px; }
  .customer-footer__main { padding-inline: 12px !important; }
}
