/*
Theme Name: CoachMallWomens_v2
Theme URI: https://coachmallwomens.com
Author: Virak
Author URI: https://virak.net
Description: We build all designs with love and the hope that our customers will succeed in their work.
Requires at least: 6.2
Tested up to: 6.2.2
Requires PHP: 7.4
Version: 1.0
License: © 2023 CoachMallWomens. All rights reserved.
*/

@import url("./assets/css/__woocommerce.css");

/* fonts */
@font-face {
  font-family: "Shabnam-Light";
  font-weight: normal;
  font-style: normal;
  src: url("./assets/fonts/Shabnam-Light.eot") format("eot");
  src: url("./assets/fonts/Shabnam-Light.woff") format("woff");
  src: url("./assets/fonts/Shabnam-Light.woff2") format("woff2");
}

body,
button {
  font-family: "Shabnam-Light";
}

* {
  font-family: "Shabnam-Light";
}

/*  PREVENT TEXT SIZE SCALLING */

/* iPhone, portrait & landscape. */
@media all and (max-device-width: 480px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button {
  border: 0;
}

button:focus {
  box-shadow: none !important;
}

/* Typography */
html {
  font-size: 62.5%;
}

body {
  background: #f5f5f5;
  font-size: 1.3rem;
}

.fs--primary {
  font-size: 1.3rem;
}

.fs--secondary {
  font-size: 1rem;
}

h1,
h2 {
  font-size: 2.4rem !important;
  line-height: 40px;
}

p,
span {
  line-height: 24px;
  font-size: 1.5rem !important;
}

h4 {
  font-size: 1.8rem !important;
  margin-bottom: 8px;
}

/* Theme Colors */
.text--color {
  color: #dc9787;
}

.text--light {
  color: #8b8b8b;
}

.bg--primary {
  background: #dc9787;
}

.bg--secondary {
  background: #ebc2b8;
}

.radius {
  border-radius: 8px;
}

.radius--img {
  border-radius: 6px;
}

.box--shadow {
  box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.06);
}

.btn--primary {
  background: #dc9787;
  color: #fff;
  text-align: center;
  padding: 8px 21px;
  border-radius: 8px;
}

/* transitions */
a:hover {
  color: #dc9787 !important;
  font-weight: bold;
}

* {
  transition: all 0.3s ease-in;
}

.categories article:hover,
article.product__post:hover {
  cursor: pointer;
  transform: scale(0.9);
  box-shadow: 1px 1px 8px #b1b1b1;
}

.categories article:hover > a figcaption span {
  color: #000 !important;
}

.btn__more button:hover {
  background-color: #fff;
  color: #000;
}

.offcanvas-footer a.btn:hover {
  background: #ffbfbf;
}

.profile__icons a:hover {
  color: #dc9787 !important;
}

/* -----------navbar menu---------- */
nav.menu {
  z-index: 99;
  background: #fff;
  margin-top: 15px;
  height: 60px;
  top: 15px;
}

.cart__counter {
  position: absolute;
  bottom: -30%;
  right: 0;
  display: flex;
  padding-top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  justify-content: center;
  align-items: center;
  border-radius: 1px;
}

#offcanvasMenu {
  width: 80%;
}

.offcanvas-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.offcanvas--mark,
.offcanvas--mark span {
  font-size: 1.8rem !important;
}

.offcanvas-body--title {
  font-size: 1.8rem;
}

/* -----------search box---------- */
#searchBox {
  position: fixed;
  width: 100%;
  z-index: 2;
  bottom: 15px;
  right: 0;
  min-height: 52px;
}

.searchBox__wrap {
  background: #fff;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-left: 2rem;
  gap: 2rem;
}

.searchBox__wrap input {
  width: 100%;
  font-size: 1.6rem;
  padding: 1rem 2rem 1rem 0;
  border: none;
}

.searchBox__wrap input:focus-visible {
  outline: none;
}

.searchBox__wrap label:hover {
  cursor: pointer;
}

/* -----------landpage---------- */
header.landpage {
  overflow: hidden;
  padding: 0;
}

.landpage figcaption {
  position: absolute;
  bottom: 2%;
  right: 2%;
  padding: 0px 9px;
  width: auto;
}

.web__cap,
.web__title {
  overflow-wrap: break-word;
}

.web__cap,
header .web__title {
  background: #fff;
  padding: 1rem 1rem;
  text-align: center;
  border-radius: 6px;
}

/* ----------- posts ---------- */
.categories,
.posts {
  border-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 2rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.categories::-webkit-scrollbar,
.posts::-webkit-scrollbar {
  display: none;
}

.product__post img,
article.related__posts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 12/16;
}

.category__wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 9999px;
}

/* .product__post img,
article.related__posts img {
  height: 278.2px;
} */

.category__wrap figcaption {
  width: 100%;
  padding: 1rem 0;
}

/* ----------- index ---------- */
aside.index {
  min-height: 471px;
  position: relative;
}

aside.index img {
  object-fit: cover;
  filter: brightness(0.8);
  aspect-ratio: 12/17;
}

aside.index figcaption {
  position: absolute;
  top: 50%;
}

aside.index figcaption h2 {
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.btn__more {
  position: absolute;
  bottom: 32px;
  left: 12px;
}

.discount__box {
  position: absolute;
  top: 32px;
  right: 12px;
  color: #fff;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 21px;
  text-align: center;
}

i {
  font-style: normal;
}

/* ----------- info ---------- */
.info {
  border: 1px dashed rgba(235, 194, 184, 0.5);
  padding: 1.5rem 0;
}

/* ----------footer---------- */
.access__links tbody {
  line-height: 3.5rem;
}

hr.hr--sec {
  border: 1px dashed #ebc2b8;
  background: white;
  width: 70%;
  margin: auto;
}

.coach--mark {
  font-family: "Paytone One", sans-serif;
  font-size: 3.2rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.72);
}

.coach--mark span {
  font-family: "Paytone One", sans-serif;
  font-size: 3.2rem;
  color: #dc9787;
}

/* -----------large MediaQueries---------- */

@media screen and (min-width: 758px) {
  .offcanvas {
    width: 40% !important;
  }

  h1,
  h2 {
    font-size: 3.2rem;
  }

  p,
  span,
  h4 {
    font-size: 1.6rem;
  }

  .categories,
  .posts {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }

  header.landpage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    background: linear-gradient(219deg, #e7dcdc 0.68%, rgba(246, 244, 244, 0.91) 55.51%, rgba(231, 220, 220, 0.83) 100%);
  }

  header.landpage img {
    width: 25% !important;
    margin: auto;
  }

  .landpage figcaption {
    position: initial;
    width: initial;
  }

  .index {
    background: linear-gradient(219deg, #e7dcdc 0.68%, rgba(246, 244, 244, 0.91) 55.51%, rgba(231, 220, 220, 0.83) 100%);
  }

  aside.index img {
    width: 30% !important;
    filter: none;
  }

  aside.index figcaption {
    top: 40%;
    right: 35%;
  }

  aside.index figcaption h2 {
    color: #000 !important;
  }

  .btn__more {
    bottom: 30%;
    right: 35%;
  }

  #searchBox {
    width: 35%;
    right: 32.2%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 31%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 18%;
  }
}

@media (min-width: 994px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 31.5%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 18.5%;
  }
}

@media (min-width: 1214px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 32.3%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 15.7%;
  }
}

/*-------------- Checkout -------------- */

#billing_company_field,
#billing_country_field,
#billing_address_2_field,
#billing_email_field,
#ship-to-different-address {
  display: none !important;
}

.post-meta:nth-child(3) {
  display: none;
}

/*-------------- Cart -------------- */

.product-quantity {
  display: none;
}

/*-------------- Responsive posts images -------------- */

.social-icons img:hover,
.social-icons a:hover {
  transform: scale(1.5);
}

.social-icons img,
.social-icons a {
  transition: all ease 0.3s;
}

.sucket {
  margin-bottom: 5rem !important;
}

.menu_label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ----------- pagination ----------- */
.woocommerce-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin-top: 3rem;
  padding-left: 0;
}

nav.woocommerce-pagination ul.page-numbers li {
  width: 42px;
  border: 1px solid #ededed;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

nav.woocommerce-pagination ul.page-numbers span.page-numbers.current {
  background: #dc9787;
  border: none;
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav.woocommerce-pagination li a.page-numbers {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* filter massage */
.filter-massage {
  background-color: #1e1e1e;
  color: #fff;
  position: fixed;
  bottom: 13px;
  right: 50%;
  z-index: 999;
  width: 98%;
  transform: translateX(50%);
  border-radius: 16px;
}

.filter-massage div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 16px;
  gap: 10%;
}

.filter-massage-btn {
  width: 60px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.filter-massage p {
  line-height: 32px;
  font-size: 16px;
}

.filter-massage.close {
  display: none;
}

@media screen and (min-width: 768px) {
  .filter-massage {
    width: 450px;
    bottom: 15px;
  }

  .filter-massage div {
    gap: 18%;
  }
}

/* comments */
#comments h2.woocommerce-Reviews-title {
  display: none;
}

.review_form_wrapper label {
  font-size: 15px !important;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  border-radius: 999px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  background: #fff;
  line-height: 2rem;
  border: 0;
  border-radius: 16px !important;
}

#comments time {
  color: #a2a2a2;
}

#comments ul.children .comment-text {
  background: none !important;
  border: 1px solid #d9d7d7 !important;
}

#comments #reply-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 1rem;
}

#comments .required {
  color: #d82408;
}

#comments .star-rating span::before {
  font-family: "star" !important;
  color: #ffc107;
}

#comments p.stars a,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  color: #ffc107;
}

.woocommerce .star-rating span::before {
  top: -5px !important;
  font-size: 13px !important;
}

#comments textarea {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.woocommerce .star-rating span::before {
  font-family: "WooCommerce";
}

.comment-form-comment {
  margin-top: 2rem;
}

#comments p.comment-form-author,
#comments p.comment-form-email {
  display: grid;
  margin-top: 1.75rem !important;
  gap: 6px;
}

#comments .comment-form-cookies-consent {
  margin-top: 1.75rem !important;
}

#comments .comment-respond input {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#comments p.form-submit input {
  width: 100%;
  height: 52px;
  border-radius: 16px !important;
  background: #dc9787 !important;
  font-size: 18px;
  font-weight: bold;
  transition: all ease 0.2s;
  color: #fff !important;
  margin-top: 1.75rem !important;
  border: none !important;
}

.woocommerce-product-rating .woocommerce-review-link {
  color: #999 !important;
}

.comment-form-rating {
  margin: 3rem 0;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1rem;
}

label[for="rating"],
label[for="comment"] {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 998px) {
  #comments p.form-submit input {
    width: max-content;
    padding: 0 7rem !important;
  }

  .woocommerce-product-rating {
    float: left;
    top: 25px;
    position: absolute;
    left: 5%;
  }
}

.owl-carousel .owl-item img {
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

/* ---------------------------- my custom slider ----------------------------------------- */

/* Modal CSS */
.custom-product-slider__wrapper .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
}

.custom-product-slider__wrapper .close {
  position: absolute;
  top: 20px;
  right: 5%;
  color: #fff;
  font-size: 40px !important;
  font-weight: bold;
  transition: 0.3s;
  z-index: 999;
}

.custom-product-slider__wrapper .close:hover,
.custom-product-slider__wrapper .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.custom-product-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: rtl;
  padding: 8px 0px;
  border: 1px solid #d9d9d9;
}

.modal-album-wrapper::-webkit-scrollbar {
  display: none;
}

.custom-product-slider__wrapper .slider-wrapper,
.custom-product-slider__wrapper .modal-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.custom-product-slider .slide img {
  cursor: pointer;
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.modal-slider-wrapper {
  margin-top: 16vh;
}

.modal-slider-wrapper img {
  width: 61vh;
  aspect-ratio: 3/4;
  display: block;
  object-fit: cover;
  margin: auto;
  border-radius: 24px;
}

.custom-product-slider__wrapper button.prev,
.custom-product-slider__wrapper button.next,
.custom-product-slider__wrapper button.modal-prev,
.custom-product-slider__wrapper button.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.custom-product-slider__wrapper button.prev,
.custom-product-slider__wrapper button.next {
  top: 40%;
}

.custom-product-slider__wrapper button.next,
.custom-product-slider__wrapper button.modal-next {
  background: #000;
}

.custom-product-slider__wrapper button.prev,
.custom-product-slider__wrapper button.modal-prev {
  background: #000;
}

.custom-product-slider__wrapper button.prev {
  right: 10px;
}

.custom-product-slider__wrapper button.next {
  left: 10px;
}

.custom-product-slider__wrapper button.modal-prev {
  right: 5%;
}

.custom-product-slider__wrapper button.modal-next {
  left: 5%;
}

.album-item {
  flex: 1 1 calc(25% - 20px);
  cursor: pointer;
  padding: 5px;
  border-radius: 12px;
  max-width: 125px;
}

.album-item img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  display: block;
}

.modal-album-wrapper {
  z-index: 9999;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  display: flex;
  overflow-x: scroll;
  margin-top: 20px;
  padding: 16px;
  justify-content: start;
  gap: 8px;
}

.album-wrapper {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.modal-album-item {
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  width: 80px;
  cursor: pointer;
}

.album-item img,
.modal-album-item img {
  object-fit: cover;
  background-color: #fff;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}

.modal-trigger {
  position: relative;
}

.album-item.modal-trigger img {
  filter: blur(4px);
  cursor: pointer;
}

.modal-trigger-icon {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  z-index: 0;
}

@media screen and (max-width: 380px) {
  .modal-slider-wrapper {
    margin-top: 10vh;
  }

  .modal-slider-wrapper img {
    width: 50vh;
  }
}

@media screen and (min-width: 992px) {
  .summary.entry-summary .price {
    margin-top: 10px;
  }

  .summary.entry-summary .price bdi,
  .summary.entry-summary .price bdi span {
    font-size: 24px !important;
  }

  .modal-album-wrapper {
    justify-content: center;
  }

  .modal-slider-wrapper {
    margin-top: 0;
  }

  .summary button[type="submit"] {
    width: 200px !important;
  }
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
}

@media screen and (max-width: 992px) {
  .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    flex-direction: column;
    gap: 22px;
    padding: 1rem !important;
  }
}

nav.woocommerce-breadcrumb,
.woocommerce-products-header__title.page-title,
.woocommerce-result-count,
.woocommerce-ordering {
  text-align: center;
}

.post-wrapper {
  height: 100%;
}

.post-info__wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  height: 100%;
}

.post-wrapper {
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
