/*
Theme Name: astra book child theme
Template: astra
Author: Giaxnhs
Description: Child theme for Astra
Version: 1.0
*/


@import url("../astra/style.css");

#product-search-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

/* Main container for the product search form */

/* Style for the search results dropdown */
#search-results {
  display: none;
  margin-top: 10px;
  max-height: 250px;
  max-width: 400px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  overflow: hidden;
  flex-direction: column;
  margin: 0 auto;
}

#search-results.show {
  display: block;
  opacity: 1;
}

/* Style each product result in the dropdown */
.product-result {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: left;
  font-size: 16px;
  width: 100%;
}

.product-result:hover {
  background-color: #f1f1f1;
  transform: translateX(5px);
}

/* General form styles */
#product-details-form {
  display: block;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  margin-top: 25px;
  font-family: Arial, sans-serif;
}

#product-details-form.show {
  display: block;
  opacity: 1;
}

#product-details-form label {
  font-weight: bold;
  margin-top: 15px;
  display: block;
  font-size: 1rem;
}

#product-details-form input,
#product-details-form textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

#product-details-form input[readonly],
#product-details-form textarea[readonly] {
  background-color: #f9f9f9;
}

/* Adjust the description and short description textarea */
#product-details-form textarea {
  height: 150px;
  resize: vertical;
}

/* Image styling */
#product-details-form img {
  display: block;
  width: 100%;
  max-width: 350px;
  margin: 15px 0;
  border-radius: 4px;
  object-fit: cover;
}

/* Gallery styles */
#gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

#gallery-images img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#gallery-images img:hover {
  transform: scale(1.1);
}

/* Submit button style */
#product-details-form input[type="submit"] {
  background-color: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 12px 20px;
  border-radius: 4px;
  margin-top: 15px;
  width: 100%;
  transition: background-color 0.3s ease;
}

#product-details-form input[type="submit"]:hover {
  background-color: #005bb5;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  #product-details-form {
    padding: 15px;
  }

  #product-details-form input,
  #product-details-form textarea {
    font-size: 0.9rem;
  }

  #gallery-images img {
    width: 80px;
    height: 80px;
  }
}

.woocommerce-ordering {
  display: none;
}

.dropdown-check-list {
  display: inline-block;
}

.dropdown-check-list .anchor {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding: 5px 50px 5px 10px;
  border: 1px solid #ccc;
}

.dropdown-check-list .anchor:after {
  position: absolute;
  content: "";
  border-left: 2px solid black;
  border-top: 2px solid black;
  padding: 5px;
  right: 10px;
  top: 20%;
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.dropdown-check-list .anchor:active:after {
  right: 8px;
  top: 21%;
}

.dropdown-check-list ul.items {
  padding: 2px;
  display: none;
  margin: 0;
  border: 1px solid #ccc;
  border-top: none;
}

.dropdown-check-list ul.items li {
  list-style: none;
}

.dropdown-check-list .anchor {
  color: black;
}

.dropdown-check-list.visible .items {
  display: block;
}

.items > li {
  color: black;
}


.wcps-items-title{
	display:flex;
	justify-content:center;
}
.woocommerce-tabs *,
.wcps-items-title > a{
	color: white !important;
}
.splide__arrow {
	background-color: transparent !important;
}
.splide__pagination,
.wcps-items-cart{
	display:none
}

.zoomImg{
	background-color: black !important;
}

*{
	font-family: cardo;
}
.woocommerce-loop-category__title{
	background-color:black !important;
}
.woocommerce-loop-category__title > mark{
	color: grey;	
}

button.is-active{
background-color:red !important;	
}