@charset "utf-8";

:root {
  /* Fonts */
  --title-font: "Playfair", serif;
  --default-font: "Roboto", sans-serif;
  /* Colors */
  --primary: #974641;
  --secondary: #0f3057;
  --golden: #c8a046;
  --white: #ffffff;
  --charcoal-blue: #334153;
  --blue-slate: #6689a7;
  --text-color: rgba(15, 48, 87, 0.7);
  --light-gray: #f7f7f7;
}

/* 1. Create a Clean Base
------------------------------------------------------------------------------*/
html,
body,
br,
hr,
div,
span,
a,
object,
iframe,
ul,
ol,
dl,
li,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
q,
address,
small,
big,
cite,
dfn,
ins,
del,
i,
em,
b,
strong,
sup,
sub,
strike,
pre,
code,
samp,
kbd,
var,
tt,
form,
fieldset,
legend,
label,
input,
textarea,
option,
.nobox {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

blockquote,
q {
  quotes: none;
}

br {
  height: 0;
}

ul,
ol,
dl,
li {
  margin: 0;
  padding: 0;
}

html,
body {
  -webkit-appearance: none;
  border: none;
  -webkit-text-size-adjust: none;
}

body {
  font-family: var(--default-font);
  position: relative;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-color);
  background-color: var(--white);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* 2. Define Base Typography
------------------------------------------------------------------------------*/

/* Create the Default Headers  */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-bottom: 0;
  font-family: var(--title-font);
  color: var(--charcoal-blue);
  font-weight: bold;
}

/* Specific Header Settings */
h1,
.h1 {
  font-size: 50px;
  line-height: 1.34;
  margin-bottom: 10px;
}

h2,
.h2 {
  font-size: 40px;
  padding-bottom: 25px;
  line-height: 1.32;
}

/* Other Typo */
strong {
  font-weight: bold;
}

hr {
  border: 0 #dbdbdb solid;
  border-top-width: 1px;
  clear: both;
  height: 0;
}

ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

section {
  padding: 60px 0;
}

p {
  margin-bottom: 20px;
}

/* Images
------------------------------------------------------------------------------*/
img {
  border: 0;
  border-style: none;
  max-width: 100%;
  vertical-align: middle;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Framework
------------------------------------------------------------------------------*/

/* Common CSS */
.container {
  width: 100%;
  max-width: 1370px;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.col-12,
.col-11,
.col-10,
.col-9,
.col-8,
.col-7,
.col-6,
.col-5,
.col-4,
.col-3,
.col-2,
.col-1 {
  position: relative;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
}

.col-12 {
  max-width: 100%;
}

.col-11 {
  max-width: 91.66666667%;
}

.col-10 {
  max-width: 83.33333333%;
}

.col-9 {
  max-width: 75%;
}

.col-8 {
  max-width: 66.66666667%;
}

.col-7 {
  max-width: 58.33333333%;
}

.col-6 {
  max-width: 50%;
}

.col-5 {
  max-width: 41.66666667%;
}

.col-4 {
  max-width: 33.33333333%;
}

.col-3 {
  max-width: 25%;
}

.col-2 {
  max-width: 16.66666667%;
}

.col-1 {
  max-width: 8.33333333%;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.justify-content {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.font-weight-medium {
  font-weight: 500;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.no-listed {
  list-style: none;
}

figure {
  margin: 0;
  padding: 0;
}

.w-100 {
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

.btn {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 60px;
  padding: 15px 20px;
  font-size: 20px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  line-height: normal;
  border: 0;
}

.btn:hover {
  background-color: var(--golden);
}

.arrow-btn {
  position: relative;
  font-size: 18px;
  margin-right: 52px;
  padding: 15px 30px;
}

.arrow-btn .icon {
  content: "";
  position: absolute;
  right: -51px;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 100%;
  background-color: var(--primary);
  display: inline-block;
  background-image: url(../images/sefer-torah/btn-arrow.svg);
  background-position: center center;
  background-size: 20px;
  background-repeat: no-repeat;
  transition: 0.3s;
  transform: rotate(97deg);
}

.arrow-btn:hover .icon {
  background-color: var(--golden);
}

.gold-btn {
  background-color: var(--golden);
}

.gold-btn:hover {
  background-color: var(--primary);
}

.p-0 {
  padding: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.f-0 {
  font-size: 0;
}

.bg-blue {
  background-color: var(--secondary);
}

.pos-relative {
  position: relative;
}

.bg-img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-white :is(h1, h2, h3, h4, h5, h6, p) {
  color: var(--white);
}

.title-color strong {
  color: var(--blue-slate);
  font-weight: 900;
}

.text-white.title-color strong {
  color: var(--golden);
}

.donate-btn::before {
  content: "";
  background-image: url(../images/sefer-torah/donation.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

.donate-btn.disable {
  pointer-events: none;
}

main {
  overflow: hidden;
}

select {
  border: 1px solid var(--blue-slate);
  border-radius: 10px;
  font-size: 18px;
  color: var(--charcoal-blue);
  padding: 12px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/sefer-torah/select-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 10px;
  padding-right: 40px;
  font-weight: 500;
}

select:focus,
select:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: inherit;
}

/*Header css start*/
.header-main {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9;
  padding: 16px 0;
}

.header-main.sticky {
  background-color: var(--secondary);
  box-shadow: 0 4px 6px 1px #0000002b;
}

.header-main .header-inner {
  display: flex;
  align-items: center;
}

.header-main .header-inner .logo {
  margin-right: 63px;
}

.header-main .header-inner .logo a {
  display: inline-block;
}

.header-main .header-inner .logo a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.header-main .header-inner .btn {
  margin-left: auto;
}

.header-main .header-inner .menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.header-main .header-inner .menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header-main .header-inner nav ul {
  list-style: none;
  display: flex;
}

.header-main .header-inner nav ul li {
  margin-right: 17px;
}

.header-main .header-inner nav ul li a {
  padding: 10px 18px;
  border-radius: 60px;
  font-size: 16px;
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
}

.header-main .header-inner nav ul li a:hover {
  opacity: 0.7;
}

.header-main .header-inner nav ul li.active a {
  background-color: var(--primary);
  opacity: 1;
}

/*Header css end*/

/* Hero banner css start */
.hero-banner-section {
  min-height: 100vh;
  padding: 130px 0 280px 0;
}

.hero-banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 40%),
    linear-gradient(112deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.25) 60%),
    linear-gradient(250deg, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.45) 95%);
}

.hero-banner-section p {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.53;
  margin-bottom: 50px;
}

.hero-banner-content.pos-relative .image {
  margin-bottom: 60px;
}

/* Hero banner css end */

/*Honor section css start*/
.honor-section {
  padding-top: 245px;
}

.honor-section::before {
  content: "";
  position: absolute;
  width: 122.92vw;
  height: 61.15vw;
  background-color: var(--secondary);
  left: 50%;
  transform: translateX(-50%);
  top: -245px;
  border-radius: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 56%);
}

.honor-section .row {
  margin-top: -355px;
}

.honor-section .honor-content {
  padding-bottom: 50px;
}

.honor-section .honor-content h2,
.line {
  border-bottom: 1.5px solid var(--blue-slate);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.honor-section .honor-content h2 {
  margin-bottom: 40px;
  display: inline-block;
}

.honor-section .honor-content p {
  font-size: 16px;
}

.honor-section .honor-content p:last-child {
  margin-bottom: 0;
}

.honor-section .honor-content blockquote {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 24px;
  padding: 0 50px 0 22px;
}

.honor-section .honor-content blockquote::before {
  margin-left: -22px;
}

.honor-section .honor-content blockquote::before,
.honor-section .honor-content blockquote::after {
  content: "";
  background-image: url(../images/sefer-torah/quote-icon.svg);
  width: 15px;
  height: 10px;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: super;
}

.honor-section .honor-content blockquote::after {
  transform: scaleX(-1);
  transform: rotate(180deg);
}

/*Honor section css end*/

/*package section start*/
.dedication-section {
  position: relative;
}

.dedication-section:before {
  content: "";
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: rgba(102, 137, 167, 0.2);
  filter: blur(192px);
  position: absolute;
  left: -63px;
  top: 263px;
}

.dedication-section .select-box label {
  color: var(--white);
  display: flex;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--white);
}

div#dedication_summary_section p {
  font-size: 12px;
  margin-bottom: 10px;
}

.dedication-section h2 {
  padding-bottom: 0;
}

.dedication-section .select-box select {
  padding: 5px 20px 5px 5px;
  line-height: 1.5;
  background-position: right 9px center;
  width: 180px;
  font-size: 12px;
}

.checkout-box .select-box {
  flex-direction: column;
  align-items: flex-start;
}

.checkout-box .select-box select {
  width: 100%;
}

.package-main {
  padding-top: 10px;
}

.package-main .package-box {
  background-color: var(--light-gray);
  padding: 30px 20px 20px;
  border-radius: 20px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition: 0.3s;
  height: 100%;
}

.package-main .row {
  row-gap: 30px;
}

.package-main .package-box select {
  width: 100%;
  background-position: right 15px center;
  padding: 9px 35px 9px 15px;
}

.package-main .h3 {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--default-font);
}

.package-main .package-box .droupdown {
  margin-top: 14px;
}

.package-main .package-box h3,
.package-main .package-box .price.h3 {
  line-height: normal;
}

.package-box .price.h3 {
  font-weight: 600;
}

.info-wrap {
  position: relative;
  margin-left: 8px;
}

.info-wrap .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--charcoal-blue);
  color: var(--white);
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
}

.info-wrap .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--charcoal-blue);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.info-wrap .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: var(--charcoal-blue) transparent transparent transparent;
}

.info-wrap:hover .tooltip {
  opacity: 1;
}

.package-main .package-box:hover {
  border: 1px solid var(--blue-slate);
  background-color: #fff;
  border-radius: 10px;
}

.package-main .package-box:hover .droupdown select {
  background-color: #f5f5f5;
}

.package-main .checkout-box {
  background-color: var(--secondary);
  border-radius: 20px;
  padding: 30px 20px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-main .checkout-box h3 {
  color: var(--white);
}

.package-main .checkout-box .checkout-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--white);
}

.package-main .checkout-box .h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 12px;
}

.package-main .checkout-box .single-list {
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--white);
}

.package-main .checkout-box .single-list .pro-info .qty {
  font-size: 14px;
}

.package-main .checkout-box .single-list>div {
  flex: 1;
}

.package-main .checkout-box .btn {
  display: block;
  margin-top: 20px;
}

.package-main .checkout-box .single-list .pro-price .price {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 9px;
}

.package-main .checkout-box .single-list .pro-price button {
  border: 0;
  padding: 4px 5px;
  background-color: var(--light-gray);
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.package-main .checkout-box .single-list .pro-price button:hover {
  background-color: var(--golden);
}

.package-main .checkout-box .single-list .pro-price button:hover img {
  transition: 0.3s;
}

.package-main .checkout-box .single-list .pro-price button:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(360deg) brightness(105%) contrast(101%);
}

.package-main .checkout-box .total .h3,
.package-main .checkout-box .total .total-amount {
  margin-bottom: 0;
  font-weight: 900;
  font-size: 16px;
}

.total {
  margin-bottom: 5px;
}

/* =============================== Toggle Switch (Outside Popup) =============================== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 10px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
  width: 44px;
}

.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked+.slider {
  background-color: var(--secondary, #007bff);
}

.toggle-switch input:checked+.slider:before {
  transform: translateX(20px);
}

.taken .toggle-switch .text,
.package-box.taken h3 {
  color: #bdbdbd;
  text-decoration: line-through;
}

.taken .toggle-switch,
.taken .toggle-switch .slider,
.package-box.taken {
  cursor: not-allowed;
}

/* Hide helper */
.hidden {
  display: none;
}

/* =============================== Edit Link =============================== */
.package-box .edit-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
  padding-left: 10px;
  cursor: pointer;
}

/* =============================== Popup Modal =============================== */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.popup-modal .line h2 {
  padding-bottom: 0;
}

.popup-modal .popup-content {
  position: relative;
  background: var(--white);
  padding: 15px 30px 24px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 600px;
  animation: popupFade 0.25sease;
  text-align: left;
}

.popup-modal .button-bottom {
  border-top: 1.5px solid var(--blue-slate);
  padding-top: 20px;
  margin-top: 20px;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =============================== Popup Header & Buttons =============================== */
.close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  font-size: 40px;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--secondary);
}

/* =============================== Popup Toggles =============================== */
.popup-toggles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 15px;
  max-height: 40vh;
  overflow: auto;
  padding-top: 14px;
}

.popup-toggles {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #ffffff;
}

.popup-toggles label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 14px;
  color: #333;
  cursor: pointer;
  margin-left: 0;
  width: 100%;
}

.popup-toggles label .text {
  padding-left: 50px;
}

/* =============================== Dropdown Section =============================== */
.select-box {
  transition: all 0.25s ease;
  /* flex-direction: column; */
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.select-box.hidden {
  display: none;
}

.select-box select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fafafa;
  font-size: 14px;
  color: #333;
}

/* =============================== Responsive =============================== */
/*package section end*/

/*Image gallery section css start*/
.image-gallery-section::before {
  content: "";
  width: 25.52vw;
  height: 25.52vw;
  border-radius: 100%;
  background: rgba(200, 160, 70, 0.2);
  filter: blur(192px);
  display: inline-block;
  position: absolute;
  right: 0;
  z-index: -1;
}

.image-gallery-section .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.image-gallery-section h2 {
  padding-bottom: 30px;
}

.image-gallery-section .line {
  margin-bottom: 50px;
  padding-bottom: 0;
}

.image-gallery-section .gallery .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gallery-section .gallery .image:nth-child(2) {
  grid-row: span 2 / span 2;
}

/*Image gallery section css end*/

#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.2);
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

#scroll-top:hover,
#scroll-top:focus {
  background-color: var(--golden);
}

#scroll-top img {
  transform: rotate(-45deg);
}

.footer {
  padding: 17px 0;
  background-color: var(--secondary);
}

.footer .copy-right-text {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.63;
}

#dedication_main_wrapper #submit-button {
  display: none;
}

div.sold-out-overlay {
  position: absolute;
  right: 30px;
  top: 10px;
  font-size: 14px;
  color: #974641;
}

#modalOverlayOffline.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  /* shown when active */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.18s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Modal box */
#modalOverlayOffline .modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.12);
  overflow: hidden;
  transform-origin: center;
  animation: popIn 0.18s ease;
}

@keyframes popIn {
  from {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

#modalOverlayOffline {
  display: none;
}

#modalOverlayOffline.active {
  display: flex;
}

#modalOverlayOffline .modal-header {
  padding: 18px 20px;
  border-bottom: 1.5px solid var(--blue-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#modalOverlayOffline .modal-header h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  padding-bottom: 0;
}

#modalOverlayOffline .close-btn {
  position: absolute;
  top: 20px;
  right: 16px;
  background: none;
  border: none;
  font-size: 40px;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

#modalOverlayOffline .modal-body {
  padding: 18px 20px;
}

#modalOverlayOffline .form-row {
  margin-bottom: 12px;
}

#modalOverlayOffline label {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
}

#modalOverlayOffline input:focus {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
  border-color: #7aa7ff;
}

#modalOverlayOffline .modal-footer {
  padding: 14px 20px 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

#modalOverlayOffline .error {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

#modalOverlayOffline .success-message {
  padding: 18px 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: column;
  text-align: center;
}

/* small screens */
@media (max-width: 420px) {
  #modalOverlayOffline .modal {
    border-radius: 10px;
  }

  #modalOverlayOffline .modal-header,
  #modalOverlayOffline .modal-body,
  #modalOverlayOffline .modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
}

#payment_method_section {
  font-size: 14px;
}

#payment_method_section .checkout-titles {
  margin-bottom: 10px;
}

/* swich control */

.switch-control {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-control .switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
  width: 38px;
  height: 20px;
}

.switch-control .switch-slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}

/* ✅ Slider turns ON */
.switch-control input:checked+.switch-slider {
  background-color: #c8a046;
}

/* ✅ Slider moves right when ON */
.switch-control input:checked+.switch-slider:before {
  transform: translateX(17px);
}


/* check-out-pop-up */
.modal-body .chek-out-pop-up-input {
  background: aliceblue;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #7b7b7b;
  opacity: 0.5;
  width: 100%;
}


#dedication_currency_switcher_section .select-box label{
  color: var(--charcoal-blue);
}



.popup-filter label { position: absolute; left: 0; top: -20px; z-index: 9; font-size: 14px; background: #8993a1; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; padding: 2px 12px; color: #fff; }
.popup-filter { position: relative;}