:root {
  --mint: #47e2a4;
  --mint-dark: #34cc9a;
  --beige: #fbe6c2;
  --black: #0b0b0b;
  --radius: 18px;
  --pad: 28px;

  /* Grab/cart */
  --grab-green: #00b14f;
  --grab-dark: #333;
  --grab-light-grey: #f7f7f7;
  --grab-grey: #eee;
}
.floating-music-btn {
  position: fixed;
  bottom: 90px;           /* above View Basket */
  right: 20px;
  width: 50px;
  height: 50px;
  user-select: none;
  touch-action: none; /* prevents touch scroll while dragging */
  cursor: grab;
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 999;           /* below modals, above content */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}
.floating-music-btn.dragging { cursor: grabbing; }
.floating-music-btn:hover { transform: scale(1.1); }
.floating-music-btn img { width: 28px; height: 28px; object-fit: contain; }
.floating-music-btn .icon-music-on { display: none; }
.floating-music-btn.playing .icon-music-off { display: none; }
.floating-music-btn.playing .icon-music-on { display: block; }
/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; }
body { background: var(--mint); color: var(--black); -webkit-font-smoothing: antialiased; }

/* Topbar */
.topbar { background: var(--beige); border-bottom: 4px solid var(--black); height: 28px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.topbar small { opacity: .8; }

/* Hero */
header.hero { padding: 60px 20px 40px; text-align: center; position: relative; }
.hero-inner { max-width: 1100px; margin: 0 auto; perspective: 1000px; }
.logo-wrap { width: 106px; height: 106px; background: transparent; display: inline-grid; place-items: center; margin: 0 auto; transform-style: preserve-3d; transition: transform .4s ease-out; cursor: grab; }
.logo-wrap:active { cursor: grabbing; }
.logo-img { width: 120px; height: 120px; animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)} }

h1.brand { font-family:'Abril Fatface',serif; font-size:88px; margin:18px 0 8px; letter-spacing:1px; }
p.lead { margin:0 auto 18px; max-width:680px; }

.hero-cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.btn { cursor:pointer; padding:10px 20px; border-radius:999px; border:2px solid var(--black); font-weight:600; background:var(--beige); transition: transform .3s ease, box-shadow .3s ease; color:var(--black); text-decoration:none; }
.btn:hover { transform: translateY(-3px) scale(1.05); }
.btn.transparent { background: transparent; }

/* Separator */
.thick-sep { height:14px; background:var(--black); box-shadow: 0 0 0 6px var(--black) inset; }

/* About */
.about { display:grid; grid-template-columns:1fr 1fr; gap:32px; padding:42px 20px; background:var(--mint); max-width:1200px; margin:0 auto; }
.about-card { background:var(--beige); padding:34px; border-radius:18px; border:4px solid var(--black); position:relative; }
.about-left h2 { font-family:'Abril Fatface',serif; font-size:36px; margin:0 0 8px; }
.about-left p { margin:0 0 18px; color:rgba(0,0,0,.85); }
.features { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:18px; }
.feature { background:transparent; border-top:1px solid rgba(0,0,0,.08); padding:14px; display:flex; align-items:center; gap:12px; }
.icon-circle { width:44px; height:44px; border-radius:50%; background:var(--mint); display:grid; place-items:center; border:2px solid var(--black); }
.about-right { display:flex; align-items:center; justify-content:center; }

/* About image stack animation */
.about-img { width:100%; max-width:520px; border-radius:26px; overflow:hidden; border:6px solid var(--black); transition: transform .4s ease, box-shadow .4s ease; }
.about-img:hover { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0,0,0,.2); }
.animation-container { position:relative; width:100%; padding-top:115%; background:#fff; overflow:hidden; isolation:isolate; }
.animation-container img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; will-change:opacity,transform; animation: fadeSlide 20s infinite ease-in-out, glitch 2s infinite linear; }
.animation-container::after { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.35) 0%, rgba(255,255,255,.1) 35%, rgba(0,0,0,.25) 85%); mix-blend-mode:multiply; }
@keyframes fadeSlide { 0%,16%{opacity:1} 20%,100%{opacity:0} }
@keyframes glitch { 0%,48%,51%,100%{transform:none} 49%{transform:translate(-3px,2px) skew(1deg)} 50%{transform:translate(3px,-2px) skew(-1deg)} }

/* Locations */
.location-wrap { background:var(--beige); padding:46px 20px; border-bottom:4px solid var(--black); }
.location-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 420px; gap:28px; align-items:start; }
.map-frame { border-radius:20px; overflow:hidden; border:6px solid var(--black); }
.loc-cards { display:flex; flex-direction:column; gap:18px; }
.loc-card { background:var(--mint); padding:20px; border-radius:16px; border:3px solid var(--black); display:flex; flex-direction:column; gap:8px; }
.loc-card .get-btn { margin-top:10px; padding:8px; border-radius:999px; background:var(--black); color:var(--mint); border:none; transition: transform .3s ease; }
.loc-card .get-btn:hover { transform: scale(1.05); }

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

/* FIX: Moved carousel variables from invalid :root block 
  to the .carousel selector itself.
*/
.carousel{ 
  position:relative; 
  height:700px; 
  overflow:hidden; 
  font-family:'Poppins',sans-serif; 
  color:var(--black);
  
  /* Carousel CSS Variables */
  --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
  --item1-filter: blur(30px);
  --item1-zIndex: 11;
  --item1-opacity: 0;
  --item2-transform: translateX(0);
  --item2-filter: blur(0px);
  --item2-zIndex: 10;
  --item2-opacity: 1;
  --item3-transform: translate(50%,10%) scale(0.8);
  --item3-filter: blur(10px);
  --item3-zIndex: 9;
  --item3-opacity: 1;
  --item4-transform: translate(90%,20%) scale(0.5);
  --item4-filter: blur(30px);
  --item4-zIndex: 8;
  --item4-opacity: 1;
  --item5-transform: translate(120%,30%) scale(0.3);
  --item5-filter: blur(40px);
  --item5-zIndex: 7;
  --item5-opacity: 0;
}
.carousel .list{ position:absolute; width:1140px; max-width:90%; height:80%; left:50%; transform:translateX(-50%); }
.carousel .list .item{ position:absolute; left:0; width:70%; height:100%; font-size:15px; transition:left .5s, opacity .5s, width .5s; background:var(--beige); border-radius:18px; border:4px solid var(--black); overflow:hidden; }
.carousel .list .item:nth-child(n+6){ opacity:0; }
.carousel .list .item:nth-child(2){ z-index:10; transform:translateX(0); }
.carousel .list .item > img{
  width: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 1.5s;
  height: 70%;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 5%;
}

.carousel .list .item .introduce{ opacity:0; pointer-events:none; }
.carousel .list .item:nth-child(2) .introduce{ opacity:1; pointer-events:auto; width:40%; position:absolute; top:50%; transform:translateY(-50%); transition:opacity .5s; padding-left:40px; }
.carousel .list .item .introduce .title{ font-size:1.2em; font-weight:500; line-height:1em; color:rgba(0,0,0,.7); }
.carousel .list .item .introduce .topic{ font-size:3em; font-weight:600; font-family:'Abril Fatface',serif; color:var(--black); }
.carousel .list .item .introduce .des{ font-size:1.5em; color:var(--black); font-weight:700; margin-top:10px; }
.carousel .list .item .introduce .seeMore{ font-family:'Poppins',sans-serif; margin-top:1.2em; padding:8px 18px; border:2px solid var(--black); background-color:var(--mint); color:var(--black); font-weight:bold; letter-spacing:1px; transition:all .3s; border-radius:999px; cursor:pointer; }
.carousel .list .item .introduce .seeMore:hover{ background:var(--mint-dark); transform:scale(1.05); }
.carousel .list .item:nth-child(1){ transform:var(--item1-transform); filter:var(--item1-filter); z-index:var(--item1-zIndex); opacity:var(--item1-opacity); pointer-events:none; }
.carousel .list .item:nth-child(3){ transform:var(--item3-transform); filter:var(--item3-filter); z-index:var(--item3-zIndex); background:var(--beige); }
.carousel .list .item:nth-child(4){ transform:var(--item4-transform); filter:var(--item4-filter); z-index:var(--item4-zIndex); background:var(--beige); }
.carousel .list .item:nth-child(5){ transform:var(--item5-transform); filter:var(--item5-filter); opacity:var(--item5-opacity); pointer-events:none; }
.carousel .list .item:nth-child(2) .introduce .title,
.carousel .list .item:nth-child(2) .introduce .topic,
.carousel .list .item:nth-child(2) .introduce .des,
.carousel .list .item:nth-child(2) .introduce .seeMore{ opacity:0; animation: showContent .5s 1s ease-in-out 1 forwards; }
@keyframes showContent{ from{transform:translateY(-30px); filter:blur(10px)} to{transform:translateY(0); opacity:1; filter:blur(0)} }
.carousel .list .item:nth-child(2) .introduce .topic{ animation-delay:1.2s; }
.carousel .list .item:nth-child(2) .introduce .des{ animation-delay:1.4s; }
.carousel .list .item:nth-child(2) .introduce .seeMore{ animation-delay:1.6s; }
.carousel.next .item:nth-child(1){ animation: transformFromPosition2 .5s ease-in-out 1 forwards; }
@keyframes transformFromPosition2{ from{ transform:var(--item2-transform); filter:var(--item2-filter); opacity:var(--item2-opacity);} }
.carousel.next .item:nth-child(2){ animation: transformFromPosition3 .7s ease-in-out 1 forwards; }
@keyframes transformFromPosition3{ from{ transform:var(--item3-transform); filter:var(--item3-filter); opacity:var(--item3-opacity);} }
.carousel.next .item:nth-child(3){ animation: transformFromPosition4 .9s ease-in-out 1 forwards; }
@keyframes transformFromPosition4{ from{ transform:var(--item4-transform); filter:var(--item4-filter); opacity:var(--item4-opacity);} }
.carousel.next .item:nth-child(4){ animation: transformFromPosition5 1.1s ease-in-out 1 forwards; }
@keyframes transformFromPosition5{ from{ transform:var(--item5-transform); filter:var(--item5-filter); opacity:var(--item5-opacity);} }
.carousel.prev .list .item:nth-child(5){ animation: transformFromPosition4 .5s ease-in-out 1 forwards; }
.carousel.prev .list .item:nth-child(4){ animation: transformFromPosition3 .7s ease-in-out 1 forwards; }
.carousel.prev .list .item:nth-child(3){ animation: transformFromPosition2 .9s ease-in-out 1 forwards; }
.carousel.prev .list .item:nth-child(2){ animation: transformFromPosition1 1.1s ease-in-out 1 forwards; }
@keyframes transformFromPosition1{ from{ transform:var(--item1-transform); filter:var(--item1-filter); opacity:var(--item1-opacity);} }
.carousel .list .item .detail{ opacity:0; pointer-events:none; padding:20px; }

/* Inline Back button (inserted by JS) */
.back-inline-btn {
  width: 100%;
  padding: 12px 18px;
  font-weight: 700;
  background: #fff;
  border: 2px solid var(--black);
  border-radius: 16px;
  cursor: pointer;
}
.carousel.showDetail .list .item:nth-child(2) .detail .back-inline-btn {
  opacity: 0;
  animation: showContent 0.5s 1.8s ease-in-out 1 forwards; /* after order button */
}
@media (max-width: 767px) {
  .carousel.showDetail .list .item:nth-child(2) .detail .back-inline-btn { animation-delay: 2s; }
}

.carousel.showDetail .list .item:nth-child(3),
.carousel.showDetail .list .item:nth-child(4),
.carousel.showDetail .list .item:nth-child(5){ left:100%; opacity:0; pointer-events:none; }
.carousel.showDetail .list .item:nth-child(2){ width:100%; }
.carousel.showDetail .list .item:nth-child(2) .introduce{ opacity:0; pointer-events:none; }
.carousel.showDetail .list .item:nth-child(2) img{ right:50%; height:80%; margin-right:0; }
.carousel.showDetail .list .item:nth-child(2) .detail{ opacity:1; width:50%; position:absolute; right:0; top:50%; transform:translateY(-50%); text-align:left; pointer-events:auto; padding:40px; }
.carousel.showDetail .list .item:nth-child(2) .detail .title{ font-size:3em; font-family:'Abril Fatface',serif; color:var(--black); }
.carousel.showDetail .list .item:nth-child(2) .detail .des{ color:rgba(0,0,0,.85); margin-top:10px; }
.carousel.showDetail .list .item:nth-child(2) .detail .specifications{ display:flex; gap:10px; width:100%; border-top:1px solid rgba(0,0,0,.2); margin-top:20px; padding-top:20px; }
.carousel.showDetail .list .item:nth-child(2) .detail .specifications div{ width:90px; text-align:center; flex-shrink:0; background:var(--mint); border-radius:12px; padding:10px; border:2px solid var(--black); }
.carousel.showDetail .list .item:nth-child(2) .detail .specifications div p:nth-child(1){ font-weight:bold; margin:0; }
.carousel.showDetail .list .item:nth-child(2) .detail .specifications div p:nth-child(2){ margin:4px 0 0; }
.carousel.showDetail .list .item:nth-child(2) .detail .title,
.carousel.showDetail .list .item:nth-child(2) .detail .des,
.carousel.showDetail .list .item:nth-child(2) .detail .specifications,
.carousel.showDetail .list .item:nth-child(2) .detail .grab-checkout-panel{ opacity:0; animation: showContent .5s 1s ease-in-out 1 forwards; }
.carousel.showDetail .list .item:nth-child(2) .detail .des{ animation-delay:1.2s; }
.carousel.showDetail .list .item:nth-child(2) .detail .specifications{ animation-delay:1.4s; }
.carousel.showDetail .list .item:nth-child(2) .detail .grab-checkout-panel{ animation-delay:1.6s; }

.arrows{ position:absolute; bottom:20px; width:1140px; max-width:90%; display:flex; justify-content:space-between; left:50%; transform:translateX(-50%); z-index:12; }
#prev,#next{
  width:44px;height:44px;border-radius:50%;
  font-family:monospace;font-size:20px;line-height:1;
  background:rgba(255,255,255,.6);
  border:2px solid var(--black);
  color:var(--black);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
  backdrop-filter: blur(4px);
}
#prev:hover,#next:hover{ transform:translateY(-2px); background:#fff; }

/* Grab order panel */
.grab-checkout-panel{ display:flex; flex-direction:column; align-items:center; gap:0; padding:16px; border-top:1px solid var(--grab-grey); }

.order-with-grab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--mint) !important; /* match Type/Served */
  color: var(--black) !important;
  border: 2px solid var(--black);
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.3s ease;
}
.order-with-grab-btn:hover { background: var(--mint-dark); transform: translateY(-2px); }
.order-with-grab-btn:active { transform: scale(0.97); }
.order-with-grab-btn .grab-logo-inline {
  height: 26px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  position: static !important;
  transform: none !important;
  display: inline-block;
  object-fit: contain;
}
.order-with-grab-btn img{ max-height: 20px; }
.order-with-grab-btn.hidden{ display:none; }

.order-panel{ display:flex; flex-direction:column; width:100%; gap:16px; max-height:0; overflow:hidden; transition:all .4s ease-out; }
.order-panel.visible{ max-height:200px; padding-top:16px; }
.quantity-selector{ display:flex; align-items:center; gap:16px; justify-content:center; }
.quantity-btn{ display:flex; align-items:center; justify-content:center; width:36px; height:36px; font-size:24px; font-weight:600; line-height:1; color:var(--grab-green); background:#fff; border:2px solid var(--grab-green); border-radius:50%; cursor:pointer; transition:all .2s ease; }
.quantity-btn:hover{ background:#e6f7ef; }
.quantity-btn[disabled]{ color:#ccc; border-color:#ccc; background:#f7f7f7; cursor:not-allowed; }
.quantity-display{ font-size:20px; font-weight:700; min-width:30px; text-align:center; }
.add-to-cart-btn{ display:flex; align-items:center; justify-content:center; width:100%; padding:14px; font-size:16px; font-weight:700; color:#fff; background-color:var(--grab-green); border:none; border-radius:8px; cursor:pointer; transition:all .2s ease; }
.add-to-cart-btn:hover{ opacity:.85; }
.add-to-cart-btn .item-total{ margin-left:auto; }
@keyframes buttonPop{0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
.add-to-cart-btn.popped{ animation:buttonPop .3s ease-out; }

/* Floating cart button */
#view-cart-btn{ position:fixed; bottom:-100px; left:50%; transform:translateX(-50%); width:90%; max-width:400px; padding:16px 24px; background:var(--grab-dark); color:#fff; border:none; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.2); display:flex; align-items:center; justify-content:space-between; font-size:16px; font-weight:700; cursor:pointer; z-index:998; transition:bottom .4s ease-in-out; }
#view-cart-btn.visible{ bottom:24px; }
#cart-item-count{ background:var(--grab-green); color:#fff; font-size:13px; font-weight:700; padding:4px 8px; border-radius:6px; }

/* Cart modal */
.cart-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:999; display:none; }
.cart-overlay.visible{ display:block; }
@keyframes slideInRight{ from{transform:translateX(100%)} to{transform:translateX(0)} }
@keyframes slideOutRight{ from{transform:translateX(0)} to{transform:translateX(100%)} }
.cart-modal{ position:absolute; top:0; right:0; width:100%; max-width:420px; height:100%; background:#fff; display:flex; flex-direction:column; animation: slideInRight .4s ease-out; }
.cart-modal.closing{ animation: slideOutRight .4s ease-in; }
.cart-header{ padding:20px 24px; border-bottom:1px solid var(--grab-grey); display:flex; align-items:center; justify-content:space-between; }
.cart-header h3{ margin:0; font-family:'Abril Fatface',serif; font-size:24px; }
#cart-close-btn{ font-size:28px; font-weight:300; color:#999; background:none; border:none; cursor:pointer; }
.cart-body{ flex-grow:1; overflow-y:auto; padding:16px 24px; }

.cart-item{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--grab-light-grey); align-items:center; }
.cart-item-left{ display:flex; align-items:center; gap:10px; }
.cart-item-left .grab-badge{ width:22px; height:auto; display:block; }
.cart-item-name{ font-weight:600; margin-bottom:4px; }
.cart-item-qty{ font-size:14px; color:#555; }
.cart-item-price{ margin-left:auto; font-weight:700; }

.cart-footer{ padding:24px; background:#fff; box-shadow:0 -4px 12px rgba(0,0,0,.05); }
.cart-total{ display:flex; justify-content:space-between; font-size:18px; font-weight:700; margin-bottom:16px; }
#cart-checkout-btn{ width:100%; padding:16px; font-size:16px; font-weight:700; color:#fff; background-color:var(--grab-green); border:none; border-radius:8px; cursor:pointer; }
#cart-checkout-btn:disabled{ background-color:#ccc; cursor:not-allowed; }

/* Receipt */
.receipt-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:1001; display:none; align-items:center; justify-content:center; }
.receipt-overlay.visible{ display:flex; }
.receipt-modal{ 
  width:90%; 
  max-width:380px; 
  background:#fff; 
  border-radius:12px; 
  box-shadow:0 5px 20px rgba(0,0,0,.3); 
  position: relative; /* ADD THIS */
  z-index: 1003;     /* ADD THIS */
}
/* --- START Confetti Styles --- */
#confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1002; /* Just behind the modal, but in front of the overlay bg */
}

.confetti {
  position: absolute;
  opacity: 0.9;
  animation: fall linear infinite;
}

.square {
  width: 10px;
  height: 10px;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 12px solid;
}

@keyframes fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}
/* --- END Confetti Styles --- */
.receipt-header{ text-align:center; padding:32px 24px 20px; border-bottom:2px dashed var(--grab-grey); }
.receipt-header .logo-img{ width:60px; height:60px; animation:none; margin-bottom:12px; }
.receipt-header h3{ margin:0; font-family:'Abril Fatface',serif; }
.receipt-header .grab-logo{ width:80px; margin-top:16px; }
@keyframes printReceipt{ from{max-height:0; opacity:0} to{max-height:1000px; opacity:1} }
.receipt-body{ padding:24px; animation: printReceipt .8s ease-out; overflow:hidden; }
.receipt-body h4{ margin:0 0 16px 0; text-align:center; font-size:18px; }
.receipt-item{ display:flex; justify-content:space-between; font-size:15px; margin-bottom:10px; }
.receipt-item .name{ color:#333; }
.receipt-item .price{ color:#000; font-weight:600; }
.receipt-total{ margin-top:20px; padding-top:20px; border-top:2px solid #000; display:flex; justify-content:space-between; font-size:20px; font-weight:700; }
.receipt-footer{ padding:0 24px 24px; text-align:center; }
#receipt-close-btn{ width:100%; padding:14px; font-size:16px; font-weight:700; color:#fff; background-color:var(--grab-dark); border:none; border-radius:8px; cursor:pointer; }

/* Delivery */
.delivery{ background:var(--beige); padding:48px 20px; border-top:4px solid var(--black); text-align:center; }
.delivery .grab{ max-width:160px; margin:18px auto 0; }

/* Footer */
footer.site-footer{ background:var(--mint); padding:44px 20px; border-top:6px solid var(--black); }
.footer-inner{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; align-items:start; }
.brand-block h4{ margin:0 0 8px; font-family:'Abril Fatface',serif; }
.footer-nav ul{ list-style:none; padding:0; margin:0; }
.footer-nav li{ margin:6px 0; }
.big-watermark{ font-family:'Abril Fatface',serif; font-size:180px; line-height:.72; opacity:.12; text-align:center; margin-top:20px; color:var(--black); }

/* Animations on load/scroll */
@keyframes fadeInUp{ from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:translateY(0)} }
.hero .logo-wrap{ animation: fadeInUp .5s ease-out both; }
.hero h1.brand{ animation: fadeInUp .5s .2s ease-out both; }
.hero p.lead{ animation: fadeInUp .5s .4s ease-out both; }
.hero .hero-cta{ animation: fadeInUp .5s .6s ease-out both; }
.animate-on-scroll{ opacity:0; transform:translateY(30px); transition:opacity .6s ease-out, transform .6s ease-out; }
.animate-on-scroll.is-visible{ opacity:1; transform:translateY(0); }

/* Responsive */
@media (max-width:980px){
  .about, .location-inner{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; text-align:center; }
  h1.brand{ font-size:64px; }
  .big-watermark{ font-size:120px; }
}

/* --- NEW MOBILE STYLES for Carousel & Layout --- */
@media (max-width: 767px) {
  /* Make carousel items stack */
  .carousel .list .item,
  .carousel .list .item:nth-child(1),
  .carousel .list .item:nth-child(2),
  .carousel .list .item:nth-child(3),
  .carousel .list .item:nth-child(4),
  .carousel .list .item:nth-child(5) {
    position: relative;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    z-index: 1 !important;
    width: 90%;
    max-width: 400px;
    margin: 0 auto 20px;
    height: auto;
    pointer-events: auto !important;
  }
  
  .carousel .list {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    transform: none;
    padding-top: 20px;
  }
  
  .carousel {
    height: auto;
    padding-bottom: 20px;
  }
  
  .carousel .list .item > img {
    position: relative;
    width: 100%;
    height: 250px;
    top: 0;
    transform: none;
    margin-right: 0;
    border-radius: 10px 10px 0 0; /* Adjust border radius for stacked view */
    margin-bottom: -5px; /* Close gap */
    right: 0;
    padding: 0; /* Remove padding */
  }
  
  .carousel .list .item .introduce {
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none;
    padding: 24px;
    top: 0;
    text-align: center;
  }
  
  /* Hide arrows on mobile */
  .arrows {
    display: none;
  }

  /* --- Detail View on Mobile --- */
  .carousel.showDetail .list .item:not(:nth-child(2)) {
    display: none; /* Hide other items when one is open */
  }

  .carousel.showDetail .list .item:nth-child(2) {
    width: 90%; /* same as normal */
    max-width: 400px;
  }

  .carousel.showDetail .list .item:nth-child(2) img {
    right: 0;
    position: relative;
    height: 250px;
    width: 100%;
    padding: 0;
  }

  .carousel.showDetail .list .item:nth-child(2) .detail {
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none;
    padding: 24px;
    text-align: center;
  }

  .carousel.showDetail .list .item:nth-child(2) .detail .title {
    font-size: 2.5em; /* Slightly smaller title */
  }

  .carousel.showDetail .list .item:nth-child(2) .detail .specifications {
    flex-direction: column; /* Stack specs */
    gap: 8px;
    align-items: center;
  }

  .carousel.showDetail .list .item:nth-child(2) .detail .specifications div {
    width: 100%; /* Full width specs */
  }

  /* Stack order panel on mobile */
  .order-panel {
    flex-direction: column;
    align-items: center;
  }
  .add-to-cart-btn {
    width: 100%;
  }
}
/* --- END NEW MOBILE STYLES --- */


@media (max-width:480px){
  h1.brand{ font-size:44px; }
  .logo-wrap{ width:86px; height:86px; }
}

