/* =========================================================
   Colliefields Menu Page - CART REDESIGN V2
   Scope: body.cp-menu-only
   ========================================================= */

body.cp-menu-only{
  margin:0;
  background:#f8f9fa;
  color:#1a1a1a;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body.cp-menu-only a{ color:inherit; text-decoration:none; }
body.cp-menu-only *{ box-sizing:border-box; }

/* Layout container */
body.cp-menu-only .cp-layout{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 14px;
}

/* =========================================================
   Fixed Top Header - TWO ROW DESIGN
   ========================================================= */
body.cp-menu-only .cp-menuhdr{
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + env(safe-area-inset-top));
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* TOP ROW */
body.cp-menu-only .cp-menuhdr__top{
  border-bottom: 1px solid #f1f3f5;
  background: #ffffff;
}

body.cp-menu-only .cp-menuhdr__top-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand/Logo */
body.cp-menu-only .cp-menuhdr__brand{
  flex: 0 0 auto;
}

body.cp-menu-only .cp-menuhdr__brandlink{
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
body.cp-menu-only .cp-menuhdr__brandlink:hover{
  opacity: 0.85;
  transform: scale(1.02);
}

body.cp-menu-only .cp-menuhdr__brandlogo{
  height: 70px;
  width: auto;
  display: block;
}

/* Cart button container */
body.cp-menu-only .cp-menuhdr__cart{
  flex: 0 0 auto;
}

body.cp-menu-only .cp-cartchip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #cc0000;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 900;
  font-size: 15px;
  color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(204,0,0,.2);
  cursor: pointer;
}
body.cp-menu-only .cp-cartchip:hover{
  background: #b30000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204,0,0,.3);
}
body.cp-menu-only .cp-cartchip__count{
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ff4444;
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
}

/* =========================================================
   CENTER BRANDING (COLLIEFIELDS SINCE 1897)
   ========================================================= */
body.cp-menu-only .cp-menuhdr__center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

body.cp-menu-only .cp-menuhdr__title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #8a8a8a;
  line-height: 1;
  margin: 0;
}

body.cp-menu-only .cp-menuhdr__tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #e8a5a5;
  line-height: 1;
  margin: 0;
}

body.cp-menu-only .cp-menuhdr__stripes-full {
  width: 100%;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.cp-menu-only .cp-fullstripe {
  width: 100%;
  height: 3px;
}

body.cp-menu-only .cp-fullstripe--green {
  background-color: #009246;
}

body.cp-menu-only .cp-fullstripe--red {
  background-color: #ce2b37;
}

/* Tablet: Smaller branding text */
@media (max-width: 1100px) {
  body.cp-menu-only .cp-menuhdr__title {
    font-size: 26px;
    letter-spacing: 4px;
  }
  body.cp-menu-only .cp-menuhdr__tagline {
    font-size: 11px;
    letter-spacing: 2px;
  }
}

/* =========================================================
   DARK CATEGORY SLIDER
   ========================================================= */
body.cp-menu-only .cp-menuhdr__bottom{
  background: #111;
  border-bottom: 1px solid #222;
}

body.cp-menu-only .cp-menuhdr__nav{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

body.cp-menu-only .cp-catbar-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}

body.cp-menu-only .cp-catbar-arrow{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #1c1c1c;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all .2s ease;
}

body.cp-menu-only .cp-catbar-arrow:hover{
  background: #cc0000;
  border-color: #cc0000;
}

body.cp-menu-only .cp-catbar{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}

body.cp-menu-only .cp-catbar::-webkit-scrollbar{
  display: none;
}

body.cp-menu-only .cp-catbar__tab{
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 14px;
  color: #bbb;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s ease;
}

body.cp-menu-only .cp-catbar__tab:hover{
  color: #fff;
  border-color: #555;
  background: #222;
}

body.cp-menu-only .cp-catbar__tab.is-active{
  background: #cc0000;
  border-color: #cc0000;
  color: #fff;
}

/* =========================================================
   Mobile header adjustments
   ========================================================= */
@media (max-width: 768px){
  body.cp-menu-only .cp-menuhdr__top-inner{
    height: 64px;
    padding: 0 10px;
    gap: 8px;
  }
  body.cp-menu-only .cp-menuhdr__brandlogo{
    height: 52px;
  }
  body.cp-menu-only .cp-menuhdr__center {
    min-width: 0;
    overflow: hidden;
  }
  body.cp-menu-only .cp-menuhdr__title {
    font-size: clamp(13px, 3.8vw, 24px);
    letter-spacing: clamp(1px, 1vw, 4px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.cp-menu-only .cp-menuhdr__tagline {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  body.cp-menu-only .cp-menuhdr__nav{
    padding: 0 10px;
  }
  body.cp-menu-only .cp-catbar{
    padding: 10px 0;
    gap: 6px;
  }
  body.cp-menu-only .cp-catbar__tab{
    padding: 9px 14px;
    font-size: 13px;
  }
  body.cp-menu-only .cp-cartchip{
    padding: 10px 14px;
    font-size: 13px;
    gap: 6px;
    border-radius: 10px;
  }
  body.cp-menu-only .cp-account-btn {
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 8px;
  }
  body.cp-menu-only .cp-account-btn__name {
    display: none;
  }
}

@media (max-width: 430px){
  body.cp-menu-only .cp-menuhdr__top-inner{
    height: 58px;
    padding: 0 8px;
    gap: 6px;
  }
  body.cp-menu-only .cp-menuhdr__brandlogo{
    height: 44px;
  }
  body.cp-menu-only .cp-menuhdr__title {
    font-size: clamp(12px, 3.5vw, 18px);
    letter-spacing: clamp(1px, 0.8vw, 3px);
  }
  body.cp-menu-only .cp-cartchip{
    padding: 9px 12px;
    font-size: 12px;
    gap: 5px;
  }
}

/* =========================================================
   Main app spacing — NO extra top padding causing blank space
   ========================================================= */
body.cp-menu-only .cp-menuapp{
  padding-top: calc(var(--cpHdrOffset, 100px) + 4px);
  padding-bottom: 40px;
  transition: padding-top 0.3s ease;
}

body.cp-menu-only .cp-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* =========================================================
   Section headings
   ========================================================= */
body.cp-menu-only .cp-cat-section{
  scroll-margin-top: var(--cpHdrOffset, 150px);
  padding-top: 0;  /* removed extra padding that caused blank space */
}

body.cp-menu-only .cp-cat-title{
  margin: 20px 0 14px;
  font-size: 20px;
  font-weight: 1000;
  color: #1a1a1a;
}

/* =========================================================
   Product Grid — default for ALL sections: 2 col mobile, 4 col desktop
   ========================================================= */
body.cp-menu-only .products-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 900px){
  body.cp-menu-only .products-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================================================
   Combos section ONLY: 1 col mobile, 2 col tablet, 3 col desktop
   ========================================================= */
body.cp-menu-only #cat-combos .products-grid{
  grid-template-columns: 1fr;
}

@media (min-width: 600px){
  body.cp-menu-only #cat-combos .products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  body.cp-menu-only #cat-combos .products-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   Product Card
   ========================================================= */
body.cp-menu-only .cp-card{
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
body.cp-menu-only .cp-card:hover{
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  border-color: #e5e7eb;
}

body.cp-menu-only .cp-card__media{
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #fff;
}

body.cp-menu-only .cp-card__media img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  height: 85%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

body.cp-menu-only .cp-card:hover .cp-card__media img{
  transform: translate(-50%, -50%) scale(1.05);
}

body.cp-menu-only .cp-card__body{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
body.cp-menu-only .cp-card__title{
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  color: #1a1a1a;
}
body.cp-menu-only .cp-card__desc{
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.4;
}
body.cp-menu-only .cp-card__price{
  font-weight: 900;
  color: #1a1a1a;
}

body.cp-menu-only .cp-card a.button,
body.cp-menu-only .cp-card button.button{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 1000;
  cursor: pointer;
  background: linear-gradient(135deg, #28a745 0%, #20853a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 3px 10px rgba(40,167,69,.25);
  transition: all 0.3s ease;
}
body.cp-menu-only .cp-card a.button:hover,
body.cp-menu-only .cp-card button.button:hover{
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(40,167,69,.35);
}

/* Dietary tags in product cards */
body.cp-menu-only .cp-card__dietary-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 8px 0;
}

body.cp-menu-only .cp-card__dietary-tags .cp-dietary-tag {
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  font-size: 10px;
  border-width: 1.5px;
}

/* =========================================================
   SLIDE-OUT CART PANEL
   ========================================================= */
body.cp-menu-only .cp-cart-panel{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
}

body.cp-menu-only .cp-cart-panel[aria-hidden="false"],
body.cp-menu-only .cp-cart-panel.is-open{
  display: block;
}

body.cp-menu-only .cp-cart-panel__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  animation: cpFadeIn 0.3s ease;
}

@keyframes cpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.cp-menu-only .cp-cart-panel__content{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  animation: cpSlideIn 0.3s ease;
}

@keyframes cpSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

body.cp-menu-only .cp-cart-panel__header{
  flex: 0 0 auto;
  padding: 20px 24px;
  border-bottom: 2px solid #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.cp-menu-only .cp-cart-panel__title{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #1a1a1a;
}

body.cp-menu-only .cp-cart-panel__close{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f5;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
}
body.cp-menu-only .cp-cart-panel__close:hover{
  background: #e3e6e9;
  transform: scale(1.1);
}

body.cp-menu-only .cp-cart-panel__body{
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Voucher */
body.cp-menu-only .cp-cart-voucher{
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f3f5;
}

body.cp-menu-only .cp-cart-voucher__label{
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #6c757d;
  margin-bottom: 10px;
}

body.cp-menu-only .cp-cart-voucher__input-group{
  display: flex;
  gap: 10px;
}

body.cp-menu-only .cp-cart-voucher__input{
  flex: 1;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

body.cp-menu-only .cp-cart-voucher__btn{
  flex: 0 0 auto;
  border: 0;
  background: #cc0000;
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 900;
  cursor: pointer;
}

/* Cart summary row */
body.cp-menu-only .cp-cart-summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f3f5;
}

body.cp-menu-only .cp-cart-summary__count{
  font-size: 14px;
  font-weight: 800;
}

body.cp-menu-only .cp-cart-summary__empty{
  background: transparent;
  border: 0;
  color: #dc3545;
  font-weight: 800;
  cursor: pointer;
}

/* Cart Items */
body.cp-menu-only .cp-cart-items .woocommerce-mini-cart{
  list-style: none;
  padding: 0;
  margin: 0;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item{
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto auto;
  gap: 8px 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f5;
  align-items: start;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item:last-child{
  border-bottom: none;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item img{
  display: none !important;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item .remove {
  grid-column: 3;
  grid-row: 1;
  color: #dc3545 !important;
  font-size: 22px !important;
  width: 28px;
  height: 28px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item > a{
  grid-column: 1 / 3;
  grid-row: 1;
  font-weight: 800;
  font-size: 15px;
  color: #1a1a1a !important;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item dl.variation{
  grid-column: 1 / 4;
  grid-row: 2;
  font-size: 13px;
  color: #6c757d;
}

body.cp-menu-only .cp-cart-items .cp-cart-item-meta{
  grid-column: 1 / 4;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.cp-menu-only .cp-cart-items .woocommerce-mini-cart-item .quantity{
  display: inline-flex;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
}

body.cp-menu-only .cp-cart-items .woocommerce-Price-amount{
  font-weight: 900;
  font-size: 16px;
}

/* Cart Footer */
body.cp-menu-only .cp-cart-panel__footer{
  flex: 0 0 auto;
  padding: 20px 24px;
  border-top: 2px solid #f1f3f5;
}

body.cp-menu-only .cp-cart-totals{
  margin-bottom: 16px;
}

body.cp-menu-only .cp-cart-total-row{
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
}

body.cp-menu-only .cp-cart-total-row--main{
  font-size: 18px;
  font-weight: 900;
  padding: 10px 0 4px;
  border-top: 2px solid #f1f3f5;
  margin-top: 4px;
}

body.cp-menu-only .cp-cart-gst{
  font-size: 12px;
  color: #6c757d;
  text-align: right;
  margin-top: 4px;
}

body.cp-menu-only .cp-cart-checkout{
  display: block;
  width: 100%;
  text-align: center;
  background: #cc0000;
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(204,0,0,.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

body.cp-menu-only .cp-cart-checkout:hover{
  background: #b30000;
  transform: translateY(-2px);
}

/* =========================================================
   Product Modal
   ========================================================= */
body.cp-menu-only .cp-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
body.cp-menu-only .cp-modal[aria-hidden="false"]{ display: block; }

body.cp-menu-only .cp-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

body.cp-menu-only .cp-modal__dialog{
  position: relative;
  width: 900px;
  max-width: 95vw;
  max-height: 90vh;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
}

body.cp-menu-only .cp-modal__close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: all 0.2s ease;
}
body.cp-menu-only .cp-modal__close:hover{
  transform: scale(1.1);
  background: #f8f9fa;
}

body.cp-menu-only .cp-modal__inner{
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px;
}

/* Modal product layout */
body.cp-menu-only .cp-pmodal__top{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

body.cp-menu-only .cp-pmodal__img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

body.cp-menu-only .cp-pmodal__title{
  margin: 6px 0 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: #1a1a1a;
}

body.cp-menu-only .cp-pmodal__desc{
  font-size: 15px;
  line-height: 1.6;
  color: #0a3d12;
  margin-bottom: 18px;
}

body.cp-menu-only .cp-pmodal__price{
  font-weight: 900;
  margin: 10px 0 20px;
  font-size: 22px;
  color: #1a1a1a;
}

body.cp-menu-only .cp-pmodal__form{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #f1f3f5;
}

body.cp-menu-only .cp-pmodal__form form.cart{
  display: grid;
  gap: 14px;
}

body.cp-menu-only .cp-pmodal__form table.variations{
  width: 100%;
  border-collapse: collapse;
}
body.cp-menu-only .cp-pmodal__form table.variations th{
  display: none;
}
body.cp-menu-only .cp-pmodal__form table.variations td{
  padding: 10px 0;
}
body.cp-menu-only .cp-pmodal__form table.variations select{
  width: 100%;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  background: #fff;
}

body.cp-menu-only .cp-pmodal__form .woocommerce-variation-add-to-cart{
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

body.cp-menu-only .cp-pmodal__form .quantity input.qty{
  width: 80px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid #ddd;
  font-weight: 900;
  padding: 12px;
}

body.cp-menu-only .cp-pmodal__form button.single_add_to_cart_button,
body.cp-menu-only .cp-pmodal__form .single_add_to_cart_button{
  flex: 1;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font-weight: 900;
  cursor: pointer;
  background: #cc0000;
  color: #fff;
  box-shadow: 0 4px 14px rgba(204,0,0,.3);
  transition: all 0.3s ease;
}
body.cp-menu-only .cp-pmodal__form button.single_add_to_cart_button:hover{
  background: #b30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,0,0,.4);
}

@media (max-width: 860px){
  body.cp-menu-only .cp-pmodal__top{
    grid-template-columns: 1fr;
  }
  body.cp-menu-only .cp-modal__dialog{
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 20px;
  }
}

@media (max-width: 600px){
  body.cp-menu-only .cp-modal__dialog{
    margin: 0;
    max-height: 100vh;
    border-radius: 0;
  }
  body.cp-menu-only .cp-modal__inner{
    padding: 20px;
  }
}

/* =========================================================
   Allergen Section
   ========================================================= */
body.cp-menu-only .cp-pmodal__allergen {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

body.cp-menu-only .cp-pmodal__allergen-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1a1a1a;
}

body.cp-menu-only .cp-pmodal__allergen-icon {
  display: inline-block;
  font-size: 16px;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1;
}

body.cp-menu-only .cp-pmodal__allergen-toggle {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #666;
}

body.cp-menu-only .cp-pmodal__allergen.is-collapsed .cp-pmodal__allergen-toggle {
  transform: rotate(-90deg);
}

body.cp-menu-only .cp-pmodal__allergen-text {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

body.cp-menu-only .cp-pmodal__allergen.is-collapsed .cp-pmodal__allergen-text {
  max-height: 0;
}

body.cp-menu-only .cp-pmodal__allergen-text p {
  margin-bottom: 12px;
}

body.cp-menu-only .cp-pmodal__allergen-text a {
  color: #c40000;
  text-decoration: underline;
  font-weight: 700;
}

body.cp-menu-only .cp-pmodal__allergen-highlight {
  padding: 12px 16px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #856404;
}

body.cp-menu-only .cp-pmodal__allergen-highlight strong {
  color: #533f03;
  font-weight: 900;
}

body.cp-menu-only .cp-pmodal__gf-note {
  padding: 8px 12px;
  background: #f1f8e9;
  border-left: 3px solid #9ccc65;
  font-size: 12px;
  line-height: 1.4;
  color: #558b2f;
  margin: 8px 0 16px 0;
  border-radius: 4px;
}

/* =========================================================
   Dietary Tags
   ========================================================= */
body.cp-menu-only .cp-pmodal__dietary-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 8px 0;
}

body.cp-menu-only .cp-dietary-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.3px;
  border: 2px solid;
  cursor: help;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

body.cp-menu-only .cp-dietary-tag--wheat,
body.cp-menu-only .cp-dietary-tag--gluten {
  background: #fff8e1; border-color: #ffa726; color: #e65100;
}
body.cp-menu-only .cp-dietary-tag--milk {
  background: #e3f2fd; border-color: #42a5f5; color: #0d47a1;
}
body.cp-menu-only .cp-dietary-tag--egg {
  background: #fff9c4; border-color: #ffeb3b; color: #f57f17;
}
body.cp-menu-only .cp-dietary-tag--fish,
body.cp-menu-only .cp-dietary-tag--shellfish {
  background: #e0f2f1; border-color: #26a69a; color: #004d40;
}
body.cp-menu-only .cp-dietary-tag--nuts {
  background: #ffe0b2; border-color: #ff9800; color: #e65100;
}
body.cp-menu-only .cp-dietary-tag--meat {
  background: #ffebee; border-color: #ef5350; color: #c62828;
}
body.cp-menu-only .cp-dietary-tag--vegetarian {
  background: #e8f5e9; border-color: #66bb6a; color: #2e7d32;
}
body.cp-menu-only .cp-dietary-tag--vegan,
body.cp-menu-only .cp-dietary-tag--gluten-free {
  background: #c8e6c9; border-color: #4caf50; color: #1b5e20;
}
body.cp-menu-only .cp-dietary-tag--evo {
  background: #f1f8e9; border-color: #9ccc65; color: #558b2f;
}
body.cp-menu-only .cp-dietary-tag--chilli {
  background: #ffebee; border-color: #f44336; color: #c62828;
}

body.cp-menu-only .cp-dietary-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* =========================================================
   Mobile Sticky Bottom Bar
   ========================================================= */
body.cp-menu-only .cp-bottombar{ display: none; }

@media (max-width: 860px){
  body.cp-menu-only .cp-bottombar{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 2px solid #e9ecef;
    box-shadow: 0 -8px 24px rgba(0,0,0,.12);
  }

  body.cp-menu-only .cp-menuapp{
    padding-bottom: calc(40px + 74px + env(safe-area-inset-bottom));
  }

  body.cp-menu-only .cp-bottombar__cart,
  body.cp-menu-only .cp-bottombar__checkout{
    height: 56px;
    border-radius: 14px;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
    transition: all 0.3s ease;
    border: 0;
    cursor: pointer;
    background: none;
  }

  body.cp-menu-only .cp-bottombar__cart{
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,102,204,.25);
  }

  body.cp-menu-only .cp-bottombar__count{
    background: rgba(255,255,255,.25);
    padding: 5px 10px;
    border-radius: 999px;
    min-width: 28px;
    text-align: center;
    font-weight: 1000;
  }

  body.cp-menu-only .cp-bottombar__divider{ opacity: .85; }

  body.cp-menu-only .cp-bottombar__checkout{
    background: #dee2e6;
    color: #6c757d;
  }

  body.cp-menu-only .cp-bottombar__checkout.is-disabled{
    pointer-events: none;
    opacity: .9;
  }

  body.cp-menu-only .cp-bottombar__checkout.is-enabled{
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(73,80,87,.25);
  }
}

/* =========================================================
   Utility
   ========================================================= */
body.cp-menu-only .reset_variations {
  display: none !important;
}

body.cp-menu-only .cp-empty {
  color: #6c757d;
  font-style: italic;
  padding: 20px 0;
}
/* =========================================================
   CART REDESIGN — add these to the END of menu.css
   ========================================================= */

/* ── Delivery/Pickup Toggle Bar ── */
body.cp-menu-only .cp-cart-toggle-bar {
  flex: 0 0 auto;
  padding: 16px 24px;
  border-bottom: 2px solid #f1f3f5;
  background: #fafafa;
}

body.cp-menu-only .cp-cart-toggle {
  display: flex;
  background: #f1f3f5;
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}

body.cp-menu-only .cp-cart-toggle__btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  color: #6c757d;
  transition: all 0.22s ease;
  white-space: nowrap;
}

body.cp-menu-only .cp-cart-toggle__btn.is-active {
  background: #cc0000;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(204,0,0,.25);
}

body.cp-menu-only .cp-cart-toggle__btn:not(.is-active):hover {
  background: #e9ecef;
  color: #1a1a1a;
}

/* ── Postcode Field ── */
body.cp-menu-only .cp-cart-postcode {
  margin-top: 14px;
  transition: all 0.22s ease;
}

body.cp-menu-only .cp-cart-postcode.is-hidden {
  display: none;
}

body.cp-menu-only .cp-cart-postcode__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

body.cp-menu-only .cp-cart-postcode__row {
  display: flex;
  gap: 8px;
}

body.cp-menu-only .cp-cart-postcode__input {
  flex: 1;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  transition: border-color 0.2s ease;
  outline: none;
}

body.cp-menu-only .cp-cart-postcode__input:focus {
  border-color: #cc0000;
}

body.cp-menu-only .cp-cart-postcode__check {
  flex: 0 0 auto;
  border: 0;
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease;
}

body.cp-menu-only .cp-cart-postcode__check:hover {
  background: #cc0000;
}

body.cp-menu-only .cp-cart-postcode__msg {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  min-height: 18px;
}

body.cp-menu-only .cp-cart-postcode__msg--ok    { color: #28a745; }
body.cp-menu-only .cp-cart-postcode__msg--error { color: #dc3545; }

/* ── Delivery fee row — hide when pickup ── */
body.cp-menu-only #cpDeliveryFeeRow.is-hidden {
  display: none;
}

/* ── Cart Item Cards (mini-cart) ── */
body.cp-menu-only .cp-cart-items .woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.cp-menu-only .cp-citem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f5;
  transition: opacity 0.2s ease;
}

body.cp-menu-only .cp-citem:last-child {
  border-bottom: none;
}

body.cp-menu-only .cp-citem--loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Thumbnail */
body.cp-menu-only .cp-citem__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.cp-menu-only .cp-citem__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.cp-menu-only .cp-citem__thumb-placeholder {
  font-size: 28px;
  line-height: 1;
}

/* Details column */
body.cp-menu-only .cp-citem__details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Top row: name + remove */
body.cp-menu-only .cp-citem__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

body.cp-menu-only .cp-citem__name {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  flex: 1;
}

body.cp-menu-only .cp-citem__remove {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 900;
  text-decoration: none !important;
  transition: all 0.2s ease;
  line-height: 1;
}

body.cp-menu-only .cp-citem__remove:hover {
  background: #ffecec;
  color: #cc0000 !important;
}

/* Variation/sub-item data */
body.cp-menu-only .cp-citem__meta {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.4;
}

body.cp-menu-only .cp-citem__meta dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.cp-menu-only .cp-citem__meta dt,
body.cp-menu-only .cp-citem__meta dd {
  margin: 0;
  display: inline;
  font-size: 12px;
}

body.cp-menu-only .cp-citem__meta dt::after { content: ': '; }
body.cp-menu-only .cp-citem__meta dd::after { content: ' '; }

/* Bottom row: qty controls + price */
body.cp-menu-only .cp-citem__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

/* Qty wrap */
body.cp-menu-only .cp-citem__qty-wrap {
  display: inline-flex;
  align-items: center;
  background: #f1f3f5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

body.cp-menu-only .cp-citem__qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}

body.cp-menu-only .cp-citem__qty-btn:hover:not(:disabled) {
  background: #cc0000;
  color: #ffffff;
}

body.cp-menu-only .cp-citem__qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.cp-menu-only .cp-citem__qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: #1a1a1a;
  padding: 0 2px;
}

body.cp-menu-only .cp-citem__qty-wrap--solo .cp-citem__qty-num {
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
}

/* Line price */
body.cp-menu-only .cp-citem__line-price {
  font-size: 15px;
  font-weight: 900;
  color: #1a1a1a;
  white-space: nowrap;
}

body.cp-menu-only .cp-citem__line-price .woocommerce-Price-amount {
  font-size: 15px;
  font-weight: 900;
}
/* =========================================================
   CART EDIT BUTTONS - ADD TO menu.css
   Works with your existing .cp-citem styles
   Add this after your existing cart item styles
   ========================================================= */

/* ── Hide the default × remove link (keep for fallback, hide visually) ── */
body.cp-menu-only .cp-citem__remove {
  display: none !important;
}

/* ── NEW: Action Buttons Row ── */
.cart-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f3f5;
}

.btn-edit-cart-item,
.btn-remove-cart-item {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid;
  background: #ffffff;
  text-decoration: none;
}

/* Edit Button - Green */
.btn-edit-cart-item {
  color: #009246;
  border-color: #009246;
}

.btn-edit-cart-item:hover {
  background: #009246;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 146, 70, 0.25);
}

.btn-edit-cart-item:active {
  transform: translateY(0);
}

/* Remove Button - Red */
.btn-remove-cart-item {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-remove-cart-item:hover {
  background: #dc3545;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.btn-remove-cart-item:active {
  transform: translateY(0);
}

/* Button SVG Icons */
.btn-edit-cart-item svg,
.btn-remove-cart-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Loading State */
.btn-edit-cart-item.loading,
.btn-remove-cart-item.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.btn-edit-cart-item.loading::after,
.btn-remove-cart-item.loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Notification Toast Styles (for success/error messages) ── */
.cp-notification-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid;
}

.cp-notification-toast.success {
  border-left-color: #009246;
}

.cp-notification-toast.error {
  border-left-color: #dc3545;
}

.cp-notification-toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.cp-notification-toast.success .cp-notification-toast__icon {
  color: #009246;
}

.cp-notification-toast.error .cp-notification-toast__icon {
  color: #dc3545;
}

.cp-notification-toast__message {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.cp-notification-toast__close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cp-notification-toast__close:hover {
  background: #f1f3f5;
  color: #1a1a1a;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.cp-notification-toast.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

/* ── Responsive Adjustments ── */
@media (max-width: 480px) {
  .cart-item-actions {
    gap: 6px;
  }
  
  .btn-edit-cart-item,
  .btn-remove-cart-item {
    padding: 9px 12px;
    font-size: 12px;
    gap: 4px;
  }
  
  .btn-edit-cart-item svg,
  .btn-remove-cart-item svg {
    width: 13px;
    height: 13px;
  }
  
  .cp-notification-toast {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
  
  /* Stack buttons vertically on very small screens if needed */
  @media (max-width: 360px) {
    .cart-item-actions {
      flex-direction: column;
    }
    
    .btn-edit-cart-item,
    .btn-remove-cart-item {
      width: 100%;
    }
  }
}

/* ── Cart Item Hover Enhancement ── */
body.cp-menu-only .cp-citem:hover .btn-edit-cart-item {
  border-color: #00a84f;
}

body.cp-menu-only .cp-citem:hover .btn-remove-cart-item {
  border-color: #c82333;
}
/* ── Empty cart state ── */
body.cp-menu-only .cp-cart-empty {
  text-align: center;
  padding: 40px 20px;
}

body.cp-menu-only .cp-cart-empty__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

body.cp-menu-only .cp-cart-empty__msg {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
}

body.cp-menu-only .cp-cart-empty__sub {
  font-size: 13px;
  color: #6c757d;
}

/* ============================================================
   ORDER TYPE GATE MODAL
   Injected dynamically by cp-shop.js — showOrderTypeModal()
   ============================================================ */

.cp-order-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cp-order-gate-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.cp-order-gate-modal__content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  animation: cpGateSlideUp 0.28s ease;
}

@keyframes cpGateSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.cp-order-gate__header {
  text-align: center;
  margin-bottom: 24px;
}

.cp-order-gate__header h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}

.cp-order-gate__header p {
  font-size: .85rem;
  color: #888;
  margin: 0;
}

/* Option cards */
.cp-order-gate__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.cp-order-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .15s;
  background: #fff;
  text-align: center;
}

.cp-order-option:hover {
  border-color: #cc0000;
  background: #fff8f8;
  transform: translateY(-2px);
}

.cp-order-option.is-selected {
  border-color: #cc0000;
  background: #fff0f0;
}

.cp-order-option__icon {
  font-size: 2rem;
  line-height: 1;
}

.cp-order-option__content h3 {
  font-size: .95rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.cp-order-option__content p {
  font-size: .78rem;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

.cp-order-option__note {
  font-size: .72rem !important;
  color: #cc0000 !important;
  font-weight: 700;
  margin-top: 4px !important;
}

/* Postcode section (shown after delivery selected) */
.cp-delivery-postcode {
  margin-top: 4px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
}

.cp-delivery-postcode label {
  display: block;
  margin-bottom: 10px;
  font-size: .85rem;
  color: #333;
}

.cp-postcode-note {
  display: block;
  font-size: .75rem;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
}

.cp-postcode-input-group {
  display: flex;
  gap: 8px;
}

.cp-postcode-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}

.cp-postcode-input-group input:focus {
  border-color: #cc0000;
}

.cp-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}

.cp-btn--primary {
  background: #cc0000;
  color: #fff;
}

.cp-btn--primary:hover {
  background: #a80000;
}

.cp-error-message {
  margin-top: 8px;
  font-size: .8rem;
  color: #cc0000;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 480px) {
  .cp-order-gate-modal__content {
    padding: 24px 18px 20px;
  }
  .cp-order-gate__options {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cp-order-option {
    padding: 16px 10px;
  }
  .cp-order-option__icon {
    font-size: 1.6rem;
  }
}


/* ============================================================
   ORDER TYPE CONFIRMATION BAR
   Injected by cp-shop.js after selection — showOrderTypeConfirmation()
   ============================================================ */

/* ============================================================
   ORDER TYPE CONFIRMATION BAR
   ============================================================ */

/* ============================================================
   ORDER TYPE CONFIRMATION BAR
   ============================================================ */

.cp-order-confirmation {
  position: sticky;
  top: var(--cpHdrOffset, 0px);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: #1a1a1a;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  border-bottom: 2px solid #cc0000;
  margin: 0;
}

.cp-order-confirmation__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.cp-order-confirmation__text {
  flex: 1;
  color: #ccc;
}

.cp-order-confirmation__change {
  margin-left: auto;
  flex-shrink: 0;
  padding: 5px 14px;
  border: 1px solid #555;
  border-radius: 20px;
  background: transparent;
  color: #ccc;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, color .15s;
}

.cp-order-confirmation__change:hover {
  border-color: #cc0000;
  color: #fff;
}

@media (max-width: 600px) {
  .cp-order-confirmation {
    padding: 8px 14px;
    font-size: .78rem;
  }
}
.cp-menu-sections {
  padding-top: 0;
  margin-top: 0;
}


/* ================================================================
   PROMO BANNER - Simple Image Banner
   ================================================================ */

.cp-promo-banner {
  margin: 20px 0 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cp-promo-banner__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s;
}

.cp-promo-banner__img:hover {
  transform: scale(1.01);
}

/* Mobile - slightly reduce margins */
@media (max-width: 768px) {
  .cp-promo-banner {
    margin: 16px 0 24px;
    border-radius: 8px;
  }
}
/* ===================================================================
 * COMBO DEALS - FINAL CLEAN DESIGN
 * Visible borders, green line headers, pill buttons
 * White page background
 * =================================================================== */

/* Main Grid Container */
.cp-combo-grid-new {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Top Row: Classic + Signature side-by-side */
.cp-combo-row-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Individual Deal Card - WITH VISIBLE BORDER */
.cp-deal-card {
  background: #2a2a2a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  border: 2px solid #444;
  transition: all 0.3s ease;
}

.cp-deal-card:hover {
  border-color: #666;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* Wings card (full width) */
.cp-deal-card--wide {
  width: 100%;
}

/* ===================================================================
 * HORIZONTAL BANNER (WITH BACKGROUND IMAGE)
 * =================================================================== */

.cp-deal-card__banner {
  position: relative;
  width: 100%;
  min-height: 200px;
  padding: 28px 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dark overlay for text readability */
.cp-deal-card__banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

/* Badge Text - On top of overlay */
.cp-deal-card__badge {
  position: relative;
  z-index: 2;
  color: #d4af37;
}

.cp-deal-card__badge-label {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.8);
}

.cp-deal-card__badge-sub {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.cp-deal-card__badge-price {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: #d4af37;
  text-shadow: 0 4px 16px rgba(212, 175, 55, 0.6);
  margin-bottom: 4px;
  letter-spacing: -2px;
}

.cp-deal-card__badge-each {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ===================================================================
 * 2-COLUMN LAYOUT (Large Deals | XL Deals) - EQUAL HEIGHT
 * =================================================================== */

.cp-deal-card__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #1a1a1a;
  flex: 1; /* Makes columns fill available space */
  align-items: stretch; /* Stretch columns to equal height */
}

/* Individual Column */
.cp-deal-column {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Add divider between columns */
.cp-deal-column:first-child {
  border-right: 1px solid rgba(255,255,255,0.12);
}

/* CLEAN COLUMN HEADER - Just green line + text */
.cp-deal-column__title {
  font-size: 15px;
  font-weight: 800;
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 14px;
  border-left: 4px solid #28a745;
  line-height: 1.4;
  flex-shrink: 0; /* Don't shrink header */
}

.cp-deal-column__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1; /* Fill remaining space */
}

/* ===================================================================
 * DEAL ITEMS (Individual combos)
 * =================================================================== */

.cp-deal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}

.cp-deal-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateX(3px);
}

.cp-deal-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cp-deal-item__name {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.cp-deal-item__price {
  font-size: 20px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* PILL-SHAPED BUTTON */
.cp-deal-item__btn {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3);
}

.cp-deal-item__btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(40, 167, 69, 0.4);
}

.cp-deal-item__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

/* ===================================================================
 * WINGS COMBOS - 2 PRODUCT CARDS (REFINED)
 * =================================================================== */

.cp-wings-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  padding: 0;
}

.cp-wings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

/* Individual Wings Card - DUAL BORDER WITH GLOW */
.cp-wings-card {
  background: #2a2a2a;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #28a745;
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.3),
    0 4px 15px rgba(40, 167, 69, 0.25);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cp-wings-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.3),
    0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Wings Image - SMALLER */
.cp-wings-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}

.cp-wings-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, rgba(26,26,26,0.8), transparent);
  pointer-events: none;
}

.cp-wings-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cp-wings-card:hover .cp-wings-card__image img {
  transform: scale(1.05);
}

/* Wings Content - REFINED SPACING */
.cp-wings-card__content {
  padding: 20px 20px 18px 20px;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* REFINED TITLE - Smaller, cleaner */
.cp-wings-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  min-height: 44px;
}

/* REFINED PRICE - Smaller but still prominent */
.cp-wings-card__price {
  font-size: 28px;
  font-weight: 900;
  color: #ffd700;
  margin: 0;
  text-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
  letter-spacing: -0.5px;
}

/* REFINED BUTTON - Slightly smaller */
.cp-wings-card__btn {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.35);
  width: 100%;
  margin-top: auto;
}

.cp-wings-card__btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(40, 167, 69, 0.45);
}

.cp-wings-card__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.35);
}

/* ===================================================================
 * RESPONSIVE DESIGN
 * =================================================================== */

/* Tablet: Stack cards vertically */
@media (max-width: 1023px) {
  .cp-combo-row-new {
    grid-template-columns: 1fr;
  }
}

/* Mobile: Carousel for deal columns + Wings side-by-side */
@media (max-width: 767px) {
  
  /* === COMBO CARDS MOBILE === */
  
  .cp-deal-card__banner {
    padding: 20px 24px;
    min-height: 160px;
  }

  .cp-deal-card__badge-label {
    font-size: 26px;
  }

  /* CAROUSEL CONTAINER */
  .cp-carousel-container {
    position: relative;
    overflow: hidden;
  }

  /* Columns become horizontal carousel */
  .cp-deal-card__columns {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    transition: transform 0.3s ease;
    width: 200%; /* 2 slides */
  }

  .cp-deal-column {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 20px 18px;
  }

  .cp-deal-column:first-child {
    border-right: none;
    border-bottom: none;
  }

  /* Carousel dots */
  .cp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    background: #1a1a1a;
  }

  .cp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .cp-carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #28a745;
  }

  .cp-deal-column__title {
    font-size: 14px;
  }

  .cp-deal-item {
    padding: 10px 12px;
  }

  .cp-deal-item__name {
    font-size: 13px;
  }

  .cp-deal-item__price {
    font-size: 18px;
  }

  .cp-deal-item__btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  /* === WINGS MOBILE - 2 COLUMNS === */
  
  .cp-wings-title {
    font-size: 22px;
    margin: 0 0 18px 0;
  }

  /* KEEP 2 COLUMNS on mobile */
  .cp-wings-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 100%;
  }

  .cp-wings-card {
    border-width: 1.5px;
  }

  .cp-wings-card__image {
    height: 140px;
  }

  .cp-wings-card__content {
    padding: 14px 12px;
    gap: 8px;
  }

  .cp-wings-card__title {
    font-size: 13px;
    min-height: auto;
    line-height: 1.3;
  }

  .cp-wings-card__price {
    font-size: 22px;
  }

  .cp-wings-card__btn {
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .cp-combo-grid-new {
    gap: 20px;
  }

  .cp-combo-row-new {
    gap: 20px;
  }

  .cp-deal-card__banner {
    padding: 18px 20px;
    min-height: 140px;
  }

  .cp-deal-card__badge-label {
    font-size: 22px;
  }

  /* Wings - even more compact */
  .cp-wings-row {
    gap: 12px;
  }

  .cp-wings-card__image {
    height: 120px;
  }

  .cp-wings-card__content {
    padding: 12px 10px;
  }

  .cp-wings-card__title {
    font-size: 12px;
  }

  .cp-wings-card__price {
    font-size: 20px;
  }

  .cp-wings-card__btn {
    padding: 9px 14px;
    font-size: 11px;
  }
}

/* ===================================================================
 * ANIMATIONS
 * =================================================================== */

.cp-deal-card,
.cp-wings-card {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations */
.cp-combo-row-new .cp-deal-card:nth-child(1) {
  animation-delay: 0s;
}

.cp-combo-row-new .cp-deal-card:nth-child(2) {
  animation-delay: 0.1s;
}

.cp-deal-card--wide {
  animation-delay: 0.2s;
}

.cp-wings-card:nth-child(1) {
  animation-delay: 0s;
}

.cp-wings-card:nth-child(2) {
  animation-delay: 0.1s;
}

/* Empty state */
.cp-combos-compact .cp-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}
/* ===================================================================
 * CAROUSEL CONTROLS - ARROWS + DOTS (MOBILE ONLY)
 * =================================================================== */

@media (max-width: 767px) {
  
  /* Controls container */
  .cp-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
    background: #1a1a1a;
  }

  /* Arrow buttons */
  .cp-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
      0 4px 12px rgba(220, 53, 69, 0.4),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }

  .cp-carousel-arrow:active {
    transform: scale(0.95);
    box-shadow: 
      0 2px 8px rgba(220, 53, 69, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }

  .cp-carousel-arrow:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: 
      0 2px 6px rgba(0,0,0,0.2),
      inset 0 1px 0 rgba(255,255,255,0.1);
  }

  .cp-carousel-arrow svg {
    display: block;
  }

  /* Dots container */
  .cp-carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  /* Individual dots */
  .cp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .cp-carousel-dot.active {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
  }
}