
/*
Theme Name:  Hello Elementor Child
Description: DopeFree child theme for Hello Elementor
Template:    hello-elementor
Version:     1.0.55
Author:      DopeFree
*/
/*Caddy Cart Icon position on Mobile */
@media only screen and (max-width: 768px) {
    .cc-compass {
        bottom: 70px;
        right: 15px;
    }
}
.woocommerce-account .woocommerce-MyAccount-content a {
  font-weight: 500 !important;
}

/* ==========================================================================
   LOOP: PRODUCT CARD
   ========================================================================== */

/* ── CARD CONTAINER (Flex alignment fix) ── */
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #EBEBEB !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative !important;
  transition: border-color 0.25s ease !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
  transform: none !important;
}

ul.products li.product:hover {
  border-color: #0a7594 !important;
  transform: none !important;
  box-shadow: none !important;
}

ul.products li.product::after,
ul.products li.product .woocommerce-placeholder {
  display: none !important;
}

/* ── IMAGE AREA ── */
ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  text-decoration: none !important;
}

ul.products li.product img {
  width: 100% !important;
  height: 280px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  padding: 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #EBEBEB !important;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1) !important;
  display: block !important;
  filter: none !important;
}

ul.products li.product:hover img {
  transform: scale(1.06) !important;
}

/* ── BADGES & ICONS ── */
ul.products li.product .onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  margin: 0 !important;
  z-index: 2 !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
  color: #3d6100 !important;
  font-family: 'graphik', sans-serif !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(235, 247, 216) 100%) !important;
  border: 1px solid rgb(190, 226, 127) !important; 
  box-shadow: rgba(104, 159, 56, 0.1) 0px 2px 6px !important;
}

/* Veg / Non-Veg Marks (Combined Redundancies) */
.df-veg-mark,
.df-nonveg-mark {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}
.df-veg-mark { border: 1.5px solid #1A9E8F !important; }
.df-nonveg-mark { border: 1.5px solid #F97316 !important; }

.df-veg-dot,
.df-nonveg-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}
.df-veg-dot { background: #1A9E8F !important; }
.df-nonveg-dot { background: #F97316 !important; }

/* ── TEXT CONTENT ── */
.df-loop-cat {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  line-height: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #6B6B6B !important;
  padding: 14px 16px 0 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Title (2-Line Height Lock Fix) */
ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Aeonik', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  line-height: 1.3 !important;
  padding: 6px 16px 4px !important;
  margin: 0 !important;
  box-sizing: content-box !important;
  min-height: 2.6em !important; /* Locks height */
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
}

ul.products li.product .star-rating {
  margin: 4px 16px 8px !important;
  float: none !important;
  display: block !important;
}

ul.products li.product .star-rating::before {
  color: #E8E4DE !important;
}

ul.products li.product .star-rating span::before {
  color: #FFB800 !important;
}

/* ── LOOP PRICE ── */
ul.products li.product .price {
  display: block !important;
  margin: 0 16px 0 !important;
  padding-bottom: 14px !important;
  font-family: 'Inter', sans-serif !important;
  border-bottom: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  line-height: 1.3 !important;
}

ul.products li.product .price > * {
  display: inline-block !important; 
}

ul.products li.product .price ins,
ul.products li.product .price ins .woocommerce-Price-amount {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  text-decoration: none !important;
  font-style: normal !important;
}

ul.products li.product .price del,
ul.products li.product .price del .woocommerce-Price-amount {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  color: #6B6B6B !important;
  text-decoration: line-through !important;
  opacity: 1 !important;
  font-style: normal !important;
  margin-right: 6px !important;
}

/* ── % OFF BADGE ── */
ul.products li.product .df-loop-discount {

  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 6px !important;
  border-radius: 4px !important;
  font-family: 'graphik', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 12px !important;
  letter-spacing: 0.02em !important;
  color: #3d6100 !important;
  background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(235, 247, 216) 100%) !important;
  border: 1px solid rgb(190, 226, 127) !important;
  box-shadow: rgba(104, 159, 56, 0.1) 0px 2px 6px !important;
}
ul.products li.product .price::after {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  background: #EBEBEB !important;
  margin-top: 14px !important;
}
/* --- Desktop Only --- */
@media (min-width: 1025px) {
    ul.products li.product .df-loop-discount {
        margin-left: 8px !important;
    }
}

/* --- Mobile & Tablet Only --- */
@media (max-width: 1024px) {
    ul.products li.product .df-loop-discount {
        margin-top: 4px !important;
    }
}
/* ── ADD TO CART BUTTON ── */
ul.products li.product .woocommerce-loop-product__link + a,
ul.products li.product > a.button,
ul.products li.product .button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 10px 12px 12px !important;
  margin-top: auto !important; /* Pushes button to bottom of flex card */
  width: calc(100% - 24px) !important;
  height: 44px !important;
  border-radius: 10px !important;
  font-family: 'graphik', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0 6px 0 16px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.22s !important;
  box-shadow: none !important;
}

ul.products li.product a.button.product_type_variable {
  background: transparent !important;
  color: #0A0A0A !important;
  border: 1.5px solid #0A0A0A !important;
}

ul.products li.product a.button.product_type_variable:hover {
  background: #0A0A0A !important;
  color: #ffffff !important;
}

ul.products li.product a.button.product_type_variable:hover .df-btn-icon {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

ul.products li.product a.button.add_to_cart_button:not(.product_type_variable) {
  background: #0A0A0A !important;
  color: #ffffff !important;
  border: none !important;
}

ul.products li.product a.button.add_to_cart_button:not(.product_type_variable):hover,
ul.products li.product a.button.add_to_cart_button.added {
  background: #0a7594 !important;
  color: #ffffff !important;
}

ul.products li.product a.button.add_to_cart_button:not(.product_type_variable):hover .df-btn-icon {
  background: rgba(255,255,255,0.2) !important;
}

.df-btn-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  background: #F4F2EE !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  flex-shrink: 0 !important;
  transition: background 0.22s, color 0.22s !important;
  line-height: 1 !important;
  color: #0A0A0A !important;
  font-family: 'Inter', sans-serif !important;
}

ul.products li.product a.button.add_to_cart_button:not(.product_type_variable) .df-btn-icon {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
}

/* ── LOOP RESPONSIVE ── */
@media (max-width: 767px) {
  ul.products li.product img { height: 170px !important; }
  ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  ul.products li.product .price { font-size: 14px !important; }
  ul.products li.product .price ins,
  ul.products li.product .price ins .woocommerce-Price-amount { font-size: 16px !important; }
  
  ul.products li.product a.button.product_type_variable,
  ul.products li.product a.button.add_to_cart_button:not(.product_type_variable) {
    height: 42px !important;
    font-size: 11px !important;
  }
  .df-btn-icon { width: 32px !important; height: 32px !important; font-size: 20px !important; }
}

@media (max-width: 480px) {
  ul.products li.product a.button.product_type_variable,
  ul.products li.product a.button.add_to_cart_button:not(.product_type_variable) {
    height: 40px !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
  }
  .df-btn-icon { width: 30px !important; height: 30px !important; font-size: 18px !important; }
}

/* ==========================================================================
   NATTY CASH BUBBLE (Consolidated & Global)
   ========================================================================== */

/* 1. Base Styles (Applies everywhere: Loops & Shortcode) */
.df-natty-bubble {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  color: #6B4A0A !important;
  background: linear-gradient(135deg, #FFF1C7 0%, #FFE08A 100%) !important;
  border: 1px solid #F0D070 !important;
  border-radius: 20px !important;
  display: flex !important;
  width: max-content !important;
  align-items: center !important;
  letter-spacing: 0.01em !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  font-style: normal !important;
}

/* 2. Loop Specific Styling (Smaller, drops to new line cleanly) */
ul.products li.product .price .df-natty-bubble {
  font-size: 11px !important;
  padding: 2px 8px !important;
  margin-top: 8px !important;
}

/* 3. Shortcode Specific Styling (Slightly larger for Elementor Single Product page) */
.df-natty-bubble.df-natty-shortcode {
  display: inline-flex !important;
  font-size: 14px !important;
  padding: 4px 12px !important;
  margin-top: 10px !important; 
}

/* 4. Mobile Responsive Adjustments */
@media (max-width: 480px) {
  ul.products li.product .price .df-natty-bubble {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .df-natty-bubble.df-natty-shortcode {
    font-size: 12px !important;
  }
}
/* ==========================================================================
   AMAZON ADDRESSES
   ========================================================================== */
.amazon-address-intro { font-size: 14px; color: #565959; margin-bottom: 20px; }
.amazon-addresses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; max-width: 1100px; }
@media (max-width: 900px) { .amazon-addresses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amazon-addresses-grid { grid-template-columns: 1fr; } }

.amazon-add-address-card {
  border: 2px dashed #D5D9D9; border-radius: 8px; background: #fff; min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; color: #565959; transition: background 0.2s ease, color 0.2s ease;
}
.amazon-add-address-card:hover { background: #F7FAFA; color: #007185; }
.amazon-add-address-card .add-icon { font-size: 48px; font-weight: 300; line-height: 1; margin-bottom: 8px; }
.amazon-add-address-card .add-label { font-size: 18px; font-weight: 500; }

.amazon-style-card {
  position: relative; border: 1px solid #D5D9D9; border-radius: 8px; background: #fff;
  display: flex; flex-direction: column; min-height: 240px; overflow: hidden;
}
.amazon-default-badge { background: #F0F2F2; border-bottom: 1px solid #D5D9D9; padding: 8px 16px; font-size: 12px; font-weight: 700; color: #0F1111; }
.amazon-card-body { padding: 16px 20px; flex-grow: 1; font-size: 14px; line-height: 1.5; color: #0F1111; }
.amazon-customer-name { font-weight: 700; margin-bottom: 4px; }
.amazon-style-card address { font-style: normal; margin: 0 0 8px 0; }
.amazon-phone { margin-top: 4px; }
.amazon-address-actions { padding: 12px 20px 16px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.amazon-address-actions .action-link { color: #007185; text-decoration: none; display: inline-block; }
.amazon-address-actions .action-link:hover { color: #C7511F; text-decoration: underline; }
.amazon-address-actions .action-divider { color: #D5D9D9; display: inline-block; }

/* ==========================================================================
   SINGLE PRODUCT PAGE & VARIATION PRICE STYLING
   ========================================================================== */
.single-product div.product p.price,
.single-product div.product span.price,
.woocommerce-variation-price .price,
.elementor-widget-woocommerce-product-price .price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  font-family: 'Inter', sans-serif !important;
  margin: 10px 0 24px !important;
  color: #0A0A0A !important;
}

.single-product div.product .price > .woocommerce-Price-amount,
.woocommerce-variation-price .price > .woocommerce-Price-amount,
.elementor-widget-woocommerce-product-price .price > .woocommerce-Price-amount {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  background: transparent !important;
}

.single-product div.product .price ins,
.woocommerce-variation-price .price ins,
.elementor-widget-woocommerce-product-price .price ins {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  text-decoration: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.single-product div.product .price del,
.woocommerce-variation-price .price del,
.elementor-widget-woocommerce-product-price .price del {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #8B8B8B !important;
  text-decoration: line-through !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Ensure inner spans don't inherit default WooCommerce backgrounds */
.single-product div.product .price ins .woocommerce-Price-amount,
.woocommerce-variation-price .price ins .woocommerce-Price-amount,
.elementor-widget-woocommerce-product-price .price ins .woocommerce-Price-amount,
.single-product div.product .price del .woocommerce-Price-amount,
.woocommerce-variation-price .price del .woocommerce-Price-amount,
.elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount {
  color: inherit !important;
  background: transparent !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .single-product div.product p.price,
  .single-product div.product span.price,
  .woocommerce-variation-price .price,
  .elementor-widget-woocommerce-product-price .price {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  
  .single-product div.product .price ins,
  .woocommerce-variation-price .price ins,
  .elementor-widget-woocommerce-product-price .price ins,
  .single-product div.product .price > .woocommerce-Price-amount,
  .woocommerce-variation-price .price > .woocommerce-Price-amount,
  .elementor-widget-woocommerce-product-price .price > .woocommerce-Price-amount {
    font-size: 20px !important;
  }
  
  .single-product div.product .price del,
  .woocommerce-variation-price .price del,
  .elementor-widget-woocommerce-product-price .price del {
    font-size: 16px !important;
  }
}
/* ==========================================================================
   PAGINATION (Custom & Beautiful)
   ========================================================================== */
.woocommerce nav.woocommerce-pagination {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  border: none !important; /* Removes default woo border */
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Base style for all pagination links/numbers */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  font-family: 'graphik', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #6B6B6B !important; /* Default grey text */
  background: #ffffff !important;
  border: 1.5px solid #EBEBEB !important; /* Light border */
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

/* Hover state for links */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
  color: #0A0A0A !important;
  border-color: #0A0A0A !important; /* Darkens border on hover */
  background: transparent !important;
}

/* Current active page indicator */
.woocommerce nav.woocommerce-pagination ul li span.current {
  color: #ffffff !important;
  background: #0A0A0A !important; /* Inverted for current page */
  border-color: #0A0A0A !important;
}

/* Next / Prev Buttons Specifics */
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev {
  font-size: 18px !important; /* Slightly larger for the arrow symbols */
  padding: 0 16px !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span {
    min-width: 38px !important;
    height: 38px !important;
    font-size: 13px !important;
  }
}