/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Fix single product main image stretching/cropping */
.single-product .woocommerce-product-gallery__wrapper img,
.single-product .woocommerce-product-gallery__image img,
.single-product .dt-product-gallery img,
.single-product .pswp__img,
.single-product .flexslider .slides img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* In case The7/Elementor forces absolute fill wrappers */
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__wrapper a {
  display: block;
}

/* HIRMOS Dokan vendor store — mobile cleanup */
@media screen and (max-width: 767px) {
	
  /* Add mobile spacing between vendor-store product cards */
  body.dokan-store .seller-items .dt-css-grid {
    row-gap: 40px !important;
  }
  
  body.dokan-store .seller-items .wf-cell {
    margin-bottom: 40px !important;
  }
  
  body.dokan-store .seller-items .woocom-list-content {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  
  body.dokan-store .seller-items .price {
    display: block !important;
    margin-top: 10px !important;
  }	
  
    /* Compact the vendor hero section */
    body.dokan-store .elementor-element-100ca8be {
      padding: 24px 18px !important;
    }
  
    /* Force the hero inner columns to stack cleanly */
    body.dokan-store .elementor-element-100ca8be .elementor-container {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
    }
  
    body.dokan-store .elementor-element-632946e1,
    body.dokan-store .elementor-element-71812b92 {
      width: 100% !important;
      max-width: 100% !important;
    }
  
    /* Vendor profile/logo image: stop it from becoming full-width */
    body.dokan-store .elementor-widget-dokan-store-profile-picture,
    body.dokan-store .elementor-widget-dokan-store-profile-picture .elementor-widget-container {
      width: auto !important;
      max-width: 150px !important;
    }
  
    body.dokan-store .elementor-widget-dokan-store-profile-picture img {
      width: 140px !important;
      max-width: 140px !important;
      height: auto !important;
      display: block !important;
    }
  
    /* Vendor name under/next to compact logo */
    body.dokan-store .elementor-widget-dokan-store-name .entry-title,
    body.dokan-store .elementor-widget-dokan-store-name h1 {
      font-size: 34px !important;
      line-height: 1.12 !important;
      margin-top: 18px !important;
    }
  
    /* Support button row */
    body.dokan-store .dokan-elementor-flex-right .elementor-widget-wrap {
      justify-content: flex-start !important;
      padding: 18px !important;
    }
  
    /* Force The7 Dokan product grid to one column on mobile */
    body.dokan-store .seller-items .dt-products,
    body.dokan-store .seller-items .dt-css-grid-wrap {
      width: 100% !important;
    }
  
    body.dokan-store .seller-items .dt-css-grid {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 32px !important;
    }
  
    body.dokan-store .seller-items .wf-cell {
      width: 100% !important;
      max-width: 100% !important;
      float: none !important;
      clear: both !important;
    }
  
    body.dokan-store .seller-items article.product,
    body.dokan-store .seller-items .woocom-project {
      width: 100% !important;
      max-width: 100% !important;
    }
  
    body.dokan-store .seller-items .woo-buttons-on-img img {
      width: 100% !important;
      height: auto !important;
    }
  
    body.dokan-store .seller-items .woocom-list-content {
      text-align: center !important;
    }
  
    body.dokan-store .seller-items .entry-title {
      font-size: 28px !important;
      line-height: 1.2 !important;
    }
  
    body.dokan-store .seller-items .price {
      font-size: 24px !important;
    }
  }
