/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */
.pswp {
  --pswp-bg: #f6f5f0;
  --pswp-placeholder-bg: #f6f5f0;
  --pswp-root-z-index: 100000;
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--pswp-root-z-index);
  display: none;
  touch-action: none;
  outline: 0;
  opacity: 0;
  contain: layout style size;
  -webkit-tap-highlight-color: transparent;
}
.pswp:focus {
  outline: 0;
}
.pswp * {
  box-sizing: border-box;
}
.pswp img {
  max-width: none;
}
.pswp--open {
  display: block;
}
.pswp--zoom-allowed .pswp__img {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.pswp--zoomed-in .pswp__img {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}
.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}
.pswp--zoomed-in .pswp--zoom-allowed .pswp__img {
  cursor: -webkit-zoom-out;
  cursor: -moz-zoom-out;
  cursor: zoom-out;
}
.pswp__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--pswp-bg);
  opacity: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity;
}
.pswp__scroll-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pswp__container {
  touch-action: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.pswp__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
}
.pswp__zoom-wrap {
  position: absolute;
  width: 100%;
  transform-origin: left top;
  transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
}
.pswp--animated .pswp__bg,
.pswp--animated .pswp__zoom-wrap {
  transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1),
    opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}
.pswp__ui {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
}
.pswp--open .pswp__ui {
  opacity: 1;
}
.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  z-index: 2000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content:space-between;
}
.pswp__counter {
  font-size: 14px;
  line-height: 44px;
  color: var(--pswp-icon-color);
  height: 44px;
  padding: 0 15px;
  opacity: 0.85;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 20px;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 3000;
}
.pswp__button {
  position: relative;
  display: block;
  width: 50px;
  height: 60px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: opacity 0.2s;
  box-shadow: none;
  opacity: 0.85;
}
.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  margin: 0;
  outline: 0;
  opacity: 1;
  cursor: pointer;
  background: 0 0;
  border: 0;
  box-shadow: none;
}
.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}
.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color);
}
.pswp__icn {
  position: absolute;

  width: 32px;
  height: 32px;
}
.pswp__icn--arrow {
  top: 18px;
  left: 15px;
  width: 20px;
  height: 24px;
}
.pswp__button--close {
  right: 20px;
  top: 20px;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 50%;
  border: 2px solid #fff;
  width: 44px;
  height: 44px;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pswp__button--close:hover {
  background: #fff !important;
  border-color: #cd865c;
  color: #cd865c;
  transform: scale(1.1);
}
.pswp__button--arrow {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pswp__button--arrow:hover {
  background: rgba(0, 0, 0, 0.7) !important;
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}
.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}
.pswp__button--arrow--prev {
  left: 20px;
}
.pswp__button--arrow--next {
  right: 20px;
}

/* Create custom arrow icons */
.pswp__button--arrow .pswp__icn {
  display: none; /* Hide default icons */
}

.pswp__button--arrow:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
}

/* Left arrow */
.pswp__button--arrow--prev:before {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #ffffff;
  margin-left: -2px;
}

/* Right arrow */
.pswp__button--arrow--next:before {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
  margin-right: -2px;
}
.pswp__button--zoom {
  display: none;
  right: 74px;
  top: 20px;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 50%;
  border: 2px solid #fff;
  width: 44px;
  height: 44px;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pswp__button--zoom:hover {
  background: #fff !important;
  border-color: #cd865c;
  color: #cd865c;
  transform: scale(1.1);
}
.pswp--zoom-allowed .pswp__button--zoom {
  display: flex;
}
.pswp--zoomed-in .pswp__zoom-wrap {
.pswp__button--arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 12px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pswp__button--arrow:hover {
  background: #fff !important;
  border-color: #cd865c;
  color: #cd865c;
  transform: scale(1.1);
}
.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}
.pswp__button--arrow--prev {
  left: 20px;
}
.pswp__button--arrow--next {
  right: 20px;
}
.pswp__button--arrow .pswp__icn {
  display: none;
}
.pswp__button--arrow:after {
  content: '';
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
}
.pswp__button--arrow--prev:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23cd865c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>');
}
.pswp__button--arrow--next:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23cd865c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 6 15 12 9 18"/></svg>');
}
  }
}
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}
.pswp--touch .pswp__button--arrow--prev,
.pswp--touch .pswp__button--arrow--next {
  visibility: visible;
}

/* Custom background and image styling */
.pswp__img {
  background-color: #f6f5f0;
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
  border-radius: 8px;
}

.pswp__zoom-wrap {
  background-color: transparent;
}

/* Ensure images center properly with new background */
.pswp__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffdbc6 !important;
}
