/*
Theme Name: Meshekmeller
Description: Theme for meshekmeller
Author: Theme
Version: 1.0    
Text Domain: theme
*/

span.wpcf7-spinner {
  position: absolute;
}

form.wpcf7-form p,
.wpcf7 {
  width: 100%;
  text-align: center;
}

span.wpcf7-form-control.wpcf7-radio {
  display: flex;
  justify-content: space-around;
}

span.wpcf7-list-item {
  width: 100%;
  margin: 0;
}

fieldset.contact-us__fields p {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  font-size: 16px;
  justify-content: space-between;
}

span[data-name="message"] {
  width: 100%;
}

.contact-us__textarea {
  width: 100%;
}

.hidden,
#form_login_second,
div#altEmail_container {
  display: none;
}

div#form_login_second .woocommerce-privacy-policy-text {
  display: none;
}

.wa__btn_popup {
  bottom: 100px !important;
  right: 18px !important;
}

.footer__form {
  flex-wrap: wrap;
}

form.wpcf7-form.footer__form p {
  display: flex;
  height: 40px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.wpcf7-response-output {
  flex: 0 0 100%;
}

button {
  cursor: pointer;
}

.contacts-form .screen-reader-response {
  display: none;
}

.leaflet-control-attribution.leaflet-control {
  display: none;
}

span.wpcf7-form-control-wrap {
  display: contents;
}

.wpcf7-form-control-wrap .input-parent-mirror-cage {
  display: none !important;
}

.delivery__map {
  z-index: 0;
}

.contacts-form__row {
  position: relative;
}

span.wpcf7-not-valid-tip {
  position: absolute;
  right: 16px;
  font-size: 9pt;
  bottom: -1px;
}

.auth__notices {
  padding: 20px 20px 0;
  text-align: center;
  color: brown;
}

form.auth__form label[for="reg_billing_first_name"], form.auth__form label[for="reg_billing_phone"] {
  display: none;
}

.woocommerce-lost-password .woocommerce-error {
  padding: 0 10px 20px;
  color: brown;
}

/* Checkout fix*/
.ywcdd_select_delivery_date_content {
  width: 100%;
}

h3#ship-to-different-address, .hidden, .auth__timer {
  display: none !important;
}

.section-cart {
  margin-top: 74px;
}

.button.btn-return-to-shop {
  margin-top: 30px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  height: 52px;
  border-radius: var(--border-radius--full);
  background-color: var(--color-accent);
  font-size: 24px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 24px;
  color: var(--color-light);
  transition: all 0.3s ease 0s;
}

.button.btn-return-to-shop:hover {
  background-color: var(--color-primary);
}

@media (max-width: 768px) {
  .button.btn-return-to-shop {
    width: 100%;
    justify-content: center;
    font-size: 20px;
  }
}

/**/

/* Product gallery*/
.single-product-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: row-reverse;
}

.single-product-gallery__main {
  width: 100%;
  height: 100%;
}

.single-product-gallery__main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product-gallery__thumbs {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 150px;
}

.single-product-gallery__thumb {
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: rgba(217, 184, 177, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.single-product-gallery__thumb.swiper-slide-thumb-active {
  border-color: var(--color-accent);
  background-color: var(--color-light);
}

.product-card__image-wrapper .single-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/**/

/* ═══════════════════════════════════════
   CART PAGE  (ss-cart)
═══════════════════════════════════════ */

.ss-cart {
  direction: rtl;
  padding-bottom: 120px;
}

/* Header */
.ss-cart__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0 20px;
  flex-wrap: wrap;
}

.ss-cart__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0;
  flex: 1 1 auto;
}

.ss-cart__clear {
  cursor: pointer;
  font-size: 16px;
  color: var(--color-accent);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

/* Two-column layout on desktop */
.ss-cart__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .ss-cart__layout {
    grid-template-columns: 1fr;
  }
}

/* Main column */
.ss-cart__main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ss-cart__shipping-cost {
  margin-bottom: 20px;
}

.ss-cart__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Empty cart */
.ss-mini-cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.ss-mini-cart-empty h4 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

/* Sidebar column */
.ss-cart__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* WooCommerce order review / totals inside sidebar */
.ss-cart__sidebar .cart_totals {
  background-color: var(--color-light);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 7px 7px 7px rgba(221, 216, 207, 0.38);
}

@media (max-width: 576px) {
  .ss-cart__sidebar .cart_totals {
    padding: 16px;
  }
}

.ss-cart__sidebar .cart_totals h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.ss-cart__sidebar .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.ss-cart__sidebar .cart_totals table tr th,
.ss-cart__sidebar .cart_totals table tr td {
  padding: 10px 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.ss-cart__sidebar .cart_totals table tr th {
  padding-left: 10px;
}

.ss-cart__sidebar .wc-proceed-to-checkout {
  margin-top: 16px;
}

.ss-cart__sidebar .wc-proceed-to-checkout .checkout-button {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 52px;
  border-radius: var(--border-radius--full);
  background-color: var(--color-accent);
  color: var(--color-light);
  font-size: 20px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.ss-cart__sidebar .wc-proceed-to-checkout .checkout-button:hover {
  background-color: var(--color-primary);
}

/* Coupon block */
.ss-coupon {
  background-color: var(--color-light);
  border-radius: 22px;
}

.ss-coupon__title {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 500;
}

.ss-coupon__row {
  display: flex;
  height: 50px;
  overflow: hidden;
  border-radius: var(--border-radius--full);
  border: 1px solid #D9B8B1;
}

.ss-coupon__input {
  flex: 1 1 auto;
  padding: 10px 12px;
  border: none !important;
  font-size: 18px !important;
  background: #fff;
  height: 100% !important;
}

.ss-coupon__button {
  padding: 6px;
  border-radius: 0 !important;
  background-color: #D9B8B1;
  color: #FEF5F3;
  font-size: 18px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  height: 100%;
  min-width: 100px;
}

.author__photo {
  border-radius: 50%;
}

.mt30 {
  margin-top: 30px;
}

.wpcf7 form.invalid .wpcf7-response-output {
  display: none !important;
}

.ss-checkout__step .wc-social-login.wc-social-login-link-account {
  display: none !important;
}

.contacts-form--compact {
  max-width: 650px;
  width: 100%;
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-form__submit {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 998px) {

  .ss-coupon__input,
  .ss-coupon__button {
    font-size: 15px;
  }
}

.ss-coupon__button:hover {
  background-color: var(--color-primary);
}

.ss-coupon__msg {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-accent);
}