@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root{
  --cream:#fff8f0;
  --paper:#fffdf9;
  --brown:#512d24;
  --ink:#38251e;
  --muted:#8b776c;
  --line:#eadccd;
  --tan:#e9d3b8;
  --soft:#f7ecdf;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'DM Sans',sans-serif;
}

.top-note{
  background:var(--brown);
  color:#fff7ed;
  text-align:center;
  padding:9px 14px;
  font-size:11px;
  letter-spacing:.07em;
}

.site-header{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(6vw,22px);
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--brown);
}

.brand-mark {
  width: 43px;
  height: 43px;
  border: 1px solid #b58b6c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #512d24;
  color: #fff8f0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.brand-mark strong {
  display: block;
  color: #fff8f0;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0;
  visibility: visible;
  opacity: 1;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.1;
}

.brand-text strong {
  margin: 0;
  padding: 0;
  line-height: 1.1;
}

.brand-text small {
  margin: 0;
  line-height: 1.3;
}
.brand strong{
  display:block;
  font-family:'Playfair Display',serif;
  font-size:22px;
  line-height:1.1;
}

.brand small{
  display:block;
  font-size:8px;
  letter-spacing:.14em;
  margin-top:5px;
  color:var(--muted);
}

.header-order{
  font-size:13px;
  text-decoration:none;
  color:var(--brown);
  font-weight:700;
  border-bottom:1px solid #b58b6c;
  padding:8px 0;
}

.header-order span{margin-left:8px}

.hero{
  min-height:520px; 
  padding:58px max(9vw,24px);
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:35px;
  background:linear-gradient(110deg,#fff8f0 0%,#f8ebdd 100%);
  overflow:hidden;
}

.eyebrow{
  font-size:10px;
  letter-spacing:.19em;
  font-weight:700;
  color:#9b7155;
  margin:0 0 16px;
}

.hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(42px,5.5vw,68px);
  line-height:1.06;
  letter-spacing:-.035em;
  margin:0;
  color:var(--brown);
}

.hero h1 em{
  font-weight:600;
  color:#a36f4e;
}

.hero-text{
  font-size:15px;
  line-height:1.8;
  color:#79685e;
  max-width:420px;
  margin:20px 0 27px;
}

.primary-button{
  display:inline-flex;
  align-items:center;
  gap:25px;
  padding:14px 19px;
  background:var(--brown);
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  font-size:12px;
  font-weight:700;
  box-shadow:0 7px 18px #512d2420;
}

.primary-button span{font-size:18px}

.hero-art{
  height:300px;
  position:relative;
  display:grid;
  place-items:center;
}

.sun-disc{
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background:#f1d9c0;
  right:14%;
  top:8px;
}

.cake-plate{
  position:absolute;
  width:300px;
  height:35px;
  border-radius:50%;
  background:#fffdf9;
  box-shadow:0 12px 22px #68432a1b;
  bottom:28px;
  right:10%;
}

.cake{
  position:absolute;
  width:220px;
  height:150px;
  bottom:55px;
  right:23%;
  background:linear-gradient(90deg,#6d3928,#8c5037 50%,#6b3829);
  border-radius:10px 10px 20px 20px;
  box-shadow:inset -13px 0 #552b22;
}

.cake-top{
  position:absolute;
  top:-18px;
  left:0;
  width:100%;
  height:42px;
  border-radius:50%;
  background:#f8e7d5;
  border:4px solid #fff8f0;
}

.icing{
  position:absolute;
  top:7px;
  left:0;
  width:100%;
  height:22px;
  background:#f6e5d2;
  border-radius:0 0 15px 15px;
}

.cake-side{
  position:absolute;
  top:47px;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-around;
}

.cake-side i{
  width:8px;
  height:13px;
  background:#f2d7b9;
  border-radius:50%;
}

.berry{
  position:absolute;
  top:-25px;
  width:16px;
  height:18px;
  background:#9b3940;
  border-radius:60% 60% 50% 50%;
  z-index:2;
}

.berry-one{left:70px}
.berry-two{right:67px;top:-20px}

.leaf{
  position:absolute;
  top:-23px;
  width:22px;
  height:9px;
  background:#6e8152;
  border-radius:100% 0 100% 0;
  z-index:2;
}

.leaf-one{left:88px;transform:rotate(-25deg)}
.leaf-two{right:84px;transform:rotate(35deg)}

.art-caption{
  position:absolute;
  bottom:0;
  right:18%;
  font-size:9px;
  letter-spacing:.2em;
  color:#9b7155;
}

.catalogue-section{
  width:100%;
  max-width:1450px;
  padding:70px max(6vw,22px) 75px;
  margin:0 auto;
  box-sizing:border-box;
  overflow:hidden;
}

.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:26px;
}

.section-heading h2{
  font-family:'Playfair Display',serif;
  font-size:38px;
  margin:0;
  color:var(--brown);
}

.fresh-tag{
  font-size:11px;
  color:#8e735f;
  background:#f3e5d6;
  padding:9px 13px;
  border-radius:30px;
}

.toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
}

.category-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.category-chip{
  border:1px solid var(--line);
  background:transparent;
  color:#70594c;
  padding:9px 15px;
  border-radius:30px;
  font:600 11px 'DM Sans',sans-serif;
  cursor:pointer;
}

.category-chip:hover,
.category-chip.active{
  background:var(--brown);
  color:white;
  border-color:var(--brown);
}

.search-box{
  width:min(290px,100%);
  display:flex;
  align-items:center;
  gap:9px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:30px;
  padding:0 14px;
  color:#967d6d;
}

.search-box span{font-size:23px}

.search-box input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:12px 0;
  font:12px 'DM Sans',sans-serif;
  color:var(--ink);
}

.status-message{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  padding:24px 10px;
}

.status-message:empty{display:none}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}

.product-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
}

.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 25px #512d2410;
}

/* Consistent cake photo display */

.product-image{
  height:205px;
  width:100%;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.product-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  padding:0;
}

.image-placeholder{
  font-family:'Playfair Display',serif;
  font-size:52px;
  color:#b68b6b;
  opacity:.8;
}

.product-info{padding:16px}

.product-category{
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#a17a5f;
  font-weight:700;
}

.product-info h3{
  font-family:'Playfair Display',serif;
  font-size:19px;
  margin:7px 0;
  color:var(--brown);
}

.product-description{
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  min-height:35px;
  margin:0 0 13px;
}

.size-select{
  width:100%;
  border:1px solid var(--line);
  background:#fffaf5;
  padding:10px;
  border-radius:4px;
  color:var(--ink);
  font:11px 'DM Sans',sans-serif;
  margin-bottom:11px;
}

.order-button{
  width:100%;
  border:0;
  border-radius:4px;
  background:var(--brown);
  color:#fff;
  padding:12px;
  font:700 11px 'DM Sans',sans-serif;
  cursor:pointer;
}

.order-button:hover{background:#704337}
.order-button:disabled{opacity:.45;cursor:not-allowed}

.promise-strip{
  background:#f2e5d7;
  padding:28px max(7vw,22px);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.promise-strip>div{
  display:grid;
  grid-template-columns:38px 1fr;
  column-gap:10px;
  align-items:center;
}

.promise-icon{
  grid-row:span 2;
  width:36px;
  height:36px;
  border:1px solid #c6a68c;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#875d43;
  font-size:18px;
}

.promise-strip strong{
  font-family:'Playfair Display',serif;
  color:var(--brown);
  font-size:15px;
}

.promise-strip small{
  font-size:10px;
  color:#8b776c;
  margin-top:4px;
}

footer{
  text-align:center;
  padding:38px 20px;
  background:var(--paper);
}

.footer-brand{
  font:700 23px 'Playfair Display',serif;
  color:var(--brown);
  text-decoration:none;
}

footer p{
  font-size:11px;
  color:var(--muted);
}

footer small{
  font-size:10px;
  color:#a28e80;
}

/* Tablet */

@media(max-width:950px){
  .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .hero{
    padding-left:6vw;
    padding-right:6vw;
  }
}

/* Mobile */

@media(max-width:700px){
  .site-header{
    height:72px;
    padding:0 18px;
  }

  .brand strong{font-size:19px}

  .brand-mark{
    width:38px;
    height:38px;
  }

  .header-order{font-size:11px}

  .hero{
    grid-template-columns:1fr;
    padding:45px 25px 30px;
    gap:0;
  }

  .hero-art{
    height:245px;
    transform:scale(.88);
    transform-origin:center top;
    margin-bottom:-20px;
  }

  .hero h1{font-size:47px}

  .catalogue-section{padding:48px 17px}

  .section-heading{
    align-items:start;
    gap:10px;
    flex-direction:column;
  }

  .section-heading h2{font-size:32px}

  .toolbar{
    align-items:stretch;
    flex-direction:column-reverse;
  }

  .search-box{width:100%}

  .category-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:5px;
  }

  .category-chip{white-space:nowrap}

  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .product-image{height:145px}

  .product-info{padding:11px}
  .product-info h3{font-size:16px}
  .product-description{font-size:10px}

  .promise-strip{
    grid-template-columns:1fr;
    gap:17px;
    padding:25px;
  }

  .fresh-tag{align-self:start}
}

/* Very small mobile screens */

@media(max-width:360px){
  .product-grid{grid-template-columns:1fr}
  .product-image{height:190px}
}
/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: white;
  padding: 13px 19px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.22);
}

.floating-whatsapp:hover {
  background: #1da851;
}

.whatsapp-icon {
  font-size: 23px;
}

@media (max-width: 600px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 14px;
  }
}
/* FINAL CATALOGUE ALIGNMENT */
.catalogue-section {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 70px max(6vw, 22px) 75px;
  box-sizing: border-box;
}

.section-heading,
.toolbar,
.status-message,
.product-grid {
  width: 100%;
  min-width: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 950px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .catalogue-section {
    padding: 48px 17px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hero-title-line {
  white-space: nowrap;
}
/* BAKERY BITES - MOBILE HOMEPAGE FIX */

@media (max-width: 700px) {

  /* Mobile header */
  .site-header {
    height: auto !important;
    min-height: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    font-size: 9px;
    line-height: 1.5;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
  }

  /* Header navigation buttons */
  .site-header > div {
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .site-header .header-order {
    flex: 1;
    min-width: 0;
    padding: 12px 7px;
    font-size: 12px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* Hero section */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 42px 22px 20px;
    gap: 12px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(37px, 10vw, 45px);
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .primary-button {
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
    justify-content: space-between;
  }

  /* Cake illustration */
  .hero-art {
    width: 100%;
    height: 235px;
    transform: scale(0.82);
    transform-origin: center top;
    margin: 5px 0 -25px;
  }

  /* Floating WhatsApp button */
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 11px 15px;
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .site-header .header-actions {
    display: flex !important;
    width: 100%;
    gap: 10px;
    margin-top: 8px;
  }

  .site-header .header-actions .header-order {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 12px 5px;
    font-size: 12px;
    white-space: nowrap;
  }
}
/* FINAL MOBILE HEADER CORRECTION */
@media screen and (max-width: 700px) {

  header.site-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 16px !important;
    gap: 15px !important;
    box-sizing: border-box !important;
  }

  header.site-header .brand {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  header.site-header > div {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  header.site-header .header-order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 50% !important;
    min-width: 0 !important;
    padding: 12px 5px !important;
    margin: 0 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}
/* MOBILE HEADER UPDATE */
@media screen and (max-width: 700px) {
  header.site-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px !important;
    gap: 8px !important;
  }

  header.site-header .brand {
    width: auto !important;
    flex: 1 !important;
  }

  header.site-header .brand strong {
    font-size: 24px !important;
  }

  header.site-header .brand small {
    font-size: 8px !important;
  }

  header.site-header > div {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  header.site-header > div .header-order:first-child {
  display: inline-flex !important;
  }

  header.site-header > div .header-order:last-child {
    flex: 0 0 auto !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
  }
}
/* BAKERY BITES - UNIFIED PREMIUM HEADER */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
  padding: 14px 5%;
  background: #fff8f0;
  box-sizing: border-box;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.site-header .brand-mark {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #512d24;
  color: #fff8f0;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -2px;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-header .brand strong {
  color: #512d24;
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 700;
}

.site-header .brand small {
  color: #8b6b58;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .header-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 30px;
  background: #512d24;
  color: #fff8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Same header layout on mobile */
@media (max-width: 700px) {
  .site-header {
    min-height: 76px;
    padding: 12px 14px;
    gap: 8px;
  }

  .site-header .brand {
    gap: 9px;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 19px;
    border-radius: 12px;
  }

  .site-header .brand strong {
    font-size: 21px;
  }

  .site-header .brand small {
    font-size: 7px;
    letter-spacing: 0.5px;
  }

  .site-header .header-order {
    padding: 10px 12px;
    font-size: 11px;
  }
}
/* Round BB bakery logo only */
.brand-mark {
  width: 48px;
  height: 48px;
  border: 2px solid #a98261;
  border-radius: 50%;
  background: #512d24;
  color: #fff8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.brand-mark strong {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1;
  color: #fff8f0;
}

.brand-chef {
  position: absolute;
  top: -13px;
  color: #a98261;
  font-size: 18px;
}