/*
 Theme Name:   Astra Child
 Theme URI:    https://example.com/
 Description:  Astra child theme
 Author:       Gulmurod
 Author URI:   https://example.com/
 Template:     astra
 Version:      1.0.0
*/

/* POPUP STYLES */
.cart-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}
.cart-popup {
  background: #fff;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  padding: 25px;
  position: relative;
  animation: popupFade 0.3s;
}
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cart-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.cart-popup-close:hover {
  color: #e44;
}
.cart-popup h2 {
  margin: 0 0 20px 0;
  font-size: 22px;
  color: #333;
  border-bottom: 2px solid #e44;
  padding-bottom: 10px;
}
.cart-popup-items {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
}
.cart-popup-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.cart-popup-item:last-child {
  border-bottom: none;
}
.cart-popup-item-info {
  flex: 1;
}
.cart-popup-item-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}
.cart-popup-item-price {
  color: #e44;
  font-weight: 600;
  font-size: 14px;
}
.cart-popup-item-qty {
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 15px;
  font-size: 12px;
  color: #666;
}
.cart-popup-total {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: right;
  font-size: 18px;
  font-weight: 600;
}
.cart-popup-total span {
  color: #e44;
}

/* FORM STYLES */
.cart-popup-form {
  margin-top: 15px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e44;
}
.form-group input.error,
.form-group textarea.error {
  border-color: #f00;
}

/* Telefon mask input */
.phone-input-group {
  position: relative;
}
.phone-input-group input {
  padding-left: 45px;
}
.phone-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  font-weight: 500;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Checkbox styles */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.checkbox-group label {
  margin: 0;
  font-size: 13px;
}
.checkbox-group a {
  color: #e44;
  text-decoration: none;
}
.checkbox-group a:hover {
  text-decoration: underline;
}

/* Submit button */
.cart-popup-submit {
  width: 100%;
  background: #e44;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s;
}
.cart-popup-submit:hover {
  background: #c00;
}
.cart-popup-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* Success message */
.cart-popup-success {
  text-align: center;
  padding: 30px 20px;
}
.cart-popup-success h3 {
  color: #28a745;
  font-size: 24px;
  margin: 15px 0;
}
.cart-popup-success p {
  color: #666;
  margin-bottom: 20px;
}
.cart-popup-success button {
  background: #e44;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* ===================================
   SCROLLBAR STYLING
   =================================== */
.order-popup::-webkit-scrollbar {
  width: 8px;
}

.order-popup::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.order-popup::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.order-popup::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Tab dizayni yaxshilash */
.woocommerce-tabs ul.tabs li a {
  transition: all 0.3s ease;
}

/* Bo'sh xarakteristika xabari */
.characteristics-content em {
  color: #999;
  font-style: italic;
}

.swiper-pagination-bullet {
  width: 42px !important;
}

.custom-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #739926;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 14px;
  line-height: 20px;
}

.custom-header-btn:hover {
  background: #658820;
  color: #fff;
}

.ast-addon-cart-wrap {
  border-color: #e9eaec !important;
  height: 38px;
}

.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
  background-color: #e6483d;
}

/* Custom card product  */

.my-card-body .attachment-woocommerce_thumbnail {
  display: none !important;
}

.ast-article-single .desktop-align-left {
  border-radius: 12px;
}

.my-product-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
}

.product-template-default .my-product-card {
  background: #f5f5f5;
}

.post-type-archive .my-product-card {
  background: #f5f5f5;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  background-color: #f5f5f5 !important;
  border-radius: 4px !important;
}

.product-template-default .my-product-slider .swiper {
  margin: 16px;
  border-radius: 12px;
}

.post-type-archive .my-product-slider .swiper {
  margin: 16px;
  border-radius: 12px;
  max-width: 394px;
}

.swiper-main-single .swiper-slide img {
  max-width: 100%;
  height: 100%;
  width: auto;
  margin: 0 auto;
}

.woocommerce.columns-3 .elementor-grid .ast-article-single:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.my-product-slider {
  position: relative;
}

.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.my-card-body .price,
.woocommerce-loop-product__title {
  display: none !important;
}

.my-product-slider .swiper {
  width: 100%;
  max-width: 330px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.ast-on-card-button.ast-select-options-trigger.product_type_simple {
  display: none;
}

.my-product-slider .swiper-slide img {
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.my-card-body {
  padding: 16px;
}

.my-card-category {
  font-size: 14px;
  color: #0f1324;
  line-height: 20px;
  margin-bottom: 4px;
}

.my-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #003c40;
  margin-bottom: 6px;
  line-height: 22px;
}

.my-card-price {
  font-size: 16px;
  font-weight: 600;
  color: #739926;
  line-height: 22px;
}

.my-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 16px 16px 16px;
}

.my-btn-buy {
  background: #739926;
  color: #fff;
  border: 1px solid #739926;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.my-btn-buy:hover {
  background: #577717;
  border-color: #577717;
}

.my-btn-buy:disabled {
  background: #aaa;
  cursor: default;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-direction: column;
}
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal,
td.product-price,
td.product-subtotal,
.woocommerce-Price-amount,
.cart_totals h2,
.cart_totals table {
  display: none !important;
}

.woocommerce-js
  div.product
  div.woocommerce-product-gallery--columns-4
  .flex-control-thumbs
  li:nth-child(4n + 1) {
  clear: none !important;
}

.woocommerce-js
  div.product
  div.woocommerce-product-gallery--columns-4
  .flex-control-thumbs
  li {
  width: calc(15% - 0.75em);
}

/* .single-product div.product .woocommerce-product-gallery {
  width: 60% !important;
}

.single-product div.product .summary {
  width: 39% !important;
} */

.entry-content p {
  margin-bottom: 4px !important;
}

.entry-content ul li,
.entry-content ol li {
  margin: 4px !important;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
.woocommerce-tabs .tabs li a:focus {
  outline: none !important;
  box-shadow: none !important;
}

nav ul li a:focus,
nav ul li a:focus-visible,
.nav-menu li a:focus,
.nav-menu li a:focus-visible,
header ul li a:focus,
header ul li a:focus-visible,
#primary-menu li a:focus,
#primary-menu li a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.my-btn-detail {
  background: #fff;
  color: #14151a;
  border: 1px solid #dee0e3;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.my-btn-detail:hover {
  background: #e8e8e8;
  color: #14151a;
}

.my-qty-wrap {
  align-items: center;
  gap: 6px;
}

.my-qty-btn {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #14151a;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.my-qty-btn:hover {
  background: #577717;
  color: #fff;
  border-color: #577717;
}

.my-qty-input {
  width: 40px !important;
  height: 38px !important;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px !important;
  padding: 4px !important;
  font-size: 14px !important;
}

.my-single-gallery {
  margin-bottom: 20px;
}

.swiper-main-single {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-main-single .swiper-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.swiper-thumb-single {
  margin-top: 10px;
}

.swiper-thumb-single .swiper-slide {
  width: 80px !important;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
}

.swiper-thumb-single .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #577717;
}

.swiper-thumb-single .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-single-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.my-single-qty .my-qty-btn {
  width: 36px;
  height: 36px;
  font-size: 20px;
}
.my-single-qty .my-qty-input {
  width: 50px;
  height: 36px;
  font-size: 16px;
}
.my-single-qty .my-btn-buy {
  padding: 10px 24px;
  font-size: 15px;
}
.my-char-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.my-char-table tr:nth-child(even) {
  background: #f9f9f9;
}
.my-char-table td {
  padding: 10px 14px;
  border: 1px solid #eee;
  font-size: 14px;
}
.my-char-table td:first-child {
  font-weight: 600;
  width: 35%;
  color: #555;
}

/* Popup form  */

.openPopupBtn {
  cursor: pointer;
}

.custom-popup-btn {
  padding: 12px 25px;
  background: #2c7be5;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#customPopupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#customPopup {
  background: #fff;
  padding: 24px;
  width: 400px;
  border-radius: 10px;
  position: relative;
  animation: popupFade 0.2s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#closePopup {
  position: absolute;
  top: 0px;
  right: 20px;
  cursor: pointer;
  font-size: 40px;
}

.popupTitle {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.popupDesc {
  font-size: 16px;
  line-height: 22px;
  color: #555;
  margin-bottom: 12px;
}

#customPopup input,
#customPopup textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

#customPopup textarea {
  min-height: 160px;
}

#agreeLabel {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}

#agreeLabel input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 2px 0 0 0;
  padding: 0;
  cursor: pointer;
  accent-color: #739926;
}

#agreeLabel a {
  color: #2c7be5;
  text-decoration: underline;
}

#customPopup button {
  width: 100%;
  padding: 12px;
  background: #739926;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== POPUP OVERLAY ===== */
#my-order-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: myPopupFadeIn 0.25s ease;
}
#my-order-popup-overlay.hidden {
  display: none;
}

@keyframes myPopupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes myPopupSlideIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== POPUP BOX ===== */
.my-order-popup {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 24px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  animation: myPopupSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}

/* ===== CLOSE ===== */
.my-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f3f3f7;
  border: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1;
}
.my-popup-close:hover {
  background: #ffe5e5;
  color: #e53e3e;
}

/* ===== TITLE ===== */
.my-popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
}

/* ===== ITEMS ===== */
.my-popup-items {
  background: #f8f8fc;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  max-height: 230px;
  overflow-y: auto;
}

.my-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid #eee;
}
.my-popup-item:last-child {
  border-bottom: none;
}

.my-popup-item-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.my-popup-item-info {
  flex: 1;
  min-width: 0;
}
.my-popup-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.my-popup-item-qty {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}
.my-popup-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #739926;
  white-space: nowrap;
}

/* ===== TOTAL ===== */
.my-popup-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  border-top: 2px solid #f0f0f8;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.my-popup-total-val {
  font-size: 18px;
  font-weight: 800;
  color: #739926;
}

/* ===== FORM ===== */
.my-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-popup-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.my-popup-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}
.my-popup-form-group label .req {
  color: #e53e3e;
  margin-left: 2px;
}

.my-popup-form-group input,
.my-popup-form-group textarea {
  border: 1.5px solid #e0e0ec;
  border-radius: 8px !important;
  padding: 11px 14px;
  font-size: 14px;
  color: #1a1a2e;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fafafa;
  font-family: inherit;
  resize: none;
}
.my-popup-form-group input:focus,
.my-popup-form-group textarea:focus {
  border-color: #739926;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  background: #fff;
}

.my-popup-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  margin-top: 2px;
  line-height: 1.5;
}
.my-popup-consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #739926;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.my-popup-consent a {
  color: #739926;
}

.checkout-button {
  display: none !important;
}

/* ===== MESSAGE ===== */
#my-popup-msg {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
#my-popup-msg.success {
  background: #edfdf3;
  color: #1a7f4e;
  border: 1px solid #bbf7d0;
}
#my-popup-msg.error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* ===== SUBMIT BTN ===== */
.my-popup-submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #739926, #56790f);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s;
  letter-spacing: 0.3px;
}
.my-popup-submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.my-popup-submit-btn:active {
  transform: translateY(0);
}
.my-popup-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
#coupon_code {
  max-height: 46px !important;
}
.coupon .button {
  padding: 13px !important;
}

.swiper-pagination.swiper-pagination-clickable {
  left: calc((100% - 1320px) / 2) !important;
}

.elementor-swiper-button-next {
  right: calc((100% - 1320px) / 2) !important;
}

.elementor-swiper-button-prev {
  right: calc((100% - 1320px) / 2 + 72px) !important;
  left: auto !important;
}

.woocommerce-js #content table.cart .button,
.woocommerce-page #content table.cart .button {
  height: 42px;
}

/* ================= TABLET ================= */
@media (max-width: 1199px) {
  .swiper-pagination.swiper-pagination-clickable {
    left: 30px !important;
  }

  .elementor-swiper-button-next {
    right: 30px !important;
  }

  .elementor-swiper-button-prev {
    right: 102px !important;
    left: auto !important;
  }
  .my-product-slider .swiper {
    max-width: 240px;
  }
  .my-product-slider .swiper-slide img {
    height: 200px;
    max-height: 200px;
  }
  .my-btn-detail {
    padding: 6px 6px;
    font-size: 12px;
  }
  .my-qty-btn {
    width: 32px !important;
    height: 32px !important;
  }
  .my-qty-input {
    width: 32px !important;
    height: 32px !important;
  }
  .my-btn-buy {
    padding: 6px 6px;
    font-size: 12px;
  }
  .ast-site-header-cart.ast-menu-cart-outline .ast-addon-cart-wrap,
  .ast-site-header-cart.ast-menu-cart-fill .ast-addon-cart-wrap {
    line-height: 1.5;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
  .swiper-pagination.swiper-pagination-clickable {
    left: 28px !important;
  }

  .elementor-swiper-button-next {
    right: 16px !important;
  }

  .elementor-swiper-button-prev {
    right: 64px !important;
    left: auto !important;
  }

  #customPopup {
    width: 320px;
  }

  .ast-container .woocommerce ul.products:not(.elementor-grid),
  .woocommerce-page ul.products:not(.elementor-grid),
  .woocommerce.mobile-columns-2 ul.products:not(.elementor-grid),
  .woocommerce-page.mobile-columns-2 ul.products:not(.elementor-grid) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .post-type-archive .my-product-slider .swiper {
    max-width: 300px;
  }
  .woocommerce-js ul.products li.product,
  .woocommerce-page ul.products li.product {
    margin-bottom: 16px !important;
  }
  .my-single-qty .my-btn-buy {
    padding: 6px 24px;
  }
  .my-product-slider .swiper {
    max-width: 304px;
  }
  .my-checkout-popup-btn {
    padding: 12px;
    font-size: 14px;
  }
}
#wp-admin-bar-customize {
  display: none !important;
}
/* ===== CHECKOUT POPUP BTN (cart sahifasida) ===== */
.my-checkout-popup-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #739926, #56790f);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s;
  margin-top: 8px;
  letter-spacing: 0.3px;
}
.my-checkout-popup-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.my-checkout-popup-btn:active {
  transform: translateY(0);
}

/* Contact page style */

.cst_grid .elementor-widget-icon-box {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
}

.cf-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.cf-field label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.cf-field input,
.cf-field textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #222;
  outline: none;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  background: #fafafa;
  font-family: inherit;
  resize: none;
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: #739926;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
  background: #fff;
}
.cf-field textarea {
  height: 110px;
}
.cf-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.cf-agree input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #739926;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.cf-agree a {
  color: #739926;
  text-decoration: none;
}
.cf-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #739926, #56790f);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.1s;
  letter-spacing: 0.3px;
}
.cf-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.cf-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cf-success {
  text-align: center;
  padding: 40px 20px;
}
.cf-success .cf-icon {
  font-size: 54px;
  margin-bottom: 14px;
}
.cf-success h3 {
  color: #28a745;
  font-size: 20px;
  margin: 0 0 8px;
}
.cf-success p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.cf-bar-wrap {
  height: 3px;
  background: #eee;
  border-radius: 3px;
  margin-top: 24px;
  overflow: hidden;
}
.cf-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #739926, #28a745);
  border-radius: 3px;
  transition: width 3s linear;
}

.cf-response-msg {
  margin-top: 14px;
}

/* Drone  */

.mml-item:hover,
.mml-item.active {
  background: #fff !important;
  color: #4f46e5 !important;
  border-left-color: #4f46e5 !important;
}
.my-mega-box {
  display: none;
  position: fixed;
  top: 72px !important;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  z-index: 99999;
  border-top: 3px solid #4f46e5;
}
.mml-item-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #f0f0f0;
  padding: 3px;
}
.my-mega-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  min-height: 300px;
  padding: 0 20px;
}
.my-mega-right {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mml-item-name {
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.mml-item {
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
}
.my-mega-left {
  width: 280px;
  min-width: 220px;
  background: #f8f8fb;
  border-right: 1px solid #eee;
  padding: 8px 0;
  overflow-y: auto;
}
.my-mega-mid {
  width: 240px;
  min-width: 200px;
  border-right: 1px solid #eee;
  padding: 8px 0;
  overflow-y: auto;
}
.mml-item:hover a,
.mml-item.active a {
  color: #4f46e5 !important;
}
.mms-item {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  border-left: 3px solid transparent;
  display: flex;
  text-decoration: none;
  align-items: center;
  width: 100%;
  height: 40px;
}
.mms-item:hover,
.mms-item.active {
  background: #f0f0ff;
  color: #4f46e5;
  border-left-color: #4f46e5;
}
.mmr-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.mmr-card:hover {
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.1);
  border-color: #4f46e5;
}
.mmr-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 6px;
}
.mmr-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}
@media (max-width: 520px) {
  .cf-row {
    grid-template-columns: 1fr;
  }
  .cf-form {
    padding: 24px 18px;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .my-order-popup {
    padding: 24px 16px 20px;
    border-radius: 16px;
  }
  .my-popup-title {
    font-size: 17px;
  }
}
@media (max-width: 768px) {
  .site-below-footer-wrap .ast-builder-footer-grid-columns {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  .single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
  }

  .single-product div.product .summary {
    width: 100% !important;
  }
  .site-below-footer-wrap .ast-builder-footer-grid-columns aside {
    margin: 0;
  }
  .site-below-footer-wrap
    .ast-builder-footer-grid-columns
    .ast-builder-layout-element {
    margin: 0;
  }
}
