/*
Theme Name:   Hello Elementor Child - MoodWear
Theme URI:    https://yoursite.com
Description:  Custom child theme for MoodWear with Hello Elementor
Author:       MoodWear
Author URI:   https://yoursite.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  hello-elementor-child
*/

/* ============================================
   MoodWear Custom Styles
   Add your custom CSS below this line
   ============================================ */

/*:root {*/
/*    --moodwear-pink: #E91E8C;*/
/*    --moodwear-dark: #1a1a1a;*/
/*    --moodwear-light: #ffffff;*/
/*}*/

/* You can add additional custom styles here */




/* ============================================
   MOODWEAR – SHOP GRID & PRODUCT CARDS
   4 / 3 / 2 / 1 COLUMNS + MODERN DESIGN
   ============================================ */

/* Modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Brand Colors */
:root {
  --mw-pink: #ed1f79;
  --mw-pink-soft: #ffe4f0;
  --mw-gray-soft: #f8f9fa;
  --mw-gray-border: #ececec;
  --mw-text-dark: #1a1a1a;
  --mw-text-muted: #777777;
  --mw-white: #ffffff;
}

/* ============================================
   FULL-WIDTH SHOP + GRID LAYOUT
   ============================================ */

/* Make WooCommerce main content full width */
body.woocommerce .content-area,
body.woocommerce-page .content-area,
body.woocommerce #primary,
body.woocommerce-page #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* Product UL as CSS Grid */
body.woocommerce ul.products,
body.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 40px 0 !important;
  list-style: none !important;
}

/* Remove old float/width rules on products */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
body.woocommerce ul.products[class*="columns-"] li.product,
body.woocommerce-page ul.products[class*="columns-"] li.product {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

/* Breakpoints – 4 → 3 → 2 → 1 columns */
@media (max-width: 1200px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}

@media (max-width: 520px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

/* ============================================
   PRODUCT CARD – MINIMAL MOODWEAR STYLE
   ============================================ */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative !important;
  background: var(--mw-white) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ============================================
   IMAGE AREA
   ============================================ */

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product a img {
  display: block !important;
  width: 100% !important;
}

.woocommerce ul.products li.product a {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px 18px 0 0 !important;
  background: var(--mw-gray-soft) !important;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  height: 360px !important;
  object-fit: cover !important;
  border-radius: 18px 18px 0 0 !important;
  transition: transform 0.4s ease, filter 0.4s ease !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.03) !important;
  filter: brightness(1.03) !important;
}

/* light overlay on hover */
.woocommerce ul.products li.product a::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(237,31,121,0.08) 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
}

.woocommerce ul.products li.product:hover a::after {
  opacity: 1 !important;
}

/* ============================================
   SALE BADGE
   ============================================ */

.woocommerce span.onsale {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%) !important;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4) !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1 !important;
}

/* ============================================
   TITLE
   ============================================ */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-family: "Poppins", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--mw-text-dark) !important;
  margin: 16px 18px 4px 18px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--mw-pink) !important;
}

/* ============================================
   PRICE
   ============================================ */

.woocommerce ul.products li.product .price {
  font-family: "DM Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 4px 18px 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--mw-text-dark) !important;
}

.woocommerce ul.products li.product .price del {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--mw-text-muted) !important;
  opacity: 0.7 !important;
  text-decoration: line-through !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--mw-pink) !important;
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  width: calc(100% - 36px) !important;
  margin: 0 18px 18px 18px !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  border: 1px solid #111111 !important;
  background: #111111 !important;
  color: #ffffff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  text-align: center !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--mw-pink) !important;
  border-color: var(--mw-pink) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(237, 31, 121, 0.35) !important;
}

/* ============================================
   RESPONSIVE CARD TWEAKS
   ============================================ */

@media (max-width: 900px) {
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product img {
    height: 320px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product img {
    height: 280px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    margin: 14px 14px 4px 14px !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 16px !important;
    margin: 4px 14px 12px 14px !important;
  }

  .woocommerce ul.products li.product .button {
    width: calc(100% - 28px) !important;
    margin: 0 14px 14px 14px !important;
    padding: 11px 18px !important;
    font-size: 11px !important;
  }

  .woocommerce span.onsale {
    top: 10px !important;
    right: 10px !important;
    font-size: 10px !important;
    padding: 5px 10px !important;
  }
}




































































