/*
Theme Name: SM Home Bakes Premium
Theme URI: https://smhomebakes.in
Author: SM Home Bakes
Description: Custom WordPress theme converted from the SM Home Bakes HTML website.
Version: 6.11.0 Mobile-First UI Polish
Text Domain: sm-home-bakes
*/
:root{--brown:#4a250d;--pink:#ea6577;--light:#fff8f2;--cream:#fff1e8;--text:#2d1a11;--shadow:0 20px 55px rgba(74,37,13,.14)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Poppins,Arial,sans-serif;color:var(--text);background:linear-gradient(135deg,#fffaf6,#fff1f4)}a{text-decoration:none;color:inherit}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,248,242,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(74,37,13,.08)}.nav{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:12px 22px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--brown)}.brand img{width:54px;height:54px;object-fit:contain;border-radius:50%}.nav-links{display:flex;gap:24px;align-items:center;font-weight:500}.nav-cta,.btn{border-radius:999px;padding:12px 22px;font-weight:700}.nav-cta,.primary{background:var(--pink);color:white;box-shadow:0 12px 26px rgba(234,101,119,.32)}.secondary{border:2px solid var(--brown);color:var(--brown)}.menu-toggle{display:none;background:none;border:0;font-size:30px;color:var(--brown)}.hero{max-width:1180px;margin:auto;min-height:calc(100vh - 80px);display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:60px 22px}.eyebrow,.section-heading p{color:var(--pink);font-weight:700;letter-spacing:.12em;text-transform:uppercase}.hero h1{font-family:'Playfair Display',serif;font-size:clamp(44px,7vw,88px);line-height:1;margin:12px 0;color:var(--brown)}.hero h1 span{display:block;font-family:'Great Vibes',cursive;color:var(--pink);font-weight:400}.hero-text{font-size:18px;line-height:1.8;max-width:620px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.hero-card{background:white;border-radius:40px;padding:28px;box-shadow:var(--shadow);border:1px solid rgba(234,101,119,.2)}.hero-card img{width:100%;display:block}.section{max-width:1180px;margin:auto;padding:80px 22px}.soft-bg{max-width:none;background:rgba(255,255,255,.55)}.soft-bg>*{max-width:1180px;margin-left:auto;margin-right:auto}.section-heading{text-align:center;margin-bottom:34px}.section-heading h2{font-family:'Playfair Display',serif;color:var(--brown);font-size:clamp(32px,4vw,52px);margin:8px 0}.category-grid,.menu-grid,.review-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category-grid article,.menu-item,.review-grid blockquote,.contact-card,.about-card{background:white;border-radius:28px;padding:28px;box-shadow:var(--shadow);border:1px solid rgba(74,37,13,.08)}.category-grid article{font-size:40px}.category-grid h3{font-size:21px;color:var(--brown)}.category-grid p{font-size:15px;line-height:1.6}.menu-grid{grid-template-columns:repeat(3,1fr)}.menu-item{display:flex;justify-content:space-between;gap:14px;font-size:17px}.menu-item strong{color:var(--pink);white-space:nowrap}.note{text-align:center;margin-top:24px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-grid div{height:220px;border-radius:30px;background:linear-gradient(135deg,var(--brown),var(--pink));color:white;display:flex;align-items:end;padding:26px;font-size:22px;font-family:'Playfair Display',serif;font-weight:700;box-shadow:var(--shadow)}.about-card{display:grid;grid-template-columns:320px 1fr;gap:36px;align-items:center}.about-card img{width:100%}.about-card h2{font-family:'Playfair Display',serif;color:var(--brown);font-size:42px}.about-card p{line-height:1.8}.signature{font-family:'Great Vibes',cursive;font-size:36px!important;color:var(--pink)}.review-grid{grid-template-columns:repeat(3,1fr)}blockquote{margin:0;line-height:1.8}.order-form{max-width:760px!important;display:grid;gap:16px;background:white;padding:28px;border-radius:30px;box-shadow:var(--shadow)}input,select,textarea{width:100%;padding:16px 18px;border:1px solid rgba(74,37,13,.18);border-radius:16px;font:inherit;background:#fffaf6}textarea{min-height:120px;resize:vertical}button{border:0;cursor:pointer;font:inherit}.contact-card{text-align:center;max-width:720px;margin:auto}.contact-card h2{font-family:'Playfair Display',serif;color:var(--brown);font-size:38px}.whatsapp{position:fixed;right:22px;bottom:22px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:white;font-size:30px;box-shadow:0 12px 30px rgba(0,0,0,.22);z-index:30}footer{text-align:center;padding:28px;background:var(--brown);color:white}@media(max-width:900px){.menu-toggle{display:block}.nav-links{position:absolute;top:78px;left:0;right:0;background:white;display:none;flex-direction:column;padding:22px}.nav-links.open{display:flex}.hero{grid-template-columns:1fr;text-align:center}.hero-text{margin:auto}.hero-actions{justify-content:center}.category-grid,.menu-grid,.gallery-grid,.review-grid{grid-template-columns:1fr 1fr}.about-card{grid-template-columns:1fr;text-align:center}.about-card img{max-width:280px;margin:auto}}@media(max-width:560px){.brand span{font-size:14px}.category-grid,.menu-grid,.gallery-grid,.review-grid{grid-template-columns:1fr}.gallery-grid div{height:160px}.hero{padding-top:34px}.hero-card{border-radius:26px;padding:16px}.section{padding:56px 18px}}

/* v1.1 enhancements */
.nav-links .nav-menu{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0}.nav-links .menu-item a{font-weight:500;color:var(--text);padding:0;background:transparent!important;box-shadow:none!important;border-radius:0!important}.nav-links .menu-item a:hover{color:var(--pink)}.nav-links a.nav-cta{border-radius:999px;padding:12px 22px;font-weight:700;background:var(--pink);color:white!important;box-shadow:0 12px 26px rgba(234,101,119,.32)}.brand .custom-logo{width:54px;height:54px;object-fit:contain;border-radius:50%}.hero-card img{border-radius:22px;max-height:620px;object-fit:contain}.btn,.nav-cta{transition:transform .2s ease, box-shadow .2s ease}.btn:hover,.nav-cta:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(234,101,119,.38)}.whatsapp{transition:transform .2s ease}.whatsapp:hover{transform:scale(1.08)}
@media(max-width:900px){.nav-links .nav-menu{flex-direction:column}.nav-links.open{display:flex}.nav-links.open .nav-menu{display:flex}.nav-links{box-shadow:0 20px 40px rgba(74,37,13,.12)}}


/* v1.2 product showcase */
.hero-cake-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fff8f2)}.hero-badge{position:absolute;left:28px;bottom:28px;background:rgba(255,255,255,.92);color:var(--brown);border:1px solid rgba(234,101,119,.25);box-shadow:0 14px 36px rgba(74,37,13,.14);border-radius:999px;padding:12px 18px;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{background:white;border-radius:28px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(74,37,13,.08);transition:transform .22s ease,box-shadow .22s ease}.product-card:hover{transform:translateY(-6px);box-shadow:0 26px 70px rgba(74,37,13,.18)}.product-image{height:205px;background:#fff8f2;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.product-body{padding:20px}.product-tag{display:inline-block;background:#fff1f4;color:var(--pink);font-size:12px;font-weight:800;border-radius:999px;padding:7px 11px;margin-bottom:10px;letter-spacing:.04em;text-transform:uppercase}.product-body h3{font-family:'Playfair Display',serif;color:var(--brown);font-size:22px;margin:4px 0 8px}.product-body p{font-size:14px;line-height:1.6;margin:0 0 18px}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-footer strong{color:var(--pink);white-space:nowrap}.mini-order{border:0;border-radius:999px;background:var(--brown);color:#fff;padding:10px 15px;font-weight:700;cursor:pointer;transition:transform .2s ease,background .2s ease}.mini-order:hover{transform:translateY(-2px);background:var(--pink)}.gallery-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.gallery-photo{position:relative;border-radius:26px;overflow:hidden;height:220px;box-shadow:var(--shadow);background:white}.gallery-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.gallery-photo:hover img{transform:scale(1.06)}.gallery-photo span{position:absolute;left:14px;right:14px;bottom:14px;background:rgba(255,255,255,.9);border-radius:18px;padding:10px 12px;color:var(--brown);font-weight:800;text-align:center}.products .note{max-width:860px;margin-left:auto;margin-right:auto;line-height:1.7;color:#6b4a3a}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.gallery-photo-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.product-grid{grid-template-columns:repeat(2,1fr)}.gallery-photo-grid{grid-template-columns:repeat(2,1fr)}.product-image{height:180px}}@media(max-width:560px){.product-grid,.gallery-photo-grid{grid-template-columns:1fr}.product-image,.gallery-photo{height:220px}.hero-badge{position:static;margin-top:14px;text-align:center}}

/* v1.3 real admin cake catalog */
.category-link-grid .category-card{background:white;border-radius:28px;padding:28px;box-shadow:var(--shadow);border:1px solid rgba(74,37,13,.08);display:block;transition:transform .22s ease, box-shadow .22s ease}.category-link-grid .category-card:hover{transform:translateY(-5px);box-shadow:0 26px 70px rgba(74,37,13,.18)}.category-link-grid .category-card span{font-size:40px}.category-link-grid .category-card h3{font-size:21px;color:var(--brown)}.category-link-grid .category-card p{font-size:15px;line-height:1.6}.product-weights{font-size:13px!important;color:#6b4a3a;margin-top:-8px!important}.single-cake{max-width:1180px;margin:auto;padding:70px 22px;display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:start}.single-cake-image{background:#fff;border-radius:34px;box-shadow:var(--shadow);padding:18px;border:1px solid rgba(234,101,119,.18)}.single-cake-image img{width:100%;border-radius:24px;display:block}.single-cake-content .product-tag{margin-bottom:18px}.single-cake-content h1{font-family:'Playfair Display',serif;color:var(--brown);font-size:clamp(42px,6vw,72px);line-height:1;margin:0 0 18px}.cake-price{font-size:28px;color:var(--pink);font-weight:800;margin:20px 0}.cake-meta{background:#fff;border-radius:24px;padding:20px;box-shadow:var(--shadow);margin:22px 0}.cake-meta p{margin:8px 0}.archive-header{text-align:center;padding:70px 22px 20px}.archive-header h1{font-family:'Playfair Display',serif;color:var(--brown);font-size:clamp(42px,6vw,72px);margin:0}.admin-note{background:#fff8f2;border:1px dashed rgba(234,101,119,.45);border-radius:24px;padding:18px;margin-top:18px;text-align:center;color:#6b4a3a}
@media(max-width:850px){.single-cake{grid-template-columns:1fr}.single-cake-content{text-align:center}.cake-meta{text-align:left}}


/* v2.0 business settings + polish */
.contact-card a{color:var(--pink);font-weight:700}.contact-card p{line-height:1.7}.product-card .product-image img[src$='.svg']{object-fit:contain;padding:18px}.wp-admin .column-thumbnail img{border-radius:8px;object-fit:cover}.nav-links a:hover{color:var(--pink)}


/* v2.1 bug fixes: stable logo, fixed menu links, cleaner admin-flow UX */
.brand .custom-logo-link{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 54px;overflow:hidden;border-radius:50%}
.brand .custom-logo,.brand img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;border-radius:50%;display:block}
.nav-links{display:flex;gap:24px;align-items:center;font-weight:500}
.nav-links a{display:inline-flex;align-items:center;white-space:nowrap}
.nav-links a.nav-cta{border-radius:999px;padding:12px 22px;font-weight:700;background:var(--pink);color:white!important;box-shadow:0 12px 26px rgba(234,101,119,.32)}
.category-card{text-decoration:none;color:inherit}.category-card:focus,.product-card a:focus,.btn:focus{outline:3px solid rgba(234,101,119,.35);outline-offset:4px}
.single-cake-content .btn.primary{display:inline-flex;margin-top:8px}.back-link{display:inline-flex;margin-top:14px;color:var(--brown);font-weight:700}.back-link:hover{color:var(--pink)}
@media(max-width:900px){.nav-links{position:absolute;top:78px;left:0;right:0;background:white;display:none;flex-direction:column;padding:22px}.nav-links.open{display:flex}.nav-links a.nav-cta{width:auto}.brand .custom-logo-link,.brand .custom-logo,.brand img{width:48px!important;height:48px!important}}


/* v2.2 editable cake details + category images */
.category-thumb{width:64px;height:64px;object-fit:cover;border-radius:18px;display:block;margin-bottom:18px;box-shadow:0 12px 24px rgba(74,37,13,.12)}.cake-price del{color:#9a7a67;margin-right:10px;font-size:.75em}.cake-price .offer{color:var(--pink)}.cake-meta .muted{color:#6b4a3a}.admin-hint{font-size:13px;color:#6b4a3a;background:#fff8f2;border-radius:14px;padding:10px 12px;margin:10px 0}


/* v2.7 menu design fix: WordPress menu works, but only Order Now is a pink button */
.nav-links{display:flex;gap:24px;align-items:center;font-weight:500}
.nav-links .nav-menu{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0}
.nav-links .menu-item a{display:inline-flex;align-items:center;white-space:nowrap;font-weight:500;color:var(--text)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.nav-links .menu-item a:hover{color:var(--pink)!important}
.nav-links a.nav-cta{border-radius:999px!important;padding:12px 22px!important;font-weight:700!important;background:var(--pink)!important;color:#fff!important;box-shadow:0 12px 26px rgba(234,101,119,.32)!important}
@media(max-width:900px){.nav-links .nav-menu{flex-direction:column}.nav-links.open{display:flex}.nav-links.open .nav-menu{display:flex}}


/* v2.8 final header menu style: keep WordPress menu editable but slim like original */
.site-header .nav-links{display:flex!important;gap:24px!important;align-items:center!important;font-weight:500!important}
.site-header .nav-links .nav-menu{display:flex!important;gap:24px!important;align-items:center!important;list-style:none!important;margin:0!important;padding:0!important}
.site-header .nav-links .nav-menu li,
.site-header .nav-links .nav-menu li.menu-item{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-size:inherit!important;line-height:normal!important;display:list-item!important}
.site-header .nav-links .nav-menu li a{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;font-weight:500!important;color:var(--text)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;border:0!important}
.site-header .nav-links .nav-menu li a:hover{color:var(--pink)!important}
.site-header .nav-links a.nav-cta{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:12px 22px!important;font-weight:700!important;background:var(--pink)!important;color:#fff!important;box-shadow:0 12px 26px rgba(234,101,119,.32)!important;border:0!important}
@media(max-width:900px){.site-header .nav-links{position:absolute;top:78px;left:0;right:0;background:white;display:none!important;flex-direction:column!important;padding:22px!important}.site-header .nav-links.open{display:flex!important}.site-header .nav-links .nav-menu{flex-direction:column!important}}


/* v3.0 menu dropdown + live-ready header fixes */
.site-header .nav-links .nav-menu li.menu-item-has-children{position:relative!important;}
.site-header .nav-links .nav-menu li.menu-item-has-children > a::after{content:" ▾";font-size:.8em;color:var(--pink);margin-left:4px;}
.site-header .nav-links .nav-menu .sub-menu{
  position:absolute!important;
  top:calc(100% + 16px)!important;
  left:0!important;
  min-width:240px!important;
  display:none!important;
  flex-direction:column!important;
  gap:0!important;
  list-style:none!important;
  margin:0!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid rgba(74,37,13,.08)!important;
  border-radius:18px!important;
  box-shadow:0 18px 46px rgba(74,37,13,.16)!important;
  z-index:999!important;
}
.site-header .nav-links .nav-menu .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
.site-header .nav-links .nav-menu li.menu-item-has-children:hover > .sub-menu,
.site-header .nav-links .nav-menu li.menu-item-has-children:focus-within > .sub-menu{display:flex!important;}
.site-header .nav-links .nav-menu .sub-menu li{width:100%!important;display:block!important;}
.site-header .nav-links .nav-menu .sub-menu li a{
  display:flex!important;
  width:100%!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  color:var(--text)!important;
  white-space:nowrap!important;
}
.site-header .nav-links .nav-menu .sub-menu li a:hover{background:var(--cream)!important;color:var(--pink)!important;}
.site-header .nav-links .nav-menu .sub-menu .sub-menu{left:100%!important;top:0!important;}
@media(max-width:900px){
  .site-header .nav-links .nav-menu .sub-menu{position:static!important;display:flex!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:6px 0 0 14px!important;min-width:0!important;}
  .site-header .nav-links .nav-menu li.menu-item-has-children > a::after{content:"";}
  .site-header .nav-links .nav-menu .sub-menu li a{padding:8px 10px!important;}
}

/* v3.1 professional content pages */
.smhb-page-wrap{max-width:1220px;margin:0 auto;padding:76px 22px 90px}.smhb-page-hero{text-align:center;max-width:850px;margin:0 auto 36px}.smhb-page-hero.left{text-align:left;margin-left:0}.smhb-page-hero h1,.smhb-two-col-page h1,.policy-page-card h1{font-family:'Playfair Display',serif;color:var(--brown);font-size:clamp(40px,5vw,68px);line-height:1.05;margin:8px 0 16px}.smhb-page-hero p,.smhb-two-col-page p,.policy-content{font-size:18px;line-height:1.8}.category-filter-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:0 0 34px}.category-filter-row a{background:#fff;border:1px solid rgba(234,101,119,.22);border-radius:999px;padding:10px 16px;color:var(--brown);font-weight:700;text-decoration:none;box-shadow:0 10px 24px rgba(74,37,13,.06)}.category-filter-row a:hover{background:var(--pink);color:#fff}.smhb-page-products{margin-top:20px}.product-body h3 a{color:var(--brown);text-decoration:none}.product-price{font-size:20px;color:var(--pink);font-weight:800;margin:10px 0 14px}.product-price del{color:#9a7a67;font-size:15px;margin-right:7px}.smhb-page-gallery{margin-top:18px}.smhb-two-col-page{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center}.about-highlight-card,.contact-info-card,.policy-page-card{background:#fff;border:1px solid rgba(234,101,119,.16);border-radius:28px;box-shadow:var(--shadow);padding:30px}.about-highlight-card h3{font-size:26px;color:var(--brown);margin-top:0}.about-highlight-card li{margin:12px 0;font-size:17px}.contact-grid-page{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.contact-info-card strong{display:block;color:var(--brown);font-size:18px;margin-bottom:8px}.contact-info-card span{font-size:17px;line-height:1.6}.contact-action-row{text-align:center;margin-top:28px}.policy-page-card{max-width:980px;margin:0 auto}.policy-content p{margin:0 0 16px}.smhb-empty{text-align:center;background:#fff;border-radius:22px;padding:28px;box-shadow:var(--shadow);color:#6b4a3a}
@media(max-width:900px){.smhb-two-col-page,.contact-grid-page{grid-template-columns:1fr}.smhb-page-wrap{padding-top:50px}.smhb-page-hero.left{text-align:center;margin:auto auto 30px}}


/* v3.3: Menu category chips with image/icon */
.category-image-row{gap:14px;margin-bottom:34px}
.category-image-row .category-chip{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(234,101,119,.22);border-radius:999px;padding:8px 16px 8px 10px;color:var(--brown);font-weight:800;box-shadow:0 10px 24px rgba(74,37,13,.06);transition:.2s ease;line-height:1}
.category-image-row .category-chip:hover{background:#fff7f8;color:var(--brown);transform:translateY(-2px);box-shadow:0 16px 28px rgba(74,37,13,.10)}
.category-chip-icon,.category-chip-img{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff1f4;font-size:20px;flex:0 0 34px;overflow:hidden}
.category-chip-img img{width:100%;height:100%;object-fit:cover;display:block}
.category-chip-name{white-space:nowrap}
@media(max-width:560px){.category-image-row{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.category-image-row .category-chip{flex:0 0 auto}}


/* v4.0 launch fixes: smaller category icons + premium product cards */
.category-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:16px!important}
.category-card,.category-grid article{border-radius:24px!important;padding:22px 18px!important;min-height:170px!important;text-align:center!important;transition:.22s ease!important}
.category-card:hover,.category-grid article:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(74,37,13,.12)!important}
.category-card .category-thumb,.category-grid .category-thumb{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:50%!important;margin:0 auto 12px!important;display:block!important}
.category-card span,.category-grid article>span{font-size:34px!important;line-height:1!important;display:block!important;margin-bottom:10px!important}
.category-grid h3{font-size:18px!important;margin:8px 0 6px!important}.category-grid p{font-size:13px!important;margin:0!important}

.product-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:22px!important}
.product-card-v4{background:#fff!important;border:1px solid rgba(234,101,119,.16)!important;border-radius:26px!important;overflow:hidden!important;box-shadow:0 18px 44px rgba(74,37,13,.11)!important;padding:0!important;transition:.24s ease!important}
.product-card-v4:hover{transform:translateY(-6px)!important;box-shadow:0 26px 58px rgba(74,37,13,.17)!important}
.product-card-link{display:block!important;color:inherit!important;text-decoration:none!important;height:100%!important}
.product-card-v4 .product-image{position:relative!important;display:block!important;width:100%!important;height:300px!important;background:#fff7f8!important;overflow:hidden!important;border-radius:0!important;padding:0!important}
.product-card-v4 .product-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;transition:.35s ease!important}
.product-card-v4:hover .product-image img{transform:scale(1.04)!important}
.product-badge{position:absolute!important;top:12px!important;z-index:2!important;background:rgba(255,255,255,.92)!important;color:var(--brown)!important;border:1px solid rgba(234,101,119,.20)!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:800!important;line-height:1!important;box-shadow:0 8px 18px rgba(74,37,13,.10)!important;backdrop-filter:blur(6px)!important;max-width:45%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.product-badge.badge-left{left:12px!important}.product-badge.badge-right{right:12px!important}
.product-card-v4 .product-body{padding:18px 18px 20px!important;background:#fff!important}
.product-card-v4 .product-body h3{font-size:21px!important;line-height:1.25!important;margin:0 0 7px!important;color:var(--brown)!important;font-weight:800!important}
.product-start-price{margin:0 0 7px!important;color:var(--pink)!important;font-size:17px!important;font-weight:800!important}
.product-card-v4 .product-weights{font-size:13px!important;color:#7b6256!important;margin:0!important;line-height:1.5!important}
.product-card-v4 .product-tag,.product-card-v4 .product-footer,.product-card-v4 .mini-order{display:none!important}
@media(max-width:900px){.product-card-v4 .product-image{height:260px!important}.product-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}}
@media(max-width:560px){.product-grid{grid-template-columns:1fr!important}.product-card-v4 .product-image{height:310px!important}.product-card-v4 .product-body h3{font-size:22px!important}}

/* v4.0 policy and contact polish */
.policy-content h2,.policy-content h3{color:var(--brown)!important}.policy-content h2{font-size:32px!important;margin-top:0!important}.policy-content h3{font-size:22px!important;margin:26px 0 10px!important}.policy-content ul{padding-left:22px!important}.policy-content li{margin:8px 0!important}.contact-card a{color:var(--brown);font-weight:700}.contact-card a:hover{color:var(--pink)}


/* v4.1 product card polish: small clear badges + compact price area */
.product-card-v4 .product-image .product-badge{
  position:absolute!important;
  top:10px!important;
  z-index:5!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  background:rgba(255,255,255,.38)!important;
  color:#4a250d!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:999px!important;
  padding:4px 8px!important;
  font-size:10px!important;
  line-height:1.05!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  box-shadow:0 5px 14px rgba(74,37,13,.08)!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
  max-width:46%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
}
.product-card-v4 .product-image .product-badge.badge-left{left:10px!important;right:auto!important}
.product-card-v4 .product-image .product-badge.badge-right{right:10px!important;left:auto!important}
.product-card-v4 .product-body{padding:14px 16px 16px!important}
.product-card-v4 .product-body h3{font-size:20px!important;margin:0 0 5px!important}
.product-card-v4 .product-start-price{font-size:14px!important;line-height:1.25!important;margin:0 0 4px!important;font-weight:800!important;color:var(--pink)!important}
.product-card-v4 .product-weights{font-size:12px!important;line-height:1.35!important;color:#6e5a50!important;margin:0!important}
.product-card-v4 .product-image{height:292px!important}
@media(max-width:900px){.product-card-v4 .product-image{height:250px!important}}
@media(max-width:560px){.product-card-v4 .product-image{height:300px!important}.product-card-v4 .product-body{padding:15px 16px 17px!important}}


/* v4.2 gallery polish: smaller clear cake title overlay */
.gallery-photo span{
  left:50%!important;
  right:auto!important;
  bottom:10px!important;
  transform:translateX(-50%)!important;
  width:auto!important;
  max-width:78%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.62)!important;
  color:var(--brown)!important;
  border:1px solid rgba(255,255,255,.70)!important;
  border-radius:999px!important;
  padding:6px 14px!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-shadow:0 8px 20px rgba(74,37,13,.10)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
.gallery-photo:hover span{background:rgba(255,255,255,.78)!important}
@media(max-width:560px){.gallery-photo span{font-size:12px!important;padding:6px 12px!important;max-width:82%!important}}


/* =========================================================
   v5.2 Premium UI Redesign - SM Home Bakes
   Premium bakery look, cleaner mobile layout, softer cards
   ========================================================= */
:root{
  --smhb-choco:#3b1d0b;
  --smhb-caramel:#b66a34;
  --smhb-rose:#ef6f86;
  --smhb-rose-dark:#d94e69;
  --smhb-cream:#fff7ef;
  --smhb-cream-2:#fff0e4;
  --smhb-gold:#f4c56a;
  --smhb-ink:#26140d;
  --shadow:0 22px 70px rgba(59,29,11,.14);
}
body{
  color:var(--smhb-ink)!important;
  background:
    radial-gradient(circle at 10% 0%, rgba(244,197,106,.26), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(239,111,134,.22), transparent 30%),
    linear-gradient(135deg,#fffaf6 0%,#fff1eb 46%,#fff6fa 100%)!important;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.34;
  background-image:
    radial-gradient(rgba(74,37,13,.11) 1px, transparent 1px),
    radial-gradient(rgba(239,111,134,.10) 1px, transparent 1px);
  background-size:34px 34px, 52px 52px;
  background-position:0 0, 16px 18px;
}
.site-header{
  background:rgba(255,250,246,.78)!important;
  border-bottom:1px solid rgba(74,37,13,.09)!important;
  box-shadow:0 8px 30px rgba(74,37,13,.06)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.nav{padding:10px 22px!important}.brand{gap:12px!important}.brand img,.brand .custom-logo{width:58px!important;height:58px!important;background:#fff;border:1px solid rgba(182,106,52,.18);box-shadow:0 10px 24px rgba(74,37,13,.12)}
.brand span{font-weight:900!important;letter-spacing:.02em!important;color:var(--smhb-choco)!important}.nav-links{gap:18px!important}.nav-links a:not(.nav-cta){position:relative;font-weight:750!important;color:#50301f!important}.nav-links a:not(.nav-cta):after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:linear-gradient(90deg,var(--smhb-rose),var(--smhb-gold));transform:scaleX(0);transform-origin:left;transition:.22s ease}.nav-links a:not(.nav-cta):hover:after{transform:scaleX(1)}
.nav-cta,.primary{background:linear-gradient(135deg,var(--smhb-rose),var(--smhb-rose-dark))!important;color:#fff!important;box-shadow:0 16px 32px rgba(217,78,105,.28)!important}.secondary{background:rgba(255,255,255,.58)!important;border:1.5px solid rgba(59,29,11,.28)!important;color:var(--smhb-choco)!important;box-shadow:0 12px 28px rgba(74,37,13,.08)!important}.btn,.nav-cta{letter-spacing:.01em!important}
.hero{position:relative;min-height:auto!important;padding:84px 22px 72px!important;gap:54px!important}.hero:before{content:"Fresh • Custom • Celebration Cakes";position:absolute;top:38px;right:22px;padding:8px 15px;border-radius:999px;background:rgba(255,255,255,.64);border:1px solid rgba(244,197,106,.55);color:var(--smhb-choco);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 12px 28px rgba(74,37,13,.08)}
.eyebrow,.section-heading p{color:var(--smhb-rose-dark)!important;font-size:12px!important;letter-spacing:.18em!important;font-weight:900!important}.hero h1,.section-heading h2,.about-card h2,.contact-card h2{color:var(--smhb-choco)!important;text-shadow:0 1px 0 rgba(255,255,255,.7)}.hero h1 span{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:#ff4f70!important}.hero-text{color:#654635!important;font-weight:450!important}.hero-actions{align-items:center!important}
.hero-card{position:relative;border-radius:44px!important;padding:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,246,238,.86))!important;border:1px solid rgba(255,255,255,.88)!important;box-shadow:0 30px 90px rgba(59,29,11,.18)!important}.hero-card:before{content:"";position:absolute;inset:12px;border-radius:34px;border:1px solid rgba(244,197,106,.42);pointer-events:none}.hero-card img{border-radius:31px!important;filter:drop-shadow(0 18px 28px rgba(59,29,11,.12))}.hero-badge{left:24px!important;bottom:24px!important;background:rgba(255,255,255,.68)!important;border:1px solid rgba(255,255,255,.72)!important;backdrop-filter:blur(10px)!important;color:var(--smhb-choco)!important;font-size:13px!important;box-shadow:0 14px 30px rgba(59,29,11,.12)!important}.hero-badge:before{content:"⭐ ";color:var(--smhb-gold)}
.section{padding:86px 22px!important}.soft-bg{background:linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,246,238,.48))!important;border-top:1px solid rgba(255,255,255,.7);border-bottom:1px solid rgba(74,37,13,.06)}.section-heading{margin-bottom:42px!important}.section-heading h2{font-size:clamp(34px,4.2vw,58px)!important;margin-top:5px!important}.category-grid article,.category-link-grid .category-card,.menu-item,.review-grid blockquote,.contact-card,.about-card,.order-form,.product-card{background:rgba(255,255,255,.82)!important;border:1px solid rgba(255,255,255,.76)!important;box-shadow:0 22px 65px rgba(59,29,11,.12)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}.category-link-grid .category-card,.product-card,.gallery-photo,.review-grid blockquote{transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important}.category-link-grid .category-card:hover,.product-card:hover,.gallery-photo:hover,.review-grid blockquote:hover{transform:translateY(-7px)!important;box-shadow:0 30px 86px rgba(59,29,11,.18)!important;border-color:rgba(239,111,134,.28)!important}.category-link-grid .category-card span,.category-grid article{filter:drop-shadow(0 8px 14px rgba(244,197,106,.22))}.category-link-grid .category-card h3,.category-grid h3{font-size:22px!important;margin-bottom:8px!important}.product-grid{gap:26px!important}.product-card-v4{border-radius:32px!important;overflow:hidden!important;background:rgba(255,255,255,.9)!important}.product-card-v4 .product-image{height:300px!important;background:linear-gradient(145deg,#fff8f2,#fff0f4)!important}.product-card-v4 .product-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 54%,rgba(59,29,11,.12));pointer-events:none}.product-card-v4 .product-image img{transition:transform .42s ease,filter .42s ease!important}.product-card-v4:hover .product-image img{transform:scale(1.055)!important;filter:saturate(1.04) contrast(1.02)}.product-card-v4 .product-body{padding:18px 18px 19px!important}.product-card-v4 .product-body h3{font-size:21px!important;color:var(--smhb-choco)!important}.product-card-v4 .product-start-price{color:var(--smhb-rose-dark)!important;font-size:14px!important}.product-card-v4 .product-badge{background:rgba(255,255,255,.55)!important;border-color:rgba(255,255,255,.75)!important;box-shadow:0 7px 20px rgba(59,29,11,.11)!important}.gallery-photo{border-radius:30px!important;border:1px solid rgba(255,255,255,.76)!important}.gallery-photo img{filter:saturate(1.04)}.gallery-photo span{background:rgba(255,255,255,.66)!important;border-color:rgba(255,255,255,.78)!important;color:var(--smhb-choco)!important;box-shadow:0 10px 24px rgba(59,29,11,.12)!important}.about-card{border-radius:38px!important}.about-card img{filter:drop-shadow(0 18px 30px rgba(74,37,13,.12))}.signature{background:linear-gradient(90deg,var(--smhb-rose),var(--smhb-caramel));-webkit-background-clip:text;background-clip:text;color:transparent!important}.review-grid blockquote{position:relative;border-radius:30px!important;font-weight:550!important;color:#5b3d2e!important}.review-grid blockquote:before{content:"“";position:absolute;right:22px;top:4px;font-family:'Playfair Display',serif;font-size:72px;line-height:1;color:rgba(239,111,134,.16)}.order-form input,.order-form select,.order-form textarea,input,select,textarea{background:rgba(255,250,246,.92)!important;border:1px solid rgba(74,37,13,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)!important}.order-form input:focus,.order-form select:focus,.order-form textarea:focus,input:focus,select:focus,textarea:focus{outline:2px solid rgba(239,111,134,.22)!important;border-color:rgba(239,111,134,.45)!important}.contact-card{border-radius:36px!important}.contact-card p{font-weight:550!important}.whatsapp{width:64px!important;height:64px!important;background:linear-gradient(135deg,#25d366,#0fb85a)!important;box-shadow:0 18px 38px rgba(37,211,102,.34)!important}footer{background:linear-gradient(135deg,var(--smhb-choco),#241006)!important;letter-spacing:.01em!important}
@media(max-width:900px){.hero{padding-top:62px!important}.hero:before{position:static;display:inline-block;margin:0 22px 18px}.nav-links{top:80px!important;background:rgba(255,250,246,.96)!important;border-bottom:1px solid rgba(74,37,13,.08)!important}.category-grid,.menu-grid,.gallery-grid,.review-grid{gap:18px!important}.product-card-v4 .product-image{height:255px!important}}
@media(max-width:560px){.hero{padding:40px 18px 52px!important;text-align:center}.hero:before{font-size:10px;margin:0 auto 16px}.hero-actions .btn{width:100%;text-align:center}.hero-card{border-radius:30px!important;padding:14px!important}.hero-card:before{inset:8px;border-radius:24px}.hero-card img{border-radius:22px!important}.section{padding:58px 18px!important}.section-heading{margin-bottom:28px!important}.product-card-v4{border-radius:26px!important}.product-card-v4 .product-image{height:302px!important}.brand img,.brand .custom-logo{width:50px!important;height:50px!important}.whatsapp{right:16px!important;bottom:16px!important;width:58px!important;height:58px!important}}

/* Razorpay Payment v5.3 */
.smhb-pay-btn{margin-left:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.smhb-pay-btn::before{content:'💳'}
.smhb-pay-btn.loading{pointer-events:none;opacity:.75}
.smhb-payment-message{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);z-index:99999;background:#2b171c;color:#fff;padding:13px 18px;border-radius:999px;box-shadow:0 16px 40px rgba(0,0,0,.22);opacity:0;transition:.25s ease;font-weight:700;max-width:calc(100vw - 30px);text-align:center}
.smhb-payment-message.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:640px){.smhb-pay-btn{margin-left:0;margin-top:10px;width:100%}.single-cake-content .btn{width:100%;text-align:center}.smhb-payment-message{border-radius:18px}}

/* SM Home Bakes v5.4 Local SEO hidden NAP for search consistency */
.smhb-local-seo-nap{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}


/* v6.0 live-ready business tools */
.smhb-price-calculator{max-width:860px;margin:0 auto;background:rgba(255,255,255,.88);border:1px solid rgba(234,101,119,.18);border-radius:32px;padding:28px;box-shadow:var(--shadow);text-align:center}.smhb-price-calculator h3{font-family:'Playfair Display',serif;color:var(--brown);font-size:32px;margin:0 0 8px}.smhb-calc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0;text-align:left}.smhb-calc-grid label{font-weight:700;color:var(--brown)}.smhb-calc-total{font-size:22px;margin:18px 0;color:var(--brown)}.smhb-calc-total strong{color:var(--pink);font-size:30px}.smhb-google-review-link{text-align:center;margin-top:26px}.smhb-local-seo-nap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}@media(max-width:760px){.smhb-calc-grid{grid-template-columns:1fr}.smhb-price-calculator{padding:22px}}


/* v6.1 YouTube Channel Section */
.youtube-section{position:relative}
.youtube-card{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.76);border-radius:38px;padding:34px;box-shadow:0 24px 70px rgba(59,29,11,.12);backdrop-filter:blur(10px)}
.youtube-content h3{font-family:'Playfair Display',serif;font-size:clamp(28px,3vw,44px);color:var(--smhb-choco,var(--brown));margin:8px 0 12px}.youtube-content p{color:#654635;font-weight:500}.youtube-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}.youtube-preview{min-height:260px;border-radius:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;color:#fff;background:linear-gradient(135deg,#ff2b2b,#8f0000);box-shadow:0 24px 60px rgba(186,0,0,.24);position:relative;overflow:hidden}.youtube-preview:before{content:'';position:absolute;inset:18px;border:1px solid rgba(255,255,255,.28);border-radius:24px}.youtube-play{width:86px;height:86px;border-radius:999px;background:rgba(255,255,255,.96);color:#e10000;display:flex;align-items:center;justify-content:center;font-size:38px;box-shadow:0 18px 45px rgba(0,0,0,.18);margin-bottom:18px}.youtube-preview strong{font-size:26px;z-index:1}.youtube-preview small{font-size:15px;opacity:.9;z-index:1;margin-top:6px}.nav-menu a[href*="#youtube"]:before{content:'▶ ';color:#e10000}@media(max-width:820px){.youtube-card{grid-template-columns:1fr;padding:24px}.youtube-preview{min-height:220px}.youtube-actions .btn{width:100%;text-align:center}}


/* v6.3 Business Admin sync */
.smhb-live-offers{padding-top:18px}
.smhb-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.smhb-offer-card{position:relative;background:linear-gradient(145deg,#fff8fb,#fff);border:1px solid #efd9e4;border-radius:20px;padding:22px;box-shadow:0 10px 30px rgba(87,45,65,.06)}
.smhb-offer-card h3{margin:12px 0 8px}
.smhb-offer-card p{margin:0 0 10px;color:#715d68}
.smhb-offer-card small{color:#8b7480}
.smhb-offer-chip{display:inline-block;background:#9b4f75;color:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}
.product-start-price .smhb-current-price{font-weight:700}
.product-start-price .smhb-regular-price{margin-left:8px;text-decoration:line-through;opacity:.55;font-size:.9em}
.smhb-offer-mini{display:inline-block;margin-left:7px;background:#f5dfeb;color:#8c3f67;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:700}
@media(max-width:850px){.smhb-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.smhb-offer-grid{grid-template-columns:1fr}}


.smhb-site-offer-bar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  padding:9px 16px;
  background:#7d3f60;
  color:#fff;
  text-align:center;
  font-size:14px;
}
.smhb-site-offer-bar strong{font-weight:800}
.smhb-site-offer-bar span{
  background:#fff;
  color:#7d3f60;
  border-radius:999px;
  padding:3px 8px;
  font-weight:800;
}
.smhb-site-offer-bar small{opacity:.88}


/* v6.3.3: customer category page - keep products immediately visible */
.tax-cake_category .archive-header{
  padding-bottom:28px;
  min-height:0;
}
.tax-cake_category .archive-header h1{
  margin-bottom:8px;
}
.tax-cake_category .products.section{
  padding-top:32px;
}
.tax-cake_category .admin-note{
  display:none !important;
}

.smhb-order-status{min-height:22px;text-align:center;font-size:13px;color:#806d78;font-weight:600}
.smhb-order-status.success{color:#287451}
.smhb-order-status.error{color:#b33d48}
#smhbOrderSubmit:disabled{opacity:.65;cursor:wait}

/* v6.4.0 anti-spam honeypot: hidden from real customers, visible to basic bots. */
.smhb-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;}


/* v6.7.1 Google Reviews */
.smhb-google-review-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:30px}.smhb-google-review-button{display:inline-flex;align-items:center;justify-content:center}.smhb-review-stars{color:#f4b400;letter-spacing:.08em;font-weight:800}.reviews .section-heading{margin-bottom:28px!important}.reviews .review-grid:empty{display:none}@media(max-width:560px){.smhb-google-review-actions .btn{width:100%;text-align:center}}
.smhb-review-meta{display:flex;flex-direction:column;gap:3px;margin-top:14px;padding:0;background:none!important;color:var(--brown)!important;text-align:left;font-size:14px}.smhb-review-meta span{color:#806d78;font-size:12px}.review-grid blockquote p{margin:10px 0 0}.smhb-google-review-actions .secondary{background:#fff}


/* v6.8.3 Header logo fix
   - No hard-coded/fallback logo when Site Identity > Logo is empty.
   - Uploaded header logo is always constrained next to the site title.
   - Site Icon/favicon remains independent. */
.brand{display:inline-flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.brand .smhb-header-logo{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;min-width:58px!important;object-fit:contain!important;border-radius:50%!important;display:block!important;flex:0 0 58px!important;background:transparent!important;box-shadow:none!important;border:0!important}
.brand span{display:inline-block!important;white-space:nowrap!important;line-height:1.15!important}
@media(max-width:900px){.brand .smhb-header-logo{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;min-width:50px!important;flex-basis:50px!important}}
@media(max-width:560px){.brand{gap:8px!important}.brand .smhb-header-logo{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;min-width:44px!important;flex-basis:44px!important}.brand span{font-size:14px!important}}

/* v6.8.4 - Hero script uses SM heart pink for stronger readability and brand consistency. */

/* v6.9.1: category archive single/few-product grid fix
   Keep desktop cards at a normal product-card width instead of stretching
   a single product across the full content area. */
.tax-cake_category .product-grid{
  grid-template-columns:repeat(auto-fill,minmax(280px,360px))!important;
  justify-content:start!important;
  align-items:start!important;
}
.tax-cake_category .product-card{
  width:100%!important;
  max-width:360px!important;
}
@media(max-width:780px){
  .tax-cake_category .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tax-cake_category .product-card{max-width:none!important}
}
@media(max-width:560px){
  .tax-cake_category .product-grid{grid-template-columns:1fr!important}
  .tax-cake_category .product-card{max-width:none!important}
}

/* v6.9.3: Order Now uses website enquiry form; WhatsApp remains quick contact only. */
#order{scroll-margin-top:90px}.smhb-order-intro{max-width:720px;margin:10px auto 0;color:#6b4a3a;font-size:16px;line-height:1.65}.smhb-order-status{margin-top:4px;padding:0 4px;line-height:1.55}.smhb-order-status.success{background:#f2fff6;border:1px solid rgba(37,211,102,.28);border-radius:16px;padding:14px 16px;color:#275d38}.smhb-order-status.success a{color:var(--pink);text-decoration:underline}.smhb-order-status.error{background:#fff4f4;border:1px solid rgba(190,50,50,.2);border-radius:16px;padding:14px 16px;color:#8b2727}

/* v6.9.4: Product detail ordering was routed to the website enquiry form. */
/* v6.9.5: Corrected product CTA: single cake pages open WhatsApp with only cake name + cake page URL; header Order Now still uses website form; floating WhatsApp remains chat. */


/* v6.9.8 cake WhatsApp customer capture */
.smhb-cake-enquiry-dialog{border:0;border-radius:26px;padding:0;max-width:520px;width:calc(100% - 32px);box-shadow:0 28px 90px rgba(74,37,13,.28);background:transparent}.smhb-cake-enquiry-dialog::backdrop{background:rgba(45,26,17,.48);backdrop-filter:blur(3px)}.smhb-cake-enquiry-form{position:relative;background:#fffaf6;border:1px solid rgba(234,101,119,.22);border-radius:26px;padding:28px;display:grid;gap:12px}.smhb-cake-enquiry-form h3{margin:0;color:var(--brown);font-family:'Playfair Display',serif;font-size:30px}.smhb-dialog-help{margin:0 0 6px;color:#6b4a3a;line-height:1.55}.smhb-cake-enquiry-form label{font-weight:700;color:var(--brown)}.smhb-cake-enquiry-form .btn{margin-top:6px;border:0;cursor:pointer}.smhb-dialog-close{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;background:transparent;color:#7a5042;font-size:30px;line-height:1;cursor:pointer}.single-cake-actions button.btn{font:inherit;border:0;cursor:pointer}


/* =========================================================
   v6.10.0 Mobile Compact Grid Upgrade
   - Mobile categories stay 2-up instead of one large card per row
   - Product/category archives stay 2-up on phones
   - Smaller images, cards, spacing and floating WhatsApp button
   - Desktop/tablet layouts remain unchanged
   ========================================================= */
@media(max-width:560px){
  /* Overall mobile rhythm */
  .section{padding:42px 14px!important}
  .section-heading{margin-bottom:24px!important}
  .section-heading h2{font-size:clamp(30px,9vw,38px)!important;line-height:1.08!important}
  .section-heading p,.eyebrow{font-size:11px!important;letter-spacing:.14em!important}

  /* Compact home hero */
  .hero{padding:50px 14px 38px!important;gap:24px!important}
  .hero:before{top:12px!important;right:14px!important;left:14px!important;width:max-content;max-width:calc(100% - 28px);margin:auto;padding:7px 12px!important;font-size:10px!important;letter-spacing:.07em!important}
  .hero h1{font-size:clamp(44px,14vw,58px)!important;margin:8px 0!important;line-height:.96!important}
  .hero-text{font-size:15px!important;line-height:1.55!important}
  .hero-actions{margin-top:18px!important;gap:10px!important}
  .hero-actions .btn{padding:11px 16px!important;font-size:14px!important}
  .hero-card{width:100%!important;max-width:420px!important;margin:0 auto!important;border-radius:28px!important;padding:10px!important}
  .hero-card:before{inset:7px!important;border-radius:22px!important}
  .hero-card img{height:300px!important;max-height:300px!important;object-fit:cover!important;border-radius:21px!important}
  .hero-badge{position:static!important;margin:10px 6px 2px!important;padding:9px 12px!important;font-size:12px!important;text-align:center!important}

  /* Home category cards: always 2 per row on phones */
  .category-grid,.category-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .category-link-grid .category-card,.category-grid article{
    min-height:138px!important;
    padding:16px 9px!important;
    border-radius:22px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .category-link-grid .category-card span,.category-grid article>span{font-size:32px!important;margin-bottom:7px!important}
  .category-card .category-thumb,.category-grid .category-thumb{width:46px!important;height:46px!important;margin-bottom:8px!important}
  .category-link-grid .category-card h3,.category-grid h3{font-size:17px!important;line-height:1.15!important;margin:5px 0 5px!important}
  .category-link-grid .category-card p,.category-grid p{font-size:12px!important;line-height:1.35!important;margin:2px 0!important}

  /* Product cards: 2 columns on every mobile product grid */
  .product-grid,.tax-cake_category .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    justify-content:stretch!important;
  }
  .product-card,.tax-cake_category .product-card{max-width:none!important;width:100%!important;border-radius:20px!important}
  .product-card-v4{border-radius:20px!important}
  .product-card-v4 .product-image,.product-image{height:168px!important}
  .product-card-v4 .product-body,.product-body{padding:11px 11px 13px!important}
  .product-card-v4 .product-body h3,.product-body h3{font-size:16px!important;line-height:1.15!important;margin:0 0 5px!important}
  .product-card-v4 .product-start-price,.product-start-price{font-size:12.5px!important;line-height:1.25!important;margin:0 0 4px!important}
  .product-card-v4 .product-weights,.product-weights{font-size:11px!important;line-height:1.3!important;margin:0!important}
  .product-badge{font-size:9px!important;padding:5px 7px!important;top:8px!important}
  .badge-left{left:8px!important}.badge-right{right:8px!important}
  .smhb-offer-mini{font-size:9px!important;padding:2px 5px!important;margin-left:3px!important}
  .product-start-price .smhb-regular-price{display:inline-block!important;margin-left:4px!important}

  /* Category archive starts products sooner */
  .tax-cake_category .archive-header{padding:34px 14px 14px!important}
  .tax-cake_category .archive-header h1{font-size:clamp(34px,11vw,46px)!important;line-height:1.05!important}
  .tax-cake_category .products.section{padding:18px 12px 38px!important}

  /* Gallery also stays compact */
  .gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .gallery-photo{height:165px!important;border-radius:20px!important}
  .gallery-photo span{font-size:10px!important;padding:5px 9px!important;max-width:86%!important}

  /* Smaller floating chat control so it does not cover product details */
  .whatsapp{right:14px!important;bottom:16px!important;width:52px!important;height:52px!important;font-size:24px!important}
}

@media(max-width:370px){
  .category-grid,.category-link-grid,.product-grid,.tax-cake_category .product-grid,.gallery-photo-grid{gap:9px!important}
  .product-card-v4 .product-image,.product-image{height:148px!important}
  .product-card-v4 .product-body h3,.product-body h3{font-size:15px!important}
  .category-link-grid .category-card,.category-grid article{min-height:128px!important;padding:13px 7px!important}
  .category-link-grid .category-card h3,.category-grid h3{font-size:16px!important}
}

/* =========================================================
   v6.11.0 Mobile-First UI Polish
   PHONE ONLY (<= 600px)
   - No business/order/WhatsApp/tracking logic changes
   - No desktop/laptop/tablet visual changes
   - Existing theme palette, fonts and visual identity retained
   ========================================================= */
@media (max-width:600px){
  html{scroll-padding-top:74px}
  body{overflow-x:hidden;-webkit-text-size-adjust:100%}

  /* Compact, touch-friendly mobile header */
  .site-header{min-height:auto!important}
  .nav{padding:8px 12px!important;min-height:62px!important;gap:10px!important}
  .brand{gap:8px!important;min-width:0!important}
  .brand .smhb-header-logo,.brand img,.brand .custom-logo{
    width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;min-width:40px!important;flex-basis:40px!important
  }
  .brand span{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important}
  .menu-toggle{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border-radius:14px!important;font-size:27px!important;line-height:1!important}
  .site-header .nav-links{
    top:62px!important;left:10px!important;right:10px!important;width:auto!important;max-height:calc(100vh - 78px)!important;overflow-y:auto!important;
    padding:14px!important;gap:10px!important;border-radius:0 0 20px 20px!important
  }
  .site-header .nav-links .nav-menu{width:100%!important;gap:0!important;align-items:stretch!important}
  .site-header .nav-links .nav-menu li{width:100%!important}
  .site-header .nav-links .nav-menu li a{width:100%!important;min-height:46px!important;padding:11px 12px!important;justify-content:flex-start!important;border-radius:12px!important}
  .site-header .nav-links a.nav-cta{width:100%!important;min-height:46px!important;justify-content:center!important;padding:11px 16px!important}

  /* Offer bar stays readable without taking a large part of the screen */
  .smhb-site-offer-bar{padding:7px 10px!important;gap:5px 8px!important;font-size:12px!important;line-height:1.25!important;min-height:0!important}
  .smhb-site-offer-bar strong{font-size:12px!important}
  .smhb-site-offer-bar span{font-size:11px!important;padding:3px 7px!important}
  .smhb-site-offer-bar small{font-size:10px!important}

  /* Mobile page rhythm: less empty space, same visual identity */
  .section{padding:38px 12px!important}
  .section-heading{margin-bottom:20px!important}
  .section-heading h2{font-size:clamp(29px,8.5vw,37px)!important;line-height:1.08!important;margin:5px 0!important}
  .section-heading p,.eyebrow{font-size:10.5px!important;line-height:1.35!important}
  .note{font-size:13px!important;line-height:1.55!important;margin-top:18px!important}

  /* Hero behaves like a real phone landing screen, not a desktop panel stacked vertically */
  .hero{min-height:0!important;padding:34px 12px 30px!important;gap:18px!important}
  .hero:before{margin-bottom:10px!important}
  .hero h1{font-size:clamp(40px,12vw,54px)!important;line-height:.98!important;margin:6px 0 10px!important}
  .hero-text{font-size:14px!important;line-height:1.5!important;max-width:360px!important}
  .hero-actions{margin-top:15px!important;gap:8px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .hero-actions .btn{min-height:46px!important;padding:11px 10px!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
  .hero-card{max-width:360px!important;padding:8px!important;border-radius:24px!important}
  .hero-card img{height:235px!important;max-height:235px!important;border-radius:18px!important;object-fit:cover!important}
  .hero-badge{font-size:11px!important;margin:8px 4px 2px!important;padding:7px 9px!important}

  /* Category browsing: 2-up, compact, easy to tap */
  .category-grid,.category-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .category-link-grid .category-card,.category-grid article{
    min-height:124px!important;padding:13px 8px!important;border-radius:18px!important;touch-action:manipulation
  }
  .category-link-grid .category-card span,.category-grid article>span{font-size:29px!important;margin-bottom:4px!important}
  .category-card .category-thumb,.category-grid .category-thumb{width:42px!important;height:42px!important;margin-bottom:5px!important}
  .category-link-grid .category-card h3,.category-grid h3{font-size:15.5px!important;line-height:1.15!important;margin:4px 0!important}
  .category-link-grid .category-card p,.category-grid p{font-size:11px!important;line-height:1.3!important;margin:1px 0!important}

  /* Cake/product browsing: two balanced shop-style cards */
  .product-grid,.tax-cake_category .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card,.product-card-v4,.tax-cake_category .product-card{border-radius:18px!important;min-width:0!important;overflow:hidden!important;touch-action:manipulation}
  .product-card-v4 .product-image,.product-image{height:154px!important;aspect-ratio:1/1!important}
  .product-card-v4 .product-body,.product-body{padding:10px!important;min-width:0!important}
  .product-card-v4 .product-body h3,.product-body h3{
    font-size:15px!important;line-height:1.18!important;margin:0 0 5px!important;
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:35px!important
  }
  .product-card-v4 .product-start-price,.product-start-price{font-size:12px!important;line-height:1.25!important;margin:0 0 3px!important;white-space:normal!important}
  .product-card-v4 .product-weights,.product-weights{font-size:10.5px!important;line-height:1.28!important;margin:0!important}
  .product-badge{font-size:8.5px!important;padding:4px 6px!important;top:7px!important}
  .badge-left{left:7px!important}.badge-right{right:7px!important}
  .mini-order{min-height:40px!important;padding:8px 10px!important;font-size:12px!important}
  .product-footer{gap:6px!important;align-items:center!important}

  /* Category archive: product content begins quickly */
  .tax-cake_category .archive-header{padding:26px 12px 10px!important}
  .tax-cake_category .archive-header h1{font-size:clamp(30px,9vw,40px)!important}
  .tax-cake_category .products.section{padding:14px 10px 34px!important}

  /* Single cake page: phone-first details with large-enough photo and compact information */
  .single-cake{padding:24px 12px 38px!important;gap:18px!important}
  .single-cake-image{padding:8px!important;border-radius:22px!important}
  .single-cake-image img{border-radius:16px!important;max-height:430px!important;object-fit:cover!important}
  .single-cake-content{text-align:left!important}
  .single-cake-content h1{font-size:clamp(32px,10vw,43px)!important;line-height:1.04!important;margin-bottom:10px!important}
  .single-cake-content .product-tag{margin-bottom:10px!important}
  .cake-price{font-size:22px!important;margin:12px 0!important}
  .cake-meta{padding:14px!important;margin:15px 0!important;border-radius:18px!important;font-size:13px!important}
  .single-cake-content .btn,.single-cake-actions .btn{min-height:48px!important;font-size:14px!important}
  .back-link{min-height:44px!important;align-items:center!important}

  /* Forms: prevent tiny controls/iPhone zoom and improve thumb use */
  .order-form{padding:16px!important;border-radius:22px!important;gap:12px!important;width:100%!important}
  input,select,textarea,.order-form input,.order-form select,.order-form textarea{font-size:16px!important;padding:12px 13px!important;border-radius:13px!important;min-height:48px!important}
  textarea,.order-form textarea{min-height:104px!important}
  .order-form button,.order-form .btn{min-height:50px!important;width:100%!important}
  .smhb-order-intro{font-size:13.5px!important;line-height:1.55!important;margin-top:6px!important}
  .smhb-order-status{font-size:12.5px!important}

  /* Enquiry dialog fits the phone keyboard/view height */
  .smhb-cake-enquiry-dialog{width:calc(100% - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important;border-radius:20px!important}
  .smhb-cake-enquiry-form{padding:20px 14px 15px!important;border-radius:20px!important;gap:9px!important}
  .smhb-cake-enquiry-form h3{font-size:25px!important;padding-right:30px!important}
  .smhb-dialog-help{font-size:12.5px!important;line-height:1.45!important}
  .smhb-dialog-close{width:42px!important;height:42px!important;right:5px!important;top:3px!important}

  /* Supporting sections: readable, not oversized */
  .review-grid{grid-template-columns:1fr!important;gap:12px!important}
  .review-grid blockquote{padding:18px!important;border-radius:20px!important;font-size:13px!important;line-height:1.55!important}
  .about-card{padding:18px!important;border-radius:24px!important;gap:18px!important}
  .about-card img{max-width:190px!important}
  .about-card h2{font-size:31px!important;margin:5px 0!important}
  .about-card p{font-size:13px!important;line-height:1.6!important}
  .contact-card{padding:20px 14px!important;border-radius:22px!important}
  .contact-card h2{font-size:30px!important;margin:5px 0 12px!important}
  .contact-card p{font-size:13px!important;line-height:1.55!important}
  .youtube-card{padding:16px!important;border-radius:24px!important;gap:16px!important}
  .youtube-content h3{font-size:29px!important}
  .youtube-content p{font-size:13px!important;line-height:1.55!important}
  .youtube-preview{min-height:180px!important;border-radius:22px!important}
  .youtube-play{width:64px!important;height:64px!important;font-size:30px!important;margin-bottom:10px!important}
  .youtube-preview strong{font-size:20px!important}
  .gallery-photo-grid{gap:10px!important}
  .gallery-photo{height:150px!important;border-radius:18px!important}

  /* Offers stay compact on phones */
  .smhb-offer-grid{grid-template-columns:1fr!important;gap:12px!important}

  /* Floating chat stays reachable but does not obscure cards/buttons */
  .whatsapp{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:50px!important;height:50px!important;font-size:23px!important}

  /* Mobile footer */
  footer{padding:20px 14px calc(20px + env(safe-area-inset-bottom))!important;font-size:12px!important;line-height:1.5!important}
}

@media (max-width:360px){
  .brand span{max-width:178px!important;font-size:14px!important}
  .hero-actions{grid-template-columns:1fr!important}
  .product-grid,.tax-cake_category .product-grid,.category-grid,.category-link-grid{gap:8px!important}
  .product-card-v4 .product-image,.product-image{height:140px!important}
  .product-card-v4 .product-body,.product-body{padding:8px!important}
  .product-card-v4 .product-body h3,.product-body h3{font-size:14px!important;min-height:33px!important}
}
