@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

:root {
  --main-color: #d3ad7f;
  --black: #13131a;
  --bg: #010103;
  --border: 0.1rem solid rgba(255, 255, 255, 0.3);
}

* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5rem;
}

body {
  background: var(--bg);
}

section {
  padding: 2rem 7%;
}

.heading {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 3.5rem;
  font-size: 4rem;
}
#contact-heading {
  font-size: 3.5rem;
}
.heading span {
  color: var(--main-color);
  text-transform: uppercase;
}

.heading2 {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 3.5rem;
  font-size: 2.5rem;
}

.heading2 span {
  color: var(--main-color);
  text-transform: uppercase;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.9rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background: var(--main-color);
  cursor: pointer;
}

.btn:hover {
  letter-spacing: 0.2rem;
}

.header {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 7%;
  border-bottom: var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .logo img {
  height: 10rem;
}

.header .navbar {
  display: block;
}

.header .navbar a {
  margin: 0 1rem;
  font-size: 1.6rem;
  color: #fff;
}

.header .navbar a:hover {
  color: var(--main-color);
  border-bottom: 0.1rem solid var(--main-color);
  padding-bottom: 0.5rem;
}

#menu-btn {
  display: none;
}

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/TableCup.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.home .content {
  max-width: 60rem;
}

.home .content h3 {
  font-size: 6rem;
  text-transform: uppercase;
  color: #fff;
}

/* --- NEW BRIEF CHANGES START --- */
.home .content .sub-heading {
  font-size: 3rem;
  color: var(--main-color);
  text-transform: uppercase;
  padding: 1rem 0;
}

.home .content .description {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.home .content .brand-quote {
  font-size: 1.6rem;
  font-style: italic;
  color: #eee;
  margin-top: 3rem;
  opacity: 0.8;
}
/* --- NEW BRIEF CHANGES END --- */

.home .content p {
  font-size: 2rem;
  font-weight: lighter;
  line-height: 1.8;
  padding: 1rem 0;
  color: #eee;
}

.about .row {
  display: flex;
  align-items: center;
  background: var(--black);
  flex-wrap: wrap;
}

.about .row .image {
  flex: 1 1 45rem;
}

.about .row .image img {
  width: 100%;
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 2rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: #fff;
}

.about .row .content p {
  font-size: 1.6rem;
  color: #ccc;
  padding: 1rem 0;
  line-height: 1.8;
}

.menu .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.menu .box-container .box {
  padding: 5rem;
  text-align: center;
  border: var(--border);
}

.menu .box-container .box img {
  height: 10rem;
}

.menu .box-container .box h3 {
  color: #fff;
  font-size: 2rem;
  padding: 1rem 0;
}

.menu .box-container .box .price {
  color: #fff;
  font-size: 2.5rem;
  padding: 0.5rem 0;
}

.menu .box-container .box .price span {
  font-size: 1.5rem;
  text-decoration: line-through;
  font-weight: lighter;
}

.menu .box-container .box:hover {
  background: #fff;
}

.menu .box-container .box:hover > * {
  color: var(--black);
}

.products .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.products .rule {
  background-color: white;
}

.products .box-container .box {
  text-align: center;
  border: var(--border);
  padding: 2rem;
}

.products .box-container .box .icons a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  border: var(--border);
  color: #fff;
  margin: 0.3rem;
}

.products .box-container .box .icons a:hover {
  background: var(--main-color);
}

.products .box-container .box .image {
  padding: 2.5rem 0;
}

.products .box-container .box .image img {
  height: 25rem;
}

.products .box-container .box .content h3 {
  color: #fff;
  font-size: 2.5rem;
}

.products .box-container .box .content .stars {
  padding: 1.5rem;
}

.products .box-container .box .content .stars i {
  font-size: 1.7rem;
  color: var(--main-color);
}

.products .box-container .box .content .price {
  color: #fff;
  font-size: 2.5rem;
}

.products .box-container .box .content .price span {
  text-decoration: line-through;
  font-weight: lighter;
  font-size: 1.5rem;
}

.review .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.review .box-container .box {
  border: var(--border);
  text-align: center;
  padding: 3rem 2rem;
}

.review .box-container .box p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #ccc;
  padding: 2rem 0;
}

.review .box-container .box .user {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
}

.review .box-container .box h3 {
  padding: 1rem 0;
  font-size: 2rem;
  color: #fff;
}

.contact .row {
  display: flex;
  background: var(--black);
  flex-wrap: wrap;
  gap: 1rem;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form h3 {
  text-transform: uppercase;
  font-size: 3.5rem;
  color: #fff;
}
.contact .row p {
  color: #fff;
}

.contact .row form .inputBox {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: var(--bg);
  border: var(--border);
}

.contact .row form .inputBox span {
  color: #fff;
  font-size: 2rem;
  padding-left: 2rem;
}

.contact .row form .inputBox input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  color: #fff;
  text-transform: none;
  background: none;
}

.blogs .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.blogs .box-container .box {
  border: var(--border);
}

.blogs .box-container .box .image {
  height: 25rem;
  overflow: hidden;
  width: 100%;
}

.blogs .box-container .box .image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blogs .box-container .box:hover .image img {
  transform: scale(1.2);
}

.blogs .box-container .box .content {
  padding: 2rem;
}

.blogs .box-container .box .content .title {
  font-size: 2.5rem;
  line-height: 1.5;
  color: #fff;
}

.blogs .box-container .box .content .title:hover {
  color: var(--main-color);
}

.blogs .box-container .box .content span {
  color: var(--main-color);
  display: block;
  padding-top: 1rem;
  font-size: 2rem;
}

.blogs .box-container .box .content p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #ccc;
  padding: 1rem 0;
}

.footer {
  background: var(--black);
  text-align: center;
}

.footer .share {
  padding: 1rem 0;
}

.footer .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  color: #fff;
  border: var(--border);
  margin: 0.3rem;
  border-radius: 50%;
}

.footer .share a:hover {
  background-color: var(--main-color);
}

.footer .links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  gap: 1rem;
}

.footer .links a {
  padding: 0.7rem 2rem;
  color: #fff;
  border: var(--border);
  font-size: 2rem;
}

.footer .links a:hover {
  background: var(--main-color);
}

.footer .credit {
  font-size: 2rem;
  color: #fff;
  font-weight: lighter;
  padding: 1.5rem;
}

.footer .credit span {
  color: var(--main-color);
}

.serving-type-dropdown {
  margin-left: 2%;
  background-color: #ffffff;
  width: 100px;
  border-radius: 10px;
}

.serving-type-dropdown option {
  color: #000000;
  font-size: medium;
}

.serving-type-label {
  color: #fff;
  font-size: large;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 2%;
}

/* media queries  */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 1.5rem 2rem;
  }

  section {
    padding: 2rem;
  }
}

@media (max-width: 1200px) {
  #menu-btn {
    display: inline-block;
  }

  .header .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    background: #fff;
    width: 30rem;
    height: calc(100vh - 9.5rem);
  }

  .header .navbar.active {
    right: 0;
  }

  .header .navbar a {
    color: var(--black);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .header .search-form {
    width: 90%;
    right: 2rem;
  }

  .home {
    background-position: left;
    justify-content: center;
    text-align: center;
  }

  .home .content h3 {
    font-size: 4.5rem;
  }

  .home .content p {
    font-size: 1.5rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  /* --- NEW BRIEF CHANGES FOR MOBILE --- */
  .home .content .sub-heading {
    font-size: 2rem;
  }
  .home .content .description {
    font-size: 1.6rem;
  }
}

form button {
  padding: 15px;
  background-color: var(--main-color);
  color: #eee;
  font-size: 16px;
  border: 0;
  outline: none;
  cursor: pointer;
  width: 150px;
  margin: 20px auto 0;
  border-radius: 30px;
}

.redLink:visited {
  text-decoration: none;
}

.redLink:hover {
  text-decoration: none;
}

.redLink {
  text-decoration: none;
}

.side-menu,
.icon {
  display: none;
}

.menu-illustration {
  width: 35%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

/* Media query to certain things on smaller screens */
@media (max-width: 1200px) {
  /* Custom styles for the side menu */

  .menu-illustration {
    width: 65%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }

  .side-menu,
  .icon {
    display: inline;
  }

  .side-menu {
    position: fixed;
    top: 0;
    right: -250px; /* Start with the menu hidden off-screen */
    width: 250px;
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.859);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.6s ease;
    border: 2.5px solid #fff;
    border-radius: 8px;
  }

  #side-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
  }

  #side-navbar a {
    font-size: x-large;
    display: block;
    margin-bottom: 15px;
    color: #ffffff; /* Set the color of the links */
    text-decoration: none; /* Remove the underline from links */
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
  }

  /* Hide scrollbar on the side menu */
  .side-menu::-webkit-scrollbar {
    display: none;
  }
}

.new-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #000;
  padding: 8px 14px;
  font-weight: 900;
  border-radius: 6px;
  font-size: 0.9rem;
  animation: pulseBadge 1.5s infinite ease-in-out;
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.7);
  z-index: 5;
}

/* --------------------------------------
   NEW BU PACKAGE — Bigger Card Version
----------------------------------------- */

.new-bu-package .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
  gap: 5rem;
  max-width: 1300px; /* Constrains the entire grid size */
  margin: 0 auto;    /* Centers the constrained grid on the page */
}

.new-bu-package .new-deal-card {
  position: relative;
  background: #1d1d1d;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow:
    0 0 0.8rem rgba(255, 215, 0, 0.35),
    0 0 1.8rem rgba(255, 215, 0, 0.15);
  text-align: center;
  overflow: hidden;
  width: 100%;
  max-width: 40rem; /* BIGGER CARD */
}

/* Badge */
.new-bu-package .new-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #ffd700, #e5c100);
  color: #000;
  padding: 0.3rem 1.2rem;
  font-weight: 900;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  border-radius: 0.25rem;
  z-index: 5;
}

/* Image (bigger but still safe) */
.new-bu-package .new-deal-card .image {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
}

.new-bu-package .new-deal-card .image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures no stretching */
  display: block;
}

/* Titles, prices, text */
.new-bu-package .new-deal-card .content h3 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 1rem;
}

.new-bu-package .price {
  color: #ffd700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.new-bu-package .breakdown {
  color: #fff;
  line-height: 1.65;
  font-size: clamp(1rem, 3vw, 1.2rem);
  text-align: left;
}

.new-bu-package .breakdown .highlight {
  color: #ffd700;
  font-weight: bold;
  display: block;
}

/* Mobile Scaling */
@media (max-width: 480px) {
  .new-bu-package .new-deal-card {
    padding: 1rem;
    max-width: 100%;
  }
}

/* Base state: hidden on desktop */
#menu-btn {
  display: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile state: show the icon */
@media (max-width: 1200px) {
  #menu-btn {
    display: inline-block; /* Now it will show up */
  }

  .header .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    background: var(--black); /* Changed to black to match your theme */
    width: 30rem;
    height: calc(100vh - 9.5rem);
    border-left: var(--border);
  }

  .header .navbar.active {
    right: 0;
  }

  .header .navbar a {
    color: #fff;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
}

@media (max-width: 450px) {
  .mobile-block {
    display: block;
    margin-top: 0.5rem; /* Optional: adds a little breathing room between lines */
  }
}
@media (max-width: 450px) {
  .custom-mobile-block-form {
    display: block;
    margin-top: 0.5rem;
    font-size: 2.2rem; /* Optional: adds a little breathing room between lines */
    color: #fff!important; /* Optional: makes the text a bit smaller and more mobile-friendly */
  }
}

.service-charge-note {
  color: white;
  font-size: 1.6rem; /* Keeps your original size */
  text-align: center;
  line-height: 1.6; /* Increases space between lines for better readability */
  padding: 2rem 10px; /* Provides a small 10px buffer so text doesn't touch the screen edges */
  max-width: 600px; /* Prevents the line from being too long on desktop */
  margin: 0 auto; /* Centers the block on the page */
  width: 100%; /* Ensures it spans the width available on mobile */
}

/* Specific adjustment for very small screens */
@media (max-width: 450px) {
  .service-charge-note {
    padding: 1.5rem 15px;
    font-weight: 300; /* Makes the text appear cleaner when wrapped */
  }
}

/* Mobile only: force duration to new line */
@media (max-width: 450px) {
  .package-duration {
    display: block;
    margin-left: 25px; /* Aligns it under the text, past the radio button */
    font-size: 1.6rem; /* Slightly smaller for a cleaner look */
    color: #aaa; /* Optional: subtle color change for the duration */
  }

  /* Ensure the parent label allows the content to stack */
  .inputBox label {
    align-items: flex-start !important;
  }
}

.custom-mobile-block-form{
    color: #ffffff !important; 
}
@media (max-width: 450px) {
  .custom-mobile-block-form {
    display: block;          /* Forces "complete the form" to a new line */
    margin-top: 0.5rem;      /* Adds space between the two lines */
    font-size: 2.2rem;       /* Adjusts size for better mobile fit */
    color: #ffffff !important; /* Forces color to white, overriding the default gold */
  }
}

@media (max-width: 450px) {
  .mobile-block {
    display: block;
    margin-top: 0.5rem; /* Optional: adds a small gap between the two lines */
  }
}

/* Styling the Date Picker Icon and Text */
#event_date_picker::-webkit-calendar-picker-indicator {
    filter: invert(75%) sepia(25%) saturate(650%) hue-rotate(350deg) brightness(95%) contrast(90%);
    cursor: pointer;
    font-size: 1.8rem;
}

/* Fallback for general appearance */
#event_date_picker {
    color-scheme: dark; /* Makes the calendar popup dark by default in modern browsers */
    font-family: inherit;
    font-size: 1.5rem;
}

#event_date_picker:focus {
    border-color: #d3ad7f !important;
    outline: none;
}

#event_date_picker::-webkit-calendar-picker-indicator {
    /* Changes the white icon to match the gold/tan #d3ad7f */
    filter: invert(75%) sepia(25%) saturate(650%) hue-rotate(350deg) brightness(95%) contrast(90%);
    cursor: pointer;
}

#event_date_picker {
    color-scheme: dark; /* Ensures the calendar popup has a dark background with light text */
    font-family: inherit;
}

#event_date_picker:focus {
    border-color: #d3ad7f !important;
    outline: none;
}




/* --- Bottomless Carousel Section --- */



.bottomless-carousel-section .carousel-container {
    position: relative;
    max-width: 45rem; 
    margin: 0 auto;
    padding: 2rem 0;
}

.bottomless-carousel-section .carousel-window {
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
}

.bottomless-carousel-section .carousel-track {
    display: flex;
    width: 300%;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.bottomless-carousel-section .slide {
    width: 33.333%;
    padding: 1rem;
}

/* --- THE IMAGE FIT FIX --- */
.bottomless-carousel-section .new-deal-card .image {
    width: 100%;
    line-height: 0; /* Removes bottom ghost padding */
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.bottomless-carousel-section .new-deal-card .image img {
    width: 100%;
    height: 40rem !important; /* Fixed height to match BU Package */
    object-fit: cover; /* This is the magic: it crops instead of stretching */
    object-position: center top; /* Keeps faces in frame */
}

/* --- Exact Styling from Screenshot --- */
.bottomless-carousel-section .new-deal-card {
    background: #1d1d1d;
    border: var(--border);
    text-align: center;
    border-radius: 1rem;
    overflow: hidden;
    border-color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.bottomless-carousel-section .new-deal-card:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 1.8rem var(--main-color);
}

.bottomless-carousel-section .price {
    color: var(--main-color);
    font-size: 2.8rem;
    font-weight: bold;
    margin: 1rem 0;
}

.bottomless-carousel-section .card-features {
    text-align: left;
    padding: 1rem 3rem 2rem 3rem;
}

.bottomless-carousel-section .card-features span {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    padding: 0.6rem 0;
}

.bottomless-carousel-section .card-features i {
    color: var(--main-color);
    margin-right: 1.2rem;
}

/* --- Navigation & Dots (No Changes Needed) --- */
.carousel-nav .arrow-group {
    display: none;
    position: absolute;
    top: 45%;
    width: 115%;
    left: -7.5%;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-nav label {
    font-size: 3rem;
    color: var(--main-color);
    cursor: pointer;
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

input[name="slider"] { display: none; }
#slide1:checked ~ .carousel-window .carousel-track { transform: translateX(0); }
#slide2:checked ~ .carousel-window .carousel-track { transform: translateX(-33.333%); }
#slide3:checked ~ .carousel-window .carousel-track { transform: translateX(-66.666%); }
#slide1:checked ~ .carousel-nav .group-1,
#slide2:checked ~ .carousel-nav .group-2,
#slide3:checked ~ .carousel-nav .group-3 { display: flex; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-dots label {
    height: 1.2rem;
    width: 1.2rem;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
}

#slide1:checked ~ .carousel-dots label:nth-child(1),
#slide2:checked ~ .carousel-dots label:nth-child(2),
#slide3:checked ~ .carousel-dots label:nth-child(3) {
    background: var(--main-color);
}

/* Ensure the H3 title is visible and white */
.bottomless-carousel-section .new-deal-card .content h3 {
    color: #ffffff;
    font-size: 3.0rem;
    font-weight: 600;
    font-family: 'cursive', sans-serif;
    padding: 1.5rem 0 0.5rem 0;
    text-transform: capitalize;
}

/* Ensure the Image fits the box without stretching */
.bottomless-carousel-section .new-deal-card .image img {
    width: 100%;
    height: 30rem; 
    object-fit: cover; 
    object-position: center;
    display: block;
}

/* Match the price color to your beige/gold theme */
.bottomless-carousel-section .new-deal-card .price {
    color: var(--main-color);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Container to center the single card */
.single-card-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

/* The Card itself */
.new-deal-card {
    background: #1d1d1d !important;
    border: 0.1rem solid var(--main-color) !important;
    box-shadow: 0 0 2rem var(--main-color) !important;
    border-radius: 1.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 45rem; /* Matches the presence of the carousel */
    padding: 0 !important; /* CRITICAL: Removes the space around the image */
}

/* The Image - making it flush */
.new-deal-card .image {
    width: 100%;
    padding: 0 !important;
    margin: 0;
    line-height: 0; /* Removes the tiny gap at the bottom of the image */
}

.new-deal-card .image img {
    width: 100%;
    height: 35rem !important; /* Adjust this to control how much of the "half" it covers */
    object-fit: cover;
    display: block; /* Removes bottom alignment gaps */
    padding: 0 !important;
}

/* Content Styling */
.new-deal-card .content {
    padding: 2rem;
}

.new-deal-card .content h3 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.new-deal-card .from-text {
    color: var(--main-color);
    font-size: 1.8rem;
    margin-right: 0.5rem;
    font-style: italic;
}

.new-deal-card .price {
    color: var(--main-color);
    font-size: 3.5rem;
    font-weight: bold;
}

.new-deal-card .description {
    color: #ccc;
    font-size: 1.2rem;
    padding: 1rem 0;
    line-height: 1.5;
}

/* Feature List */
.new-deal-card .card-features {
    text-align: left;
    padding: 1rem 2rem;
}

.new-deal-card .card-features span {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    padding: 0.5rem 0;
}

.new-deal-card .card-features i {
    color: var(--main-color);
    margin-right: 1rem;
}

/* --- DESKTOP VIEW: Grid Layout (Wider than 768px) --- */
@media (min-width: 769px) {
    /* Hide the navigation elements */
    .bottomless-carousel-section .carousel-nav,
    .bottomless-carousel-section .carousel-dots,
    .bottomless-carousel-section input[name="slider"] {
        display: none !important;
    }

    /* Reset the window to show all cards */
    .bottomless-carousel-section .carousel-window {
        overflow: visible; /* Show all cards side-by-side */
        max-width: 1200px; /* Adjust based on your layout preference */
        margin: 0 auto;
    }

    /* Turn the track into an evenly spaced flex container */
    .bottomless-carousel-section .carousel-track {
        display: flex !important;
        transform: none !important; /* Disable sliding animation */
        width: 100% !important;
        gap: 10rem;
        justify-content: center;
    }

    /* Adjust slides to fit 3 in a row */
    .bottomless-carousel-section .slide {
        flex: 1 1 30%; /* Three cards, roughly 30% each */
        max-width: 40rem;
        min-width: 40rem;
    }

    /* Ensure the cards look exactly like they do now */
    .bottomless-carousel-section .new-deal-card {
        margin: 0;
        width: 100%;
        box-shadow: 0 0 2rem var(--main-color) !important; /* Keep the glow */
    }
}

/* --- MOBILE VIEW: Keep current Carousel (Smaller than 768px) --- */
@media (max-width: 768px) {
    .bottomless-carousel-section .carousel-window {
        overflow: hidden;
    }
    
    .bottomless-carousel-section .carousel-track {
        display: flex;
        width: 300%; /* Needed for the 3-slide slide effect */
        transition: transform 0.5s ease-in-out;
    }

    .bottomless-carousel-section .slide {
        width: 33.333%; /* One slide at a time on mobile */
    }
}

/* --- CAPPED CUP SECTION LOGIC --- */

/* 1. Hide the radio dots from the top of the screen */
.capped-cup-section input[name="capped-slider"] {
  display: none !important;
}

/* 2. Container must be Relative so arrows stay inside this section */
.capped-cup-section .carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
}

/* 3. Desktop View (Static side-by-side) */
@media (min-width: 769px) {
  .capped-cup-section .carousel-nav,
  .capped-cup-section .carousel-dots {
    display: none !important;
  }

  .capped-cup-section .carousel-window {
    overflow: visible; /* Show all cards */
    max-width: 1000px;
    margin: 0 auto;
  }

  .capped-cup-section .carousel-track {
    display: flex !important;
    transform: none !important;
    width: 100% !important;
    gap: 3rem; /* Adjusted gap for desktop */
    justify-content: center;
  }

  .capped-cup-section .slide {
    flex: 0 1 40rem; /* Fixed width for desktop cards */
  }
}

/* 4. Mobile View (Carousel Mode) */
@media (max-width: 768px) {
  .capped-cup-section .carousel-window {
    overflow: hidden !important; /* This hides the second card */
    width: 100%;
    border-radius: 1.5rem;
  }

  .capped-cup-section .carousel-track {
    display: flex;
    width: 200% !important; /* 2 cards = 200% */
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  }

  .capped-cup-section .slide {
    width: 50% !important; /* Each card is half of the 200% track */
  }

  /* Movement Logic for 2 cards */
  #capped-slide1:checked ~ .carousel-window .carousel-track {
    transform: translateX(0);
  }
  #capped-slide2:checked ~ .carousel-window .carousel-track {
    transform: translateX(-50%);
  }

  /* Fix Arrow Visibility and Position */
  .capped-cup-section .carousel-nav .arrow-group {
    position: absolute;
    top: 50%;
    width: 110%; /* Makes arrows sit slightly outside the card */
    left: -5%;
    transform: translateY(-50%);
    display: none;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
  }

  .capped-cup-section .carousel-nav label {
    pointer-events: auto;
    cursor: pointer;
  }

  /* Toggle Groups based on slide */
  #capped-slide1:checked ~ .carousel-nav .group-1,
  #capped-slide2:checked ~ .carousel-nav .group-2 {
    display: flex;
  }

  /* Dot highlights */
  .capped-cup-section .carousel-dots label {
    background: #444;
  }

  #capped-slide1:checked ~ .carousel-dots label:nth-child(1),
  #capped-slide2:checked ~ .carousel-dots label:nth-child(2) {
    background: var(--main-color) !important;
  }
}
