* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color:white ;
  color: #333;
}

img { max-width: 100%; display: block; }

/* ==========================================
   1. TOP HEADER & MAIN HEADER
========================================== */
.easyshop-top-header {
  background-color: #1a202c;
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 8px 10px;
}

.easyshop-top-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.easyshop-top-header a {
  color: #e2e8f0;
  text-decoration: none;
  margin-left: 12px;
}

.easyshop-top-header-links ul { list-style: none; display: inline-flex; }
.easyshop-top-header-links li { display: inline-block; }

.easyshop-main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  height:85px;/*set the header height---*/
}

.easyshop-main-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.easyshop-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger Menu Button (Mobile) */
.easyshop-drawer-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a202c;
}

.easyshop-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b6cb0;
  text-decoration: none;
}

.easyshop-logo img {
 height:50px;
 width:80px;
}
/* Mobile styles */
@media (max-width: 768px) {
  .easyshop-drawer-header {
    background-color: #000000;
    /* Optional: add padding so the background extends beyond the text */
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
  }
}
.easyshop-nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.easyshop-nav-menu li { position: relative; }

.easyshop-nav-menu a {
  text-decoration: none;
  color:White;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.easyshop-nav-menu a:hover,
.easyshop-nav-menu .current-menu-item > a {
  color: #2b6cb0;
}

/* Dropdown support for WP menus with children */
.easyshop-nav-menu ul.sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 200;
}

.easyshop-nav-menu li:hover > ul.sub-menu { display: flex; }
.easyshop-nav-menu ul.sub-menu a { padding: 6px 8px; display: block; border-radius: 4px; }
.easyshop-nav-menu ul.sub-menu a:hover { background: #f7fafc; }

.easyshop-header-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf2f7;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: #2d3748;
  font-weight: 600;
  font-size: 0.85rem;
}

.easyshop-cart-badge {
  background: #2b6cb0;
  color: #fff;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.75rem;
}

/* ==========================================
   2. MOBILE DRAWER & BACKDROP
========================================== */
.easyshop-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.easyshop-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.easyshop-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.easyshop-drawer.active {
  left: 0;
}

.easyshop-drawer-header {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.easyshop-drawer-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

.easyshop-drawer-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.easyshop-drawer-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #a0aec0;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.easyshop-drawer-content .easyshop-category-list { list-style: none; }
.easyshop-drawer-content .easyshop-category-list > li > a { display: block; padding: 5px 5px; color: #4a5568; text-decoration: none; border-radius: 6px; font-weight: 300;}
.easyshop-drawer-content .easyshop-category-list > li > a:hover { background: #f7fafc; color: #1a202c; }


/* ==========================================
   3. COLLAPSIBLE CATEGORY TREE
========================================== */
.easyshop-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.easyshop-cat-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Category header styling (top-level and sub-parents) */
.easyshop-cat-header {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: #2d3748;
  font-size: 0.95rem; /* Adjusted base font size */
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}

/* Folder icon for all headers and subcategory links 
.easyshop-cat-header::before {
  content: "\f07b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.95rem; /* Matches text font size 
  margin-right: 8px;
  color: #4a5568;
}
*/
.easyshop-cat-header:hover {
  background: #f7fafc;
  color: #2b6cb0;
}

.easyshop-cat-header:hover::before {
  color: #2b6cb0;
}

.easyshop-toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
  margin-left: auto;
  color: #718096;
}

.easyshop-cat-item.open > .easyshop-cat-header .easyshop-toggle-icon {
  transform: rotate(180deg);
}

/* Subcategories Container */
.easyshop-subcategory-list {
  list-style: none;
  padding-left: 16px;
  display: none;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.easyshop-cat-item.open > .easyshop-subcategory-list {
  display: flex;
  margin-top: 2px;
}

/* Leaf subcategory items (items without children) */
.easyshop-subcategory-list .easyshop-subcat-link {
  font-size: 0.88rem; /* Slightly smaller for hierarchical structure */
  font-weight: 500;
  color: #4a5568;
}





/* ==========================================
   4. MAIN CONTENT CONTAINER
========================================== */
.easyshop-layout-container {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top Section: 3-Column Grid */
.easyshop-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr 240px;
  gap: 20px;
}

.easyshop-layout-grid.easyshop-no-sidebar { grid-template-columns: 1fr 280px; }
.easyshop-layout-grid.easyshop-no-promo { grid-template-columns: 240px 1fr; }
.easyshop-layout-grid.easyshop-no-sidebar.easyshop-no-promo { grid-template-columns: 1fr; }

.easyshop-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

/* Column 1: Left Category Sidebar */
.easyshop-category-sidebar h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #edf2f7;
}

/* Column 2: Center Main Content Area */
.easyshop-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Main Hero Banner / Slider */
.easyshop-slider-banner {
  background: #edf2f7;
  background-size: contain;
  background-position: center;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.easyshop-slider-content h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.easyshop-slider-content .easyshop-slider-btn {
  display: inline-block;
  margin-top: 12px;
  background: #1a202c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.easyshop-slider-arrow {
  background: #ffffff;
  border: 1px solid #cbd5e0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  z-index: 5;
}

/* Offer/product slides inside the hero banner: full-bleed image + price overlay */
.easyshop-slider-viewport {
  position: relative;
  flex: 1;
  height: 100%;
  margin: 0 16px;
  overflow: hidden;
  border-radius: 8px;
}

.easyshop-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.easyshop-slider-slide {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.easyshop-slider-slide-media {
  position: absolute;
  inset: 0;
  display: block;
}

.easyshop-slider-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.easyshop-slider-slide-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #718096;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}

.easyshop-slider-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.easyshop-slider-price-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(26, 32, 44, 0.85);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  z-index: 2;
}

.easyshop-slider-price-overlay del {
  color: #cbd5e0;
  font-weight: 400;
  margin-right: 6px;
  font-size: 0.9rem;
}

.easyshop-slider-price-overlay ins {
  text-decoration: none;
}

@media (max-width: 600px) {
  .easyshop-slider-price-overlay {
    font-size: 1rem;
    padding: 6px 12px;
  }
}

/*========================================================*/
/* Slider & Side Columns Container */
/*========================================================*/
.easyshop-slider-wrapper-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: stretch;
  overflow: hidden;
}

/* Ensure central slider expands dynamically to fill remaining space */
.easyshop-slider-wrapper-grid .easyshop-slider-banner {
  flex: 1;
  min-width: 0;
  height: 350px; /* Maintains default height */
}

/* Side Column Container */
.easyshop-slider-side-col {
  width: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* Side Item Styling */
.easyshop-slider-side-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  height: calc(50% - 4px); /* Equal split for 2 items */
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.easyshop-slider-side-item:hover {
  border-color: #2b6cb0;
  transform: translateY(-2px);
}

.easyshop-side-item-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7fafc;
  border-radius: 4px;
}

.easyshop-side-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.easyshop-side-item-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.easyshop-side-item-price {
  font-size: 0.7rem;
  color: #2b6cb0;
  font-weight: 700;
}

/* Fallback state when product has no featured image */
.easyshop-side-item-noimg {
  font-size: 0.65rem;
  color: #a0aec0;
}

/* ==========================================
   Responsive Control for Mobile Devices
========================================== */
@media (max-width: 768px) {
  /* Keep horizontal row layout on mobile screens */
  .easyshop-slider-wrapper-grid {
    flex-direction: row;
    gap: 6px;
  }

  /* Adjust center slider height for small viewports */
  .easyshop-slider-wrapper-grid .easyshop-slider-banner {
    height: auto;
  }

  /* Scale side column widths for smaller screens */
  .easyshop-slider-side-col {
    width: 85px;
    flex-direction: column;
  }

  /* Maintain vertical column layout inside side cards */
  .easyshop-slider-side-item {
    width: 100%;
    height: calc(50% - 3px);
    flex-direction: column;
    padding: 4px;
  }

  .easyshop-side-item-img {
    width: 100%;
    height: auto;
  }

  .easyshop-side-item-title {
    font-size: 0.65rem;
  }

  .easyshop-side-item-price {
    font-size: 0.62rem;
  }

  /* Customizer Mobile Visibility Toggles - Hide columns completely when toggled off */
  .easyshop-slider-wrapper-grid.hide-left-mobile .easyshop-slider-col-left {
    display: none !important;
  }

  .easyshop-slider-wrapper-grid.hide-right-mobile .easyshop-slider-col-right {
    display: none !important;
  }
}
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
/* --- Universal Product Sections --- */
.easyshop-product-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 5px;
}

.easyshop-product-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.easyshop-product-section h3 {
  font-size: 1.1rem;
}

.easyshop-product-section-head a {
  font-size: 0.8rem;
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
}


.easyshop-product-row {
  display: grid !important;
  /* Dynamically distributes available space into N equal columns without overflow */
  grid-template-columns: repeat(var(--easyshop-cols, 8), minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Force each item to occupy exactly ONE grid column */
.easyshop-product-row > * {
  grid-column: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
}

.easyshop-product-card {
  width: 100% !important;
  min-width: 0 !important; /* Prevents flex/grid children from overflowing */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}


/* ==========================================================================
   Mobile Styles (Default)
   ========================================================================== */

/* Container wrapper for image */
.easyshop-product-card .woocommerce-loop-product__thumbnail,
.easyshop-product-card .easyshop-card-image-wrapper {
  width: 100% !important;
  min-height: 200px !important;
  height: 200px !important; /* Fixed height stops thumbnail vertical compression */
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 6px 6px 0 0;
}

/* Force image to fill entire space without distortion */
.easyshop-product-card img,
.easyshop-product-card .easyshop-card-img {
  width: 100% !important;
  min-height: 200px !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.easyshop-product-card a.easyshop-product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.easyshop-product-img-placeholder {
  background: #e2e8f0;
  height: 200px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-size: 0.8rem;
  overflow: hidden;
}

.easyshop-product-img-placeholder img {
  width: 100%;
  min-height: 200px !important;
  height: 100%;
  object-fit: cover !important;
}


/* ==========================================================================
   Desktop Styles (768px and wider)
   ========================================================================== */
@media (min-width: 768px) {

  /* Container wrapper for image */
  .easyshop-product-card .woocommerce-loop-product__thumbnail,
  .easyshop-product-card .easyshop-card-image-wrapper {
    width: 100% !important;
    min-height: 280px !important; /* Increased height for desktop screens */
    height: 280px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 6px 6px 0 0;
  }

  /* Force image to fill entire space without distortion */
  .easyshop-product-card img,
  .easyshop-product-card .easyshop-card-img {
    width: 100% !important;
    min-height: 280px !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .easyshop-product-card a.easyshop-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .easyshop-product-img-placeholder {
    background: #e2e8f0;
    height: 280px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 0.8rem;
    overflow: hidden;
  }

  .easyshop-product-img-placeholder img {
    width: 100%;
    min-height: 280px !important;
    height: 100%;
    object-fit: cover !important;
  }
}

.easyshop-product-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.easyshop-product-price {
  font-size: 0.8rem;
  color: #2b6cb0;
  margin-bottom: 8px;
}

.easyshop-product-price del { color: #a0aec0; margin-right: 4px; font-weight: 400; }
.easyshop-product-price ins { text-decoration: none; }

.easyshop-btn-cart,
.easyshop-product-card .add_to_cart_button,
.easyshop-product-card .product_type_variable,
.easyshop-product-card a.button {
  background: #2b6cb0;
  color: #fff !important;
  border: none;
  padding: 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.easyshop-btn-cart:hover,
.easyshop-product-card .add_to_cart_button:hover {
  background: #1a202c;
}

.easyshop-product-empty { color: #a0aec0; font-size: 0.9rem; padding: 20px 0; text-align: center; }

/* Column 3: Right Category Image Card */
.easyshop-right-promo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.easyshop-right-promo-card h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #edf2f7;
}
.easyshop-promo-img-placeholder {
  background: #cbd5e0;
  height: 220px;
  border-radius: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5568;
  overflow: hidden;
}

.easyshop-promo-img-placeholder img { width: 100%; height: 100%; object-fit: contain; }

.easyshop-promo-btn {
  background: #1a202c;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: auto;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}
@media (max-width: 768px) {
  /* Remove top margin on the layout container */
  .easyshop-layout-container {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  /* Clear default card padding/margins if the slider is wrapped in a card box */
  .easyshop-card-box {
    padding-top: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  /* Ensure slider touches the top edge */
  .easyshop-slider-banner {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .easyshop-slider-viewport {
    margin: 0;
    border-radius: 0;
  }
}


/* ==========================================
   5. 3-COLUMN FOOTER
========================================== */
.easyshop-footer {
  background-color: #1a202c;
  color: #a0aec0;
  padding: 40px 24px 20px 24px;
  margin-top: 40px;
}

.easyshop-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2d3748;
}

.easyshop-footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.easyshop-footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.easyshop-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.easyshop-footer-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.easyshop-footer-links a:hover {
  color: #ffffff;
}

.easyshop-bottom-footer {
  max-width: 1400px;
  margin: 20px auto 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: #718096;
}
/*right column category-----=======*
  
/* Container grid that auto-
fills small boxes */
.easyshop-category-box-grid {
  display: grid;
  grid-template-columns: 
repeat(auto-fill, minmax(70px, 
1fr));
  gap: 8px;
  width: 100%;
  max-height:100%;
  overflow-y: auto;
  padding-right: 2px;
}

/* Individual small category 
card */
.easyshop-category-box-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px;
  transition: all 0.2s ease-in-
out;
}

.easyshop-category-box-
item:hover {
  border-color: #3182ce;
  box-shadow: 0 2px 4px rgba(0, 
0, 0, 0.05);
  transform: translateY(-1px);
}

/* Category Image Container */
.easyshop-category-box-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: #edf2f7;
}

.easyshop-category-box-img img 
{
  width: 100%;
  height: 100%;
  object-fit:contain;
}

/* Category Title Styling */
.easyshop-category-box-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: #2d3748;
  margin-top: 4px;
  text-align: center;
  line-height: 1.1;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fallback letter for 
categories without an image */
.easyshop-category-box-noimg {
  font-size: 1.1rem;
  font-weight: bold;
  color: #a0aec0;
  text-transform: uppercase;
}

/* ==========================================
   6. WOOCOMMERCE PAGE ADJUSTMENTS
   (shop / archive / single / cart / checkout)
========================================== */
.easyshop-woo-page-wrap {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 24px;
}

.easyshop-woo-page-wrap ul.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
}

.easyshop-woo-page-wrap ul.products li.product {
  list-style: none;
  display: flex;
}

.easyshop-woo-page-wrap ul.products li.product .easyshop-product-card {
  width: 100%;
}

.woocommerce-breadcrumb {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 16px;
}

.woocommerce-breadcrumb a { color: #718096; }

.single-product .easyshop-woo-page-wrap,
.woocommerce-cart .easyshop-woo-page-wrap,
.woocommerce-checkout .easyshop-woo-page-wrap,
.woocommerce-account .easyshop-woo-page-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: #2b6cb0;
  color: #fff;
  border-radius: 6px;
  border: none;
}

.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #1a202c;
  color: #fff;
}

.woocommerce span.onsale {
  background: #2b6cb0;
}

/* ==========================================
   7. RESPONSIVE BREAKPOINTS
========================================== */
@media (max-width: 992px) {
  .easyshop-drawer-toggle {
    display: block; /* Show hamburger button */
    color:white;
  }

  .easyshop-category-sidebar {
    display: none; /* Hide left category sidebar on mobile/tablets */
  }

  .easyshop-layout-grid,
  .easyshop-layout-grid.easyshop-no-sidebar,
  .easyshop-layout-grid.easyshop-no-promo {
    grid-template-columns: 1fr;
  }

  .easyshop-footer-inner {
    grid-template-columns: 1fr;
  }

  .easyshop-woo-page-wrap ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .easyshop-nav-menu {
    display: none; /* Hide header menu links on small mobile screens */
  }

  .easyshop-top-header-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .easyshop-product-row {
   display: grid !important;
    grid-template-columns: repeat(var(--easyshop-mobile-cols, 2), minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .easyshop-woo-page-wrap ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive adjustments */



/* ==========================================================================
   Header Search Bar
   ========================================================================== */
.easyshop-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.easyshop-header-search {
    display: flex;
    align-items: center;
}

.easyshop-header-search form {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Mobile Default Size (Small) */
.easyshop-header-search input[type="search"] {
    width:80px;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.easyshop-header-search button {
    padding: 6px 10px;
    font-size: 12px;
    background: #0073aa;
    color: #ffffff;
    border: 1px solid #0073aa;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* PC/Desktop Size (Large) */
@media (min-width: 992px) {
    .easyshop-header-search input[type="search"] {
        width: 350px;
        padding: 9px 14px;
        font-size: 14px;
    }

    .easyshop-header-search button {
        padding: 9px 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Search Results Page Layout
   ========================================================================== */
   
.easyshop-taxonomy-archive-wrapper,.easyshop-search-archive-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.easyshop-search-header {
	margin-bottom: 30px;
	text-align: center;
}




/* Grid layout using CSS variables passed from inline style */
.easyshop-main-search-products .easyshop-grid-loop,
.easyshop-recommended-products-section .easyshop-product-row {
	display: grid;
	grid-template-columns: repeat(var(--easyshop-cols, 4), 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Ensure WooCommerce reset defaults inside grid */
.easyshop-main-search-products ul.products::before,
.easyshop-main-search-products ul.products::after {
	display: none !important;
}

.easyshop-main-search-products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

/* Recommendation Section Header */
.easyshop-recommended-products-section {
	margin-top: 50px;
	border-top: 1px solid #e5e5e5;
	padding-top: 30px;
}

.easyshop-product-section-head h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

/* Responsive Styles for Mobile */
@media (max-width: 767px) {
	.easyshop-main-search-products .easyshop-grid-loop,
	.easyshop-recommended-products-section .easyshop-product-row {
		grid-template-columns: repeat(var(--easyshop-mobile-cols, 2), 1fr);
		gap: 12px;
	}
}
   
   /* Container Layout */
.easyshop-search-two-column-layout {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}

/* Left Column: Products Grid */
.easyshop-search-main-content {
	flex: 1;
	min-width: 0;
}

/* Right Column: Category Sidebar */
.easyshop-search-sidebar {
	width: 100%;
}

.easyshop-card-box.easyshop-category-sidebar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
}

.easyshop-card-box.easyshop-category-sidebar h2 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 12px;
}

/* Desktop Flex Alignment */
@media (min-width: 992px) {
	.easyshop-search-two-column-layout {
		flex-direction: row;
		align-items: flex-start;
	}

	.easyshop-search-sidebar {
		width: 280px;
		flex-shrink: 0;
		position: sticky;
		top: 20px;
	}
}

/* Bottom Full Width Recommended Section */
.easyshop-recommended-products-section {
	width: 100%;
	border-top: 1px solid #e2e8f0;
	padding-top: 30px;
}
   
   
  /* ==========================================================================
   EasyShop Search & Taxonomy Grid CSS end 
========================================================================== */   
   
   
   
   
   
   
   
   
   
   



/* Layout Container */
.woocommerce-account .custom-account-dashboard {
    display: flex;
    width: 100%;
    align-self: stretch;
    min-height: 420px;
    gap: 30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    box-sizing: border-box;
}

/* Sidebar Navigation (Tabs) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* Tab Hover & Active States */
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #f7fafc;
    color: #2b6cb0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #3182ce;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

/* Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    padding-left: 10px;
}

/* Responsive Grid for Mobile */
@media (max-width: 768px) {
    .woocommerce-account .custom-account-dashboard {
        flex-direction: column;
        padding: 20px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-right: 0;
        padding-bottom: 15px;
        overflow-x: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 8px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        white-space: nowrap;
        margin-bottom: 0;
    }
}
/* Hide Mobile Search Trigger & Bar on Desktop */
.easyshop-mobile-search-toggle,
.easyshop-mobile-search-bar {
    display: none;
}

.easyshop-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile responsive layout adjustment */
@media (max-width: 768px) {
    /* Hide the default desktop search form */
    .easyshop-header-search {
        display: none !important;
    }

    /* Show the mobile search icon button */
    .easyshop-mobile-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.2rem;
        padding: 6px 10px;
        cursor: pointer;
    }

    /* Expandable search bar under header */
    .easyshop-mobile-search-bar {
        display: none;
        width: 100%;
        background-color: #000000;
        padding: 10px 15px;
        box-sizing: border-box;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .easyshop-mobile-search-bar.active {
        display: block;
    }

    .easyshop-mobile-search-bar form {
        display: flex;
        width: 100%;
    }

    .easyshop-mobile-search-bar input[type="search"] {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #0284c7;
        border-right: none;
        border-radius: 4px 0 0 4px;
        outline: none;
        font-size: 14px;
    }

    .easyshop-mobile-search-bar button[type="submit"] {
        background-color: #0284c7;
        color: #ffffff;
        border: none;
        padding: 0 16px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }
}
@media (min-width: 992px) {
    #easyshopMobileSearch {
        display: none !important;
    }
}


/* Dashicons alignment — replaces the previous CDN-loaded Font Awesome icons. */
.easyshop-header-cart .dashicons,
.easyshop-mobile-search-toggle .dashicons,
.easyshop-drawer-search .dashicons,
.product-image-placeholder .dashicons,
.image-caption .dashicons,
.tab-btn .dashicons,
.notice-badge .dashicons,
.stock-info .dashicons,
.single_add_to_cart_button .dashicons,
.check-icon.dashicons,
.star-icon.dashicons,
.rating-text-wrap .dashicons,
.review-date .dashicons,
.no-reviews-box .dashicons,
.write-review-box .dashicons {
  font-size: 1.1em;
  width: auto;
  height: auto;
  line-height: 1;
  vertical-align: -0.15em;
}

/* checkout form and footer icon css-----*/
/* ==========================================================================
   WooCommerce Classic Checkout Modern Styling & Layout Fix
   ========================================================================== */

/* Main Container Layout */
.woocommerce-checkout/* Main Container Layout - Full Width Fix */
.woocommerce-checkout {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 15px 0 !important;
  box-sizing: border-box;
}






.woocommerce-checkout::after {
  content: "";
  display: table;
  clear: both;
}

/* Two-Column Grid Setup */
.woocommerce-checkout .col2-set {
  width: 58%;
  float: left;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 38%;
  float: right;
}

.woocommerce-checkout #order_review {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 8px;
}

/* Form Row & Input Styling */
.woocommerce-checkout .form-row {
  margin-bottom: 16px;
  display: block;
  clear: both;
}

.woocommerce-checkout .form-row-first {
  width: 48%;
  float: left;
  clear: none;
}

.woocommerce-checkout .form-row-last {
  width: 48%;
  float: right;
  clear: none;
}

.woocommerce-checkout .form-row-wide {
  width: 100%;
  clear: both;
}

.woocommerce-checkout label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2937;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout textarea {
  height: auto;
  min-height: 90px;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Coupon Notice Bar */
.woocommerce-form-coupon-toggle .woocommerce-info {
  background-color: #eff6ff;
  border-top: 3px solid #2563eb;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 4px;
  color: #1e40af;
}

/* Order Summary Table */
.woocommerce-checkout #order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  padding: 12px 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.woocommerce-checkout #order_review table.shop_table td.product-name {
  font-size: 14px;
  color: #374151;
}

.woocommerce-checkout #order_review table.shop_table td.product-total {
  text-align: right;
  font-weight: 600;
}

/* Payment Methods Section */
.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  margin: 0 0 20px 0;
  list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 12px;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  margin-right: 8px;
}

.woocommerce-checkout #payment div.payment_box {
  background: #eef2ff;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #3730a3;
  margin-top: 8px;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.woocommerce-checkout #place_order:hover {
  background-color: #1d4ed8;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    width: 100%;
    float: none;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    float: none;
  }

  .woocommerce-checkout #order_review {
    margin-top: 30px;
  }
} 
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: 90% !important;
  float: none !important;
  clear: both !important;
} 
/* Checkout Order Review Product Images Styling */
.woocommerce-checkout .checkout-product-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-checkout img.checkout-product-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.woocommerce-checkout .checkout-product-title {
  font-weight: 500;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.4;
}

.woocommerce-checkout table.shop_table td.product-name {
  vertical-align: middle;
}



.easyshop-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.easyshop-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--social-icon-color, #ffffff);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.easyshop-social-links a svg {
  fill: var(--social-icon-color, #ffffff);
  stroke: var(--social-icon-color, #ffffff);
  width: 20px;
  height: 20px;
}

.easyshop-social-links a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
/*==========================translation csss start ======= */
/*==========================translation csss start ======= */

/* Completely hide the Google Translate top banner iframe */
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.goog-te-banner-frame,
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Prevent Google Translate from shifting the body top position down */
body {
  top: 0px !important;
  position: static !important;
}

/* Hide hover popups, tooltips, and highlighting */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/*==========================translation csss end ======= */
/*==========================translation csss end ======= */
/*=========================== order traking=======my-account===*/


/* 1. Side-by-Side Layout for Vertical Navigation + Content */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 220px;
}

.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .custom-account-dashboard::after {
    content: "";
    display: table;
    clear: both;
}

/* 2. Vertical Navigation Menu Styling */
.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background-color: #0073aa;
    color: #ffffff;
}

/* 3. Account Details Form Layout */
.woocommerce-EditAccountForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* First & Last Name Two-Column Grid */
.woocommerce-EditAccountForm p.form-row-first,
.woocommerce-EditAccountForm p.form-row-last {
    width: 48%;
    float: left;
    margin-bottom: 0;
}

.woocommerce-EditAccountForm p.form-row-last {
    float: right;
}

.woocommerce-EditAccountForm::after {
    content: "";
    display: table;
    clear: both;
}

/* Form Fields Styling */
.woocommerce-EditAccountForm p.form-row {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.woocommerce-EditAccountForm label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.woocommerce-EditAccountForm label .required {
    color: #ef4444;
    text-decoration: none;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-EditAccountForm input:focus {
    border-color: #0073aa !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15) !important;
}

/* Helper Text below Display Name */
.woocommerce-EditAccountForm span,
.woocommerce-EditAccountForm em {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-style: normal;
}

/* Fieldset / Password Change Box */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.woocommerce-EditAccountForm fieldset legend {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
    padding: 0 8px;
}

/* Submit Button */
.woocommerce-EditAccountForm button.button,
.woocommerce-EditAccountForm button[type="submit"] {
    align-self: flex-start;
    padding: 12px 28px;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.woocommerce-EditAccountForm button.button:hover,
.woocommerce-EditAccountForm button[type="submit"]:hover {
    background-color: #005177;
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        flex: none;
    }

    .woocommerce-EditAccountForm p.form-row-first,
    .woocommerce-EditAccountForm p.form-row-last {
        width: 100%;
        float: none;
    }
}


/* 2. WooCommerce Notice Box (Confirm Email Bar) */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    background-color: #f0f7ff;
    border-left: 4px solid #0073aa;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 25px;
}

.woocommerce-message a, 
.woocommerce-info a {
    font-weight: 600;
    color: #0073aa;
    text-decoration: underline;
}

/* 3. Orders Table Formatting */
table.woocommerce-orders-table,
.woocommerce-account-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
}

/* Table Headers */
table.woocommerce-orders-table th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

/* Table Rows & Cells */
table.woocommerce-orders-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

table.woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

/* Order Number Link */
table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
}

table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* 4. Action Buttons (View Button Fix) */
table.woocommerce-orders-table .button,
table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1f5f9;
    color: #0f172a;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

table.woocommerce-orders-table .button:hover,
table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a:hover {
    background-color: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
}

/* Mobile Responsiveness for Tables */
@media (max-width: 768px) {
    table.woocommerce-orders-table th,
    table.woocommerce-orders-table td {
        padding: 10px;
        font-size: 13px;
    }
} 
/* ==========================================================================
   WooCommerce Edit Address Form Styling
   ========================================================================== */

/* Form Container & Layout */
.woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

/* Full Width Fields (Country, District, Street Address, Email, etc.) */
.woocommerce-address-fields__field-wrapper p.form-row-wide,
.woocommerce-address-fields__field-wrapper p#billing_country_field,
.woocommerce-address-fields__field-wrapper p#billing_address_1_field,
.woocommerce-address-fields__field-wrapper p#billing_address_2_field,
.woocommerce-address-fields__field-wrapper p#billing_email_field,
.woocommerce-address-fields__field-wrapper p#shipping_country_field,
.woocommerce-address-fields__field-wrapper p#shipping_address_1_field,
.woocommerce-address-fields__field-wrapper p#shipping_address_2_field {
    grid-column: span 2;
}

/* Base Form Rows */
.woocommerce-address-fields p.form-row {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* Form Labels */
.woocommerce-address-fields label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.woocommerce-address-fields label .required {
    color: #ef4444;
    text-decoration: none;
}

/* Inputs, Selects & Select2 Dropdowns */
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="tel"],
.woocommerce-address-fields input[type="email"],
.woocommerce-address-fields select,
.woocommerce-address-fields .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Input Focus States */
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus,
.woocommerce-address-fields .select2-container--open .select2-selection--single {
    border-color: #0073aa !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15) !important;
}

/* Fix Select2 Alignment */
.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding-left: 0 !important;
    color: #1e293b !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}

/* Save Address Submit Button */
.woocommerce-address-fields button.button,
.woocommerce-EditAddress button[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.woocommerce-address-fields button.button:hover,
.woocommerce-EditAddress button[type="submit"]:hover {
    background-color: #005177;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .woocommerce-address-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-address-fields__field-wrapper p.form-row {
        grid-column: span 1 !important;
    }
}


/* ==========================================================================
   WooCommerce Addresses Page Styling
   ========================================================================== */

/* Subtitle description text */
.woocommerce-Address-title + p,
.woocommerce-MyAccount-content > p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* Grid layout for Billing & Shipping addresses */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 15px;
}

/* Address Card Container */
.woocommerce-Address {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-Address:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* Address Header Flex Container */
.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

/* Edit Address Link Styled as a Button */
.woocommerce-Address-title a.edit,
.woocommerce-Address .edit {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1f5f9;
    color: #0073aa;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-Address-title a.edit:hover,
.woocommerce-Address .edit:hover {
    background-color: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
}

/* Formatted Address Text */
.woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* Main Wrapper */
.easyshop-tracking-wrapper {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.easyshop-tracking-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

/* Search Bar & Form */
.easyshop-tracking-search-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.easyshop-form-group {
    margin-bottom: 15px;
}

.easyshop-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
}

.easyshop-form-group select,
.easyshop-form-search-input input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
}

.easyshop-form-search-input {
    display: flex;
    gap: 10px;
}

.easyshop-btn-track {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.easyshop-btn-track:hover {
    background-color: #005177;
}

/* Error Alert */
.easyshop-tracking-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Tracking Card */
.easyshop-tracking-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.easyshop-tracking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.easyshop-tracking-card-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1a202c;
}

.easyshop-tracking-card-header .order-date {
    font-size: 13px;
    color: #718096;
}

/* Pipeline Stepper (Visual Process Bar) */
.easyshop-pipeline-stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 30px 0 40px 0;
}

/* Connecting Line */
.easyshop-pipeline-stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.easyshop-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.easyshop-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.easyshop-step-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Completed Step State */
.easyshop-step-item.is-completed .easyshop-step-badge {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.easyshop-step-item.is-completed .easyshop-step-label {
    color: #065f46;
    font-weight: 600;
}

/* Active Step State */
.easyshop-step-item.is-active .easyshop-step-badge {
    background-color: #ffffff;
    border-color: #0073aa;
    color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

.easyshop-step-item.is-active .easyshop-step-label {
    color: #0073aa;
    font-weight: 700;
}

/* Failure Alert Box */
.easyshop-tracking-alert-failed {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 16px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 25px;
}

.easyshop-tracking-alert-failed h5 {
    margin: 0 0 6px 0;
    color: #c53030;
    font-size: 15px;
}

.easyshop-tracking-alert-failed p {
    margin: 0;
    color: #742a2a;
    font-size: 14px;
}

/* Order Items Section */
.easyshop-tracking-items {
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
}

.easyshop-tracking-items h5 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #2d3748;
}

.easyshop-tracking-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.easyshop-tracking-items li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
    color: #4a5568;
}

.easyshop-tracking-items li:last-child {
    border-bottom: none;
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 600px) {
    .easyshop-form-search-input {
        flex-direction: column;
    }

    .easyshop-pipeline-stepper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .easyshop-pipeline-stepper::before {
        top: 0;
        bottom: 0;
        left: 17px;
        width: 3px;
        height: 100%;
    }

    .easyshop-step-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .easyshop-step-badge {
        margin: 0;
    }
}
/*========================order-traking-my-account-page====*/
/*===order success------------------*/
/* WooCommerce Order Received / Thank You Page Styling */
.woocommerce-order {
    max-width: 800px;
    margin: 30px auto;
    font-family: inherit;
}

/* Success Header */
.woocommerce-order > p.woocommerce-notice--success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Order Overview Meta Cards */
ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
}

ul.woocommerce-order-overview li {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul.woocommerce-order-overview li strong {
    display: block;
    font-size: 1.1rem;
    color: #111827;
    margin-top: 4px;
    font-weight: 600;
}

/* Section Headings */
.woocommerce-order h2.woocommerce-order-details__title,
.woocommerce-order h2.woocommerce-column__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 32px 0 16px 0;
}

/* Order Table Container */
.woocommerce-order table.woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.woocommerce-order table.woocommerce-table--order-details th,
.woocommerce-order table.woocommerce-table--order-details td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.woocommerce-order table.woocommerce-table--order-details thead th {
    background-color: #f9fafb;
    color: #111827;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-order table.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-order table.woocommerce-table--order-details tfoot th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
    text-align: right;
}

.woocommerce-order table.woocommerce-table--order-details tfoot td {
    text-align: right;
    font-weight: 600;
    color: #111827;
}

/* Total Highlight Row */
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 1.1rem;
    color: #059669;
    border-top: 2px solid #e5e7eb;
}

/* Customer Details & Addresses Grid */
.woocommerce-customer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.woocommerce-customer-details address {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-style: normal;
    line-height: 1.6;
    color: #4b5563;
}
/*----------------------------------------------------shop---page--------css
/* Custom Shop & Category Grid */
.easyshop-shop-archive-wrapper .products {
  display: grid !important;
  grid-template-columns: repeat(var(--easyshop-cols, 4), minmax(0, 1fr)) !important;
  gap: 16px;
}

/* Mobile Media Query */
@media (max-width: 600px) {
  .easyshop-shop-archive-wrapper .products {
    grid-template-columns: repeat(var(--easyshop-mobile-cols, 2), minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/*------------------------------category page---------------------
/* Subcategories Grid */
.easyshop-subcategories-section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.easyshop-subcategories-section .section-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: #1a202c;
}

/* Category Grid */
.easyshop-category-grid {
  display: grid;
  grid-template-columns: repeat(var(--easyshop-cols, 4), minmax(0, 1fr));
  gap: 16px;
}

.easyshop-category-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.easyshop-cat-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.easyshop-cat-info {
  padding: 10px;
}

/* Recommendation Section Divider */
.easyshop-recommended-products-section {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #edf2f7;
}

/* Mobile Media Queries */
@media (max-width: 600px) {
  .easyshop-category-grid {
    grid-template-columns: repeat(var(--easyshop-mobile-cols, 2), minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* Dynamic Grid Layout for Subcategories, Main Products, & Recommendations */
.easyshop-subcategories-section .easyshop-category-grid,
.easyshop-main-category-products .products,
.easyshop-recommended-products-section .easyshop-product-row {
  display: grid !important;
  grid-template-columns: repeat(var(--easyshop-cols, 4), minmax(0, 1fr)) !important;
  gap: 16px;
}

/* Mobile Layout Override */
@media (max-width: 600px) {
  .easyshop-subcategories-section .easyshop-category-grid,
  .easyshop-main-category-products .products,
  .easyshop-recommended-products-section .easyshop-product-row {
    grid-template-columns: repeat(var(--easyshop-mobile-cols, 2), minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}