@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro:300,400,500");

html,
body {
  margin: 0;
  padding: 0;
}

/* breadcrumb */
.breadcrumb-area {
  max-width: 1350px;
  margin: 0 auto;
}
.options-breadcrumb{
	font-size: 17px;
    font-weight: 700;
    line-height: 17px;
	margin-bottom: 20px;
}
.options-breadcrumb>li {
    display: inline-block;
}

ul.filters {
  display: block;
  width: 100%;
  margin: 0;
  padding: 30px 0;
  line-height: 1;
}

ul.filters>li {
  list-style: none;
  display: inline-block;
}

ul.filters>li>a {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 5px 20px;
  font-weight: 800;
  font-size: 20px;
  background-color: #e6e9ed;
  border-radius: 39px;
  margin: 10px;
}

ul.filters>li>a:hover {
  border-radius: 39px;
  color: white;
  background: #f73f61 !important;
}

ul.filters>li.active>a {
  color: #fff;
  /* background: linear-gradient(to right, #FF4B2B, #FF416C); */
  background: #f73f61;
  border-radius: 39px;
}

.filters.filters-tag {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  line-height: 1;
  text-align: center;
}

ul.filters.filters-tag>li>a {
  display: block;
  color: #434e5e;
  border-radius: 0.25rem;
  padding: 0.3rem 0.6rem;
}

ul.filters.filters-tag>li.active>a {
  color: #fff;
  background-color: rgba(252, 41, 74, 0.8);
}

.filters-tag {
  font-size: 0.9rem;
}

.project {
  position: relative;
  margin-bottom: 50px;
  color: #000;
  border-radius: 15px;
  border: 1px solid #eee;
  background-color: #fff;
  box-shadow: 1px 1px 1.5px rgba(0, 0, 0, 0.075);
}

.project-head {
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #fff;
  -webkit-transition: ease-in-out 0.2s;
  -moz-transition: ease-in-out 0.2s;
  -ms-transition: ease-in-out 0.2s;
  transition: ease-in-out 0.2s;
}

.project-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff1a;
  flex-direction: column;
  box-sizing: border-box;
  padding: 30px;
  -webkit-transition: ease-in-out 0.2s;
  -moz-transition: ease-in-out 0.2s;
  -ms-transition: ease-in-out 0.2s;
  transition: ease-in-out 0.2s;
  background-image: url('https://www.picaboodev.com/wp-content/uploads/Test-ThemeImg-1.jpg');
  background-size: cover;
  background-position: center;
}

.project-body {
  padding-top: 10px;
  padding-bottom: 10px;
}

.title {
  margin: 10px 0 10px 0;
  color: #000000;
}

h4.title {
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.btn {
  padding: 12px 12px;
  line-height: 1;
}

.project-btn {
  margin-bottom: -25px;
  font-size: 1.5rem;
  background-color: #fff;
  color: #222;
  border: 1px solid #eee;
  border-radius: 0;
  box-shadow: 1px 1px 1.5px rgba(0, 0, 0, 0.075);
  border-radius: 15px;
}

.project-btn:hover {
  /* background: linear-gradient(to right, #FF4B2B, #FF416C); */
  background: #f73f61;
  color: #fff;
}

.product-type-btn {
  margin-top: 10px;
  cursor: pointer;
  background: #ebebeb;
  color: #000;
  border: none;
  padding: 12px 40px;
  border-radius: 39px;
}

.product-type-btn:hover {
  /* background: linear-gradient(45deg, #4c5d59 0%, #5ca981 75%) !important; */
  background: #000000;
  text-decoration: none !important;
  color: white;
}

.ori-icon-lan {
  width: 24px;
  margin: 5px;
}

.ori-icon-sq {
  width: 22px;
  margin: 5px;
}

.photo-card {
  display: inline-block;
  width: 100px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-card p {
  margin: 5px 0px !important;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

.photo-card:hover {
  transform: translateY(-4px);
}

.product-type .selected {
  color: #fff;
  /* background: #FF4B2B !important; */
  background: #f73f61  !important;
}

.product-type .active {
  color: #fff;
  background: #f73f61  !important;
}

.product-type {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  gap: 20px;
}

/***** Orientation-Button******/
.center {
  justify-content: center;
}

.orientation-section {
  .button-container {
    display: flex;
    gap: 20px;
  }

  .btn {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    width: 50px;
  }

  .btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .btn span {
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .btn:hover {
    width: 145px;
  }

  .btn:hover span {
    opacity: 1;
  }

  .btn.landscape {
    /* background: linear-gradient(90deg, #6a11cb, #2575fc) !important; */
    background: linear-gradient(45deg, #4c5d59 0%, #5ca981 75%) !important;
    color: white;
  }

  .btn.square {
    background: #f73f61;
    color: white;
  }

  .btn.square:hover {
    background: linear-gradient(45deg, #4c5d59 0%, #5ca981 75%) !important;
    color: white;
  }
  .btn.active:focus {
    outline: 0px;
  }

  .icon-box {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

.show-more .hidden {
  display: inline-block !important;
}

.see-more-btn {
  margin-top: 10px;
  cursor: pointer;
  /* background: linear-gradient(45deg, #4c5d59 0%, #5ca981 75%) !important; */
  background: #000000;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 39px;
  margin-bottom: 10px;
}

.see-more-btn:hover {
  background: #f73f61 !important;
  color: white;
}

/* Modal CSS */
.preview-modal .photobook-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
}

.preview-modal .photobook-modal {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.preview-modal .photobook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview-modal .close-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.preview-modal .photobook-viewer {
  display: flex;
  position: relative;
  user-select: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.preview-modal .photobook-viewer::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: #ccc;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
}

.preview-modal .page {
  width: 50%;
  padding: 0; 
}

.preview-modal .page img {
  width: 100%;
  display: block;
  border-radius: 0; 
  box-shadow: none;
}

.preview-modal .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 10;
  border-radius: 6px;
}

.preview-modal .nav-arrow.left {
  left: 5px;
}

.preview-modal .nav-arrow.right {
  right: 5px;
}

.preview-modal .tap-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

.preview-modal .photobook-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

.preview-modal .primary-btn,
.preview-modal .secondary-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.preview-modal .primary-btn {
  background-color: #9c27b0;
  color: white;
}

.preview-modal .secondary-btn {
  background-color: #f1f1f1;
}

/*preview modal */
.preview-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
}

.preview-modal__container {
  background: #f0f0f0;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.preview-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 10px 16px;
  color: #000000;
}
.preview-modal__header h2 {
  color: #000000;
  font-size: 32px;
  flex: 1;
}

.preview-modal__close {
  font-size: 2.5rem;
  background: none;
  border: 2.5px solid;
  cursor: pointer;
  padding: 0px 14px 4px 14px;
  border-radius: 39px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-modal__close:hover{
  background: #000 !important;
  border-radius: 39px;
  color: #fff;
  border: 0px solid;
}

.preview-modal__viewer {
  position: relative;
  text-align: center;
  user-select: none;
}

.preview-modal__spread {
  display: flex;
  justify-content: center;
  gap: 0; 
}

.preview-modal__page {
  max-width: 100%;
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.preview-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}

.preview-modal__arrow.left {
  left: 10px;
}

.preview-modal__arrow.right {
  right: 10px;
}

.preview-modal__note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

.preview-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

.preview-modal__btn {
  padding: 10px 60px;
  border-radius: 39px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.preview-modal__btn.primary {
  background: #000000;
  color: white;
}

.preview-modal__btn.secondary {
  background-color: #f73f61;
  color: #ffffff;
}
.preview-modal__btn.secondary:hover {
  background: #000000;
  color: white;
  text-decoration: none;
}
.preview-modal__btn.primary:hover{
  background-color: #f73f61;
  color: #ffffff;
  text-decoration: none;
}

/*For Mobile Responsive */
@media (max-width: 768px) {
  .breadcrumb-area{
    margin-left: 20px;
    margin-top: 10px;
  }

  .button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* spacing between buttons */
  }
  .product-type-btn {
    padding: 10px 23px;
  }
  .ml-29 {
    margin-left: 29px;
  }

  /* .preview-modal__header {
    width: 85%;
  } */

  .preview-modal__arrow.left {
    width: 8% !important;
    padding: 0px;
  }

  .preview-modal__arrow.right {
    width: 8% !important;
    padding: 0px;
  }
  .preview-modal__close{
    width: 32px !important;
    height: 32px !important;
    font-size: 2rem;
  }
  .preview-modal__header h2 {
    font-size: 18px;
  }
  .btn.landscape {
    width: 11% !important;
  }

  .btn.square {
    width: 11% !important;
  }
  .orientation-section {
    .btn:hover {
        width: 35% !important;
    }
  }  
  .preview-modal__btn {
    padding: 4px 20px;
  }
  .see-more-btn { 
    padding: 0px;
  }

}