/* Modern theme overrides inspired by index.html
   Applies only visual changes: colors, fonts, spacing, cards, buttons.
   No JS or functional changes. */
:root{
  --accent: #FB9300;
  --bg-1: #fffaf6;
  --bg-2: #ffffff;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Bangers&display=swap');

html,body{
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #222;
  background: linear-gradient(180deg,var(--bg-1),var(--bg-2));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Header */
header#masthead{
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(1.05) blur(4px);
  box-shadow: 0 8px 30px rgba(11,11,11,0.06);
}

/* Header Navigation - Fixed Layout */
.elementor-252 .elementor-element-474495c {
  flex-wrap: nowrap !important;
}

.elementor-element-474495c {
  flex-wrap: nowrap !important;
}

.elementor-element-474495c.e-con {
  flex-wrap: nowrap !important;
}

.elementor-element-b368643 {
  width: 100% !important;
  flex-shrink: 0 !important;
}

.primary-navigation { 
  width: 100% !important;
}

.primary-navigation .menu { 
  display: flex !important; 
  flex-wrap: nowrap !important; 
  align-items: center !important;
  gap: 0 !important;
  width: 100% !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
}

.primary-navigation .menu li { 
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: auto !important;
}

.primary-navigation .menu li a { 
  color: #111; 
  text-transform:uppercase; 
  letter-spacing:0.8px; 
  font-weight:600;
  padding: 27.5px 16px !important;
  display: inline-block !important;
  font-size: 0.95rem !important;
  white-space: nowrap !important;
}

.primary-navigation .menu li a:hover { color: var(--accent); }

/* Home page specific fix */
.elementor-252 .primary-navigation .menu {
  justify-content: center !important;
}

@media (max-width: 1200px) {
  .primary-navigation .menu li a { 
    padding: 27.5px 12px !important;
    font-size: 0.75rem !important;
  }
}

.yumyum-site-logo-img{ filter: none !important; }

/* Breadcrumb/title */
.breadcrumb .yumyum-title, .elementor-heading-title{ font-family: 'Bangers', 'Quicksand', sans-serif; color: #111; }

/* Product / store cards */
.yumyum-products .product{ background: var(--card-bg); border-radius: 14px; box-shadow: 0 12px 30px rgba(11,11,11,0.06); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease; }
.yumyum-products .product:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,11,11,0.08); }
.product-image img{ border-radius: 8px; max-width:100%; height:auto; display:block; }
.product-caption{ padding: 14px 16px; }
.woocommerce-loop-product__title a{ color:#111; font-weight:700; }
.product-ingredient-item{ color:var(--muted); font-size:0.95rem; }

/* Buttons */
.elementor-button, .elementor-button a, .elementor-button-link{ background: var(--accent) !important; color: #fff !important; border-radius: 999px !important; padding: .6rem 1.2rem !important; box-shadow: 0 8px 24px rgba(251,147,0,0.12); }
.elementor-button:hover{ transform: translateY(-2px); }

/* Footer subtle lift */
footer{ background: linear-gradient(180deg,#ffffff, #fffaf6); }

/* Responsive tweaks */
@media (max-width: 900px){
  header#masthead{ box-shadow: none; }
  .primary-navigation .menu li a{ font-size: 14px; }
  .yumyum-products .product{ border-radius:10px; }
}

/* ============================================================
   Modern "Wood-Fired" page banner + inner-page animations
   Matches the bright, playful homepage theme (orange base,
   green + yellow accents, Bangers display font, pizzas + a
   diagonal "WOOD FIRED" corner ribbon like the home page).
   Applies to every inner page via the shared .header-width-fixer
   wrapper; site-wide polish is scoped to body:not(.home) so the
   homepage is left exactly as it is. Pure CSS, no image files.
   ============================================================ */
.header-width-fixer{ position: relative; overflow: hidden; }

/* diagonal green "WOOD FIRED" corner ribbon (top-right) */
.header-width-fixer::after{
  content: "WOOD FIRED";
  position: absolute;
  top: 34px; right: -66px;
  width: 250px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #33ab63, #248a4c);
  color: #ffe01b;
  font-family: 'Bangers', 'Quicksand', sans-serif;
  font-size: 19px;
  letter-spacing: 2px;
  text-align: center;
  padding: 9px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  z-index: 6;
  pointer-events: none;
}
/* little notches at the ribbon ends for a folded look */
.header-width-fixer::before{
  content: "";
  position: absolute;
  top: 92px; right: -2px;
  width: 0; height: 0;
  border: 7px solid transparent;
  border-left-color: #1c6c3a;
  border-top-color: #1c6c3a;
  z-index: 5;
  pointer-events: none;
}

.header-width-fixer .e-con.e-parent{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 270px;
  display: flex;
  align-items: center;
  background: #fb9300 !important;
  background-image:
    radial-gradient(90% 120% at 12% -10%, rgba(255,214,140,.65), rgba(255,255,255,0) 55%),
    radial-gradient(85% 130% at 100% 115%, rgba(233,105,0,.55), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #ffab2e 0%, #fb9300 50%, #ef7a00 100%) !important;
  background-size: cover !important;
}

/* diagonal light shine sweeping across */
.header-width-fixer .e-con.e-parent::before{
  content: "" !important;
  position: absolute !important;
  top: 0 !important; bottom: 0 !important; left: -45% !important;
  width: 45% !important; height: auto !important;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.30), transparent) !important;
  transform: skewX(-18deg);
  z-index: 1 !important;
  pointer-events: none !important;
  animation: bannerShine 7s ease-in-out infinite;
}
@keyframes bannerShine{ 0%{ left:-50%; } 55%,100%{ left:130%; } }

/* floating pizzas + a couple of sparkle dots (star removed) */
.header-width-fixer .e-con.e-parent::after{
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2064%2064%27%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27%23f2b15a%27%2F%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27none%27%20stroke%3D%27%23d9822b%27%20stroke-width%3D%272.5%27%2F%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2728%27%20r%3D%274%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2723%27%20cy%3D%2745%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2742%27%20cy%3D%2747%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2733%27%20cy%3D%2754%27%20r%3D%272.6%27%20fill%3D%27%237fa03f%27%2F%3E%3C%2Fsvg%3E") left 2% bottom -24px / 152px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2064%2064%27%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27%23f2b15a%27%2F%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27none%27%20stroke%3D%27%23d9822b%27%20stroke-width%3D%272.5%27%2F%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2728%27%20r%3D%274%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2723%27%20cy%3D%2745%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2742%27%20cy%3D%2747%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2733%27%20cy%3D%2754%27%20r%3D%272.6%27%20fill%3D%27%237fa03f%27%2F%3E%3C%2Fsvg%3E") right 5% bottom -8px / 112px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2064%2064%27%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27%23f2b15a%27%2F%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27none%27%20stroke%3D%27%23d9822b%27%20stroke-width%3D%272.5%27%2F%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2728%27%20r%3D%274%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2723%27%20cy%3D%2745%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2742%27%20cy%3D%2747%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2733%27%20cy%3D%2754%27%20r%3D%272.6%27%20fill%3D%27%237fa03f%27%2F%3E%3C%2Fsvg%3E") left 12% top 15% / 66px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2064%2064%27%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27%23f2b15a%27%2F%3E%3Cpath%20d%3D%27M32%203%20L59%2057%20C46%2063%2018%2063%205%2057%20Z%27%20fill%3D%27none%27%20stroke%3D%27%23d9822b%27%20stroke-width%3D%272.5%27%2F%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2728%27%20r%3D%274%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2723%27%20cy%3D%2745%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2742%27%20cy%3D%2747%27%20r%3D%273.5%27%20fill%3D%27%23c0341d%27%2F%3E%3Ccircle%20cx%3D%2733%27%20cy%3D%2754%27%20r%3D%272.6%27%20fill%3D%27%237fa03f%27%2F%3E%3C%2Fsvg%3E") right 15% top 32% / 56px no-repeat,
    radial-gradient(circle, #fff 0 2.5px, transparent 3px) 32% 24% / 10px 10px no-repeat,
    radial-gradient(circle, #ffe01b 0 2.5px, transparent 3px) 58% 72% / 10px 10px no-repeat;
  animation: bannerFloat 5s ease-in-out infinite alternate;
}
@keyframes bannerFloat{
  from{ transform: translateY(-7px) rotate(-2deg); }
  to  { transform: translateY(7px)  rotate(2deg);  }
}

/* keep title/breadcrumb above the effects, centered */
.header-width-fixer .e-con-inner{ position: relative; z-index: 3; }
.header-width-fixer .breadcrumb{ text-align: center; }

.header-width-fixer .yumyum-title,
.header-width-fixer .breadcrumb .yumyum-title{
  color: #fff !important;
  display: inline-block;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 3px 3px 0 rgba(198,52,29,.35), 0 6px 20px rgba(0,0,0,.22);
  animation: titlePop .7s cubic-bezier(.2,.85,.25,1.2) both,
             titleFloat 4s ease-in-out 1.1s infinite alternate;
}
@keyframes titlePop{ from{ opacity:0; transform: translateY(20px) scale(.9); }
                     to{ opacity:1; transform: none; } }
@keyframes titleFloat{ from{ transform: translateY(0); } to{ transform: translateY(-7px); } }

/* playful growing underline (orange -> yellow -> green) */
.header-width-fixer .yumyum-title::after{
  content: "";
  display: block;
  width: 0; height: 5px;
  margin: 16px auto 4px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffd21e, #ff5a00, #2e9e5b);
  box-shadow: 0 0 14px rgba(255,90,0,.5);
  animation: underlineGrow .8s .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes underlineGrow{ to{ width: 96px; } }

/* breadcrumb trail */
.header-width-fixer .breadcrumb-listItem,
.header-width-fixer .breadcrumb-listItem span,
.header-width-fixer .breadcrumb-listItem a{
  color: #fff !important;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.18);
}
.header-width-fixer .breadcrumb-listItem{ animation: fadeInUpSm .8s .5s both; }
.header-width-fixer .breadcrumb-listItem a:hover{ color: #ffe01b !important; }
@keyframes fadeInUpSm{ from{ opacity:0; transform: translateY(10px); } to{ opacity:1; transform:none; } }

@media (max-width: 900px){
  .header-width-fixer .e-con.e-parent{ min-height: 190px; }
  .header-width-fixer .e-con.e-parent::after{
    background-size: 108px, 82px, 0, 0, 8px 8px, 8px 8px;  /* hide the two small pizzas on mobile */
  }
  .header-width-fixer::after{ font-size: 15px; top: 26px; right: -72px; width: 240px; }
}
@media (prefers-reduced-motion: reduce){
  .header-width-fixer .e-con.e-parent::before,
  .header-width-fixer .e-con.e-parent::after,
  .header-width-fixer .yumyum-title,
  .header-width-fixer .yumyum-title::after,
  .header-width-fixer .breadcrumb-listItem{ animation: none !important; }
  .header-width-fixer .yumyum-title::after{ width: 96px; }
}

/* ============================================================
   Site-wide modern polish + animation  (inner pages only)
   ============================================================ */
body:not(.home) #content .elementor-widget-image img{
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
body:not(.home) #content .elementor-widget-image:hover img{ transform: scale(1.04); }

body:not(.home) #content a.elementor-button,
body:not(.home) #content .elementor-button-link{ position: relative; overflow: hidden; }
body:not(.home) #content a.elementor-button::after,
body:not(.home) #content .elementor-button-link::after{
  content:""; position:absolute; top:0; left:-120%;
  width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
body:not(.home) #content a.elementor-button:hover::after,
body:not(.home) #content .elementor-button-link:hover::after{ left:140%; }

body:not(.home) #content .yumyum-products .product,
body:not(.home) #content .elementor-widget-image-box .elementor-image-box-wrapper,
body:not(.home) #content .elementor-widget-icon-box .elementor-icon-box-wrapper{
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
body:not(.home) #content .yumyum-products .product:hover,
body:not(.home) #content .elementor-widget-image-box:hover .elementor-image-box-wrapper,
body:not(.home) #content .elementor-widget-icon-box:hover .elementor-icon-box-wrapper{
  transform: translateY(-6px);
}

@supports (animation-timeline: view()){
  body:not(.home) #content .elementor-widget-heading:not(.elementor-invisible),
  body:not(.home) #content .elementor-widget-image:not(.elementor-invisible),
  body:not(.home) #content .elementor-widget-text-editor:not(.elementor-invisible),
  body:not(.home) #content .elementor-widget-icon-box:not(.elementor-invisible),
  body:not(.home) #content .elementor-widget-icon-list:not(.elementor-invisible),
  body:not(.home) #content .yumyum-products .product{
    animation: revealUp .8s both;
    animation-timeline: view();
    animation-range: entry 4% cover 20%;
  }
  @keyframes revealUp{ from{ opacity:0; transform: translateY(34px); }
                       to{ opacity:1; transform: none; } }
}

/* ============================================================
   Inner-page content polish (body:not(.home) — home untouched)
   Forms, WooCommerce cards, icon-boxes, blog/gallery cards,
   franchise benefits, buttons, typography, focus + scroll anim.
   ============================================================ */

/* ---------- Contact & Franchise enquiry form ---------- */
#content form#contactForm{
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(251,147,0,.14);
  box-shadow: 0 18px 44px rgba(11,11,11,.08);
  position: relative;
  overflow: hidden;
}
#content form#contactForm::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #FB9300, #ffe01b, #2e9e5b);
}
#content form#contactForm .form-horizontal{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
#content form#contactForm .form-item p{ margin: 0 0 16px; }
#content form#contactForm input[type="text"],
#content form#contactForm input[type="email"],
#content form#contactForm input[type="tel"],
#content form#contactForm textarea{
  width: 100%;
  background: #fff;
  border: 2px solid rgba(251,147,0,.22);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  color: #222;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
#content form#contactForm input:hover,
#content form#contactForm textarea:hover{ border-color: #ffcf8a; }
#content form#contactForm input:focus,
#content form#contactForm textarea:focus{
  border-color: var(--accent);
  background: #fffaf6;
  box-shadow: 0 0 0 4px rgba(251,147,0,.18);
  outline: none;
}
#content form#contactForm ::placeholder{ color: #b08a5e; opacity: 1; font-weight: 500; }
#content form#contactForm textarea#message{ min-height: 150px; resize: vertical; }
#content form#contactForm [aria-invalid="true"],
#content form#contactForm .wpcf7-not-valid{
  border-color: #e03636 !important;
  box-shadow: 0 0 0 4px rgba(224,54,54,.15) !important;
}
/* fix the class="button" submit (was: label stacked above a nested svg) */
#content form#contactForm p:has(> button.button){ text-align: center; margin-top: 6px; }
#content form#contactForm button.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #FB9300, #ffb84d);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 8px 22px rgba(251,147,0,.32);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
#content form#contactForm button.button br{ display: none; }
#content form#contactForm button.button svg{ width: 20px; height: 20px; }
#content form#contactForm button.button:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(251,147,0,.42);
}
#content form#contactForm button.button::after{
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
#content form#contactForm button.button:hover::after{ left: 140%; }

/* Franchise "Brochure" (PDF) button -> secondary/outline so Submit dominates */
body:not(.home) #content a.elementor-button[href$=".pdf"]{
  background: #fff !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 18px rgba(251,147,0,.14);
}

/* ---------- Icon-box feature cards (contact + about) ---------- */
body:not(.home) #content .elementor-widget-yumyum-icon-box .elementor-icon-box-wrapper{
  background: #fffaf6;
  border: 1px solid rgba(251,147,0,.15);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(11,11,11,.06);
  padding: 22px 22px;
  height: 100%;
}
body:not(.home) #content .elementor-widget-yumyum-icon-box:nth-of-type(3n+2) .elementor-icon-box-wrapper{ border-left-color: #2e9e5b; }
body:not(.home) #content .elementor-widget-yumyum-icon-box:nth-of-type(3n) .elementor-icon-box-wrapper{ border-left-color: #ffb400; }
body:not(.home) #content .elementor-icon-box-icon .elementor-icon{
  background: linear-gradient(135deg, #FB9300, #ffb84d) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(251,147,0,.3);
}
body:not(.home) #content .elementor-icon-box-title,
body:not(.home) #content .elementor-icon-box-title a{
  font-family: 'Bangers', 'Quicksand', sans-serif;
  letter-spacing: .5px;
}

/* ---------- WooCommerce store / menu / award cards ---------- */
body:not(.home) #primary:has(.yumyum-products){
  padding: 48px 20px 72px !important;
  max-width: 1290px;
  margin: 0 auto;
}
body:not(.home) #content ul.yumyum-products.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body:not(.home) #content ul.yumyum-products li.product{
  list-style: none;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
}
body:not(.home) #content li.product .product-block{
  background: #fff;
  border: 1px solid rgba(251,147,0,.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(251,147,0,.10);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
body:not(.home) #content li.product .product-block::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FB9300, #ffe01b, #2e9e5b);
  z-index: 2;
}
body:not(.home) #content li.product:hover .product-block{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(251,147,0,.22);
  border-color: #FB9300;
}
body:not(.home) #content li.product .product-image{ overflow: hidden; }
body:not(.home) #content li.product .product-image img{
  width: 100% !important;
  height: 190px !important;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
body:not(.home) #content li.product:hover .product-image img{ transform: scale(1.06); }
body:not(.home) #content li.product .product-caption{
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
body:not(.home) #content h3.woocommerce-loop-product__title a{
  font-family: 'Bangers', 'Quicksand', sans-serif;
  font-weight: 400 !important;
  letter-spacing: .4px;
  color: #1a1a1a;
  font-size: 1.2rem;
  transition: color .25s;
}
body:not(.home) #content li.product:hover h3.woocommerce-loop-product__title a{ color: var(--accent); }
body:not(.home) #content .product-ingredient .product-ingredient-item{
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
/* hide the identical hardcoded star ratings and empty caption nodes */
body:not(.home) #content .count-review{ display: none !important; }
body:not(.home) #content .product-ingredient:has(> .product-ingredient-item:empty){ display: none !important; }
body:not(.home) #content .product-caption-bottom{ margin-top: auto; padding-top: 4px; }
body:not(.home) #content .product-caption-bottom:empty{ display: none; }

/* injected per-card CTA buttons (Get Directions / View Menu) */
body:not(.home) #content .card-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FB9300, #ffb84d);
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(251,147,0,.28);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
body:not(.home) #content .card-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(251,147,0,.4);
}
body:not(.home) #content .card-cta::after{
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
body:not(.home) #content .card-cta:hover::after{ left: 150%; }

/* ---------- Blog cards ---------- */
body:not(.home) .blog-image{ overflow: hidden; }
body:not(.home) .blog-image img{ transition: transform .5s cubic-bezier(.2,.8,.2,1); }
body:not(.home) .blog-post:hover .blog-image img{ transform: scale(1.06); }
body:not(.home) .blog-date{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,147,0,.12);
  color: #d9822b;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  width: fit-content;
}

/* ---------- Gallery ---------- */
body:not(.home) .gallery-item{ overflow: hidden; position: relative; }
body:not(.home) .gallery-item img{ transition: transform .5s cubic-bezier(.2,.8,.2,1); }
body:not(.home) .gallery-item:hover img{ transform: scale(1.08); }
body:not(.home) .gallery-item::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(251,147,0,.55));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
body:not(.home) .gallery-item:hover::after{ opacity: 1; }
body:not(.home) .gallery-instagram-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px auto 0;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 26px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(221,42,123,.28);
  transition: transform .3s, box-shadow .3s;
}
body:not(.home) .gallery-instagram-btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(221,42,123,.4); }

/* ---------- Franchise "Why Pizzaiiolo" benefits ---------- */
.fr-why{ max-width: 1100px; margin: 8px auto 46px; padding: 0 20px; }
.fr-why-title{
  text-align: center;
  font-family: 'Bangers', 'Quicksand', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: #1a1a1a;
  letter-spacing: .5px;
  margin: 0;
}
.fr-why-sub{ text-align: center; color: var(--muted); max-width: 620px; margin: 10px auto 0; }
.fr-why-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.fr-why-card{
  background: #fffaf6;
  border: 1px solid rgba(251,147,0,.15);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(251,147,0,.10);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.fr-why-card::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FB9300, #ffe01b, #2e9e5b);
}
.fr-why-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(251,147,0,.2); border-color: #FB9300; }
.fr-why-ico{
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FB9300, #ffb84d);
  box-shadow: 0 8px 18px rgba(251,147,0,.32);
}
.fr-why-card h3{
  font-family: 'Bangers', 'Quicksand', sans-serif;
  font-size: 1.25rem; letter-spacing: .4px;
  color: #1a1a1a; margin: 0 0 8px;
}
.fr-why-card p{ color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0; }

/* ---------- Animated headlines (inner pages) ---------- */
body:not(.home) #content .elementor-widget-yumyum-animated-headline .elementor-headline{
  text-align: center;
  letter-spacing: .5px;
}

/* ---------- Careers per-card accent rotation ---------- */
.jobs-grid .job-opening:nth-child(3n+1){ border-left: 4px solid #FB9300; }
.jobs-grid .job-opening:nth-child(3n+2){ border-left: 4px solid #2e9e5b; }
.jobs-grid .job-opening:nth-child(3n+3){ border-left: 4px solid #ffb400; }
.jobs-grid .job-opening:nth-child(3n+2)::before{ background: linear-gradient(90deg, #2e9e5b, #7fd39b); }
.jobs-grid .job-opening:nth-child(3n+3)::before{ background: linear-gradient(90deg, #ffd21e, #ffb03a); }

/* ---------- Google Map framing (contact) ---------- */
body:not(.home) #content .elementor-widget-google_maps .elementor-custom-embed{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(11,11,11,.10);
  border: 3px solid #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
body:not(.home) #content .elementor-widget-google_maps .elementor-custom-embed iframe{ display: block; width: 100%; }
body:not(.home) #content .elementor-widget-google_maps:hover .elementor-custom-embed{
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(251,147,0,.18);
}

/* ---------- Focus-visible (accessibility) ---------- */
body:not(.home) .apply-btn:focus-visible,
body:not(.home) .read-more-btn:focus-visible,
body:not(.home) #content .card-cta:focus-visible,
body:not(.home) .gallery-instagram-btn:focus-visible,
body:not(.home) #content form#contactForm button.button:focus-visible,
body:not(.home) #content a.woocommerce-loop-product__link:focus-visible,
body:not(.home) .gallery-item:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---------- Scroll-reveal for custom cards (progressive) ---------- */
@supports (animation-timeline: view()){
  body:not(.home) #content .job-opening,
  body:not(.home) #content .blog-post,
  body:not(.home) #content .gallery-item,
  body:not(.home) .fr-why-card,
  body:not(.home) #content ul.yumyum-products li.product{
    animation: revealUp .7s both;
    animation-timeline: view();
    animation-range: entry 3% cover 18%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px){
  #content form#contactForm .form-horizontal{ grid-template-columns: 1fr; }
  body:not(.home) #primary:has(.yumyum-products){ padding: 32px 16px 56px !important; }
  body:not(.home) #content ul.yumyum-products.products{ grid-template-columns: 1fr; }
}

/* Keep specific overrides limited to visual rules only */
