/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #FFFFFF;
  --primary-color: #247cff;
  --section-bg-color: #F9F9F9;
  --dark-color: #000000;
  --title-color: #565758;
  --p-color: #717275;
  --border-color: #eaeaea;

  --body-font-family: 'Caliber', sans-serif;

  --h1-font-size: 48px;
  --h2-font-size: 28px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 20px;
  --p-font-size: 18px;
  --menu-font-size: 16px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  background: var(--white-color);
  font-family: var(--body-font-family);
  position: relative;
  padding-top: 94px;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

h1,
h2 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
  color: #993164
}

h2 {
  font-size: var(--h2-font-size);

}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);

}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;

}

a:hover {
  color: var(--primary-color);
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.image {
  width: 25%;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  padding-top: 0rem;
}

.hero .container {
  position: relative;
  overflow: hidden;
  height: 50%;
}


.heroText {
  background: var(--white-color);
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  padding: 10%;
  width: 50%;
}

.contact-phone {
  font-weight: var(--font-weight-semibold);
}

/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-circle {
  border-radius: 100%;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-text {
  font-size: var(--h6-font-size);
  line-height: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 0;
}

.featured-number {
  color: var(--primary-color);
  font-size: 3rem;
  margin: 0 10px;
}

.icon {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  width: 60%;
}

.site-footer {
  background: var(--section-bg-color);

}

.copyright-text {
  font-size: var(--menu-font-size);
}

.btn {
  background: #2f97c3
}
.btn-danger{
  background: #d9534f;
}
.btn-success{
  background: #5cb85c;
}
/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  transition: all 0.3s;
}

.social-icon:hover li:not(:hover) {
  opacity: 0.65;
}

.social-icon-link {
  font-size: var(--p-font-size);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

center {
  padding-right: 150px;
}


/*---------------------------------------
  REVIEWS               
-----------------------------------------*/
h2 {
  color: #000;
  position: relative;
  margin: 0 0 50px 0;
  text-transform: uppercase;
  display: inline-block;
}


.carousel {
  margin: 50px auto;
}

.carousel .carousel-item {
  color: #999;
  overflow: hidden;
  min-height: 120px;
  font-size: 13px;
}

.carousel .media {
  position: relative;
  padding: 0 0 0 20px;
  margin-left: 20px;
}

.carousel .media img {
  width: 75px;
  height: 75px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
}

.carousel .testimonial {
  color: black;
  position: relative;
  background: #993461;
  padding: 15px;
  margin: 0 0 20px 20px;
}

.carousel .testimonial::before,
.carousel .testimonial::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -20px;
}

.carousel .testimonial::before {
  width: 20px;
  height: 20px;
  background: #993461;
  box-shadow: inset 12px 0 13px rgba(0, 0, 0, 0.5);
}

.carousel .testimonial::after {
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: #fff;
  border-left-color: #fff;
}

.carousel .carousel-item .row>div:first-child .testimonial {
  margin: 0 20px 20px 0;
}

.carousel .carousel-item .row>div:first-child .media {
  margin-left: 0;
}

.carousel .testimonial p {
  text-indent: 40px;
  line-height: 21px;
  margin: 0;
  color: white;
  font-weight: bold;
}

.carousel .testimonial p::before {
  content: "\201D";
  font-family: Caliber;
  color: #fff;
  font-weight: bold;
  font-size: 68px;
  line-height: 70px;
  position: absolute;
  left: -25px;
  top: 0;
}

.carousel .overview {
  padding: 3px 0 0 15px;
}

.carousel .overview .details {
  padding: 5px 0 8px;
}

.carousel .overview b {
  text-transform: uppercase;
  color: #2f97c3;
}

.carousel-control-prev,
.carousel-control-next {
  width: 30px;
  height: 30px;
  background: #993461;
  text-shadow: none;
  top: 4px;
}

.carousel-control-prev i,
.carousel-control-next i {
  font-size: 16px;
}

.carousel-control-prev {
  left: auto;
  right: 40px;
}

.carousel-control-next {
  left: auto;
}

.carousel-indicators {
  bottom: -80px;
}

.carousel-indicators li,
.carousel-indicators li.active {
  width: 17px;
  height: 17px;
  border-radius: 0;
  margin: 1px 5px;
  box-sizing: border-box;
}

.carousel-indicators li {
  background: #e2e2e2;
  border: 4px solid #fff;
}

.carousel-indicators li.active {
  color: #fff;
  background: #993164;
  border: 5px double;
}

.star-rating li {
  padding: 0 2px;
}

.star-rating i {
  font-size: 14px;
  color: #FF9529;
}

/*---------------------------------------
  BUY NOW              
-----------------------------------------*/
.product_image {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  width: 100%; /* Make the image take the full width of the container */
  height: auto; /* Automatically adjust the height to maintain aspect ratio */
  display: block;
  margin: 0 auto; /* Center the image */
}

.product_container {
  text-align: center;
  margin-bottom: 20px; /* Add space between the text and the image */
}

.product_name, .product_price {
  margin-top: 10px; /* Add spacing between the image and text */
  display: block;
  font-size: 1.1rem; /* Adjust text size for better readability */
}

/* Responsive Design */
@media (max-width: 768px) {
  .product_image {
      width: 90%; /* Slightly reduce the image size on smaller screens */
  }

  .product_name, .product_price {
      font-size: 1rem; /* Adjust text size on smaller screens */
  }
}

@media (max-width: 480px) {
  .product_image {
      width: 100%; /* Full width on extra small screens */
  }

  .product_name, .product_price {
      font-size: 0.9rem; /* Further adjust text size on small screens */
  }
}


.image-container {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  width: 100%;

}

.details-container {
  flex: 1;
  margin: 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-container h1 {
  margin: 0;
  font-size: 20px;
  color: #993164;
}

.details-container h6 {
  margin: 0;
  font-size: 18px;
  color: #2f97c3;
}


/* Cart Section Styling */
.col-md-4 {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.form-group label {
  font-weight: bold;

}

.form-control {
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Spacing Adjustments */
.text-right {
  text-align: right;
  margin-top: 20px;
}

/* Styling for the Order Summary Table */
.table {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.table thead {
  background-color: #993461;
  color: #fff;
}

.table th,
.table td {
  padding: 15px;
  text-align: center;
}

.table tr:last-child td {
  font-weight: bold;
  color: #2f97c3;
}

/*---------------------------------
Modal
--------------------------------*/

/* Modal content */
.modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-width: 600px;
  /* Ensure responsiveness */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  /* Position relative to position the close button */
  animation: fadeIn 0.3s;
}


/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}