/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        4.10.8
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.wc-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 20px;
  margin-bottom: 30px;
}

.wc-subcategory {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.wc-subcategory-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* keeps square size */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wc-subcategory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures same size, cropped nicely */
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.wc-subcategory:hover img {
  transform: scale(1.05);
}

.wc-subcategory-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ✅ Responsive adjustments */
@media (max-width: 991px) {
  .wc-subcategories-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 600px) {
  .wc-subcategories-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


/* Style for the checkout shipping note */
.custom-shipping-note {
    
    padding: 12px 15px;
    background-color: #fffbf4;  /* light gray background */   
    font-size: 14px;
    color: #333;
    border:1px solid;
    border-radius: 4px;
    margin-top: -29px;
    margin-bottom: 20px;
    border-color:#f0b849 ;
    border-left: 4px solid #f0b849; /* blue accent line */
}

.custom-shipping-note a {
    color: #ea4e1b!important;
    text-decoration: underline;
    font-weight: 500;
}