/*--------------------------------------------------
  Imports & Root Styles
--------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

html {
  font-size: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between !important;
  align-items: center;
}

.center-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teardrop-label {
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 10px;
  background: #fff;
  display: flex;
  padding: 5px 12px;
  border-radius: 16px;
  position: absolute;
  z-index: 1000;
  width: 80px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }

  .modal-long {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    min-height: 70vh;
    left: 50%;
  }

  #productDetailsModal .modal-content {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 1.5px 8px rgba(0, 0, 0, 0.1);
    border: none;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #productDetailsModal .modal-body {
    max-height: 100vh;
    overflow-y: auto;
    padding: 2rem;
  }
}

html {
  position: relative;
  min-height: 100%;
}

html,
body {
  /* background-image: url("../Images/Background.png"); */
  background-color: #efe8dc;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  margin: 0;
  padding: 0;
}

main {
  min-height: 90vh;
}

.loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: grayscale(1) brightness(0.7);
  opacity: 0.7;
  animation: brandmarkFloat 3s ease-in-out infinite;
}

@keyframes loading-logo {
  0% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
}

/*--------------------------------------------------
  Utility & Layout Classes
--------------------------------------------------*/
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  /* box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; */
  border-radius: 16px 16px 0px 16px;
}

.image-container {
  position: relative;
  width: 100vw;
  height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links {
  color: #fff !important;
  text-decoration: none;
}

.company-blurb {
  border-left: 1px solid #eee;
  padding-left: 32px;
}

/* Grouped repeated .image-container */
.image-container {
  width: 100%;
  height: auto;
  padding: 40px 0 100px 0;
}

#nextButtonQuestions {
  width: auto !important;
  float: inline-end;
  justify-self: auto;
  height: 60px;
  padding: 0 30px !important;
}

#confirm-selection-btn {
  display: grid;
  justify-self: center;
  grid-column: 3/4;
  grid-row: 1;

  margin: 10px 0;
  width: auto;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.confirm-button {
  padding: 0 10px;
}

/*--------------------------------------------------
  Images & Overlays
--------------------------------------------------*/
.gift-image {
  width: 110%;
  height: auto;
  max-width: none;
}
/* Grouped repeated .gift-image */
.gift-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}

.gift-image-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
/* Grouped repeated .gift-image-overlay */
.gift-image-overlay {
  width: 50%;
  height: 90%;
  max-width: 550px;
  margin: 40px 0 0 0;
  left: 30%;
}

/*--------------------------------------------------
  Layout & Forms
--------------------------------------------------*/
.layout-main {
  margin: 0 16px;
}

.form-body {
  margin: 1.5vh 0 20vh 0;
}

.form-group {
  margin: 0 0 1vh 0;
  font-weight: 600;
}

.btn-complete-order {
  margin-top: 3vh;
}

.form-control {
  border-radius: 6px;
  border: 1px solid #000000;
  height: 4vh;
}

.form-control-message {
  border-radius: 6px;
  border: 1px solid #000000;
  width: 100%;
  padding: 10px;
}

.control-label {
  font-weight: 400;
}

.modal-details {
  display: flex;
  justify-content: start !important;
  margin-left: 16px;
}

.modal-image-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  width: 100%;
  background: #f8f8f8;
  overflow: hidden;
}

.modal-product-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/*--------------------------------------------------
  Cards & Accordions
--------------------------------------------------*/

.image-rectangle-center {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.card-image-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.accordion-header {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background-color: transparent !important;
}

.accordion-image {
  display: inline-block;
  overflow: hidden;
  border: 50%;
}

.accordion-body {
  padding: 0px;
  background-color: transparent !important;
  border-bottom: black 1px solid;
}

.accordion-item {
  background-color: transparent !important;
  border: none;
  max-width: 600px;
}

.checkout-container {
  max-width: 600px;
}

#paymentButton {
  width: 100% !important;
  display: block;
  justify-self: auto;
  height: 5vh;
  padding: 0 20px !important;
  margin: 60px 0 0 0 !important;
}

.accordion-button {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: inherit;
  font-weight: 500;
  height: 8vh;
}

.accordion-image-text {
  align-content: center;
  margin: 0;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: black !important;
}

.delivery-button {
  justify-content: center;
  display: flex;
}

.table {
  display: grid;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 0 !important;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

/*--------------------------------------------------
  Typography & Buttons
--------------------------------------------------*/
.logo-img {
  height: 80px;
  width: auto;
  /* margin-left: 130px; */
}

.colored-title {
  font-family: "Inter", sans-serif;
  font-weight: 750;
  font-size: 28px;
  color: #15998e;
  margin-bottom: 3vh;
  line-height: 1;
}

.centered-div {
  text-align: center;
}

.btn-primary {
  background-color: #ffce5a !important;
  font-weight: 600;
  border-color: #ffce5a !important;
  color: #000 !important;
  border-radius: 10px 10px 0px 10px !important;
  padding: 10px 20px !important;
}

.btn-primary:hover {
  background-color: #8c670f !important;
  border-color: #8c670f !important;
  color: white !important;
}

a.plain-text {
  color: black;
  display: block;
  margin-top: 10px;
}

.text-light {
  font-weight: 300;
  color: black !important;
  margin-bottom: 0;
}

.text-heading {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.text-heading-small {
  font-weight: 500;
  font-size: 18px;
  margin-top: revert;
}

.text-heading-margin {
  font-weight: 700 !important;
  margin-top: 4vh;
  margin-bottom: -2vh;
}

.large-image {
  height: auto;
  display: block;
}

.numbered-item {
  display: flex;
  float: left;
  gap: 15px 0;
  margin-bottom: 2vh;
}

.numbered-item p {
  margin: 0;
}

.bubble {
  display: flex;
  width: 18px;
  height: 18px;
  padding: 2px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.714px;
  border-radius: 120px 120px 0px 120px;
  margin: 7px 0 0 0;
  font-size: 3vw;
  color: #0088a8;
  font-weight: 700;
}

.primary-button {
  padding: 16px 24px;
  display: block;
  gap: 8px;
  border-radius: 16px 16px 0px 16px;
  background: #0088a9;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 25px 0;
  border: #0088a9 !important;
  margin-top: 40px;
}

.primary-button-questions {
  margin-top: 100px !important;
}

.primary-button:hover {
  background-color: #006f86;
  color: white;
  transform: scale(1.02);
  text-decoration: none;
}

.primary-button:disabled {
  background-color: #b0b0b0;
  color: #7d7d7d;
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary:disabled {
  background-color: #b0b0b0;
  color: #7d7d7d;
  opacity: 0.6;
  cursor: not-allowed;
}

#nextButton {
  grid-column: 1/3;
  justify-self: end;
}

.progress-container {
  position: relative;
  width: 100%;
  height: 20px;
  background-color: #f3f3f3;
  border-radius: 12px 12px 0px 12px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(
    --gradient-green,
    linear-gradient(90deg, #15998e 0%, #41c9a2 100%)
  );
  width: 0%;
  border-radius: 32px 32px 0px 32px;
  transition: width 0.4s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #000;
  font-size: 14px;
}

.fixed-button {
  width: 80%;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  margin: 0 20px 20px 20px;
}

.redeemption-container {
  max-width: 400px;
}

.redeem-gift-button {
  margin-top: 10px;
  margin: 10px !important;
}

.details-link {
  color: #005f73;
  margin: 30px 0 0 10px;
  align-content: center;
  text-decoration: underline;
}

/*--------------------------------------------------
  Product Selection & Cards
--------------------------------------------------*/
.selected-products {
  /* background-image: url("../Images/Background.png");
  background-size: cover; */
  width: 90%;
  border-radius: 10px 10px 0 0;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  margin: 0 auto;

  color: #0088aa;
  position: fixed;
  height: auto;
  box-shadow: none;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  transform: none !important;
  flex-direction: column !important;
  padding: 0 30px;
  background-color: white;
}

.card-product-selected {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #006f86;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  margin: 5px;
  border: solid 3px #0088a9;
}

.product-card-button {
  padding: 12px 20px !important;
  align-items: right;
  gap: 8px;
  font-size: 16px !important;
  font-weight: 400 !important;
  margin-top: 10px;
}
/* Grouped repeated .product-card-button */
.product-card-button {
  align-items: right;
  gap: 8px;
  border-radius: 16px 16px 0px 16px;
  background: #0088a9;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  margin-top: 10px;
  float: left;
}

.card-img-top {
  width: 100%;
  height: 20vh;
  max-height: 200px;
  object-fit: fill;
  border-radius: 80px 80px 0px 0px;
}
/* Grouped repeated .card-img-top */
.card-img-top {
  width: 100%; /* Full width of the card */
  height: 45vh;
  max-height: 250px;
  object-fit: fill;
  border-radius: 80px 80px 0px 0px;
}

.card-title {
  font-size: 16px !important;
}
/* Grouped repeated .card-title */
.card-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.card-text {
  font-size: 14px !important;
}
/* Grouped repeated .card-text */
.card-text {
  font-size: 14px;
  color: #555;
}

.button_desktop {
  justify-content: flex-end !important;
}

.next-button-fixed {
  display: none;
  margin-top: 0 !important;
  width: 50% !important;
}

.products-container {
  display: grid !important;
  gap: 30px !important;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr) !important;
  margin-bottom: 100px;
}

.products-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-container > .w-100 {
  grid-column: 1 / -1;
}

.d-flex {
  justify-content: end !important;
  max-width: 1140px;
}
/* Grouped repeated .d-flex */
.d-flex {
  justify-content: center !important;
}

.button-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: left;
  gap: 20px;
}

.option-button {
  display: flex;
  font-weight: 600;
  height: 50px;
  padding: 5px 2px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 32px 32px 0px 32px;
  background: #fff;
  width: 100%;
}

.option-button:hover {
  background: var(
    --gradient-green,
    linear-gradient(90deg, #15998e 0%, #41c9a2 100%)
  );
}

input[type="radio"]:checked + .option-button {
  background: var(
    --gradient-green,
    linear-gradient(90deg, #15998e 0%, #41c9a2 100%)
  );
  color: white;
}

input[type="checkbox"]:checked + .option-button {
  background: var(
    --gradient-green,
    linear-gradient(90deg, #15998e 0%, #41c9a2 100%)
  );
}

.card-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 80px 80px 80px 8px;
  width: 100%;
  text-align: center;
}

.card-body {
  padding: 16px;
  display: block;
  flex-direction: column;
  align-items: flex-start;
}

input[type="checkbox"]:checked + .product-card-button,
input[type="radio"]:checked + .product-card-button {
  background: var(
    --gradient-green,
    linear-gradient(90deg, #15998e 0%, #41c9a2 100%)
  );
}

input[type="checkbox"]:checked + .product-card-button:hover,
input[type="radio"]:checked + .product-card-button:hover {
  background-color: #38b68b; /* Hover color for checked button */
}

input[type="checkbox"]:focus + .product-card-button,
input[type="radio"]:focus + .product-card-button {
  outline: 3px solid #41c9a2; /* Outline when focused */
}

.loading-products {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
  margin-top: 100px;
}

.loading-dots span {
  opacity: 0.2;
  animation: blink 1.4s infinite both;
  font-size: 1.2em;
  font-weight: bold;
  color: #15998e;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}

/*--------------------------------------------------
  Bubbles & Spinner
--------------------------------------------------*/
.bubble-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 bubbles per row */
  gap: 20px; /* Space between bubbles */
  justify-content: center; /* Center the grid horizontally */
  align-items: center; /* Center the grid vertically */
}

.bubble-group .bubble {
  width: 50px;
  height: 50px;
  padding: 50px;
  background: transparent;
  font-size: 30px;
  animation: fill-bubble 6s infinite;
}

@keyframes fill-bubble {
  0% {
    background: transparent;
  }

  50% {
    background: #005f73;
  }

  100% {
    background: #0088a8; /* Fully filled state */
  }
}

.bubble-group .bubble:nth-child(1) {
  animation-delay: 0s;
}

.bubble-group .bubble:nth-child(2) {
  animation-delay: 1s;
}

.bubble-group .bubble:nth-child(3) {
  animation-delay: 2s;
}

.bubble-group .bubble:nth-child(4) {
  animation-delay: 3s;
}

.bubble-group .bubble:nth-child(5) {
  animation-delay: 4s;
}

.bubble-group .bubble:nth-child(6) {
  animation-delay: 5s;
}

.spinner {
  font-family: "Font Awesome 6 Sharp Duotone";
  font-size: 59px;
  font-weight: 900;
  color: #0088aa; /* Spinner color */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  animation: spin 2s linear infinite; /* Rotation animation */
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg); /* Start at 0 degrees */
  }

  100% {
    transform: rotate(360deg); /* Rotate 360 degrees */
  }
}

/*--------------------------------------------------
  Miscellaneous
--------------------------------------------------*/
.wrapper {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.no-style-button {
  all: unset;
  display: inline-flex;
  cursor: pointer !important;
  color: #000;
}

.no-style-button:focus {
  border: none !important;
  color: #000;
}

.redeem-container {
  width: 50%;
}

#redeem-button {
  margin-top: 30px;
  float: inline-end;
}

.gift-section-wrapper {
  max-width: 600px;
  margin: 20px 0;
  text-align: center;
}

.giving-logo {
  height: 50px;
  margin-bottom: 20px;
}

.gift-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

.gift-title {
  font-size: 28px;
  font-weight: 800;
  margin: 10px 0 30px;
}

.gift-teardrop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.teardrop-shape-bg {
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1), filter 0.3s,
    box-shadow 0.3s;
  will-change: transform, filter, box-shadow;
}

.teardrop-box.selected .teardrop-shape-bg {
  /* outline: 4px solid #15998e; */
  outline-offset: 4px;
}

.teardrop-box:hover .teardrop-shape-bg,
.teardrop-box:focus-within .teardrop-shape-bg {
  transform: scale(1.08); /* No rotation */
  filter: brightness(1.1) drop-shadow(0 0 12px #15998e55);
  z-index: 2;
}

input[type="radio"]:checked + label .teardrop-shape-bg {
  filter: brightness(1.15);
  transition: box-shadow 0.3s, filter 0.3s;
}

.teardrop-box:hover .teardrop-image,
.teardrop-box:focus-within .teardrop-image {
  transform: scale(1.06);
  transition: transform 0.3s;
}

.teardrop-box {
  text-align: center;
  cursor: pointer;
  position: relative;
}

.teardrop-box {
  text-align: center;
  cursor: pointer;
  position: relative;
}

.teardrop-shape:hover {
  transform: scale(1.05);
}

.teardrop-stack {
  position: relative;
  width: 120px;
  height: 160px;
  margin: 0 auto;
}

.teardrop-shape-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  z-index: 1;
}
.teardrop-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  z-index: 2;
  clip-path: circle(50% at 50% 50%);
}

.teardrop-label {
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 10px;
  background: #fff;
  display: flex;
  padding: 5px 12px;
  border-radius: 16px;
  position: absolute;
  z-index: 1000;
  width: 80px;
  justify-content: center;
  align-items: center;
}

.teardrop-shape {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.teardrop-clip:hover {
  border: #006f86 solid 2px;
  transform: scale(2);
}

.teardrop-box:nth-of-type(1) .teardrop-shape-bg {
  transform: rotate(225deg);
}

.teardrop-box:nth-of-type(2) .teardrop-shape-bg {
  transform: rotate(130deg);
}

.teardrop-box:last-of-type .teardrop-shape-bg {
  transform: rotate(320deg);
}

.teardrop-box:nth-of-type(1):hover .teardrop-shape-bg,
.teardrop-box:nth-of-type(1):focus-within .teardrop-shape-bg {
  transform: rotate(225deg) scale(1.08);
}
.teardrop-box:nth-of-type(2):hover .teardrop-shape-bg,
.teardrop-box:nth-of-type(2):focus-within .teardrop-shape-bg {
  transform: rotate(130deg) scale(1.08);
}
.teardrop-box:last-of-type:hover .teardrop-shape-bg,
.teardrop-box:last-of-type:focus-within .teardrop-shape-bg {
  transform: rotate(320deg) scale(1.08);
}

input[type="radio"]:checked + label .teardrop-shape {
  border-radius: 24px;
  background: linear-gradient(90deg, #15998e22 0%, #41c9a222 100%);
  transition: box-shadow 0.2s;
}

.teardrop-shape:hover {
  cursor: pointer;
  filter: brightness(1.1);
  transition: box-shadow 0.2s;
}

.teardrop-shape-bg {
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1), filter 0.3s,
    box-shadow 0.3s;
  will-change: transform, filter, box-shadow;
}

.teardrop-box:hover .teardrop-shape-bg,
.teardrop-box:focus-within .teardrop-shape-bg {
  transform: scale(1.08);
  filter: brightness(1.1) drop-shadow(0 0 12px #15998e55);
  z-index: 2;
}

/* Remove selection zoom, but keep a visible border for selected */
input[type="radio"]:checked + label .teardrop-shape-bg {
  filter: brightness(1.15);
  transition: box-shadow 0.3s, filter 0.3s;
}

.teardrop-box:hover .teardrop-image,
.teardrop-box:focus-within .teardrop-image {
  transform: scale(1.06);
  transition: transform 0.3s;
}

/* No zoom for selected image */
input[type="radio"]:checked + label .teardrop-image {
}

.donation-note {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.donate-label {
  z-index: 1000;
  position: absolute;
  top: 35%;
  padding: 0 10px;
  transform: rotate(90deg);
  color: white;
  font-weight: 500;
}

.form-delivery {
  width: 100%;
}

.grid-delivery-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.delivery-form-col {
  order: 1;
  background-color: white;
  padding: 12px;
  border-radius: 10px;
}
.product-card-col {
  order: 2;
}

.form-order-body {
  max-width: 400px;
}

/*--------------------------------------------------
  Media Queries (all at the end, order preserved)
--------------------------------------------------*/
@media (max-width: 750px) {
  .redeem-container {
    width: 80%;
  }

  .teardrop-box.selected .teardrop-image {
    border: 4px solid #15998e;
    box-shadow: 0 0 0 4px #007bff33;
    border-radius: 50%;
    transition: border 0.2s, box-shadow 0.2s;
  }

  .teardrop-stack {
    position: relative;
    width: 100px;
    height: 160px;
    margin: 0 auto;
  }

  .teardrop-shape-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 1;
  }
  .teardrop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    z-index: 2;
    clip-path: circle(50% at 50% 50%);
  }

  .company-blurb {
    border-left: none;
    padding-left: 0;
    margin-top: 24px;
  }

  .modal-long {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    display: flex;
    align-items: stretch;
  }

  #productDetailsModal .modal-content {
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
  }
  #productDetailsModal .modal-body {
    max-height: 100vh;
    overflow-y: auto;
    padding: 1rem;
  }

  .button-background {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0)
    );
    height: 130px;
    width: 100%;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
  }
  .card-delivery {
    width: 100%;
  }

  #redeem-button {
    margin-top: 30px;
    float: inline-end;
  }

  .numbered-item {
    display: flex;
    gap: 15px 0;
    margin-bottom: 2vh;
  }

  .numbered-item p {
    margin: 0;
  }

  .bubble {
    display: flex;
    width: 18px;
    height: 18px;
    padding: 2px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.714px;
    border-radius: 120px 120px 0px 120px;
    margin: 7px 0 0 0;
    font-size: 6vw;
    color: #0088a8;
    font-weight: 700;
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 0 200px 0;
  }

  .selected-products {
    width: 100%;
    flex: auto;
    border-radius: 10px 10px 0 0;
    display: grid;
    padding: 0 20px;
    grid-template-columns: 4fr !important;
    display: grid;
    margin-top: 10px;
    color: #0088aa;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
  }

  .button-group {
    grid-template-columns: 1fr !important;
    gap: 16px;
    display: grid;
    margin-top: 10px;
    margin-bottom: 100px;
  }

  .logo-img {
    height: 80px;
    width: auto;
  }

  .button-background {
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0.61));
    height: 130px;
    width: auto;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
  }

  .gift-image-overlay {
    width: 100%;
    max-width: 550px;
    margin: 40px 0 0 0;
    left: auto;
  }

  .card-image-small {
    width: 15vw;
    height: auto;
    border-radius: 6px 6px 0 6px;
  }

  .accordion-image {
    display: inline-block;
    overflow: hidden;
    border: 50%;
  }

  .gift-image {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .products-container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-bottom: 200px !important;
  }

  #nextButton {
    width: auto !important;
    display: block;
    justify-self: auto;
    height: 6vh;
    padding: 0 20px !important;
    margin: 20px 0 0 0 !important;
  }

  #nextButtonQuestions {
    width: auto !important;
    display: block;
    justify-self: auto;
    height: 50px;
    padding: 0 20px !important;
  }

  .primary-button {
    /* margin: 0 26px 32px 26px !important; */
    margin-top: 20px !important;
    /* padding: 10px !important; */
  }

  .selected-products {
    width: 90% !important;
    padding: 10px 0 0 0;
    height: auto;
    border-radius: 10px 10px 0 0;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
    flex-direction: column !important;
    padding-bottom: 10px;
    align-items: center;
    background: #f8f9fa;
    color: #0088aa;
    position: fixed;
  }

  .card-product-selected {
    height: 50px !important;
    border: 1px solid #ddd;
    background-color: #c8dadf;
    border-radius: 10px;
    margin: 0;
    padding: 0;
  }

  .selected-products-row {
    display: flex;
    flex: auto !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    column-gap: 10px;
    margin-left: 0px;
  }

  .card-product-selected img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
  }

  .button-container {
    margin-top: 5px;
  }

  #confirm-selection-btn {
    display: grid;
    justify-self: center;
    grid-column: 1/4;
    float: none;
    margin: 10px 0;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .layout-main {
    margin: 0 100px;
  }
}

.products-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selected-products {
  height: auto;
  box-shadow: none;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  transform: none !important;
  flex-direction: column !important;
  padding: 10px 20px 10px 0;
}

.selected-products-row {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.card-product-selected img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-container {
  margin-top: 5px;
}

.selected-number {
  font-weight: 500;
  font-size: 30px;
  align-self: baseline;
}

.modal-header {
  border-bottom: none !important;
}

.modal-title {
  font-weight: 600;
  margin: 0 16px;
}

.modal-body {
  padding: 0 !important;
}

.modal-content {
  background-size: cover;
}

.btn-close {
  top: 0;
  right: 0;
  position: absolute;
  height: 30px;
  width: 30px;
}

#productDescription {
  background-color: #d9f4ec;
  padding: 10px;
  border-radius: 10px;
  margin: 16px;
}

#productDetails {
  margin: 0 16px 0 16px;
}

#productImage {
  width: 100%;
}

#productArtist {
  margin: 8px 16px 0 16px;
}

@media (max-width: 1400px) {
  .selected-products {
    width: 90%;
    padding: 10px 20px 10px 0;
    background-color: white;
  }
}

@media (max-width: 992px) {
  .selected-products {
    max-width: 710px;
    width: 90%;
    padding: 10px 20px 10px 0;
  }

  .grid-delivery-form {
    display: flex;
    flex-direction: column;
  }
  .product-card-col {
    order: 1;
  }
  .delivery-form-col {
    order: 2;
  }

  .delivery-button {
    order: 3;
  }
}

@media (max-width: 768px) {
  .selected-products {
    max-width: 540px;
    padding: 20px;
  }
}

.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Clover layout */
.gift-teardrop-clover {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto 0 auto;
  gap: 0;
}

.clover-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.clover-row-top {
  z-index: 2;
}

.clover-row-bottom {
  gap: 40px;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .clover-row-bottom {
    gap: 16px;
  }
  .teardrop-stack,
  .teardrop-shape-bg,
  .teardrop-image {
    width: 120px !important;
    height: 120px !important;
  }
}

.teardrop-stack,
.teardrop-shape-bg,
.teardrop-image {
  width: 160px;
  height: 160px;
}

.teardrop-clip:hover {
  border: #006f86 solid 2px;
  transform: scale(2);
}

.teardrop-box.selected .teardrop-image {
  border: 4px solid #15998e;
  box-shadow: 0 0 0 4px #007bff33;
  border-radius: 50%;
  transition: border 0.2s, box-shadow 0.2s;
}

.loading-img-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-carousel-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: #fff;
}
.handdrawn-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 2;
}

.loading-img-center {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hand-overline {
  width: 120px;
  height: 18px;
  border-top: 4px solid #f7c873;
  border-radius: 60px 60px 0 0;
  margin: 0 auto 10px auto;
  position: relative;
  top: -20px;
  background: none;
  box-shadow: 0 -2px 0 0 #f7c873, 20px -8px 0 -8px #f7c873,
    -20px -8px 0 -8px #f7c873;
}
.carousel-caption {
  position: static;
  padding: 0;
}

@keyframes wobble {
  0% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.02, 0.98) rotate(-2deg);
  }
  40% {
    transform: scale(0.98, 1.02) rotate(1deg);
  }
  60% {
    transform: scale(1.01, 0.99) rotate(-1deg);
  }
  80% {
    transform: scale(0.99, 1.01) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.wobble-circle {
  transform-origin: 50% 50%;
  animation: wobble 2.5s infinite ease-in-out;
}
.wobble-circle:nth-child(2) {
  animation-delay: 0.5s;
}
