:root {
  --primary-color: #FF733F;
  --secondary-color: #000;
  --accent-color: #f5f0e1;
  --white-color: #fff;
  --black-color: #000;
  --primary-hover-color: #FF733F;
  --secondary-hover-color: #000;
  --primary-font: 'Dubai Unicode', sans-serif;
}

.entry-header {
  display: none !important;
}


/* @font-face {
    font-family: 'Noto Nastaliq Urdu';
    src: url('../fonts/noto-nastaliq-urdu/NotoNastaliqUrdu-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
} */

@font-face {
  font-family: 'Dubai Unicode';
  src: url('../fonts/dubai-unicode/Dubai-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Dubai Unicode';
  src: url('../fonts/dubai/Dubai-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Dubai Unicode';
  src: url('../fonts/dubai/Dubai-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Dubai Unicode';
  src: url('../fonts/dubai/Dubai-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


body {
  direction: rtl;
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: 18px;
  color: #000;
  /* background-color: #F9F8F6; */
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font);
  font-weight: 600;
  margin: 0;
  padding: 0;
}


ul,
li {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

/* Target Elementor text widgets */
.elementor-widget-heading,
.elementor-widget-text-editor,
.elementor-heading-title,
.elementor-widget {
  font-family: var(--primary-font) !important;
}

a {
  color: var(--black-color);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--primary-color);
}


/* Header 1 */
.main-header {
  position: relative;
  z-index: 99;
  width: 100%;
}

.header-top {
  position: relative;
  background-color: var(--primary-color);
  /* background: rgb(243,184,21);
    background: linear-gradient(to left, rgb(243,184,21) 0%, rgb(255,255,255,0) 100%); */
}

.top-container {
  position: relative;
  max-width: 1300px;
  padding: 10px 15px;
  margin: 0 auto;
}

.top-container .inner-container {
  position: relative;
}

.top-bar-handle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0px;
}


.header-top .bismillah {
  flex: 0 0 auto;
  /* Only take as much width as needed */
  text-align: center;
  display: flex;
}

.header-top .bismillah img {
  width: 125px;
  height: auto;
}

.right-box,
.header-top-left-two {
  flex: 1;
}


.right-box {
  color: var(--white-color);
  font-size: 16px;
  line-height: 0;

}


.header-top-left-two {
  font-size: 16px;
  color: var(--white-color);
  line-height: 0;
  text-align: left;
}


.header-bottom {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0px;
}

.header-bottom-container {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 15px;
  direction: rtl;
  /* Ensure it's RTL layout */
  justify-content: space-between;
  /* Align items to the right */
}

.logo-box {
  width: 125px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
}

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

.categories-toggle {
  margin-right: 15px;
  /* use margin-right instead of margin-left for RTL */
  position: relative;
  flex-shrink: 0;
  min-width: 270px;
}

#toggle-categories {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 20px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  font-size: 20px;
  text-align: right;
  font-family: var(--primary-font);
}

#toggle-categories i {
  margin-left: 20px;
}

/* Top-level categories menu */
.categories-menu {
  font-family: var(--primary-font);
  position: absolute;
  top: 110%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 99;
  min-width: 248px;
  display: none;
  padding: 10px;
  text-align: right;
}

.categories-menu.show {
  display: block;
}

.categories-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level items */
.categories-menu>ul>li {
  margin: 5px 0;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 10px;
  position: relative;
}

.categories-menu>ul>li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Top-level links */
.categories-menu>ul>li>a {
  text-decoration: none;
  color: #000;
  display: block;
  font-size: 18px;
  /* padding: 5px 0; */
}

/* Submenu container - key change here */
.categories-menu li.menu-item-has-children {
  position: relative;

}

/* Submenu styles - key changes here */
.categories-menu .sub-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px 0;
  min-width: 200px;
  z-index: 1000;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  /* Create an invisible 10px gap on left side */
  margin-right: 10px;
}

/* Second level submenu */
.categories-menu .sub-menu .sub-menu {
  top: 0;
  right: 100%;
}

/* Show submenu on hover - key change here */
.categories-menu li.menu-item-has-children:hover>.sub-menu {
  display: block;
}

/* Submenu items */
.categories-menu .sub-menu li {
  border-bottom: 1px solid var(--primary-color);
  padding: 0 10px;
  position: relative;
}

.categories-menu .sub-menu li:last-child {
  border-bottom: none;
}

.categories-menu .sub-menu li a {
  padding: 8px 15px;
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  white-space: nowrap;
}

/* Arrow for parent items */
.categories-menu li.menu-item-has-children>a::after {
  content: "◀";
  float: left;
  margin-right: 5px;
  font-size: 12px;
  color: #666;
}

/* Hover effects */
.categories-menu li a:hover {
  color: var(--primary-color);
}

/* Invisible buffer zone to prevent submenu from disappearing */
.categories-menu .sub-menu::before {
  content: '';
  position: absolute;
  left: 100%;
  /* RTL: right side */
  top: 0;
  width: 10px;
  height: 100%;
  background: transparent;
}


/* Container and Main Menu Setup */
.main-menu-container {
  display: flex;
  align-items: center;
  /* margin-right: 20px; */
  font-family: var(--primary-font) !important;
  flex: 1;
}

.main-menu-container .main-menu {
  display: flex !important;
  gap: 10px;
  position: relative;
}

.main-menu-container .main-menu>ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-menu-container .main-menu>ul>li {
  position: relative;
  padding: 20px 0 !important;
}

/* Base link styles */
.main-menu-container .main-menu a {
  text-decoration: none !important;
  line-height: normal;
  padding: 10px 15px;
  display: block;
  color: var(--black-color);
  transition: background 0.3s, color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-menu-container .main-menu a:hover {
  /* background: #f5f5f5; */
  color: var(--primary-color);
}

/* Hide all submenus by default */
.main-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

/* Show submenu on parent li hover */
.main-menu li:hover>ul {
  display: block;

}

.main-menu li ul li {
  border-bottom: 1px solid var(--primary-color);
}

.main-menu li ul li:last-child {
  border-bottom: none;
}

.main-menu li ul li {}

/* Nested submenu (3rd level and beyond) */
.main-menu li ul li ul {
  top: 0;
  right: 100%;
  /* Open to the left */
  margin-right: 1px;
  left: auto;
  /* Ensure left does not interfere */
}


/* Ensure relative positioning for flyouts */
.main-menu li {
  position: relative;
}

/* Menu link styles */
.main-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--black-color);
  white-space: nowrap;
  transition: color 0.3s;
}

.main-menu li a:hover {
  color: var(--primary-color);
}

/* Arrow for top-level dropdown */
.main-menu li.menu-item-has-children>a::after {
  content: " ▼";
  font-size: 0.6em;
  padding-left: 5px;
}

/* Arrow for submenus that fly out left */
.main-menu li ul li.menu-item-has-children>a::after {
  content: " ◀";
  /* arrow points left now */
}



.mobile-menu {
  display: none;
}

/* .cart-container a {
 position: relative;
}
.cart-container a i {
 font-size: 25px;
 color: var(--primary-color);
} */

.cart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 0px;
  position: relative;
  flex-shrink: 0;
}

.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  text-align: center;

}

.cart-icon-box i {
  font-size: 25px;
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  /* background: var(--black-color); */
  color: #fff;
  font-size: 12px;
  /* border-radius: 50%; */
  /* width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center; */
}

.user-login-box {
  color: var(--primary-color);
  font-family: var(--primary-font);

}

.user-login-box a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-login-box a i {
  font-size: 23px;
  color: var(--primary-color);
}


.user-login-box a img {
  border-radius: 50%;
}

.user-login-box a .user-name {
  color: var(--black-color);
  font-size: 18px;


}



/*Main Body */
/* .site-main {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;

} */


.site-footer {
  background-color: #f8f9fa;
  font-family: var(--primary-font);
  /* color: #000; */
  font-size: 16px;
  border-top: 1px solid #ddd;
  /* max-width: 1840px !important;
    margin: 0 auto;
    padding: 0 15px; */
}

.footer-widget-container {
  max-width: 1840px !important;
  margin: 0 auto;
  padding: 0 15px;
}

/* .footer-widget {
  line-height: 1.8;
} */

.footer-widget ul {
  padding-left: 0;
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 8px !important;
}

.footer-widget ul li a {
  text-decoration: none;
  color: #000;
}

.footer-widget ul li a:hover {
  color: var(--primary-color);
}

.footer-widget img {
  width: auto;
  height: 110px !important;
}

.footer-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 6px;
  margin-bottom: 15px;
}


.footer-bottom {
  font-size: 14px;
  background-color: #000;


}

.copyright-content {
  text-align: center;
  margin: 0px;
  padding: 8px 0px;
  color: #fff;

}

.copyright-content a {
  color: #F15D52;
  margin-right: 3px;
  text-decoration: none;
}

.contact-widget p {
  margin: 10px 0px !important;
}

.contact-widget a {
  text-decoration: none;
  color: #444;

}

.contact-widget i {
  margin-left: 8px;
  color: #444;
}

.contact-widget a:hover,
.contact-widget a:hover i {
  color: var(--primary-color) !important;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  color: #555;
  font-size: 18px;
  text-decoration: none;
}

.social-icons i:hover {
  color: var(--primary-color) !important;
}


.my-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0;
}













/* @media (max-width: 768px) {
  .header-bottom-container {
    flex-direction: column;
    align-items: flex-end;
  }

  .main-menu-container .main-menu {
    flex-direction: column;
    gap: 10px;
  }

  .main-menu-container {
    width: 100%;
  }
} */


.urdu-bazar-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  /* grid-template-columns: repeat(4, 1fr); */
  gap: 24px;
}

/* .urdu-bazar-product-list .product-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.urdu-bazar-product-list .product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
} */







/* Base Styling */
.urdu-bazar-product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  flex: 1 1 auto;
  width: 100%;
}

.urdu-bazar-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px;
  font-size: 1rem;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  max-width: fit-content;
}

.product-badge--sale {
  background: var(--primary-color);
  color: var(--white-color);
}

.product-badge--featured {
  background: #4CAF50;
  color: white;
}

/* Image Hover Effect */
.urdu-bazar-product-card__image-wrap {
  max-width: 100%;
  /* width: 222px; */
  overflow: hidden;
  height: 230px;
  padding: 30px;
  border-radius: 12px 12px 0px 0px;
  background-color: #f5f5f5;
  text-align: center;
}

/* .urdu-bazar-product-card__image-wrap a { 
  width: 222px;
  max-width: 100%;
  height: 100%;
 } */

.urdu-bazar-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* display: block; */
  transition: transform 0.3s ease;
}

/* .urdu-bazar-product-card__image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
} */





.urdu-bazar-product-card__image-wrap:hover .urdu-bazar-product-card__image-hover {
  transform: scale(1.05);
}

/* Quick Actions */
.urdu-bazar-product-card__actions {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.urdu-bazar-product-card:hover .urdu-bazar-product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.urdu-bazar-product-card__wishlist,
.urdu-bazar-product-card__quickview {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
	padding: 1px !important;
}

/* .urdu-bazar-product-card__wishlist:hover { background: red; color: var(--white-color)}
.urdu-bazar-product-card__quickview:hover { background: var(--primary-color); color: var(--white-color)} */

.urdu-bazar-product-card__wishlist:hover,
.urdu-bazar-product-card__quickview:hover {
  background: var(--black-color) !important;
  color: var(--white-color) !important;
}

/* Content Styling */
.urdu-bazar-product-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.urdu-bazar-product-card__category {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
  display: flex;
  gap: 5px;
}

.urdu-bazar-product-card__category a {
  background-color: var(--primary-color);
  padding: 5px;
  border-radius: 4px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}

.urdu-bazar-product-card__category a:hover {
  background-color: var(--black-color);
}

.urdu-bazar-product-card__title {
  font-size: 1.4rem;
  color: var(--black-color);
  margin: 6px 0 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.urdu-bazar-product-card__title a {
  color: #000;
  text-decoration: none;
}

.urdu-bazar-product-card__price {
  /* font-size: 1rem;
  font-weight: bold; */
  /* margin-top: 10px; */
  margin-bottom: 10px;
}


.urdu-bazar-product-card__price .price del {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: red;
  text-decoration-skip-ink: none;
  font-weight: normal;
  display: inline-block;

}


.urdu-bazar-product-card__price .price ins {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-right: 5px;
}

.urdu-bazar-product-card .product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.urdu-bazar-product-card .product-meta-row .product-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.urdu-bazar-product-card .product-meta-row .product-author img {
  border-radius: 50%;
}

.urdu-bazar-product-card .product-meta-row .product-author .author-name {
  color: #4f536c;
}

.urdu-bazar-product-card .product-meta-row .star-rating {
  margin: 0;
  color: var(--primary-color);
}


.star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 1;
  font-size: 1em;
  width: 5.4em;
  font-family: WooCommerce
}

.star-rating::before {
  content: "sssss";
  color: #cfc8d8;
  float: left;
  top: 0;
  left: 0;
  position: absolute
}

.star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em
}

.star-rating span::before {
  content: "SSSSS";
  top: 0;
  position: absolute;
  left: 0
}

/* Add to Cart Button */
.urdu-bazar-product-card__add-to-cart {
  text-align: center;

}

.urdu-bazar-product-card__add-to-cart a {
  position: relative;
  z-index: 2;
  overflow: hidden;
  vertical-align: middle;
  display: inline-block;
  border: none;
  text-transform: capitalize;
  text-align: center;
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1;
  padding: 15px 40px !important;
  min-width: 170px !important;
  border-radius: 100px !important;
  text-align: center !important;
}

.urdu-bazar-product-card__add-to-cart a i {
  margin-left: 5px;
}

.urdu-bazar-product-card__add-to-cart a::before {
  content: "";
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--secondary-color);
  z-index: -1;
  transition: all 0.4s ease-out;
  border-radius: inherit;
}

.urdu-bazar-product-card__add-to-cart a:hover::before {
  width: 100%;
}

.urdu-bazar-product-card__add-to-cart .add_to_cart_button.added {
  display: none;
}

.heading-with-line {
  display: flex;
  align-items: center;
  direction: rtl;
  gap: 10px;
}

.urdu-bazar-product-list-heading {
     margin-bottom: 25px;
    white-space: nowrap;
    font-family: var(--primary-font);
    background-color: var(--primary-color);
	color: var(--white-color) !important;
    max-width: fit-content;
    padding: 3px 20px;
    border-radius: 2px;
	font-size: 25px !important;
}

.heading-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--primary-color);
}

.urdu-bazar-view-more {
  text-align: center;
  margin-top: 20px;
}

.view-more-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.view-more-button:hover {
  background-color: var(--black-color);
  color: #fff;
}


.archive-main-wrapper .product-listing .products.columns-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.archive-main-wrapper .product-listing .products.columns-4::before {
  content: none;
  display: block;
  width: 100%;
  padding-top: 100%; 
}

.related-products .products.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-products .products.columns-4::before {
  content: none;
  display: block;
  width: 100%;
  padding-top: 100%; 
}




/* Single Product Page */

.custom-single-product {
  /* direction: rtl; */
}

.product-main-content {
  display: flex;
  flex-direction: column;
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 15px;
  direction: rtl;
  justify-content: space-between;
}

.product-top-bar {
  padding: 40px 0;
  background-color: #ddd;
  text-align: right;
  border-bottom: 1px solid #ddd;
  color: var(--black-color);
}

.breadcrumb-category {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breadcrumb-category .main-category {
  font-size: 3rem;
}

.breadcrumb-category .woocommerce-breadcrumb {
  color: var(--primary-color);
}

.breadcrumb-category .woocommerce-breadcrumb a {
  color: var(--black-color);
  text-decoration: none;
}

.breadcrumb-category .woocommerce-breadcrumb a:hover {
  color: var(--primary-color);
}


.related-products-area {
  max-width: 1400px;
  /* margin: 0 auto; */
  padding: 30px 15px;
}

.related-products-area .custom-reviews {
  /* max-width: 60%; */
  /* margin: 0 auto; */
  padding: 30px 15px;

}




/* Category Archieve Page */

.archive-main-wrapper {
  display: flex;
  gap: 30px;
  position: relative;
  max-width: 1300px;
  padding: 50px 15px;
  margin: 0 auto;
}

.sidebar-wrapper {
  width: 25%;
}

.product-listing {
  width: 75%;
}



.product-summary {
  /* direction: rtl; */
  text-align: right;
}

.product-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-categories {
  /* color: var(--primary-color); */
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-categories h2 {
  margin-bottom: 10px;
}

.product-categories .product-category,
.product-tags .tag-name {
  background-color: var(--primary-color);
  padding: 2px 5px;
  color: var(--white-color);
  border-radius: 5px;
}



.product-price {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-add-to-cart {
  margin-bottom: 20px;
}

/*
.product-add-to-cart form {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
} */


/* RTL container styling */
/* Add to Cart + Qty Wrapper */
.product-add-to-cart form.cart {
  display: flex;
  /* flex-direction: row-reverse; */
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

/* Quantity Input */
.product-add-to-cart .quantity input.qty {
  width: 70px;
  height: 45px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-add-to-cart .quantity input.qty:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color);
  outline: none;
}

/* Add to Cart Button */
.product-add-to-cart .single_add_to_cart_button {
  background: var(--primary-color) !important;
  color: #fff;
  padding: 14px 24px !important;
  font-size: 16px !important;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.product-add-to-cart .single_add_to_cart_button:hover {
  background: var(--black-color);
  transform: scale(1.05);
}

.product-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.product-summary {
  width: 60%;
}

.product-gallery {
  width: 40%;
}

.product-gallery {
  display: flex;
  justify-content: center;
   align-items:center;
	
}

.product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* 📦 Product Gallery */
/* 📦 Product Gallery *//* Container
*/
/* ===============================
   WooCommerce Product Gallery Fix
   =============================== */

/* Gallery container */
/* .woocommerce-product-gallery {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    background: #f9f9f9;
    border-radius: 12px;
}


.woocommerce-product-gallery__trigger:first-of-type {
    display: none;
}


.woocommerce-product-gallery__image {

    float: none !important;        
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: clamp(300px, 60vh, 500px);
    border-radius: 12px;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}


.woocommerce-product-gallery__image img {
    display: inline-block !important;
    margin: 0 auto !important;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: clamp(300px, 60vh, 500px);
    object-fit: contain;
}
*/
/* Main container */
.woocommerce-product-gallery {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
}

/* Only show the active slide */
.woocommerce-product-gallery__image {
    display: none; /* hide all slides by default */
    justify-content: center;
/*     align-items: center; */
    height: 500px;
    padding: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

/* Active image (Flexslider default) */
.woocommerce-product-gallery__image.flex-active-slide {
    display: flex !important; /* only active slide is visible */
}

/* Image itself */
.woocommerce-product-gallery__image img {
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.product-gallery .flex-viewport {
	direction: ltr !important;
}

/*  */
/* Main Image Wrapper */
.woocommerce-product-gallery .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    flex: 0 0 100% !important;
    max-width: 100%;
    height: 500px; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
	padding:30px 0px;
}



/*  */
/* Image Container - Center both axes */
/* Wrapper: center image in both directions */


/*  */

/* Main Image Styles */
.woocommerce-product-gallery__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 500px;
    object-fit: contain;
}

/* 🔍 Zoom Icon */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    left: 10px; 
    background: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    z-index: 99;
    transition: 0.3s ease;
	display:none !important;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--black-color);
}
/*  */


.flex-control-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}
.flex-control-thumbs li {
    display: flex;
    align-items: center;
}
.flex-control-thumbs img {
    width: 70px;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s, border 0.3s;
}
.flex-control-thumbs img:hover {
    transform: scale(1.05);
}


.flex-control-thumbs img.flex-active {
    border: 2px solid var(--primary-color, #ff6600);
    border-radius: 6px;
}


@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }
    .woocommerce-product-gallery {
        max-width: 100%;
    }
    .flex-control-thumbs {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .flex-control-thumbs img {
        width: 50px;
    }
}
 




.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.woocommerce nav.woocommerce-pagination ul li a {
  color: var(--black-color);
}

.widget_product_categories {
  margin-bottom: 30px;
}

.widget_product_categories .product-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 20px;
  padding: 10px 0;
}

.widget_product_categories .cat-item {
  font-size: 18px !important;

}

.widget_product_categories .cat-item a {
  color: var(--black-color);
  text-decoration: none;
  border: 1px solid var(--primary-color);
  padding: 5px 10px;
  border-radius: 4px;

}

.widget_product_categories .cat-item a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.widget_product_categories .cat-item span {
  color: var(--primary-color);
}

.widget_recently_viewed_products {
  margin-bottom: 30px;
}

.widget_recently_viewed_products a img {
  width: 45px !important;
  height: 55px !important;
  object-fit: contain;

}

.widget_recently_viewed_products a {
  /* font-size: 18px !important;
  color: var(--black-color); */
  text-decoration: none !important;
}

.widget_recently_viewed_products a:hover .product-title {
  color: var(--primary-color) !important;
}

.widget_recently_viewed_products a .product-title {
  font-size: 18px !important;
  color: var(--black-color);
}

.widget_price_filter {
  margin-bottom: 30px;
}

.widget_price_filter .ui-slider-handle,
.widget_price_filter .ui-slider-range {
  background-color: var(--primary-color) !important;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
  background-color: var(--black-color) !important;
}

.widget_price_filter .price_slider_amount .button {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: none !important;

}

.widget_price_filter .price_slider_amount .button:hover {
  background-color: var(--black-color) !important;
}


.woocommerce-ordering {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.woocommerce-ordering .orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 40px 10px 15px;
  font-size: 16px;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.woocommerce-ordering .orderby:hover {
  border-color: var(--black-color);
  /* box-shadow: 0 3px 8px var; */
}

.woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--primary-color);
  /* box-shadow: 0 0 0 2px rgba(0, 113, 161, 0.2); */
}

.woocommerce-message {
  border-top-color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 20px;
}

.woocommerce-message:focus-visible,
.woocommerce-message button:focus-visible {
  outline: 2px solid var(--primary-color) !important;
  /* change this to your desired color */

}

.woocommerce-message::before {
  color: var(--primary-color);
}

.woocommerce-message a {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.woocommerce-message a:hover {
  background-color: var(--black-color) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  background: var(--primary-color) !important;
  opacity: 1 !important;
  color: var(--white-color) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
  background: var(--black-color) !important;
}

.is-large.wc-block-cart .wc-block-cart-items td {
  border-bottom: 1px solid var(--primary-color) !important;
}

.is-large.wc-block-cart .wc-block-cart-items th,
.is-large.wc-block-cart .wc-block-cart__totals-title {
  color: var(--primary-color) !important;
}

.wc-block-cart .wc-block-cart__submit-container {
  text-align: center !important;
}

/* Shared styles for both Cart & Checkout buttons */
/* Button Base Style */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  border: none;
  text-transform: capitalize;
  text-align: center;
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1;
  padding: 15px 40px !important;
  border-radius: 100px !important;
  transition: color 0.4s ease-out;
  max-width: fit-content !important;
}

/* ::before pseudo-element for background animation */
.wc-block-cart__submit-button::before,
.wc-block-components-checkout-place-order-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--secondary-color);
  z-index: -1;
  transition: width 0.4s ease-out;
  border-radius: inherit;
}

/* Animate on hover */
.wc-block-cart__submit-button:hover::before,
.wc-block-components-checkout-place-order-button:hover::before {
  width: 100%;
}


.wp-block-woocommerce-cart {
  padding: 30px 0;
}

.wc-block-cart-item__remove-link:hover {
  color: var(--primary-color) !important;
}

.wc-block-checkout {
  direction: ltr;
}

.wc-block-components-checkout-order-summary__content {
  direction: rtl;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
  border-radius: 4px !important;
}

.wc-block-components-product-name {
  font-size: 18px !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  border-color: var(--primary-color) !important;
  padding: 0px !important;
}

/* Highlight WooCommerce Checkout Fields on Focus */
.woocommerce form .form-row input:focus,
.woocommerce form .form-row input:focus-visible,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row textarea:focus-visible,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row select:focus-visible {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 1px var(--primary-color) !important;
  outline: none !important;
}

/* Optional: Smooth transition for better UX */
.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wc-block-components-totals-coupon__content .wc-block-components-totals-coupon__button {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  border-color: var(--primary-color) !important;
}

.mobile-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-header .mobile-header-container {
  position: relative;
  max-width: 1300px;
  padding: 10px 15px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.mobile-header .mobile-header-container .mobile-logo,
.urdubazar-modal-logo {
  height: 50px;
  width: 80px;
  text-align: end;

}

.mobile-header .mobile-header-container .mobile-logo img,
.urdubazar-modal-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;

}

.mobile-header .mobile-header-container .mobile-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-header .mobile-header-container .mobile-icons .hamburger-icon {
  display: flex;
}

.mobile-header .mobile-header-container .mobile-icons .hamburger-icon button,
.mobile-header .mobile-header-container .mobile-icons .user-login-box a i {
  font-size: 25px;
}

.mobile-header .mobile-header-container .mobile-icons .hamburger-icon button {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 4px;
}

.mobile-header .mobile-header-container .mobile-icons .cart-icon-box a {
  display: flex;
}

.mobile-header {
  display: none;
}

/* Hide all submenus by default */
.urdubazar-mobile-menu .menu-item-has-children > .sub-menu {
  display: none;
}

/* Show submenu when parent has .open */
.urdubazar-mobile-menu .menu-item-has-children.open > .sub-menu {
  display: block;
}

/* Optional: style nested levels visually */
.urdubazar-mobile-menu .sub-menu {
  padding-right: 15px;
  border-right: 1px solid #eee;
  margin-top: 5px;
}

/* Optional: add dropdown arrow */
.urdubazar-mobile-menu .menu-item-has-children > a::after {
  content: "▾";
  float: left;
  margin-left: 8px;
  font-size: 12px;
  color: #ff6a00;
}



/* My Account Styles */
/* Container */
.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
/*   margin-top: 40px; */
  direction: ltr;
}

/* Navigation (Sidebar) */
.woocommerce-MyAccount-navigation {
  flex: 1 1 250px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 12px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Content Area */
.woocommerce-MyAccount-content {
  flex: 3 1 600px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Forms Styling */
.woocommerce-MyAccount-content form {
  display: grid;
  gap: 20px;
}

.woocommerce-MyAccount-content input,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border-color 0.3s;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Buttons */
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content .button {
  padding: 12px 24px;
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-content button:hover,
.woocommerce-MyAccount-content .button:hover {
  background-color: var(--black-color) !important;
}
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
  background-color: var(--primary-color) !important;
}
/* .woocommerce {
  max-width: 1300px;
  padding: 30px 15px;
  margin: 0 auto;
} */
 .woocommerce-notices-wrapper {
   max-width: 1300px;
  padding: 10px 15px;
  margin: 0 auto;
} 
.wc-empty-cart-message, .return-to-shop, .empty-cart-products, .woocommerce-cart-form, .cart-collaterals, .wp-block-woocommerce-checkout {
   max-width: 1300px;
  padding: 30px 15px;
  margin: 0 auto;
} 
.wc-empty-cart-message, .woocommerce-cart-form, .cart-collaterals {
  direction: ltr !important;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
  top: 1.3em !important;
}

.woocommerce-info {
 border-top-color: var(--primary-color) !important;
}

.woocommerce-info::before {
 color: var(--primary-color) !important;
}
.return-to-shop a {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.return-to-shop a:hover { 
  background-color: var(--black-color) !important;
 }

 .empty-cart-products h2 {
  text-align: right;
 }
.empty-cart-products .products.columns-4::before {
  content: none;
  display: block;
  width: 100%;
  padding-top: 100%; 
}
.empty-cart-products .products.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 200px !important;
  padding: 12px 15px !important;
}
.woocommerce-cart-form .button {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;

}
.woocommerce-cart-form .button:hover {
  background-color: var(--black-color) !important;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  max-width: fit-content !important;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
background-color: var(--black-color) !important;
}

.top-selling-products {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-selling-products li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 1px;
}

.top-selling-products a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  margin-right: 10px;
}

.product-info h5 {
  font-size: 14px;
  margin: 0 0 5px;
  font-weight: 400;
}

.product-info .price {
  font-size: 14px;
  color: var(--primary-color);
}

.product-image {
  width: 60px;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 40px !important;
  display: block;
  object-fit: contain;
}

.urdu-post-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* .urdu-post-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
} */
.urdu-post-list .urdu-post-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  transition: box-shadow 0.3s ease;
}
.urdu-post-list .urdu-post-box .urdu-post-title {
  font-size: 1.3rem;
  height: 3.1em; 
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}
.urdu-post-list .urdu-post-box .urdu-post-excerpt {
  font-size: 1rem;
  height: 3.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.urdu-post-list .urdu-post-box .urdu-post-button {
	margin: 10px auto 0; /* Top: 10px, Left/Right: auto, Bottom: 0 */
	display: block; /* Change from inline-block to block */
	position: relative;
	z-index: 2;
	overflow: hidden;
	text-transform: capitalize;
	background-color: var(--primary-color) !important;
	color: var(--white-color) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1;
	padding: 15px 40px !important;
	max-width: 170px !important;
	border-radius: 100px !important;
	text-align: center !important;
	border: none;
}


.urdu-post-list .urdu-post-box .urdu-post-button::before {
  content: "";
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--secondary-color);
  z-index: -1;
  transition: all 0.4s ease-out;
  border-radius: inherit;
}

.urdu-post-list .urdu-post-box .urdu-post-button:hover::before {
  width: 100%;
}
.wp-archive-wrap  {
  /* max-width: 1300px;*/
  padding: 30px 15px; 
  /* margin: 0 auto; */
  display: flex;
  flex-direction: row-reverse;
}
/* .wp-singular .site-main {
  width: 75%;
}

.wp-singular .sidebar-area {
  width: 25%;
  padding-left: 15px;
}
 */


.modern-post {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 2rem;
}

.post-inner {
	padding: 1.5rem;
}

.post-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #111;
}

.post-meta {
	font-size: 0.875rem;
	color: #777;
	margin-bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.post-meta span,
.post-meta time {
	display: inline-block;
}

.post-featured-image img {
	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
	border-radius: 6px;
}

.post-content {
	line-height: 1.7;
	font-size: 1rem;
	color: #333;
	margin-bottom: 2rem;
}

/* Author box */
.post-author-box {
	display: flex;
	align-items: center;
	margin-top: 2rem;
	padding: 1rem;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	gap: 1rem;
}

.post-author-box img {
	border-radius: 50%;
}

.author-info {
	flex: 1;
}

.author-name {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: bold;
	color: #333;
}

.author-bio {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
}

/* Related posts */
.related-posts {
	margin-top: 2rem;
}

.related-posts h3 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.related-posts ul {
	list-style: none;
	padding-left: 0;
}

.related-posts li {
	margin-bottom: 0.5rem;
}

.related-posts a {
	text-decoration: none;
	color: var(--primary-color);
}

.related-posts a:hover {
	text-decoration: underline;
}

/* Edit post link */
.post-edit-link {
	margin-top: 2rem;
	text-align: right;
	font-size: 0.9rem;
}

.urdu-bazar-author-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.urdu-bazar-author-list .author-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
justify-content: space-around;
gap: 30px
}

.urdu-bazar-author-list .author-box  .author-right img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
/* .urdu-bazar-author-list .author-box  .author-right h4 {
 margin-top: 0px;
} */

.urdu-bazar-author-list .author-box  .author-left a {

padding: 5px 15px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.urdu-bazar-author-list .author-box  .author-left a:hover {
  background-color: var(--black-color);
}
.urdu-bazar-product-details {
  display: flex;
  justify-content: space-between;
}
.product-full-description {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  padding: 20px; 
  background-color: #fff;
  border-radius: 8px;
}

.urdu-bazar-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.urdu-bazar-search-form form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.urdu-bazar-search-form input[type="search"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.urdu-bazar-search-form select {
    padding: 6px 10px;
    border-radius: 4px;
}

.urdu-bazar-search-form button {
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
}
.urdu-bazar-search-form button:hover {
background-color: var(--black-color);
}

.woocommerce-order {
	padding: 30px 15px; 
	direction: ltr !important;
}

#customer_login.u-columns.col2-set {
	 max-width: 1300px ;
  padding: 10px 15px ;
  margin: 0 auto ;
}
.woocommerce-form-register__submit, .woocommerce-form-login__submit {
	background-color: var(--primary-color) !important;
	color: #fff !important;
}

.woocommerce-form-register__submit:hover, .woocommerce-form-login__submit:hover {
	background-color: var(--black-color) !important;
}

/* === Main Form Styling === */
.wpcf7 {
  max-width: 500px;
  margin: 30px auto;
  background-color: #fdfdfb;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
  font-family: 'Segoe UI', sans-serif;
}

/* === Input Fields === */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.25);
}

/* === Textarea Styling === */
.wpcf7-form textarea {
  max-height: 90px;
  resize: vertical;
}

/* === Submit Button === */
.wpcf7-form input[type="submit"] {
  background-color: #f97316;
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #e55e10;
}

/* === Two-Column Layout Support === */
.wpcf7-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wpcf7-half {
  flex: 1 1 48%;
}

.wpcf7-half input {
  width: 100%;
}



/*home page product view*/
/* === Image container (adds top spacing, no restriction) === */
.yith-wcqv-main .images {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    height: auto !important;
    overflow: visible !important;
}

/* === Product image with fixed height === */
.yith-wcqv-main .images img {
    height: 400px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}






/* === 2. Align summary content to the right like Urdu === */
.yith-wcqv-main .summary.entry-summary {
    direction: rtl !important;
    text-align: right !important;
    padding: 20px;
}

/* Headings, price, meta, and description RTL */
.yith-wcqv-main .summary.entry-summary h1,
.yith-wcqv-main .summary.entry-summary .price,
.yith-wcqv-main .summary.entry-summary .product_meta,
.yith-wcqv-main .summary.entry-summary .woocommerce-product-details__short-description {
    direction: rtl !important;
    text-align: right !important;
}

/* === Align cart section (quantity + add to cart) to the right === */
.yith-wcqv-main .cart {
    display: flex !important;
    justify-content: flex-end !important;  /* Push content to the right */
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse; /* ensures button appears on the right */
    direction: rtl !important;
    text-align: right !important;
    width: 100%;
	margin-right: -22px !important ;
}

/* Quantity input wrapper */
.yith-wcqv-main .cart .quantity {
    display: flex;
    justify-content: flex-end;
    direction: rtl;
}

/* Quantity input box */
.yith-wcqv-main .cart .quantity input[type="number"] {
    min-height: 20px !important;
    padding: 8px;
    font-size: 16px;
    text-align: center;
}

/* Add to Cart button */
.yith-wcqv-main .cart .single_add_to_cart_button.button.alt,
.yith-wcqv-main .cart .button,
.yith-wcqv-main .cart input[type="submit"] {
    background-color: #ff733f !important;
    color: white !important;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    height: 42px;
    line-height: 1;
    cursor: pointer;
    float: none !important; /* override float if theme sets it */
}

/* Button hover effect */
.yith-wcqv-main .cart .single_add_to_cart_button.button.alt:hover,
.yith-wcqv-main .cart .button:hover,
.yith-wcqv-main .cart input[type="submit"]:hover {
    background-color: #d76d00 !important;
}


.urdu-bazar-product-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.urdu-bazar-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.urdu-bazar-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.urdu-bazar-carousel .urdu-bazar-product-card {
    flex: 0 0 calc(25% - 15px); /* Show 4 items in view */
    box-sizing: border-box;
}


/* Responsive Styles */

/* Small devices (≥576px) */
/* @media (min-width: 576px) {
  
}
@media (max-width: 769px) {
  
} */

/* Medium devices (≥768px) */
@media (max-width: 768px) {

  .mobile-header {
  display: block;
 }
.header-bottom {
  display: none;
}
  .archive-main-wrapper .product-listing .products.columns-4, .related-products .products.columns-4, .empty-cart-products .products.columns-4 {
    grid-template-columns: 1fr !important;
  }

  .archive-main-wrapper .product-listing .products.columns-4 .urdu-bazar-product-card {
    width: 100%;
  }

  .product-top-bar {
    padding: 15px 0;
  }

  .archive-main-wrapper {
    flex-direction: column-reverse;
  }

  .archive-main-wrapper .product-listing {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .archive-main-wrapper .sidebar-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .product-gallery,
  .product-summary {
    width: 100%;
  }

  .woocommerce #reviews #comment {
    /* height: 100px; */
    margin-top: 15px;
  }

  .woocommerce-message {
    flex-direction: column;
  }

  .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
    margin-right: 10px;
  }

  .wp-block-woocommerce-cart .wc-block-cart-item__image img {
    border-radius: 4px;
  }

  .is-mobile .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
    display: none;
  }

  .wp-archive-wrap  {
    flex-direction: column;
  }

    .wp-singular .site-main {
  width: 100%;
}

.wp-singular .sidebar-area {
  width: 100%;
}
	.cart-count {
		bottom: 9px !important;
	}
	.urdu-bazar-product-card__image-wrap {
		height: 400px !important;
	}
	.right-box, .header-top-left-two {
		font-size: 14px !important;
		max-width: fit-content !important;
	}
	.footer-widget-container .mb-4 {
		margin-bottom: 0px !important;
	}

.woocommerce .woocommerce-ordering select
 {
    vertical-align: top;
    text-align: center;
}

.woocommerce .woocommerce-ordering {
    margin: 0 0 1em;
    margin-left: -120px;
}
.woocommerce .woocommerce-result-count
 {
    margin: 0 0 1em;
    margin-left: -130px;
}

.product-top-bar {
      padding: 15px;
}

/* .breadcrumb-category .main-category {
    font-size: 1.5rem;
}
 */
}
.breadcrumb-category .main-category {
    font-size: 25px;
}

.breadcrumb-category .woocommerce-breadcrumb {
    color: var(--primary-color);
    font-size: 14px;
}

.coupon {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.coupon .button {
        width: 48%;
        box-sizing: border-box;
/* 	    flex-shrink:0; */
       
    }
.woocommerce-cart table.cart td.actions .coupon .input-text
{
    width: 150px !important;
    padding: 12px 15px !important;
}

.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
		width: 95% !important;
	}

/* === Main Form Styling === */
.wpcf7 {
  max-width: 500px;
  margin: 30px auto;
  background-color: #fdfdfb;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
  font-family: 'Segoe UI', sans-serif;
}

/* === Input Fields === */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.25);
}

/* === Textarea Styling === */
.wpcf7-form textarea {
  max-height: 90px;
  resize: vertical;
}

/* === Submit Button === */
.wpcf7-form input[type="submit"] {
  background-color: #f97316;
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #e55e10;
}

/* === Two-Column Layout Support === */
.wpcf7-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wpcf7-half {
  flex: 1 1 48%;
}

.wpcf7-half input {
  width: 100%;
}
 


}

/* Large devices (≥992px) */
@media (min-width: 768px) and (max-width: 991px) {
  .mobile-header {
    display: block;
  }

  .header-bottom {
    display: none;
  }

  .product-listing .products.columns-4::before,
.product-listing .products.columns-4::after {
  content: none !important;
  display: none !important;
}


  .archive-main-wrapper .product-listing .products.columns-4, .related-products .products.columns-4, .empty-cart-products .products.columns-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .archive-main-wrapper {
    flex-direction: column-reverse;
  }


  .archive-main-wrapper .product-listing,
  .archive-main-wrapper .sidebar-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .archive-main-wrapper .sidebar-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .archive-main-wrapper .product-listing {
    display: block;
  }
  .woocommerce-pagination {
    margin-top: 30px;
  }

    .wp-archive-wrap  {
    flex-direction: column;
  }

  .wp-singular .site-main {
  width: 100%;
}

.wp-singular .sidebar-area {
  width: 100%;
}
	.footer-widget-container .mb-4 {
		margin-bottom: 0px !important;
	}
	
	.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
		width: 95% !important;
	}

/* === Main Form Styling === */
.wpcf7 {
  max-width: 500px;
  margin: 30px auto;
  background-color: #fdfdfb;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
  font-family: 'Segoe UI', sans-serif;
}

/* === Input Fields === */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.25);
}

/* === Textarea Styling === */
.wpcf7-form textarea {
  max-height: 90px;
  resize: vertical;
}

/* === Submit Button === */
.wpcf7-form input[type="submit"] {
  background-color: #f97316;
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #e55e10;
}

/* === Two-Column Layout Support === */
.wpcf7-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wpcf7-half {
  flex: 1 1 48%;
}

.wpcf7-half input {
  width: 100%;
	}


}


/* 📱 Mobile screens (below 768px) */
@media (max-width: 767px) {
    .wdp_pricing_table {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 📲 Tablet screens (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .wdp_pricing_table {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
.archive-main-wrapper .product-listing .products.columns-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

}
/* Extra large devices (≥1200px) */
/* @media (min-width: 1200px) {
  
} */

/* XXL devices (≥1400px) */
/* @media (min-width: 1400px) {
 
} */