/* ==========================================================
   GLOBAL PAGE STYLE
   ========================================================== */

* {
  cursor: url("../../cursors/default-cursor.png"), auto;
}

p {
  font-family: "brandon-grotesque", sans-serif;
}

a {
  font-family: "brandon-grotesque", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: url("../../portfolio/images/wood.jpg") repeat center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("../../home/images/grain.png") repeat;
  opacity: 0.18;
  mix-blend-mode: overlay;
  z-index: 5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

a,
button {
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

#paper-b {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -100;
  opacity: 0.5;
  filter: blur(2px);
}

#grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 1000;
  filter: blur(1px);
}

#logo-png {
  width: 6rem;
  z-index: 1001;
  margin-right: -0.5rem;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

#logo-png:hover {
  animation: rotate 1s infinite forwards linear;
}

#logo-png:active {
  cursor: url("../../cursors/clicked-cursor.png");
}

@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

.header-container {
  position: fixed;
  top: 3.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1001;
}

.close-menu {
  display: inline;
  position: absolute;
  top: 0rem;
  right: 1.9rem;
  font-size: 3rem;
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  padding: 1rem;
}

.close-menu:hover {
  color: white;
}

.close-menu:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* Menu Button - Positioned in the top-right corner */
.menu-toggle {
  padding: 1.9rem 2rem 1rem 0;
  background: none;
  color: rgb(48, 48, 48);
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  border: none;
  z-index: 2000;
  transition: transform 0.3s ease-in-out;
  cursor: url("../../cursors/pointer-cursor.png"), default;
}

.menu-toggle:hover {
  color: white;
}

.menu-toggle:active {
  color: white;
  cursor: url("../../cursors/clicked-cursor.png"), default;
}

#dropdown-title a {
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 3.3rem;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
  transition: transform 0.6s ease-in-out;
  background: none;
  padding: none;
  line-height: 4rem;
}

#dropdown-title a:hover {
  transform: rotate(-2deg);
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  background-color: transparent !important;
}

#dropdown-title a:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* Fullscreen overlay when menu is open */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.197); /* Dark overlay */
  backdrop-filter: blur(7px); /* Blur effect */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

/* Dropdown container */
.dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("../../photos-regular/paper.jpg") no-repeat center center /
    cover;
  position: relative;
  padding: 30px;
  border-radius: 20px;
  width: 95%;
  max-width: 38rem;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 1s ease-in-out;
}

/* Add a crumpled texture effect like the home page */
.dropdown-menu::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../photos-regular/grain.png"); /* Match home-style.css */
  opacity: 0.1;
  z-index: -1;
  border-radius: 20px;
}

/* Add plant shadow effect */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../photos-regular/plant-shadow-left.jpg") no-repeat center
    center / cover;
  opacity: 0.3;
  z-index: -1;
  border-radius: 20px;
}

/* Show dropdown when active */
.dropdown-overlay.active {
  display: flex;
}

/* Animate dropdown entrance */
.dropdown-overlay.active .dropdown-menu {
  animation: slideIn 0.6s ease-out forwards;
}

.dropdown-overlay.closing .dropdown-menu {
  animation: slideOut 0.8s ease-in forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slide Out */
@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Options styling */
.options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  margin: 1.5rem 5rem 1rem 0;
  text-decoration: none;
  color: #333;
  background-color: white;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  font-size: 1.5rem;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.options a span {
  margin-left: 4rem;
  margin-right: 4rem;
  text-align: center;
}

.options a img {
  /* Add this */
  width: 2rem; /* Adjust size as needed */
  height: 2rem;
  margin-top: 0.3rem; /* Keeps spacing balanced */
}

.options a:hover {
  background-color: rgba(89, 89, 89, 0.397);
}

.options a:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.container {
  text-align: center;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================
   TORN PAPER PAGE HEADERS
   ========================================================== */

.torn-heading {
  margin: 5rem auto 0;
  background: white;
  position: relative;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  line-height: 4rem;
  width: fit-content;
  padding: 1rem 6rem 0.5rem 6rem;
  transition: 0.2s;
}

.torn-heading:hover {
  transform: rotate(-2deg);
}

.torn-heading h1,
.torn-heading h2 {
  font-family: "rafaella-shadow", "Playfair Display", serif;
  font-size: 3.2rem;
  margin: 0;
}

/* ===== How It Works Toggle — Premium Upgrade ===== */

#how-toggle {
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  font-size: 1.2rem;
  user-select: none;
  display: flex;
  justify-content: center; /* centers it */
  align-items: center;
  margin: 1.5rem auto 0.8rem; /* full center */
  width: fit-content; /* shrink to content instead of full width */
  gap: 10px;
  padding: 0.5rem 4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: 0.35s;
  font-family: "brandon-grotesque", sans-serif;
}

#how-toggle:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255);
}

#how-toggle:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
  transform: scale(0.98);
}

.how-arrow {
  transition: transform 0.35s ease;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.how-arrow:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* rotate into ▲ when open */
#how-toggle.open .how-arrow {
  transform: rotate(180deg);
}

/* CONTENT PANEL */
#how-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0rem;
  transition: max-height 0.6s ease, opacity 0.45s ease;
}

/* When OPEN — fade + reveal */
#how-content.open {
  max-height: 500px;
  opacity: 1;
}

/* Paper card style behind text */
#how-content .pricing-description {
  background: rgba(255, 255, 255);
  border-radius: 10px;
  padding: 22px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  line-height: 1.65rem;
  font-size: 1.15rem;
  z-index: 10000;
}

.pricing-description {
  width: 95%;
  max-width: 50rem;
  margin: 0 auto 2rem;
  text-align: left;

  font-size: 1.25rem;
  line-height: 1.7rem;
  color: #333;

  background: rgba(255, 255, 255);
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

#contact-emoji {
  text-align: center;
  padding: 0.7rem !important;
  margin-bottom: 3rem;
  margin-top: -1.2rem;
}

#cp-link {
  color: #274783;
  cursor: url("../../cursors/pol-cursor.png"), auto;
}

#cp-link:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

/* ==========================================================
   POLAROID FLIP CARDS — FINAL CLEAN VERSION
   ========================================================== */

.pricing-grid {
  width: 60%;
  max-width: 70rem;
  margin: 2rem auto 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 0;
}

.pricing-grid:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

/* Container */
.package-card {
  perspective: 1400px;
  position: relative;
  cursor: url("../../cursors/pointer-cursor.png"), auto;
  transition: transform 0.4s ease-in-out;
}

.package-card:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.package-card:hover .flip-card-front::after,
.package-card:hover .flip-card-back::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.236) 0%,
    rgba(255, 255, 255, 0.37) 50%,
    rgba(255, 255, 255, 0.225) 100%
  );
  transform: translate(-150%, -150%) rotate(30deg);
  animation: diagonalShimmer 1s ease-in-out;
  pointer-events: none;
  z-index: 10;
  filter: blur(10px);
}

.flip-card-inner {
  width: 100%;
  aspect-ratio: 2 / 3.5; /* Polaroid ratio */
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s;
}

.flip-card-inner:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

/* Flip on click (JS toggles this class) */
.package-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK must be absolutely identical-sized surfaces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  backface-visibility: hidden;

  border-radius: 8px;
  background: white;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* FRONT CONTENT */
.flip-card-front {
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: url("../../cursors/pointer-cursor.png"), auto;
}

.flip-card-front:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: url("../../cursors/pointer-cursor.png"), auto;
}

.polaroid-img:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.polaroid-title {
  text-align: center;
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin: 1.2rem 0 0.3rem 0;
  cursor: url("../../cursors/pointer-cursor.png"), auto;
}

.polaroid-title:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

/* BACK CONTENT */
.flip-card-back {
  transform: rotateY(180deg);
  padding: 1rem;
  text-align: center;
  font-family: "brandon-grotesque", sans-serif;

  /* NEW FIXES BELOW */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 2.2rem;
  height: 100% !important;
  position: absolute;
  inset: 0;
}

.flip-card-back:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.flip-card-back button {
  /* NEW FIX */
  margin-top: auto;
}

.flip-card-back h3 {
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.flip-card-back h3:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.flip-card-back ul {
  padding-left: 20px;
  text-align: left;
  font-size: 1rem;
  margin: 0 0 20px;
  line-height: 2rem;
}

.flip-card-back ul:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.flip-card-back li:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.price-tag {
  position: absolute;
  top: -10px;
  right: -14px;

  background: white;
  border-radius: 100%;
  padding: 0.4rem 0.8rem 0.5rem 0.8rem;

  font-family: "handsome-pro-nib", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.5rem;
  color: #333;

  border: 1.5px solid #000000;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.348);
  transform: rotate(18deg);
  pointer-events: none;
  z-index: 21;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* CHECK TAG — identical position, but hidden by default */
.check-tag {
  position: absolute;
  top: -10px;
  right: -14px;

  background: #d9f5dd;
  border-radius: 50%;
  padding: 0.1rem 0.5rem;

  font-family: "brandon-grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b7a28;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);

  transform: rotate(10deg);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 20;
}

@keyframes checkPop {
  0% {
    transform: rotate(10deg) scale(0.4);
    opacity: 0;
  }
  60% {
    transform: rotate(10deg) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: rotate(10deg) scale(1);
    opacity: 1;
  }
}

.package-card.selected-card .check-tag {
  opacity: 1;
  animation: checkPop 0.3s ease-out;
}

.package-card.selected-card .price-tag {
  opacity: 1;
  animation: checkPop 0.3s ease-out;
}

.package-card:hover .price-tag,
.package-card.flipped .price-tag {
  transform: rotate(12deg) translateY(-8px) translateX(1px);
  box-shadow: 0px 12px 18px rgba(36, 36, 36, 0.3);

  /* ensure immediate lift */
  transition-delay: 0s;
}

.package-card:hover {
  transform: rotate(0deg) scale(1.03);
}

/* When sticker is manually lifted (via JS) */
.sticker-hold .price-tag {
  transform: rotate(8deg) translateY(-8px);
  box-shadow: 0px 12px 18px rgba(153, 153, 153, 0.3);
}

.info-btn {
  background-color: transparent;
  color: rgb(36, 62, 146);
  border: none;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s;
  margin-bottom: -1rem;
  padding: 1rem 0.5rem 0 0.5rem;
  font-family: "brandon-grotesque", sans-serif;
}

.info-btn:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.select-package {
  background: none;
  border: 1.2px solid black;
  border-radius: 50px;
  color: rgb(41, 41, 41);
  text-decoration: none;
  padding: 0.4rem 1.6rem;
  transition: 0.3s;
  margin-top: auto;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

.select-package:hover {
  border-color: transparent;
  color: var(--dynamic-color, #555); /* fallback */
}

.select-package:active {
  transform: scale(0.97);
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.select-package.cancelled {
  background-color: #ac4b51 !important; /* your correct red */
  color: white !important;
  border-color: #ac4b51 !important;
}

/* Hover effect for cancel button */
.select-package.cancel:hover {
  background: #c67979 !important; /* soft pastel red */
  border: none !important;
  color: #ffffff !important;
}

.package-card:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.variable-card input {
  pointer-events: auto; /* ensures inputs stay priority target */
  z-index: 10;
  position: relative;
  border: none;
  border-radius: 50px;
  text-align: center;
  width: 30%;
  padding: 0.5rem;
  align-self: center;
  align-items: center;
}

.adjust-row {
  display: flex;
  flex-direction: column; /* label sits centered above */
  align-items: center; /* centers entire block perfectly */
  justify-content: center;
  text-align: center;
  /* border: 1.5px black solid; */
  /* box-shadow: 0px 4px 10px rgba(160, 160, 160, 0.348); */
  border-radius: 10px;
  margin-bottom: 6px;
}

.adjust-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.adjust-inline input {
  width: 55px;
  text-align: center;
  padding: 0.2rem 0;
  font-size: 1rem;
  margin: 0;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  border: 1.5px solid black;
  border-radius: 8px;
  transition: 0.15s ease;
  font-family: "brandon-grotesque", sans-serif;
}

.adjust-inline input:hover {
  border-color: rgb(101, 101, 136);
  transform: scale(1.1);
}

/* Arrow buttons perfectly aligned with input */
.arrow-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.3rem 0;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.arrow-btn:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.arrow-btn img:active {
  cursor: url("../../cursors/clicked-cursor.png"), auto;
}

.arrow-btn img {
  width: 90%;
  opacity: 0.92;
  transition: 0.15s ease;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.arrow-btn img:hover {
  transform: scale(1.18);
}

.divider-line {
  width: 70%; /* adjust if needed */
  opacity: 0.85; /* classy & gentle */
  display: block;
  pointer-events: none; /* ensures it doesn't trigger card flip */
  margin: -3rem auto -1.5rem auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .dropdown-overlay.active + .header-container {
    visibility: hidden; /* Hide but keep space */
    opacity: 0; /* Make it invisible */
    pointer-events: none; /* Prevent interaction */
  }

  .dropdown-overlay:not(.active) + .header-container {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .close-menu {
    display: inline;
    position: absolute;
    top: 0rem;
    right: 1.5rem;
    font-size: 3rem;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: url("../../cursors/pointer-cursor.png"), pointer;
    padding: 1rem;
  }

  .close-menu:hover {
    color: white;
  }

  .close-menu:active {
    cursor: url("../../cursors/clicked-cursor.png"), pointer;
  }

  #logo-png {
    width: 5rem;
    margin-right: auto;
    margin-left: 1.5rem;
  }

  .menu-toggle {
    padding: 1.7rem 1.5rem 1rem 0;
    font-size: 1.5rem;
  }

  .options a {
    width: 100%;
    margin: none;
  }

  .options a span {
    margin: 0;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .torn-heading {
    width: 95%;
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    margin: 1rem auto 2rem;
  }

  .torn-heading h1,
  .torn-heading h2 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .header-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .pricing-description {
    font-size: 1.15rem;
    line-height: 1.5rem;
  }

  .options a {
    font-size: 1.2rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
    margin-top: 0.7rem;
  }

  #dropdown-title a {
    font-size: 2.8rem;
    line-height: 3rem;
    white-space: inherit;
  }
}

@media (max-width: 650px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   NEON GLOW — SELECTED PACKAGE
   ========================================================== */

.selected-card {
  animation: neonPulse 4s infinite alternate ease-in-out;
  border-radius: 5px; /* helps soften the box-shadow edge */
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 18px rgba(0, 225, 255, 0.65),
      0 0 28px rgba(0, 225, 255, 0.2);
  }
  25% {
    box-shadow: 0 0 20px rgba(60, 207, 255, 0.7),
      0 0 30px rgba(60, 207, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 22px rgba(135, 90, 255, 0.7),
      0 0 32px rgba(135, 90, 255, 0.25);
  }
  75% {
    box-shadow: 0 0 20px rgba(255, 76, 247, 0.7),
      0 0 30px rgba(255, 76, 247, 0.25);
  }
  100% {
    box-shadow: 0 0 18px rgba(61, 255, 206, 0.65),
      0 0 28px rgba(61, 255, 206, 0.2);
  }
}

/* ==========================================================
   SUMMARY PANEL (REDESIGNED)
   ========================================================== */

.summary-panel {
  width: 90%;
  max-width: 850px;
  margin: 3rem auto 3rem;
  background: white;
  padding: 1rem 2rem 2rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.torn-heading.small {
  margin: 0.5rem auto 1rem !important;
  box-shadow: none !important;
}

.torn-heading.small h2 {
  font-size: 2.5rem;
  background-color: transparent !important;
  box-shadow: none !important;
  line-height: 3rem;
}

.summary-content p {
  font-size: 1.2rem;
  line-height: 1rem;
}

/* Fancy calligraphy divider */
.fancy-divider-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: -4rem 0;
}

.fancy-divider {
  max-width: 260px; /* Adjust size here */
  width: 60%; /* Responsive */
  height: auto;
  opacity: 0.6; /* Slight fade for elegance */
}

/* ------------------------------------------------------
   COMPACT PREMIUM ADD-ON LIST
------------------------------------------------------ */

.addons-section {
  width: 100%;
  margin-top: 25px;
  text-align: left;
}

.addons-title {
  font-family: "brandon-grotesque", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.full-tile {
  width: 100%;
}

.addon-tile {
  border: 2px solid black;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: white;
  transition: transform 0.15s ease;
  text-align: left;
  position: relative;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  box-shadow: 0 8px 16px rgba(56, 56, 56, 0.17);
}

.addon-tile:hover {
  transform: translateY(-2px);
}

.addon-tile:active {
  transform: translateY(-2px) scale(0.98);
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.addon-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: "brandon-grotesque", sans-serif;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  margin-top: 0;
}

.addon-desc {
  margin: 2px 0 10px;
  color: #444;
  line-height: 1.3;
  font-size: 0.85rem;
  max-width: 650px;
  font-family: "brandon-grotesque", sans-serif;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  padding-right: 4rem;
}

.addon-desc:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.addon-title:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.addon-price:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.addon-price {
  font-size: 1rem;
  margin-top: 6px;
  font-weight: bold;
  font-family: "brandon-grotesque", sans-serif;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  margin-top: -0.3rem;
}

.addon-selected {
  border-color: #2c4b96;
  box-shadow: 0 0 6px rgba(44, 75, 150, 0.45);
}

/* ----- Quantity Inputs (Photos + Days) ----- */

.addon-quantity-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: "brandon-grotesque", sans-serif;
}

.addon-quantity-group label {
  font-size: 0.9rem;
  font-family: "brandon-grotesque", sans-serif;
}

.addon-quantity-group input {
  width: 60px;
  padding: 4px;
  border-radius: 50px;
  border: 2px solid black;
  font-size: 0.9rem;
  text-align: center;
  background: #fafafa;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 700;
}

#extrasTile .addon-title,
#extrasTile .addon-desc,
#extrasTile .addon-quantity-group,
#extrasTile input {
  cursor: url("../../cursors/default-cursor.png"), default !important;
}

/* Keep pointer cursor ONLY on empty space of the tile */
#extrasTile {
  cursor: url("../../cursors/default-cursor.png"), pointer !important;
}

/* Active press behavior (on click) */
#extrasTile:active,
#extraPhotos:active,
#extraDays:active,
#extraPhotos .addon-tile:active,
#extraDays .addon-tile:active,
#extraPhotos .addon-desc:active,
#extraDays .addon-desc:active {
  transform: scale(1) translateY(-2px) !important;
  cursor: url("../../cursors/default-cursor.png"), pointer !important;
}

.days-addon input {
  width: 50%;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin-top: 8px;
  font-family: "brandon-grotesque", sans-serif;
  border: 2px solid rgb(70, 105, 221);
  border-radius: 10px;
  cursor: url("../../cursors/pointer-cursor.png"), pointer !important;
  text-align: center;
  font-family: "brandon-grotesque", sans-serif;
}

/* Base always-visible circular checkmark */
.addon-checkmark {
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid black;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(10deg);
  background: white;
  transition: all 0.35s ease;
  pointer-events: none; /* so only tile click triggers */
}

/* ✔ mark inside */
.addon-selected .addon-checkmark::after {
  content: "✔";
  font-size: 1.3rem;
  font-weight: 700;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

/* Neon glow for selected add-ons (matches selected-card) */
.addon-selected {
  animation: neonPulse 4s infinite alternate ease-in-out;
  border-color: black; /* keep tile border grounded */
}

/* ==========================================================
   TOTAL + CTA
   ========================================================== */

.total-line {
  font-size: 1.3rem;
  margin-top: 25px;
  font-family: "brandon-grotesque", sans-serif;
}

.book-btn {
  margin-top: 25px;
  padding: 16px 30px;
  font-size: 1.2rem;
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: black 2px solid;
  border-radius: 50px;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  width: 100%;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 700;
}

.book-btn:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
  transform: scale(0.98);
}

.alt-btn {
  width: 70%;
  max-width: 20rem;
  margin-top: 10px;
  font-size: 0.8rem;
  padding: 0.8rem;
}

footer {
  background-size: cover; /* Makes the image cover the entire container */
  background-position: top; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  color: #000000;
  text-align: center;
  font-family: "brandon-grotesque", sans-serif;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0 0.5rem 0;
  position: relative;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.footer-links a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  transition: color 0.3s;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: black;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.footer-links a:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

@keyframes diagonalShimmer {
  0% {
    transform: translate(-150%, -150%) rotate(30deg);
  }
  100% {
    transform: translate(150%, 150%) rotate(30deg);
  }
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.236) 0%,
    rgba(255, 255, 255, 0.37) 50%,
    rgba(255, 255, 255, 0.225) 100%
  );
  transform: translate(-150%, -150%) rotate(30deg);
  animation: diagonalShimmer 1s ease-in-out;
  pointer-events: none;
  z-index: 10;
  filter: blur(10px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .addon-checkmark {
    width: 2rem;
    height: 2rem;
    right: 1rem;
  }

  .addon-selected .addon-checkmark::after {
    font-size: 1.2rem;
  }

  .torn-heading.small {
    margin: 0.5rem auto 1rem !important;
    box-shadow: none !important;
    padding: 1rem;
  }

  .torn-heading.small h2 {
    font-size: 2rem;
    background-color: transparent !important;
    box-shadow: none !important;
    line-height: 2.5rem;
  }

  .fancy-divider {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .addons-title {
    font-family: "brandon-grotesque", sans-serif;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .alt-btn {
    font-size: 0.6rem;
  }
}

@media (max-width: 650px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* PDF Styles */
#pdf-layout {
  display: none;
  font-family: "brandon-grotesque", sans-serif;
}

/* padded container for print */
.pdf-container {
  width: 85%;
  margin: 0 auto;
  padding-top: 20px;
}

/* logo larger + better balance */
.pdf-logo {
  height: 95px;
  margin-bottom: 18px;
  opacity: 0.95;
}

/* titles matching site typography */
.pdf-title {
  font-family: "rafaella-shadow", sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* add-on + total headings */
.pdf-heading {
  font-family: "brandon-grotesque", sans-serif;
  font-size: 22px;
  margin-top: 22px;
  font-weight: 600;
}

.total-header {
  margin-top: 30px;
}

/* beautiful heavy final price */
.pdf-total-amount {
  font-size: 32px;
  font-weight: 800;
  margin-top: -6px;
}

/* clean premium line */
.pdf-divider {
  margin: 20px 0;
  border: none;
  border-top: 2px solid #000;
}

/* ───────────── PDF FOOTER ───────────────── */

.pdf-footer {
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  border-top: 1.75px solid #00000030;
  opacity: 0.9;
  line-height: 2rem;
}

.footer-line {
  font-size: 14px;
  margin-bottom: 3px;
}

.footer-name {
  font-size: 15px;
  margin-bottom: 2px;
}

.footer-contact {
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* QR section for PDF */
#qr-wrapper {
  text-align: center;
  margin-top: 35px;
  margin-bottom: 10px;
}

#qr-code {
  display: inline-block;
  padding: 8px;
  border: 1.75px solid #000;
  border-radius: 8px;
}

.qr-label {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* ================= POPUP PANEL STYLE ================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.popup-panel {
  background: white;
  padding: 2rem 3rem;
  border-radius: 18px;
  width: 90%;
  max-width: 40rem;
  text-align: center;
  animation: popfade 0.4s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.popup-panel h2 {
  font-family: "rafaella-shadow";
  font-size: 2.5rem;
  margin: 0.5rem auto 1rem;
  line-height: 2.5rem;
}

.close-popup {
  margin-top: 0.5rem;
  background-color: transparent;
  color: rgb(0, 0, 0);
  border: black solid 2px;
  border-radius: 50px;
  padding: 0.5rem;
  font-size: 1rem;
  font-family: "brandon-grotesque", sans-serif;
  width: 80%;
  transition: 0.3s;
}

.popup-panel p {
  font-size: 1.2rem;
}

.close-popup:hover {
  transform: scale(1.05);
}

.close-popup:active {
  transform: scale(0.98);
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

#sample-link {
  background-color: transparent;
  color: rgb(36, 62, 146);
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.2s;
  font-family: "brandon-grotesque", sans-serif;
  text-decoration: none;
}

@keyframes popfade {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
