.text-shadow {
  text-shadow: 2px 4px 10px rgba(0, 0, 0, .5);
}

.text-shadow-light {
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.9);
}

.text-gray {
  color: rgb(36, 36, 36);
}

body {
  background-color: #f8f8f8;
}

.fs-2c {
  font-size: calc(0.65rem + .9vw) !important;
}

@media (max-width: 768px) {
  .fs-2c {
    font-size: calc(0.90rem + .3vw) !important;
  }
}

.fs-7 {
  font-size: calc(.75rem + 1vw);
}

.elegant-ff {
  font-size: 2.5rem;
  font-family: Tangerine, serif;
  font-weight: 700;
  font-style: normal;
  display: inline-block;
  vertical-align: middle;
}

.font-logo {
  font-family: "Wix Madefor Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: bold;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.tangerine-bold {
  font-family: Tangerine, serif;
  font-weight: 700;
  font-style: normal;
}

.wix-madefor-display {
  font-family: "Wix Madefor Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.header.absolute-light .header-menu-wrapper .header-menu .m-item .m-link.button-outline-dark {
  border-color: #fff;
}

.table-transparent {
  --bs-table-bg: transparent;
}

.m-link-button {
  line-height: normal !important;
  margin-bottom: -.75rem !important;
}

.scroll-down-icon {
  position: fixed;
  bottom: 5rem;
  left: calc(50% - 1rem);
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 9999;
  text-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

@keyframes bounce {

  0%,
  100%,
  20%,
  50%,
  80% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.scroll-down-icon a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}

@media (max-width:768px) {
  .scroll-down-icon {
    bottom: 6rem;
  }

  .scroll-down-icon a {
    font-size: 2rem;
  }
}

.header.absolute-light .menu-shadow {
  -webkit-filter: drop-shadow(0 0 3px #222);
  filter: drop-shadow(0 0 3px #222);
}

.owl-carousel {
  display: block;
}

.owl-carousel .slide-owl-wrap:not(:first-child) {
  display: none;
}

.owl-carousel img {
  width: 100%;
}

@media (max-width: 768px) {
  .owl-item .section-fullscreen {
    position: relative;
    width: 100%;
    height: 33vh !important;
  }
}

.owl-item .section-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh !important;
}

.no-dash::after {
  content: none !important;
}

@media (min-width: 768px) {
  .bl-lg {
    border-left: 1px solid #000;
  }

  .br-lg {
    border-right: 1px solid #000;
  }
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.alert-danger {
  background-color: #fff;
  color: #d9534f;
  border: 1px solid #d9534f;
}

.alert-success {
  background-color: #fff;
  color: #4a8a4a;
  border: 1px solid #5cb85c;
}

.alert-info {
  background-color: #fff;
  color: #5bc0de;
  border: 1px solid #5bc0de;
}

.alert-warning {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.alert .close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.btn-danger {
  background-color: #d9534f;
  color: #fff;
  border: 1px solid #d9534f;
  padding: .625em 1.1em;
  border-radius: .25em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #c9302c;
  border-color: #ac2925;
  color: #fff;
}

.btn-dark {
  background-color: #1f2933;
  color: #ffffff;
  border: 1px solid #1f2933;
  padding: .625em 1.1em;
  border-radius: .25em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #0f1720;
  border-color: #0f1720;
  color: #fff;
  outline: none;
  box-shadow: 0 6px 18px rgba(15, 23, 32, 0.15);
}

.btn-dark:active {
  background-color: #0a0e12;
  border-color: #050607;
  transform: translateY(1px);
  box-shadow: none;
}

.btn-dark:disabled,
.btn-dark.disabled {
  background-color: #6b7280;
  border-color: #6b7280;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.9;
}

.header.dark .header-menu-wrapper .header-menu .m-item .m-link.button-outline-dark {
  border-color: white;
}

nav .nav-link.active {
  color: #fff !important;
  background-color: 000 !important;
}

.header-menu .m-item .m-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.noto-serif-jp-600 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

#checkoutBtn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background-color: gray;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.active {
  right: 0;
}

.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.cart-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
}

.cart-header {
  flex-shrink: 0;
  background: #f8f9fa !important;
  border-bottom: 2px solid #dee2e6 !important;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  background: white;
}

.cart-footer {
  flex-shrink: 0;
  background: #f8f9fa !important;
  border-top: 2px solid #dee2e6 !important;
}

/* Cart Item Styles - matching customer page box-shadow styling */
.cart-item {
  transition: all 0.2s ease;
  background: white;
}

.cart-item:hover {
  background: #f8f9fa;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-remove {
  background: none;
  border: 1px solid #dc3545;
  color: #dc3545;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.cart-item-remove:hover {
  background: #dc3545;
  color: white;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.quantity-controls .btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  min-width: 28px;
}

.quantity-controls .btn:not(.disabled):not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity-controls .btn.disabled,
.quantity-controls .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Stock warning styling */
.text-warning.small {
  font-size: 0.7rem !important;
  font-weight: 500;
}

/* Empty cart styling */
.empty-cart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
}

/* Cart summary styling */
.cart-summary {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

/* Button styling to match customer pages */
.cart-actions .btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.cart-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-actions .btn-primary {
  background: #212529;
  border-color: #212529;
}

.cart-actions .btn-primary:hover {
  background: #495057;
  border-color: #495057;
}

.cart-actions .btn-outline-primary {
  color: #212529;
  border-color: #212529;
}

.cart-actions .btn-outline-primary:hover {
  background: #212529;
  border-color: #212529;
}

/* Gift badge styling */
.badge.bg-success {
  background: #10b981 !important;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }

  .cart-item-image {
    width: 50px;
    height: 50px;
  }

  .cart-actions .btn {
    font-size: 0.875rem;
    padding: 0.6rem 0.8rem;
  }
}

/* Loading states */
.cart-item.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.cart-item.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Cart item update animation */
.cart-item.updating {
  background-color: rgba(0, 123, 255, 0.1);
  transition: background-color 0.3s ease;
}

.cart-item.updating .quantity-controls .btn {
  opacity: 0.6;
}

/* Animation for new items */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cart-item.new-item {
  animation: slideInFromRight 0.3s ease-out;
}

/* Scrollbar styling for cart body */
.cart-body::-webkit-scrollbar {
  width: 6px;
}

.cart-body::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.cart-body::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.cart-body::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.text-justify {
  text-align: justify !important;
}

.fs-3c {
  font-size: calc(1rem + 0.35vw) !important;
}

.event-popup {
  max-width: 95vw !important;
}

.event-slide-no-image {
  padding: 40px 20px;
  text-align: center;
  background: white;
  color: #333;
  border-radius: 10px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-slide-no-image h4 {
  margin-bottom: 15px;
  font-weight: bold;
  color: #333;
}

.event-slide-no-image .subtitle {
  margin-bottom: 10px;
  color: #666;
  font-style: italic;
}

.event-slide-no-image .date {
  margin-bottom: 15px;
  color: #666;
}

.event-slide-no-image .btn {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.event-slide-no-image .btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.event-popup-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Event Photos Masonry Styles */
.event-photo-masonry {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-photo-masonry:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.event-photo-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.event-photo-link:hover {
  color: inherit;
  text-decoration: none !important;
}

.event-photo-masonry img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.event-photo-masonry:hover img {
  transform: scale(1.05);
}

.event-masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-photo-masonry:hover .event-masonry-overlay {
  opacity: 1;
}

.event-masonry-info h6 {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.event-masonry-info p {
  font-size: 0.8rem;
  opacity: 0.9;
}