.mk-box-shadow{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
body{
    background:url(/mk_greeting_card/static/src/img/bgR.png) left top repeat-x #f9f9f9;
    height:100%;
    margin:0;
    font-family: "Droid Arabic Kufi", serif;
    padding: 20px;
    overflow-y: auto;
    min-height: 100vh;
    }
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e6e6e6;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner_6kVp {
  transform-origin: center;
  animation: spinner_irSm .75s infinite linear;
}

@keyframes spinner_irSm {
  100% {
    transform: rotate(360deg);
  }
}

.blur {
  filter: blur(1px); /* Adjusted for slight blur effect */
}
.button-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  cursor: pointer;
  scrollbar-width: thin;
  scrollbar-color: darkgrey lightgrey;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 0;
}

/* For Webkit browsers like Chrome and Safari */
.button-container::-webkit-scrollbar {
  height: 8px;
}

.button-container::-webkit-scrollbar-track {
  background: lightgrey;
}

.button-container::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  border-radius: 10px; /* roundness للسكرول */
  border: 2px solid lightgrey;
}

#buttonContainer .occasionButton {
  margin: 8px;
  text-align: center;
}
.btn-primary {
  background-color: #277f66 !important;
  border: 2px solid #277f66;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  margin: 10px;
  white-space: nowrap; /* منع text wrap */
  flex-shrink: 0; /* منع التقلص */
}

.btn-outline-primary {
  color: #277f66;
  border-color: #277f66;
  --bs-btn-active-bg: #277f66;
  --bs-btn-active-border-color: #277f66;
}

.btn-outline-primary:hover {
  color: #ffcf86 !important;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-outline-primary:focus {
  color: #ffcf86 !important;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-outline-primary:active {
  color: #ffcf86 !important;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-outline-primary.active {
  color: #ffcf86 !important;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}


.btn-primary:hover {
  color: #ffcf86 !important;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-primary:focus {
  color: #fff;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-primary:active {
  color: #fff;
  background-color: #277f66;
  border-color: #277f66;
}
.btn-primary.active {
  color: #fff;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn-primary:disabled {
  color: #fff;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
  cursor: not-allowed;
  opacity: 0.65;
}
.occasionButton {
  /* color: #fff; */
  /* background-color: darkgreen;
  border: 2px solid darkgreen; */

}

.swiper-container {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.btn-primary:hover {
  color: #ffcf86;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}
.btn-primary:active {
  color: #ffcf86;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}
.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%; /* وضعها وسط افقيا */
  transform: translateY(50%); /* وضعها وسط افقيا */
  width: auto;
  text-align: center;
  z-index: 10; /* نقاط الترقيم فوق العناصر الاخرى */
}

.image-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 7.5px solid transparent;
  pointer-events: none;
  transition: border-color 0.000001s ease-in-out;
}
.image-border.active {
  border-color: darkgreen;
}
.swiper-pagination-bullet-active {
  background-color: darkgreen !important;
}
.occasions {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.btn-success {
  background-color: #277f66 !important;
  border-color: #277f66;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap; /* منع text wrap */
  flex-shrink: 0; /* منع التقلص */
  --bs-btn-border-width: 0;
}

.btn-success:hover {
  color: #ffcf86;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}
.btn-success:active {
  color: #ffcf86;
  background-color: #277f66 !important;
  border-color: #277f66 !important;
}

.btn.active {
    border-color: #2c8068;
    background-color: #2c8068;
    color: #fff !important;
}
.border-rounded-10 {
    border-radius: 10px!important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}
.btn {
    box-shadow: none !important;
    border: 1px solid #dee2e6;
    border-top-color: rgb(222, 226, 230);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgb(222, 226, 230);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgb(222, 226, 230);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgb(222, 226, 230);
    border-left-style: solid;
    border-left-width: 1px;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    touch-action: manipulation;
    font-size: 1.3rem !important;
}
.card-deck {
        margin: 0 auto; /* Added */
        float: none; /* Added */
        margin-bottom: 10px; /* Added */
}

.btn-primary-blue {
    background: #2c8068;
    color: #fff;
}


.small, small {
    font-size: 1em;
}

small {
    font-size: 1em;
}
form, .mk-white-bg{
    background-color: #fff !important;

}