@charset "UTF-8";
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Readex Pro",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Readex Pro",  sans-serif;
  --nav-font: "Readex Pro",  sans-serif ;
  --sub-font:"Cairo";
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --text-color: #000000;
  --accent-color: #000000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --ads-bar-color: #ffffff;
  --header-icon-color: #555;
  --heart-color: #000000; /* Color for heart icons (e.g., wishlist/favorites) */
  --badge-discount-color: #000000; /* Color for discount badges on products */
  --price-color: var(--product-color); /* Product prices follow product card text color */
  --card-heart-color: #000000;
  --marquee-text-color:#000000;
  --main-header-bg:#ffffff;
  --path-color:#000000;
  --path-color-bg:#ffffff;
  --footer-color-bg:#ffffff;
  --footer-color:#000000;
  --category-color-bg:#ffffff;
  --category-color:#000000;
  --product-color-bg:#ffffff;
  --product-color:#000000;
  --section-bg:#ffffff;
  --newsletter-bg-color:#ffffff;
  --newsletter-text-color:#000000;
}
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #f5f9fc; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f3f9ff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */

}
.light-background {
background-color: var(--path-color-bg);
}
.dark-background {
  --background-color: #232931;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #397deb;
  --surface-color: #38424f;
  --contrast-color: #ffffff;
}
:root {
  scroll-behavior: smooth;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  padding-top:0px !important;
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.site-content {
  flex: 1 0 auto;
  width: 100%;
}
#footer.footer {
  flex-shrink: 0;
  width: 100%;
}
@media (max-width: 576px) {
body{
  padding-top: 72px;
}
}
@media (min-width: 577px) and (max-width: 768px) {
body {
  padding-top: 35px;
}
}
@media (min-width: 769px) and (max-width: 992px) {
body {
  padding-top: 25px;
}
}
@media (min-width: 993px) and (max-width: 1200px) {
body {
  padding-top: 15px;
}
}
@media (min-width: 1200px) and (max-width: 1400px) {
body {
  padding-top: 22px;
}
}
a {
  color: var(--heading-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--heading-color), transparent 25%);
  text-decoration: none;
}
h1,h2,h3,h4,h5,h6{
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 1rem;
}
.me-2{
  margin-left: .5rem !important;
}
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
}
.header .top-bar {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  font-size: 14px;
}
.header .top-bar .top-bar-item {
  color: var(--default-color);
}
.header .top-bar .top-bar-item a {
  color: var(--accent-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.header .top-bar .top-bar-item a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}
.header .top-bar .top-bar-item .selected-icon {
  color: var(--accent-color);
  opacity: 1;
  width: 16px;
}
.header .top-bar .dropdown-menu {
  min-width: 150px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.header .top-bar .dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 14px;
  color: var(--default-color);
  display: flex;
  align-items: center;
}
.header .top-bar .dropdown-menu .dropdown-item .selected-icon {
  opacity: 1;
  color: var(--accent-color);
  width: 16px;
}
.header .top-bar .dropdown-menu .dropdown-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
@media(min-width:1200px){
  .container-fluid ,.page-title .container{
    max-width: 1250px !important;
  }
}
.header .main-header .logo {
  line-height: 1;
}
.header .main-header .logo img {
  margin-right: 8px;
  width: 135px;
  max-height: 40px;
}
.header .main-header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}
.header .main-header .logo h1 span {
  color: var(--accent-color);
}
@media (max-width: 768px) {
.header .main-header .logo h1 {
  font-size: 24px;
}
}
.header .main-header .desktop-search-form {
  min-width: 400px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
.header .main-header .desktop-search-form {
  display: none;
}
}
.header .main-header .header-actions {
  gap: 16px;
  text-align: center;
}
.header .main-header .header-actions .header-action-btn img{
  width: 40px;
  height: 40px;
  border:1px solid #ececec;
  border-radius: 50%;
  object-fit:cover;
}
@media (max-width: 768px) {
  .header .main-header .header-actions .header-action-btn img{
    width:35px;
    height:35px;
  }
}
.header .main-header .header-actions .header-action-btn,#account {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--nav-color) !important;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  text-align: right;
}
#account{
  cursor: default !important;
}
.header .main-header .header-actions .header-action-btn:hover {
  color: var(--nav-hover-color) !important;
}
.main-header #account span {
  display: none !important;
}
.header .main-header .header-actions .header-action-btn i ,#account i {
  font-size: 20px;
}
.review-meta .rating i{
  font-size: 16px !important;
}
@media (max-width:575px) {
#account i{
  font-size:25px;
}
#avatarIcon{
  font-size:20px !important
}
.header .main-header .header-actions .header-action-btn i{
  font-size: 20px !important;
}
.review-meta .rating i{
  font-size: 13px !important;
}
}
.header .main-header .header-actions .header-action-btn:hover i {
  color: var(--nav-hover-color) !important;
}
.header .main-header .header-actions .header-action-btn i.bi-person {
  font-size: 24px !important;
}
.header .main-header .header-actions .header-action-btn .action-text {
  font-weight: 500;
  font-size: 14px;
}
.header .main-header .header-actions .header-action-btn:hover {
  color: var(--nav-hover-color);
}
.header .main-header .header-actions .header-action-btn .badge {
  position: absolute;
  top: -3px;
  right: -5px;
  background-color:#ef4444;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sub-font);
}
.header .main-header .header-actions .header-action-btn #badge{
  top: -9px;
}
@media (max-width:767px) {
  .header .main-header .header-actions .header-action-btn #badge{
    top:-13px
  }
  .header .main-header .header-actions .header-action-btn .badge{
    top:-7px
  }
}
.header .main-header .account-dropdown .dropdown-menu {
  background-color: var(--surface-color);
  min-width: 280px;
  padding: 0;
  border-radius: 6px;
  margin-top: 0.75rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  inset:unset !important;
  position: absolute;
  right: auto !important;
  left: -60px !important;
  transform: none !important;
}
/* ≤767: keep comfort margin like 768 (avoid flush-left from left:-60px) */
@media (max-width: 767.98px) {
  .header .main-header .account-dropdown {
    position: relative !important;
  }
  .header .main-header .account-dropdown .dropdown-menu {
    left: -30px !important;
    right: auto !important;
    top: 100% !important;
    inset: unset !important;
    transform: none !important;
    width: 280px;
    max-width: calc(100vw - 1.5rem);
    margin: 0.75rem 0 0 0 !important;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header h6 {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.4;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
    font-size: 0.8125rem !important;
    font-weight: 300 !important;
    line-height: 1.4;
  }
}
@media(min-width:768px) and (max-width:1024px){
  .header .main-header .account-dropdown .dropdown-menu{
    left: -30px !important;

  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header h6 {
    font-size: 0.9375rem !important;
    font-weight: 400;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
    font-size: 0.8125rem;
    font-weight: 300;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item {
    font-size: 0.875rem;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item i {
    font-size: 1rem;
  }
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-header {
  padding: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-wrap: wrap;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-header h6 {
  margin: 0 0 0.25rem;
  color: #000;
  /* color: var(--heading-color); */
  font-size: 0.9375rem;
  font-weight:400;
  text-align: right;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
  font-size: 0.8125rem;
  font-weight: 300;
  /* color: var(--heading-color); */
   color: #000;
  text-align: right;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-body {
  padding: 0.8rem 0;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item {
  padding: 0.4rem 1.25rem !important;
  font-size: 0.94rem;
  /* color: var(--heading-color) !important; */
  color: #000;
  transition: all 0.2s ease;
  font-weight:400 !important;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item i {
  /* color: color-mix(in srgb, var(--heading-color), transparent 30%); */
  color: #000;
  transition: color 0.2s ease;
  font-size: 1.1rem;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item:hover i {
  color: var(--accent-color);
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-footer {
  padding: 1.25rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn {
  font-size: 0.8125rem;
  font-weight:400;
  padding:0.4625rem 1.0625rem;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 6px;
}
@media (max-width:767px){
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item{
  font-size:15px;
  }
.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item i{
  font-size:16px
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-header h6{
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.4;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
  font-size: 0.8125rem !important;
  font-weight: 300 !important;
  line-height: 1.4;
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn{
  font-size:13px;
}
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn-outline-primary {
  border-color: var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
}
.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.header .main-header .cart-dropdown .cart-dropdown-menu {
  background-color: var(--surface-color);
  min-width: 320px;
  padding: 0;
  border-radius: 6px;
  margin-top: 0.75rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  right: auto;
  left: -74px;
}
@media (max-width: 576px) {
.header .main-header .cart-dropdown .cart-dropdown-menu {
  min-width: 280px;
}
.search-results-header .results-count h2 {
  font-size: 15px;
}
.search-results-header .results-count p {
  font-size: 14px;
}
}
@media (max-width: 767.98px) {
  .header .main-header .cart-dropdown {
    position: relative !important;
  }
  .header .main-header .cart-dropdown .cart-dropdown-menu,
  .dropdown.cart-dropdown .dropdown-menu {
    inset: unset !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: calc(100vw - 1.5rem) !important;
    margin: 0.75rem 0 0 0 !important;
  }
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: right;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-header h6 {
  /* color: var(--heading-color) !important; */
  color:#000;
  font-size: 1rem;
  font-weight:400;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-header h6 #cart-count-header{
  font-size: 0.94rem !important;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b5b5b5 transparent;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-items {
  padding:0px;
  text-align: right;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item:last-child {
  border-bottom: none;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-image {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content {
  flex: 1;
  text-align: right;
  margin-right: 10px;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-title {
  font-size: 0.875rem;
  margin: 0px !important ;
  /* color: var(--heading-color); */
  color:#000;
  font-weight: 400;
}
@media (max-width:767px){
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-title{
    font-size:0.8125rem !important;
  }
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-meta {
  font-size: 0.8125rem;
  font-weight:400;
  /* color: var(--heading-color) !important; */
  color:#000;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-meta span{
  font-size: 1.3rem;
  font-weight: 500;
}
@media(max-width:767px){
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-meta span{
    font-size:1.2rem
  }
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-content .cart-item-meta{
   font-size: 0.8125rem;
  }
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-remove {
  background: none;
  border: none;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-body .cart-item .cart-item-remove:hover {
  color: #dc3545;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer {
  padding: 1rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem !important;
  font-weight: 400;
  /* color: var(--heading-color) !important; */
  color:#000;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total span{
  font-size:1rem !important;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total span.cart-total-price{
  font-size:1rem !important;
    margin-right: auto;
    display: inline-block;
    text-align: left;
    color: var(--product-color);
    font-weight: 400 !important;
  }
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total span.icon-saudi_riyal{
  font-size: 1.5rem !important;
  font-weight: 500;
  margin-right: 5px;
}
@media (max-width:767px) {
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total span.icon-saudi_riyal{
    font-size:1.4rem !important;
  }
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total{
    font-size:0.94rem !important;
  }
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total span.cart-total-price{
  font-size:0.94rem !important;
} 
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-total .cart-total-price {
  font-size: 1rem;
  color: var(--accent-color);
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-actions {
  display: flex;
  gap: 8px;
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-actions .btn {
  flex: 1;
  font-size: 0.8125rem;
  font-weight:400;
  padding: 0.4625rem 1.0625rem;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 6px;
}
@media(max-width:767px){
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-actions .btn{
    font-size:13px;
  }
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-actions .btn-outline-primary {
  border-color: var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
}
.header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-footer .cart-actions .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.header .search-form {
  margin: 0;
}
.header .search-form .input-group {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-top: 25px;
  width: 500px;
}
@media (min-width:992px) {
  .header #search-input-popup{
  width: 550px !important;
  margin: 0px auto ;
}
}
@media(max-width:991px){
  .header .search-form .input-group {
  width:500px;
  margin: 0px auto;
  }
}
.header .search-form .input-group .form-control {
  border-left: none;
  padding: 0.6rem 0.9rem !important;
  font-size: 0.94rem;
  background-color: transparent;
  color: var(--default-color);
  border-radius: 8px 0 0 8px;
}
.header .search-form .input-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  z-index: 999;
  margin-bottom: 10px;
}
.header .search-form .input-group .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}
.header .search-form .input-group .search-btn {
  background-color:var(--accent-color);
  color:var(--contrast-color);
  margin:0;
  width:80px;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  padding:0 25px;
  transition:background-color .3s ease;
  border-radius:8px 0 0 8px!important;
  overflow:hidden;
  z-index:99;
}
/* Mobile only: match newsletter input size, radius, and button proportions */
@media (max-width:767px) {
  .header .search-form .input-group {
    width:320px;
    max-width:320px;
    border-radius: 6px;
  }
  .header .search-form .input-group .form-control {
    padding: 8px 14px !important;
    border-radius: 6px !important;
    line-height: 1.6 !important;
    font-size: 0.8125rem !important;
    min-height: 0 !important;
    height: calc(0.8125rem * 1.6 + 16px + 2px) !important;
    box-sizing: border-box !important;
  }
  .header .search-form .input-group .search-btn {
    width:auto;
    flex:0 0 auto;
    min-width: calc(4.5rem - 6px);
    padding:8px 14px;
    line-height:1.6;
    font-size:0.8125rem;
    font-weight:400;
    border-radius:0 !important;
    border-top-left-radius:6px !important;
    border-bottom-left-radius:6px !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}
.header .announcement-bar {
  background-color: var(--ads-bar-color);
  color: var(--contrast-color);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
}
.header .announcement-bar .announcement-slider {
  height: 24px;
  overflow: hidden;
}
.header .announcement-bar .announcement-slider .swiper-wrapper {
  height: auto !important;
}
.header .announcement-bar .announcement-slider .swiper-slide {
  font-size: 15px;
  font-weight:400;
  text-align: center;
  height: 24px;
  line-height: 24px;
  color:var(--marquee-text-color);
}
.header #mobileSearch {
  z-index: 9999;
}
.header #mobileSearch .search-form {
  padding: 10px 0;
}
@media (max-width: 991.98px) {
.header .main-header .header-actions {
  gap: 0.5rem;
}
.header .main-header .header-actions .header-action-btn {
  padding: 0.25rem;
}
.header .main-header .header-actions .header-action-btn i {
  font-size: 20px;
  margin-right: 0;
}
}
.dropdown-body::-webkit-scrollbar {
  width: 6px;
}
.dropdown-body::-webkit-scrollbar-track {
  background: transparent; 
}
.dropdown-body::-webkit-scrollbar-thumb {
  background: #b5b5b5; 
  border-radius: 10px;
}
.dropdown-body::-webkit-scrollbar-thumb:hover {
  background: #959595; 
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
.navmenu {
  padding: 0;
}
.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navmenu li {
  position: relative;
}
.navmenu>ul>li {
  white-space: nowrap;
  padding: 15px 14px;
}
.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-size: 1rem;
  padding: 0 2px;
  font-family: var(--nav-font);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}
.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-right: 5px;
  transition: 0.3s;
}
.navmenu>ul>li>a:before {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--nav-color);
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}
.navmenu a:hover:before,
.navmenu li:hover>a:before,
.navmenu .active:before {
  visibility: visible;
  width: 100%;
  background-color: var(--nav-hover-color);
}
.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}
.navmenu .dropdown ul {
  margin: 0;
  padding: 10px 0;
  background: var(--nav-dropdown-background-color);
  display: block;
  position: absolute;
  visibility: hidden;
  left: 14px;
  top: 130%;
  opacity: 0;
  transition: 0.3s;
  border-radius: 4px;
  z-index: 99;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.navmenu .dropdown ul li {
  min-width: 200px;
}
.navmenu .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  color: var(--nav-dropdown-color);
}
.navmenu .dropdown ul a i {
  font-size: 12px;
}
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a {
  color: var(--nav-dropdown-hover-color);
}
.navmenu .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navmenu .dropdown .dropdown ul {
  top: 0;
  left: -90%;
  visibility: hidden;
}
.navmenu .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: -100%;
  visibility: visible;
}
}
@media (max-width: 1199px) {
.mobile-nav-toggle {
  color: var(--nav-color);
  font-size: 28px;
  line-height: 0;
  margin-right: 10px;
  cursor: pointer;
  transition: color 0.3s;
}
.navmenu {
  position: relative;
  padding: 0;
  z-index: 9997;
}
.navmenu ul {
  display: none;
  list-style: none;
  position: absolute;
  left:0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 40px 0 !important;
  margin: 0;
  background-color: var(--nav-mobile-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 9998;
}
.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}
.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-right: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--accent-color);
}
.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}
.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  transition: all 0.5s ease-in-out;
}
.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}
.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}
.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  position: static;
  font-size: 32px;
  top: 15px;
  right: 15px;
  margin-right: 0;
}
.mobile-nav-active .navmenu {
  position: fixed;
  background: rgba(33, 37, 41, 0.8);
}
.mobile-nav-active .navmenu>ul {
  display: block;
  width: 40%;
}
  .navmenu {
    position: fixed;
    top: 0;
    right: 0%;
    width: 40%; 
    height: 100%;
    background: #fff;
    z-index: 999;
   transform: translateX(100%) ;
   transform-origin: right center;
   transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.mobile-nav-active .navmenu>ul{
  width:100%
}
.mobile-nav-active .navmenu {
  transform: translateX(0) ;
}
.mobile-nav-active .close-nav{
  left:2% !important;
  }
}
@media (max-width:992px){
.navmenu {
  width:40% !important
}
.mobile-nav-active .navmenu>ul{
  width:100% !important
}
.mobile-nav-active .close-nav{
  left: 2% !important;
}
}
@media (max-width:575.98px){
.navmenu{
  width:70% !important;
}
.mobile-nav-active .navmenu>ul{
  width:100% !important
}
.mobile-nav-active .close-nav{
  left: 2% !important;
}
}
.close-nav {
  position: absolute;
  top: 5px;
  left: 32%;
  background: none;
  border: none;
  font-size: 32px;
  color: #000 !important;
  opacity: 0.5;
  cursor: pointer;
  z-index: 10000;
  display: none;
}
.close-nav i{
  font-size:26px !important;
}
#mobileFilter .btn-close:focus{
  box-shadow: none !important;
  outline: none !important;
}
.mobile-nav-active .close-nav {
  display: block;
}
@media (min-width: 1200px) {
.navmenu .products-megamenu-1 {
  position: static;
}
.navmenu .products-megamenu-1 .mobile-megamenu {
  display: none;
}
.navmenu .products-megamenu-1 .desktop-megamenu,
.navmenu .products-megamenu-1 .active,
.navmenu .products-megamenu-1 .active:focus {
  background-color: var(--nav-dropdown-background-color);
}
.navmenu .products-megamenu-1 .desktop-megamenu {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 130%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  border-radius: 6px;
  z-index: 99;
  padding: 20px;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
}
.navmenu .products-megamenu-1:hover>.desktop-megamenu {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navmenu .products-megamenu-1 .megamenu-tabs {
  margin-bottom: 15px;
}
.navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-item {
  margin-bottom: 0;
}
.navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link {
  border: none;
  padding: 10px 20px;
  color: var(--nav-dropdown-color);
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
  background-color: transparent;
  border-bottom: 2px solid transparent;
}
.navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link:hover {
  color: var(--nav-dropdown-hover-color);
  border-color: transparent;
}
.navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link.active {
  color: var(--accent-color);
  background-color: transparent;
  border-bottom: 2px solid var(--accent-color);
}
.navmenu .products-megamenu-1 .megamenu-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
}
.navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar {
  width: 5px;
}
.navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 10px;
}
.navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
}
.navmenu .products-megamenu-1 .megamenu-content .tab-content {
  display: none;
}
.navmenu .products-megamenu-1 .megamenu-content .tab-content.active {
  display: block;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column {
  background-color: color-mix(in srgb, var(--surface-color), var(--accent-color) 3%);
  border-radius: 8px;
  padding: 15px;
  transition: 0.3s;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column h4 {
  color: var(--heading-color);
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column h4:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li {
  margin-bottom: 10px;
  background-color: none !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start !important;
  width: 100%;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li:last-child {
  margin-bottom: 0;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a {
  color: var(--nav-dropdown-color);
  font-size: 14px;
  transition: 0.3s;
  padding: 0 0 0 20px;
  display: block;
  position: relative;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:before {
  content: "\f285";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
  color: var(--accent-color);
  opacity: 0.7;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:hover {
  color: var(--nav-dropdown-hover-color);
  transform: translateX(3px);
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:hover:before {
  opacity: 1;
}
.navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column .active {
  background-color: none;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 10px;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card {
  background-color: var(--surface-color);
  overflow: hidden;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card:hover .product-image img {
  transform: scale(1.1);
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-new,
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  z-index: 1;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-new {
  background-color: #28a745;
  color: white;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-sale {
  background-color: #dc3545;
  color: white;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info {
  padding: 15px;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info h5 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .price {
  color: var(--product-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .price .original-price {
  text-decoration: line-through;
  color: var(--heading-color);
  margin-right: 5px;
  font-weight: normal;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .btn-view {
  display: inline-block;
  padding: 5px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
}
.navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .btn-view:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
}
@media (max-width: 1199px) {
.navmenu .products-megamenu-1 .desktop-megamenu {
  display: none;
}
.navmenu .products-megamenu-1 .mobile-megamenu {
  position: static;
  display: none;
  z-index: 99;
  padding: 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
  border-radius: 4px;
  overflow: hidden;
}
.navmenu .products-megamenu-1 .mobile-megamenu li {
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.navmenu .products-megamenu-1 .mobile-megamenu li:last-child {
  border-bottom: none;
}
.navmenu .products-megamenu-1 .mobile-megamenu li a {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--nav-dropdown-color);
  font-size: 15px;
  transition: 0.3s;
}
.navmenu .products-megamenu-1 .mobile-megamenu li a:hover {
  color: var(--nav-dropdown-hover-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}
.navmenu .products-megamenu-1 .mobile-megamenu li ul {
  padding: 0;
}
.navmenu .products-megamenu-1 .mobile-megamenu.dropdown-active {
  display: block;
}
}
@media (min-width: 1200px) {
.navmenu .products-megamenu-2 {
  position: static;
}
.navmenu .products-megamenu-2 .mobile-megamenu {
  display: none;
}
.navmenu .products-megamenu-2 .desktop-megamenu,
.navmenu .products-megamenu-2 .active,
.navmenu .products-megamenu-2 .active:focus {
  background-color: var(--nav-dropdown-background-color);
}
.navmenu .products-megamenu-2 .desktop-megamenu {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 130%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  border-radius: 6px;
  z-index: 99;
  padding: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
}
.navmenu .products-megamenu-2:hover>.desktop-megamenu {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navmenu .products-megamenu-2 .megamenu-tabs {
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs {
  border-bottom: none;
  display: flex;
  justify-content: center;
}
.navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-item {
  margin: 0;
}
.navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link {
  border: none;
  padding: 15px 30px;
  color: var(--nav-dropdown-color);
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.5px;
}
.navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link:hover {
  color: var(--nav-dropdown-hover-color);
}
.navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link.active {
  color: var(--accent-color);
  background-color: transparent;
  border-bottom: 2px solid var(--accent-color);
}
.navmenu .products-megamenu-2 .megamenu-content {
  flex: 1;
  overflow-y: auto;
}
.navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar {
  width: 5px;
}
.navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 10px;
}
.navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
}
.navmenu .products-megamenu-2 .megamenu-content .tab-pane {
  padding: 25px;
}
.navmenu .products-megamenu-2 .megamenu-content .category-layout {
  display: flex;
  gap: 30px;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section {
  flex: 1;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 15px;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers h4 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a {
  color: var(--nav-dropdown-color);
  font-size: 14px;
  transition: 0.3s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
}
.navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a:hover {
  color: var(--nav-dropdown-hover-color);
  transform: translateX(3px);
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section {
  width: 300px;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image {
  position: relative;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content h3 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content .btn-shop {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  width: fit-content;
}
.navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content .btn-shop:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}
}
@media (max-width: 1199px) {
.navmenu .products-megamenu-2 .desktop-megamenu {
  display: none;
}
.navmenu .products-megamenu-2 .mobile-megamenu {
  position: static;
  display: none;
  z-index: 99;
  padding: 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
  border-radius: 4px;
  overflow: hidden;
}
.navmenu .products-megamenu-2 .mobile-megamenu li {
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.navmenu .products-megamenu-2 .mobile-megamenu li:last-child {
  border-bottom: none;
}
.navmenu .products-megamenu-2 .mobile-megamenu li a {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--nav-dropdown-color);
  font-size: 15px;
  transition: 0.3s;
}
.navmenu .products-megamenu-2 .mobile-megamenu li a:hover {
  color: var(--nav-dropdown-hover-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}
.navmenu .products-megamenu-2 .mobile-megamenu li ul {
  padding: 0;
}
.navmenu .products-megamenu-2 .mobile-megamenu.dropdown-active {
  display: block;
}
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  color: var(--footer-color) !important;
  background-color: var(--footer-color-bg);
  font-size: 14px;
  position: relative;
  margin-top:25px;
}
.footer .footer-main {
  padding-top: 40px;
  padding-bottom: 0;
  border-bottom: none;
}
/* White line: match content width (social links) — equal inset both sides */
.footer .footer-main > .container {
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 25px;
}
/*@media (max-width: 768px){*/
/*  .footer-info .footer-widget{*/
/*    width: 85%;*/
/*  }*/
/* } */
.footer .footer-main .footer-widget {
  margin-bottom: 10px;
}
.footer .footer-main .footer-widget .logo {
  display: inline-block;
  margin-bottom: 10px;
}
.footer .footer-main .footer-widget .logo span {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}
.footer .footer-main .footer-widget p {
  line-height: 1.7;
  color: var(--footer-color);
  font-size: 0.875rem;
  font-weight: 400;
}
@media(max-width:575px){
  .footer .footer-main .footer-widget p {
    font-size: 14.5px;
    margin-top:10px;
    margin-bottom: 5px;
  }
  .footer .footer-main .footer-widget .logo {
    display: flex;
    margin-bottom: 25px;
    align-items: center;
    justify-content: center;
  }
}
.footer .footer-main .footer-widget h3{
  color: var(--footer-color) !important;
}
.footer .footer-main .footer-widget h1,
.footer .footer-main .footer-widget h2,
.footer .footer-main .footer-widget h3,
.footer .footer-main .footer-widget h4,
.footer .footer-main .footer-widget h5,
.footer .footer-main .footer-widget h6 {
  color: var(--heading-color) !important;
}
.footer .news {
  background-color: var(--newsletter-bg-color, #eee);
}
.footer form{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 365px;
  max-width:370px;
}
@media(max-width:767px){
  .footer form{
    width:320px
  }
}
.container-footer{
  padding: 0px !important;
}
.footer input{
  font-size: 14px;
  padding: 0.6rem 0.9rem !important;
  position: relative;
}
.footer form input::placeholder{
  font-size: 0.875rem;
  font-weight: 400;
}
@media(max-width:767px){
  .footer input{
    padding: 8px 14px !important;
    border-color: color-mix(in srgb, var(--default-color), transparent 80%) !important;
  }
  .footer form input::placeholder{
    font-size: 0.8125rem !important;
  }
}
.footer form{
    position: relative;
}

.footer form button{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 400;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
}
@media (max-width: 768px) {
  .footer form button{
    font-size: 0.8125rem;
  }
}
.footer form button:hover{
  color: var(--footer-color-bg);
  background-color: var(--footer-color);
}
.footer .news-header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 25px 30px 7px 30px;
  border-bottom: 1px solid #eee;
}
@media (min-width:768px) and (max-width:991px){
  .footer .news-header{
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 22px 30px 22px 30px;
  }
  .footer .news-header .news-info{
    width: 100%;
    text-align: center;
  }
  .footer .news-header h1{
    font-size: 15px;
    font-weight: 500;
  }
  .footer .news-header p{
    font-size: 0.875rem;
    font-weight: 400;
    color: #555;
  }
  #subscribe-form{
    margin-left: auto;
    margin-right: auto;
  }
}
.footer .news-header h1{
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  margin-top: 7px;
  line-height: 1;
  color: var(--newsletter-text-color) !important;
}

#subscribe-form{
  display: flex;
  align-items: stretch;
}
#subscribe-form .form-control.is-invalid{
  border-color:unset !important;
  box-shadow:none !important;
}

#subscribe-form .form-control,
#subscribe-form .form-control::placeholder,
.footer .news-header p{
  font-size: 0.875rem;
  font-weight: 400;
  color:#999;;
}
#subscribe-form .form-control::placeholder{
  font-size: 13px !important;
  font-weight: 400;
 
}
#subscribe-form .form-control{
  padding: 8px 14px 10px !important;
  line-height: 1.6;
  border-radius:  6px 6px 6px 6px !important;
}

#subscribe-form .form-control::placeholder{
  line-height: 1.6;
}

#subscribe-form button{
  padding: 8px 14px;
  line-height: 1.6;
  border: none;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.footer .news-header p{
  color: #555;
  margin-top: 5px;
}
@media (max-width: 767.98px) {
  .footer .news-header{
    padding: 20px 15px 25px 15px;
;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #subscribe-form .form-control::placeholder{
  font-size: 0.75rem !important;
}
#subscribe-form .form-control, #subscribe-form .form-control::placeholder, #subscribe-form button {
    font-size: 0.8125rem;
}
  .footer .news-header .news-info{
    width: 100%;
    text-align: center;
  }
  .footer .news-header h1{
    font-size: 15px;
    font-weight: 500;
  }
  .footer .news-header p{
    font-size: 0.875rem;
    font-weight: 400;
    color: #555;
  }
}
.footer .footer-main .footer-widget h4 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
  position: relative;
  padding-bottom: 2px;
  color: var(--footer-color) !important;
  line-height: 1.4;
}
.footer-toggle .toggle-icon {
  display: none;
}
@media (max-width: 575px) {
  .footer-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .footer-toggle .toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .footer-content {
    display: none;
  }
  .footer-content.show {
    display: block;
    margin-top:20px;
  }
  .footer-toggle.active .toggle-icon {
    transform: rotate(180deg);
  }
  .social-links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px !important;
  } 
}
.footer .footer-main .footer-widget h5 {
  color: var(--footer-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
}
.footer .footer-main .footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.footer .footer-main .footer-contact .contact-item i {
  font-size: 16px;
  margin-left: 12px;
  margin-top: 3px;
}
.footer .footer-main .footer-contact .contact-item span,
.footer .footer-main .footer-contact .contact-item a {
  line-height: 1.5;
  font-size: 0.875rem;
  font-weight: 400;
}
.footer .footer-main .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-main .footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}
.footer .footer-main .footer-links li:before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--footer-color);
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer .footer-main .footer-links a {
  color: var(--footer-color);
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width:767px){
  .footer .footer-main .footer-widget h4,
  .footer .footer-main .footer-widget h4.footer-toggle {
    font-size: 1.0625rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 2px !important;
  }
  .footer .footer-main .footer-links a{
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    margin-bottom:10px;
  }
  .footer .footer-main .footer-contact .contact-item span,
  .footer .footer-main .footer-contact .contact-item a {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
  }
  .footer-links,
  .footer-contact{
    padding-right: 10px !important;
  }
}
.footer-widget,
.footer .footer-contact .contact-item i,
.footer .footer-contact .contact-item span{
    color: var(--footer-color);
}
.footer .footer-main .footer-links a:hover {
  color: var(--footer-color);
}
.footer .footer-main .app-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.footer .footer-main .app-buttons .app-btn {
  display: flex;
  align-items: center;
  background-color: var(--footer-color-bg);
  color: var(--footer-color);
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.footer .footer-main .app-buttons .app-btn i {
  font-size: 20px;
  margin-left: 8px;
}
.footer .footer-main .app-buttons .app-btn span {
  font-size: 13px;
  font-weight: 500;
}
.footer .footer-main .app-buttons .app-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.footer .footer-main .social-links {
  margin-top: 25px;
}
.footer .footer-main .social-links h5 {
  margin-bottom: 15px;
}
.footer .footer-main .social-icons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.footer .footer-main .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: #fff;
  color: #4b5563;
  font-size: 15px;
  border:1px solid #d1d5db;
  transition: all 0.3s ease;
}
.footer .footer-main .social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.footer .footer-bottom {
  padding: 25px 0;
}
.footer .footer-bottom .payment-methods {
  align-items: center;
  margin: 4px 0 10px;
}
.footer .footer-bottom .payment-methods .payment-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 30px;
  width: auto;
  padding: 4px 6px;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #d1d5db;
}
.footer .footer-bottom .payment-methods .payment-icon {
  display: block;
  width: auto;
  height: auto;
  max-height: 18px;
  max-width: 42px;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .footer .footer-bottom .payment-methods .payment-icon-wrapper {
    height: 24px;
    min-width: 30px;
    padding: 2px 6px;
  }
  .footer .footer-bottom .payment-methods .payment-icon {
    max-height: 16px;
    max-width: 42px;
    height: auto !important;
    width: auto !important;
  }
}
.footer .footer-bottom .payment-methods .payment-icons i {
  font-size: 22px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.3s ease;
}
.footer .footer-bottom .payment-methods .payment-icons i:hover {
  color: var(--accent-color);
}
.footer .footer-bottom .copyright p {
  margin-bottom: 20px;
  margin-top: 12px;
  color: var(--footer-color);
  font-size: 13px;
  
}
.footer .footer-bottom .copyright p strong {
  color: var(--footer-color);
  font-weight: 400 !important;
}
.footer .footer-bottom .credits {
  font-size: 13px;
  color: var(--footer-color);
}
.footer .footer-bottom .credits a {
  color: var(--footer-color);
}
.footer .footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer .footer-bottom .legal-links a {
  color: var(--footer-color);
  font-size: 13px;
  transition: color 0.3s ease;
}
.footer .footer-bottom .legal-links a:hover {
  color: var(--accent-color);
}
.footer .footer-main .contact-item a{
  color: var(--footer-color) !important;
}
@media (max-width: 991.98px) {
  .footer .footer-main {
    padding: 60px 0 0;
  }
  .footer .footer-main > .container {
    padding-bottom: 30px;
  }
  .footer .footer-widget h4 {
    margin-bottom: 0.55rem !important;
    padding-bottom: 2px !important;
  }
}

/* Tablet / iPad / 576–991: brand on its own row, then 3 link sections side by side
   (keeps ≤575px mobile accordion unchanged) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .footer .footer-main {
    padding: 40px 0 0;
  }
  .footer .footer-main > .container {
    padding-bottom: 28px;
  }
  .footer .footer-main .footer-info {
    margin-bottom: 0.75rem;
  }
  .footer .footer-main .footer-info .footer-about {
    max-width: 100%;
  }
  .footer .footer-main .footer-info .footer-info-box p {
    max-width: 36rem;
    margin-bottom: 0.85rem;
  }
  .footer .footer-main .footer-info .social-icons {
    margin-top: 0.25rem;
  }
  .footer .footer-main .footer-col-links .footer-widget {
    margin-bottom: 0;
    height: 100%;
  }
  .footer .footer-main .footer-col-links .footer-widget h4 {
    margin-bottom: 0.75rem !important;
  }
  .footer .footer-main .footer-col-links .footer-links li,
  .footer .footer-main .footer-col-links .contact-item {
    margin-bottom: 0.45rem;
  }
}

@media (max-width: 767.98px) {
  .footer .footer-main {
    padding: 35px 0 0;
  }
  .footer .footer-main > .container {
    position: relative;
    border-bottom: none !important;
    padding-bottom: 20px;
  }
  /* Mobile only: line a bit wider to match payment methods (iPad/desktop unchanged) */
  .footer .footer-main > .container::after {
    content: "";
    position: absolute;
    left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    bottom: 0;
    height: 1px;
    background-color: #d3d3d3;
    pointer-events: none;
  }
  .footer .footer-main .footer-links li {
    padding-left: 0;
  }
  .footer .footer-main .footer-links li:before {
    display: none;
  }
  .footer .footer-main .app-buttons {
    justify-content: center;
  }
  .footer .footer-bottom .copyright,
  .footer .footer-bottom .credits {
    text-align: center;
  }
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
html {
  scrollbar-gutter: stable;
}



#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 999999;
  opacity: 1;
  overflow: hidden;
}

#preloader .loader-logo {
  width: 110px;
  animation: logoPulse 1.4s ease-in-out infinite;
}
body.preloader-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 15px;
  bottom: -15px;
  z-index: 99;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--path-color);
  background-color: var(--path-color-bg);
  padding: 15px 0;
  position: relative;
}
.breadcrumbs li a {
  color: var(--path-color);
}
.page-title h1 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
}
@media(max-width:767px){
  .page-title .breadcrumbs ol{
    font-size:0.85rem;
    padding-right:8px;
  }
}
.page-title .breadcrumbs ol
.page-title .breadcrumbs ol li+li {
  padding-right: 10px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 13px;
}
.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-left: 10px;
  padding-right:10px;
  color: var(--path-color)
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.toast-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 3px;
  background: #ffffff;
  width: 100%;
  transition: width linear;
}
section,
.section {
  color: var(--default-color);
  background-color: var(--background-bg) !important;
  scroll-margin-top: 90px;
  overflow: clip;
  padding: 30px 0;
}
.cart.section,.checkout.section{
  padding: 20px 0px 0px 0px;

}
@media(max-width:767px){
  .cart.section,.checkout.section{
  padding: 3px 0 !important;
}
}
.review-rating .bi-star,
.review-rating .bi-star-fill {
  color: #ffc107 !important;
}
.bi-star-fill{
font-size: 14px !important;
}
@media (max-width:575px) {
.bi-star-fill{
  font-size: 13px !important;
}
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
}
.section-title h1 {
   font-size: 22px;
  font-weight:400 !important;
  margin-bottom: 15px;
  color: var(--text-color) !important;
}
@media(min-width:769px) and (max-width:1024px){
  .section-title h1{
    font-size:20px !important;
  }
} 
.section-title p {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #f6ebf0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero .hero-content {
  padding-right: 2rem;
}
.hero .hero-content .season-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero .hero-content h1 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.hero .hero-content p {
  font-size: 15px;
  margin-bottom: 2.5rem;
  max-width: 90%;
  color: var(--heading-color);
}
.hero .hero-content .hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero .hero-content .hero-cta .btn-primary {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 0.6rem 1rem;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}
.hero .hero-content .hero-cta .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero .hero-content .hero-cta .btn-primary:hover::before {
  width: 100%;
}
.hero .hero-content .hero-cta .link-with-arrow {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.hero .hero-content .hero-cta .link-with-arrow i {
  transition: transform 0.3s ease;
}
.hero .hero-content .hero-cta .link-with-arrow:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.hero .hero-content .hero-cta .link-with-arrow:hover i {
  transform: translateX(5px);
}
.hero .hero-content .hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero .hero-content .hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero .hero-content .hero-features .feature-item i {
  font-size: 1.25rem;
  color: var(--accent-color);
}
.hero .hero-content .hero-features .feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}
.hero .hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero .hero-image-wrapper .hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  margin-right: auto;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}
.hero .hero-image-wrapper .hero-image .main-product {
  border-radius: 10px;
  transition: transform 0.5s ease;
}
.hero .hero-image-wrapper .hero-image .main-product:hover {
  transform: scale(1.02);
}
.hero .hero-image-wrapper .hero-image .floating-badge {
  position: absolute;
  top: 50px;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: pulse 2s infinite ease-in-out;
  gap:10px;
}
.hero .hero-image-wrapper .hero-image .floating-badge .discount {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.hero .hero-image-wrapper .hero-image .floating-badge .discount-text {
  font-size: 1.2rem;
  font-weight: 400;
}
.hero .hero-image-wrapper .decorative-element {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  z-index: 1;
}
.hero-slider,
.hero-slider::before,
.hero-slider::after {
  background: none !important;
  content: none !important;
}
.hero-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.hero-slider .swiper {
  width: 100%;
  overflow: hidden;
}
.hero-slider .swiper-wrapper {
  align-items: center;
}
.hero-slider .swiper-slide {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-slider .hero-slide-link {
  display: block;
  width: 100%;
}
.hero-slider .hero-slide-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}
/* When ads bar is off, do NOT pull content up — that hid .page-title / breadcrumbs under the fixed header */
.header:not(:has(.announcement-bar)) {
  margin-top: 0;
}
.header:not(:has(.announcement-bar)) .main-header {
  padding-top: 5px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}
@media (max-width: 991.98px) {
  .hero::before {
    width: 100%;
    height: 50%;
    top: 0;
    right: -20%;
  }
  .hero .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  .hero .hero-content h1 br {
    display: none;
  }
  .hero .hero-content p {
    max-width: 100%;
  }
  .hero .hero-content .hero-cta,
  .hero .hero-content .hero-features {
    justify-content: center;
  }
  .hero .hero-image-wrapper .hero-image {
    margin: 0 auto;
  }
  .hero .hero-image-wrapper .decorative-element {
    right: 50%;
    width: 150px;
    height: 150px;
    transform: translateX(140px);
  }
  .hero-slider {
    margin-bottom: 25px;
  }
}

@media (max-width: 767.98px) {
  .hero .hero-content {
    margin-bottom: 1.8rem;
  }
  .hero .hero-content h1 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
  }

  .hero .hero-content p {
    font-size: 15px;
    max-width: 95%;
    justify-self: center !important;
    margin-bottom: 0 !important;
  }
  .hero .hero-content .hero-cta {
    margin-bottom: 1.8rem;
  }
  .hero .hero-content .hero-cta .btn-primary {
    padding: 0.5rem 0.9rem;
    font-size: 13px;
  }
  .hero .hero-content .hero-cta .link-with-arrow {
    font-size: 0.85rem;
  }
  .hero .hero-content .hero-features .feature-item span {
    font-size: 0.78rem;
  }
  .hero .hero-image-wrapper .hero-image .floating-badge {
    top: 40px;
    right: -25px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
  }
  .hero .hero-image-wrapper .hero-image .floating-badge .discount {
        font-size: 15px;
        margin-bottom: 4px;
  }
  .hero .hero-image-wrapper .hero-image .floating-badge .discount-text {
    font-size: 18px;
    font-weight: 500;
  }
  .hero-slider {
    margin: 0;
    padding-bottom: 25px !important;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 4rem 0;
  }
  .hero .hero-content .season-tag {
    font-size: 0.8rem;
  }
  .hero .hero-content .hero-features {
    gap: 10px;
    align-items: center;
  }
  .hero-slider .swiper {
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 1200px) {
  .hero-contanier {
    max-width: 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    padding: 2.5rem 0;
  }

  .hero .hero-content {
    margin-bottom: 0;
  }
  
}
/*--------------------------------------------------------------
# Category Cards Section
--------------------------------------------------------------*/
.category-cards {
  /* Keep sides/bottom tight under hero; small top pad so title isn't clipped by overflow:clip */
  padding: 10px 0 0 0 !important;
}
#category-cards > .section-title.tit h1 {
  line-height: 1.5;
  overflow: visible;
}
/* Comfortable gap under navbar only when home has no hero —
   normal filled homepage (with hero/slider) is unchanged */
main.main.home-no-hero > #category-cards {
  padding-top: 56px !important;
}
main.main.home-no-hero > #category-cards > .section-title.tit {
  margin-top: 12px;
}
@media (max-width: 767.98px) {
  main.main.home-no-hero > #category-cards {
    padding-top: 40px !important;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  main.main.home-no-hero > #category-cards {
    padding-top: 48px !important;
  }
}
.category-cards .category-slider {
  position: relative;
  padding: 1.8rem 0 1rem 0;
}
.category-cards .category-slider .container {
  position: relative;
}
.category-cards .category-slider .swiper-wrapper {
  height: auto !important;
}
.category-cards .category-slider .swiper-button-next,
.category-cards .category-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: var(--surface-color);
  border-radius: 50%;
  color: var(--heading-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.category-cards .category-slider .swiper-button-next::after,
.category-cards .category-slider .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: bold;
}
.category-cards .category-slider .swiper-button-next:hover,
.category-cards .category-slider .swiper-button-prev:hover {
  background-color: var(--category-color);
  color: var(--category-color-bg);
}
.category-cards .category-card {
  background-color: var(--category-color-bg);
  border-radius: 0.5rem; 
  padding: 1rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-title{
  color:var(--category-color) !important;
}
.category-card.image-only-mode {
  background: transparent !important;
  border-radius: 0;
}
.category-card.with-background.square {
  border-radius: 0 !important;
  margin-top: 5px;
}
.category-card.with-background.circle {
  position: relative;
  border-radius: 50% !important;
  width: 130px;
  height: 130px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.category-card.with-background.circle  .category-image{
  position: absolute;
  top: 5px;
  width: 120px !important;
  height: 120px !important;
}
.category-card.with-background.circle  .category-title {
  position: absolute;
  bottom: -25px;
}
.category-cards .category-card:hover {
  transform: translateY(-5px);
}
.category-cards .category-card:hover .category-title {
  color: var(--accent-color);
}
.category-cards .category-card .category-image {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}
@media (max-width:768px) {
.category-cards .category-card .category-image{
  height: 120px !important;
  width: 120px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}
}
.category-cards .category-card .category-image img {
  height: 120px;
  width: 120px;
  transition: 0.3s;
}
.category-cards .category-card .category-title {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0.3rem;
  color: var(--heading-color);
  transition: 0.3s;
}
.category-cards .category-card .category-count {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
.category-cards .category-slider .swiper-button-prev {
  right: -15px;
}
.category-cards .category-slider .swiper-button-next {
  left: -15px;
}
.category-cards .category-card {
  padding: 0.75rem;
}
.category-cards .category-card .category-image {
  height: 100px;
  margin-bottom: 1.8rem;
}
.category-cards .category-card .category-title {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.category-cards .category-card .category-count {
  font-size: 0.8rem;
}
}
@media (max-width: 767.98px) {
.category-cards .category-slider .swiper-button-prev,
.category-cards .category-slider .swiper-button-next {
  width: 35px;
  height: 35px;
}
.category-cards .category-slider .swiper-button-prev::after,
.category-cards .category-slider .swiper-button-next::after {
  font-size: 0.85rem;
}
.category-cards .category-card .category-image {
  height: 90px;
}
}
@media (max-width: 575.98px) {
.category-cards .category-slider .swiper-button-prev {
  right: -10px;
}
.category-cards .category-slider .swiper-button-next {
  left: -10px;
}
.category-cards .category-card {
  padding: 0.5rem;
}
.category-cards .category-card .category-image {
  height: 80px;
  margin-bottom: 1.5rem;
}
}
/*--------------------------------------------------------------
# Product List 3 Section
--------------------------------------------------------------*/
.product-list .btn-add-to-cart {
  padding: 0.4rem !important;
  width: 100%;
  background-color: var(--accent-color) ;
  color: var(--contrast-color) ;
  border: none ;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  margin-top: 8px;
  height: 36px;
}
/*--------------------------------------------------------------
# Product List 4 Section
--------------------------------------------------------------*/
.product-fixed-icons {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-fixed-icons button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-color) !important;
  border: none;
  color: var(--accent-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.product-fixed-icons button i {
  font-size: 18px;
  color: var(--default-color);
}
.product-fixed-icons button:hover i {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.product-list .product-info .product-price .old-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--heading-color);
}
.product-list .product-info .product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.product-list .product-info .product-price .current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--product-color);
}
.old-price {
  font-size: 0.94rem;
  font-weight: 300;
  margin-inline-end: 8px;
  color: var(--heading-color);
  margin-left: 10px;
}
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--heading-color) !important;
  background-color: transparent;
  border-radius: 30px;
  transition: all 0.3s ease;
}
 .view-all-btn i {
  transition: transform 0.3s ease;
}
.view-all-btn:hover{
  color: var(--heading-color) !important;
}
/*--------------------------------------------------------------
# Product List Section
--------------------------------------------------------------*/
.product-list .product-card {
  position: relative;
  background: var(--product-color-bg) !important;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.product-list .product-card:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}
.product-list .product-image {
  position: relative;
  padding-top: 95%;
  margin-bottom: 5px;
  overflow: hidden !important;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
}
.product-list .product-image:hover .main-image{
  transform: scale(1.009);
}
@media (min-width:1200px) {
.product-list .product-image img{
  object-fit: cover;
}
}
.product-list .product-image img {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0px auto;
  object-fit: cover !important;
  background-color: #f3f3f391;
  transition: all 0.5s ease;
  position-area: center;

}
.product-list .product-image .main-image {
  opacity: 1;
}
.product-list .product-image .hover-image {
  opacity: 0;
}
.product-list .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 226px;
  height: 226px;
  background: color-mix(in srgb, var(--background-color), transparent 75%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.product-list .product-actions {
  position: absolute;
  left: 1rem;
  top: 25%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-list .product-actions .action-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface-color) !important;
  border: none;
  color: var(--accent-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateX(20px);
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}
.product-list .product-actions .action-btn:nth-child(2) {
  animation-delay: 0.1s;
}
.product-list .product-actions .action-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.product-list .product-actions .action-btn i {
  font-size: 1.25rem;
}
.product-list .custom-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  color: #fff !important;
}
.product-list .custom-actions button,
.product-list .custom-actions a {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  background-color: #ffffff9c !important;
  border: none;
  color: var(--card-heart-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.product-list .custom-actions button i,
.product-list .custom-actions a i {
  font-size: 1rem;
}
.product-list .product-card:hover .custom-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-overlay .product-icons {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  color: #fff !important;
}
.product-overlay .product-icons button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-color) !important;
  border: none;
  color: var(--accent-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.product-overlay .product-icons button:hover {
  background-color: var(--accent-color, #dc3545) !important;
  color: var(--contrast-color, #fff) !important;
}
.product-overlay .product-icons button i {
  font-size: 1rem;
  pointer-events: none;
}
.product-list .product-badge.new {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.product-list .product-details {
  padding: 0.6rem;
  border-radius: 12px;
}
.product-list .product-category {
  font-size: 0.875rem;
  color:#6c757d;
  margin-bottom: 5px;
  font-weight: 400;
  height:21px;
}
.product-list .product-title {
    font-size: 0.9375rem;
    font-weight: 400 !important;
}
.product-list .product-title a {
  color: var(--product-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.product-list .product-title a:hover {
  color: var(--accent-color);
}
.product-list .product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 .product-meta .head-detials-title{
  margin-bottom: 0.8125rem !important;
}
.product-list .product-price {
  font-weight: 400;
  font-size: 1.125rem;
  display: flex;
  gap: 0.3rem !important;
  flex-direction: row-reverse;
  width: fit-content;
}
.product-list .product-price .original-price {
  font-size: 0.875rem;
  color: var(--heading-color);
  text-decoration: line-through;
  font-weight: normal;
}
.product-list .product-rating {
  display: flex;
  align-items: center;
  gap: 0px;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 15px;
}
.product-rating i {
  color: #ffc107;
}
.product-list .product-rating span {
  color: #6c757d;
  font-size: 0.875rem;
  margin-left: 0.25rem;
  font-weight: 400;
}
@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 991.98px) {
.product-list .product-details {
  padding: 0.3rem;
  margin-top: 5px;
}
.product-list .product-title {
  font-size: 1rem;
}
.product-list .product-actions .action-btn {
  width: 2.5rem;
  height: 2.5rem;
}
.product-list .product-actions .action-btn i {
  font-size: 1.125rem;
}
}
.icon-only-btn {
  display: inline-flex !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  padding: 0;
  margin-inline: 6px 0;
  background: transparent !important ;
  border: 1px solid #d3d3d3 !important;
  color: var(--accent-color) !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  transition:all 0.3s ease-in-out;
}
.icon-only-btn:hover{
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
}
@media (max-width:575px) {
  .icon-only-btn{
    width: 30px !important;
    height: 30px !important;
  }
}
.container #title-header{
  max-width: 1320px;   
  padding-inline: 25px;
  margin-bottom: 30px;
}
.container #title-header h2{
  font-size:18px;
  font-weight:400 !important;
}
@media (max-width:767px) {
  .container #title-header h2{
    font-size:15px !important;
  }
}

/*--------------------------------------------------------------
# Promo Cards Section
--------------------------------------------------------------*/
.promo-cards {
  --default-color: var(--header-icon-color);
  --heading-color: #333;
}
.promo-cards .promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px !important;
  height: 230px !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
/* صور فقط — fill card like content banners; does not affect men/women cards */
.promo-cards .promo-card.promo-card--image > a,
.promo-cards .promo-card.promo-card--image > a picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.promo-cards .promo-card.promo-card--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  object-fit: cover !important;
  object-position: center center;
}
.promo-cards .promo-card.men-card::before,
.promo-cards .promo-card.women-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.promo-cards .promo-card:hover {
  transform: translateY(-5px);
}
.promo-cards .promo-card .product-image {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-cards .promo-card .product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}
.promo-cards .promo-card:hover .product-image img {
  transform: scale(1.1);
}
.promo-cards .promo-card .promo-content {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: #fff;
}
.promo-cards .promo-card .discount-badge {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 0.5px;
}
.promo-cards .promo-card .product-title {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff !important;
}
.promo-cards .promo-card .shop-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  padding: 7px 22px;
  border-radius: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.promo-cards .promo-card .shop-btn i {
  margin-right: 2px;
  transition: all 0.3s ease;
}
.promo-cards .promo-card .shop-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}
.promo-cards .promo-card .shop-btn:hover i {
  margin-right: 4px;
}
@media (max-width: 575px) {
  .promo-cards .promo-card {
    height: 180px !important;
  }
  .promo-cards .promo-card img {
    height: 180px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .promo-cards .promo-card.men-card .product-image {
    background-color: transparent !important;
    overflow: hidden;
  }
  .promo-cards .promo-card.men-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.men-card img,
  .promo-cards .promo-card.men-card .product-image img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.men-card:hover .product-image img {
    transform: scale(1.05) !important;
  }
  .promo-cards .promo-card.women-card .product-image {
    background-color: transparent !important;
    overflow: hidden !important;
  }
  .promo-cards .promo-card.women-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.women-card img,
  .promo-cards .promo-card.women-card .product-image img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: scale(1.08) !important;
    transform-origin: left center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.women-card:hover .product-image img {
    transform: scale(1.12) !important;
  }
  .promo-cards .promo-card.promo-card--image {
    height: 180px !important;
    border-radius: 8px !important;
  }
  .promo-cards .promo-card.promo-card--image img {
    height: 180px !important;
    object-fit: fill !important;
    object-position: center center !important;
  }
  .promo-cards .promo-card .discount-badge {
    font-size: 17px;
  }
  .promo-cards .promo-card .product-title {
    font-size: 1rem;
  }
  .promo-cards .promo-card .shop-btn {
    font-size: 0.875rem;
    padding: 5px 14px;
  }
  .promo-cards .promo-card .promo-content {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .promo-cards .promo-card {
    height: 200px !important;
  }
  .promo-cards .promo-card .product-image {
    background-color: #1a1a1a;
  }
  .promo-cards .promo-card.women-card .product-image {
    background-color: #f3ece4;
  }
  .promo-cards .promo-card img,
  .promo-cards .promo-card .product-image img {
    height: 200px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .promo-cards .promo-card.men-card .product-image {
    background-color: transparent !important;
    overflow: hidden;
  }
  .promo-cards .promo-card.men-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.men-card img,
  .promo-cards .promo-card.men-card .product-image img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.men-card:hover .product-image img {
    transform: scale(1.05) !important;
  }
  .promo-cards .promo-card.women-card .product-image {
    background-color: transparent !important;
    overflow: hidden !important;
  }
  .promo-cards .promo-card.women-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.women-card img,
  .promo-cards .promo-card.women-card .product-image img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: scale(1.08) !important;
    transform-origin: left center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.women-card:hover .product-image img {
    transform: scale(1.12) !important;
  }
  .promo-cards .promo-card.promo-card--image {
    height: 200px !important;
    border-radius: 8px !important;
  }
  .promo-cards .promo-card.promo-card--image img {
    height: 200px !important;
    object-fit: fill !important;
    object-position: center center !important;
    transform: none !important;
  }
  .promo-cards .promo-card .promo-content {
    top: 0;
    bottom: 0;
    left: 40%;
    right: 14px;
    height: auto;
    transform: none;
    width: auto;
    max-width: none;
    padding: 8px 0;
    box-sizing: border-box;
    align-items: flex-start;
    text-align: right;
    justify-content: center;
    overflow: hidden;
  }
  .promo-cards .promo-card .discount-badge {
    display: block;
    font-size: 0.95rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .promo-cards .promo-card .product-title {
    font-size: 0.875rem;
    margin-bottom: 14px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .promo-cards .promo-card .shop-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}
@media (max-width: 767px) {
  .promo-cards .promo-card .row {
    flex-direction: column;
  }
  .promo-cards .promo-card .product-image {
    background-color: #1a1a1a;
  }
  .promo-cards .promo-card.women-card .product-image {
    background-color: #f3ece4;
  }
  .promo-cards .promo-card .product-image img {
    object-fit: contain !important;
    object-position: center center;
  }
  .promo-cards .promo-card.men-card .product-image {
    background-color: transparent !important;
    overflow: hidden;
  }
  .promo-cards .promo-card.men-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.men-card .product-image img,
  .promo-cards .promo-card.men-card img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.men-card:hover .product-image img {
    transform: scale(1.05) !important;
  }
  .promo-cards .promo-card.women-card .product-image {
    background-color: transparent !important;
    overflow: hidden !important;
  }
  .promo-cards .promo-card.women-card .product-image picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .promo-cards .promo-card.women-card .product-image img,
  .promo-cards .promo-card.women-card img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: scale(1.08) !important;
    transform-origin: left center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    inset: 0 !important;
  }
  .promo-cards .promo-card.women-card:hover .product-image img {
    transform: scale(1.12) !important;
  }
  .promo-cards .promo-card .promo-content {
    top: 0;
    bottom: 0;
    left: 38%;
    right: 18px;
    height: auto;
    transform: none;
    width: auto;
    max-width: none;
    padding: 10px 0;
    box-sizing: border-box;
    align-items: flex-start;
    text-align: right;
    justify-content: center;
    overflow: hidden;
  }
  .promo-cards .promo-card .discount-badge {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .promo-cards .promo-card .product-title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #promo-cards > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #promo-cards .row.g-4,
  #promo-cards .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #promo-cards .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
}

/*--------------------------------------------------------------
# Product List 2 Section
--------------------------------------------------------------*/
.product-list-2 .products-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0px 0px 10px 0px;
}
.product-list-2 .products-carousel-wrapper .swiper-button-next,
.product-list-2 .products-carousel-wrapper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: var(--surface-color);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.product-list-2 .products-carousel-wrapper .swiper-button-next::after,
.product-list-2 .products-carousel-wrapper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--default-color);
}
.product-list-2 .products-carousel-wrapper .swiper-button-next:hover,
.product-list-2 .products-carousel-wrapper .swiper-button-prev:hover {
  background-color: var(--accent-color);
}
.product-list-2 .products-carousel-wrapper .swiper-button-next:hover::after,
.product-list-2 .products-carousel-wrapper .swiper-button-prev:hover::after {
  color: var(--contrast-color);
}
.product-list-2 .product-item {
  transition: transform 0.3s ease;
  height: auto;
}
.product-list-2 .product-card {
  position: relative;
  height: 100%;
  background-color: var(--product-color-bg) !important;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 12px;
  padding:3px
}
.product-list-2 .product-card:hover .product-image .quick-actions,
.discounts-swiper .product-card:hover .product-image .quick-actions,
.related-products-swiper .product-card:hover .product-image .quick-actions {
  opacity: 1;
  transform: translateY(0);
}
.product-list-2 .product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: hidden;
  height: 280px;
  /* position: relative; */
}
.product-list-2 .product-image img {
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-list-2 .product-image .discount-badge,
.product-list-2 .product-image .status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: .10rem 0.65rem;
  font-size: 0.795rem;
  font-weight: 400;
  border-radius: 3px;
  z-index: 1;
}
.product-list-2 .product-image .status-badge.new {
  background-color: #4CAF50;
  color: white;
}
.product-list-2 .product-image .status-badge.hot {
  background-color: #FF9800;
  color: white;
}
.product-list-2 .product-image .quick-actions .quick-action-btn.add-to-cart:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
}
.product-list-2 .product-info {
  padding: 20px;
}
.product-list-2 .product-info .product-category {
  font-size: 14px;
  color: var(--heading-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.product-list-2 .product-info .product-title {
  font-size: 0.9375rem;
  font-weight: 400;
}
.product-list-2 .product-info .product-title a {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--product-color);
  transition: color 0.3s ease;
}
.product-list-2 .product-info .product-title a:hover {
  color: var(--product-color);
}
.product-list-2 .product-info .product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  gap: 0px !important;
  margin-right: auto;
  white-space: nowrap;
}
.product-list-2 .product-info .product-rating .rating-count {
  font-size: 12px;
   color: #6c757d;
}
.rating-count{
    pointer-events: none;
    cursor: default;
}
.product-list-2 .product-info .product-price {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: row-reverse;
  width: fit-content;
}
.product-list-2 .shop-all-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-color);
  background-color: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  transition: all 0.3s ease;
}
.product-list-2 .shop-all-btn:hover {
  color: white;
  background-color: var(--accent-color);
}
@media (max-width: 991.98px) {
.product-list-2 .section-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
}
@media (max-width: 767.98px) {
.product-list-2 .categories {
  width: 100%;
  justify-content: space-between;
}
.product-list-2 .categories .category-btn {
  font-size: 0.9rem;
}
.product-list-2 .product-image .quick-actions .quick-action-btn {
  width: 36px;
  height: 36px;
}
.product-list-2 .product-image .quick-actions .quick-action-btn.add-to-cart {
  padding: 0 15px;
}
}
@media (max-width: 575.98px) {
.product-list-2 .shop-all-btn {
  padding: 10px 25px;
  font-size: 14px;
}
}
@media (max-width: 575.98px) {
.product-list-2 .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 300px;
  margin: 0px auto;
}
.product-list-2 .product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 0px;
  position: relative;
}
.product-list-2 .product-image img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}
.product-list-2 .product-image .discount-badge {
  top: 7px;
  right: 16%;
}
.product-list-2 .product-info .product-header {
  display: flex;
  align-items: center;
  gap: 15px !important;
}
.product-list-2 .product-info .product-title a {
  font-size: 14px;
  font-weight: 400;
}
.product-list-2 .product-info .product-rating {
  justify-content: center;
  gap: 0px !important;
  margin-top: 10px;
}
.product-list-2 .product-info .product-price {
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.product-list-2 .product-info .product-price .current-price,
.product-list-2 .product-info .product-price .old-price {
  font-size: 15px;
}
.product-list-2 .swiper-slide {
  padding-bottom: 25px;
  margin-bottom: 30px;
}
}
/*--------------------------------------------------------------
# Product Details Section
--------------------------------------------------------------*/
.product-details .product-gallery {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 50px;
}
@media (max-width:767px){
  .product-details .product-gallery{
  margin-bottom: 0px !important;
  gap: 0.5rem;
  }
}
/* Thumbnails always under main image (column-reverse + these orders) */
.product-details .product-gallery .thumbnails-vertical {
  order: 1;
  width: 100%;
  margin-top: 0;
}
.product-details .product-gallery .thumbnails-vertical .thumbnails-container ,.thumbnails-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.product-details .product-gallery .thumbnails-vertical .thumbnail-item {
  cursor: pointer;
  width:80px;
  height:80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.9px solid transparent;
  opacity: 0.7;
  transition: all 0.3s ease;
}
@media(max-width:1024px){
  .product-details .product-gallery .thumbnails-vertical .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}
.product-details .product-gallery .thumbnails-vertical .thumbnail-item:hover {
  opacity: 0.9;
}
.product-details .product-gallery .thumbnails-vertical .thumbnail-item.active {
  border-color: var(--accent-color);
  opacity: 1;
}
.product-details .product-gallery .thumbnails-vertical .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1;
}
.product-details .product-gallery .main-image-wrapper {
  order: 2;
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
  flex: 1;
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container {
  position: relative;
  border-radius: 12px;
  height: 450px;
  cursor:pointer;
  border: none !important;
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container a {
  display: block;
  position: relative;
  height: 100%;
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container .main-image {
  width: 100%;
  height: 100%;
  border:none !important;
  object-fit: contain;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transform: none !important;
  scale: 1 !important;
}
.main-image-wrapper .image-zoom-container .main-image:hover{
  object-fit: contain !important;
}
@media (max-width:767px) {
  .product-details .product-gallery .main-image-wrapper .image-zoom-container{
    margin-top: 20px;
  }
  .product-details .product-gallery .main-image-wrapper .image-zoom-container{
    height: 350px;
  }
  .product-details .product-gallery .main-image-wrapper .image-zoom-container .main-image{
    object-fit: contain !important;
  }
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container .drift-zoom-pane {
  background: transparent;
  border-radius: 4px;
  border:none !important
}

.product-details .product-gallery .main-image-wrapper .image-zoom-container .drift-zoom-pane-loader {
  display: none;
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container .zoom-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container .zoom-overlay i {
  color: var(--accent-color);
  font-size: 1.25rem;
}
.product-details .product-gallery .main-image-wrapper .image-nav {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn i {
  color: var(--contrast-color);
  font-size: 1.25rem;
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn:hover {
  background-color: var(--accent-color);
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn:hover i {
  color: var(--contrast-color);
}
.product-details .product-info-wrapper {
  height: 100%;
  padding: 0 0.5rem;
}
@media (min-width: 992px) {
  .product-details .product-info-wrapper {
    padding: 0 1rem;
    position: sticky;
    top: 100px;
  }
}
.product-details .product-info-wrapper .product-meta {
  margin-bottom: 1.5rem;
}
.product-details .product-info-wrapper .product-meta .product-category {
  font-size: 0.95rem;
  color: var(--heading-color) !important;
  letter-spacing: 1px;
  font-weight: 400;
}
@media (max-width:767px){
  .product-details .product-info-wrapper .product-meta .product-category{
    font-size:14px;
  }
}
.product-details .product-info-wrapper .product-meta .product-share {
  position: relative;
}
.product-details .product-info-wrapper .product-meta .product-share .share-btn {
  border-radius: 50%;
  color:#111827;
  background-color: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-details .product-info-wrapper .product-meta .product-share .share-btn i {
  color: #7e7e7e;
  font-size: 1.2rem;
}
.product-details .product-info-wrapper .product-meta .product-share .share-btn:hover+.share-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown a i {
  color: var(--default-color);
  font-size: 0.875rem;
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown a:hover {
  background-color: var(--accent-color);
}
.product-details .product-info-wrapper .product-meta .product-share .share-dropdown a:hover i {
  color: var(--contrast-color);
}
.product-details .product-info-wrapper .product-meta .product-title {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--heading-color);
  line-height: 1.3;
  margin: 0px;
}
@media (min-width: 768px) {
.product-details .product-info-wrapper .product-meta .product-title {
  font-size: 2.25rem;
}
}
.product-details .product-info-wrapper .product-meta .product-rating {
  display: flex;
  align-items: center;
  gap: 0rem;
}
.product-details .product-info-wrapper .product-meta .product-rating .stars {
  display: flex;
  align-items: center;
}
.product-details .product-info-wrapper .product-meta .product-rating .stars i {
  color: #FFD700;
  font-size: 1rem;
  margin-right: 2px;
}
.product-details .product-info-wrapper .product-meta .product-rating .stars .rating-value {
  margin-right: 3px !important;
  margin-left: 3px !important;
  font-weight: 400;
  color: #6c757d;
  font-size:1rem;
}

.product-details .product-info-wrapper .product-meta .product-rating .rating-count {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 300;
  text-decoration: none;
}
@media(max-width:767px){
  .product-details .product-info-wrapper .product-meta .product-rating .stars .rating-value{
    font-size:0.94rem;
  }
  .product-details .product-info-wrapper .product-meta .product-rating .rating-count {
  font-size: 0.8125rem;
}
}
.product-details .product-info-wrapper .product-meta .product-rating .rating-count:hover {
  color: var(--accent-color);
  text-decoration: underline;
}
.product-details .product-info-wrapper .product-price-container {
  /* no horizontal inset — price under متوفر, وفر under share */
  padding-block: 0.5rem;
  padding-inline: 0;
  border-radius: 6px;
}
.product-details .product-info-wrapper .product-price-container .price-wrapper {
  display: flex;
  align-items: center;
}
.product-details .product-info-wrapper .product-price-container .price-wrapper .current-price {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--product-color);
}
@media(max-width:757px){
  .product-details .product-info-wrapper .product-price-container .price-wrapper .current-price{
    font-size:1.3rem !important;
  }
}
.product-details .product-info-wrapper .product-price-container .discount-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}
.product-details .product-info-wrapper .product-price-container .stock-info {
  display: flex;
  align-items: center;
}
.product-details .product-info-wrapper .product-price-container .stock-info i {
  color: #10b981;
  margin-left: 0.5rem;
}
.product-details .product-info-wrapper .product-price-container .stock-info span {
  font-weight: 300;
}
.product-details .product-info-wrapper .product-price-container .stock-info .stock-count {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  color: var(--heading-color);
  font-weight: normal;
}
.product-details .product-info-wrapper .product-short-description {
  margin-bottom: 2rem;
}
.product-details .product-info-wrapper .product-short-description p {
  color: var(--heading-color);
  font-size: 0.875rem !important;
  font-weight:400;
  width: 100%;
}
.product-details .product-info-wrapper .product-short-description .dec-text{
  width: 100%;
}
.product-details .product-info-wrapper .product-short-description .dec-text strong{
  font-size:1rem;
  font-weight: 400 !important;
}
.product-details .product-info-wrapper .product-short-description .dec-text strong .icon-saudi_riyal{
  font-size: 1.4rem;
  margin-right: -2px;
}
@media (max-width:767px) {
  .product-details .product-info-wrapper .product-short-description .dec-text strong{
  font-size:0.9rem;
}
.product-details .product-info-wrapper .product-short-description .dec-text strong .icon-saudi_riyal{
  font-size: 1.2rem;
}
}
.product-details .product-info-wrapper .product-options .option-group {
  margin-top: 1.5rem;
}
.product-details .product-info-wrapper .product-options .option-group .option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.product-details .product-info-wrapper .product-options .option-group .option-header .option-title {
  font-weight: 600;
  margin: 0;
}
.product-details .product-info-wrapper .product-options .option-group .option-header .selected-option {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.product-details .product-info-wrapper .product-options .option-group .color-options {
  display: flex;
  gap: 1rem;
}
.product-details .product-info-wrapper .product-options .option-group .color-options .color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.product-details .product-info-wrapper .product-options .option-group .color-options .color-option:hover {
  transform: scale(1.1);
}
.product-details .product-info-wrapper .product-options .option-group .color-options .color-option.active {
  border-color: var(--accent-color);
}
.product-details .product-info-wrapper .product-options .option-group .color-options .color-option.active i {
  opacity: 1;
}
.product-details .product-info-wrapper .product-options .option-group .color-options .color-option i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--contrast-color);
  font-size: 0.875rem;
  opacity: 0;
}
.product-details .product-info-wrapper .product-options .option-group .size-options {
  display: flex;
  gap: 0.75rem;
}
.product-details .product-info-wrapper .product-options .option-group .size-options .size-option {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  transition: all 0.3s ease;
  font-weight: 500;
}
.product-details .product-info-wrapper .product-options .option-group .size-options .size-option:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}
.product-details .product-info-wrapper .product-options .option-group .size-options .size-option.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector {
  display: flex;
  align-items: center;
  max-width: 180px;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-btn.decrease {
  border-radius: 0 8px 8px 0;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-btn.increase {
  border-radius: 8px 0 0 8px;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-left: none;
  border-right: none;
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-input:focus {
  border-color: var(--accent-color);
  outline: none;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-input::-webkit-inner-spin-button,
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-details .product-info-wrapper .product-actions .btn i {
  margin-right: 0.5rem;
}
.product-details .product-info-wrapper .product-actions .add-to-cart-btn {
  flex: 1;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.product-details .product-info-wrapper .product-actions .add-to-cart-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.product-details .product-info-wrapper .product-actions .buy-now-btn {
  flex: 1;
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.product-details .product-info-wrapper .product-actions .buy-now-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.product-details .product-info-wrapper .product-actions .wishlist-btn {
  width: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-details .product-info-wrapper .product-actions .wishlist-btn i {
  margin-right: 0;
  font-size: 1.25rem;
}
.product-details .product-info-wrapper .product-actions .wishlist-btn:hover {
  color: #fff;
  border-color: #e53935;
  background-color: #e53935;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
@media (max-width: 575px) {
.product-details .product-info-wrapper .product-actions {
  flex-direction: column;
}
.product-details .product-info-wrapper .product-actions .wishlist-btn {
  width: 100%;
}
}
.product-details .product-info-wrapper .delivery-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px) {
.product-details .product-info-wrapper .delivery-options {
  grid-template-columns: repeat(3, 1fr);
}
}
.product-details .product-info-wrapper .delivery-options .delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--surface-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.product-details .product-info-wrapper .delivery-options .delivery-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.product-details .product-info-wrapper .delivery-options .delivery-option i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}
.product-details .product-info-wrapper .delivery-options .delivery-option h6 {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--heading-color);
}
.product-details .product-info-wrapper .delivery-options .delivery-option p {
  margin: 0;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.product-details .sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}
.product-details .sticky-add-to-cart.visible {
  transform: translateY(0);
}
.product-details .sticky-add-to-cart .sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .product-details .sticky-add-to-cart .sticky-content {
    flex-direction: column;
    gap: 1rem;
  }
}
.product-details .sticky-add-to-cart .sticky-content .product-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-details .sticky-add-to-cart .sticky-content .product-preview .product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}
.product-details .sticky-add-to-cart .sticky-content .product-preview .product-info .product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--heading-color);
}
.product-details .sticky-add-to-cart .sticky-content .product-preview .product-info .product-price {
  font-weight: 700;
  color: var(--product-color);
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector {
  display: flex;
  align-items: center;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-btn.decrease {
  border-radius: 8px 0 0 8px;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-btn.increase {
  border-radius: 0 8px 8px 0;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-left: none;
  border-right: none;
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-input:focus {
  border-color: var(--accent-color);
  outline: none;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-input::-webkit-inner-spin-button,
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .quantity-selector .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .add-to-cart-btn,.not-avaliable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transition: all 0.3s ease;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .add-to-cart-btn i {
  margin-right: 0.5rem;
}
.product-details .sticky-add-to-cart .sticky-content .sticky-actions .add-to-cart-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.product-details .product-details-accordion {
    position: relative;
    z-index: 0;
}
@media(max-width:575px){
  .product-details .product-details-accordion{
    margin-bottom: 0px !important;
  }
}
.product-details .product-details-accordion .accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 1rem;
}
.product-details .product-details-accordion .accordion-item:last-child {
  margin-bottom: 0;
  /* margin-top:4rem; */
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button {
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  box-shadow: none;
}
@media (max-width:767px) {
  .product-details .product-details-accordion .accordion-item .accordion-header .accordion-button {
  font-size: 13px;
  margin-right: 30px !important;
}
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233690e7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.product-details .product-details-accordion .accordion-item .accordion-collapse {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body {
  padding: 1.5rem;
  background-color: var(--surface-color);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body h4 {
  color: var(--heading-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body p {
  color: var(--heading-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .feature-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.5rem;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--heading-color);

}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .feature-list li i {
  color: var(--accent-color);
  margin-left: 0.75rem;
  font-size: 1.125rem;
  margin-top: 0.125rem;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .specs-table .specs-row {
  display: flex;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .specs-table .specs-row:last-child {
  border-bottom: none;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .specs-table .specs-row .specs-label {
  width: 40%;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--heading-color);
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body .specs-table .specs-row .specs-value {
  width: 60%;
  padding: 0.75rem 0;
  color: var(--heading-color);
}
.product-details .product-details-accordion .product-reviews .reviews-summary {
  margin-bottom: 2.5rem;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
@media (min-width: 992px) {
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating {
  margin-bottom: 0;
}
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-stars {
  margin: 0.75rem 0;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-stars i {
  color: #FFD700;
  font-size: 1.5rem;
  margin-right: 2px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-count {
  font-size: 0.875rem;
  color: var(--heading-color);
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown {
  padding: 1.5rem;
  background-color: var(--surface-color);
  border-radius: 12px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar:last-child {
  margin-bottom: 0;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar .rating-label {
  width: 60px;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar .progress {
  flex: 1;
  height: 8px;
  margin: 0 0.75rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 4px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar .progress .progress-bar {
  background-color: #FFD700;
  border-radius: 4px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar .rating-count {
  width: 30px;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: right;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item {
  padding: 1.5rem;
  border-radius: 12px;
  background-color: var(--surface-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .reviewer-info {
  display: flex;
  align-items: center;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .reviewer-info .reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.75rem;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .reviewer-info .reviewer-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .reviewer-info .review-date {
  font-size: 0.75rem;
  color: var(--heading-color);
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .review-rating i {
  color: #FFD700;
  font-size: 0.875rem;
  margin-left: 2px;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-content p {
  margin-bottom: 0;
  color: var(--heading-color);
  line-height: 1.6;
}
.product-details  .review-form-container {
  padding: 0px;
  border-radius: 12px;
}
.product-details   .review-form-container h4 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}
.product-details   .review-form-container h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}
.product-details  .review-form-container .form-label  {
  color: var(--heading-color);
  margin-bottom: 10px !important;
}
.product-details   .review-form-container .form-control {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background-color: #ffffff;
  transition: all 0.3s ease;
  width:100% !important;
  margin: 0px auto;
  margin-top: 5px !important;
}
@media (max-width:575px) {
  .product-details   .review-form-container .form-control {
    width: 100% !important;
  }
}
.product-details  .review-form-container .review-card .form-control:focus  {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%) !important;
}
.product-details  .review-form-container .form-text {
  color: var(--heading-color);
  font-size: 0.875rem;
  font-weight:300;
  margin-top: 0.5rem;
  justify-content: end !important;
}
@media(max-width:575px){
  .product-details   .review-form-container .form-text{
    font-size:13px !important;
  }
}
.product-details   .review-form-container .star-rating {
  display: inline-flex;
  flex-direction: row; /* DOM 5→1: ★1 on the right for RTL 1/5 */
  justify-content: flex-start;
  align-items: center;
  direction: ltr !important;
  unicode-bidi: isolate;
  width: auto;
  max-width: 100%;
  transform: none;
}
.product-details   .review-form-container .star-rating input[type=radio] {
  display: none;
}
.product-details   .review-form-container .star-rating label {
  cursor: pointer;
  font-size: 0;
  margin: 0;
  padding: 0 0.25rem;
  transform: none;
}
.product-details   .review-form-container .star-rating label:first-of-type {
  padding-left: 0; /* ★5 leftmost */
}
.product-details   .review-form-container .star-rating label:last-of-type {
  padding-right: 0; /* ★1 rightmost */
}
.product-details   .review-form-container .star-rating label i {
  font-size: 1.75rem;
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  transition: all 0.2s ease;
  transform: none;
}
.product-details   .review-form-container .star-rating input[type=radio]:checked~label i,
.product-details   .review-form-container .star-rating label:hover i,
.product-details   .review-form-container .star-rating label:hover~label i {
  color: #FFD700;
}
.product-details  .review-form-container .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  border-radius: 6px;
  padding: 0.4625rem 1.0625rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
@media(max-width:767px){
  .product-details  .review-form-container .btn-primary{
    padding: 7px 14px !important;
    font-size: 0.8125rem !important;
  }
}
.product-details   .review-form-container .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
}
/*--------------------------------------------------------------
# Category Header Section
--------------------------------------------------------------*/
.category-header {
  max-width: 900px;
  margin: 0 auto;
}
.category-header .confirmation-header {
  margin-bottom: 2.5rem;
}
.category-header .confirmation-header .success-icon i {
  font-size: 4rem;
  color: #4BB543;
}
.category-header .confirmation-header h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}
.category-header .confirmation-header .lead {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 600px;
  margin: 0 auto;
}
.category-header .confirmation-header .order-number {
  font-size: 1.1rem;
  color: var(--heading-color);
}
.category-header .confirmation-header .order-number strong {
  color: var(--default-color);
  letter-spacing: 0.5px;
}
.category-header .order-details {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.category-header .order-details h4 {
  font-size: 1.25rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.category-header .order-details address {
  font-style: normal;
  line-height: 1.6;
}
.category-header .order-details .shipping-method {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 6px;
  font-size: 0.9rem;
}
.category-header .order-details .payment-info .payment-method {
  display: flex;
  align-items: center;
}
.category-header .order-details .payment-info .billing-address {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
@media (max-width: 767.98px) {
.category-header .order-details {
  padding: 1.5rem;
  }
}
.category-header .order-summary {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.category-header .order-summary h4 {
  font-size: 1.25rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.category-header .order-summary .order-items .item-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.category-header .order-summary .order-items .item-row:last-child {
  border-bottom: none;
}
.category-header .order-summary .order-items .item-row .item-image {
  flex: 0 0 80px;
  margin-right: 1rem;
}
.category-header .order-summary .order-items .item-row .item-image img {
  border-radius: 8px;
  object-fit: contain;
  width: 80px;
  height: 80px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}
.category-header .order-summary .order-items .item-row .item-details {
  flex: 1;
}
.category-header .order-summary .order-items .item-row .item-details h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.category-header .order-summary .order-items .item-row .item-details p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.category-header .order-summary .order-items .item-row .item-details .quantity-price {
  font-size: 0.95rem;
}
.category-header .order-summary .order-items .item-row .item-details .quantity-price .price {
  font-weight: 600;
}
.category-header .order-summary .order-totals {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding-top: 1rem;
  font-size: 0.95rem;
}
.category-header .order-summary .order-totals .total-row {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
}
.category-header .next-steps {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.category-header .next-steps h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.category-header .next-steps p {
  margin-bottom: 1.5rem;
}
.category-header .next-steps .tracking-info {
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.category-header .next-steps .tracking-info i {
  color: var(--accent-color);
}
.category-header .next-steps .action-buttons .btn {
  padding: 0.65rem 1.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.category-header .next-steps .action-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.category-header .next-steps .action-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-2px);
}
.category-header .next-steps .action-buttons .btn.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.category-header .next-steps .action-buttons .btn.btn-outline-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transform: translateY(-2px);
}
.category-header .help-contact {
  font-size: 0.95rem;
}
.category-header .help-contact a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}
.category-header .help-contact a:hover {
  text-decoration: underline;
}
@media (max-width: 767.98px) {
.category-header .order-details,
.category-header .order-summary,
.category-header .next-steps {
  padding: 1.25rem;
}
.category-header .order-items .item-row .item-image {
  flex: 0 0 70px;
}
.category-header .order-items .item-row .item-image img {
  width: 70px;
  height: 70px;
}
.category-header .order-items .item-row .item-details h5 {
  font-size: 1rem;
}
}
/*--------------------------------------------------------------
# Category Product List Section
--------------------------------------------------------------*/
.category-product-list {
  padding: 0 0 40px 0;
}
.category-product-list .product-box {
  position: relative;
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-product-list .product-box:hover {
  transform: translateY(-8px);
}
.category-product-list .product-box:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}
.category-product-list .product-box:hover .main-img {
  transform: scale(1.08);
}
.category-product-list .product-thumb {
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
}
.category-product-list .main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-product-list .product-label {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35em 0.8em;
  border-radius: 30px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.category-product-list .product-label.product-label-sale {
  background-color: #e53e3e;
}
.category-product-list .product-label.product-label-sold {
  background-color: #718096;
}
.category-product-list .product-label.product-label-hot {
  background-color: #dd6b20;
}
.category-product-list .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
.category-product-list .product-quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.category-product-list .quick-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.category-product-list .quick-action-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.category-product-list .add-to-cart-container {
  width: 100%;
}
.category-product-list .add-to-cart-btn,.not-avaliable {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.category-product-list .add-to-cart-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.category-product-list .add-to-cart-btn.disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
}
.category-product-list .add-to-cart-btn.disabled:hover {
  background-color: #a0aec0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.category-product-list .product-content {
  padding: 1.5rem;
}
.category-product-list .product-details {
  margin-bottom: 1rem;
}
.category-product-list .product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  height: 2.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: var(--heading-color);
}
.category-product-list .product-title a {
  color: inherit;
}
.category-product-list .product-title a:hover {
  color: var(--accent-color);
}
.category-product-list .product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.category-product-list .product-price span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--product-color);
}
.category-product-list .product-price .original {
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: line-through;
  color: var(--heading-color);
}
.category-product-list .product-price .sale {
  color: var(--product-color);
}
.category-product-list .product-rating-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.category-product-list .rating-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}
.category-product-list .rating-stars i {
  margin-right: 1px;
}
.category-product-list .rating-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-color);
}
.category-product-list .product-color-options {
  display: flex;
  gap: 0.5rem;
}
.category-product-list .color-option {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}
.category-product-list .color-option:hover {
  transform: scale(1.1);
}
.category-product-list .color-option.active:after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
}
@media (max-width: 991.98px) {
.category-product-list .product-title {
  font-size: 0.95rem;
  height: 2.6rem;
}
.category-product-list .product-content {
  padding: 1.25rem;
}
}
@media (max-width: 767.98px) {
.category-product-list .product-box {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
.category-product-list .product-overlay {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.1);
}
.category-product-list .add-to-cart-btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
}
}
/*--------------------------------------------------------------
# Category Pagination Section
--------------------------------------------------------------*/
.category-pagination {
  padding-top: 0;
}
.category-pagination nav {
  position: relative;
}
.category-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.category-pagination li {
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.category-pagination li.ellipsis {
  color: var(--heading-color);
  padding: 8px 16px;
  user-select: none;
}
.category-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 16px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--default-color), transparent 90%);
}
.category-pagination li a.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.category-pagination li a:hover:not(.active) {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px color-mix(in srgb, var(--default-color), transparent 85%);
}
.category-pagination li a i {
  font-size: 14px;
}
.category-pagination li a span {
  margin: 0 4px;
}
@media (max-width: 575px) {
.category-pagination ul {
  gap: 4px;
}
.category-pagination li a {
  min-width: 36px;
  height: 36px;
  padding: 8px 12px;
  font-size: 14px;
}
.current-price .sar-icon {
  width: 14px;
  height: 14px;
}
}
/*--------------------------------------------------------------
# Cart Section
--------------------------------------------------------------*/
.cart .cart-items {
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.cart .cart-items .cart-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 1rem;
  display:none !important; 
}
span.product-count{
  color: var(--text-color) !important;
  display: block;
  font-size: 1.31rem;
  font-weight: 400;
  margin-bottom: 20px;
  padding: 0;
}
span.product-count .count{
  color: var(--text-color) !important;
  font-size: 1.178rem;
  font-weight: 400;
}
@media (max-width:575px) {
  span.product-count{
    font-size: 16px;
    padding: 10px 0 !important;
    margin-bottom: 0px;
  }
  span.product-count .count{
    font-size: 0.94rem;
  }
}
.cart .cart-items .cart-header h5 ,.order-details-content thead th,.products-table .th {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0;
  color:var(--nav-color);
}
@media(max-width:767.98px){
 .order-details-content thead th ,.products-table .th{
  font-size:0.875rem;
  white-space: nowrap;
  }
}
.cart .cart-items .cart-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: background-color 0.3s ease;
}
.cart .cart-items .cart-item:last-child {
  border-bottom: none;
}
.cart .cart-items .cart-item:hover {
  background-color: color-mix(in srgb, var(--background-color), transparent 70%);
}
.cart .cart-items .cart-item .product-info .product-image ,.products-table .product-image  {
  width: 5rem;
  height: 5rem;
  min-width: 5rem;
  border-radius: 0.375rem;
  overflow: hidden !important;
  margin-left: 1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-table .product-image{
  margin-left:0px !important;
}
.cart .cart-items .cart-item .product-info .product-image img ,.products-table .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .cart .cart-items .cart-item .product-info .product-image ,.products-table .product-image {
    width: 5rem;
    height: 5rem;
    /* min-width: 4rem; */
    margin-left: 1rem;
  }
}
.cart .cart-items .cart-item .product-info{
    display:flex;
    /* align-items: center; */
}
.cart .cart-items .cart-item .product-info .product-details .product-title ,.order-details-content .title-name ,.products-table .title-name {
  font-weight: 400;
  margin-bottom: 0;
  font-size: 0.875rem !important;
  color: var(--nav-color);
  line-height: 1.35;
}
.products-table .title-name {
  color: var(--heading-color) !important;
}
.cart .cart-items .cart-item .product-info .product-details .product-title {
  color: var(--heading-color);
}
.cart .cart-items .cart-item .product-info .product-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}
.order-details-content .title-name .badge{
   font-weight: 400;
  margin-bottom: 0;
  font-size: 0.95rem;

}
.product-details small, .available-qty{
    font-size: 0.75rem;
    font-weight: 300;
    color:#6c757d;
}
.cart .cart-items .cart-item .product-info .product-details .product-attrs,
.cart .cart-items .cart-item .product-info .product-details .product-title + small {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.45;
}
.return-reason-container div span{
  font-size:14px !important;
}
@media (max-width:767px) {
  .product-details small, .available-qty{
    display:block;
  }
  .products-table .product-details small{
    margin:0px !important
  }
  .products-table .product-details .return-product-price {
    margin-top: 0.35rem !important;
  }
  .q-selector-container ,.return-reason-container{
    text-align: right !important;
  }
  .return-reason-container{
    margin-bottom: 15px !important;
  }
  /* .return-reason-container div{
    justify-content: flex-start !important
  } */
  .return-reason-container div span{
    font-size:13px !important;
  }
}
.header-return,
.products-table .header-return {
  display: none !important;
}
.cart .cart-items .cart-item .product-info .product-details .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.cart .cart-items .cart-item .product-info .product-details .product-meta span {
  display: inline-block;
}
.cart .cart-items .cart-item {
  position: relative;
}
.cart .cart-items .cart-item .remove-item-x {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  color: #dc3545;
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, color 0.2s ease;
}
.cart .cart-items .cart-item .remove-item-x:hover {
  transform: scale(1.2);
  color: #a71d2a;
}
.cart .bg-success {
  background-color: transparent !important;
  color: #1e7e34;
  position: absolute;
  font-size: 0.8rem;
  font-weight: 400;
  left: 0;
  top: 50px;
}
.cart .bg-success i{
  color: #1e7e34;
  font-size: 0.94rem;
  font-weight: bolder;
}
@media(max-width:767.98px){
  .cart .bg-success {
  font-size: 0.75rem;
  left: 0%;
  /* right:15px; */
  top: 55%;
}
.cart .bg-success i{
  font-size: 0.9rem;
}
}
.cart .cart-items .cart-item .price-tag .current-price , .order-details-content .current-price {
  font-weight: 400 !important;
  color: var(--product-color);
  font-size: 0.875rem;
}
.cart .cart-items .cart-item .price-tag .current-price.has-discount {
  font-size: 0.9375rem;
  font-weight: 400 !important;
  line-height: 1;
  margin-top: 0 !important;
  display: inline; /* same as ملخص الطلب — preserves HTML space */
}
.cart .cart-items .cart-item .price-tag .current-price.has-discount .icon-saudi_riyal {
  font-size: 22px !important; /* discounted price: riyal a little smaller */
  line-height: 1;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -5px;
  transform: none;
  margin: 0;
}
.cart .cart-items .cart-item .price-tag .single-price.current-price {
  display: inline;
}
.cart .cart-items .cart-item .price-tag .single-price.current-price .icon-saudi_riyal {
  font-size: 25px !important;
  line-height: 1;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -5px;
  transform: none;
  margin: 0;
}
.cart .cart-items .cart-item .price-tag .old-price {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cart .cart-items .cart-item .price-tag .old-price .icon-saudi_riyal {
  font-size: 20px !important; /* strikethrough: riyal a little bigger */
  line-height: 1;
  position: relative;
  top: -3px;
  vertical-align: middle;
}
.cart .cart-items .cart-item .price-tag.cart-riyal {
  align-items: center !important;
}
.cart .cart-items .cart-item .box-one-phone .price-tag {
  height: auto;
  min-height: 25px;
  align-items: center;
}
@media(max-width:757px){
  .order-details-content .current-price{
    font-size:13px !important;
    white-space: nowrap;
  }
  .order-details-content .current-price .icon-saudi_riyal{
    font-size:24px !important
  }
}
.cart .cart-items .cart-item .price-tag .original-price {
  text-decoration: line-through;
  color: var(--heading-color);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}
/* Cart qty counter — match product-details .qty-control (fixed widths, no stretch) */
.cart .cart-items .cart-item .quantity-selector {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  overflow: hidden;
  width: auto;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid #d3d3d3;
}
.products-table .quantity-selector {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  overflow: hidden;
  width: auto;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid #d3d3d3;
}
.cart .cart-items .cart-item .quantity-selector .quantity-btn {
  background: transparent;
  border: none;
  height: 100%;
  width: 2.5rem;
  min-width: 2.5rem;
  max-width: 2.5rem;
  flex: 0 0 2.5rem;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color) !important; /* match إتمام الطلب / أضف إلى السلة */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.15s ease;
  box-sizing: border-box;
  user-select: none;
  cursor: pointer;
}
/* Same disabled look as product-details qty (+/−) */
.cart .cart-items .cart-item .quantity-selector .quantity-btn.is-disabled,
.cart .cart-items .cart-item .quantity-selector .quantity-btn.is-disabled:hover,
.cart .cart-items .cart-item .quantity-selector .quantity-btn.is-disabled:active {
  color: #d1d5db !important;
  cursor: not-allowed !important;
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: none;
}
.products-table .quantity-btn,
.return-qty-btn {
  background: transparent;
  border: none;
  height: 100%;
  width: 2.5rem;
  min-width: 2.5rem;
  max-width: 2.5rem;
  flex: 0 0 2.5rem;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color) !important;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.15s ease;
  box-sizing: border-box;
  user-select: none;
  cursor: pointer;
}
.products-table .quantity-btn:hover,
.return-qty-btn:hover {
  background: #f3f4f6;
  color: var(--accent-color) !important;
}
.products-table .quantity-btn:active,
.return-qty-btn:active {
  background: #e5e7eb;
  color: var(--accent-color) !important;
}
@media (max-width: 767px) {
  .products-table .quantity-btn:hover,
  .return-qty-btn:hover {
    background: #f3f4f6;
    color: var(--accent-color) !important;
  }
}
.products-table .quantity-btn.is-disabled,
.products-table .quantity-btn.is-disabled:hover,
.products-table .quantity-btn.is-disabled:active,
.return-qty-btn.is-disabled,
.return-qty-btn.is-disabled:hover,
.return-qty-btn.is-disabled:active {
  color: #d1d5db !important;
  cursor: not-allowed !important;
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: none;
}
.cart .cart-items .cart-item .quantity-selector .quantity-btn:hover {
  background: #f3f4f6;
  color: var(--accent-color) !important;
}
.cart .cart-items .cart-item .quantity-selector .quantity-btn:active {
  background: #e5e7eb;
  color: var(--accent-color) !important;
}
@media (max-width:767px) {
  .cart .cart-items .cart-item .quantity-selector .quantity-btn:hover {
    background: #f3f4f6;
    color: var(--accent-color) !important;
  }
}
.cart .cart-items .cart-item .quantity-selector .quantity-input {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.75rem;
  box-sizing: border-box;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  font-size: 0.875rem;
  color: var(--heading-color);
  font-weight: 600;
  padding: 0;
  margin: 0;
  line-height: 1;
  background-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
}
.products-table .quantity-input {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.75rem;
  box-sizing: border-box;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  font-size: 0.875rem;
  color: var(--heading-color);
  font-weight: 600;
  padding: 0 !important;
  margin: 0;
  line-height: 1;
  background-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
}
.products-table .quantity-input::-webkit-inner-spin-button,
.products-table .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Keep return qty aligned under product text; only size matches product-details */
.products-table .product-row .q-selector-container .quantity-selector {
  margin: 0;
  height: 2rem;
  flex-shrink: 0;
}
.products-table .product-row .q-selector-container .quantity-selector .return-qty-btn {
  width: 2.5rem !important;
  min-width: 2.5rem !important;
  max-width: 2.5rem !important;
  flex: 0 0 2.5rem !important;
  padding: 0 !important;
}
.products-table .product-row .q-selector-container .quantity-selector .quantity-input {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.75rem !important;
  padding: 0 !important;
}
/* .products-table .quantity-input{
  width:30px !important;
} */

.cart .cart-items .cart-item .quantity-selector .quantity-input:focus {
  outline: none;
}
.cart .cart-items .cart-item .quantity-selector .quantity-input::-webkit-inner-spin-button,
.cart .cart-items .cart-item .quantity-selector .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart .cart-items .cart-item .item-total {
  font-weight: 400;
  color: var(--heading-color);
  font-size: 1rem;
}
.cart .cart-items .cart-item .item-total .item-subtotal {
  display: inline; /* same as ملخص الطلب — preserves HTML space */
  color: var(--heading-color);
  font-size: inherit;
}
.cart .cart-items .cart-item .item-total span.icon-saudi_riyal {
  font-size: 25px !important; /* match ملخص الطلب */
  line-height: 1;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -5px;
  margin: 0;
}
@media (min-width: 768px) {
.text-md-end {
  text-align: left !important;
}
}
@media (max-width: 767.98px) {
  .cart .cart-items{
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0px !important;
  }
.cart .cart-items .cart-item {
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
}
.cart .cart-items .cart-item .price-tag,
.cart .cart-items .cart-item .item-total {
  font-size: 1rem;
  font-weight: 400;
}
.cart .cart-items .cart-item .price-tag .current-price.has-discount {
  font-size: 0.9375rem !important;
  margin-top: 0 !important;
  line-height: 1;
}
.cart .cart-items .cart-item .price-tag .current-price.has-discount .icon-saudi_riyal {
  font-size: 22px !important;
}
.cart .cart-items .cart-item .price-tag .single-price.current-price .icon-saudi_riyal {
  font-size: 25px !important;
}
.cart .cart-items .cart-item .price-tag .old-price {
  font-size: 0.8125rem !important;
  margin-top: 0 !important;
  line-height: 1;
}
.cart .cart-items .cart-item .price-tag .old-price .icon-saudi_riyal {
  font-size: 19px !important; /* strikethrough: riyal a little bigger on mobile */
  top: -3px;
}
.cart .cart-items .cart-item .item-total span.icon-saudi_riyal {
  font-size: 25px !important;
}
}
.cart-summary .coupon-form {
  padding: 1.2rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.cart-summary .coupon-form .input-group {
  max-width: 100%;
  gap: 0rem;
  display: flex;
  align-items: center;
}
.cart-summary .coupon-form .input-group .form-control {
  position: relative;
  border-left: none;
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 0.875rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  flex: 1;
  padding: 0.5rem;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
  border-top-left-radius:6px !important;
  border-bottom-left-radius: 6px !important;
}
.cart-summary .coupon-form .input-group .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.cart-summary .coupon-form .input-group .btn {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-left: none;
  font-size: 0.875rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  padding: 8px 14px;
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
  z-index: 99 !important;
}
@media(max-width:767px){
  .cart-summary .coupon-form .input-group .btn{
    font-size:0.8125rem;
  }
}
.cart-summary .coupon-form .input-group .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  border-color: var(--accent-color);
}
.cart-summary .coupon-form #remove_coupon_button {
  color: #e53e3e;
  cursor: pointer;
  font-size: 0.8rem;
  display: block;
  margin-top: 1rem;
  padding-right: 0.25rem;
  font-weight: 400;
}
@media(max-width:767px){
  .cart-summary .coupon-form #remove_coupon_button{
    font-size: 0.75rem;
  }
}
.cart .cart-items .cart-actions .btn {
  font-size: 0.875rem;
  padding: 0.4625rem 1.0625rem;
  font-weight:400;
  display: inline-flex;
  align-items: center;
  gap: 0.275rem;
  transition: all 0.3s ease;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  background-color: transparent;
}
.cart .cart-items .cart-actions .btn:hover,
.cart .cart-items .cart-actions .btn:focus,
.cart .cart-items .cart-actions .btn:active {
  color: var(--accent-color);
  background-color: transparent;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: none;
}
.cart .cart-items .cart-actions .btn.btn-outline-remove,
.cart .btn-outline-remove,
#clear-cart.btn-outline-remove {
  color: #1a1a1ab5 !important;
  background-color: transparent !important;
  border: 1px solid #1a1a1ab5 !important;
  transition: transform 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart .cart-items .cart-actions .btn.btn-outline-remove:hover,
.cart .cart-items .cart-actions .btn.btn-outline-remove:focus,
.cart .btn-outline-remove:hover,
.cart .btn-outline-remove:focus,
#clear-cart.btn-outline-remove:hover,
#clear-cart.btn-outline-remove:focus {
  color: #1a1a1ab5 !important;
  background-color: transparent !important;
  outline: none;
  border: 1px solid #1a1a1ab5 !important;
  transform: translateY(-2px);
  box-shadow: none;
}
.cart .cart-items .cart-actions .btn.btn-outline-remove:active,
.cart .btn-outline-remove:active,
#clear-cart.btn-outline-remove:active {
  color: var(--accent-color) !important;
  background-color: transparent !important;
  outline: none;
  border: 1px solid var(--accent-color) !important;
  transform: translateY(-2px);
  box-shadow: none;
}
.cart .cart-summary {
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: sticky;
  top: 10.5rem;
}
.summary-title {
  font-size: 1.225rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  margin-top: 4px;
}
 .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}
@media(min-width:993px) and (max-width:1224px){
  .summary-tax{
    display: flex;
    flex-direction: column;
  }
  .summary-total{
    align-items: baseline !important;
  }
}
 .summary-item.discount {
  color: #28a745;
  margin-top: 0;
}
.label-tax{
   font-size: 0.7521rem; 
  font-weight: 400;
  color: var(--heading-color);
}
.label-tax i{
  font-size: 0.7rem;
}
.summary-item .summary-label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--heading-color);
}
 .summary-item .summary-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--heading-color);
}
 .summary-item .summary-value span.icon-saudi_riyal{
  font-size: 25px;
}
.summary-total #total span.icon-saudi_riyal{
  font-size: 1.6875rem;
}
 .summary-item .shipping-options {
  width: 100%;
  margin-top: 0.5rem;
}
 .summary-item .shipping-options .form-check {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.summary-item .shipping-options .form-check:last-child {
  margin-bottom: 0;
}
.summary-item .shipping-options .form-check .form-check-input {
  margin-top: 0;
  margin-right: 0;
  margin-left: 0.5rem;
  float: none;
}
 .summary-item .shipping-options .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
 .summary-item .shipping-options .form-check .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 75%);
}
 .summary-item .shipping-options .form-check .form-check-label {
  font-size: 0.875rem;
  color: var(--default-color);
  padding-right: 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}
 .summary-total .summary-label {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--heading-color);
}
 .summary-total .summary-value {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--heading-color);
}
.cart .cart-summary .checkout-button {
  margin-bottom: 1rem;
}
.cart .cart-summary .checkout-button .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cart .cart-summary .checkout-button .btn i {
  transition: transform 0.3s ease;
}
.cart .cart-summary .checkout-button .btn:hover i {
  transform: translateX(0.25rem);
}
.cart .cart-summary .continue-shopping {
  margin-bottom: 1rem;
}
.cart .cart-summary .continue-shopping .btn-link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: all 0.3s ease;
}
.cart .cart-summary .continue-shopping .btn-link i {
  transition: transform 0.3s ease;
}
@media (max-width: 767.98px) {
  .cart .cart-summary .continue-shopping .btn-link {
    font-size: 0.875rem;
  }
}
.cart .cart-summary .continue-shopping .btn-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}
.cart .cart-summary .continue-shopping .btn-link:hover i {
  transform: translateX(-0.25rem);
}
.cart .cart-summary .payment-methods {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 1rem;
}
.cart .cart-summary .payment-methods .payment-title {
  font-size: 0.875rem;
  font-weight:400;
  color:var(--heading-color);
  margin-bottom: 0rem;
  text-align: center;
}
@media(max-width:767px){
  .cart .cart-summary .payment-methods .payment-title{
    font-size:0.8125rem
  }
}
.cart .cart-summary .payment-methods .payment-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.cart .cart-summary .payment-methods .payment-icons i {
  font-size: 1.5rem;
  color: var(--heading-color);
  transition: color 0.3s ease;
}
.cart .cart-summary .payment-methods .payment-icons i:hover {
  color: var(--accent-color);
}
.cart .btn-outline-accent {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: transparent;
}
.cart .btn-outline-accent:hover,
.cart .btn-outline-accent:focus,
.cart .btn-outline-accent:active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.cart .btn-outline-heading {
  color: var(--heading-color);
  border-color: var(--heading-color);
  background-color: transparent;
}
.cart .btn-outline-heading:hover,
.cart .btn-outline-heading:focus,
.cart .btn-outline-heading:active {
  color: var(--contrast-color);
  background-color: var(--heading-color);
  border-color: var(--heading-color);
}
.cart .btn-outline-remove {
  color: #1a1a1ab5 !important;
  background-color: transparent !important;
  border: 1px solid #1a1a1ab5 !important;
  transition: transform 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart .btn-outline-remove:hover,
.cart .btn-outline-remove:focus {
  color: #1a1a1ab5 !important;
  background-color: transparent !important;
  outline: none;
  border: 1px solid #1a1a1ab5 !important;
  transform: translateY(-2px);
}
.cart .btn-outline-remove:active {
  color: var(--accent-color) !important;
  background-color: transparent !important;
  outline: none;
  border: 1px solid var(--accent-color) !important;
  transform: translateY(-2px);
}
.cart .btn-accent {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
}
.btn-accent-two{
  color: var(--accent-color) !important;
  background-color: #fff !important;
  border: 1px solid var(--accent-color) !important;
  transition: all 0.3s ease-in-out;
}
.btn-accent-two:hover{
  color: var(--contrast-color) !important;
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
.cart .btn-accent:hover,
.cart .btn-accent:focus,
.cart .btn-accent:active {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
}
@media (max-width: 991.98px) {
  .cart .cart-summary {
    position: static;
  }
}
/* Shared stacked cart layout below tablet */
@media (max-width: 767.98px) {
  #cart > .container {
    max-width: 100% !important;
  }
  #cart .container > .row {
    --bs-gutter-x: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #cart .container > .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }
  /* عربة التسوق (1) stay together on the right */
  #cart .cart-items > .product-count,
  #cart .cart-items .product-count {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: start !important;
    box-sizing: border-box !important;
  }
  #cart .cart-items .product-count .count {
    display: inline !important;
  }
  #cart .cart-items .cart-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Kill inner Bootstrap gutters so title/image/price hit the same edges */
  #cart .cart-items .row,
  #cart .cart-items .parent-box {
    --bs-gutter-x: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch !important; /* override align-items-center */
  }
  #cart .cart-items [class*="col-"],
  #cart .cart-items .parent-box > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #cart .cart-items .cart-item .image-problem > a {
    display: block;
    width: 100%;
  }
  #cart .cart-items .cart-item .product-info {
    width: 100%;
  }
  /* Image flush to RTL start (right); gap only toward title */
  #cart .cart-items .cart-item .product-info .product-image {
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
  }
  /* Qty + item total share the same hard edges as image + delete */
  #cart .cart-price-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  #cart .cart-price-box .box-two-phone,
  #cart .cart-price-box .box-three-phone {
    margin: 0 !important;
    padding: 0 !important;
  }
  #cart .cart-price-box .box-three-phone .item-total {
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
  }
  #cart .cart-item .btn--delete,
  html[dir="rtl"] #cart .cart-item .btn--delete {
    left: 0 !important;
    right: auto !important;
  }
  /* Keep title clear of the X without shifting the image edge */
  #cart .cart-items .cart-item .product-info .product-details {
    padding-left: 1.35rem;
  }
}
/* Small phones only: keep the existing 320px cart */
@media (max-width: 375.98px) {
  #cart > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #cart .cart-items,
  #cart .cart-summary {
    width: 320px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 8px 0 !important;
    box-sizing: border-box !important;
  }
}
/* 376px–991px (376, 420, 461, 514, 520, 528, 720, 768–991, 800, …): full width */
@media (min-width: 376px) and (max-width: 991.98px) {
  #cart.cart.section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #cart .container,
  #cart > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #cart .container > .row,
  #cart .container > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: 0 0 100% !important;
  }
  /* Cart page only (mobile): 15px side padding — does NOT change global .row */
  #cart.cart.section > .container > .row {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #cart .container > .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #cart .cart-items,
  #cart .cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.5rem 11px !important;
    box-sizing: border-box !important;
  }
}
@media(max-width:767px){
  .summary-item .summary-label{
    font-size:14px;
  }
  .summary-item .summary-value,
  .cart .cart-summary .summary-item .summary-value,
  .cart .cart-items .cart-item .item-total,
  .cart .cart-items .cart-item .item-total .item-subtotal {
    font-size: 16px !important;
  }
  .cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .current-price,
  .cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .current-price.has-discount,
  .cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .single-price.current-price {
    font-size: 16px !important;
    font-weight: 400 !important;
  }
  .summary-total #total span.icon-saudi_riyal{
    font-size: 26px;
  }
}
/*--------------------------------------------------------------
# Checkout Section
--------------------------------------------------------------*/
.checkout .checkout-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}
.checkout .checkout-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.checkout .checkout-steps .step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size:1.125rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  color: var(--default-color);
}
.checkout .checkout-steps .step .step-title {
  font-size: 0.9rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.3s ease;
}
.checkout .checkout-steps .step.active .step-number {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(54, 144, 231, 0.3);
}
.checkout .checkout-steps .step.active .step-title {
  color: var(--heading-color);
  font-weight: 600;
}
.checkout .checkout-steps .step.completed .step-number {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.checkout .checkout-steps .step.completed .step-number {
  position: relative;
  font-size: 0;
}
.checkout .checkout-steps .step.completed .step-number::after {
  content: "\f26b";
  font-family: "bootstrap-icons";
  font-size: 1.2rem;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
}
.checkout .checkout-steps .step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, color-mix(in srgb, var(--default-color), transparent 80%) 50%, color-mix(in srgb, var(--default-color), transparent 80%) 50%);
  margin: 0 10px;
  position: relative;
  top: -20px;
  z-index: 1;
  transition: background 0.3s ease;
}
.checkout .checkout-steps .step-connector.active {
  background: linear-gradient(to right, var(--accent-color) 50%, color-mix(in srgb, var(--default-color), transparent 80%) 50%);
}
.checkout .checkout-steps .step-connector.completed {
  background: var(--accent-color);
}
@media (max-width: 767.98px) {
.checkout .checkout-steps {
  padding-top: 10px;
}
.checkout .checkout-steps .step .step-title {
  font-size: 0.8rem;
}
.checkout .checkout-steps .step .step-number {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}
}
@media (max-width: 575.98px) {
.checkout .checkout-steps .step-title {
  display: none;
}
.checkout .checkout-steps .step-connector {
  top: 0;
}
}
.checkout .checkout-forms {
  position: relative;
  min-height: 400px;
}
/* @media(max-width:767px){
  .checkout .checkout-forms{
    padding:24px;
  }
} */
.checkout .checkout-forms .checkout-form {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.checkout .checkout-forms .checkout-form.active {
  background-color: transparent !important;
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s ease forwards;
  border:none;
}
.checkout .checkout-forms .checkout-form .form-header {
  margin-bottom: 1.5rem;
}
.checkout .checkout-forms .checkout-form .form-header h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.checkout .checkout-forms .checkout-form .form-header p {
  color: #6c757d !important;
  font-size: 0.875rem;
  font-weight:400;
}
.review-section {
  padding: 15px !important;
}
.review-section #box-check{
  color: var(--heading-color);
  padding: 12px !important;
}
.review-section #box-check .review-label{
  font-size: 0.94rem !important;
  font-weight: 400 !important;
}
.review-section #box-check .review-value{
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  margin-right: 5px;
}
@media (max-width:767px) {
  .review-section #box-check .review-label{
  font-size: 0.875rem !important;
  white-space: nowrap;
}
.review-section #box-check>div{
  padding-right:0px !important;
  margin-bottom: 5px;
}
.review-section #box-check .review-value{
  font-size: 0.8rem !important;
}
}
@media(min-width:768px){
  .review-section #box-check{
    flex-direction:row;
  }
  .review-section #box-check>div{
    margin-bottom:10px
  }
  .review-section #box-check .name-box{
    width:50%;
  }
  .review-section #box-check .phone-box{
    width:50%;
  }
}
.checkout .review-section #title-person{
  font-size: 1rem;
  font-weight: 500 !important;
  padding: 7px 14px;
  border-radius: 10px;
  color: var(--price-color);
}
.checkout .review-section .rounded-pill{
  font-size: 0.94rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 10px;
  color: red;
}
.checkout .review-section .badge-p{
  background-color: #d1e7ff62 !important;
  color: #0275d8 !important;
}
.checkout .review-section .badge-a{
  background-color: #d8f3d8 !important;
  color: #5cb85c !important;
}
@media (max-width:525px) {
.checkout .review-section #title-person{
  font-size: 0.8rem;
  padding: 5px 10px;
  font-weight: 500;
}
.checkout .review-section .rounded-pill{
  font-size:0.75rem !important;
  padding: 5px 10px;
  font-weight: 500;
}
.review-section #box-check{
  padding: 12px !important;
  font-size: 0.8125rem;
}
.review-section #box-check .review-value{
  font-size: 0.8125rem !important;
}
.checkout .checkout-forms .checkout-form .form-check .form-check-label{
  font-size: 0.8125rem !important;
}
}
.checkout .checkout-forms .checkout-form label {
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 0.63rem;
  color: var(--heading-color);
}
.delivery-option-card{
  background-color:transparent !important;
}
.delivery-option-card:has(input:checked){
  border-color:var(--accent-color) !important;
  background-color:transparent !important;
}
.delivery-option-card:has(input:checked)::after{
  background-color: var(--accent-color) !important;
}
@media (max-width:525px) {
.checkout .checkout-forms .checkout-form label{
  font-size: 0.8125rem;
}
.checkout .checkout-forms .checkout-form .form-control,
.checkout .checkout-forms .checkout-form .form-select {
  font-size: 0.8125rem !important;
}
.checkout .checkout-forms .checkout-form .btn{
  padding: 7px 14px !important;
  font-size: 0.875rem !important;
  margin-left: 5px !important;
}
}
@media (max-width:768px) {
  .checkout .checkout-forms .checkout-form .btn{
    margin-left: 5px !important;
  }
  .checkout .checkout-forms .checkout-form .btn.btn-outline-secondary{
    margin-right: 5px !important;
  }
}
.checkout .checkout-forms .checkout-form .form-control,
.checkout .checkout-forms .checkout-form .form-select {
  direction: rtl;
  color: var(--default-color);
  background-color: transparent;
  font-size: 0.875rem !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  padding: 8px 14px;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
@media(max-width:767px){
  .checkout .checkout-forms .checkout-form .form-control, .checkout .checkout-forms .checkout-form .form-select{
    padding:8px 10px 
  }
}
.checkout .checkout-forms .checkout-form .form-control:hover,
.checkout .checkout-forms .checkout-form .form-select:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}
.checkout .checkout-forms .checkout-form .form-control:focus,
.checkout .checkout-forms .checkout-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(54, 144, 231, 0.15);
  outline: none;
}
.checkout .checkout-forms .checkout-form .form-control::placeholder,
.checkout .checkout-forms .checkout-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}
.checkout .checkout-forms .checkout-form .form-control.is-invalid,
.checkout .checkout-forms .checkout-form .form-select.is-invalid {
  /* border-color: #dc3545; */
  background-image: none;
  padding-right: 18px;
}
.checkout .checkout-forms .checkout-form .form-control.is-invalid:focus,
.checkout .checkout-forms .checkout-form .form-select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}
.checkout .checkout-forms .checkout-form .form-control.is-valid,
.checkout .checkout-forms .checkout-form .form-select.is-valid {
  border-color: #28a745;
  background-image: none;
  padding-right: 18px;
}
.checkout .checkout-forms .checkout-form .form-control.is-valid:focus,
.checkout .checkout-forms .checkout-form .form-select.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}
.checkout .checkout-forms .checkout-form .form-select {
  background-position: right 18px center;
  /* padding-right: 48px; */
}
.checkout .checkout-forms .checkout-form .form-check {
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}
.checkout .checkout-forms .checkout-form .form-check .form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: -1.8rem;
  margin-top: 0.15rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 70%);
  background-color: var(--surface-color);
  transition: all 0.2s ease;
}
.checkout .checkout-forms .checkout-form .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.checkout .checkout-forms .checkout-form .form-check .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(54, 144, 231, 0.15);
}
.checkout .checkout-forms .checkout-form .form-check .form-check-input:hover:not(:checked) {
  border-color: var(--accent-color);
}
.checkout .checkout-forms .checkout-form .form-check .form-check-label {
  color: var(--heading-color) !important;
  font-size: 0.95rem;
  cursor: pointer;
  padding-left:0px !important;
}
.checkout .checkout-forms .checkout-form .form-check  #terms-link{
  font-size:0.8rem !important
}
@media (max-width:767px){
  .checkout .checkout-forms .checkout-form .form-check  #terms-link{
  font-size:0.75rem !important
}
}
.checkout .checkout-forms .checkout-form .success-message {
  padding: 15px;
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 10px;
  color: #28a745;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}
.checkout .checkout-forms .checkout-form .success-message.d-none {
  display: none;
}
.checkout .checkout-forms .checkout-form .btn {
  padding: 0.4625rem 1.0625rem;
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--accent-color) !important;
  color: #fff !important;
}
.checkout .checkout-forms .checkout-form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.checkout .checkout-forms .checkout-form #add-new-address-btn{
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border:none !important;
  font-size: 0.94rem !important;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
  position: static;
  left: auto;
  top: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.checkout .checkout-forms .checkout-form #add-new-address-btn i{
  color: var(--accent-color) !important;
  margin-left: 3px;
  font-size: 1.1rem;
}
/* Desktop: title on the right, add-address button beside it (not far left) */
@media (min-width: 768px) {
  .checkout .checkout-form[data-form="2"] .address-step-block {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "header btn"
      "select select";
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  .checkout .checkout-form[data-form="2"] .address-step-block > .form-header {
    grid-area: header;
    margin-bottom: 0 !important;
  }
  .checkout .checkout-form[data-form="2"] .address-step-block > #add-new-address-btn {
    grid-area: btn;
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    align-self: center;
  }
  .checkout .checkout-form[data-form="2"] .address-step-block > #shipping_select {
    grid-area: select;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}
@media (max-width:767px) {
  .checkout .checkout-forms .checkout-form #add-new-address-btn{
    font-size:0.875rem !important;
    margin-right: auto;
    position: relative;
    top: 0px;
  }
  .checkout .checkout-forms .checkout-form #add-new-address-btn i{
  font-size: 0.95rem;
}
}
.checkout .checkout-forms .checkout-form .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(54, 144, 231, 0.2);
}
/* Match "المتابعة إلى العنوان" height to "المتابعة إلى الشحن" on all screens */
#checkout .checkout-form[data-form="1"] > #text-end .btn.btn-primary.next-step {
  padding: 0.4625rem 1.0625rem !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.checkout .checkout-forms .checkout-form .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(54, 144, 231, 0.25);
}
.checkout .checkout-forms .checkout-form .btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(54, 144, 231, 0.2);
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary::before,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step::before {
  display: none !important;
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step {
  /* Match cart "إفراغ السلة" — colors + 1px border + radius */
  color: #1a1a1ab5 !important;
  border: 1px solid #1a1a1ab5 !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  display: flex;
  gap: 5px;
  align-items: center;
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary i{
  display:flex;
}
/* Nudge رجوع text up only — arrow position unchanged */
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step .prev-step-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step .prev-step-text {
  display: inline-block;
  transform: translateY(-3px);
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary:hover,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary:focus,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step:hover,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step:focus {
  background-color: transparent !important;
  color: #1a1a1ab5 !important;
  border: 1px solid #1a1a1ab5 !important;
  border-radius: 6px !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary:active,
.checkout .checkout-forms .checkout-form .btn.btn-outline-secondary.prev-step:active {
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  border-radius: 6px !important;
  transform: translateY(0);
  box-shadow: none !important;
}
.checkout .checkout-forms .checkout-form .btn.btn-success {
  background-color: #28a745;
  border-color: #28a745;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}
.checkout .checkout-forms .checkout-form .btn.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.25);
}
.checkout .checkout-forms .checkout-form .btn.btn-success:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(40, 167, 69, 0.2);
}
.checkout .payment-methods .payment-method {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.checkout .payment-methods .payment-method.active {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(54, 144, 231, 0.1);
}
.checkout .payment-methods .payment-method .payment-method-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
  cursor: pointer;
}
.checkout .payment-methods .payment-method .payment-method-header .form-check {
  margin: 0;
}
.checkout .payment-methods .payment-method .payment-method-header .form-check .form-check-input {
  margin-top: 0.15rem;
}
.checkout .payment-methods .payment-method .payment-method-header .form-check .form-check-label {
  font-weight: 500;
  margin-left: 0.5rem;
}
.checkout .payment-methods .payment-method .payment-method-header .payment-icons {
  display: flex;
  gap: 10px;
}
.checkout .payment-methods .payment-method .payment-method-header .payment-icons i {
  font-size: 1.2rem;
  color: var(--heading-color);
}
.checkout .payment-methods .payment-method .payment-method-body {
  padding: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.checkout .payment-methods .payment-method .payment-method-body.d-none {
  display: none;
}
.checkout .review-sections .review-section {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
  overflow: hidden;
}
.checkout .review-sections .review-section .review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
}
.checkout .review-sections .review-section .review-section-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.checkout .review-sections .review-section .review-section-header .btn-edit {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.checkout .review-sections .review-section .review-section-header .btn-edit:hover {
  color: color-mix(in srgb, var(--accent-color), #000 10%);
  text-decoration: underline;
}
.checkout .review-sections .review-section .review-section-content {
  padding: 15px;
}
.checkout .review-sections .review-section .review-section-content p {
  margin-bottom: 0.5rem;
}
.checkout .review-sections .review-section .review-section-content p:last-child {
  margin-bottom: 0;
}
.checkout .order-summary {
  background-color: transparent;
  border-radius: 10px;
  position: sticky;
  top: 100px;
}
/* Shared stacked checkout layout below tablet */
@media (max-width: 767.98px) {
  #checkout .order-summary {
    position: static;
    box-sizing: border-box !important;
  }
  #checkout .order-summary .order-summary-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #checkout .order-summary .order-summary-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* توصيل والاستلام — inner cards fill the parent */
  #checkout .delivery-wrap {
    box-sizing: border-box !important;
  }
  #checkout .delivery-wrap .shipping-options,
  #checkout .delivery-wrap .delivery-option-card,
  #checkout .delivery-wrap .delivery-info-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Title + رجوع / متابعة الى الدفع — width set per breakpoint below */
  #checkout .checkout-form[data-form="3"] > .form-header,
  #checkout .checkout-form[data-form="3"] > .d-flex.justify-content-between {
    box-sizing: border-box !important;
  }
  /* الدفع: width set per breakpoint below */
  #checkout .checkout-form[data-form="4"] > .form-header,
  #checkout .checkout-form[data-form="4"] > #payment-step-container,
  #checkout .checkout-form[data-form="4"] > .payment-step-actions,
  #checkout #payment-step-frame {
    box-sizing: border-box !important;
  }
  /* معلومات العميل: title, inputs, button — same L/R edges */
  #checkout .checkout-form[data-form="1"].active {
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] > .form-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    text-align: start !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] > .row {
    width: 100% !important;
    max-width: 100% !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] [class*="col-"],
  #checkout .checkout-form[data-form="1"] .form-group {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] label {
    display: block !important;
    width: 100% !important;
    text-align: start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  #checkout .checkout-form[data-form="1"] .form-control,
  #checkout .checkout-form[data-form="1"] .form-select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] > #text-end {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0 0 0 !important;
    padding: 0 !important;
    text-align: start !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="1"] > #text-end .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  /* عنوان التوصيل: stacked layout (width set per breakpoint below) */
  #checkout .checkout-form[data-form="2"] .address-step-block {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #checkout .checkout-form[data-form="2"] .address-step-block > .form-header,
  #checkout .checkout-form[data-form="2"] .address-step-block > #shipping_select {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] .address-step-block > #shipping_select {
    display: block !important;
    order: 2 !important;
  }
  #checkout .checkout-form[data-form="2"] .address-step-block > .form-header {
    order: 1 !important;
  }
  #checkout .checkout-form[data-form="2"] .address-step-block > #add-new-address-btn {
    order: 3 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }
  #checkout .checkout-form[data-form="2"] > .d-flex.justify-content-between {
    box-sizing: border-box !important;
  }
  /* Step 2 nav buttons — flush with 320px row edges (override global 5px btn margins) */
  #checkout .checkout-form[data-form="2"] > .d-flex.justify-content-between .btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Small screens: الدولة / المدينة / rest — same width & edges as first address select */
  #checkout .checkout-form[data-form="2"] #new-address-form,
  #checkout .checkout-form[data-form="2"] #manual-addr-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .row {
    width: 100% !important;
    max-width: 100% !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form [class*="col-"],
  #checkout .checkout-form[data-form="2"] #new-address-form .form-group {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form label {
    display: block !important;
    width: 100% !important;
    text-align: start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .form-control,
  #checkout .checkout-form[data-form="2"] #new-address-form .form-select,
  #checkout .checkout-form[data-form="2"] #new-address-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Progress steps — match the form column + space below page title */
  #checkout .checkout-steps {
    box-sizing: border-box !important;
    padding-top: 10px !important;
  }
}
/* iPad only: keep 2/3-column layout; align outer edges with first address select */
@media (min-width: 768px) and (max-width: 1024px) {
  #checkout .checkout-form[data-form="2"] #new-address-form,
  #checkout .checkout-form[data-form="2"] #manual-addr-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 1rem;
    box-sizing: border-box !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .col-md-6 {
    flex: 0 0 auto !important;
    width: 50% !important;
    max-width: 50% !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .col-md-4 {
    flex: 0 0 auto !important;
    width: 33.33333333% !important;
    max-width: 33.33333333% !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .col-md-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .row > [class*="col-"]:first-child {
    padding-inline-start: 0 !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .row > [class*="col-"]:last-child {
    padding-inline-end: 0 !important;
  }
  #checkout .checkout-form[data-form="2"] #new-address-form .form-control,
  #checkout .checkout-form[data-form="2"] #new-address-form .form-select,
  #checkout .checkout-form[data-form="2"] #new-address-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* All widths below desktop: full-width step 1 (461px, phones, 480–991, …) */
@media (max-width: 991.98px) {
  #checkout > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #checkout .order-summary,
  #checkout .checkout-form[data-form="1"].active,
  #checkout .checkout-steps {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}
/* Small phones only: keep 320px step 2 + step 3 + step 4 */
@media (max-width: 378.98px) {
  #checkout .checkout-form[data-form="2"] .address-step-block,
  #checkout .checkout-form[data-form="2"] #new-address-form,
  #checkout .checkout-form[data-form="2"] #manual-addr-panel,
  #checkout .checkout-form[data-form="2"] > .d-flex.justify-content-between,
  #checkout .delivery-wrap,
  #checkout .checkout-form[data-form="3"] > .form-header,
  #checkout .checkout-form[data-form="3"] > .d-flex.justify-content-between,
  #checkout .checkout-form[data-form="4"] > .form-header,
  #checkout .checkout-form[data-form="4"] > #payment-step-container,
  #checkout .checkout-form[data-form="4"] > .payment-step-actions,
  #checkout #payment-step-frame,
  #checkout .checkout-form[data-form="4"] .payment-category,
  #checkout .checkout-form[data-form="4"] .payment-panel {
    width: 320px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
/* 379px–991px: full-width step 2 + step 3 + step 4 */
@media (min-width: 379px) and (max-width: 991.98px) {
  #checkout .checkout-form[data-form="2"] .address-step-block,
  #checkout .checkout-form[data-form="2"] #new-address-form,
  #checkout .checkout-form[data-form="2"] #manual-addr-panel,
  #checkout .checkout-form[data-form="2"] > .d-flex.justify-content-between,
  #checkout .delivery-wrap,
  #checkout .checkout-form[data-form="3"] > .form-header,
  #checkout .checkout-form[data-form="3"] > .d-flex.justify-content-between,
  #checkout .checkout-form[data-form="4"] > .form-header,
  #checkout .checkout-form[data-form="4"] > #payment-step-container,
  #checkout .checkout-form[data-form="4"] > .payment-step-actions,
  #checkout #payment-step-frame,
  #checkout .checkout-form[data-form="4"] .payment-category,
  #checkout .checkout-form[data-form="4"] .payment-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}
 .order-summary .order-summary-header {
  padding: 2px 20px 15px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-confirmation .order-summary .order-summary-header {
  border-bottom:none !important;
}
.order-summary .order-summary-header h3 {
  margin: 0;
  font-size: 1.125rem !important;
  font-weight: 400;
}
.checkout .order-summary .order-summary-header .btn-toggle-summary {
  background: none;
  border: none;
  color: var(--heading-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.checkout .order-summary .order-summary-header .btn-toggle-summary.collapsed {
  transform: rotate(180deg);
}
.checkout .order-summary .order-summary-content {
  padding: 24px;
}
.checkout .order-summary .order-summary-content .order-items {
  max-height: 230px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scrollbar-width: thin;
  scrollbar-color: #b5b5b5 transparent;
}
@media(max-width:767.98px){
.checkout .order-summary .order-summary-content .order-items{
max-height: 150px;
}
}
.checkout .order-summary .order-summary-content .order-items::-webkit-scrollbar {
  width: 6px;
}
.checkout .order-summary .order-summary-content .order-items::-webkit-scrollbar-track {
  background: transparent;
}
.checkout .order-summary .order-summary-content .order-items::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 10px;
}
.checkout .order-summary .order-summary-content .order-items::-webkit-scrollbar-thumb:hover {
  background: #959595;
}
.checkout .order-summary .order-summary-content .order-items .order-item {
  display: flex;
  gap: 15px;
  margin-bottom: 0px !important;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.checkout .order-summary .order-summary-content .order-items .order-item:last-child {
  margin-bottom: 0;
}
.checkout .order-summary .order-summary-content .order-items .order-item {
  padding-bottom: 15px;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border:1px solid #dee2e6 !important;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border:none !important
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details {
  flex: 1;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 600;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-variant,
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .product-attrs {
  display: block;
  font-size: 0.75rem !important;
  font-weight: 300 !important;
  color: #6c757d !important;
  line-height: 1.45 !important;
  margin-top: 0;
  margin-bottom: 0;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
  line-height: 1;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .quantity,
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .quantity-sec {
  color: var(--heading-color);
  font-size: 0.9375rem !important;
  font-weight: 300 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .price {
  color: var(--product-color);
  font-size: 0.9375rem !important;
  margin-top: 0 !important;
  font-weight: 400 !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  white-space: nowrap;
}
@media (max-width:525px) {
  .checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .quantity,
  .checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .quantity-sec,
  .checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .price {
    font-size: 0.875rem !important;
  }
}
.checkout .order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .price .icon-saudi_riyal{
  font-size: 22px !important;
  line-height: 1;
  margin: 0;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -3px;
}
@media (max-width:575px) {
.cart-total-price{
  font-size: 16px !important;
  color: var(--price-color);
}
}
.checkout .order-summary .order-summary-content .promo-code .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  z-index: 0;
}
.checkout .order-summary .order-summary-content .promo-code .input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-right: none;
  color: var(--accent-color);
  font-weight: 600;
  padding: 0 20px;
}
.checkout .order-summary .order-summary-content .promo-code .input-group .btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.checkout .order-summary .order-summary-content .promo-code .input-group .btn:disabled {
  background-color: #f8f9fa;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  color: #6c757d;
  opacity: 0.8;
}
.checkout .order-summary .order-summary-content .secure-checkout {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.checkout .order-summary .order-summary-content .secure-checkout .secure-checkout-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--heading-color);
  font-size:0.875rem;
  font-weight: 400;
  margin-bottom: 0rem
}
@media(max-width:767px){
  .checkout .order-summary .order-summary-content .secure-checkout .secure-checkout-header{
    font-size:0.8125rem;
  }
}
.checkout .order-summary .order-summary-content .secure-checkout .secure-checkout-header i {
  color: #28a745;
  font-size: 1.1rem;
  margin-left: 0px !important;
}
.checkout .order-summary .order-summary-content .secure-checkout .payment-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
.checkout .order-summary .order-summary-content .secure-checkout .payment-icons i {
  font-size: 1.5rem;
  color: var(--heading-color);
}
@media (max-width: 991.98px) {
  .checkout .order-summary {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
}
.checkout .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.checkout .modal-content .modal-header {
  border-bottom-color: color-mix(in srgb, var(--default-color), transparent 90%);
}
.checkout .modal-content .modal-header .modal-title {
  font-weight: 600;
}
.checkout .modal-content .modal-footer {
  border-top-color: color-mix(in srgb, var(--default-color), transparent 90%);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(54, 144, 231, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(54, 144, 231, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(54, 144, 231, 0);
  }
}
@media (max-width: 767.98px) {
.checkout .checkout-form .form-header h3 {
  font-size: 1rem !important;
  color: var(--heading-color);
}
 .order-summary .order-summary-header h3 {
  font-size: 0.94rem !important;
}
}
@media(min-width:768px) and (max-width:991.98px){
.checkout .checkout-forms{
    min-height: auto !important;
  }
}
.checkout .swiper-wrapper {
  height: auto !important;
}
/*--------------------------------------------------------------
# Payment Page
--------------------------------------------------------------*/
  .payment-preview-card {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .payment-preview-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #111827;
  }

  .payment-preview-card p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
  }

  .payment-preview-card strong {
    color: #111827;
  }

  /* ── Header ── */
  .payment-preview-header {
    text-align: center;
    margin-bottom: 24px;
  }
  .payment-preview-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1d1d1d;
  }
  .payment-preview-header p {
    font-size: 16px;
    color: #666;
  }
  @media (max-width: 525px) {
    .payment-preview-header h2 { font-size: 16px; }
  }

  /* ── Category wrapper ── */
  .payment-category {
    display: flex;
    flex-direction: column;
    margin: -20px 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .payment-category .methods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .payment-category .methodstwo {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* ── Payment method buttons (radio style from doc 3) ── */
  .payment-method-btn {
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    gap: 5px;
    justify-content: flex-start;
    height: 55px;
    max-height: 55px;
    min-height: 55px;
    overflow: hidden;
    padding: 0 44px 0 16px;
    white-space: nowrap;
    background-color: transparent;
    transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  }

  /* Radio circle — vertically centered in the button */
  .payment-method-btn::before {
    border: 1px solid #ddd;
    border-radius: 50%;
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    position: absolute;
    right: 13px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    transform: none;
    transition: border-color 0.3s cubic-bezier(.2, 1, .3, 1);
    box-sizing: border-box;
    pointer-events: none;
  }

  /* Radio dot — centered inside the circle */
  .payment-method-btn::after {
    background-color: transparent;
    border-radius: 50%;
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    transform: scale(0);
    transition: transform 0.3s, background-color 0.3s;
    box-sizing: border-box;
    pointer-events: none;
  }

  .payment-method-btn.active::before {
    border-color: var(--accent-color);
  }
  .payment-method-btn.active::after {
    background-color: var(--accent-color);
    transform: scale(1);
  }
  .payment-method-btn.active {
    border: 1px solid var(--accent-color);
    color: #1d1d1d;
    background: #f8fafc;
  }

  .payment-method-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  }

  .payment-method-btn span {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
  }

  .payment-method-btn img {
    display: block;
    max-height: 33px;
    max-width: 70px;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }

  .pay-on-door {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch;
    align-items: center !important;
  }
  .pay-on-door > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px;
    line-height: 1 !important;
  }
  .pay-on-door > span > i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 14px;
  }
  .pay-on-door > span .icon-saudi_riyal {
    font-size: 20px;
    font-weight: 500;
    padding: 0;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 0;
  }

  /* ── Payment panel ── */
  .payment-panel {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  /* Both panels hidden by default */
  .mysr-form,
  .card-payment-form {
    display: none;
    max-width: 740px;
    margin: 16px auto;
    border-radius: 6px;
    padding: 18px;
  }
  .mysr-form.is-visible {
    display: block !important;
  }
  .card-payment-form.is-visible {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  /* Error and button always on their own row */
  .card-payment-form.is-visible .card-error-msg,
  .card-payment-form.is-visible .btn-pay-submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* ── Card form fields ── */
  .card-combined-field,
  .card-holder-field {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 12px;
    background: transparent;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    height:50px;
  }
  .card-expiry-cvv-group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    flex-shrink: 0;
  }
  .card-network-icon,
  .card-holder-icon,
  .stcpay-field-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef2ff;
    color: #334155;
    font-size: 14px;
    flex-shrink: 0;
  }
  .stcpay-mobile-field,
  .stcpay-otp-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 14px;
    background: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
  }
  .card-combined-field:focus-within,
  .card-holder-field:focus-within,
  .stcpay-mobile-field:focus-within,
  .stcpay-otp-field:focus-within {
    border-color: #1d1d1d;
    box-shadow: 0 0 0 3px rgba(29, 29, 29, 0.08);
  }
  .cc-number-input,
  .cc-expiry-input,
  .cc-cvv-input,
  .cc-name-input,
  .stcpay-input,
  .stcpay-otp-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Cairo', sans-serif;
    color: #1d1d1d;
    width: 100%;
  }
  .cc-number-input {
    flex: 1;
    font-size: 13px;
    letter-spacing: 1px;
    direction: ltr;
    text-align: right;
    min-width: 0;
  }
  .cc-expiry-input {
    width: 47px;
    font-size: 13px;
    text-align: center;
    direction: ltr;
  }
  .cc-cvv-input {
    width: 36px;
    font-size: 13px;
    text-align: center;
    direction: ltr;
  }
  .field-divider {
    color: #cbd5e1;
    font-size: 14px;
    user-select: none;
  }
  .cc-name-input {
    flex: 1;
    font-size: 15px;
    text-align: right;
    direction: rtl;
  }
  .cc-number-input::placeholder,
  .cc-expiry-input::placeholder,
  .cc-cvv-input::placeholder,
  .cc-name-input::placeholder {
    color: #6c757d;
  }
  .card-error-msg {
    display: none;
    font-size: 13px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
  }
  .card-error-msg.is-visible {
    display: block !important;
  }
  .btn-pay-submit {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: var(--accent-color);
    color: var(--contrast-color, #fff);
    border: none;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    direction: rtl;
    min-height: 56px;
  }
  .btn-pay-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
  }
  .btn-pay-submit:disabled,
  .btn-pay-submit.loading {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .btn-pay-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 29, 29, 0.18);
  }
  .btn-pay-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .btn-pay-submit.loading,
  .btn-pay-submit:disabled.loading {
    position: relative;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
  }
  .btn-pay-submit.loading > * {
    visibility: hidden;
  }
  .btn-pay-submit.loading::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-pay-submit-spin 0.7s linear infinite;
  }
  @keyframes btn-pay-submit-spin {
    to { transform: rotate(360deg); }
  }
  .pay-amount {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.75;
  }

  /* ── STC Pay form ── */
  .stcpay-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .stcpay-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
  }
  .stcpay-form .btn-pay-submit {
    min-height: 56px;
  }
  .stcpay-mobile-field {
    direction: ltr;
  }
  .stcpay-otp-field {
    background: #ffffff;
    direction: ltr;
    justify-content: center;
  }
  .stcpay-input {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    min-width: 0;
    direction: ltr;
    /* height: 40px; */
  }
  .stcpay-otp-input {
    flex: 1;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    min-width: 0;
    height: 40px;
    letter-spacing: 10px;
    text-align: center;
    direction: ltr;
  }
  .stcpay-logo-img {
    height: 30px;
    object-fit: contain;
  }
  .stcpay-desc,
  .stcpay-otp-hint {
    margin: 0;
    font-size: 14px;
    color: #475569;
    text-align: center;
  }
  .stcpay-error-msg {
    display: none;
    font-size: 13px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
  }
  .stcpay-back-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
    text-align: center;
  }
  .stcpay-back-btn:hover {
    color: #1d1d1d;
  }
  .stcpay-country-code {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1d;
    /* background: #eef2ff; */
    border: 1px solid #dbeafe;
    border-radius: 4px;
    padding: 6px 10px;
    direction: ltr;
    flex-shrink: 0;
    white-space: nowrap;
  }
  /* ── Responsive ── */

  /* Phone  ≤ 575px */
  @media (max-width: 575px) {
    .payment-category {
      width: 320px !important;
      max-width: 320px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      gap: 0;
      box-sizing: border-box !important;
    }
    .payment-page .container {
      width: 320px !important;
      max-width: 320px !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .payment-panel {
      width: 320px !important;
      max-width: 320px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
    }
    .payment-category .methods {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
    }
    .payment-category .methodstwo {
      grid-template-columns: 1fr;
    }
    .payment-category button { width: 100%; }
    .payment-category button.pay-on-door,
    .pay-on-door {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
      grid-column: 1 / -1;
    }
    .payment-method-btn {
      height: 45px;
      min-height: 45px;
      max-height: 45px;
    }
    .payment-method-btn img {
      max-height: 28px;
    }
    .btn-pay-submit,
    .stcpay-form .btn-pay-submit {
      height: 45px;
      min-height: 45px;
      max-height: 45px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .mysr-form,
    .card-payment-form {
      padding: 14px 0px !important;
      margin: 8px auto;
      border-radius: 8px;
    }
    .card-payment-form.is-visible {
      grid-template-columns: 1fr !important;
    }
    .card-combined-field,
    .card-holder-field { width: 100% !important; min-width: 0; }
  }

  /* Small tablet  576px – 767px */
  @media (min-width: 576px) and (max-width: 767px) {
    .payment-category {
      width: 320px !important;
      max-width: 320px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
    }
    .payment-page .container {
      width: 320px !important;
      max-width: 320px !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .payment-panel {
      width: 320px !important;
      max-width: 320px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
    }
    .payment-category .methods {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
    }
    .payment-category .methodstwo {
      grid-template-columns: 1fr;
    }
    .pay-on-door {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
      grid-column: 1 / -1;
    }
    .payment-method-btn {
      height: 45px;
      min-height: 45px;
      max-height: 45px;
    }
    .payment-method-btn img {
      max-height: 28px;
    }
    .btn-pay-submit,
    .stcpay-form .btn-pay-submit {
      height: 45px;
      min-height: 45px;
      max-height: 45px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .mysr-form,
    .card-payment-form {
      padding: 16px !important;
      margin: 10px auto;
    }
  }

  /* Tablet / iPad  768px – 991px */
  @media (min-width: 768px) and (max-width: 991px) {
    .payment-category { width: 100% !important; max-width: 100% !important; }
    .payment-category .methods {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
    }
    .payment-category .methodstwo {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .payment-panel { width: 100%; max-width: 100%; }
    .pay-on-door {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }

  /* Large tablet / small desktop  992px – 1199px */
  @media (min-width: 992px) and (max-width: 1199px) {
    .payment-category { width: 100% !important; max-width: 100% !important; }
    .payment-category .methods {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
    }
    .payment-category .methodstwo {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .payment-panel { width: 100%; max-width: 100%; }
    .pay-on-door {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }
  /* Wide desktop  ≥ 1200px */
  @media (min-width: 1200px) {
    .payment-category { width: 100%; max-width: 100%; }
    .payment-panel    { width: 100%; max-width: 100%; }
    .payment-category .methods {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
    }
    .payment-category .methodstwo {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .pay-on-door {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }
    .payment-redirect {
      margin: 50px auto;
      text-align: center;
      padding: 30px;
      border-radius: 8px;
      background-color: #f8f9fa;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .payment-redirect .loader {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #3498db;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 20px auto;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

   .payment-redirect .payment-info {
      margin-top: 20px;
      font-size: 1.2em;
      color: #555;
    }

/* invoice_pdf */
     .invoice-pdf .container {
        width: 95%;
        padding: 20px;
      }
     .invoice-pdf h2 {
        text-align: right;
        color: #000;
      }
      .invoice-pdf table {
        width: 97%;
        border-collapse: collapse;
        margin-top: 20px;
        font-size: 14px;
      }
     .invoice-pdf th,
      .invoice-pdf td {
        padding: 8px;
        border: none;
        text-align: center;
        font-size: 15px;
        
      }
     .invoice-pdf .thead{
        border-top: 2px solid #000;
        border-bottom: 2px solid #000;
      }
      .invoice-pdf .thead th{
        font-size: 14px;
        font-weight: 900;
      }
    .invoice-pdf .note {
        margin-top: 30px;
        font-size: 16px;
        font-weight: 600;
        text-align: right;
        font-style: italic;
      }
   .invoice-pdf  #note{
        padding-top: 10px;
        border-top: 2px solid #000;
      }
     .invoice-pdf .icon-saudi_riyal{
        font-size: 21px;
        font-weight: 600;
      }
     .invoice-pdf .we-mas{
        font-size: 17px;
        font-weight: bold;
      }
    .invoice-pdf .thanks{
        font-size: 17px;
        border-bottom: 1px solid #b3b3b3;
        padding-bottom: 10px;
      }
     .invoice-pdf .box-details p {
        font-size: 17px;
        font-weight: 100;
      }
     .invoice-pdf .box-details p strong{
        font-size: 17px;
        font-weight: 900;
      }
    .invoice-pdf  .totals{
        text-align: left;
        margin-left: 55px;
      }
  .invoice-pdf  .totals img{
        width: 110px;
      }
    .invoice-pdf  .icon-saudi_riyal{
        font-weight: bolder;
      }
     .invoice-pdf .box-one{
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
     .invoice-pdf .box-two{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: -10px;
      }

/* invoice_preview */
    
      .invoice-container {
        max-width: 800px;
        margin: auto;
        border: 1px solid #ccc;
        padding: 30px;
      }
      .invoice-header {
        text-align: center;
        margin-bottom: 30px;
      }
      .invoice-header h2 {
        margin: 0;
      }
      .invoice-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 30px;
      }
      .invoice-table th,
      .invoice-table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: right;
      }
      .invoice-footer {
        text-align: center;
        margin-top: 30px;
      }
      .btn-print {
        text-align: center;
        margin-top: 20px;
      }
      .btn-print button {
        padding: 10px 20px;
        font-size: 16px;
      }

      /* payment_detail */
    .badge-status {
      font-size: 1rem;
      padding: 0.4em 0.6em;
    }
    .btn-back {
      margin-top: 15px;
    }
  .done-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 60vh;
  }
  .done-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
  }
  .done-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 26px;
  }
  .done-title {
    font-size: 18px; font-weight: 600;
    color: #111827; margin: 0 0 8px;
  }
  .done-desc {
    font-size: 13px; color: #6b7280;
    line-height: 1.7; margin: 0 0 1rem;
  }
  .done-note {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: right;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .done-note-icon {
    font-size: 16px; color: #9ca3af;
    margin-top: 2px; flex-shrink: 0;
  }
  .done-note p {
    font-size: 13px; color: #6b7280;
    margin: 0; line-height: 1.7;
  }
  .done-back {
    font-size: 13px; color: #6b7280;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s;
  }
  .done-back:hover { color: #111827; }
    .bi-person-check{
    font-size: 26px !important;
    color: rgba(151, 252, 0, 0.767);
  }
  
/*--------------------------------------------------------------
# Order Confirmation Section
--------------------------------------------------------------*/
.order-confirmation {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}
.order-confirmation .confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.order-confirmation .confetti-container .confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  opacity: 0.8;
  border-radius: 0;
  animation: confetti-fall 4s ease-in-out infinite;
}
.order-confirmation .confetti-container .confetti:nth-child(1) {
  left: 10%;
  background-color: var(--accent-color);
  animation-delay: 0s;
  animation-duration: 3.2s;
}
.order-confirmation .confetti-container .confetti:nth-child(2) {
  left: 20%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  animation-delay: 0.2s;
  animation-duration: 3.6s;
}
.order-confirmation .confetti-container .confetti:nth-child(3) {
  left: 30%;
  background-color: var(--accent-color);
  animation-delay: 0.4s;
  animation-duration: 4s;
}
.order-confirmation .confetti-container .confetti:nth-child(4) {
  left: 40%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  animation-delay: 0.6s;
  animation-duration: 3.4s;
}
.order-confirmation .confetti-container .confetti:nth-child(5) {
  left: 50%;
  background-color: var(--accent-color);
  animation-delay: 0.8s;
  animation-duration: 3.8s;
}
.order-confirmation .confetti-container .confetti:nth-child(6) {
  left: 60%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  animation-delay: 1s;
  animation-duration: 4.2s;
}
.order-confirmation .confetti-container .confetti:nth-child(7) {
  left: 70%;
  background-color: var(--accent-color);
  animation-delay: 1.2s;
  animation-duration: 3.5s;
}
.order-confirmation .confetti-container .confetti:nth-child(8) {
  left: 80%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  animation-delay: 1.4s;
  animation-duration: 3.7s;
}
.order-confirmation .confetti-container .confetti:nth-child(9) {
  left: 90%;
  background-color: var(--accent-color);
  animation-delay: 1.6s;
  animation-duration: 4.1s;
}
.order-confirmation .confetti-container .confetti:nth-child(10) {
  left: 15%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  animation-delay: 1.8s;
  animation-duration: 3.9s;
}
.order-confirmation .confetti-container .confetti:nth-child(11) {
  left: 35%;
  background-color: var(--accent-color);
  animation-delay: 2s;
  animation-duration: 4.3s;
}
.order-confirmation .confetti-container .confetti:nth-child(12) {
  left: 65%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  animation-delay: 2.2s;
  animation-duration: 3.3s;
}
.order-confirmation .confetti-container .confetti:nth-child(3n) {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.order-confirmation .confetti-container .confetti:nth-child(3n+1) {
  transform: rotate(45deg);
}
.order-confirmation .confetti-container .confetti:nth-child(3n+2) {
  width: 5px;
  height: 15px;
}
@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(600px) rotate(360deg);
    opacity: 0;
  }
}
.order-confirmation .celebration-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
  margin-top:150px;
}
@media (max-width: 575.98px) {
.order-confirmation .celebration-header {
  margin-bottom: 1rem
}
}
.order-confirmation .celebration-header .celebration-icon {
  width: 80px;
  height: 80px;
  background-color:#22c55e;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-confirmation .celebration-header .celebration-icon i {
  font-size: 2.5rem;
  color: var(--contrast-color);
}
@media (max-width:525px) {
.order-confirmation .celebration-header .celebration-icon i{
    font-size: 2rem;
}
.order-confirmation .celebration-header .celebration-icon{
  width: 60px;
  height: 60px;
}
}
.order-confirmation .celebration-header h1 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #22c55e;
}
.order-confirmation .celebration-header p.lead {
  font-size: 1rem;
  color:var(--heading-color);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400 !important;
}
@media (max-width: 767.98px) {
.order-confirmation .celebration-header h1 {
  font-size: 1.1rem;
}
.order-confirmation .celebration-header p.lead {
  font-size: 0.875rem;
}
}
.order-confirmation .order-info-card {
  background-color: transparent;
  border-radius: 6px;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
  border:1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.order-confirmation .order-info-card>div {
  flex: 1;
  padding: 0.75rem;
  min-width: 150px;
}
@media (max-width: 767.98px) {
.order-details-wrapper {
  flex-direction: column;
  gap: 0.5rem;
}
.order-details-wrapper .mb-2 {
  margin-bottom: 0;
}
}
@media (max-width: 575.98px) {
.order-confirmation .order-info-card>div {
  flex: 0 0 100%;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.order-confirmation .order-info-card>div:last-child {
  border-bottom: none;
}
}
.order-confirmation .order-info-card>div .label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}
.order-confirmation .order-info-card>div .value {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--heading-color);
}
@media (max-width:575px) {
  .order-confirmation .order-info-card>div .label{
    font-size: 0.89rem;
  }
  .order-confirmation .order-info-card>div .value{
    font-size: 0.8125rem;
  }
}
.order-confirmation .progress-tracker {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-confirmation .progress-tracker h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.order-confirmation .progress-tracker .progress-container .progress-bar {
  height: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.order-confirmation .progress-tracker .progress-container .progress-bar .progress-fill {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background-color: var(--accent-color);
  border-radius: 10px;
  transition: width 1s ease;
}
.order-confirmation .progress-tracker .progress-container .progress-labels {
  display: flex;
  justify-content: space-between;
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label {
  flex: 0 0 auto;
  text-align: center;
  max-width: 25%;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label.active {
  opacity: 1;
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label.active .label-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label.active span {
  font-weight: 600;
  color: var(--default-color);
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label .label-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label .label-icon i {
  font-size: 1.2rem;
  color: var(--contrast-color);
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label span {
  font-size: 0.9rem;
  display: block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
@media (max-width: 767.98px) {
.order-confirmation .progress-tracker .progress-container .progress-labels {
  flex-wrap: wrap;
}
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label {
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 1.5rem;
}
}
@media (max-width: 575.98px) {
.order-confirmation .progress-tracker .progress-container .progress-labels .progress-label {
  flex: 0 0 100%;
  max-width: 100%;
}
}
.order-confirmation .order-summary {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.order-confirmation .order-summary h3 {
  font-size: 1.0625rem;
  font-weight: 400;
}
.order-confirmation .order-summary .summary-grid {
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: 4rem;
}
.order-confirmation .order-summary .summary-grid .product-grid::-webkit-scrollbar {
  width: 6px;
}
.order-confirmation .order-summary .summary-grid .product-grid::-webkit-scrollbar-track {
  background: transparent; 
}
.order-confirmation .order-summary .summary-grid .product-grid::-webkit-scrollbar-thumb {
  background: #000; 
  border-radius: 10px;
}
.order-confirmation .order-summary .summary-grid .product-grid::-webkit-scrollbar-thumb:hover {
  background: #333; 
}
@media (max-width: 991.98px) {
.order-confirmation .order-summary .summary-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}
}
@media (max-width: 768px) {
.order-confirmation .order-summary .summary-grid {
  padding:20px
}
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card {
  display: flex;
  background-color: var(--surface-color);
  padding: 1rem ; 
  transition: transform 0.3s ease;
  border-bottom: 1px solid #eeeeee;
  overflow:auto !important;
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-image {
  position: relative;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  margin-left:20px;
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-image img {
  width: 90%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #efefef;
}
.product-size-sec{
  font-size: 0.75rem;
  font-weight: 300;
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-image .quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 .quantity-sec{
   font-size: 0.75rem !important;
  font-weight:300;
  margin-bottom:5px !important
}
.order-confirmation .quantity-sec{
  color: #6c757d;
}
@media (max-width:767px) {
  .order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info{
    display: block;
    margin-bottom: 0px !important;
  }
}
.product-name-sec {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 5px;

}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info .variant,
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info .product-attrs,
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info .product-size-sec {
  display: block;
  font-size: 0.75rem !important;
  font-weight: 300 !important;
  color: #6c757d !important;
  line-height: 1.45 !important;
  margin-top: 0;
  margin-bottom: 0;
}
.order-confirmation a .variant,
.order-confirmation a .product-attrs,
.order-confirmation a .product-size-sec {
  color: #6c757d !important;
}
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info .price {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--heading-color);
  white-space:nowrap;
}
.order-confirmation .summary-item .summary-value:not(.text-success),
.order-confirmation .summary-total .summary-value {
  color: var(--heading-color);
}
.order-confirmation .customer-support .help-text {
  color: var(--heading-color);
}
@media (max-width:767px) {
.order-confirmation .order-summary .summary-grid .product-grid .product-card .product-info .price{
  font-size:0.875rem;
  margin-top: -10px;
}
}
/* .order-confirmation  .icon-saudi_riyal::before{
  font-size:1.625rem !important;
} */
.order-confirmation .order-summary .summary-grid .price-breakdown {
  border-radius: 15px;
  padding: 1rem;
  height: fit-content;
}
.order-confirmation .order-summary .summary-grid .price-breakdown .breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
}
.order-confirmation .order-summary .summary-grid .price-breakdown .breakdown-row:last-of-type {
  margin-bottom: 0;
}
.order-confirmation .order-summary .summary-grid .price-breakdown .breakdown-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  font-size: 1rem;
  font-weight: 500;
}
.order-confirmation .info-columns {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-confirmation .info-columns .info-box {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
}
.order-confirmation .info-columns .info-box .info-icon {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 12px;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-confirmation .info-columns .info-box .info-icon i {
  font-size: 1.5rem;
}
.order-confirmation .info-columns .info-box.shipping-info .info-icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.order-confirmation .info-columns .info-box.payment-info .info-icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.order-confirmation .info-columns .info-box .info-content {
  flex: 1;
}
.order-confirmation .info-columns .info-box .info-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.order-confirmation .info-columns .info-box .info-content address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.order-confirmation .info-columns .info-box .info-content .delivery-estimate {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  font-size: 0.9rem;
}
.order-confirmation .info-columns .info-box .info-content .delivery-estimate i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}
.order-confirmation .info-columns .info-box .info-content .payment-method .card-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.order-confirmation .info-columns .info-box .info-content .payment-method .card-info i {
  margin-right: 0.75rem;
  color: var(--accent-color);
}
.order-confirmation .info-columns .info-box .info-content .payment-method .billing-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.order-confirmation .info-columns .info-box .info-content .payment-method .billing-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.order-confirmation .whats-next {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-confirmation .whats-next h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.order-confirmation .whats-next .next-steps {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.order-confirmation .whats-next .next-steps .step {
  display: flex;
  margin-bottom: 1.5rem;
}
.order-confirmation .whats-next .next-steps .step:last-child {
  margin-bottom: 0;
}
.order-confirmation .whats-next .next-steps .step .step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
}
.order-confirmation .whats-next .next-steps .step .step-content {
  flex: 1;
}
.order-confirmation .whats-next .next-steps .step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.order-confirmation .whats-next .next-steps .step .step-content p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}
 .action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}
@media(max-width:767px){
  .action-buttons{
    gap:1.2rem !important;
    margin-top:15px !important;
  }
}
.order-confirmation .action-buttons .btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}
 .action-buttons .btn i {
  margin-left: 0.5rem;
}
.order-confirmation .action-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.order-confirmation .action-buttons .btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.order-confirmation .action-buttons .btn.btn-outline {
  background-color: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}
.action-buttons .success-pay{
  padding: 7px 14px;
  gap: 10px;
}
 .action-buttons .success-pay i{
  font-size: 18px;
  font-weight: 900;
}
.order-confirmation .action-buttons .btn.btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-3px);
}
@media (max-width: 575.98px) {
 .action-buttons .success-pay{
  font-size: 13px;
}
 .action-buttons .success-pay i{
  font-size: 16px;
  font-weight: 700;
  margin-left: 7px !important;
  margin-right: -5px;
}
 .action-buttons .btn {
  border-radius: 6px;
  display: inline-block;
  align-items: center;
}
 .action-buttons .success-pay{
  padding: 5px 12px 5px 12px !important;
}
 .customer-support{
  font-size:13px !important
}
}
/* Pay success: phones keep full-width buttons; tablet/767–1024 align with help text */
@media (max-width: 766.98px) {
  .order-confirmation .action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Match .summary-grid padding so edges align with text above */
    padding-inline: 20px;
    gap: 0.75rem !important;
  }
  .order-confirmation .action-buttons .btn,
  .order-confirmation .action-buttons .btn.success-pay {
    flex: 1 1 0;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 0;
    white-space: nowrap;
  }
}
/* iPad / Galaxy Tab / 767px: buttons share help-text width */
@media (min-width: 767px) and (max-width: 1024px) {
  .order-confirmation .success-pay-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
  .order-confirmation .success-pay-actions .customer-support {
    width: max-content;
    max-width: 100%;
  }
  .order-confirmation .success-pay-actions .customer-support .help-text {
    margin-bottom: 0;
  }
  .order-confirmation .success-pay-actions .action-buttons {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    /* Help text defines width; stretch buttons to match */
    width: 0;
    min-width: 100%;
    box-sizing: border-box;
    padding-inline: 0 !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  .order-confirmation .success-pay-actions .action-buttons .btn,
  .order-confirmation .success-pay-actions .action-buttons .btn.success-pay {
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 0 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    white-space: nowrap;
  }
}
 .customer-support {
  position: relative;
  z-index: 2;
  font-weight:400
}
/* Space between action buttons and help text (pay/success) — 15px all screens */
.order-confirmation .success-pay-actions .action-buttons {
  margin-bottom: 0 !important;
}
.order-confirmation .success-pay-actions .action-buttons .btn,
.order-confirmation .success-pay-actions .action-buttons .btn.success-pay {
  margin-bottom: 0 !important;
}
.order-confirmation .success-pay-actions .customer-support {
  margin-top: 27px !important;
  width: 100%;
}
.order-confirmation .success-pay-actions .customer-support .help-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.customer-support .help-text{
  font-size:0.94rem;
  font-weight:400;
}
.customer-support .help-text a{
  font-size: 0.875rem;
  font-weight:400;
}
@media(max-width:767px){
  .customer-support .help-text{
  font-size:0.875rem;
}
.customer-support .help-text a{
  font-size: 0.8125rem;
}
}
 .customer-support a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}
 .customer-support a:hover {
  text-decoration: underline;
}
/* .price .pay-value{
  font-size:14px
} */
.price .icon-saudi_riyal{
  font-size:25px
}
@media (max-width:767px) {
  .product-name-sec{
    font-size:0.8125rem !important;
    width:100px
  }
  .product-size-sec{
    font-size: 0.75rem;
  }
 .quantity-sec{
    font-size: 0.7rem;
  }
  .order-confirmation  .quantity-sec{
    margin: 7px 0px !important;
  }
  .price .pay-value{
    font-size: 14px;
  }
  .price .icon-saudi_riyal{
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Search Results Header Section
--------------------------------------------------------------*/
.search-results-header .results-count h2 {
  font-size: 17px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.search-results-header .results-count p {
  font-size: 15px;
  margin-bottom: 0;
  color:var(--heading-color);
}
.search-results-header .results-count .results-number,
.search-results-header .results-count .search-term {
  font-weight: 600;
  color: var(--heading-color);
}
.search-results-header .search-form {
  position: relative;
}
.search-results-header .search-form .input-group {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}
.search-results-header .search-form .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 20px;
  border-radius: 8px 0 0 8px;
  border-right: none;
  height: auto;
}
.search-results-header .search-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.search-results-header .search-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.search-results-header .search-form .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0 25px;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}
.search-results-header .search-form .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
}
.search-results-header .search-filters .filter-label {
  font-weight: 600;
  margin-right: 10px;
  color: var(--heading-color);
}
.search-results-header .search-filters .tags-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-results-header .search-filters .filter-tag {
  display: inline-flex;
  align-items: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.search-results-header .search-filters .filter-tag i {
  margin-left: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-results-header .search-filters .filter-tag:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}
.search-results-header .search-filters .filter-tag:hover i {
  transform: scale(1.1);
}
.search-results-header .search-filters .sort-options label {
  color: var(--heading-color);
  font-weight: 500;
}
.search-results-header .search-filters .sort-options .form-select {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.search-results-header .search-filters .sort-options .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
@media (max-width: 575px) {
  .search-filters{
    margin-top:0px !important
  
}
}
.search-results-header .advanced-filters .toggle-filters {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 0.9rem;
  padding: 8px 15px;
  transition: all 0.3s ease;
}
.search-results-header .advanced-filters .toggle-filters:hover {
  background-color: color-mix(in srgb, var(--surface-color), #000 5%);
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}
.search-results-header .advanced-filters .toggle-filters i {
  font-size: 0.85rem;
}
.search-results-header .advanced-filters .card {
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background-color: var(--surface-color);
}
.search-results-header .advanced-filters .form-label {
  color: var(--heading-color);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 0.63rem;
}
.search-results-header .advanced-filters .form-select {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 6px;
}
.search-results-header .advanced-filters .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.search-results-header .advanced-filters .reset-btn {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 0.85rem;
  padding: 6px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.search-results-header .advanced-filters .reset-btn:hover {
  background-color: color-mix(in srgb, var(--surface-color), #000 5%);
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}
.search-results-header .advanced-filters .apply-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  font-size: 0.85rem;
  padding: 6px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.search-results-header .advanced-filters .apply-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
}
@media (max-width: 991.98px) {
.search-results-header .filter-tags {
  margin-bottom: 15px;
}
.search-results-header .sort-options {
  text-align: left;
}
}
@media (max-width: 767.98px) {
.search-results-header .results-count h2 {
  font-size: 1.5rem;
}
.search-results-header .results-count p {
  font-size: 1rem;
}
.search-results-header .filter-label {
  display: block;
  margin-bottom: 8px;
}
.search-results-header .tags-wrapper {
  margin-top: 5px;
}
.search-results-header .advanced-filters .row>div {
  margin-bottom: 15px;
}
}
/*--------------------------------------------------------------
# Search Product List Section
--------------------------------------------------------------*/
.search-product-list .product-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.search-product-list .product-card:hover {
  transform: translateY(-4px);
}
.search-product-list .product-card:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}
.search-product-list .product-card:hover .hover-image {
  transform: scale(1);
  opacity: 1;
}
.search-product-list .product-card:hover .main-image {
  transform: scale(1.1);
  opacity: 0;
}
.search-product-list .product-image {
  position: relative;
  padding-top: 125%;
  background: color-mix(in srgb, var(--surface-color), transparent 97%);
  overflow: hidden;
}
.search-product-list .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.search-product-list .product-image .main-image {
  transform: scale(1);
  opacity: 1;
}
.search-product-list .product-image .hover-image {
  transform: scale(1.1);
  opacity: 0;
}
.search-product-list .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--background-color), transparent 75%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-product-list .product-actions {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.search-product-list .product-actions .action-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface-color);
  border: none;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateX(20px);
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}
.search-product-list .product-actions .action-btn:nth-child(2) {
  animation-delay: 0.1s;
}
.search-product-list .product-actions .action-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.search-product-list .product-actions .action-btn i {
  font-size: 1.25rem;
}
.search-product-list .product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  z-index: 1;
}
.search-product-list .product-badge.new {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.search-product-list .product-badge.sale {
  background: #ffa007;
  color: var(--contrast-color);
}
.search-product-list .product-details {
  padding: 1.5rem;
  background: var(--surface-color);
}
.search-product-list .product-category {
  font-size: 0.875rem;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}
.search-product-list .product-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.search-product-list .product-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.search-product-list .product-title a:hover {
  color: var(--accent-color);
}
.search-product-list .product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-product-list .product-price {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--product-color);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.search-product-list .product-price .original-price {
  font-size: 0.875rem;
  color: var(--heading-color);
  text-decoration: line-through;
  font-weight: normal;
}
.search-product-list .product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--heading-color);
  font-weight: 500;
}
.search-product-list .product-rating i {
  color: #ffc107;
  margin-right: 0.25rem;
}
.search-product-list .product-rating span {
  color: var(--heading-color);
  font-size: 0.875rem;
  font-weight: normal;
}
@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 991.98px) {
.search-product-list .product-image {
  padding-top: 100%;
}
.search-product-list .product-details {
  padding: 1.25rem;
}
.search-product-list .product-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.search-product-list .product-price {
  font-size: 1rem;
}
.search-product-list .product-actions .action-btn {
  width: 2.5rem;
  height: 2.5rem;
}
.search-product-list .product-actions .action-btn i {
  font-size: 1.125rem;
}
}
/*--------------------------------------------------------------
# Account Section
--------------------------------------------------------------*/
.account .mobile-menu .mobile-menu-toggle {
  width: 100%;
  background-color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  color: var(--heading-color);
  transition: all 0.3s ease;
}
.account .mobile-menu .mobile-menu-toggle i {
  font-size: 20px;
}
.account .mobile-menu .mobile-menu-toggle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}
.profile-menu {
  height: 100%;
  background-color: transparent;
  border-radius: 24px;
  padding: 24px 0 0 0 ;
  width: -webkit-fill-available;
}
/* Account page: avatar / name / "حسابي" were clipped by section overflow:clip */
#account.account.section {
  overflow: visible !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
#account .profile-menu {
  overflow: visible;
  padding-top: 16px;
}
#account .profile-menu .user-info {
  overflow: visible;
  padding-top: 12px;
}
#account .profile-menu .user-info h4 {
  line-height: 1.45;
  overflow: visible;
}
#account .content-area {
  overflow: visible;
}
#account .content-area .section-header h2 {
  line-height: 1.45;
  overflow: visible;
}
@media (max-width: 991.98px) {
  #account.account.section {
    padding-top: 16px !important;
  }
}
@media (max-width: 767.98px) {
  #account.account.section {
    padding-top: 12px !important;
  }
  #account .content-area .section-header h2 {
    padding-top: 14px !important;
  }
}
.profile-menu .user-info {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.profile-menu .user-info .user-avatar {
  position: relative;
  width: 96px;
  height: 96px;
}
.profile-menu .user-info .user-avatar img {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.profile-menu .user-info .user-avatar .status-badge {
  position: absolute;
  bottom: 12px;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--surface-color);
}
.profile-menu .user-info .user-avatar .status-badge i {
  color: var(--contrast-color);
  font-size: 16px !important;
}
.profile-menu .user-info h4 {
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
}
.admin-info{
  margin-bottom: 20px;
}
@media(max-width:767px){
  .admin-info{
    margin-bottom:10px;
  }
}
.profile-menu .user-info .user-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0px 12px;
  white-space: nowrap;
  background-color: color-mix(in srgb, var(--heading-color), transparent 92%);
  color: var(--heading-color);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
}
.profile-menu .user-info .user-status i {
  font-size: 18px !important;
}
.profile-menu .menu-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--heading-color);
  margin-bottom: 4px;
  transition: all 0.3s ease;
}
.profile-menu .menu-nav .nav-link i {
  font-size: 20px !important;
  margin-left: 12px;
  color: var(--heading-color);
  transition: all 0.3s ease;
}
.profile-menu .menu-nav .nav-link span {
  flex: 1;
  font-size:1rem;
  font-weight:400;
}
@media(max-width:767px){
  .profile-menu .menu-nav .nav-link span {
    font-size:0.875rem !important;
  }
  .profile-menu .menu-nav .nav-link i{
    font-size:21px !important;
  }
  .profile-menu .menu-footer a.logout-link{
    font-size:0.875rem !important;
  }
  .profile-menu .menu-footer a.logout-link i {
    font-size:21px !important;
  }
}
@media(min-width:768px) and (max-width:991px){
  .profile-menu .menu-nav .nav-link span {
    font-size:0.94rem !important;
}
.profile-menu .menu-footer a.logout-link{
  font-size:0.94rem !important;
}
}
.profile-menu .menu-nav .nav-link .badge {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex: 0;
}
.profile-menu .menu-nav .nav-link .badge {
  background-color: var(--heading-color);
  color: var(--contrast-color);
}
.profile-menu .menu-nav .nav-link:hover {
  background-color: #eee;
  color: var(--heading-color);
}
.profile-menu .menu-nav .nav-link:hover i {
  color: var(--heading-color);
}
.profile-menu .menu-nav .nav-link.active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-weight: 400;
}
.profile-menu .menu-nav .nav-link.active i {
  color: var(--accent-color);
}
.profile-menu .menu-nav .nav-link.active .badge {
  background-color: var(--contrast-color);
  color: var(--heading-color);
}
.profile-menu .menu-footer {
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.profile-menu .menu-footer a {
  display: flex;
  align-items: center;
  padding: 5px 14px;
  color: var(--default-color);
  border-radius: 6px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}
.profile-menu .menu-footer a i {
  font-size: 20px;
  margin-left: 12px;
  color: var(--heading-color);
  transition: all 0.3s ease;
}
.profile-menu .menu-footer a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}
.profile-menu .menu-footer a:hover i {
  color: var(--accent-color);
}
.profile-menu .menu-footer a.logout-link {
  font-size:1rem;
  font-weight:400;
  color: #ef4444;
}
.profile-menu .menu-footer a.logout-link i {
  font-size:22px;
  color: #ef4444;
}
.profile-menu .menu-footer a.logout-link:hover {
  background-color: rgba(239, 68, 68, 0.08);
}
.account .content-area, .card-return-request{
  position: relative;
  background-color: transparent;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
  border:none;
}
@media(max-width:767px){
  .account .content-area, .card-return-request{
    padding:0px !important
  }
  .request .container{
    padding:0px !important
  }
}
.account .content-area .product-list{
  padding-top: 0px !important;
}
.box-account .no-order{ 
  margin-top: 0px;
}
 .no-order{
    text-align:center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
 .no-order .icon-no{
  text-align: -webkit-center;
}
 .no-order .icon-no i{
    display: flex;
    align-items: center;
    border-radius: 9999px;
    height: 7rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 7rem;
    background-color:#f3f4f6;
    font-size: 3rem !important;
    line-height: 1;
    color: #d1d5db;
}
.cart .no-order{
  position: unset;
  transform: none;

}
@media (max-width:767px) {
  .no-order .icon-no i{
    font-size: 30px !important;
    width: 5.5rem;
    height: 5.5rem;

  }
  
}
.card-return-request .header-id-order{
  color:  color-mix(in srgb, var(--default-color), transparent 40%);
}
.text-primary{
  color: #555555 !important;
}
.account .content-area .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.account .content-area .section-header h2 ,.card-return-request .section-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color) !important;
}
.account .content-area .section-header .header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.account .content-area .section-header .header-actions .search-box {
  position: relative;
}
.account .content-area .section-header .header-actions .search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--heading-color);
  font-size: 16px;
}
.account .content-area .section-header .header-actions .search-box input {
  width: 240px;
  height: 44px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.account .content-area .section-header .header-actions .search-box input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  overflow-y: auto;
}
.search-box {
  position: absolute;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media(min-width:768px) and (max-width:1024px){
  .search-box{
    top: 11% !important;
  }
}
@media (max-width:767px) {
  .search-box{
    top: 20% !important;
  }
  
}
#mobileSearch.collapsing {
  transition: none !important;
  height: auto !important;
}
.account .content-area .section-header .header-actions .filter-btn {
  height: 44px;
  padding: 0 20px;
  background-color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--default-color);
  transition: all 0.3s ease;
}
.account .content-area .section-header .header-actions .filter-btn i {
  font-size: 16px;
}
.account .content-area .section-header .header-actions .filter-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}
.account .content-area .orders-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}
.account .content-area .orders-grid .order-card {
  background-color: transparent;
  border: 1px solid var(--accent-color);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.account .content-area .orders-grid .order-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.account .content-area .orders-grid .order-card .order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  position: relative;
}
.account .content-area .orders-grid .order-card .order-header .order-id .label {
  font-size: 13px;
  color:var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-header .order-id .value {
  font-weight: 500;
  font-family: var(--heading-font);
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-header .order-date {
  font-size: 13px;
  color:var(--heading-color);
}
.account  .tracking-info,
.account .content-area .orders-grid .order-card .order-details {
  margin-top: 20px;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.account  .tracking-info.collapse:not(.show),
.account .content-area .orders-grid .order-card .order-details.collapse:not(.show) {
  display: none;
}
.account  .tracking-info.collapsing,
.account .content-area .orders-grid .order-card .order-details.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
.account .tracking-info .tracking-timeline {
  position: relative;
  padding: 10px 40px 10px 0px;
  direction: rtl;
  text-align: right;
  display: flex;
  gap: 45px;
}
@media (max-width:767px) {
  .account .tracking-info .tracking-timeline{
    display: block;
  }
}
.account  .tracking-info .tracking-timeline:before {
  content: "";
  position: absolute;
  right: 39px;
  bottom: 24px;
  width: 2px;
  background-color: #e5e7eb;
}
.account  .tracking-info .tracking-timeline .timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.account  .tracking-info .tracking-timeline .timeline-item:last-child {
  padding-bottom: 0;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-icon {
  position: absolute;
  right: -32px;
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-icon i {
  font-size: 14px;
  color: #9ca3af;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content {
  padding-right: 16px;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content h5 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content p {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--heading-color);
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content .timeline-date {
  font-size: 13px;
  color: var(--heading-color);
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content .shipping-info {
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
}
.account  .tracking-info .tracking-timeline .timeline-item .timeline-content .shipping-info .tracking-number {
  font-family: var(--heading-font);
  font-weight: 500;
}
.account  .tracking-info .tracking-timeline .timeline-item.completed .timeline-icon {
  background-color: #f0fdf4;
  border-color: #22c55e;
}
.account  .tracking-info .tracking-timeline .timeline-item.completed .timeline-icon i {
  color: #22c55e;
}
.account  .tracking-info .tracking-timeline .timeline-item.active .timeline-icon {
  background-color: #fff7ed;
  border-color: #f97316;
}
.account  .tracking-info .tracking-timeline .timeline-item.active .timeline-icon i {
  color: #f97316;
}
.account  .tracking-info .tracking-timeline .timeline-item.active .timeline-content h5 {
  color: #f97316;
}
.account .content-area .orders-grid .order-card .order-details .details-content {
  padding: 24px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section h5 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color) !important;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .info-grid .info-item .label {
  display: block;
  font-size: 13px;
  color: var(--heading-color);
  margin-bottom: 4px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .info-grid .info-item .value {
  font-size: 14px;
  font-weight: 500;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: transparent;
  border-radius: 12px;
  margin-bottom: 12px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item:last-child {
  margin-bottom: 0;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-info {
  flex: 1;
  min-width: 0;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-info h6 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-info .item-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--product-color);
}
@media (max-width: 575px) {
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-price{
  font-size: 14px;
  font-weight: 600;
  color: var(--price-color);
}
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown {
  background-color: transparent;
  border-radius: 12px;
  padding: 16px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600 !important;

}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row .icon-saudi_riyal{
  font-size: 18px !important;
  font-weight: 600 !important;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row:not(.total) {
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row.total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .address-info {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .address-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .address-info p.contact {
  margin-top: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.account .content-area .orders-grid .order-card .order-content {
  margin-bottom: 20px;
}
.account .content-area .orders-grid .order-card .order-content .product-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.account .content-area .orders-grid .order-card .order-content .product-grid::-webkit-scrollbar {
  display: none;
}
.account .content-area .orders-grid .order-card .order-content .product-grid img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.account .content-area .orders-grid .order-card .order-content .product-grid .more-items {
  min-width: 64px;
  height: 64px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row:last-child {
  margin-bottom: 0;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row span:first-child {
  color: var(--heading-color);
  font-size: 15px !important;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status  {
  padding: 10px 8px;
  border-radius:12px;
  font-weight: 500;
  font-size: 13px;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.ready_to_ship{
  background-color: #f3e8ff;
  color: #6b21a8;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.returned {
  color: #ef4444;
  background-color: #fef2f2;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.pending  {
  background-color: #fff7ed;
  color: #f97316;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.shipped {
  background-color: #ecfeff;
  color: #06b6d4;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.completed  {
  background-color: #f0fdf4;
  color: #22c55e;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.delivered{
  background-color: #f0fdf4;
  color: #22c55e;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.failed {
  background-color: #fef2f2;
  color: #ef4444;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.refunded{
  background-color: #fff3cd;
  color: #856404;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.processing{
  background-color: #f3e8ff;
  color: #6b21a8;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .status.cancelled{
  background-color: #fef2f2;
  color: #ef4444;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row .price {
  font-weight: 600;
  color: var(--heading-color);
}
.account .content-area .orders-grid .order-card .order-footer {
  display: flex;
  gap: 12px;
}
.account .content-area .orders-grid .order-card .order-footer button {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-track {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-track:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}
.account .content-area .orders-grid .order-card .order-footer button.btn-details {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border: none;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-details:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
}
.account .content-area .orders-grid .order-card .order-footer button.btn-review {
  background-color: #f0fdf4;
  color: #22c55e;
  border: none;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-review:hover {
  background-color: #dcfce7;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-reorder {
  background-color: #fef2f2;
  color: #ef4444;
  border: none;
}
.account .content-area .orders-grid .order-card .order-footer button.btn-reorder:hover {
  background-color: #fee2e2;
}

.account .content-area .pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.account .content-area .pagination-wrapper button {
  min-width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  background-color: #fff;
  color: var(--default-color);
}
.account .content-area .pagination-wrapper button:hover:not(:disabled) {
  background-color: #f8f9fa;
  color: #333;
}
.account .content-area .pagination-wrapper button.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.account .content-area .pagination-wrapper button:disabled {
  color: #6c757d;
  cursor: not-allowed;
}
.account .content-area .pagination-wrapper button i {
  font-size: 18px;
}
.account .content-area .pagination-wrapper .page-numbers {
  display: flex;
  align-items: center;
  gap: 5px;
}
.account .content-area .pagination-wrapper .page-numbers span {
  color: var(--heading-color);
}
@media (max-width: 991.98px) {
  #profileMenuOffcanvas {
    width: 40% !important;
  }
  .profile-menu {
    padding: 0px 16px;
  }
}
@media (max-width: 575.98px) {
  #profileMenuOffcanvas {
    width: 70% !important;
  }
}
@media (max-width: 767.98px) {
.account .content-area .section-header .header-actions .filter-btn {
  height: 36px;
  padding: 0 12px;
  gap: 4px;
  font-size: 12px;
  border-radius: 8px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item {
  gap: 8px;
  padding: 8px;
  margin-bottom: 8px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown {
  padding: 8px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row {
  padding: 4px 0;
  font-size: 11px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item img {
  width: 48px;
  height: 48px;
}
.profile-menu .menu-footer {
  margin-top: 0;
  padding-top: 0;
  font-size: 14px;
}
.account .content-area .orders-grid .order-card .order-footer button {
  height: 32px;
  font-size: 12px;
  border-radius: 6px;
}
.account .content-area .orders-grid .order-card .order-content .order-info .info-row {
  font-size: 14px;
  margin-bottom: 4px;
}
.account .content-area .section-header .header-actions .search-box {
  flex: 1;
}
.account .content-area .section-header .header-actions .search-box input {
  width: 100%;
}
}
.account .wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.account .wishlist-grid .wishlist-card {
  background-color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.account .wishlist-grid .wishlist-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.account .wishlist-grid .wishlist-card:hover .wishlist-image img {
  transform: scale(1.05);
}
.account .wishlist-grid .wishlist-card:hover .wishlist-image .btn-remove {
  opacity: 1;
  transform: translateY(0);
}
.account .wishlist-grid .wishlist-card .wishlist-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.account .wishlist-grid .wishlist-card .wishlist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.account .wishlist-grid .wishlist-card .wishlist-image .btn-remove {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1;
}
.account .wishlist-grid .wishlist-card .wishlist-image .btn-remove:hover {
  background-color: #ef4444;
  color: #ffffff;
}
.account .wishlist-grid .wishlist-card .wishlist-image .sale-badge,
.account .wishlist-grid .wishlist-card .wishlist-image .out-of-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.start-0 {
  left: 0 !important;
}
.sale-badge{
  background: var(--accent-color) !important;
  color:#ffffff !important;
}
.account .wishlist-grid .wishlist-card .wishlist-image .sale-badge {
  background-color: #fef2f2;
  color: #ef4444;
}
.account .wishlist-grid .wishlist-card .wishlist-image .out-of-stock-badge {
  background-color: #f3f4f6;
  color: #6b7280;
}
.account .wishlist-grid .wishlist-card .wishlist-content {
  padding: 20px;
}
.account .wishlist-grid .wishlist-card .wishlist-content h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta {
  margin-bottom: 16px;
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .rating i {
  color: #f59e0b;
  font-size: 14px;
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .rating span {
  font-size: 13px;
  color: var(--heading-color);
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .price .current {
  font-size: 18px;
  font-weight: 600;
  color: var(--product-color);
}
.account .wishlist-grid .wishlist-card .wishlist-content .product-meta .price .original {
  font-size: 14px;
  color: var(--heading-color);
  text-decoration: line-through;
}
.account .wishlist-grid .wishlist-card .wishlist-content .btn-add-cart,
.account .wishlist-grid .wishlist-card .wishlist-content .btn-notify {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.account .wishlist-grid .wishlist-card .wishlist-content .btn-add-cart {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}
.account .wishlist-grid .wishlist-card .wishlist-content .btn-add-cart:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}
.account .wishlist-grid .wishlist-card .wishlist-content .btn-notify {
  background-color: #f3f4f6;
  color: #6b7280;
  border: none;
}
.account .wishlist-grid .wishlist-card .wishlist-content .btn-notify:hover {
  background-color: #e5e7eb;
}
.account .payment-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.account .payment-cards-grid .payment-card {
  background-color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.account .payment-cards-grid .payment-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.account .payment-cards-grid .payment-card.default {
  border-color: var(--accent-color);
}
.account .payment-cards-grid .payment-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.account .payment-cards-grid .payment-card .card-header i {
  font-size: 24px;
  color: var(--accent-color);
}
.account .payment-cards-grid .payment-card .card-header .card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account .payment-cards-grid .payment-card .card-header .card-badges span {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.account .payment-cards-grid .payment-card .card-header .card-badges .default-badge {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}
.account .payment-cards-grid .payment-card .card-header .card-badges .card-type {
  background-color: #f3f4f6;
  color: #6b7280;
}
.account .payment-cards-grid .payment-card .card-body {
  margin-bottom: 16px;
}
.account .payment-cards-grid .payment-card .card-body .card-number {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.account .payment-cards-grid .payment-card .card-body .card-info {
  font-size: 13px;
  color: var(--heading-color);
}
.account .payment-cards-grid .payment-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account .payment-cards-grid .payment-card .card-actions button {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.account .payment-cards-grid .payment-card .card-actions button i {
  font-size: 14px;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-edit {
  background-color: #f3f4f6;
  color: #6b7280;
  border: none;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-edit:hover {
  background-color: #e5e7eb;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-remove {
  background-color: #fef2f2;
  color: #ef4444;
  border: none;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-remove:hover {
  background-color: #fee2e2;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-make-default {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border: none;
}
.account .payment-cards-grid .payment-card .card-actions button.btn-make-default:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
}
.account .reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media(max-width:767px){
  .account .reviews-grid{
    padding:10px !important;
  }
}
/* Same outer box for default cards + edit form */
.account .reviews-grid > .review-card,
.account .reviews-grid > [id^="review-container-"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
  justify-self: stretch;
}
.account .reviews-grid .review-card .review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.account .reviews-grid .review-card .review-header .product-image ,.image-return img {
  width: 80px;
  height: 80px;
  border-radius: 12px !important;
  object-fit: cover;
  border: 1px solid #eee;
  padding: 10px;
}
.account .reviews-grid .review-card .review-header .review-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.account .reviews-grid .review-card .up-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  width: 100%;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.account .reviews-grid .review-card .up-info > h4 {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.account .reviews-grid .review-card .review-side-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  white-space: nowrap;
  margin-inline-start: auto;
  line-height: 1;
}
.account .reviews-grid .review-card .review-header .review-meta .rating,
.account .reviews-grid .review-card .review-side-meta .rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
  flex-shrink: 0;
  line-height: 1;
}
.account .reviews-grid .review-card .review-side-meta .rating i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  margin: 0 !important;
  vertical-align: middle;
}
.account .reviews-grid .review-card .review-side-meta .rating span,
.account .reviews-grid .review-card .review-side-meta .review-date {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}
@media (max-width:575px) {
  .account .reviews-grid .review-card .review-header .review-meta .rating,
  .account .reviews-grid .review-card .review-side-meta .rating {
    margin-bottom: 0 !important;
  }
}
.account .reviews-grid .review-card .review-header .review-meta h4,
.account .reviews-grid .review-card .up-info > h4 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 400;
}
.account .reviews-grid .review-card .review-header .review-meta .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.account .reviews-grid .review-card .review-header .review-meta .rating i,
.account .reviews-grid .review-card .review-side-meta .rating i {
  color: #f59e0b;
  font-size: 0.875rem !important;
  margin-right:2px;
}
.account .reviews-grid .review-card .review-header .review-meta .rating span,
.account .reviews-grid .review-card .review-side-meta .rating span {
  font-size: 0.94rem !important;
  font-weight: 400;
  color: var(--heading-color);
}
@media(max-width: 767px){
  .account .reviews-grid .review-card .review-header .review-meta .rating i,
  .account .reviews-grid .review-card .review-side-meta .rating i {
    font-size: 0.8125rem !important;
  }
  .account .reviews-grid .review-card .review-header .review-meta .rating span,
  .account .reviews-grid .review-card .review-side-meta .rating span {
  font-size: 0.875rem !important;
}
}
.account .reviews-grid .review-card .review-header .review-meta .review-date,
.account .reviews-grid .review-card .review-side-meta .review-date {
  font-size: 0.75rem;
  font-weight: 300;
  color:var(--heading-color);
}
.product-details .review-content {
  max-width: 100%;
  width: 100%;
  font-size: 15px;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  position: relative;
  clear: both;
  flex: 1 1 auto;
}

.product-details .review-content p {
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: right;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  height: auto !important;
  min-height: 0;
}

@media (max-width: 575px) {
.product-details .review-content{
  font-size: 12px;
}
.product-details .swiper-wrapper{
  
    margin-bottom: 20px;

}
}
.account .reviews-grid .review-card .review-content{
  max-width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.account .reviews-grid .review-card .review-content p {
  font-size: 14px;
  font-weight:300;
  line-height: 1.6;
  text-align: right;
  margin: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  color: var(--heading-color);
}
@media (max-width: 575px){
.account .reviews-grid .review-card .review-content p {
  margin: 0;
  text-align: start;
  overflow-wrap: break-word;
  width: 100%;
  height: auto;
}
}
@media (max-width: 400px){
.account .reviews-grid .review-card .review-content p {
  width: auto;
}}
@media (min-width:768px) {
.account .reviews-grid .review-card .review-content p{
  bottom: 39%;
  right: 15%
}
}
.account .reviews-grid .review-card .review-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  direction: ltr;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}
.account .reviews-grid .review-card .review-footer a{
  background-color: #e8e8e87a;
  padding: 0.4625rem 1.0625rem;
  font-weight:400;
  font-size:0.875rem;
  border-radius: 6px;
  color:var(--price-color);
  transition: all 0.3s ease;
}
.account .reviews-grid .review-card .review-footer a:hover{
  transform: translateY(-2px);
}
.account .reviews-grid .review-card .review-footer .btn-delete{
  color: red;
}
.account .reviews-grid .review-card .review-footer button {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.account .reviews-grid .review-card .review-footer button.btn-edit {
  background-color: #f3f4f6;
  color: #6b7280;
  border: none;
}
.account .reviews-grid .review-card .review-footer button.btn-edit:hover {
  background-color: #e5e7eb;
}
.account .reviews-grid .review-card .review-footer button.btn-delete {
  background-color: #fef2f2;
  color: #ef4444;
  border: none;
}
.account .reviews-grid .review-card .review-footer button.btn-delete:hover {
  background-color: #fee2e2;
}
.account .addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.account .addresses-grid .address-card {
  background-color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.account .addresses-grid .address-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.account .addresses-grid .address-card.default {
  border-color: var(--accent-color);
}
.account .addresses-grid .address-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.account .addresses-grid .address-card .card-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.account .addresses-grid .address-card .card-header .default-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}
.account .addresses-grid .address-card .card-body {
  margin-bottom: 16px;
}
.account .addresses-grid .address-card .card-body .address-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
}
.account .addresses-grid .address-card .card-body .contact-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 4px;
}
.account .addresses-grid .address-card .card-body .contact-info div:last-child {
  margin-bottom: 0;
}
.account .addresses-grid .address-card .card-body .contact-info div i {
  font-size: 14px;
}
.account .addresses-grid .address-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account .addresses-grid .address-card .card-actions button {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.account .addresses-grid .address-card .card-actions button i {
  font-size: 14px;
}
.account .addresses-grid .address-card .card-actions button.btn-edit {
  background-color: #f3f4f6;
  color: #6b7280;
  border: none;
}
.account .addresses-grid .address-card .card-actions button.btn-edit:hover {
  background-color: #e5e7eb;
}
.account .addresses-grid .address-card .card-actions button.btn-remove {
  background-color: #fef2f2;
  color: #ef4444;
  border: none;
}
.account .addresses-grid .address-card .card-actions button.btn-remove:hover {
  background-color: #fee2e2;
}
.account .addresses-grid .address-card .card-actions button.btn-make-default {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border: none;
}
.account .addresses-grid .address-card .card-actions button.btn-make-default:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
}
.account .settings-content .settings-section {
  background-color: transparent;
  border-radius: 16px;
  margin-bottom: 24px;
}
.account .settings-content .settings-section:last-child {
  margin-bottom: 0;
}
.account .settings-content .settings-section.danger-zone h3{
   margin: 0 0 8px !important;
}
.account .settings-content .settings-section h3 {
  margin: 0 0 20px;
  font-size: 1.0625rem;
  font-weight: 400;
}
.account .settings-content .settings-section.danger-zone {
  border-color: #fee2e2;
}
.account .settings-content .settings-section.danger-zone h3 {
  color: #ef4444;
}
.account .settings-content .settings-section.danger-zone .danger-zone-content p {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6c757d;
}
.account .settings-content .settings-section.danger-zone .danger-zone-content .btn-danger {
  background-color: #ef4444;
  color: #ffffff;
  border: none;
}
.account .settings-content .settings-section.danger-zone .danger-zone-content .btn-danger i{
  font-size:14px !important
}

.account .settings-content .settings-section.danger-zone .danger-zone-content .btn-danger:hover {
  background-color: #dc2626;
}
.account .settings-content .settings-form .form-label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}
.form-label {
  display: flex;
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 0.63rem; 
}
.form-control {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight:400;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color:#ffffff;
  transition: all 0.25s ease;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}
.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  outline: none;
}
.account .settings-content .settings-form .form-control {
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.account .settings-content .settings-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}
.account .settings-content .settings-form .form-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.account .settings-content .settings-form .form-buttons .btn-save {
  height: 40px;
  padding: 0 24px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.account .settings-content .settings-form .form-buttons .btn-save:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}
.account .settings-content .preferences-list .preference-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.account .settings-content .preferences-list .preference-item:first-child {
  padding-top: 0;
}
.account .settings-content .preferences-list .preference-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.account .settings-content .preferences-list .preference-item .preference-info {
  margin-right: 16px;
}
.account .settings-content .preferences-list .preference-item .preference-info h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 400;
}
.account .settings-content .preferences-list .preference-item .preference-info p {
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d
}
#form-account{
  color: var(--heading-color);
}
.account .settings-content .preferences-list .preference-item .form-check {
  margin: 0;
  min-height: auto;
}
.account .settings-content .preferences-list .preference-item .form-check .form-check-input {
  width: 3rem;
  height: 1.5rem;
  margin: 0;
}
.account .settings-content .preferences-list .preference-item .form-check .form-check-input:checked {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
.account .settings-content .preferences-list .preference-item .form-check .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
}
@media (max-width: 575.98px) {
.account .orders-grid .order-card .order-header {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
}
.account .content-area .orders-grid .order-card .order-header .order-id .label {
  font-size: 11px;
}
.account .content-area .orders-grid .order-card .order-header .order-id .value {
  font-size: 13px;
}
.account .content-area .orders-grid .order-card .order-header .order-date {
  font-size: 11px;
}
.account .content-area .orders-grid .order-card .order-details .details-content {
  padding: 12px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section h5 {
  font-size: 14px;
  margin-bottom: 10px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row {
  padding: 6px 0;
  font-size: 13px;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section .price-breakdown .price-row .icon-saudi_riyal{
  font-size: 15px !important;
  font-weight: 600 !important;
}
.account .content-area .orders-grid .order-card .order-details .details-content .detail-section {
  margin-bottom: 12px;
  padding-bottom: 2px;
}
.account .section-header .header-actions {
  justify-content: stretch;
}
.account .section-header .header-actions .search-box,
.account .section-header .header-actions .dropdown,
.account .section-header .header-actions button {
  width: 100%;
}
.account .payment-cards-grid,
.account .addresses-grid {
  grid-template-columns: 1fr;
}
.account .review-card .review-header {
  flex-direction: column;
  text-align: center;
}
.account .review-card .review-header .rating {
  justify-content: center;
}
.account .reviews-grid .review-card .review-header {
  flex-direction: row;
  text-align: start;
  align-items: flex-start;
}
}
.status-badge {
    padding: 5px 15px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    font-size: 13px;
    display: inline-block;
    background-color: #f3e8ff;
}
.return-info .reason{
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}
@media (max-width:575px) {
  .status-badge{
    padding: 4px 7px;
    font-size: 11px;
  }
}
/* Gender select arrow — inset from left border on all screens */
#settings #id_gender {
  direction: rtl;
  text-align: right;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='%236b7280'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 18px center !important;
  background-size: 22px 22px !important;
  padding-left: 2.75rem !important;
}
@media(max-width:768px){
  .account .settings-content .settings-section h3{
    font-size:1rem !important;
  }
  .account .settings-content .preferences-list .preference-item .preference-info h4{
    font-size:0.94rem !important;
  }
  .account .settings-content .preferences-list .preference-item .preference-info p{
    font-size: 0.8125rem
  }
  /* Mobile: account shell full width (container-fluid) — same 10px inset as store/search */
  #account > .account-page-container,
  #account > .container-fluid.account-page-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #account > .account-page-container > .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #account > .account-page-container > .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  /* Mobile only: #settings (حسابي) — full width like store/search mobile */
  #settings .section-header,
  #settings > .settings-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #settings .settings-content .settings-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #settings .section-header h2 {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  /* Profile form: align labels/inputs flush with حسابي right edge */
  #settings #myForm {
    padding: 0 !important;
    margin: 0 !important;
  }
  #settings #form-account {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0;
  }
  #settings #form-account > .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #settings #form-account .form-label {
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  #settings #form-account .form-control,
  #settings #form-account select,
  #settings #form-account .form-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Gender select — native select, comfortable arrow on left (RTL) */
  #settings #id_gender {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    direction: rtl;
    text-align: right;
    padding: 8px 14px 8px 2.5rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='%236b7280'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 18px center !important;
    background-size: 22px 22px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  #settings #id_gender:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
  }
  .account .settings-content .preferences-list,
  .account .settings-content .preferences-list .preference-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .account .settings-content .preferences-list .preference-item .form-check {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .account .settings-content .preferences-list .preference-item .preference-info {
    flex: 1 !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 16px !important;
    padding-right: 0 !important;
  }
  .account .settings-content .preferences-list .preference-item .preference-info h4,
  .account .settings-content .settings-section.danger-zone h3 {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  /* Mobile only: #addresses (عناوين الشحن) — full width like حسابي / store/search */
  #addresses .section-header,
  #addresses > .address-modal,
  #addresses > .settings-content,
  #addresses #addresses-cards {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Mobile only: + إضافة عنوان جديد on the left */
  #addresses > .address-modal {
    justify-content: flex-end !important;
  }
  #addresses .section-header h2 {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  #addresses .settings-content .settings-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #addresses #addresses-cards .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 1.5rem;
  }
  #addresses #addresses-cards .row > [class*="col-"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #addresses .settings-content .card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  #addresses .settings-content .card .card-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #addresses #no-address-message {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Mobile only: #reviews (تقيماتي) — full width like حسابي / عناوين الشحن */
  #reviews .section-header,
  #reviews .reviews-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #reviews .section-header h2 {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  #reviews .reviews-grid > .review-card,
  #reviews .reviews-grid > [id^="review-container-"],
  #reviews .reviews-grid > .no-order {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Mobile only: #wishlist (امنياتي) — full width like حسابي / عناوين الشحن / تقيماتي */
  #wishlist .section-header,
  #wishlist #product-list,
  #wishlist #product-list > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #wishlist .section-header h2 {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  /* Equal left/right inset in RTL — no negative row margins (those overflow to the left) */
  #wishlist #product-list .row.box-account {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 1rem;
    margin-left: -1px !important;
    margin-right: 0 !important;
  }
  #wishlist #product-list .row.box-account > [class*="col-"] {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    box-sizing: border-box !important;
  }
  #wishlist #product-list .product-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* iPad / tablet: امنياتي — same equal side inset as mobile (no RTL negative-margin shift) */
@media (min-width: 768px) and (max-width: 1024px) {
  #wishlist .section-header,
  #wishlist #product-list,
  #wishlist #product-list > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #wishlist #product-list .row.box-account {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #wishlist #product-list .row.box-account > [class*="col-"] {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    box-sizing: border-box !important;
  }
  #wishlist #product-list .product-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
.status-pending {
    background-color: #fff7ed;
    color: #f97316;
}
.status-approved {
    color: #5cb85c;
}
.status-rejected {
    background-color: #fef2f2;
    color: #ef4444;
}
.status-refunded {
    color: #0275d8;
}
/*--------------------------------------------------------------
# Login Section
--------------------------------------------------------------*/
.login .registration-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
}
.login .image-column {
  position: relative;
  min-height: 600px;
  padding: 0;
}
.login .image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.login .image-column .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}
.login .image-column .overlay .content {
  color: var(--contrast-color);
}
.login .image-column .overlay .content h3 {
  color: var(--contrast-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.login .image-column .overlay .content p {
  font-size: 1.1rem;
  opacity: 0.9;
}
.login .register-form {
  padding: 3rem;
}
.login .register-form h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.login .register-form .social-register .btn-outline {
  padding: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--heading-color);
  font-weight: 500;
  transition: all 0.3s ease;
}
.login .register-form .social-register .btn-outline:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.login .register-form .social-register .btn-outline i {
  font-size: 1.1rem;
}
.login .register-form .social-register .divider {
  text-align: center;
  position: relative;
  margin: 2rem 0;
}
.login .register-form .social-register .divider::before,
.login .register-form .social-register .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 4rem);
  height: 1px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}
.login .register-form .social-register .divider::before {
  left: 0;
}
.login .register-form .social-register .divider::after {
  right: 0;
}
.login .register-form .social-register .divider span {
  background-color: var(--surface-color);
  padding: 0 1rem;
  color: var(--heading-color);
  font-size: 0.9rem;
}
.login .register-form .form-floating>.form-control {
  padding: 1.25rem 1rem 0.25rem 0.75rem;
  height: calc(3.5rem + 2px);
  line-height: 1.25;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  border-color: transparent;
  color: var(--default-color);
}
.login .register-form .form-floating>.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.login .register-form .form-floating>.form-control:focus~label {
  color: var(--accent-color);
}
.login .register-form .form-floating>.form-control:focus~label:after {
  background: transparent;
}
.login .register-form .form-floating>.form-control:not(:placeholder-shown) {
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
}
.login .register-form .form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--heading-color);
}
.login .register-form .form-floating>.form-control:not(:placeholder-shown)~label:after {
  background: transparent;
}
.login .register-form .form-floating>label {
  padding: 1rem 0.75rem;
  color: var(--heading-color);
  font-weight: 400;
}
.login .register-form .form-floating>label:after {
  background: transparent;
}
.login .register-form .toggle-password {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: color 0.3s ease;
  z-index: 5;
}
.login .register-form .toggle-password:hover {
  color: var(--heading-color);
}
.login .register-form .form-check .form-check-input {
  float: none;
  margin-left: 0;
  margin-right: 0.5rem;
  cursor: pointer;
}
.login .register-form .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.login .register-form .form-check .form-check-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}
.login .register-form .form-check .form-check-label {
  font-size: 0.9rem;
}
.login .register-form .form-check .form-check-label a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}
.login .register-form .form-check .form-check-label a:hover {
  text-decoration: underline;
}
.login .register-form .btn-primary {
  padding: 0.8rem;
  font-weight: 500;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transition: all 0.3s ease;
}
.login .register-form .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-1px);
}
.login .register-form .btn-primary:active {
  transform: translateY(0);
}
@media (max-width: 991.98px) {
  .login .register-form {
    padding: 2rem;
  }
}
@media (max-width: 575.98px) {
  .login .register-form {
    padding: 1.5rem;
  }
  .login .register-form h2 {
    font-size: 1.5rem;
  }
}
/* OTP Modal boxes - matching login style */
#verifyEmailChangeModal .otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 15px;
}

#verifyEmailChangeModal .otp-input {
  width: 35px;
  height: 40px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  caret-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}

#verifyEmailChangeModal .otp-input::-webkit-outer-spin-button,
#verifyEmailChangeModal .otp-input::-webkit-inner-spin-button { -webkit-appearance: none; }

#verifyEmailChangeModal .otp-input:focus {
  border-color: #212121;
  outline: none;
}

#verifyEmailChangeModal .otp-input.otp-filled {
  border-color: #212121;
}

#verifyEmailChangeModal #id_otp {
  display: none;
}

#verifyEmailChangeModal .change-otp-countdown {
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

#verifyEmailChangeModal .change-otp-resend {
  border: 1px solid #d9d9d9;
  padding: 0.6rem 1rem !important;
  border-radius: 6px;
  width: 100%;
  font-size: 0.875rem !important;
  line-height: unset !important;
  transition: all 0.3s ease;
}

#verifyEmailChangeModal .change-otp-resend:hover:not(:disabled) {
  transform: translateY(-1px);
}
#verifyEmailChangeModal .btn-primary,
#verifyEmailChangeModal .btn-primary .btn-label {
  color: var(--contrast-color) !important;
}
#verifyEmailChangeModal .change-otp-countdown .otp-resend-phrase {
  color: #000 !important;
}
#verifyEmailChangeModal .change-otp-resend {
  color: var(--accent-color) !important;
}

@media (max-width:768px) {
  #verifyEmailChangeModal .otp-container {
    gap: 5px;
    margin-bottom: 25px;
  }

  #verifyEmailChangeModal .otp-input {
    width: 35px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}
/* OTP Modal boxes - matching login style */
#verifyPhoneChangeModal .otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 15px;
}

#verifyPhoneChangeModal .otp-input {
  width: 35px;
  height: 40px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  caret-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}

#verifyPhoneChangeModal .otp-input::-webkit-outer-spin-button,
#verifyPhoneChangeModal .otp-input::-webkit-inner-spin-button { -webkit-appearance: none; }

#verifyPhoneChangeModal .otp-input:focus {
  border-color: #212121;
  outline: none;
}

#verifyPhoneChangeModal .otp-input.otp-filled {
  border-color: #212121;
}

#verifyPhoneChangeModal #id_otp {
  display: none;
}

#verifyPhoneChangeModal .change-otp-countdown {
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

#verifyPhoneChangeModal .change-otp-resend {
  border: 1px solid #d9d9d9;
  padding: 0.6rem 1rem !important;
  border-radius: 6px;
  width: 100%;
  font-size: 0.875rem !important;
  line-height: unset !important;
  transition: all 0.3s ease;
}

#verifyPhoneChangeModal .change-otp-resend:hover:not(:disabled) {
  transform: translateY(-1px);
}

@media (max-width:768px) {
  #verifyPhoneChangeModal .otp-container {
    gap: 5px;
    margin-bottom: 25px;
  }

  #verifyPhoneChangeModal .otp-input {
    width: 35px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}
/* verify-otp-email */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
    .otp-input {
    width: 35px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
  }
   .text-center .confirm{
      width: 100% !important;
    }
  @media (max-width:768px) {
    .otp-container{
      gap: 5px;
      margin-bottom: 25px;
    }
    .otp-input {
    width: 35px !important;
    height: 40px !important;
    font-size: 16px !important;
    }
    .text-center .confirm{
      width: 100% !important;
    }
    
  }
  .otp-input:focus {
    border-color: #212121;
    outline: none;
  }
  #id_otp {
    display: none;
  }
  /* completeProfileModal */
  #completeProfileModal .registration-form-wrapper .form-label {
  display: block;
  width: 100%;
}

#completeProfileModal .form-control {
  border-radius: 6px;
}

#completeProfileModal .complete-profile-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

#completeProfileModal .complete-profile-alert {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  background: #f8d7da;
  color: #842029;
  font-size: 0.875rem;
}
/*--------------------------------------------------------------
# Register Section
--------------------------------------------------------------*/
.register .registration-form-wrapper {
  background-color: var(--surface-color);
  padding: 0px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.register .registration-form-wrapper .section-header h2 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.3rem;
}
.register .registration-form-wrapper .section-header p {
  color: var(--heading-color);
  font-size: 0.875rem;
}
.register .registration-form-wrapper label {
  color: var(--heading-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem !important;
  display: flex;
}
.register .registration-form-wrapper .form-control {
  padding: 0.6rem 1rem !important;
  font-size: 0.95rem;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--default-color);
}
.register .registration-form-wrapper .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}
.register .registration-form-wrapper .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 0.9rem;
}
.register .registration-form-wrapper .password-input {
  position: relative;
}
.register .registration-form-wrapper .password-input .toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: color 0.3s ease;
  font-size: 1.1rem;
}
.register .registration-form-wrapper .password-input .toggle-password:hover {
  color: var(--heading-color);
}
.register .registration-form-wrapper .password-requirements {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: block;
}
.register .registration-form-wrapper .form-check .form-check-input {
  float: none;
  margin-left: 0;
  margin-right: 0.5rem;
  cursor: pointer;
}
.register .registration-form-wrapper .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.register .registration-form-wrapper .form-check .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 85%);
}
.register .registration-form-wrapper .form-check .form-check-label {
  color: var(--default-color);
  font-weight: normal;
  cursor: pointer;
}
.register .registration-form-wrapper .form-check .form-check-label a {
  text-decoration: underline;
}
.register .registration-form-wrapper .form-check .form-check-label a:hover {
  text-decoration: none;
}
.register .registration-form-wrapper .btn-primary {
    padding: 0.6rem 1rem;
    font-weight: 400;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border-radius: 6px;
    width:100% !important;
}
.register .registration-form-wrapper .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-1px);
}
.register .registration-form-wrapper .btn-primary:active {
  transform: translateY(0);
}
.register .registration-form-wrapper .loading,
.register .registration-form-wrapper .error-message,
.register .registration-form-wrapper .sent-message {
  margin: 1rem 0;
}
@media (max-width: 767.98px) {
  .register .register-form {
    padding: 1.5rem;
  }
  .register .register-form .section-header h2 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/
.about-2 .small-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-color);
}
.about-2 .about-title {
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 992px) {
  .about-2 .about-title {
    font-size: 1.6rem;
  }
}
.about-2 .about-description {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1.125rem;
  line-height: 1.6;
}
@media (min-width: 992px) {
  .about-2 .description-wrapper {
    border-left: 1px solid var(--accent-color);
    padding-left: 30px;
  }
}
.about-2 .content-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.about-2 .content-card .card-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
}
.about-2 .content-card .card-image img {
  transition: transform 0.5s ease;
}
.about-2 .content-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.about-2 .content-card .card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.about-2 .content-card .card-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 1.5rem;
  flex: 1;
}
.about-2 .content-card .card-content .read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.about-2 .content-card .card-content .read-more:hover {
  gap: 0.75rem;
}
.about-2 .content-card .card-content .read-more:hover i {
  transform: translateX(5px);
}
.about-2 .content-card .card-content .read-more i {
  transition: transform 0.3s ease;
}
.about-2 .content-card:hover .card-image img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}
.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}
.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}
.stats .stats-item p {
  color: var(--heading-color);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .swiper{
  padding:10px;
}
/*
  Product reviews alignment + shadow safety
  - Nested .container paddings are zeroed so title and swiper share one edge
  - Swiper keeps equal inline padding for box-shadow (no border cuts)
  - Title uses the same inline inset so it lines up with the first card
*/
.product-details .product-reviews > .container.section-title,
.product-details .product-reviews .testimonials > .container {
  padding-inline: 0;
  max-width: 100%;
}
.product-details .product-reviews > .container.section-title {
  padding-inline: 12px;
  margin-bottom: 14px !important;
}
.product-details .product-reviews > .container.section-title h1 {
  margin-inline: 0;
  margin-bottom: 0 !important;
}
.product-details .product-reviews .testimonials .swiper {
  padding-block: 12px;
  padding-inline: 12px;
  padding-top: 8px !important;
  overflow: hidden;
}
.product-details .product-reviews #testimonials.testimonials.section {
  padding: 0 !important;
  margin-top: 0 !important;
}
.product-details .product-reviews .testimonials .swiper-slide {
  padding-inline: 0;
}
.testimonials .testimonial-item {
    width: 100%;
    border-radius: 6px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    box-sizing: border-box;
    padding: 20px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 999;
}

/* Product reviews: equal-height cards; long text clamped and not clickable */
.product-reviews .testimonials .swiper-wrapper {
  align-items: stretch;
}
.product-reviews .testimonials .swiper-slide {
  height: auto !important;
  display: flex;
  box-sizing: border-box;
}
.product-reviews .testimonials .testimonial-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  /* Message starts under the avatar (RTL start) and spans the full card width */
  grid-template-areas:
    "avatar info"
    "message message";
  column-gap: 0.5rem;
  row-gap: 0.55rem;
  align-items: start;
  justify-content: stretch;
  width: 100%;
  height: 100% !important;
  min-height: 168px;
  box-sizing: border-box;
}
.product-reviews .testimonials .testimonial-item .review-box {
  display: contents;
  margin-bottom: 0;
}
.product-reviews .testimonials .testimonial-item .reviewer-avatar {
  grid-area: avatar;
  width: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.product-reviews .testimonials .testimonial-item .info-detials {
  grid-area: info;
  min-width: 0;
  display: flex;
  align-items: center;
}
.product-reviews .testimonials .testimonial-item .name-review,
.product-reviews .testimonials .testimonial-item .reviewer-name,
.product-reviews .testimonials .testimonial-item .review-rating,
.product-reviews .testimonials .testimonial-item .stars {
  margin-inline: 0;
  padding-inline: 0;
  text-align: start;
}
.product-reviews .testimonials .testimonial-item .reviewer-name {
  margin-block: 0 0.15rem;
}
.product-reviews .testimonials .testimonial-item .review-content {
  grid-area: message;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding-block: 0 !important;
  padding-inline-end: 0 !important;
  padding-inline-start: 16px !important; /* slightly right of avatar center */
  justify-self: stretch;
  align-self: stretch;
  min-width: 0;
  min-height: calc(1.65em * 4);
  flex: 0 0 auto;
  overflow: hidden;
}
.product-reviews .testimonials .testimonial-item .review-content p,
.product-reviews .testimonials .testimonial-item .review-content p.is-truncatable,
.product-reviews .testimonials .testimonial-item .review-content p.is-expanded {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  text-align: start;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  overflow: hidden !important;
  height: calc(1.65em * 4) !important;
  max-height: calc(1.65em * 4) !important;
  min-height: calc(1.65em * 4) !important;
  cursor: default !important;
  pointer-events: none !important;
  user-select: text;
}

@media (max-width: 575px) {
  .product-reviews .testimonials .testimonial-item {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 0.45rem;
    row-gap: 0.45rem;
    min-height: 156px;
  }
  .product-reviews .testimonials .testimonial-item .reviewer-avatar {
    width: 44px !important;
    height: 44px !important;
  }
  .product-reviews .testimonials .testimonial-item .review-content {
    padding-inline-start: 14px !important; /* slightly right of avatar center */
  }
}

.testimonials .testimonial-item  .review-box{
  display: flex;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}
.testimonials .testimonial-item  .review-box img{
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonials .testimonial-item .info-detials {
  min-width: 0;
  flex: 1 1 auto;
}
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin: 0 auto 15px auto;
  display: block;
}
.testimonials .testimonial-item .name-review{
  display: flex;
  flex-direction: column;
}
.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}
.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--heading-color);
  margin: 0;
}
.testimonials .testimonial-item .stars {
  font-size: 0.875rem;
  font-weight: 300;
}
.testimonials .testimonial-item .reviewer-name{
  font-size: 0.875rem;
  font-weight: 400;
} 
@media (max-width: 575px) {
  .testimonials .testimonial-item .stars{
    font-size: 0.8rem;
  }
  .testimonials .testimonial-item .reviewer-name{
  font-size: 0.8rem;
} 

}
.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}
.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}
.testimonials .testimonial-item .review-content {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  position: relative;
  clear: both;
}
.testimonials .testimonial-item .review-content p,
.testimonials .testimonial-item p {
  margin: 0;
  font-size: 0.84rem !important;
  font-weight: 400;
  max-width: 100%;
  width: 100%;
  text-align: right;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
.testimonials .swiper-wrapper {
  height: auto;
}
@media(min-width:768px) and (max-width:992px){
  .testimonials .swiper-wrapper{
    margin-bottom:45px;
  }
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
@media (max-width: 767px) {
  .testimonials .testimonial-item .review-content p,
  .testimonials .testimonial-item p {
    height: auto !important;
  }
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }
  .testimonials .testimonial-item {
    padding: 20px;
    margin: 0px auto;
     width: 90%;
  }
  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }

  /* Mobile only: keep shadow room, no stretch (width match is in product_detail extra_css) */
  .product-details .product-reviews > .container,
  .product-details .product-reviews .testimonials > .container {
    padding-inline: 0;
    max-width: 100%;
  }
  .product-details .product-reviews > .container.section-title {
    padding-inline: 0;
    margin-bottom: 14px;
  }
  .product-details .product-reviews .section-title h1 {
    margin-inline: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  .product-details .product-reviews .testimonials .swiper {
    padding-inline: 8px;
    padding-block: 8px;
    padding-top: 8px;
    margin-inline: 0;
    width: 100%;
    overflow: hidden;
  }
  .product-details .product-reviews .testimonials .swiper-slide {
    padding-inline: 0;
    box-sizing: border-box;
    width: 100%;
  }
  .product-details .product-reviews .testimonials .testimonial-item {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
  }
  .product-details .review-form-container .section-title.container {
    padding-inline: 0;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Contact 2 Section
--------------------------------------------------------------*/
.contact-2 {
  padding-top: 5px;
}
.contact-2 .info-item+.info-item {
  margin-top: 40px;
}
.contact-2 .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-left: 15px;
}
.contact-2 .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact-2 .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
.contact-2 .php-email-form {
  height: 100%;
}
.contact-2 .php-email-form input[type=text],
.contact-2 .php-email-form input[type=email],
.contact-2 .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact-2 .php-email-form input[type=text]:focus,
.contact-2 .php-email-form input[type=email]:focus,
.contact-2 .php-email-form textarea:focus {
  border-color: var(--accent-color);
}
.contact-2 .php-email-form input[type=text]::placeholder,
.contact-2 .php-email-form input[type=email]::placeholder,
.contact-2 .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact-2 .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}
.contact-2 .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
/*--------------------------------------------------------------
# Support Section
--------------------------------------------------------------*/
.support .section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.support .section-heading h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.support .section-heading p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.support .help-categories {
  margin-bottom: 60px;
}
.support .help-categories .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
@media (max-width: 576px) {
  .support .help-categories .category-grid {
    grid-template-columns: 1fr;
  }
}
.support .category-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.support .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.support .category-card:hover .icon {
  background-color: var(--accent-color);
}
.support .category-card:hover .icon i {
  color: var(--contrast-color);
}
.support .category-card .icon {
  width: 80px;
  height: 80px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.support .category-card .icon i {
  font-size: 2rem;
  color: var(--accent-color);
  transition: color 0.3s;
}
.support .category-card h4 {
  color: var(--heading-color);
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.support .category-card p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 0.95rem;
}
.support .help-topics {
  margin-bottom: 60px;
}
.support .help-topics .topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
@media (max-width: 767px) {
  .support .help-topics .topics-grid {
    grid-template-columns: 1fr;
  }
}
.support .help-topics .topic-item {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.support .help-topics .topic-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: height 0.3s;
}
.support .help-topics .topic-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.support .help-topics .topic-item:hover::before {
  height: 100%;
}
.support .help-topics .topic-item:hover .learn-more i {
  transform: translateX(5px);
}
.support .help-topics .topic-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}
.support .help-topics .topic-item h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.support .help-topics .topic-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.support .help-topics .topic-item .learn-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.support .help-topics .topic-item .learn-more i {
  font-size: 1.1rem;
  margin: 0;
  transition: transform 0.3s;
}
.support .faq-section {
  margin-bottom: 60px;
}
.support .faq-section .faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.support .faq-section .faq-list .faq-item {
  background-color: var(--surface-color);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}
.support .faq-section .faq-list .faq-item h3 {
  margin: 0;
  padding: 20px 25px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--heading-color);
  transition: all 0.3s;
}
.support .faq-section .faq-list .faq-item h3 i {
  transition: transform 0.3s;
  font-size: 1.2rem;
}
.support .faq-section .faq-list .faq-item .faq-answer {
  display: none;
  padding: 25px 20px;
}
.support .faq-section .faq-list .faq-item .faq-answer p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.support .faq-section .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}
.support .faq-section .faq-list .faq-item.faq-active h3 i {
  transform: rotate(180deg);
}
.support .faq-section .faq-list .faq-item.faq-active .faq-answer {
  display: block;
}
.support .support-sidebar {
  position: sticky;
  top: 100px;
}
.support .support-sidebar>div {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}
.support .support-sidebar>div:last-child {
  margin-bottom: 0;
}
.support .support-sidebar .contact-support {
  text-align: center;
}
.support .support-sidebar .contact-support .icon-box {
  width: 80px;
  height: 80px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.support .support-sidebar .contact-support .icon-box i {
  font-size: 2.5rem;
  color: var(--accent-color);
}
.support .support-sidebar .contact-support h4 {
  margin-bottom: 10px;
}
.support .support-sidebar .contact-support p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 25px;
}
.support .support-sidebar .contact-support .support-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.support .support-sidebar .contact-support .support-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.support .support-sidebar .contact-support .support-actions a i {
  font-size: 1.2rem;
}
.support .support-sidebar .contact-support .support-actions .btn-chat {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.support .support-sidebar .contact-support .support-actions .btn-chat:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
}
.support .support-sidebar .contact-support .support-actions .btn-email {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.support .support-sidebar .contact-support .support-actions .btn-email:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}
.support .support-sidebar .contact-support .support-actions .divider {
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 0.9rem;
  margin: 5px 0;
}
.support .support-sidebar .contact-support .support-actions .phone-number {
  color: var(--heading-color);
  font-size: 1.1rem;
}
.support .support-sidebar .contact-support .support-actions .phone-number:hover {
  color: var(--accent-color);
}
.support .support-sidebar .support-resources h5 {
  margin-bottom: 20px;
}
.support .support-sidebar .support-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support .support-sidebar .support-resources ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.support .support-sidebar .support-resources ul li:last-child {
  margin-bottom: 0;
}
.support .support-sidebar .support-resources ul li i {
  color: var(--accent-color);
  font-size: 1.2rem;
}
.support .support-sidebar .support-resources ul li a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s;
}
.support .support-sidebar .support-resources ul li a:hover {
  color: var(--accent-color);
}
.support .support-sidebar .business-hours h5 {
  margin-bottom: 20px;
}
.support .support-sidebar .business-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support .support-sidebar .business-hours ul li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.support .support-sidebar .business-hours ul li:last-child {
  margin-bottom: 0;
}
.support .support-sidebar .business-hours ul li span:last-child {
  font-weight: 500;
  color: var(--heading-color);
}
@media (max-width: 991px) {
  .support .support-sidebar {
    position: static;
    margin-top: 40px;
  }
}
/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}
.faq .faq-description {
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
}
.faq .faq-arrow {
  color: var(--accent-color);
}
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}
.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}
.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}
.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}
.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}
.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}
.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}
.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}
.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}
.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}
/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.blog-hero .blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.blog-hero .blog-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--surface-color);
  box-shadow: 0 5px 15px color-mix(in srgb, bl, transparent 92%);
  transition: all 0.3s ease;
}
.blog-hero .blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 85%);
}
.blog-hero .blog-item:hover img {
  transform: scale(1.05);
}
.blog-hero .blog-item:hover .blog-content {
  background: linear-gradient(0deg, color-mix(in srgb, black, transparent 15%) 0%, transparent 100%);
}
.blog-hero .blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-hero .blog-item .blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(0deg, color-mix(in srgb, black, transparent 25%) 0%, transparent 100%);
  transition: background 0.3s ease;
}
.blog-hero .main-feature {
  aspect-ratio: 21/9;
}
.blog-hero .main-feature .post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 991px) {
  .blog-hero .main-feature .post-title {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .blog-hero .main-feature .post-title {
    font-size: 1.5rem;
  }
}
.blog-hero .main-feature .post-excerpt {
  color: var(--contrast-color);
  font-size: 1.1rem;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .blog-hero .main-feature .post-excerpt {
    display: none;
  }
}
.blog-hero .secondary-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .blog-hero .secondary-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.blog-hero .secondary-features .blog-item {
  aspect-ratio: 3/4;
}
.blog-hero .regular-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 991px) {
  .blog-hero .regular-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-hero .regular-posts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.blog-hero .regular-posts .blog-item {
  aspect-ratio: 16/9;
}
.blog-hero .post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--contrast-color);
}
.blog-hero .post-meta .date,
.blog-hero .post-meta .category {
  display: flex;
  align-items: center;
}
.blog-hero .post-meta .date::before,
.blog-hero .post-meta .category::before {
  font-family: "bootstrap-icons";
  margin-right: 0.5rem;
  font-size: 1rem;
}
.blog-hero .post-meta .date::before {
  content: "\f282";
}

.blog-hero .post-meta .category::before {
  content: "\f5d3";
}
.blog-hero .post-title {
  margin: 0;
  font-family: var(--heading-font);
}
.blog-hero .post-title a {
  color: var(--contrast-color);
  text-decoration: none;
}
.blog-hero .post-title a:hover {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}
.blog-hero .post-title:not(h2) {
  font-size: 1.25rem;
}
@media (max-width: 991px) {
  .blog-hero .post-title:not(h2) {
    font-size: 1.1rem;
  }
}
/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  margin-bottom: 30px;
}
.recent-posts .post-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.recent-posts .post-img::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
}
.recent-posts .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.recent-posts .post-img:hover img {
  transform: scale(1.1);
}
.recent-posts .post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  color: var(--contrast-color);
}
.recent-posts .post-category {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--contrast-color);
}
.recent-posts .title {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.recent-posts .title a {
  color: var(--contrast-color);
  transition: 0.3s;
}
.recent-posts .title a:hover {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}
.recent-posts .post-meta {
  font-size: 14px;
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}
.recent-posts .post-meta span {
  display: inline-block;
}
@media (max-width: 768px) {
  .recent-posts .post-content {
    padding: 20px;
  }
  .recent-posts .title {
    font-size: 18px;
  }
  .recent-posts .post-meta {
    font-size: 13px;
  }
}
/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: var(--heading-color);
}
.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}
.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}
.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}
.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}
/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}
.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}
.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}
.blog-details .content {
  margin-top: 20px;
}
.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}
.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}
.blog-details .meta-top {
  margin-top: 20px;
  color: var(--heading-color);
}
.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.blog-details .meta-top ul li+li {
  padding-left: 20px;
}
.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--heading-color);
}
.blog-details .meta-top a {
  color: var(--heading-color);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.blog-details .meta-bottom i {
  color: var(--heading-color);
  display: inline;
}
.blog-details .meta-bottom a {
  color: var(--heading-color);
  transition: 0.3s;
}
.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}
.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}
.blog-details .meta-bottom .cats li {
  display: inline-block;
}
.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}
.blog-details .meta-bottom .tags li {
  display: inline-block;
}
.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}
.blog-details .meta-bottom .share {
  font-size: 16px;
}
.blog-details .meta-bottom .share i {
  padding-left: 5px;
}
/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments .section-header {
  margin-bottom: 40px;
}
.blog-comments .section-header h3 {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-comments .section-header h3 .comment-count {
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  font-size: 24px;
  font-weight: 500;
}
.blog-comments .comments-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.blog-comments .comment-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.blog-comments .comment-card:hover {
  border-left-color: var(--accent-color);
  transform: translateX(5px);
}
.blog-comments .comment-card.reply {
  margin-left: 48px;
  border-left-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  background-color: color-mix(in srgb, var(--surface-color), transparent 3%);
}
@media (min-width: 768px) {
  .blog-comments .comment-card.reply {
    margin-left: 85px;
  }
}
.blog-comments .reply-thread {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.blog-comments .comment-header {
  margin-bottom: 20px;
}
.blog-comments .comment-header .user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.blog-comments .comment-header .user-info img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}
.blog-comments .comment-header .user-info .meta .name {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
}
.blog-comments .comment-header .user-info .meta .date {
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-comments .comment-header .user-info .meta .date i {
  font-size: 13px;
}
.blog-comments .comment-content p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.blog-comments .comment-actions {
  display: flex;
  gap: 20px;
}
.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: transform 0.3s ease;
}
.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}
.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
}
.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}
.blog-comments .comment-actions .action-btn.like-btn.active {
  color: var(--accent-color);
}
@media (max-width: 768px) {
  .blog-comments .section-header {
    margin-bottom: 30px;
  }
.blog-comments .section-header h3 {
  font-size: 28px;
  }
.blog-comments .section-header h3 .comment-count {
  font-size: 20px;
  }
.blog-comments .comment-card {
  padding: 20px;
}
.blog-comments .comment-card.reply {
  margin-left: 35px;
}
.blog-comments .comment-header .user-info img {
  width: 40px;
  height: 40px;
}
.blog-comments .comment-header .user-info .meta .name {
  font-size: 15px;
}
.blog-comments .comment-header .user-info .meta .date {
  font-size: 13px;
}
.blog-comments .comment-content p {
  font-size: 14px;
  margin-bottom: 15px;
}
.blog-comments .comment-actions .action-btn {
  padding: 6px 10px;
  font-size: 13px;
}
}
/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 30px auto 0 auto;
}
.blog-comment-form form {
  padding: 30px;
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.blog-comment-form .section-header {
  text-align: center;
  margin-bottom: 30px;
}
.blog-comment-form .section-header h3 {
  font-size: 28px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}
.blog-comment-form .section-header h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.blog-comment-form .section-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 15px;
  margin: 0;
}
.blog-comment-form .form-group {
  margin-bottom: 20px;
}
.blog-comment-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}
.blog-comment-form .form-group .form-control {
  height: 48px;
  padding: 10px 15px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}
.blog-comment-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}
.blog-comment-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.blog-comment-form .form-group .form-control:hover:not(:focus) {
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}
.blog-comment-form .form-group textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}
textarea#id_additional_info{
  width: 205% !important;
}
@media(max-width:575px){
  textarea#id_additional_info{
    width: 100% !important;
  }
}
.edit-form textarea.form-control{
  height: 100px !important;
  width: 100% !important;
  max-width: 100%;
  margin-right: 0 !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}
.blog-comment-form .btn-submit {
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.blog-comment-form .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}
.blog-comment-form .btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}
@media (max-width: 768px) {
  .blog-comment-form {
    padding: 20px;
  }
  .blog-comment-form .section-header h3 {
    font-size: 24px;
  }
  .blog-comment-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
  }
}
/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}
.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}
.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}
.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}
.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}
.terms-of-service .tos-content .content-section p {
  color: var(--heading-color);
  line-height: 1.7;
  margin-bottom: 20px;
}
.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}
.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}
.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}
.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}
.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--heading-color);
}
.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}
.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}
.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}
.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}
.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}
.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}
.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}
.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}
.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: var(--heading-color);
}
.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}
.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}
.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--heading-color);
  font-size: 0.95rem;
}
.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}
.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}
.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}
.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}
.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}
.terms-of-service .tos-contact {
  margin-top: 60px;
}
.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}
.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}
.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}
.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}
.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
@media print {
  .terms-of-service .tos-contact {
    display: none;
  }
  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}
.sar-icon {
   width: 18px;
   height: 18px;
}
/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy .privacy-header {
  text-align: center;
  margin-bottom: 70px;
  padding: 60px 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 30px;
}
.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy .privacy-header .header-content .update-badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--surface-color);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 25px;
}
.privacy .privacy-header .header-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, var(--heading-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.privacy .privacy-header .header-content p {
  font-size: 1.2rem;
  color: var(--heading-color);
  margin-bottom: 30px;
}
.privacy .privacy-header .header-content .privacy-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 576px) {
  .privacy .privacy-header .header-content .privacy-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
.privacy .privacy-header .header-content .privacy-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
}
.privacy .privacy-header .header-content .privacy-badges .badge-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
}
.privacy .privacy-header .header-content .privacy-badges .badge-item span {
  font-weight: 500;
}
.privacy .info-section {
  margin-bottom: 70px;
}
.privacy .info-section .section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .privacy .info-section .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .privacy .info-section .section-grid {
    grid-template-columns: 1fr;
  }
}
.privacy .info-section .info-card {
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}
.privacy .info-section .info-card:hover {
  transform: translateY(-10px);
}
.privacy .info-section .info-card:hover .card-header i {
  transform: scale(1.1);
}
.privacy .info-section .info-card .card-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.privacy .info-section .info-card .card-header i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s;
}
.privacy .info-section .info-card .card-header h3 {
  font-size: 1.4rem;
  margin: 0;
}
.privacy .info-section .info-card .card-content {
  padding: 30px;
}
.privacy .info-section .info-card .card-content .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy .info-section .info-card .card-content .info-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: var(--heading-color);
}
.privacy .info-section .info-card .card-content .info-list li:last-child {
  margin-bottom: 0;
}
.privacy .info-section .info-card .card-content .info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}
.privacy .security-section {
  margin-bottom: 70px;
  text-align: center;
}
.privacy .security-section .section-header {
  margin-bottom: 40px;
}
.privacy .security-section .section-header h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.privacy .security-section .section-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
}
.privacy .security-section .measures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 991px) {
  .privacy .security-section .measures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .privacy .security-section .measures-grid {
    grid-template-columns: 1fr;
  }
}
.privacy .security-section .measure-item {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s;
}
.privacy .security-section .measure-item:hover {
  transform: translateY(-5px);
}
.privacy .security-section .measure-item:hover i {
  color: var(--accent-color);
}
.privacy .security-section .measure-item i {
  font-size: 2rem;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
  margin-bottom: 20px;
  transition: color 0.3s;
}
.privacy .security-section .measure-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.privacy .security-section .measure-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin: 0;
}
.privacy .rights-section {
  margin-bottom: 70px;
}
.privacy .rights-section .rights-content {
  background-color: var(--surface-color);
  border-radius: 30px;
  padding: 50px;
  text-align: center;
}
.privacy .rights-section .rights-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.privacy .rights-section .rights-content>p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 40px;
}
.privacy .rights-section .rights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .privacy .rights-section .rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .privacy .rights-section .rights-grid {
    grid-template-columns: 1fr;
  }
}
.privacy .rights-section .right-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.privacy .rights-section .right-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.privacy .rights-section .right-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin: 0;
}
.privacy .additional-info {
  margin-bottom: 70px;
}
.privacy .additional-info .info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .privacy .additional-info .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .privacy .additional-info .info-grid {
    grid-template-columns: 1fr;
  }
}
.privacy .additional-info .info-item {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 30px;
}
.privacy .additional-info .info-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}
.privacy .additional-info .info-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.privacy .privacy-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 30px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 767px) {
.privacy .privacy-contact .contact-box {
  flex-direction: column;
  text-align: center;
  }
}
.privacy .privacy-contact .contact-box .contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy .privacy-contact .contact-box .contact-icon i {
  font-size: 2rem;
  color: var(--contrast-color);
}
.privacy .privacy-contact .contact-box .contact-content {
  flex: 1;
}
.privacy .privacy-contact .contact-box .contact-content h4 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.privacy .privacy-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 20px;
}
.privacy .privacy-contact .contact-box .contact-content .contact-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.privacy .privacy-contact .contact-box .contact-content .contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/*--------------------------------------------------------------
# Retun Policy Section
--------------------------------------------------------------*/
.retun-policy .return-hero {
  margin-bottom: 70px;
  text-align: center;
  position: relative;
}
.retun-policy .return-hero .hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.retun-policy .return-hero .hero-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, var(--heading-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.retun-policy .return-hero .hero-content p {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.retun-policy .return-hero .return-period-box {
  margin-top: 40px;
}
.retun-policy .return-hero .return-period-box .box-content {
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), transparent 90%) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  display: inline-flex;
  align-items: baseline;
  padding: 20px 40px;
  border-radius: 50px;
  gap: 10px;
}
.retun-policy .return-hero .return-period-box .box-content .days {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}
.retun-policy .return-hero .return-period-box .box-content .text {
  font-size: 1.4rem;
  color: var(--heading-color);
  font-weight: 500;
}
.retun-policy .policy-overview {
  margin-bottom: 70px;
}
.retun-policy .policy-overview .feature-card {
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}
.retun-policy .policy-overview .feature-card:hover {
  transform: translateY(-10px);
}
.retun-policy .policy-overview .feature-card:hover .card-content::before {
  opacity: 1;
}
.retun-policy .policy-overview .feature-card:hover .card-content .learn-more i {
  transform: translateX(5px);
}
.retun-policy .policy-overview .feature-card .card-content {
  padding: 40px;
  position: relative;
  z-index: 1;
}
.retun-policy .policy-overview .feature-card .card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 97%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.retun-policy .policy-overview .feature-card .card-content i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}
.retun-policy .policy-overview .feature-card .card-content h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.retun-policy .policy-overview .feature-card .card-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 25px;
}
.retun-policy .policy-overview .feature-card .card-content .learn-more {
  color: var(--accent-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.retun-policy .policy-overview .feature-card .card-content .learn-more i {
  font-size: 1.2rem;
  margin: 0;
  transition: transform 0.3s;
}
.retun-policy .return-requirements {
  margin-bottom: 70px;
}
.retun-policy .return-requirements .requirements-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.retun-policy .return-requirements .requirements-content .subtitle {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.retun-policy .return-requirements .checks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.retun-policy .return-requirements .checks-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.retun-policy .return-requirements .checks-list li:last-child {
  margin-bottom: 0;
}
.retun-policy .return-requirements .checks-list li i {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.retun-policy .return-requirements .checks-list li .requirement-text h5 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.retun-policy .return-requirements .checks-list li .requirement-text p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}
.retun-policy .return-requirements .exceptions-box {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
}
.retun-policy .return-requirements .exceptions-box .box-header {
  text-align: center;
  margin-bottom: 30px;
}
.retun-policy .return-requirements .exceptions-box .box-header i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
}
.retun-policy .return-requirements .exceptions-box .box-header h4 {
  font-size: 1.5rem;
  margin: 0;
}
.retun-policy .return-requirements .exceptions-box .exceptions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.retun-policy .return-requirements .exceptions-box .exceptions-grid .exception-item {
  text-align: center;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 15px;
  transition: all 0.3s;
}
.retun-policy .return-requirements .exceptions-box .exceptions-grid .exception-item:hover {
  transform: scale(1.05);
}
.retun-policy .return-requirements .exceptions-box .exceptions-grid .exception-item i {
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
}
.retun-policy .return-requirements .exceptions-box .exceptions-grid .exception-item span {
  font-weight: 500;
}
.retun-policy .return-steps {
  margin-bottom: 70px;
  text-align: center;
}
.retun-policy .return-steps h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.retun-policy .return-steps .steps-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.retun-policy .return-steps .steps-timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 80%) 100%);
}
@media (max-width: 991px) {
  .retun-policy .return-steps .steps-timeline {
    flex-direction: column;
    gap: 30px;
  }
  .retun-policy .return-steps .steps-timeline::before {
    display: none;
  }
}
.retun-policy .return-steps .step-item {
  flex: 1;
  position: relative;
  padding: 0 15px;
}
.retun-policy .return-steps .step-item .step-number {
  width: 50px;
  height: 50px;
  background-color: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
}
.retun-policy .return-steps .step-item .step-content h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.retun-policy .return-steps .step-item .step-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin: 0;
}
.retun-policy .return-steps .step-item.active .step-number {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.retun-policy .return-faqs {
  margin-bottom: 70px;
}
.retun-policy .return-faqs .faq-header h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.retun-policy .return-faqs .faq-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
}
.retun-policy .return-faqs .faq-header .contact-support {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.retun-policy .return-faqs .faq-header .contact-support:hover {
  transform: translateX(5px);
}
.retun-policy .return-faqs .faq-header .contact-support i {
  font-size: 1.5rem;
}
.retun-policy .return-faqs .faq-list .faq-item {
  background-color: var(--surface-color);
  border-radius: 15px;
  margin-bottom: 15px;
}
.retun-policy .return-faqs .faq-list .faq-item h3 {
  margin: 0;
  padding: 20px 25px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--heading-color);
}
.retun-policy .return-faqs .faq-list .faq-item h3 i {
  color: var(--accent-color);
  transition: transform 0.3s;
  font-size: 1.2rem;
}
.retun-policy .return-faqs .faq-list .faq-item .faq-answer {
  display: none;
  padding: 0 25px 20px;
}
.retun-policy .return-faqs .faq-list .faq-item .faq-answer p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.retun-policy .return-faqs .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
}
.retun-policy .return-faqs .faq-list .faq-item.faq-active h3 i {
  transform: rotate(45deg);
}
.retun-policy .return-faqs .faq-list .faq-item.faq-active .faq-answer {
  display: block;
}
.retun-policy .return-cta {
  text-align: center;
  background-color: var(--surface-color);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.retun-policy .return-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 80%) 100%);
}
.retun-policy .return-cta h4 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.retun-policy .return-cta p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
}
.retun-policy .return-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.retun-policy .return-cta .cta-buttons a {
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.retun-policy .return-cta .cta-buttons .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.retun-policy .return-cta .cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.retun-policy .return-cta .cta-buttons .btn-secondary {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.retun-policy .return-cta .cta-buttons .btn-secondary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  transform: translateY(-3px);
}
@media (max-width: 576px) {
  .retun-policy .return-cta {
    padding: 40px 20px;
  }
  .retun-policy .return-cta .cta-buttons {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .retun-policy .return-hero .hero-content h2 {
    font-size: 2.5rem;
  }
  .retun-policy .return-hero .return-period-box .box-content {
    padding: 15px 30px;
  }
  .retun-policy .return-hero .return-period-box .box-content .days {
    font-size: 2.5rem;
  }
  .retun-policy .return-hero .return-period-box .box-content .text {
    font-size: 1.2rem;
  }
}
/*--------------------------------------------------------------
# Paymnt Methods Section
--------------------------------------------------------------*/
.paymnt-methods {
  padding-top: 60px;
  padding-bottom: 60px;
}
.paymnt-methods .payment-header {
  margin-bottom: 60px;
}
.paymnt-methods .payment-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}
.paymnt-methods .payment-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 80%) 100%);
}
.paymnt-methods .payment-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
}
.paymnt-methods .payment-options {
  margin-bottom: 70px;
}
.paymnt-methods .payment-options .payment-card {
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s;
}
.paymnt-methods .payment-options .payment-card:hover {
  transform: translateY(-10px);
}
.paymnt-methods .payment-options .payment-card:hover .icon-box {
  transform: scale(1.1);
  background-color: var(--accent-color);
}
.paymnt-methods .payment-options .payment-card:hover .icon-box i {
  color: var(--contrast-color);
}
.paymnt-methods .payment-options .payment-card .card-content {
  padding: 40px 30px;
  text-align: center;
}
.paymnt-methods .payment-options .payment-card .icon-box {
  width: 80px;
  height: 80px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s;
}
.paymnt-methods .payment-options .payment-card .icon-box i {
  font-size: 2rem;
  color: var(--accent-color);
  transition: color 0.3s;
}
.paymnt-methods .payment-options .payment-card h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.paymnt-methods .payment-options .payment-card p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 25px;
}
.paymnt-methods .payment-options .payment-card .accepted-cards {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.paymnt-methods .payment-options .payment-card .accepted-cards .card-icon {
  padding: 8px 15px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}
.paymnt-methods .security-features {
  margin-bottom: 70px;
}
.paymnt-methods .security-features .security-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.paymnt-methods .security-features .security-content .subtitle {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.paymnt-methods .security-features .security-content .security-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.paymnt-methods .security-features .security-content .security-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.paymnt-methods .security-features .security-content .security-list li:last-child {
  margin-bottom: 0;
}
.paymnt-methods .security-features .security-content .security-list li i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.paymnt-methods .security-features .security-content .security-list li .feature-text h5 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.paymnt-methods .security-features .security-content .security-list li .feature-text p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 0.95rem;
}
.paymnt-methods .security-features .process-steps {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
}
@media (max-width: 991px) {
  .paymnt-methods .security-features .process-steps {
    margin-top: 40px;
  }
}
.paymnt-methods .security-features .process-steps h4 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.paymnt-methods .security-features .process-steps .steps-list {
  display: grid;
  gap: 25px;
}
.paymnt-methods .security-features .process-steps .steps-list .step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.paymnt-methods .security-features .process-steps .steps-list .step .step-number {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.paymnt-methods .security-features .process-steps .steps-list .step .step-content h5 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.paymnt-methods .security-features .process-steps .steps-list .step .step-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 0.95rem;
}
.paymnt-methods .payment-faqs {
  margin-bottom: 70px;
}
.paymnt-methods .payment-faqs h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
.paymnt-methods .payment-faqs .faq-grid {
  max-width: 800px;
  margin: 0 auto;
}
.paymnt-methods .payment-faqs .faq-grid .faq-item {
  background-color: var(--surface-color);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}
.paymnt-methods .payment-faqs .faq-grid .faq-item h3 {
  margin: 0;
  padding: 20px 25px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.paymnt-methods .payment-faqs .faq-grid .faq-item h3 i {
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--accent-color);
}
.paymnt-methods .payment-faqs .faq-grid .faq-item .faq-answer {
  display: none;
  padding: 0 25px 20px;
}
.paymnt-methods .payment-faqs .faq-grid .faq-item .faq-answer p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.paymnt-methods .payment-faqs .faq-grid .faq-item.faq-active h3 {
  color: var(--accent-color);
}
.paymnt-methods .payment-faqs .faq-grid .faq-item.faq-active h3 i {
  transform: rotate(180deg);
}
.paymnt-methods .payment-faqs .faq-grid .faq-item.faq-active .faq-answer {
  display: block;
}
.paymnt-methods .payment-support .support-content {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.paymnt-methods .payment-support .support-content i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.paymnt-methods .payment-support .support-content h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.paymnt-methods .payment-support .support-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 25px;
}
.paymnt-methods .payment-support .support-content .support-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 576px) {
  .paymnt-methods .payment-support .support-content .support-actions {
    flex-direction: column;
  }
}
.paymnt-methods .payment-support .support-content .support-actions .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.paymnt-methods .payment-support .support-content .support-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.paymnt-methods .payment-support .support-content .support-actions .btn-primary i {
  font-size: 1.2rem;
  margin: 0;
}
.paymnt-methods .payment-support .support-content .support-actions .divider {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
@media (max-width: 576px) {
  .paymnt-methods .payment-support .support-content .support-actions .divider {
    display: none;
  }
}
.paymnt-methods .payment-support .support-content .support-actions .contact-email {
  color: var(--heading-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.paymnt-methods .payment-support .support-content .support-actions .contact-email:hover {
  color: var(--accent-color);
}
.paymnt-methods .payment-support .support-content .support-actions .contact-email i {
  font-size: 1.2rem;
  margin: 0;
}
/*--------------------------------------------------------------
# Shipping Info Section
--------------------------------------------------------------*/
.shipping-info .content-block {
  padding: 60px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}
.shipping-info .content-block:first-child {
  padding-top: 0;
}
.shipping-info .content-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.shipping-info .content-block .section-heading {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shipping-info .content-block .section-heading i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.shipping-info .content-block .section-heading h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.shipping-info .content-block .section-heading p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.shipping-info .delivery-card {
  background-color: var(--surface-color);
  border-radius: 8px;
  padding: 25px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.03);
}
.shipping-info .delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}
.shipping-info .delivery-card .card-icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.shipping-info .delivery-card .card-icon i {
  font-size: 1.75rem;
  color: var(--accent-color);
}
.shipping-info .delivery-card h4 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}
.shipping-info .delivery-card p {
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.shipping-info .delivery-card .delivery-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
}
.shipping-info .delivery-card .delivery-time i {
  font-size: 1.1rem;
}
.shipping-info .shipping-rates {
  display: grid;
  gap: 20px;
}
.shipping-info .shipping-rates .rate-item {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.03);
}
.shipping-info .shipping-rates .rate-item:hover {
  transform: translateY(-5px);
}
.shipping-info .shipping-rates .rate-item.highlight {
  border: 2px solid var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}
.shipping-info .shipping-rates .rate-item .rate-type {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}
.shipping-info .shipping-rates .rate-item .rate-cost {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.shipping-info .shipping-rates .rate-item .rate-info {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}
.shipping-info .international-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.shipping-info .international-info .info-item {
  text-align: center;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 8px;
  transition: transform 0.3s;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.03);
}
.shipping-info .international-info .info-item:hover {
  transform: translateY(-5px);
}
.shipping-info .international-info .info-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.shipping-info .international-info .info-item h5 {
  margin-bottom: 10px;
}
.shipping-info .international-info .info-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin: 0;
}
.shipping-info .faq-list .faq-item {
  background-color: var(--surface-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.03);
}
.shipping-info .faq-list .faq-item h3 {
  margin: 0;
  padding: 20px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--heading-color);
  transition: color 0.3s;
}
.shipping-info .faq-list .faq-item h3 i {
  font-size: 1.2rem;
  color: var(--accent-color);
}
.shipping-info .faq-list .faq-item h3 i.faq-toggle {
  margin-left: auto;
  transition: transform 0.3s;
}
.shipping-info .faq-list .faq-item .faq-answer {
  display: none;
  padding: 0 20px 20px;
}
.shipping-info .faq-list .faq-item .faq-answer p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}
.shipping-info .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
}
.shipping-info .faq-list .faq-item.faq-active h3 .faq-toggle {
  transform: rotate(180deg);
}
.shipping-info .faq-list .faq-item.faq-active .faq-answer {
  display: block;
}
@media (max-width: 767px) {
  .shipping-info .delivery-card {
    padding: 20px;
  }
  .shipping-info .delivery-card .card-icon {
    width: 50px;
    height: 50px;
  }
  .shipping-info .delivery-card .card-icon i {
    font-size: 1.5rem;
  }
  .shipping-info .international-info {
    grid-template-columns: 1fr;
  }
}
/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.error-404 .error-content {
  padding: 2rem;
}
.error-404 .error-badge {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
}
.error-404 .error-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.2;
}
.error-404 .error-text {
  font-size: 1.1rem;
  color: var(--heading-color);
  max-width: 500px;
  margin-bottom: 2rem;
}
.error-404 .error-actions .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.error-404 .error-actions .btn.btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}
.error-404 .error-actions .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.error-404 .error-actions .btn.btn-solid {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}
.error-404 .error-actions .btn.btn-solid:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}
.error-404 .error-illustration {
  padding: 2rem;
  position: relative;
}
.error-404 .error-illustration .illustration-container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404 .error-illustration .planet {
  position: absolute;
  font-size: 8rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
  animation: float 6s infinite ease-in-out;
  z-index: 1;
}
.error-404 .error-illustration .astronaut {
  position: absolute;
  font-size: 4rem;
  color: var(--heading-color);
  animation: float 4s infinite ease-in-out;
  animation-delay: 1s;
  z-index: 2;
  transform: translateX(50px);
}
.error-404 .error-illustration .stars {
  position: absolute;
  width: 100%;
  height: 100%;
}
.error-404 .error-illustration .stars i {
  position: absolute;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  animation: twinkle infinite ease-in-out;
}
.error-404 .error-illustration .stars i.star-1 {
  top: 20%;
  left: 20%;
  font-size: 1rem;
  animation-duration: 3s;
}
.error-404 .error-illustration .stars i.star-2 {
  top: 30%;
  right: 25%;
  font-size: 0.8rem;
  animation-duration: 4s;
}
.error-404 .error-illustration .stars i.star-3 {
  bottom: 40%;
  left: 30%;
  font-size: 1.2rem;
  animation-duration: 5s;
}
.error-404 .error-illustration .stars i.star-4 {
  top: 50%;
  right: 40%;
  font-size: 0.9rem;
  animation-duration: 3.5s;
}
.error-404 .error-illustration .stars i.star-5 {
  bottom: 30%;
  right: 30%;
  font-size: 1.1rem;
  animation-duration: 4.5s;
}
.error-404 .support-text p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0.5rem;
}
.error-404 .support-text .support-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.error-404 .support-text .support-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}
@media (max-width: 991.98px) {
  .error-404 .error-content {
    text-align: center !important;
    padding-bottom: 0;
  }
  .error-404 .error-text {
    margin: 0 auto 2rem;
  }
  .error-404 .error-illustration {
    padding-top: 3rem;
  }
  .error-404 .error-illustration .illustration-container {
    height: 300px;
  }
  .error-404 .error-illustration .planet {
    font-size: 6rem;
  }
  .error-404 .error-illustration .astronaut {
    font-size: 3rem;
  }
}
@media (max-width: 575.98px) {
  .error-404 .error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .error-404 .error-actions .btn {
    width: 100%;
  }
  .error-404 .error-actions .ms-3 {
    margin-left: 0 !important;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
/*-------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}
.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}
.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}
.widget-item:last-child {
  margin-bottom: 0;
}
.product-categories-widget .category-tree {
  margin-top: 1rem;
}
.product-categories-widget .category-tree .category-item {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 0;
}
.product-categories-widget .category-tree .category-item:last-child {
  border-bottom: none;
}
.product-categories-widget .category-tree .category-item .category-header {
  cursor: pointer;
  transition: all 0.3s;
}
.product-categories-widget .category-tree .category-item .category-header:hover .category-link {
  color: var(--accent-color);
}
.product-categories-widget .category-tree .category-item .category-header:hover .category-toggle {
  color: var(--accent-color);
}
.product-categories-widget .category-tree .category-item .category-link {
  color: var(--default-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}
.product-categories-widget .category-tree .category-item .category-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color);
  transition: color 0.3s;
}
.product-categories-widget .category-tree .category-item .category-toggle .bi-chevron-up {
  display: none;
}
.product-categories-widget .category-tree .category-item .category-header:not(.collapsed) .category-toggle .bi-chevron-down {
  display: none;
}
.product-categories-widget .category-tree .category-item .category-header:not(.collapsed) .category-toggle .bi-chevron-up {
  display: inline;
}
.product-categories-widget .category-tree .category-item .subcategory-list li {
  padding: 0.5rem 0;
}
.product-categories-widget .category-tree .category-item .subcategory-list li:first-child {
  padding-top: 0.75rem;
}
.product-categories-widget .category-tree .category-item .subcategory-list li:last-child {
  padding-bottom: 0;
}
.product-categories-widget .category-tree .category-item .subcategory-list .subcategory-link {
  color: var(--heading-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.product-categories-widget .category-tree .category-item .subcategory-list .subcategory-link:hover {
  color: var(--accent-color);
}
@media (max-width: 767.98px) {
  .product-categories-widget .category-tree .category-item {
    padding: 0.625rem 0;
  }
  .product-categories-widget .category-tree .category-item .subcategory-list li {
    padding: 0.4rem 0;
  }
}
.pricing-range-widget .price-range-container .current-range {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--heading-color);
}
.pricing-range-widget .price-range-container .range-slider {
  position: relative;
  height: 1.5rem;
  margin: 1.5rem 0;
}
.pricing-range-widget .price-range-container .range-slider .slider-track {
  position: absolute;
  width: 100%;
  height: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 0.25rem;
}
.pricing-range-widget .price-range-container .range-slider .slider-progress {
  position: absolute;
  height: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent-color);
  border-radius: 0.25rem;
}
.pricing-range-widget .price-range-container .range-slider input[type=range] {
  position: absolute;
  width: 100%;
  height: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.pricing-range-widget .price-range-container .range-slider input[type=range]::-webkit-slider-thumb {
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 50%;
  background-color: var(--accent-color);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}
.pricing-range-widget .price-range-container .range-slider input[type=range]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.pricing-range-widget .price-range-container .range-slider input[type=range]::-moz-range-thumb {
  height: 1.25rem;
  width: 1.25rem;
  border: none;
  border-radius: 50%;
  background-color: var(--accent-color);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}
.pricing-range-widget .price-range-container .range-slider input[type=range]::-moz-range-thumb:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.pricing-range-widget .price-range-container .range-slider input[type=range]:focus {
  outline: none;
}
.pricing-range-widget .price-range-container .range-slider input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 75%);
}
.pricing-range-widget .price-range-container .range-slider input[type=range]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 75%);
}
.pricing-range-widget .price-range-container .range-slider .min-range {
  z-index: 1;
}
.pricing-range-widget .price-range-container .range-slider .max-range {
  z-index: 2;
}
.pricing-range-widget .price-range-container .price-inputs .input-group-text {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--heading-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.pricing-range-widget .price-range-container .price-inputs .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.pricing-range-widget .price-range-container .price-inputs .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.pricing-range-widget .price-range-container .price-inputs .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.pricing-range-widget .price-range-container .filter-actions .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 10px 20px;
}
.pricing-range-widget .price-range-container .filter-actions .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
}
.pricing-range-widget .price-range-container .filter-actions .btn-primary:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 75%);
}
.brand-filter-widget .brand-filter-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.brand-filter-widget .brand-search {
  position: relative;
  margin-bottom: 5px;
}
.brand-filter-widget .brand-search input {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 10px 35px 10px 15px;
}
.brand-filter-widget .brand-search input:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.brand-filter-widget .brand-search input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.brand-filter-widget .brand-search .bi-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}
.brand-filter-widget .brand-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 5px;
}
.brand-filter-widget .brand-list::-webkit-scrollbar {
  width: 5px;
}
.brand-filter-widget .brand-list::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 10px;
}
.brand-filter-widget .brand-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 10px;
}
.brand-filter-widget .brand-list::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--default-color), transparent 60%);
}
.brand-filter-widget .brand-item {
  margin-bottom: 10px;
}
.brand-filter-widget .brand-item:last-child {
  margin-bottom: 0;
}
.brand-filter-widget .brand-item .form-check {
  display: flex;
  align-items: center;
  margin: 0;
}
.brand-filter-widget .brand-item .form-check-input {
  margin-top: 0;
  margin-right: 10px;
  cursor: pointer;
}
.brand-filter-widget .brand-item .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: none;
}
.brand-filter-widget .brand-item .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}
.brand-filter-widget .brand-item .form-check-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  color: var(--default-color);
}
.brand-filter-widget .brand-item .brand-count {
  font-size: 12px;
  color: var(--heading-color);
  margin-left: auto;
}
.brand-filter-widget .brand-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.brand-filter-widget .brand-actions .btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.brand-filter-widget .brand-actions .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.brand-filter-widget .brand-actions .btn-link {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.brand-filter-widget .brand-actions .btn-link:hover {
  color: var(--default-color);
  text-decoration: underline;
}
@media (max-width: 767.98px) {
  .brand-filter-widget .brand-list {
    max-height: 200px;
  }
}
.color-filter-widget .color-filter-content .color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.color-filter-widget .color-filter-content .color-options .color-option {
  margin: 0;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input:checked~.form-check-label .color-swatch {
  transform: scale(1.15);
  border: 2px solid var(--accent-color);
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input:checked~.form-check-label .color-swatch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input:checked~.form-check-label .color-swatch[style*="background-color: #ffffff"]::after {
  background-color: var(--accent-color);
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input:checked~.form-check-label .color-swatch[style*="background-color: #f1c40f"]::after,
.color-filter-widget .color-filter-content .color-options .color-option .form-check-input:checked~.form-check-label .color-swatch[style*="background-color: #2ecc71"]::after {
  background-color: rgba(0, 0, 0, 0.5);
}
.color-filter-widget .color-filter-content .color-options .color-option .form-check-label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.color-filter-widget .color-filter-content .color-options .color-option .color-swatch {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.2s ease;
}
.color-filter-widget .color-filter-content .color-options .color-option .color-swatch:hover {
  transform: scale(1.1);
  border-color: var(--accent-color);
}
.color-filter-widget .color-filter-content .color-options .color-option .color-swatch[style*="background-color: #ffffff"] {
  border: 1px solid #e0e0e0;
}
.color-filter-widget .color-filter-content .filter-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.color-filter-widget .color-filter-content .filter-actions .btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.color-filter-widget .color-filter-content .filter-actions .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.color-filter-widget .color-filter-content .filter-actions .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
}
.color-filter-widget .color-filter-content .filter-actions .btn.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 70%);
}
.color-filter-widget .color-filter-content .filter-actions .btn.btn-outline-secondary {
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.color-filter-widget .color-filter-content .filter-actions .btn.btn-outline-secondary:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
}
@media (max-width: 575.98px) {
  .color-filter-widget .color-filter-content .color-options {
    justify-content: center;
  }
}
.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}
.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}
.search-widget form input[type=text]:focus {
  outline: none;
}
.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}
.search-widget form button i {
  line-height: 0;
}
.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}
.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.categories-widget ul li {
  padding-bottom: 10px;
}
.categories-widget ul li:last-child {
  padding-bottom: 0;
}
.categories-widget ul a {
  color: var(--heading-color);
  transition: 0.3s;
}
.categories-widget ul a:hover {
  color: var(--accent-color);
}
.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}
.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}
.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}
.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}
.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}
.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}
.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}
.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tags-widget ul li {
  display: inline-block;
}
.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}
.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-right: calc(-1 * var(--bs-border-width));
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(-1 * var(--bs-border-width));
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-right: 4.255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.category-cards .category-card {
  border-radius: 0.5rem;
}
.add-to-wishlist[data-added="True"] i {
  color: var(--card-heart-color) !important; 
}
.header .header-nav {
    place-self: center;
}
.product-list .product-badge.sale {
    background: var(--badge-discount-color) !important;
    color: white;
}
.product-list .product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.10rem 0.65rem;
    border-radius: 3px;
    font-size: 0.795rem;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 1;
}
@media (min-width:768px) and (max-width:1024px) {
  .product-list .product-title{
    font-size: 14px;
  }
  .product-list .product-rating{
    font-size: 11px;
  }
  .product-list .product-rating span{
    font-size: 0.875rem;
    margin-left: 0px !important;
  }
}
@media (max-width:768px) {
  .product-list .product-title{
    font-size: 14px !important;
    font-weight: 400 !important; 
}
}
.header .main-header .header-actions {
  gap: 4px;
}
.product-list-2 .product-image {
  /* position: relative; */
  overflow: hidden;
  width: 100%;
}
.product-list-2 .product-image .discount-badge {
  background-color: var(--badge-discount-color);
  color: white;
}
/*--------------------------------------------------------------
# Login Section2
--------------------------------------------------------------*/
.login .login-register-wraper {
  padding: 1rem;
}
.login .nav-tabs {
  border: none;
  margin-bottom: 2rem;
  gap: 0.75rem;
}
.login .nav-tabs .nav-item .nav-link {
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--heading-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.login .nav-tabs .nav-item .nav-link:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}
.login .nav-tabs .nav-item .nav-link.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.login .nav-tabs .nav-item .nav-link i {
  font-size: 1.1rem;
  margin-left: 0.5rem;
}
.login .form-label {
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--heading-color);
}
.login .form-control {
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 3.25rem;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.login .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  background-color: var(--surface-color);
}
.login .form-control:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  background-color: var(--surface-color);
}
.login .form-check {
  margin-bottom: 1rem;
}
.login .form-check .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 6px;
  margin-right: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.login .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.login .form-check .form-check-input:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
}
.login .form-check .form-check-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  cursor: pointer;
}
.login .form-check .form-check-label a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.login .form-check .form-check-label a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.login .form-check .form-check-label a:hover:after {
  transform: scaleX(1);
}
.login .btn-primary {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 25%));
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.login .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}
.login .btn-primary:active {
  transform: translateY(0);
}
.login .forgot-password {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}
.login .forgot-password:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.login .forgot-password:hover {
  color: var(--accent-color);
  text-decoration: none;
}
.login .forgot-password:hover:after {
  transform: scaleX(1);
}
@media (max-width: 576px) {
  .login {
    padding: 2rem;
    border-radius: 16px;
  }
  .login .nav-tabs {
    gap: 0.5rem;
  }
  .login .nav-tabs .nav-item .nav-link {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
  .login .form-control {
    font-size: 16px;
  }
}
-----
.lead {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 1.5rem !important;
}
.btn-confirm-order{
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
    border: none;
    color: var(--contrast-color);
}
.btn-save-address{
    width:125px;
    padding: 0.4625rem 1.0625rem;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
    border: none;
    color: var(--contrast-color);
}
.btn-save-address:hover{
  transform: translateY(-2px);
}
.btn-save-chnages{
    padding: 0.4625rem 1.0625rem;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
    border: none;
    color:
    var(--contrast-color);
}
.btn-save-chnages:hover{
  transform: translateY(-2px);
}
.addTocart{
  width: 100%;
  padding: 0.6rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 4px;
  font-size: 0.870rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.addTocart:hover{
  color: var(--contrast-color);
}
.price-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.old-price.price-with-icon{
  gap: 4px;
}
.old-price .sar-icon {
    width: 12px;
    height: 12px;
}
.box-one .old-price span,
.box-one .old-price{
  margin:0px -13px 0px 12px;
}
.old-price span,
.old-price {
    color: #888;  
}
.current-price {
    font-weight: 400 !important;
    font-size: 1.125rem;
    color: var(--product-color) !important;
}
.current-price .sar-icon {
    width: 16px;
    height: 16px;
}
.btn-wishlist {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important; 
  width: auto !important;
  height: auto !important;
}
.btn-wishlist i{
  color: #7e7e7e !important;
  font-size: 1.3rem !important;
  transition: all 0.3s ease-in-out;
  margin:auto 0px !important;
  display: block;
  /* position: absolute;
  top:60%;
  left:50%;
  transform: translate(-50%, -50%); */
  /* height:25px; */
}
.btn-wishlist i[class*="-fill"] {
  color: var(--card-heart-color) !important;
}
.btn-wishlist:hover i{
  color: var(--card-heart-color) !important;
}
.product-list .product-actions {
  position: absolute;
  left: 1rem;
  top: 34%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-interface.login #header {
  min-height: auto;
  padding: 10px 30px;
  line-height: 30px;
  align-items: center;
  justify-content: center;
}
.product-card{
  background-color: transparent !important;
}
.product-rating .rating-count {
  font-size: 0.875rem;
  color: #666;
  margin-left: 0.25rem;
}
.filter-buttons {
  display: flex;
  gap: 1rem;
}
.btnFillter {
  flex: 1;
  padding: 0.6rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.btnFillter:hover {
  color: var(--contrast-color);
}
.review-edit-section{
  padding:0px;
}
@media(max-width:767px){
  .review-edit-section{
    min-height:unset;
    padding:0px
  }
}
.review-card {
  max-width: 900px;
  background-color: transparent;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.account .reviews-grid > .review-card,
.account .reviews-grid > [id^="review-container-"] .review-card {
  max-width: 100% !important;
}
.review-edit-section .review-card {
  border: none;
}
.review-edit-section .review-edit-heading {
  text-align: start;
  width: 100%;
  margin-bottom: 12px !important;
}
.review-edit-section .review-card .section-title {
  display: block;
  width: 100%;
  text-align: start;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  padding-inline-start: 0;
  box-sizing: border-box;
  font-size: 1.1875rem !important;
  font-weight: 400 !important;
  line-height: 1.35;
  color: var(--text-color) !important;
}
.review-edit-section .review-edit-stars {
  margin-bottom: 12px !important;
}
.review-edit-section .form-label {
  text-align: start;
  padding-inline-start: 0;
  padding-right: 0;
}
  /* Mobile: متبقي X / Y حرف always on the right under the textarea */
  @media (max-width: 767.98px) {
    .review-edit-section #review-form .text-start.text-muted.small,
    .account .reviews-grid .review-edit-section #review-form .text-start.text-muted.small {
      display: block !important;
      width: 100% !important;
      text-align: right !important;
    }
  }
.review-edit-section .edit-form textarea.form-control,
.review-edit-section #review-form textarea.form-control,
.account .reviews-grid [id^="review-container-"] .edit-form textarea.form-control,
.account .reviews-grid [id^="review-container-"] #review-form textarea.form-control,
.account .reviews-grid [id^="review-container-"] #id_content {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}
.account .reviews-grid > [id^="review-container-"] .review-edit-section {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  box-sizing: border-box;
}
.account .reviews-grid > [id^="review-container-"] .review-edit-section .review-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-inline: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}
.account .reviews-grid > [id^="review-container-"] .review-edit-section > .container {
  display: none !important;
}
.review-edit-section .action-buttons {
  justify-content: flex-end !important;
  width: 100%;
  margin-inline: 0;
}
.review-edit-section .star-rating-row {
  padding-inline-start: 0 !important;
}
.tit{
  margin: 30px auto -20px;
}
.review-card .section-title{
  justify-content: unset !important;
  margin-bottom: 8px !important;
  font-size:1.2rem;
  font-weight:400;
}
@media (max-width:991.98px) {
  .review-edit-section .review-card .section-title,
  .account .reviews-grid [id^="review-container-"] .review-edit-section .section-title {
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
  }
  .account .content-area:has(.review-edit-section) {
    margin-top: 0.5rem !important;
  }
  .account .reviews-grid > [id^="review-container-"] .review-edit-section .review-card {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
  }
  .account .reviews-grid [id^="review-container-"]:has(.review-edit-section) .review-edit-heading {
    margin-bottom: 12px !important;
  }
}
@media (max-width:767.98px) {
  .account .reviews-grid > [id^="review-container-"] .review-edit-section .review-card {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
  }
  .review-edit-section .review-card .section-title,
  .account .reviews-grid [id^="review-container-"] .review-edit-section .section-title {
    font-size: 16px !important;
  }
}
@media (max-width:575px) {
  .tit{
  margin: 10px 0px -16px 0px !important;

  }
  .review-card .section-title{
    font-size:1rem;
  }
  .review-edit-section .review-card .section-title,
  .account .reviews-grid [id^="review-container-"] .review-edit-section .section-title {
    font-size: 16px !important;
    font-weight: 400 !important;
    padding-inline-start: 0;
  }
  .review-edit-section .edit-form textarea.form-control,
  .review-edit-section #review-form textarea.form-control {
    width: 100% !important;
  }
}
.form-fields p {
  margin-bottom: 1.5rem;
}
.form-fields label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}
.form-fields input,
.form-fields textarea,
.form-fields select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-fields input:focus,
.form-fields textarea:focus,
.form-fields select:focus {
  border-color: #86b7fe;
  outline: none;
}
.form-fields textarea {
  min-height: 120px;
  resize: vertical;
}
.action-buttons .btn {
  font-size: 15px;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}
@media(max-width:767px){
  .action-buttons .btn{
   width: 200px;
   font-size:0.8125rem !important;
  }
  
   .action-buttons .success-pay{
    
    justify-content: center !important;
   }
}
.cancel-btn {
  background-color: #adb5bd;
  color: #fff;
  border: none;
}
.cancel-btn:hover {
  background-color: #868e96;
}
.save-btn {
  background-color: #198754;
  color: #fff;
  border: none;
}
.save-btn:hover {
  background-color: #157347;
}
.alert {
  font-size: 15px;
}
.product-fixed-icons button i {
  font-size: 18px;
  color: var(--accent-color);
}
.product-list-4 .product-image {
  position: relative;
  overflow: hidden;
  padding-top: 85%;
}
@media (max-width: 767px) {
.header .main-header .logo img {
  max-height: 35px;
  width: 95px;
  margin-right:0px !important
}
.isotope-layout .col-12,.isotope-layout {
  padding:0px !important

}
.footer-payment-col {
    padding-left: 0;
    padding-right: 0;
}
.register .registration-form-wrapper .section-header h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.register .registration-form-wrapper .section-header p {
  font-size: 0.8125rem;
}
.register .registration-form-wrapper label {
  font-size: 0.8125rem !important;
}
.register .registration-form-wrapper .btn-primary {
  font-size: 14.5px;
  margin: 5px 0px;
}
.footer .footer-main .footer-widget h4 {
    font-size: 1.0625rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 2px !important;
}
.footer .footer-main .footer-contact .contact-item {
    margin-bottom: 7px;
    font-size: 0.875rem;
}
.footer .footer-main .footer-widget {
    margin-bottom: 2px;
}
.footer .footer-main .footer-contact .contact-item i {
    font-size: 15px;
}
.footer .footer-main .footer-links li {
    margin-bottom: 12px;
}
.footer .footer-main .footer-links a {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}
.product-list .product-image {
    padding-top: 80%;
}
.header .announcement-bar .announcement-slider .swiper-slide {
    font-size: 13px;
}
.view-all-btn {
    padding: 9px 20px;
    font-size: 13px !important;
}
.product-list .product-rating span {
    font-size: 13px
}
.product-list .product-category {
    font-size: 0.8125rem;
    margin-bottom: 0px !important;
}
}
@media(max-width:400px){
  .product-header{
    gap:0px !important
  }
}
.sar-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.old-price .price-value{
  text-decoration: line-through !important;
}
.old-price #old-riyal{
  margin-right: -3px;
  font-size:1.3125rem !important;
  font-weight: 500 !important;
}
@media (max-width:575px) {
.old-price #old-riyal{
  font-size: 24px;
}
.current-price .icon-saudi_riyal{
  font-size:24px !important;
}
.cart .cart-items .cart-item .item-total span.icon-saudi_riyal{
  font-size: 25px !important;
}
}
.current-price .icon-saudi_riyal{
  font-size:25px !important;
  font-weight:400 !important;
}
.small-gap {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1.25rem;
}
.empty-cart {
  font-size: 60px;
  color: #55555569;
  margin-bottom: 25px;
}
/* Match newsletter: اشترك في نشرتنا البريدية / تعرّف على أحدث العروض... */
.empty-cart-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--newsletter-text-color) !important;
  line-height: 1.4;
}
.empty-cart-text {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: #555 !important;
  margin-bottom: 1.6rem;
}
@media (max-width: 576px) {
.small-gap {
  --bs-gutter-x: 0.25rem;
  --bs-gutter-y: 0.5rem;
}
.col-6 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.sar-icon {
  width: 13px;
  height: 13px;
}
.old-price{
  font-size: 14px !important;
}
.product-list .product-image img {
  width: 100%;
  height:100% !important;
  object-fit: cover !important; 
}
}
.header .main-header .cart-dropdown .cart-dropdown-menu {
  min-width: 280px;
  margin-right: -311px;
}
.product-info {
    text-align: center;
  }
.product-price {
    justify-content: center;
}
.stars {
    justify-content: center;
    flex-wrap: nowrap;
  }
.product-list-2 .product-info .product-rating {
  display: block;
  }
@media (max-width: 767px) {
.product-list-2 .product-info .product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px !important;
}
.product-list .btn-add-to-cart{
  font-size: 13px !important;
  font-weight: 400;
  margin-bottom: 6px;
  height:32px;
}
.header .main-header .cart-dropdown .cart-dropdown-menu {
  min-width: 280px;
  margin-right: -311px;
}
.product-price {
    justify-content: center;
  }
.product-rating {
    text-align: center;
    align-items: center;
  }
  .stars {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .product-list-2 .product-info .product-rating {
  display: block;
  }
}
.payment-methods {
  flex-wrap: wrap;
  gap: 10px;
}
@media(max-width:767px){
  .payment-methods{
    gap:4px
  }
  .cart-summary .payment-medthos-cart,
  .secure-checkout .payment-medthos-cart {
    gap: 4px;
  }
}
.payment-icon-wrapper {
  background-color: transparent;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.payment-icon {
  max-height: 30px;
  max-width: 45px;
  object-fit: contain;
}
@media (min-width: 992px) {
  .payment-methods {
  flex-wrap: wrap;
  gap: 10px;
}
.payment-icon-wrapper {
  background-color: transparent;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;

}
.payment-icon {
  max-height: 55px;
  max-width: 55px;
  width:55px;
  height:55px;
  object-fit: contain;
}
.cart-summary .payment-icon ,.order-summary-content .payment-icon{
  max-height: 38px;
  max-width: 38px;
  width:38px;
  height:38px;
}
}
@media (min-width:767px) and (max-width:991px) {
  .payment-icon{
    max-height: 45px;
    max-width: 45px;
    width:38px;
    height:38px;
  }

}
  .login-register-wraper {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    text-align: center;
  }
  .login-register-wraper h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c2c2c;
  }
.login-register-wraper p.subtext {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
}
.login-register-wraper .form-label {
  display: none;
}
.login-register-wraper input.form-control {
  height: 50px;
  font-size: 18px;
  text-align: center;
}
.login-register-wraper .btn {
  background: linear-gradient(to right, #800040, #99004d);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
}
.nav-tabs {
  display: none;
}
.header .main-header .header-actions .header-action-btn .bi {
  font-size: 21px;
}
@media(max-width:767px){
  .header .main-header .header-actions .header-action-btn.mobile-search-toggle{
    position:absolute;
    right:60px
  }
  .logo-phone{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  }
}
.footer .footer-bottom {
  position: relative;
  padding: 18px 0 16px;
}
.login-switch-links a {
  font-size: 0.875rem;
  font-weight: 400;
  display: inline-block;
  width:100%;
}
@media (max-width: 576px) {
  .payment-icon {
    max-height: 40px;
    max-width: 43px;
    height: 40px;
    width: 43px;
  }
  .cart-summary .payment-icon,
  .order-summary-content .payment-icon,
  .secure-checkout .payment-icon {
    max-height: 40px;
    max-width: 43px;
    height: 40px;
    width: 43px;
  }
.payment-icon-wrapper {
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.empty-cart {
  font-size: 50px;
  color: #55555569;
  margin-bottom: 25px;
}
.empty-cart-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--newsletter-text-color) !important;
}
.empty-cart-text {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: #555 !important;
}
.cart .btn-accent {
    font-size: 14px;
}
.login-switch-links a {
  font-size: 0.8125rem;
}
.product-list-2 .product-info .product-rating {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 5px;
  justify-content: center;
}
.product-list-2 .product-info .product-rating .stars {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
}
.product-list-2 .product-info .product-rating .rating-count {
  white-space: nowrap;
  font-size: 14px;
  color: var(--product-color)
}
.product-details .product-info-wrapper .product-meta .product-title {
  font-size: 17px !important;
  margin: 0px;
}
.product-details .product-info-wrapper .product-actions .btn i {
    font-size: 22px;
}
section, .section {
    padding: 15px 0 !important;
}
.product-details  .review-form-container .btn-primary {
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-title {
    font-size: 0.8125rem;
    font-weight: 400;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-content p {
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.8rem;
  color: var(--heading-color);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-details .product-details-accordion .product-reviews .reviews-list .review-item .review-header .reviewer-info .reviewer-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-details  .review-form-container {
    padding: 15px 0px !important;
    border-radius: 12px;
}
.header .accordion-button {
  font-size: 15px;
}
.cart .cart-items .cart-item .product-info .product-details {
  font-size: 10px;
  flex: none;
  text-align: right;
}
.cart .cart-items .cart-item .product-info .product-details .product-title ,.order-details-content .title-name ,.products-table .title-name {
    font-size: 0.8125rem !important;
}
.cart .cart-items .cart-actions .btn {
    font-size: 12px;
}
/* .cart .cart-summary .summary-title {
    font-size: 17px !important;
} */
 .summary-total .summary-label {
    font-size: 17px;
}
 .summary-total .summary-value {
    font-size: 17px !important;
}
}
@media (max-width: 768px) {
  .thumbnail-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  .summary-title{
    font-size:1.1rem !important;
  }
}
.price-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.prices {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap:10px;
  flex-wrap: wrap;
}
.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.discounted-price {
  font-weight: bold;
  color: #5b003b;
  font-size: 20px;
  display: flex;
  align-items: center;
}
.original-price img,
.discounted-price img {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}
.discount-badge-product{
  color: green;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1rem;
  white-space: nowrap;
}
/* Align وفر % with the share icon column (same left edge on all screens) */
.product-details .product-info-wrapper .product-price-container .price-wrapper > .discount-badge-product {
  margin-inline-start: auto; /* stay on the share column even when the row wraps */
  margin-inline-end: 0 !important;
  padding-inline-end: 0 !important;
  padding-inline-start: 0 !important;
  padding-block: 5px !important;
  text-align: end;
  box-sizing: border-box;
}
.option-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.option-title {
  margin: 0;
  font-size: 1rem !important;
  font-weight: 400;
  white-space: nowrap;
  color:var(--heading-color) !important;
}
.quantity-selector {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  overflow: hidden;
  border: 1px solid #d3d3d3;
}
.quantity-btn {
  background-color: transparent;
  color: #000;
  padding: 5px 13px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.quantity-btn:hover{
  background-color: #000;
  color: #ffffff; 
}
@media(max-width:992px){
  .quantity-btn:hover{
  background-color: transparent;
  color: #000;
  }
}
.product-options .quantity-btn.increase,.product-options  .quantity-btn.decrease {
  border: none;  
  margin-left: 0px !important;
}
.product-options  .quantity-btn.decrease{
  border-right: 1px solid #d3d3d3;
}
.product-options .quantity-btn.increase{
  border-left:  1px solid #d3d3d3;
}
@media (max-width:575px) {
  .quantity-btn{
    padding: 4px 10px;
  }
}
.quantity-input {
  width: 35px !important;
  height: -webkit-fill-available;
  background-color: transparent;
  text-align: center;
  border: none;
  outline: none;
}

.product-list .product-filters ul {
  gap: 10px;
}
.product-filters .list-unstyled{
  border-bottom: 1px solid rgb(219, 219, 219) ;
  font-size: 0.95rem;
  /* overflow:auto; */
  padding-right:0px;
}
#category-list{
    overflow-x:auto;
    flex-wrap:nowrap !important;
    scroll-behavior:smooth;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}

#category-list::-webkit-scrollbar{
    width: 0 !important;
    height: 0 !important;
    display:none !important;
}
.category-section{
  padding:20px 0px !important
}
.cat-arrow{
    color:#212121;
    border:none;
    background:transparent;
    cursor:pointer;
    padding:4px 12px;
}
.buttons-scroll{
  display: flex;
  flex-direction: row-reverse;
  margin-top: -16px;
}
.product-filters ul li {
    cursor: pointer;
    padding: 11px 8px;
    white-space:nowrap;
}
@media(max-width:400px){
  .product-filters ul li{
    padding:11px 2px;
  }
}
@media(max-width:767px){
  .product-filters .list-unstyled{
    font-size: 0.875rem;
    padding-right:0px;
    gap:16px !important
  }
}
.product-filters ul li.filter-active {
     border-bottom: 2px solid black;
}
@media (max-width:575px) {
  .product-list .product-filters ul li{
    font-size: 0.875rem;
  }
}
.product-list .product-filters ul li:hover {
  color: var(--nav-hover-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
  border-color: var(--nav-hover-color);
}
.product-list .product-filters ul li.filter-active {
  color: var(--nav-hover-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
  border-color: var(--nav-hover-color);
}
.product-list .title-search{
  margin: 30px 0px;
}
.product-list .title-search h2 span{
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 15px;
}
@media (max-width: 567px) {
  .search-results-header .results-count h2 {
    font-size: 15px;
  }
  .search-results-header .results-count p {
    font-size: 14px;
  }
  .title h2 {
    font-size: 14px;
  }
  .product-details .product-info-wrapper .product-price-container .price-wrapper .prices .old-price .price-with-icon{
    font-size:10px;
  }
  .product-details .product-info-wrapper .product-price-container .price-wrapper .current-price .price-with-icon{
    font-size:12px;
  }
}
@media (max-width: 767.98px) {
  .header .main-header .account-dropdown {
    position: relative !important;
  }
  .header .main-header .account-dropdown .dropdown-menu {
    position: absolute !important;
    inset: unset !important;
    top: 100% !important;
    right: auto !important;
    left: -30px !important;
    transform: none !important;
    width: 280px;
    max-width: calc(100vw - 1.5rem);
    margin: 0.75rem 0 0 0 !important;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header h6 {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
  }
  .header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
    font-size: 0.8125rem !important;
    font-weight: 300 !important;
  }
}
.nav-pills {
     padding-right:0px;
  }
.wishlist-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.btn-accent {
  padding: 10px 20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.btn-accent:hover {
  background-color: var( --heading-color);
  color: var(--contrast-color);
}
.review-edit-section .btn-accent:hover,
.review-edit-section .btn-accent:focus,
.review-edit-section .btn-accent:active {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
}
 .account .reviews-grid .review-card {
  background-color: transparent;
  border-radius: 16px;
  padding: 20px !important;
  transition: all 0.3s ease;
  max-width: 100%;
  position:relative;
}
#review-form input[type="text"]:focus,
#review-form textarea:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%) !important;
}
.review-edit-section .form-label {
  text-align: start;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  padding-inline-start: 0;
  padding-right: 0;
  font-size: 16px;
}
@media (max-width: 1024px) {
  .review-edit-section .form-label {
    font-size: 13px;
  }
}
.text-accent{
  color: var(--accent-color);
}
.star-rating i {
  color: #ccc;
  transition: color 0.3s ease;
  font-size:1rem !important;
}
.star-rating label:hover ~ label i,
.star-rating label:hover i {
  color: rgb(255, 215, 0);
}
.star-rating input[type="radio"]:checked ~ label i {
  color: rgb(255, 215, 0);
}
.star-rating label:hover i,
.star-rating label:hover ~ label i {
  color: rgb(255, 215, 0);
}
.product-list-2 .product-image .quick-actions,
.discounts-swiper .product-image .quick-actions,
.related-products-swiper .product-image .quick-actions {
  direction: ltr;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
  opacity: 0;
  transform: translateY(5%);
  transition: all 0.3s ease;
  margin-right: 0px !important;
  pointer-events: none;
  z-index: 5;
  box-sizing: border-box;
}
.product-list-2 .product-card:hover .product-image .quick-actions,
.discounts-swiper .product-card:hover .product-image .quick-actions,
.related-products-swiper .product-card:hover .product-image .quick-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Offers + related cards: image itself goes to product details (overlay stays click-through except heart/cart) */
.discounts-swiper .product-image > a,
.related-products-swiper .product-image > a {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.discounts-swiper .product-card:hover .product-image .quick-actions,
.related-products-swiper .product-card:hover .product-image .quick-actions {
  pointer-events: none;
}
.discounts-swiper .product-image .quick-actions .left-box,
.related-products-swiper .product-image .quick-actions .left-box,
.discounts-swiper .product-image .quick-actions .add-to-cart-link,
.discounts-swiper .product-image .quick-actions .view-options-link,
.discounts-swiper .product-image .quick-actions .btn-add-to-cart,
.related-products-swiper .product-image .quick-actions .add-to-cart-link,
.related-products-swiper .product-image .quick-actions .view-options-link,
.related-products-swiper .product-image .quick-actions .btn-add-to-cart {
  pointer-events: auto;
}
.product-list-2 .product-image .quick-actions .add-to-cart-link,
.product-list-2 .product-image .quick-actions .view-options-link {
  padding: 0.4rem !important;
  border-radius: 2px;
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  height: 40px;
  border: none;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: calc(100% - 18px);
  position: absolute;
  left: 9px;
  bottom: 9px;
  pointer-events: auto;
}
.discounts-swiper .product-image .quick-actions .add-to-cart-link,
.discounts-swiper .product-image .quick-actions .view-options-link,
.discounts-swiper .product-image .quick-actions .btn-add-to-cart,
.related-products-swiper .product-image .quick-actions .add-to-cart-link,
.related-products-swiper .product-image .quick-actions .view-options-link,
.related-products-swiper .product-image .quick-actions .btn-add-to-cart {
  padding: 0.4rem !important;
  border-radius: 4px;
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  height: 36px;
  border: none;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: calc(100% - 18px);
  position: absolute;
  left: 9px;
  bottom: 9px;
  pointer-events: auto;
} 



.product-list-2 .product-image .quick-actions .view-options-link:hover,
.discounts-swiper .product-image .quick-actions .view-options-link:hover,
.related-products-swiper .product-image .quick-actions .view-options-link:hover {
  color: white !important;
}

.product-list-2 .product-image .quick-actions .add-to-cart-link i,
.product-list-2 .product-image .quick-actions .view-options-link i,
.discounts-swiper .product-image .quick-actions .add-to-cart-link i,
.discounts-swiper .product-image .quick-actions .view-options-link i,
.related-products-swiper .product-image .quick-actions .add-to-cart-link i,
.related-products-swiper .product-image .quick-actions .view-options-link i {
  margin-right: 0.5rem !important;
  font-size: 1rem;
  vertical-align: middle;
  transition: transform 0.2s ease;
  margin-left: 0px !important;
}
@media (max-width: 767px) {
  .product-list-2 .product-image .quick-actions .add-to-cart-link,
  .product-list-2 .product-image .quick-actions .view-options-link,
  .discounts-swiper .product-image .quick-actions .add-to-cart-link,
  .discounts-swiper .product-image .quick-actions .view-options-link,
  .related-products-swiper .product-image .quick-actions .add-to-cart-link,
  .related-products-swiper .product-image .quick-actions .view-options-link {
    width: calc(100% - 18px);
  }
  .discounts-swiper .product-image .quick-actions .add-to-cart-link,
  .discounts-swiper .product-image .quick-actions .view-options-link,
  .discounts-swiper .product-image .quick-actions .btn-add-to-cart,
  .related-products-swiper .product-image .quick-actions .add-to-cart-link,
  .related-products-swiper .product-image .quick-actions .view-options-link,
  .related-products-swiper .product-image .quick-actions .btn-add-to-cart {
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 13px;
  }
}
.product-list-2 .product-image .quick-actions .left-box,
.discounts-swiper .product-image .quick-actions .left-box {
  margin-top: -16px;
  pointer-events: auto;
}
.discounts-swiper .product-image .quick-actions .left-box,
.related-products-swiper .product-image .quick-actions .left-box {
  position: absolute;
  top: 10px;
  left: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 575px) {
  .product-list-2 .product-image .quick-actions .left-box {
    margin-top: -23px;
    margin-left: 30px;
    display: flex;
  }
  .discounts-swiper .product-image .quick-actions .left-box,
  .related-products-swiper .product-image .quick-actions .left-box {
    top: 8px;
    left: 14px;
    margin: 0;
  }
}
@media (max-width: 1024px) {
  .discounts-swiper .product-image .quick-actions,
  .related-products-swiper .product-image .quick-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
  }
  .discounts-swiper .product-image .quick-actions .left-box,
  .related-products-swiper .product-image .quick-actions .left-box {
    pointer-events: auto;
  }
  .discounts-swiper .product-image .quick-actions .add-to-cart-link,
  .discounts-swiper .product-image .quick-actions .view-options-link,
  .discounts-swiper .product-image .quick-actions .btn-add-to-cart,
  .related-products-swiper .product-image .quick-actions .add-to-cart-link,
  .related-products-swiper .product-image .quick-actions .view-options-link,
  .related-products-swiper .product-image .quick-actions .btn-add-to-cart {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .discounts-swiper .product-card:hover .product-image .quick-actions .add-to-cart-link,
  .discounts-swiper .product-card:hover .product-image .quick-actions .view-options-link,
  .discounts-swiper .product-card:hover .product-image .quick-actions .btn-add-to-cart,
  .related-products-swiper .product-card:hover .product-image .quick-actions .add-to-cart-link,
  .related-products-swiper .product-card:hover .product-image .quick-actions .view-options-link,
  .related-products-swiper .product-card:hover .product-image .quick-actions .btn-add-to-cart {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.product-list-2 .product-image .quick-actions .btn-add-to-cart,
.discounts-swiper .product-image .quick-actions .btn-add-to-cart,
.related-products-swiper .product-image .quick-actions .btn-add-to-cart {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transition: all 0.3s ease-in-out;
  width: calc(100% - 18px);
}
.product-list-2 .product-image .quick-actions .btn-add-to-cart:hover,
.discounts-swiper .product-image .quick-actions .btn-add-to-cart:hover,
.related-products-swiper .product-image .quick-actions .btn-add-to-cart:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
}
.product-details   .review-form-container .form-control:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%) !important;
  outline: none;
}
.product-details .product-info-wrapper .product-options {
  margin-bottom: 3rem;
  margin-top: 1.3rem !important;
  display: flex;
  align-items: flex-start !important;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 20px;
  padding-top: 10px;
}
.product-details .product-info-wrapper .product-options .quantity{
  display: flex;
  align-items: center !important;
  gap: 10px;
}
@media (max-width:435px) {
  .product-details .product-info-wrapper .product-options{
    align-items: center;
  }
  .product-details .qty-control .quantity-input,
  .product-details .quantity-input{
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    flex: 0 0 2.75rem !important;
    padding: 0 !important;
  }
}
@media (min-width:768px)  {
  .product-details .product-info-wrapper .product-options .add-to-cart-btn ,.not-avaliable{
    width: 90%;
    padding:10px;
    margin: 0px auto 0px auto !important;
  }
}
@media (max-width:1200px)  {
  .product-details .product-info-wrapper .product-options .add-to-cart-btn,.not-avaliable{
    width: 90%;
  }
}
@media (max-width:767px) {
  .product-details .product-info-wrapper .product-options .add-to-cart-btn,.not-avaliable{
  width: 100%;
  margin: 10px auto 0px;
  font-size: 14px;
  padding:11px 10px;
}
.product-details .product-info-wrapper .product-options .quantity{
  margin-left:auto;
}
}
.product-details .product-info-wrapper .product-actions {
  display: flex;
  gap: 0.75rem;
}
.product-list-2 .products-carousel-wrapper .swiper-wrapper {
  height: auto !important;
}
.product-details .product-info-wrapper .product-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.44rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: -.5rem;
}
.drift-zoom-pane {
  direction: ltr !important;
}
.product-list-2 .product-image .quick-actions .quick-action-btn.add-to-cart {
  padding: 0 20px;
  border-radius: 20px;
  background-color: var(--accent-color);
  color: white;
}
.original-price {
  gap: 2px;
}
.original-price img {
  width: 12px;
  height: auto;
}
.discounted-price {
  gap: 4px;
}
.discounted-price img {
  width: 16px;
  height: auto;
}
.product-details .product-details-accordion .accordion-item .accordion-header{
  margin-right: -18px;
  margin-top:-15px;
}
@media(max-width:575px){
  .product-details .product-details-accordion .accordion-item .accordion-header{
    margin-top:-54px
  }
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button {
  position: relative;
  gap:4px;
  margin-right: 0;
  width:fit-content;
  padding-right: 10px;
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button::before{
  position: absolute;
  content: "";
  right: 0px;
  width: 3px;
  height: 60%;
  background-color: var(--contrast-color);
}
.accordion-button {
  margin-right: 0 !important;
}
.package-size{
  display: contents;
  color: var(--heading-color);
}
.package-size span{
  font-size: 0.95rem;
  font-weight: 400;
}
.info-pro{
  font-size:1rem !important;
  font-weight: 400;
}
.product-details .product-info-wrapper .product-short-description > .info-pro {
  margin-top: 16px !important; /* match .product-variants gap (اللون ↔ المقاس) */
  margin-bottom: 0;
}
@media (max-width: 576px) {
  .package-size span{
    font-size: 14px;
  }
  .package-size strong{
    font-size: 15px;
  }
}
.description-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  line-height: 1.9;
  max-height: none;
  padding-top: 0.15em;
  padding-bottom: 0.4em;
  margin-bottom: 1.3rem !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.description-text.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
  padding-bottom: 0.4em;
}
.read-toggle {
  display: flex;
  justify-content: end;
  color: var(--heading-color);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  margin-right: 5px;
  margin-bottom: 15px;
}
@media (max-width:575px) {
  .read-toggle{
    font-size: 12px;
  }
  .account .reviews-grid .review-card .review-content{
  position: static;
  top: auto;
  right: auto;
  }
}
@media (max-width:530px) {
  .account .reviews-grid .review-card .review-content{
  position: static;
  top: auto;
  right: auto;
  }

}
.badge{
  font-size:14px !important;
  font-weight:400 !important;
}
@media(max-width:400px){
  .account .reviews-grid .review-card .review-content{
  position: static;
  top: auto;
  right: auto;
  }
}
@media(max-width:350px){
  .account .reviews-grid .review-card .review-content{
  position: static;
  top: auto;
  right: auto;
  }
}
@media (max-width: 768px) {
  .original-price img {
    width: 10px;
  }
  .discounted-price img {
    width: 13px;
  }
  .settings-content label.form-label {
    font-size: 0.875rem  !important;
  }
  .btn-save-address {
    font-size: 13px !important;
    padding: 8px 16px !important;
    margin: 6px !important;
    font-weight: 400;
    border-radius: 0.375rem;
}
   .preference-item h4 {
    font-size: 15px !important;
}
  .preference-item p {
    font-size: 13px !important;
  }
   .account .settings-content .preferences-list .preference-item .form-check .form-check-input {
    width: 2.2rem !important;
    height: 1.3rem !important;
  }
  .form-switch {
    padding-left: 0px !important;
}
  .account .settings-content .settings-section {
    padding: 0px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
  }
  .account .reviews-grid .review-card .review-content{
  margin-bottom: 8px;
  padding-bottom: 8px;
  padding-left:10px;
  }
    .account .reviews-grid .review-card .review-footer a {
    height: 32px !important;
    font-size: 12px !important;
  }
   .account .reviews-grid .review-card .review-header {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
   .account .reviews-grid .review-card {
    padding: 20px !important;
    border-radius: 12px !important;
  }
    .wishlist-image img {
    max-width: 120px;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  h1 { font-size: 20px; }
  h2 { font-size: 16px; }
  h3 { font-size: 14px !important; }
  h4 { font-size: 13px !important; }
  h5 { font-size: 14px; }
  h6 { font-size: 12px !important;}
  .fw-bold, .product-details  .review-form-container .form-label  {
    font-size: 14px;
  }
  .row {
    padding-left: 10px;
    padding-right: 10px;
  }
  /* Keep orders mobile rows flush — global .row padding breaks label/value layout */
  .account .orders-table .row {
    padding-left: 0;
    padding-right: 0;
  }
  /* Cart page only — override global .row 10px → 15px on mobile */
  #cart.cart.section > .container > .row {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .btn-accent {
    padding: 8px;
    font-size: 0.75rem;
  }
  .account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item:last-child{
    margin-bottom: 12px !important;
  }
   .account .content-area .orders-grid .order-card .order-details .details-content .detail-section .order-items .item .item-info h6 {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }
   .profile-menu .user-info {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .profile-menu .user-info .user-avatar {
    width: 65px;
    height: 65px;
  }
  .profile-menu .user-info .user-avatar img {
    border-width: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  .profile-menu .user-info .user-avatar .status-badge {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
  .profile-menu .user-info .user-avatar .status-badge i {
    font-size: 10px !important;
  }
}
@media (max-width: 768px) {
   .account .reviews-grid .review-card .review-header .review-meta h4 {
    font-size: 0.8rem  !important;
    margin-bottom: 3px  !important;
  }
    .profile-menu .user-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }
   .account .content-area .orders-grid .order-card .order-content .order-info .info-row .status {
    padding: 6px 6px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
  }
   .account .content-area {
    padding: 0px !important;
    border-radius: 12px;
    min-height: 40vh !important;
    margin-top:25px !important;
  }
  .account .content-area:has(.review-edit-section) {
    margin-top: 0.5rem !important;
  }
.account .content-area .section-header h2 ,.card-return-request .section-header h2 {
    font-size: 1rem !important;
    padding-top: 10px;
    padding-right: 10px;
    font-weight: 400;
  }
  #settings .section-header h2 {
    padding-right: 0 !important;
  }
    .profile-menu .menu-footer a {
    padding: 8px 12px;
    margin-bottom: 2px;
    border-radius: 8px;
    font-size: 13px;
  }
   .profile-menu .user-info .user-status {
    padding: 0px 8px;
    font-size:0.8125rem;
    gap: 4px;
    border-radius: 8px;
  }
  .profile-menu .user-info .user-status i {
    font-size: 1rem !important;
  }
    .profile-menu .menu-nav .nav-link i {
    font-size: 16px;
    margin-left: 8px;
  }
   .profile-menu .menu-nav .nav-link {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 5px !important;
  }
  .profile-menu .menu-nav .nav-link .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
  }
.form-control{
    font-size: 14px;
  }
.wishlist-section{
    padding: 24px;
  }
.thumbnail-item {
  flex: 0 0 auto;
  width: 60px;
  }
.product-details .product-gallery .thumbnails-vertical .thumbnails-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
   }
.section-title {
    font-size: 16px !important;
    font-weight: 500;
    }
.review-edit-section .review-card .section-title,
.account .reviews-grid [id^="review-container-"] .review-edit-section .section-title {
    font-size: 16px !important;
    font-weight: 400 !important;
}
.fs-4 {
    font-size: 20px !important;
  }
.badge{
  font-size: 13px !important;
  font-weight: 400 !important;
}
.review-card{
  padding: 12px !important;
}
.product-details .product-info-wrapper .product-price-container .price-wrapper .original-price {
  font-size: 0.85rem;
}
.discounted-price {
  font-size: 14px;
}
.discount-badge-product {
    font-size: 0.95rem;
}
.product-details .product-info-wrapper .product-short-description p{
  font-size: 0.8125rem !important;
  margin-top: 2px !important;
  /* margin-bottom: 2px !important; */
  }
.p-3{
  padding: 8px !important;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-btn {
    width: 35px;
    height: 35px;
    font-size: 13px;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector .quantity-input{
    width: 35px;
    height: 35px;
    font-size: 13px;
}
.product-details .product-info-wrapper .product-actions .btn {
    font-size: 13px;
    font-weight: 400;
}
.product-details .product-info-wrapper .product-actions .btn i{
    font-size: 13px;
}
.section-title h1 {
    font-size: 18px;
    margin-top: 10px;
    margin-right: 15px;
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    font-size: 15px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-number {
    font-size:24px;
    font-weight: 600;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-stars{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.rating-stars i.bi.bi-star-fill, .rating-stars i.bi.bi-star {
  font-size: 14px !important;
}
.star-rating i{
  font-size: 14px !important;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .overall-rating .rating-count{
  font-size: 12px;
}
.product-details .product-details-accordion .product-reviews .reviews-summary .rating-breakdown .rating-bar .rating-label{
  font-size: 12px;
}
.product-details .product-gallery .main-image-wrapper .image-zoom-container .main-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn,.product-list-2 .products-carousel-wrapper .swiper-button-next, .product-list-2 .products-carousel-wrapper .swiper-button-prev{
  width: 35px;
    height: 35px;
}
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn i{
  font-size: 16px;
}
.thumbnails-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
}
.form-text{
  font-size: 11px !important;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body{
  padding:16px;
}
.product-details .product-details-accordion .accordion-item .accordion-collapse .accordion-body h4 {
  color: var(--heading-color);
  font-size: 14px !important;
  font-weight: 600;
}
.product-details .product-details-accordion  .reviews-summary{
  margin-bottom: 0px;
}
  .product-details .product-details-accordion .reviews-summary .rating-breakdown {
    padding: 0 10px;
  }
 .product-details  .review-form-container{
  padding: 0px !important;
 }
.product-list-2 .product-image img{
  width: 160px;
  height: 160px;
  object-fit: cover;
}
.product-list-2 .product-info {
  padding: 8px;
  margin-bottom: 0px !important;
}
.product-list-2 .product-image {
  height: 160px !important;
}
.product-details .product-info-wrapper .product-options .option-group .quantity-selector {
  max-width: 280px  !important;
}
.product-price-container {
  border-radius: 12px !important;
}
.product-details .product-info-wrapper .product-price-container .price-wrapper{
  margin-bottom: 0px !important;
}
.product-list-2 .products-carousel-wrapper .swiper-button-next::after, .product-list-2 .products-carousel-wrapper .swiper-button-prev::after,.product-list-2 .products-carousel-wrapper .swiper-button-next::after, .product-list-2 .products-carousel-wrapper .swiper-button-prev::after{
  font-size: 14px;
  font-weight: 400;
}
  .small-stock-text {
  font-size: 13px;
  font-weight: 500;
  }
}
@media (max-width: 375px) {
  .product-details .product-info-wrapper .product-actions .btn {
      font-size: 12px;
      font-weight: 400;
      max-width: 190px;
  }
      .product-details .product-info-wrapper .product-options .option-group .quantity-selector {
      max-width: 260px  !important;
  }
}
@media (max-width: 320px) {
    .product-details .product-info-wrapper .product-actions .btn {
        font-size: 12px;
        padding: 8px 10px;
        font-weight: 400;
        max-width: 180px;
    }
    .product-details .product-info-wrapper .product-options .option-group .quantity-selector {
        max-width: 150px    !important;
    }
    .read-toggle {
    font-size: 12px;
    margin-bottom: 12px;
  }
}
@media (max-width: 576px) {
  .option-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .option-title {
    font-size: 0.95rem !important;
    margin-left: 15px !important;
  }
  .quantity-selector {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0px !important;
  }
  .product-details .product-info-wrapper .product-actions{
    margin-top: 22px;
  }
}
@media (max-width:830px){
  .product-details .product-gallery .main-image-wrapper .image-zoom-container .main-image{
    width:75%;
  }
} 
@media (max-width:575px){
   .review-form-container .section-title{
    margin-bottom: 5px !important;
   }
}
@media (max-width:767px) {
   .account .reviews-grid .review-card .review-header {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .account .reviews-grid .review-card .up-info {
    position: static;
    top: auto;
    width: 100%;
  }
  .account .reviews-grid .review-card .up-info > h4 {
    flex: 1 1 100%;
  }
  /* Small screens: rating on the right, date on the left */
  .account .reviews-grid .review-card .review-side-meta {
    width: 100%;
    margin-inline-start: 0;
    justify-content: space-between;
  }
}
@media (max-width:575px) {
   .account .reviews-grid .review-card .review-header {
    gap: 8px !important;
    margin-bottom: 12px !important;
    margin-top: 0;
    align-items: flex-start;
  }
}
@media(min-width:768px) and (max-width:1024px){
  .product-list-2 .product-image img{
    width:unset !important;
    height:unset !important;
    object-fit:unset !important;
  }
  .product-list-2 .product-image{
    height:200px !important;
  }
}
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0px 0px 5px 0;
  min-width: 0;
  width: 100%;
}
.product-list-2 .product-header{
  width: 100%;
  justify-content: space-between;
}
.product-title {
  margin: 0;
  line-height: 1.6;
}
/* Keep title + rating on one row; prevent long names from breaking card layout */
.product-header .product-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.product-header .product-title a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-header .product-rating {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.product-header .product-rating .stars {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.product-header .product-rating .stars .rating-value,
.product-header .product-rating .stars i {
  flex-shrink: 0;
  white-space: nowrap;
}
/* Equal-height product cards so Add to Cart stays aligned */
.product-list .row > [class*="col-"] {
  display: flex;
}
.product-list .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.product-list .product-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.product-list .price-and-cart {
  margin-top: auto;
  width: 100%;
}
.quick-actions {
  position: absolute;
  top: 10px;
  display: flex;
  z-index: 10;
  margin-right: 18px !important;
  pointer-events: none;
  flex-direction: column;
  gap: 0.5rem;
}
.product-item {
  margin-left: 0;
}
.quick-action-btn {
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 1400px) {
  .cart-dropdown .dropdown-menu {
    right: auto !important;
    left: 10px !important;
    transform: none !important;
  }
}
@media (max-width:767px) {
  .product-header{
    margin: 5px 0px 0px;
  }
}
@media (max-width: 1000px){
  .product-header{
  margin-bottom : 2px !important;
}
}
.old-price{
  margin: 0 !important;
}
.product-card,
.product-image {
    overflow: visible !important;
}
#cart-total {
  margin-right: auto;
  display: inline-block;
  text-align: left;
  font-size: 1.0625rem;
  /* color: var(--heading-color); */
  color:#000;
  font-weight: 400 !important;
}
@media (max-width:767px) {
  #cart-total{
    font-size:17px !important;
  }
}
@media (max-width: 576px) {
 .summary-item .summary-value span.icon-saudi_riyal{
  font-size: 25px !important;
}
}
#cart-total span.icon-saudi_riyal{
  font-size: 22px;
}
.account-dropdown .header-action-btn i,
.account-dropdown .header-action-btn span {
  color: var(--nav-color) !important;
}
.account-dropdown .header-action-btn:hover i,
.account-dropdown .header-action-btn:hover span {
  color: var(--nav-hover-color) !important;
}
.form-control.half-width {
  width: 25% !important;
}
@media (min-width:992px) {
 .footer .col-lg-4 {
    flex: 0 0 auto;
    width: 30%;
    padding: 0px 0px 0px 50px;
  }
  .footer .col-lg-2 {
    flex: 0 0 auto;
    width: calc(50%/2);
  }
   .footer .col-lg-3 {
    flex: 0 0 auto;
    width: 20%;
  }
}
@media (min-width:768px) {
.product-details  .review-form-container .star-rating {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  direction: ltr !important;
  unicode-bidi: isolate;
  width: auto;
  transform: none;
}
.product-details-accordion  .text-end{
  margin-bottom: -20px;
}
}
#text-end{
  text-align: left !important;
}
.product-details-accordion .review-form{
  display: flex;
  flex-direction: column;
  margin: 0px auto;
  width: 80%;
  margin-top: -25px;
}
.review-form .rating-select {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* RTL: pack stars to the right start */
  gap: 5px;
  width: 100%;
}
.review-form .box-rate{
  width:100%;
}
@media (max-width:575px) {
  .review-form .rating-select{
    margin-bottom: 15px !important;
  }
  .product-details .review-form-container .review-form .rating-select {
    margin-bottom: 12px !important;
  }
}
.product-details-accordion .review-form textarea{
  width: 100%;
}

/* Mobile/small: title, stars, label, textarea, count, button share one RTL start edge */
@media (max-width: 767.98px) {
  .product-details .review-form-container .section-title.container {
    padding-inline: 0;
    max-width: 100%;
  }
  .product-details .review-form-container .section-title h1,
  .product-details .review-form-container .section-title .accordion-button,
  .product-details .review-form-container .section-title .add-review {
    margin-inline: 0 !important;
    margin-right: 0 !important;
    padding-inline-start: 0;
  }
  .product-details .review-form-container .product-details-accordion .review-form {
    width: 100% !important;
    max-width: 100%;
    margin-inline: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    align-items: stretch;
  }
  .product-details .review-form-container .review-form .form-control,
  .product-details .review-form-container .review-form textarea,
  .product-details .review-form-container .review-form .form-control.half-width {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline: 0 !important;
    margin-top: 5px !important;
  }
  .product-details .review-form-container .review-form .form-label,
  .product-details .review-form-container .review-form .form-text,
  .product-details .review-form-container .review-form .box-rate {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
  .product-details .review-form-container .review-form .rating-select {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    direction: ltr !important;
  }
  .product-details .review-form-container .review-form .star-rating {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    direction: ltr !important;
    unicode-bidi: isolate;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  .product-details .review-form-container .review-form .star-rating label {
    padding: 0 0.2rem !important;
    margin: 0 !important;
    transform: none !important;
  }
  .product-details .review-form-container .review-form .star-rating label:first-of-type {
    padding-left: 0 !important;
  }
  .product-details .review-form-container .review-form .star-rating label:last-of-type {
    padding-right: 0 !important;
  }
  .product-details .review-form-container .review-form .star-rating label i {
    font-size: 1.35rem !important;
    display: block !important;
    line-height: 1 !important;
    transform: none !important;
  }
  .product-details .review-form-container .review-form .form-text {
    justify-content: flex-start !important;
  }
  .product-details .review-form-container .review-form .text-start {
    width: 100%;
    text-align: left !important;
    margin-top: 0 !important;
    margin-inline: 0;
    padding-top: 0 !important;
    padding-inline: 0;
  }
  .product-details .review-form-container .review-form .btn-primary {
    margin-top: 0 !important;
    margin-inline: 0;
  }
}
.quantity-selector #btn-primary{
  padding: 0px !important;
}
.btn-outline-danger,.contanier-failed-pay .success-pay{
  background-color: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 7px 14px !important;
  border-radius: 6px !important;
  font-weight: 400;
  font-size: 0.875rem !important;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap:10px;
  margin-bottom: 10px;
}
.btn-outline-danger{
  border: 1px solid var(--accent-color) !important;
  color: var(--accent-color) !important;
  background-color: transparent !important;
  display: block !important;

}
.btn-outline-danger i{
  font-size:16px !important;
  margin-left:5px;
}
.btn-outline-danger:hover,
.btn-outline-danger:active,
.btn-outline-danger:focus {
  transform: translateY(-2px);
  color: var(--accent-color) !important;
  background-color: transparent !important;
  border-color: var(--accent-color) !important;
  box-shadow: none !important;
}
.contanier-failed-pay .success-pay{
  background-color: var(--accent-color) !important;
  border: none !important;
  color: var(--contrast-color) !important;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.contanier-failed-pay .success-pay:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.text-danger{
  color:#EF4444 !important;
  font-size:18px !important;
  font-weight:400 !important;
}
@media(max-width:767px){
  .title-name span{
    font-size:0.8125rem !important;
  }
}
.row-error-msg,#generalReasonError,#termsError{
  font-size:13px !important
}
.image-warning{
  margin-top: 40px;
  width: 90px !important;
  animation: floatDownUp 15s ease-in-out infinite;
}
@keyframes floatDownUp {
  0%   { transform: translateY(-10px); }
  50%  { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}
@media(max-width:575px){
  .image-warning{
    margin-top: -40px;
    width: 70px !important;
  }
  .btn-outline-danger,.contanier-failed-pay .success-pay{
    font-size: 13px !important;
    border-radius: 6px !important;
    margin-bottom: 10px;
    padding:5px 12px 5px 16px !important;
  }
}
@media (min-width:769px) {
  .btn-success{
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  font-size: 14px;
  color: #198754;
  background-color: #fff;
  padding: 2px 10px;
  margin-right: auto;
}
}
@media (max-width:768px) {
  .btn-success{
  display: flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 14px;
  color: #198754;
  background-color: #fff;
  width:fit-content !important;
  margin-bottom :10px;
  margin-right: auto;
  }
}
.btn-success i{
  font-size: 16px !important;
  margin-left: 5px;
}
.return-card{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  padding:30px;
  background-color: transparent;
  border-radius: 16px;
  transition: all 0.3s ease-in-out;
  box-shadow:  0px 0px 20px rgba(0, 0, 0, 0.05)
}
.return-card:hover{
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.return-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 10px;
  color: var(--heading-color);
}
.stats-box{
  background-color:#eee;
}
.return-card img.img-fluid{
  width: 100px;
  border-radius: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #eee;
}
.return-card .return-box{
  display: flex;
  align-items: center;
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.return-box .order-detials p{
  margin-bottom: 0px;
} 
@media (max-width:768px) {
  .return-card{
    padding: 20px 5px 0px  !important;
    margin-right: -40px;
  }
  .return-card img.img-fluid{
    width: 80px !important;
  }
  .return-card .return-info{
    gap:0px !important;
  }
  .return-card  .return-info .order-detials{
    display: flex !important;
    gap: 0px;
    margin-bottom: -8px !important;
  }
  .return-card .return-box{
    flex-direction: column;
    align-items: center;
  }
  .return-card  .return-info .order-detials p,.reason p{
  color: var(--heading-color);
  padding: 4px 7px !important;
  font-size: 12px !important;
  border-radius: 10px;
  width: fit-content;
}
.return-header p{
  font-size: 11px;
}
.stats-box{
  background-color: transparent !important;
}
.return-box{
  padding-left: 0px !important;
  padding-right: 0px !important;
}
}
.return-card  .return-info{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.return-card  .return-info .order-detials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: -20px;
}
@media (max-width:767px) {
  .return-card .return-info .order-detials{
    flex-wrap: wrap;
  }
}
.return-card  .return-info .order-detials p,.reason p{
  color: var(--heading-color);
  padding: 10px 15px;
  font-size: 13px;
  border-radius: 10px;
  width: fit-content;
}
.cart-icon {
    margin-right: 0.5rem;
    font-size: 1rem !important;
    vertical-align: middle;
    transition: transform 0.2s ease;
}
.cart-icon-only{
  margin-right: 0px !important;
}
.icon-only-style{
  padding-top: 1px;
  margin-top: 15px;
  border-top:1px solid color-mix(in srgb, #212529 , transparent 90%);
}
.text-only{
  position: relative;
  background-color: transparent !important;
  border: 1px solid rgba(90, 101, 119, 0.15)!important;
  border-radius: 4px !important;
  color:var(--product-color) !important;
  transition: all 1s ease-in-out;
  z-index:99 !important;
}
.text-only::after{
  position: absolute;
  content: " ";
  right: 0px;
  height: 100%;
  width: 0%;
  top: 0px;
  background-color: var(--accent-color);
  z-index: -1;
  transition: all 0.5s ease-in-out;
}
.text-only:hover{
  color: var(--contrast-color) !important;
}
.text-only:hover::after{
  width: 100% !important;
}
@media (max-width: 768px) {
  .cart-icon {
    margin-right: 0.25rem;
    font-size: 0.8rem;
  }
}
.home-riyal .old-price .icon-saudi_riyal{
  font-size: 22px !important;
}
.home-riyal  .current-price .icon-saudi_riyal {
  font-size: 25px;
  font-weight: 500 !important;
}
.details-riyal .current-price .icon-saudi_riyal{
  font-size: 1.755rem !important;
}
.details-riyal .old-price{
  font-size: 1.12rem !important;
  font-weight: 300 !important;
}
.details-riyal .old-price .icon-saudi_riyal{
  font-size: 27px !important;
}
.cart-riyal .old-price .icon-saudi_riyal{
  font-size:24px !important;
}
.cart-riyal .icon-saudi_riyal{
  font-size: 25px !important;
}
.icon-account{
  font-size:1rem !important
}
.stock-info{
  font-size:0.875rem !important;
  font-weight: 400 ;
} 
@media (max-width:575px) {
  .home-riyal .old-price .icon-saudi_riyal{
    font-size: 21px !important;
  }
  .home-riyal  .current-price .icon-saudi_riyal {
    font-size: 24px !important;
  }
  .details-riyal .current-price .icon-saudi_riyal{
    font-size: 1.5rem !important;
  }
  .details-riyal .old-price{
    font-size: 1.1rem !important;
  }
  .details-riyal .old-price .icon-saudi_riyal{
    font-size: 1.4rem !important;
  }
  .details-riyal .old-price .price-value{
    font-size: 0.95rem !important;
  }
  .cart .cart-riyal .icon-saudi_riyal {
    font-size: 25px !important;
  }
  .cart-riyal .old-price .icon-saudi_riyal,
  .cart .cart-riyal .old-price .icon-saudi_riyal {
    font-size: 19px !important; /* strikethrough: riyal a little bigger */
  }
  .icon-account{
  font-size:0.8rem !important
}
 .current-price{
  font-size: 1rem !important;
  margin-top: 2px;
}
.box-one .current-price{
  font-size:15px !important
}
#add-all-to-cart{
  padding: 3px 7px !important;
}
.account-price span{
  font-size: 16px !important;
}
.stock-info{
  font-size:0.85rem !important;
} 
}
.account-price span{
  font-size: 20px !important;
}
#add-all-to-cart{
  font-size: 13px;
  font-weight: 700 !important;
  color:var(--accent-color)!important;
  background-color: transparent !important;
  padding: 7px 15px !important;
  border: 1px solid color-mix(in srgb, #212529, transparent 80%);
  border-radius: 6px;
}
#add-all-to-cart i{
  font-size: 15px ;
  margin-right: 2px !important;
}
@media (max-width:575px) {
  #add-all-to-cart{
  padding: 3px 8px !important;
  font-size: 11px;
}
}
.btn-spinner {
  border: 3px solid #ccc;
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto !important;
}
.quick-action-btn .btn-spinner {
  width: 15px;
  height: 15px;
  border-width: 2px
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 576px) {
  .btn-spinner {
    width: 19px;
    height: 19px;
    border-width: 2px;
  }
}
.cart-item {
  position: relative;
}
.cart-item .btn--delete {
  position: absolute;
  right: 12px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  font-size: 1.285rem;
  color: #EF4444 ;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cart-item .btn--delete i{
  line-height: unset !important;
}
@media(max-width:767px){
  .cart-item .btn--delete{
    font-size:1.4rem;
  }
}
.cart-item .btn--delete .s-button-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
html[dir="rtl"] .cart-item .btn--delete {
  left: 12px;
  right: auto;
}
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-input {
  -moz-appearance: textfield;
}
@media (max-width: 576px) {
  .box-account{
    padding: 0px  !important;
  }
   .returns-list{
    margin: 0px auto !important;
   }
}
/* .btn-secondary{
  color: #666666 !important;
  background-color: transparent !important;
  border: none !important;
  margin-left: 20px;
} */
 .wishlist  .icon-account{
    font-size: 14px !important;
  }
  #coupon_code::placeholder{
  font-size: 0.875rem;
  font-weight:400;
  color:#999;
}
@media (max-width:576px) {
  .wishlist  .icon-account{
    font-size: 10px !important;
  }
}
.swiper-pagination {
  opacity: 0;
  bottom: 15px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
}
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  opacity: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: #d4af37;
  transform: scale(1.2);
}
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}
.coupon-form .coupon-title{
  color: #777;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
}

#coupon_code::placeholder{
  font-size: 0.75rem;
  font-weight:400;
}
.parent-box{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction:column;
  gap: 10px;
}
.parent-box .product-details{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align:right;
  width: 100%;
}
.box-one-phone{
  margin-left: auto;
}
.cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone {
  margin-top: 0.4rem;
}
.cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .current-price,
.cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .current-price.has-discount,
.cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone .price-tag .single-price.current-price,
.cart .cart-items .cart-item .item-total,
.cart .cart-items .cart-item .item-total .item-subtotal,
.cart .cart-summary .summary-item .summary-value {
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 400 !important;
}
.cart .cart-items .cart-item:has(.item-coupon-badge:not(.d-none)) .cart-price-box {
  margin-top: 1.35rem !important;
}
@media (max-width: 767.98px) {
  .cart .cart-items .cart-item .product-info .product-details > .item-coupon-badge:not(.d-none) + .box-one-phone {
    margin-top: 0;
  }
  .cart .cart-items .cart-item:has(.item-coupon-badge:not(.d-none)) .cart-price-box {
    margin-top: 15px !important;
  }
}
.box-one-phone .price-tag{
  gap:10px;
  height:25px;

}
.box-one-phone .old-price, .box-one-phone .old-price span{
  margin:0px  !important
}
.cart-price-box{
  display: flex;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  justify-content: space-between;
}
@media (max-width:767px) {
  .parent-box{
    flex-direction: column;
    gap: 0px;
  }
  .cart-price-box{
    display: flex;
    align-items: center;
    margin-top:15px !important;
  }
   .coupon-form .coupon-title {
    font-size: 0.875rem !important;
  }
}
@media (min-width:768px) and (max-width:991px) {
  .price-tag{
    min-width:140px;
  }
  .cart .cart-items .cart-item .box-one-phone .price-tag {
    min-width: 0 !important;
    width: auto !important;
    direction: rtl !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .cart .cart-items .cart-item .box-one-phone .price-tag:has(.single-price) {
    min-width: unset;
    width: auto;
    justify-content: flex-start !important;
  }
}
@media (min-width:992px) and (max-width:1024px) {
  .cart .cart-summary{
    padding:0.5rem !important;
  }
  .cart .cart-items .cart-item .box-one-phone .price-tag {
    min-width: 0 !important;
    width: auto !important;
    direction: rtl !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
} 
.image-only.square,
.image-only.circle {
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-only.circle{
  width: 120px !important;
  height: 120px !important;
}
.image-only.square{
  width: 155px  !important; 
  height: 140px !important;
}
@media (max-width:767px) {
  .image-only.square{
    height: 140px !important;
    width: 155px !important;
  }
}
.image-only.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.image-only.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
.category-image.square {
    border-radius: 1px !important;
}
.category-image.circle {
    border-radius: 50% !important;
}
.card-style {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 200px;
    width: 170px;
}
@media(max-width:575px){
  .card-style{
    width: 180px;
  }
}
@media (max-width:400px) {
  .card-style{
    height:170px;
    width: 162px;
  }
}
@media (min-width:768px) and (max-width:992px) {
  .card-style{
    width:160px
  }
}
@media (min-width:993px) and (max-width:1024px) {
  .card-style{
    width:145px;
  }
}
.card-style img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
.card-style::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}
.card-style .category-title{
  margin-bottom: 0px !important;
}
.card-style h3.inside-card {
    position: absolute;
    bottom: 20px;
    right: 10px;
    margin: 0;
    color: #fff !important;
    font-weight: 600;
    text-align: right;
    z-index: 2;
}
.card-style .category-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin: 0;
  color: #fdfdfd !important;
  direction: rtl;
}
/*--------------------------------------------------------------
# Order Success Section
--------------------------------------------------------------*/
.order-success {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}
.order-success .confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.order-success .confetti-container .confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  opacity: 0.8;
  border-radius: 0;
  animation: confetti-fall 4s ease-in-out infinite;
}
.order-success .confetti-container .confetti:nth-child(1) {
  left: 10%;
  background-color: var(--accent-color);
  animation-delay: 0s;
  animation-duration: 3.2s;
}
.order-success .confetti-container .confetti:nth-child(2) {
  left: 20%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  animation-delay: 0.2s;
  animation-duration: 3.6s;
}
.order-success .confetti-container .confetti:nth-child(3) {
  left: 30%;
  background-color: var(--accent-color);
  animation-delay: 0.4s;
  animation-duration: 4s;
}
.order-success .confetti-container .confetti:nth-child(4) {
  left: 40%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  animation-delay: 0.6s;
  animation-duration: 3.4s;
}
.order-success .confetti-container .confetti:nth-child(5) {
  left: 50%;
  background-color: var(--accent-color);
  animation-delay: 0.8s;
  animation-duration: 3.8s;
}
.order-success .confetti-container .confetti:nth-child(6) {
  left: 60%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  animation-delay: 1s;
  animation-duration: 4.2s;
}
.order-success .confetti-container .confetti:nth-child(7) {
  left: 70%;
  background-color: var(--accent-color);
  animation-delay: 1.2s;
  animation-duration: 3.5s;
}
.order-success .confetti-container .confetti:nth-child(8) {
  left: 80%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  animation-delay: 1.4s;
  animation-duration: 3.7s;
}
.order-success .confetti-container .confetti:nth-child(9) {
  left: 90%;
  background-color: var(--accent-color);
  animation-delay: 1.6s;
  animation-duration: 4.1s;
}
.order-success .confetti-container .confetti:nth-child(10) {
  left: 15%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  animation-delay: 1.8s;
  animation-duration: 3.9s;
}
.order-success .confetti-container .confetti:nth-child(11) {
  left: 35%;
  background-color: var(--accent-color);
  animation-delay: 2s;
  animation-duration: 4.3s;
}
.order-success .confetti-container .confetti:nth-child(12) {
  left: 65%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  animation-delay: 2.2s;
  animation-duration: 3.3s;
}
.order-success .confetti-container .confetti:nth-child(3n) {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.order-success .confetti-container .confetti:nth-child(3n+1) {
  transform: rotate(45deg);
}
.order-success .confetti-container .confetti:nth-child(3n+2) {
  width: 5px;
  height: 15px;
}
@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(600px) rotate(360deg);
    opacity: 0;
  }
}
.order-success .celebration-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}
.order-success .celebration-header .celebration-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-success .celebration-header .celebration-icon i {
  font-size: 2.5rem;
  color: var(--contrast-color);
}
.order-success .celebration-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--heading-color);
}
.order-success .celebration-header p.lead {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  .order-success .celebration-header h1 {
    font-size: 2rem;
  }
  .order-success .celebration-header p.lead {
    font-size: 1.1rem;
  }
}
.order-success .order-info-card {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.order-success .order-info-card>div {
  flex: 1;
  padding: 0.75rem;
  min-width: 150px;
}
@media (max-width: 575.98px) {
  .order-success .order-info-card>div {
    flex: 0 0 100%;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
  .order-success .order-info-card>div:last-child {
    border-bottom: none;
  }
}
.order-success .order-info-card>div .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}
.order-success .order-info-card>div .value {
  font-size: 1.05rem;
  font-weight: 500;
}
.order-success .progress-tracker {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-success .progress-tracker h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.order-success .progress-tracker .progress-container .progress-bar {
  height: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.order-success .progress-tracker .progress-container .progress-bar .progress-fill {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background-color: var(--accent-color);
  border-radius: 10px;
  transition: width 1s ease;
}
.order-success .progress-tracker .progress-container .progress-labels {
  display: flex;
  justify-content: space-between;
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label {
  flex: 0 0 auto;
  text-align: center;
  max-width: 25%;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label.active {
  opacity: 1;
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label.active .label-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label.active span {
  font-weight: 600;
  color: var(--default-color);
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label .label-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label .label-icon i {
  font-size: 1.2rem;
  color: var(--contrast-color);
}
.order-success .progress-tracker .progress-container .progress-labels .progress-label span {
  font-size: 0.9rem;
  display: block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
@media (max-width: 767.98px) {
  .order-success .progress-tracker .progress-container .progress-labels {
    flex-wrap: wrap;
  }
  .order-success .progress-tracker .progress-container .progress-labels .progress-label {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .order-success .progress-tracker .progress-container .progress-labels .progress-label {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.order-success .order-summary {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-success .order-summary h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.order-success .order-summary .summary-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}
@media (max-width: 767.98px) {
  .order-success .order-summary .summary-grid {
    grid-template-columns: 1fr;
  }
}
.order-success .order-summary .summary-grid .product-grid .product-card {
  display: flex;
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.order-success .order-summary .summary-grid .product-grid .product-card:hover {
  transform: translateY(-3px);
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-image {
  position: relative;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  margin-right: 1.25rem;
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-image .quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-info {
  flex: 1;
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-info .variant {
  font-size: 0.9rem;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}
.order-success .order-summary .summary-grid .product-grid .product-card .product-info .price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-color);
}
.order-success .order-summary .summary-grid .price-breakdown {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.order-success .order-summary .summary-grid .price-breakdown .breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.order-success .order-summary .summary-grid .price-breakdown .breakdown-row:last-of-type {
  margin-bottom: 0;
}
.order-success .order-summary .summary-grid .price-breakdown .breakdown-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  font-size: 1.2rem;
  font-weight: 700;
}
.order-success .info-columns {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-success .info-columns .info-box {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
}
.order-success .info-columns .info-box .info-icon {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 12px;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-success .info-columns .info-box .info-icon i {
  font-size: 1.5rem;
}
.order-success .info-columns .info-box.shipping-info .info-icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.order-success .info-columns .info-box.payment-info .info-icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.order-success .info-columns .info-box .info-content {
  flex: 1;
}
.order-success .info-columns .info-box .info-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.order-success .info-columns .info-box .info-content address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.order-success .info-columns .info-box .info-content .delivery-estimate {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  font-size: 0.9rem;
}
.order-success .info-columns .info-box .info-content .delivery-estimate i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}
.order-success .info-columns .info-box .info-content .payment-method .card-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.order-success .info-columns .info-box .info-content .payment-method .card-info i {
  margin-right: 0.75rem;
  color: var(--accent-color);
}
.order-success .info-columns .info-box .info-content .payment-method .billing-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.order-success .info-columns .info-box .info-content .payment-method .billing-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.order-success .whats-next {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}
.order-success .whats-next h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.order-success .whats-next .next-steps {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.order-success .whats-next .next-steps .step {
  display: flex;
  margin-bottom: 1.5rem;
}
.order-success .whats-next .next-steps .step:last-child {
  margin-bottom: 0;
}
.order-success .whats-next .next-steps .step .step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
}
.order-success .whats-next .next-steps .step .step-content {
  flex: 1;
}
.order-success .whats-next .next-steps .step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.order-success .whats-next .next-steps .step .step-content p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}
.order-success .action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.order-success .action-buttons .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.order-success .action-buttons .btn i {
  margin-right: 0.5rem;
}
.order-success .action-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.order-success .action-buttons .btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.order-success .action-buttons .btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}
.order-success .action-buttons .btn.btn-outline:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-3px);
}
@media (max-width: 575.98px) {
  .order-success .action-buttons .btn {
    flex: 1;
  }
}
@media (max-width: 575.98px) {
  .order-success .action-buttons {
    flex-direction: column;
  }
}
 .customer-support {
  font-size: 1rem;
  position: relative;
  z-index: 2;
}
 .customer-support a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
 .customer-support a:hover {
  text-decoration: underline;
}
.btn-accent:disabled {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
  opacity: 1 !important;
}
.btn-outline-secondary:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  opacity: 1 !important;
}
.alert-home{
  width: 250px !important;
  position: relative;
}
.alert-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;               
}
.alert-home .message{
  text-align: center;

}
@media (max-width:576px) {
  .alert-home{
    min-width: 100px !important;
}
}
/* ------- click -------------------------*/
.quick-actions .quick-action-btn,
.quick-actions a {
  pointer-events: auto;
}
/* ------- pagination (store + account/orders — shared) -------------------------*/
.pagination-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 !important;
  margin: 0;
  list-style: none;
}
.pagination .page-item {
  list-style: none;
  margin: 0;
}
.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  margin: 0 !important;
  margin-inline-start: 0 !important;
  color: #333;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px !important;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  z-index: 1;
}
.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #333;
}
.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
  opacity: 1;
  pointer-events: none;
}
@media (max-width: 575px) {
  .pagination-container,
  .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    padding-inline: 8px;
  }
  .pagination {
    gap: 4px;
  }
  .pagination .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 14px;
  }
  #all-categories .pagination-container .justify-content-center,
  #discounted-products .pagination-container .justify-content-center {
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    padding: 0;
  }
}
@media (max-width: 400px) {
  .pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
  }
}
/* Mobile only: 38px pagination on store + طلباتي */
@media (max-width: 768px) {
  .pagination2 .pagination-container .page-link,
  #product-list.pagination .pagination-container .page-link,
  #discounted-products .pagination-container .page-link,
  #orders-pagination .page-link,
  #orders-pagination .pagination .page-link {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }
}
@media (max-width: 768px) {
  .product-reviews .section-title h1 {
    margin-right: 0;
    margin-inline: 0;
  }
}
.sicon-shopping-bag2{
  font-size: 16px;
  margin-left: 5px;
}
.title-mobile {
  display: none;
}
@media (max-width: 768px) {
  .title-desktop {
    display: none;
  }
  .title-mobile {
    display: inline;
  }
}
.return-head{
  margin-top: 20px;
  margin-bottom: 40px;
}
.return-head .form-check{
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
#productsCheckboxes{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-box{
  flex-direction: column;
  padding: 15px 5px;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}
.product-box label[for="product_selected_32"]{
  display: flex;
  gap: 7px;
}
#productsCheckboxes label.select{
  display: flex;
}
#productsCheckboxes label.select .box-check{
  display: flex;
  flex-direction: column;
}
#productsCheckboxes label.select .box-info{
  display: flex;
  gap: 10px;
}
#productsCheckboxes label.select .box-info img{
  width: 50px;
  height: 50px;
  border:1px solid #d3d3d3;
  border-radius: 5px;
}
.header-box-check{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width:767px) {
  .header-box-check{
    align-items: start;
  }
}
.product-box input.counter{
  text-align: center;
  border-radius: 5px;
}
.form-select{
  background-color: transparent;
  width: 160px !important;
  border-radius: 5px;
  margin-left: 8px !important;
  direction: rtl;
  background-position: left 0.75rem center !important;
  padding-left: 2rem;
  padding-right: 0.75rem;
}
.form-select:disabled{
  background-color: transparent;
  width: 160px !important;
  border-radius: 5px;
  margin-left: 8px !important;
  direction: rtl;
  background-position: left 0.75rem center !important;
  padding-left: 2rem;
  padding-right: 0.75rem;
}
.form-control:disabled{
  background-color: transparent;
}
.send-report{
  display: flex;
}
.send-return{
  margin-inline-start: auto;
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --bs-btn-bg: var(--accent-color);
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-active-bg: var(--accent-color);
  --bs-btn-disabled-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);
  --bs-btn-active-border-color: var(--accent-color);
  --bs-btn-disabled-border-color: var(--accent-color);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-color: #ffffff;
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
}
.send-return:hover,
.send-return:focus,
.send-return:focus-visible,
.send-return:active,
.send-return:active:focus,
.send-return:disabled,
.send-return.disabled{
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  border-color: var(--accent-color) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.send-return .btn-spinner{
  margin: 0 !important;
  flex-shrink: 0;
}
#returnForm textarea{
  height: 200px;
  background-color:transparent;
}
.returnForm .product-details .text-muted{
  text-wrap: wrap !important;
}
/* Space between product details and وصف المشكلة / صور المنتجات */
.returnForm .return-head {
  margin-bottom: 0 !important;
  padding-bottom: 0.25rem;
}
.returnForm .return-head + .mb-3 {
  padding-top: 1.25rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.returnForm .return-head + .mb-3 + .mb-3 {
  padding-top: 0.35rem;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}
.returnForm .return-head + .mb-3 > .form-label,
.returnForm .return-head + .mb-3 + .mb-3 > .form-label {
  margin-bottom: 0.65rem;
}
@media (max-width:575px) {
  .product-box{
    flex-direction: column;
    gap: 20px;
  }
  .product-box input.counter{
    width: fit-content !important;
  }
  .send-return{
    font-size: 13px;
  }
}
.input-group .form-control{
  background-color: var(--background-bg);
}
#id_profile_picture{
  margin-top: 15px;
}
.custom-message-with-ann {
  top: 100px;
  left: 8%  !important;
  z-index: 2000;
}
.custom-message-no-ann {
  top: 60px; 
  left: 8% !important;
  z-index: 2000;
}
#messages-container {
  position: fixed;
  left: 8%;
  width: max-content;
  z-index: 9999;
  text-align: center;
}
.pagination{
  gap: 5px;
}
.text-non-product{
  display: flex;
  padding-right: 30px;
  margin: 0px auto !important;
}
.history-detials.history-desktop{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 0px;
    top: 20px;
}
.history-detials img{
  height: 45px;
  width: 40px;
}
.history-detials p{
  font-size: 0.75rem !important;
  margin-bottom: 0px;
}
.history-mobile {
  display: none;
}
.history-desktop {
  display: block;
}
@media (max-width: 767.98px) {
  .history-mobile {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .history-mobile .tax-info {
    min-width: 0;
    gap: 6px;
  }
  .history-mobile .tax-info h6,
  .history-mobile .tax-info p {
    margin: 0;
    line-height: 1.35;
  }
  .history-mobile img {
    flex-shrink: 0;
    width: 40px;
    height: 45px;
    object-fit: contain;
  }
  .history-desktop {
    display: none !important;
  }
}
/* ~768–1366: iPad / tablet — payment logos one centered row; VAT stays absolute */
@media (min-width: 768px) and (max-width: 1366px) {
  .footer-bottom .container {
    position: relative;
  }
  .footer-bottom .payment-methods {
    justify-content: center !important;
    align-items: center;
    flex-wrap: nowrap !important;
    padding-left: 125px;
    padding-right: 165px;
    box-sizing: border-box;
    min-height: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    gap: 5px !important;
  }
  .footer .footer-bottom .payment-methods .payment-icon-wrapper {
    flex-shrink: 0;
    height: 26px;
    min-width: 26px;
    padding: 3px 5px;
  }
  .footer .footer-bottom .payment-methods .payment-icon {
    max-height: 16px;
    max-width: 34px;
  }
  .footer-bottom .history-detials.history-desktop {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 2;
    background-color: var(--footer-color-bg, #fff);
    padding-left: 8px;
  }
  .footer .footer-bottom .copyright {
    padding-top: 12px !important;
    margin-top: 0 !important;
  }
  .footer .footer-bottom .copyright p {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }
}
#related-products{
  padding-bottom: 0px !important;
}
/* Match آراء عملائنا → review card gap (14px title + 8px content top) on all screens */
#related-products > .container.section-title {
  margin-bottom: 14px !important;
}
#related-products > .container.section-title h1 {
  margin-bottom: 0 !important;
}
#related-products > .container:not(.section-title) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#related-products .products-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px 0 10px;
  margin-top: 0;
}
#related-products .products-carousel-wrapper .swiper-wrapper {
  height: auto !important;
}
#related-products .products-carousel-wrapper .swiper-button-next,
#related-products .products-carousel-wrapper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: var(--surface-color);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#related-products .products-carousel-wrapper .swiper-button-next::after,
#related-products .products-carousel-wrapper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--default-color);
}
#related-products .products-carousel-wrapper .swiper-button-next:hover,
#related-products .products-carousel-wrapper .swiper-button-prev:hover {
  background-color: var(--accent-color);
}
#related-products .products-carousel-wrapper .swiper-button-next:hover::after,
#related-products .products-carousel-wrapper .swiper-button-prev:hover::after {
  color: var(--contrast-color);
}
@media (max-width:767px) {
  #related-products{
    margin-bottom: -55px;
  }
  .product-details .product-info-wrapper .product-options{
    margin-bottom:3rem !important;
    flex-direction: column;
    gap:20px;
    margin-top:1.6rem !important;
  } 
}
#testimonials{
  padding: 0px;
}
#product-list .product-card-with-boxshadow{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}
.product-card-border{
  border: 1px solid rgba(90, 101, 119, 0.15);
}
.product-card-with-boxshadow .product-details{
  padding: 1rem;
}
@media (max-width:991px) {
  .product-card-with-boxshadow .product-details{
    padding: 0.3rem;
  }  
}
.account .orders-table {
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  border:1px solid rgba(0, 0, 0, 0.05);
  padding-bottom:10px;
}
.account .orders-table .table-header {
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.02);
}
.account .orders-table .table-header .sort-header {
  font-weight: 400;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--heading-color);
}
.account .orders-table .order-items .order-item .order-id,
.account .orders-table .order-items .order-item .order-date,
.account .orders-table .order-items .order-item .order-total,
.account .orders-table .order-items .order-item .order-total .icon-saudi_riyal {
  color: var(--heading-color);
}
.account .orders-table .table-header .sort-header i {
  margin-right: 0.5rem;
  font-size: 0.75rem !important;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}
.account  .orders-table .table-header .sort-header i:hover {
  opacity: 1;
}
.account  .orders-table .order-items .order-item {
  padding: 1.25rem 1.5rem;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.05); */
  transition: all 0.3s ease;
  background-color: transparent;
  
  border-radius: 12px;
}
/* .account  .orders-table .order-items .order-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
} */
/* .account  .orders-table .order-items .order-item:last-child {
  border-bottom: none;
} */
.account  .orders-table .order-items .order-item .order-id {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 0.875rem;
  white-space: nowrap;
}
.confirm-box{
  display: flex;
  align-items: center;
  gap: 25px;
}
.account .confirm-box .coupon-expired-btn,
.account .confirm-order .coupon-expired-btn {
  background-color: #f3f4f6 !important;
  border: none !important;
  color: #ef4444 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  padding: 0.4652rem 1.0625rem !important;
  border-radius: 6px !important;
  line-height: 1.5 !important;
  white-space: nowrap;
  opacity: 1 !important;
}
.account .confirm-box .coupon-expired-btn:disabled,
.account .confirm-order .coupon-expired-btn:disabled {
  background-color: #f3f4f6 !important;
  color: #ef4444 !important;
  opacity: 1 !important;
}
@media (max-width:767.98px) {
  .confirm-box{
    justify-content: space-between;
    margin-bottom: 10px;
  }
 .confirm-box .btn-success{
  margin-bottom:0px !important;
  font-size: 12px !important;
 }
 .confirm-box .coupon-expired-btn {
  font-size: 15px !important;
  padding: 0.4652rem 1.0625rem !important;
 }
 .confirm-box .col-md-3::before{
  display:none;
 }
 .account  .orders-table .order-items .order-item .order-id{
  font-size:0.8125rem !important;
 }
}
.account  .orders-table .order-items .order-item .order-date {
  font-size: 0.875rem;
  color: var(--heading-color);
}
/* Prevent long status text from overlapping الإجمالي (mobile / tablet / laptop) */
.account .orders-table .order-items .order-item .order-delivery-type,
.account .orders-table .order-items .order-item .order-delivery-type span.text-nowrap {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.45;
}
@media (min-width: 768px) {
  .account .orders-table .table-header > .row,
  .account .orders-table .order-items .order-item > .row.align-items-center {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.45fr) minmax(5.75rem, auto);
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    align-items: start;
  }
  .account .orders-table .table-header > .row > .col-md-3,
  .account .orders-table .order-items .order-item > .row > .col-md-3 {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
  }
  .account .orders-table .order-items .order-item > .row > .col-md-3.d-flex.align-items-center {
    display: block !important;
  }
  .account .orders-table .order-items .order-item .totall {
    justify-self: end;
    text-align: end;
  }
  .account .orders-table .order-items .order-item .order-total {
    white-space: nowrap;
    justify-content: flex-end;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .account .orders-table .table-header > .row,
  .account .orders-table .order-items .order-item > .row.align-items-center {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.78fr) minmax(0, 1.28fr) minmax(5.75rem, auto);
  }
  .account .orders-table .order-items .order-item .order-id.text-truncate,
  .account .orders-table .order-items .order-item .order-id {
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
}
@media (max-width: 767.98px) {
  .account .orders-table .order-item .col-md-3:nth-child(3) {
    align-items: flex-start;
    gap: 0.65rem;
  }
  .account .orders-table .order-item .col-md-3:nth-child(3) .order-delivery-type {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 62%;
    text-align: end;
  }
  .account .orders-table .order-item .col-md-3.totall {
    align-items: center;
  }
  .account .orders-table .order-item .col-md-3.totall .order-total {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
.account .orders-table .order-items .order-item .order-status {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 400;
}
@media(max-width:767.98px){
  .account .orders-table .order-items .order-item .order-status{
    font-size:13px !important;
  }
}
.account .orders-table .order-items .order-item .order-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}
.account  .orders-table .order-items .order-item .order-status.in-progress {
  color: #f59e0b;
}
.account  .orders-table .order-items .order-item .order-status.in-progress .status-dot {
  background-color: #f59e0b;
}
.account  .orders-table .order-items .order-item .order-status.delivered ,.order-status.completed{
  color: #10b981;
}
.account .orders-table .order-items .order-item .order-status.delivered .status-dot {
  background-color: #10b981;
}
.account  .orders-table .order-items .order-item .order-status.cancelled {
  color: #ef4444;
}
.account .orders-table .order-items .order-item .order-status.cancelled .status-dot {
  background-color: #ef4444;
}
.account  .orders-table .order-items .order-item .order-total {
  font-weight: 400;
  font-size: 17px;
  display: flex;
  align-items: baseline;
}
.account  .orders-table .order-items .order-item .order-total .icon-saudi_riyal {
  font-weight: 400;
  font-size: 25px;
  margin-right:5px;
}
.ori{
  text-decoration: line-through;
}
.item-price{
display: flex;
}
.item-price .old{
  color:#888 !important;
}
.item-price .old .price-value{
  font-size: 0.94rem;
  font-weight:400;
}
.item-price .old .icon-saudi_riyal{
  font-size:23px;
  font-weight: 400;
}
.item-price .new .price-value{
  font-size: 1.065rem;
  font-weight:400;
}
.item-price .new .icon-saudi_riyal{
  font-size:25px !important;
  font-weight: 400;
}
.account-price{
  font-size:18px;
  font-weight: 400;
}
.account-price .icon-saudi_riyal{
  font-size: 25px !important;
  font-weight: 400;
}
.total .account-price{
   font-size:20px;
  font-weight: 400;
}
.total .account-price .icon-saudi_riyal, .total-money .icon-saudi_riyal {
   font-size: 1.6875rem !important; 
  font-weight: 400;
}
@media(max-width:767.98px){
  .account .orders-table .order-items .order-item .order-total .icon-saudi_riyal{
    font-size: 1.6325rem;
  }
  .item-price .price .price-value{
  font-size: 13px;
}
.item-price .price .icon-saudi_riyal{
  font-size: 24px !important;
}
.account-price{
  font-size:17px;
}
.account-price .icon-saudi_riyal{
  font-size: 25px !important;
}
.total .account-price{
   font-size:19px;
  font-weight: 600;
}
.total .account-price .icon-saudi_riyal, .total-money .icon-saudi_riyal {
   font-size: 26px !important;
}
}
.account  .orders-table .order-items .order-item .order-products {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.05);
}
@media (max-width:767.98px) {
  .account  .orders-table .order-items .order-item .order-products{
    gap: 15px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: unset;
  }
}
@media(max-width:767.98px){
  .item-price .new .price-value{
    font-size:14px !important
  }
  .item-price .old .icon-saudi_riyal{
  font-size:23px !important;
}
}
.account  .orders-table .order-items .order-item .order-products .product-thumbnails {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.account  .orders-table .order-items .order-item .order-products .product-thumbnails .product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.account  .orders-table .order-items .order-item .order-products .product-thumbnails .more-products {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--default-color);
  font-size: 0.75rem;
  font-weight: 600;
}
.account .order-details-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff !important;
  color: #9ca3af;
  transition: all 0.3s ease;
  /* border: none; */
  cursor: pointer;
  margin-right: auto;
  border:1px solid #9ca3af;
}
/* @media(min-width:768px) and (max-width:1024px){
  .account .order-details-link{
    position: absolute;
    bottom:30px;
    left:15px;
  }
} */
.account .order-details-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.account .order-details-link i {
  transition: transform 0.3s ease;
  font-size: 18px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.account .order-details-link[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.account .order-details {
  /* border-top: 1px dashed rgba(0, 0, 0, 0.05); */
  margin-top: 20px;
  padding:0px 20px;
}
@media (max-width: 767.98px) {
  #account #orders .order-details,
  #account #orders .orders-table .order-item-new > .order-details {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
.account .order-details .table-light{
  border-bottom:1px dashed rgba(0, 0, 0, 0.05);
}

/* .account .orders-table .order-details .order-details-content {
  padding: 1.5rem;
} */
@media(max-width:767.98px){
  .account .orders-table .order-details .order-details-content{
    padding:0px !important;
  }
  #account #orders .orders-table .order-details,
  #account #orders .orders-table .order-item-new .order-details,
  #account #orders .orders-table .order-item-new > .order-details,
  #account #orders .orders-table .order-item-new > .order-details.collapse,
  #account #orders .orders-table .order-item-new > .order-details.show {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #account #orders .orders-table .order-details .order-details-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-timeline {
    padding-top: 1.5rem !important;
    padding-bottom: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-items-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-details-header {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-items-list .order-item-detail,
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #returns .orders-table .order-details,
  #account #returns .orders-table .order-items > .order-details,
  #account #returns .orders-table .order-items > .order-details.collapse,
  #account #returns .orders-table .order-items > .order-details.show {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #account #returns .return-details-mobile .order-details-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #account #returns .return-details-mobile .order-details-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #returns .return-details-mobile .return-items-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #returns .return-details-mobile .return-item-summary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #returns .return-details-mobile .return-items-list .order-item-detail,
  #account #returns .return-details-mobile .return-item-summary .summary-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.account  .orders-table .order-details .order-details-content .order-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
#account #returns .order-item .badge.bg-primary,
#account #returns .order-item .bg-primary{
  color: #0D6EFD !important;
  background: unset !important;
}
#account #returns .order-item .badge.bg-warning,
#account #returns .order-item .bg-warning{
  color: #FFC107 !important;
  background: unset !important;
}
/* Mobile/small: نوع الطلب value aligns with other left-column texts (badge padding was inset) */
@media (max-width: 767.98px) {
  #account #returns .orders-table .order-item .badge.bg-primary,
  #account #returns .orders-table .order-item .badge.bg-warning {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    line-height: inherit !important;
    display: inline !important;
    vertical-align: baseline;
  }
}

/* المرتجعات details: dashboard text color; keep الحالة column status colors */
#account #returns .table-return thead th {
  color: var(--heading-color);
}
#account #returns .table-return td:first-child .product-details .title-name,
#account #returns .table-return td.current-price,
#account #returns .table-return td.current-price > span,
#account #returns .table-return td.current-price .icon-saudi_riyal,
#account #returns .table-return td:nth-child(3),
#account #returns .table-return td:nth-child(3).title-name,
#account #returns .table-return td.total-money,
#account #returns .table-return td.total-money > span,
#account #returns .table-return td.total-money .icon-saudi_riyal {
  color: var(--heading-color) !important;
}
#account #returns .table-return td:first-child .product-details small {
  color: #6c757d !important;
}
#account #returns .return-details-mobile .order-details-header h5,
#account #returns .return-details-mobile .order-item-detail .item-info h6 {
  color: var(--heading-color);
}
#account #returns .return-details-mobile .order-item-detail .item-info .item-qty {
  color: #6c757d;
}
/* المرتجعات only: 5-column layout (do not affect طلباتي 4-col grid) */
@media (min-width: 768px) {
  #account #returns .orders-table .table-header > .row,
  #account #returns .orders-table .order-items .order-item > .row.align-items-center {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1.4fr)
      minmax(0, 0.85fr)
      minmax(0, 0.9fr)
      minmax(0, 1.05fr)
      minmax(0, 1.1fr);
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    align-items: center;
  }
  #account #returns .orders-table .table-header > .row > [class*="col-md-"],
  #account #returns .orders-table .order-items .order-item > .row > [class*="col-md-"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    flex: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #account #returns .orders-table .table-header .sort-header {
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  #account #returns .orders-table .order-items .order-item .order-id {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
  }
  #account #returns .orders-table .order-items .order-item .order-status,
  #account #returns .orders-table .order-items .order-item .order-status span {
    white-space: nowrap;
    line-height: 1.35;
    text-align: center;
  }
  /* المبلغ المسترد — match طلباتي .order-total; keep symbol on same line */
  #account #returns .orders-table .order-items .order-item .order-total {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center !important;
    gap: 0;
    font-size: 17px;
    font-weight: 400;
    color: var(--heading-color);
    width: auto;
    margin: 0;
    line-height: 1;
  }
  #account #returns .orders-table .table-header > .row > [class*="col-md-"]:last-child,
  #account #returns .orders-table .order-items .order-item > .row > [class*="col-md-"]:last-child {
    text-align: center;
    justify-self: center;
  }
  #account #returns .orders-table .order-items .order-item .order-total .icon-saudi_riyal {
    font-size: 25px !important;
    font-weight: 400;
    margin-right: 5px !important;
    margin-inline-start: 0;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -2px;
  }
  #account #returns .table-return {
    table-layout: auto;
    width: 100%;
  }
  #account #returns .table-return.table.text-center,
  #account #returns .table-return.text-center {
    text-align: center !important;
  }
  #account #returns .table-return thead th {
    text-align: center !important;
    white-space: nowrap;
    vertical-align: middle;
  }
  #account #returns .table-return tbody td {
    text-align: center !important;
    vertical-align: middle;
    word-break: normal;
    overflow-wrap: break-word;
  }
  #account #returns .table-return th:nth-child(1),
  #account #returns .table-return td:nth-child(1) {
    width: 34%;
    min-width: 200px;
    text-align: start !important;
  }
  #account #returns .table-return th:nth-child(2),
  #account #returns .table-return td:nth-child(2),
  #account #returns .table-return th:nth-child(5),
  #account #returns .table-return td:nth-child(5) {
    width: 12%;
    white-space: nowrap;
    text-align: center !important;
  }
  #account #returns .table-return th:nth-child(3),
  #account #returns .table-return td:nth-child(3) {
    width: 22%;
    text-align: center !important;
  }
  #account #returns .table-return th:nth-child(4),
  #account #returns .table-return td:nth-child(4),
  #account #returns .table-return td:nth-child(4) .text {
    white-space: nowrap;
    width: 14%;
    text-align: center !important;
  }
  #account #returns .table-return td:first-child > a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
  }
  #account #returns .table-return td:first-child .d-flex {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    text-align: start;
  }
  #account #returns .table-return td:first-child .item-image {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0 !important;
  }
  #account #returns .table-return td:first-child .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #account #returns .table-return td:first-child .product-details {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    text-align: start;
    gap: 0.15rem;
  }
  #account #returns .table-return td:first-child .product-details .title-name {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    writing-mode: horizontal-tb;
    line-height: 1.4;
    text-align: start;
  }
  #account #returns .table-return td:first-child .product-details small {
    display: block;
    width: 100%;
    text-align: start;
    white-space: nowrap;
    line-height: 1.35;
  }
  /* السعر — keep base size */
  #account #returns .table-return .current-price {
    white-space: nowrap;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: var(--heading-color) !important;
    line-height: 1;
    text-align: center !important;
  }
  /* الاجمالي — slightly larger so it stands out on all desktop sizes */
  #account #returns .table-return .total-money {
    white-space: nowrap;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    color: var(--heading-color) !important;
    line-height: 1;
    text-align: center !important;
  }
  #account #returns .table-return .current-price > span,
  #account #returns .table-return .total-money > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--heading-color);
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
  }
  #account #returns .table-return .current-price .icon-saudi_riyal {
    font-size: 25px !important;
    font-weight: 400;
    margin-right: 5px !important;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -2px;
  }
  #account #returns .table-return .total-money .icon-saudi_riyal {
    font-size: 1.75rem !important;
    font-weight: 400;
    margin-right: 5px !important;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -2px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  #account #returns .orders-table .table-header > .row,
  #account #returns .orders-table .order-items .order-item > .row.align-items-center {
    grid-template-columns:
      minmax(0, 1.45fr)
      minmax(0, 0.8fr)
      minmax(0, 0.85fr)
      minmax(0, 1.05fr)
      minmax(0, 1.15fr);
    column-gap: 0.5rem;
  }
  #account #returns .orders-table .table-header .sort-header {
    font-size: 0.78rem;
  }
  #account #returns .orders-table .order-items .order-item .order-id {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
  }
  #account #returns .orders-table .order-items .order-item .order-status,
  #account #returns .orders-table .order-items .order-item .order-status span {
    white-space: normal;
    line-height: 1.35;
  }
  #account #returns .table-return th:nth-child(1),
  #account #returns .table-return td:nth-child(1) {
    width: 38%;
    min-width: 220px;
  }
  #account #returns .table-return td:first-child .item-image {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }
  #account #returns .table-return td:first-child .product-details .title-name {
    font-size: 0.875rem;
    word-break: normal;
    overflow-wrap: break-word;
  }
}
@media (max-width: 767.98px) {
  #account #returns .orders-table .order-item .col-md-3:nth-child(1)::before {
    content: "رقم الإرجاع" !important;
  }
  #account #returns .orders-table .order-item .col-md-2:nth-child(2)::before {
    content: "نوع الطلب" !important;
  }
  #account #returns .orders-table .order-item .col-md-2:nth-child(3)::before {
    content: "التاريخ" !important;
  }
  #account #returns .orders-table .order-item .col-md-2:nth-child(4)::before {
    content: "الحالة" !important;
  }
  #account #returns .orders-table .order-item .col-md-3:nth-child(5)::before {
    content: "المبلغ المسترد" !important;
  }
  #account #returns .orders-table .order-items .order-item .order-total {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 0;
    font-size: 17px;
    font-weight: 400;
    color: var(--heading-color);
    line-height: 1;
  }
  #account #returns .orders-table .order-items .order-item .order-total .icon-saudi_riyal {
    font-size: 1.6325rem !important;
    font-weight: 400;
    margin-right: 5px !important;
    margin-inline-start: 0;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -2px;
  }
  #account #returns .orders-table .order-items .order-item .order-status,
  #account #returns .orders-table .order-items .order-item .order-status span {
    white-space: nowrap;
  }

  /* 767px gap fix: force details table to mobile stack (thead still shown between 767–768 otherwise) */
  #account #returns .table-return thead {
    display: none !important;
  }
  #account #returns .table-return tbody tr {
    display: block;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 12px;
  }
  #account #returns .table-return tbody td {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: none !important;
    padding: 8px 0;
    text-align: start !important;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }
  #account #returns .table-return tbody td::before {
    font-weight: 400;
    color: var(--heading-color);
    flex-shrink: 0;
    font-size: 13px;
  }
  #account #returns .table-return tbody td:nth-child(2)::before {
    content: "السعر";
  }
  #account #returns .table-return tbody td:nth-child(3)::before {
    content: "سبب الإرجاع";
  }
  #account #returns .table-return tbody td:nth-child(4)::before {
    content: "الحالة";
  }
  #account #returns .table-return tbody td:nth-child(5)::before {
    content: "الإجمالي";
    font-size: 15px;
  }
  #account #returns .table-return tbody td:first-child {
    display: block !important;
  }
  #account #returns .table-return tbody td:first-child::before {
    content: "المنتج";
    display: block;
    margin-bottom: 8px;
  }
  #account #returns .table-return tbody td.current-price {
    white-space: nowrap !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: var(--heading-color) !important;
    line-height: 1;
  }
  #account #returns .table-return tbody td.total-money {
    white-space: nowrap !important;
    font-size: 1.1875rem !important;
    font-weight: 400 !important;
    color: var(--heading-color) !important;
    line-height: 1;
  }
  #account #returns .table-return tbody td.current-price > span,
  #account #returns .table-return tbody td.total-money > span {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
    white-space: nowrap !important;
    color: var(--heading-color);
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
  }
  #account #returns .table-return tbody td.current-price .icon-saudi_riyal {
    font-size: 1.6325rem !important;
    font-weight: 400;
    margin-right: 5px !important;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex !important;
    align-items: center;
    position: relative;
    top: -2px;
  }
  #account #returns .table-return tbody td.total-money .icon-saudi_riyal {
    font-size: 1.75rem !important;
    font-weight: 400;
    margin-right: 5px !important;
    line-height: 1;
    color: var(--heading-color);
    display: inline-flex !important;
    align-items: center;
    position: relative;
    top: -2px;
  }
  #account #returns .table-return tbody td:nth-child(4),
  #account #returns .table-return tbody td:nth-child(4) .text {
    white-space: nowrap;
  }
  #account #returns .table-return td:first-child .d-flex {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
  }
  #account #returns .table-return td:first-child .item-image {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin: 0 !important;
  }
  #account #returns .table-return td:first-child .product-details {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.15rem;
  }
  #account #returns .table-return td:first-child .product-details .title-name {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: start;
    line-height: 1.4;
  }
  #account #returns .table-return td:first-child .product-details small {
    display: block;
    text-align: start;
    white-space: nowrap;
  }
}
.status-pending { color: #e67e22 !important; background: unset !important;}
.status-ready { color: #6f42c1; }
.status-picked-up { color:#198754; }
.status-cancelled { color: #dc3545; }

.status-processing { color: #e67e22; }
.status-ready-delivery { color: #198754; }
.status-out-delivery { color: #ffc107; }
.status-delivered { color: #1a7f3c }
.status-failed { color: #dc3545; }

.status-shipping { color: #17a2b8; }
#account #returns .order-status.shipped span{
  color: #0277bd !important;
}
#account #returns .order-status.approved span{
  color: #2f9e44 !important;
}

#account #returns .order-status.exchanged span{
    color: #6f42c1 !important;
 }
.account  .orders-table .order-details .order-details-content .order-details-header h5 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--heading-color);
}
@media (max-width:767.98px) {
  .account .orders-table .order-details .order-details-content .order-details-header {
    padding-bottom: 0.95rem;
  }
  .account .orders-table .order-details .order-details-content .order-details-header h5,
  #account #returns .return-details-mobile .order-details-header h5 {
    font-size: 0.94rem;
    margin-bottom: 0 !important;
  }
}
.account .orders-table .order-details .order-details-content .order-details-header .order-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: -10px;
}
.account  .orders-table .order-details .order-details-content .order-details-header .order-info .info-item .info-value {
  color: var(--heading-color);
  font-weight: 400;
  font-size: 0.8125rem;
}
.account  .orders-table .order-details .order-details-content .order-items-list {
  margin-bottom: 1.5rem;
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}
.item-box{
  display: flex;
  align-items: center;
}
/* .account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail:last-child {
  border-bottom: none;
} */
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-image , .order-details-content .item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-left: 10px;
}
@media (max-width:767.98px) {
  .account .orders-table .order-details .order-details-content .order-items-list .order-item-detail{
    flex-direction: column;
    gap: 1rem;
    align-items: unset !important;
  }
  .account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-image {
  margin-right: 0px;
  }
  .account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price{
    margin-left: 0px !important;
  }
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-image img ,.order-details-content .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-info {
  flex-grow: 1;
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-info h6 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--heading-color);
}
@media (max-width:767.98px) {
  .account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-info h6{
    font-size: 0.8125rem !important;
  }
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-info .item-meta {
  font-size: 0.75rem;
  font-weight: 300;
  color: #6c757d;
}
.account  .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price {
  display: flex;
  align-items: center;
  margin-right: auto;
  font-weight: 400;
  font-size: 0.875rem;
  margin-left: 1rem;
  color: var(--heading-color);
}
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .new,
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .new .price-value,
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .new .icon-saudi_riyal {
  color: var(--heading-color) !important;
}
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .old,
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .old .price-value,
.account .orders-table .order-details .order-details-content .order-items-list .order-item-detail .item-price .old .icon-saudi_riyal {
  color: #888 !important;
}
.account  .orders-table .order-details .order-details-content .order-summary {
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width:767.98px) {
  .order-details .order-details-content .order-summary{
    padding: 0px !important;
    margin-bottom: 0px !important;
    background-color: transparent !important;
  }
  .account .orders-table .order-details{
    background-color: transparent !important;
  }
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.94rem !important;
  font-weight: 400;
  color: var(--heading-color);
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row .account-price{
  font-size:1rem !important;
  font-weight:400;
  color: var(--heading-color);
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row .account-price .icon-saudi_riyal {
  color: var(--heading-color);
}
/* مرتجعاتي — desktop/normal keep original table; mobile uses طلباتي theme */
#account #returns .return-details-desktop {
  display: block;
}
#account #returns .return-details-mobile {
  display: none;
}
@media (max-width: 767.98px) {
  #account #returns .return-details-desktop {
    display: none !important;
  }
  #account #returns .return-details-mobile {
    display: block !important;
  }
  #account #returns .return-items-list .return-item-block {
    margin-bottom: 0.5rem;
  }
  #account #returns .return-items-list .return-item-block:not(:last-child) {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  }
  #account #returns .return-items-list .return-item-summary {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }
  #account #returns .return-items-list .return-item-summary .summary-row {
    padding: 0.5rem 0;
  }
  /* Mobile تفاصيل المرتجع: equal vertical space between السعر / سبب الإرجاع / الحالة
     (large riyal icon was stretching the price row and looking like uneven gaps) */
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    line-height: 1.45;
  }
  /* Slightly more space between سبب الإرجاع and الحالة */
  #account #returns .return-details-mobile .return-item-summary .summary-row:nth-child(3):not(.return-item-total) {
    padding-top: 0.65rem;
  }
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) .account-price {
    display: inline-flex;
    align-items: center;
    line-height: 1.45;
  }
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) .account-price .icon-saudi_riyal {
    font-size: 1.4em !important;
    line-height: 1 !important;
  }
  #account #returns .return-items-list .return-item-summary .return-item-total {
    font-weight: 400;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
  }
  #account #returns .return-items-list .order-item-detail {
    border-bottom: none;
    padding-bottom: 0.5rem;
  }
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row.total .account-price,.total-money{
  font-size: 1.125rem !important;
  font-weight: 400;
}
.account  .orders-table .order-details .order-details-content .order-summary .summary-row.total {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 400;
  font-size: 1.07rem !important;
  color: var(--heading-color);
}
@media (max-width:767.98px) {
.account  .orders-table .order-details .order-details-content .order-summary .summary-row {
 font-size: 0.94rem !important;
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row .account-price{
  font-size: 1rem !important;
}
.account .orders-table .order-details .order-details-content .order-summary .summary-row.total .account-price,.total-money{
  font-size: 17px !important;
  font-weight: 400;
}
.account  .orders-table .order-details .order-details-content .order-summary .summary-row.total {
  font-size: 1.125rem !important;
}
}
.account  .orders-table .order-details .order-details-content .shipping-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-address,
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-method {
  flex: 1;
  min-width: 200px;
}
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-address h6,
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-method h6 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-address p,
.account  .orders-table .order-details .order-details-content .shipping-info .shipping-method p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.account  .orders-table .order-details .order-details-content .cancellation-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.05);
}
.account  .orders-table .order-details .order-details-content .cancellation-info h6 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ef4444;
}
.account  .orders-table .order-details .order-details-content .cancellation-info p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.account  .orders-table .pagination-container {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.account  .orders-table .pagination-container .pagination .page-item {
  margin: 0;
}
.account  .orders-table .pagination-container .pagination .page-item .page-link {
  min-width: 36px;
  width: auto;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px !important;
  border: 1px solid #dee2e6;
  color: var(--default-color);
  font-weight: 500;
  transition: all 0.3s ease;
}
.account  .orders-table .pagination-container .pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.account  .orders-table .pagination-container .pagination .page-item:not(.active) .page-link:hover {
  background-color: #f8f9fa;
}
/* account page */
.contact-change-item { padding: 14px 0; border-bottom: 1px solid #eee; }
.contact-change-item:last-child { border-bottom: none; }
.contact-change-header { display: flex; justify-content: space-between; align-items: center; }
.contact-change-header h4 { margin: 0 0 2px; font-size: 15px; }
.current-contact-value { margin: 0; color: #666; font-size: 13px; direction: ltr; text-align: right; }

/* ===== OTP boxes – email & phone change ===== */
.contact-change-item .otp-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.contact-change-item .otp-input {
  width: 48px;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #f8f9fa;
  color: #212529;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  outline: none;
  caret-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.contact-change-item .otp-input::-webkit-outer-spin-button,
.contact-change-item .otp-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.contact-change-item .otp-input:focus {
  border-color: #212529;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(33, 37, 41, .12);
  z-index: 1;
}

.contact-change-item .otp-input.otp-filled {
  border-color: #198754;
  background: #f0faf4;
  color: #155e3a;
  box-shadow: none;
}

.contact-change-item .otp-input.otp-filled:focus {
  border-color: #146c43;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, .18);
}

/* ===== OTP Modal boxes ===== */
#otpModalContainer {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 15px;
}

.modal-otp-input {
  width: 35px;
  height: 40px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  caret-color: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}

.modal-otp-input::-webkit-outer-spin-button,
.modal-otp-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.modal-otp-input:focus {
  border-color: #212121;
  outline: none;
}

.modal-otp-input.otp-filled {
  border-color: #212121;
}

@media (max-width: 480px) {
  .contact-change-item .otp-container { gap: 5px; }
  .contact-change-item .otp-input {
    width: 40px;
    height: 48px;
    font-size: 18px;
    border-radius: 9px;
  }
  #otpModalContainer { gap: 5px; }
}


.no-review-related{
  margin-top: 20px !important;
}
.order-details-content .order-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.order-details-content  .order-timeline::before {
  display: none;
}
.order-details-content  .order-timeline .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 25%;
}
@media (max-width:767.98px) {
  .order-details-content .order-timeline .timeline-step{
    flex-direction: row;
  }
  .order-details-content .order-timeline .timeline-step .step-info{
    margin-right: 15px;
  }
}
.order-details-content  .order-timeline .timeline-step .step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: color-mix(in srgb, #212529, transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 3px solid var(--surface-color);
  transition: all 0.3s ease;
  opacity: 1;
}
.order-details-content  .order-timeline .timeline-step .step-icon i {
  color: color-mix(in srgb, #212529, transparent 50%);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}
.order-details-content  .order-timeline .timeline-step.completed .step-icon{
  background-color: var(--accent-color);
  opacity: 0.8;
}
.order-details-content  .order-timeline .timeline-step.completed .step-icon i{
  color:#fff !important;
}
.order-details-content  .order-timeline .timeline-step .step-label {
  font-weight: 400;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-align: center;
}
.order-details-content  .order-timeline .timeline-step .step-date {
  font-size: 0.8125rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.order-details-content  .order-timeline .timeline-step.active .step-icon {
  background-color: var(--accent-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 80%);
}
.order-details-content  .order-timeline .timeline-step.active .step-icon i {
  color: #fff;
}
.order-details-content  .order-timeline .timeline-step.active .step-label {
  color: var(--default-color);
}
@media (min-width: 768px) {
  .order-details-content .order-timeline .timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(27px - 1.5px);
    height: 3px;
    inset-inline-start: calc(50% + 27px);
    inset-inline-end: calc(-50% + 27px);
    width: auto;
    background-color: color-mix(in srgb, var(--default-color), transparent 90%);
    z-index: 0;
    pointer-events: none;
  }
}
@media (max-width: 767.98px) {
  .order-details-content .order-timeline {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    padding:30px;
    margin-bottom:0px !important
  }
.order-details-content .order-timeline::before {
  display: none;
  }
  .order-details-content .order-timeline .timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 54px;
    bottom: -1.5rem;
    inset-inline-start: calc(27px - 1.5px);
    inset-inline-end: auto;
    width: 3px;
    background-color: color-mix(in srgb, var(--default-color), transparent 90%);
    z-index: 0;
    pointer-events: none;
  }
  .order-details-content  .order-timeline .timeline-step {
    width: 50%;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .order-details-content  .order-timeline .timeline-step {
    width: 100%;
  }
}
@media (max-width:450px) {
   .order-details-content .order-timeline{
    padding:30px 10px !important;
  }
}
.timeline-step.completed .step-icon {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}
.timeline-step.completed .step-icon i {
    color: red;
}
.review-content{
  overflow: visible;
}
.order-timeline .timeline-step {
  opacity: 0.5;
  transition: all 0.3s;
}
.order-timeline .timeline-step.completed {
  opacity: 1;
  color: green;
}
.order-timeline .timeline-step.active {
  font-weight: bold;
  color: #ff6600;
}
@media (max-width:320px) {
  .product-list .product-details{
    padding: 3px !important;
  }
  .product-list .product-title{
    font-size: 12px !important;
  }
}
.form-text{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-box-return{
  display: flex; 
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
@media (max-width:767px) {
  .header-box-return{
    flex-direction: column;
    align-items: start;
  }
  .header-box-return p{
   font-size: 14px;
  }
}
.btn-outline-secondary{
  transition: all 0.3s ease-in-out;
}
.btn-outline-secondary:hover{
  background-color: var(--accent-color) !important;
  color: #fff !important;
}
@media (max-width:320px) {
  .cart-price-box{
    padding: 0px;
  }
  .cart .cart-riyal .icon-saudi_riyal{
    font-size: 25px !important;
  }
  .cart .cart-riyal .old-price .icon-saudi_riyal {
    font-size: 17px !important; /* strikethrough: riyal a little bigger */
  }
   .cart .cart-riyal{
    gap: 0px !important;
   }
   .current-price{
    font-size: 13px !important;
    font-weight: 700 !important;
   }
   .cart .cart-items .cart-item .item-total,
   .cart .cart-items .cart-item .item-total .item-subtotal,
   .cart .cart-summary .summary-item .summary-value,
   .summary-item .summary-value {
    font-size: 16px !important;
   }
   .cart .cart-items .cart-item .price-tag .current-price.has-discount {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
   }
   .cart .cart-items .cart-item .price-tag .current-price.has-discount .icon-saudi_riyal {
    font-size: 22px !important; /* discounted price: riyal a little smaller */
   }
   .cart .cart-items .cart-item .price-tag .single-price.current-price .icon-saudi_riyal,
   .cart .cart-items .cart-item .item-total span.icon-saudi_riyal {
    font-size: 25px !important; /* keep ملخص الطلب size; digits stay small */
   }
   .cart .cart-items .cart-item .price-tag .old-price {
    font-size: 0.75rem !important;
   }
   .cart .cart-items .cart-item .price-tag .old-price .icon-saudi_riyal {
    font-size: 17px !important;
   }
   .old-price span{
    margin-right: 0px !important;
   }
   /* Keep cart qty identical to product-details on tiny screens (no stretch/shrink) */
   .cart .cart-items .cart-item .quantity-selector {
    width: auto !important;
    height: 2rem;
    flex-shrink: 0;
   }
   .cart .cart-items .cart-item .quantity-selector .quantity-btn {
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    flex: 0 0 2.5rem !important;
    padding: 0 !important;
   }
   .cart .cart-items .cart-item .quantity-selector .quantity-input {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    flex: 0 0 2.75rem !important;
    padding: 0 !important;
   }
}
.nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.close-nav {
  border: none;
  background: transparent;
  font-size: 27px;
  margin-top: 1px;
  cursor: pointer;
}
.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 0%;
}
@media (max-width:1200px) {
  .navmenu ul li a {
  display: block;
  padding: 14px;
  border-bottom: 1px solid #eee;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight:400;
  transition: 0.3s;
}
}
@media(max-width:767.98px){
  .navmenu ul li a{
    font-size:0.875rem !important;
    font-weight:400 !important;
  }
}
@media(max-width:767.98px){
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-header h6{
    font-size:0.94rem !important;
  }
  .header .main-header .cart-dropdown .cart-dropdown-menu .dropdown-header h6 #cart-count-header{
  font-size: 0.8125rem !important;
}
}
@media (max-width: 767.98px) {

  .order-item .col-md-2:nth-child(1)::before{
      content:"رقم الإرجاع";
  }

  .order-item .col-md-2:nth-child(2)::before{
      content:"نوع الطلب";
  }

  .order-item .col-md-2:nth-child(3)::before{
      content:"التاريخ";
  }
  .order-item .col-md-2:nth-child(4)::before{
      content:"الحالة";
  }

  .order-item .col-md-3:nth-child(5)::before{
      content:"المبلغ المسترد";
  }

}
.order-item .col-md-3,.order-item .col-md-2{
  font-size:14px !important
}
@media (max-width: 767.98px){
.account .orders-table {
  overflow: visible;
}
.account .orders-table .table-header{
  display: none !important;
  }
.account .orders-table .order-item .row,
.account .orders-table .order-items .order-item > .row{
    display:flex !important;
    flex-direction:column !important;
    gap:8px;
    padding:0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.account .orders-table .order-item .col-md-3,
.account .orders-table .order-item .col-md-2,
.order-item .col-md-3,.order-item .col-md-2{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    padding:8px;
    font-size:13px !important;
}
.account .orders-table .order-item .col-md-3::before,
.account .orders-table .order-item .col-md-2::before,
.order-item .col-md-3::before,.order-item .col-md-2::before{
    font-size: 0.8125rem;
    font-weight:400;
    color:#666;
}
.account .orders-table .order-item .col-md-3:nth-child(1)::before,
.order-item .col-md-3:nth-child(1)::before{
    content:"الطلب";
}
.account .orders-table .order-item .col-md-3:nth-child(2)::before,
.order-item .col-md-3:nth-child(2)::before{
    content:"التاريخ";
}
.account .orders-table .order-item .col-md-3:nth-child(3)::before,
.order-item .col-md-3:nth-child(3)::before{
    content:"الحالة";
}
.account .orders-table .order-item .totall::before,
.order-item .totall::before{
    content:"الإجمالي" !important;
    font-size: 1rem;
}
.account .orders-table .order-items .order-item .order-products .product-thumbnails .product-thumb {
  flex-shrink: 0;
  object-fit: cover;
}

  /* Mobile: طلباتي summary rows — 14px fields, 15px الإجمالي */
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(1)::before,
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(2)::before,
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(3)::before {
    font-size: 14px !important;
  }
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(1) .order-id,
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(2) .order-date,
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(3) .order-delivery-type,
  #account #orders .orders-table .order-item > .row > .col-md-3:nth-child(3) .order-delivery-type span {
    font-size: 14px !important;
  }
  #account #orders .orders-table .order-item > .row > .col-md-3.totall::before {
    font-size: 15px !important;
  }
  #account #orders .orders-table .order-item > .row > .col-md-3.totall .order-total {
    font-size: 15px !important;
  }

  /* Mobile: المرتجعات summary rows — 14px fields, 15px المبلغ المسترد */
  #account #returns .orders-table .order-item > .row > .col-md-3:nth-child(1)::before,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(2)::before,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(3)::before,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(4)::before {
    font-size: 14px !important;
  }
  #account #returns .orders-table .order-item > .row > .col-md-3:nth-child(1) .order-id,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(2) .badge,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(3) .order-date,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(4) .order-status,
  #account #returns .orders-table .order-item > .row > .col-md-2:nth-child(4) .order-status span {
    font-size: 14px !important;
  }
  #account #returns .orders-table .order-item > .row > .col-md-3:nth-child(5)::before {
    font-size: 15px !important;
  }
  #account #returns .orders-table .order-item > .row > .col-md-3:nth-child(5) .order-total {
    font-size: 15px !important;
  }

  /* Mobile: طلباتي — تفاصيل الطلب align + typography */
  #account #orders .orders-table .order-details .order-details-content .order-details-header,
  #account #orders .orders-table .order-details .order-details-content .order-items-list,
  #account #orders .orders-table .order-details .order-details-content .order-summary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-details-header {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-items-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-items-list .order-item-detail {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row:not(.total),
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row:not(.total) > span:first-child {
    font-size: 14px !important;
    color: #666 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row:not(.total) .account-price {
    font-size: 14px !important;
    color: var(--heading-color) !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row.total > span:first-child {
    font-size: 15px !important;
    color: #666 !important;
  }
  #account #orders .orders-table .order-details .order-details-content .order-summary .summary-row.total .account-price {
    font-size: 15px !important;
    color: var(--heading-color) !important;
  }

  /* Mobile: المرتجعات — تفاصيل المرتجع typography (match تفاصيل الطلب) */
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total),
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) > span:first-child {
    font-size: 14px !important;
    color: #666 !important;
  }
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) .account-price {
    font-size: 14px !important;
    color: var(--heading-color) !important;
  }
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) > span:last-child:not(.account-price) {
    font-size: 14px !important;
  }
  #account #returns .return-details-mobile .return-item-summary .summary-row:not(.return-item-total) > span:last-child:not(.account-price):not([class*="text-"]) {
    color: var(--heading-color) !important;
  }
  #account #returns .return-details-mobile .return-item-summary .return-item-total > span:first-child {
    font-size: 15px !important;
    color: #666 !important;
  }
  #account #returns .return-details-mobile .return-item-summary .return-item-total .account-price {
    font-size: 15px !important;
    color: var(--heading-color) !important;
  }
}

.alert-alert-danger,.alert-alert-warning,.messages.error{
  background-color: red !important;
  color:#fff !important;
}
.alert-success-custom {
   background-color: #22c55e !important;
  color: white !important;
}
.alert-error-custom {
  background-color: #ef4444 !important;
  color: white !important;
} 
@media (max-width: 767px){
  .text-only{
    margin-bottom: 6px !important;
  }
}
.sidebar-filter {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  top: 100px;
}
.accordion-button::after{
  margin-right: auto !important;
  margin-left: unset !important;
  width:14px;
  height:14px;
  background-size: 14px;
}
.sidebar-filter .accordion-item {
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background-color: transparent !important;
}
.sidebar-filter .accordion-button,.filter-box h6 {
  padding: 10px 0px !important;
  box-shadow: none !important;
  background: transparent;
  font-size:0.94rem !important;
  font-weight: 400;
  color: var(--heading-color);
}
@media(max-width:767px){
  .sidebar-filter .accordion-button, .filter-box h6{
    font-size:0.875rem !important;
    padding:13px 0px !important;
  }
}
.sidebar-filter .accordion-button:focus {
  box-shadow: none;
}
.filter-box h6{
  font-size: 1rem !important;
  border-bottom: none !important;
  padding: 15px 0px 0px 0px !important;
}
.accordion-body .form-check{
  display: flex !important;
  align-items: center !important;
  gap: 35px !important;
} 
.accordion-body .form-check-label .icon-saudi_riyal{
  font-size: 21px !important;
  font-weight: 600 !important;
}
.sidebar-filter {
  background: transparent;
  padding: 15px;
  border-radius: 12px;
}
.sidebar-filter h5 {
  font-size:1rem;
  font-weight: 400;
  color:var(--text-color) !important;
  white-space: nowrap;
}
@media (max-width:767px) {
  .sidebar-filter{
    padding:0px 15px !important
  }
  .sidebar-filter h5 {
  font-size:0.94rem;
}
}
.sidebar-filter ul li {
  cursor: pointer;
  padding: 6px 0;
  transition: 0.3s;
}
.sidebar-filter ul li:hover {
  color: #000;
  font-weight: 500;
}
.sidebar-filter ul li.filter-active {
  font-weight: bold;
}
.sidebar-filter .form-check {
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  gap: 35px !important;
}
.sidebar-filter .form-check-input {
  cursor: pointer;
}
.sidebar-filter .form-check-input[type=checkbox]{
  border-radius: 0px !important;
}
.sidebar-filter .form-check-input[type=checkbox]:checked {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
.sidebar-filter .form-check-input[type=checkbox]:focus{
  box-shadow: none !important;
  border-color: var(--accent-color) !important;
}
.price-slider {
  width: 100%;
}
.slider-container {
  position: relative;
  height: 4px;
  background: #ccc;
  border-radius: 10px;
  margin: 15px 0;
  direction: ltr;
  transform: scaleX(-1);
}
.slider-progress {
  position: absolute;
  height: 4px;
  background:var(--accent-color);
  border-radius: 10px;
  left: 0;
  width: 0%;
}
.range-input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  pointer-events: none;
  appearance: none;
  background: none;
}
.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: white;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
}
.price-values {
  font-size: 1.125rem;
  font-weight: 400;
}
.price-slider .price-values .icon-saudi_riyal{
  font-size: 1.7rem !important
}
@media (max-width:767px) {
 .price-slider .price-values .icon-saudi_riyal{
  font-size: 1.5rem !important
}
}
.no-products{
  margin: 40px auto;
}
.no-products p{
  font-size:0.94rem;
  font-weight:400
}
 .no-products .icon-no{
  text-align: -webkit-center;
}
 .no-products .icon-no i{
    align-items: center;
    border-radius: 9999px;
    display: flex;
    height: 7rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 7rem;
    background-color:#f3f4f6;
    font-size: 3rem;
    line-height: 1;
    color: #d1d5db;
}
@media (max-width:767px) {
  .no-products{
    margin: 40px auto ;
  }
  .no-products .icon-no i{
    width:5.5rem;
    height: 5.5rem;
    font-size: 30px !important;
  }
  .no-products p{
  font-size:0.875rem
}
}
#new-address-form textarea#id_additional_info{
  width: 100% !important;
  height: 35%;
}
.settings-content .card {
  border-radius: 8px;
  border:1px solid #cecece;
  padding: 4px 15px;
  position: relative;
  background-color: transparent !important;
}
.head-address {
  font-size: 0.94rem;
  font-weight: 500;
  margin-bottom: 9px;
  line-height: 1.5;
  color: var(--heading-color);
}
@media (max-width:767px) {
  .head-address{
    font-size: 0.875rem;
  }
}
.address-info {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}
.address-info p {
  margin: 0;
  margin-bottom: 4px;
}
.address-info p:last-child {
  margin-bottom: 0;
}
.settings-content .card .card-body{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 0px !important;
}
.btn-light{
  width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}
.btn-light:hover{
  background-color: rgba(0, 0, 0, 0.1) !important;
}
.btn-light i{
  font-size: 16px !important;
}
.btn-light .text-primary{
  color:   #212121 !important;
}
#show-add-address{
  padding: 7px 10px !important;
  margin-top: 20px;
  margin-right: auto;
}
.main-address{
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-top:13px;
  padding: 0.4625rem 1.0625rem !important;
  color: var(--accent-color) !important;
  background-color: #e8f4ff !important;
  border-radius: 1rem;
  border: none;
  transition: all 0.3s ease-in-out;  
}
.main-address:hover{
 color: var(--accent-color) !important;
 background-color: #e8f4ff !important;
}
.address-form textarea#id_additional_info{
  width:100% !important;
  height: 40%;
}
.edit-overlay {
  display: none;
}
@media (max-width:575px) {
  .edit-overlay{
    margin-top:10px;
  }
}
.save-address .btn-primary{
  background-color: var(--accent-color) !important;
  border:none !important;
}
.btn-new-primary{
    display: flex;
    margin-top:13px;
    padding: 0.3025rem 1.0625rem;
    color: var(--accent-color);
    background-color:  color-mix(in srgb, var(--accent-color), transparent 92%);
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 1rem;
    border: none;
    transition: all 0.3s ease-in-out;
}
.btn-new-primary:hover,.btn-new-primary:focus{
    color: var(--accent-color) !important;
    background-color:  color-mix(in srgb, var(--accent-color), transparent 92%) !important;
}
@media(max-width:767px){
  .main-address ,.btn-new-primary{
    font-size:0.8125rem !important;
  }
}
.search-content{
  position: relative;
}
.search-content .no-products{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px auto !important;
}
@media (max-width:992px) {
  .search-content .no-products{
    position: unset;
    transform: unset;
    margin: 100px 0px !important;
  }
}
.mobile-filter-btn {
    display: flex;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    color: #494545;
    color: #111827;
    width: fit-content;
    gap: 5px;
    position: relative;
    margin: 15px 0px 0px;
    z-index: 99;
    background-color: transparent !important;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, .06); */
    /* border: 1px solid #9ca3af !important; */
    /* color: #1F2937; */
    border: 1px solid #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}
.mobile-filter-btn i{
  color:var(--accent-color);
}
.btn-seacrh{
  margin: 15px 10px;
}
.phone-search{
  max-width: 40%;
}
.phone-search .offcanvas-body{
  flex-grow: unset;
  margin-top: -30px;
  z-index: -1;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .phone-search .offcanvas-body {
    margin-top: 0 !important;
    z-index: 0 !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding-top: 0 !important;
  }
  .phone-search .offcanvas-header {
    position: relative;
    display: block !important;
    align-items: unset !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
  }
  .phone-search .offcanvas-title {
    margin-top: 30px !important;
  }
}
/* 767px only — sits between mobile (≤766) and tablet (≥768) breakpoint gap */
@media (min-width: 767px) and (max-width: 767.98px) {
  .phone-search .offcanvas-body {
    margin-top: 0 !important;
    z-index: 0 !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding-top: 0 !important;
  }
  .phone-search .offcanvas-header {
    position: relative;
    display: block !important;
    align-items: unset !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
  }
  .phone-search .offcanvas-title {
    margin-top: 30px !important;
  }
}
main{
  min-height:30vh;
}
@media (max-width:575px) {
main{
  min-height: unset;
}
.phone-search{
  max-width: 70.5%;
}
}
.phone-search .offcanvas-body .accordion-body{
  padding-right:0px !important;
}
@media(min-width:992px) and (max-width:1024px){
main {
  min-height:50vh;
}
}
.reset-btn-container{
  margin-top:0px !important;
}
@media(max-width:767px){
  .reset-btn-container{
    margin-top:0px !important;
  }
}
.accordion-body .form-check-label{
  text-wrap: nowrap;
  font-size:0.85rem !important;
  font-weight:400 !important
}
.accordion-body .form-check-label span{
  margin-right: 2px;
}
@media(min-width:768px){
  .box-two-phone{
  margin-right:13%
}

}

@media (max-width:768px) {
   .single-price{
    margin-left: 0px !important;
  }  
}
@media (max-width:767.98px) {
.cart .cart-items .cart-item .product-info .product-details .product-title ,.order-details-content .title-name ,.products-table .title-name{
  margin-bottom: 0px !important;
  text-align: right;
  /* white-space: nowrap; */
}
.cart .btn-done{
  padding: 10px 20px !important;
} 
}
.mega-menu-parent {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 100%;
  right: -10px;
  width: 200px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: none;
  z-index: 999;
}
.mega-menu-parent:hover .mega-menu {
  display: block;
}
.mega-container {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 10px;
}
.menu-link{
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 14px;
  border-radius:6px;
  transition:0.3s;
}
.menu-arrow{
  font-size:0.8125rem;
  font-weight:500;
  transition:0.3s;
}
.mega-column h6 .sub-link {
  font-size:0.875rem !important;
  font-weight: 400;
  padding: 8px 5px;
  margin-bottom: 0px !important;
  transition: all 0.3s ease-in-out;
}
@media(max-width:757px){
  .mega-column h6 .sub-link{
    font-size:0.8125rem
  }
}
.mega-column h6:hover{
  background-color: #f2f2f2;
}
.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-column ul li {
  margin-bottom: 8px;
}
.mega-column ul li a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}
.mega-column ul li a:hover {
  color: var(--main-color);
}
.menu-toggle{
  font-size:1rem;
  font-weight:400;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
@media(max-width:1024px){
  .mega-menu{
    position: static;
    width: 100%;
    box-shadow: none;
    display: block; 
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .mega-menu-parent.submenu-open .mega-menu{
    max-height: 500px;
  }
  .mega-menu-parent a{
    display: flex !important;
  }
  .menu-toggle{
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 400;
  }
  .menu-arrow{
    background-color: transparent !important;
    transform: rotate(90deg);
  }
}
@media(max-width:767px){
  .menu-toggle{
    font-size:0.875rem !important;
    font-weight:400 !important;
    padding:14px !important;
  }
}
#loginModal .modal-dialog .modal-header .btn-close ,#verifyEmailChangeModal .modal-dialog .modal-header .btn-close ,#completeProfileModal .modal-dialog .modal-header .btn-close ,#verifyPhoneChangeModal .modal-dialog .modal-header .btn-close{
  top:1.75rem;
}
#verifyEmailChangeModal .register .registration-form-wrapper ,#completeProfileModal .register .registration-form-wrapper ,#verifyPhoneChangeModal .register .registration-form-wrapper{
  padding:0px 12px !important;
}
.modal-dialog .modal-header{
  justify-content: space-between;
  border-bottom:none !important;
}
.modal-dialog .modal-header .btn-close{
  border-style: none;
  cursor: pointer;
  position: absolute;
  left:10px;
  width: 1.75rem;
  z-index: 10;
  background-color:transparent !important;
}
.modal-dialog .modal-header .btn-close i{
  font-size: 26px !important;
  display: flex;
  align-items: center;
}
.modal-dialog .modal-header .btn-close:focus{
  outline: none !important;
  box-shadow: none !important;
}
.modal-dialog .modal-footer{
  border-top: none !important;
}
/* Address delete confirm: إلغاء + حذف identical size on all screens */
.account [id^="deleteModal"] .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.account [id^="deleteModal"] .modal-footer form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}
.account [id^="deleteModal"] .modal-footer .btn-sec-cancel,
.account [id^="deleteModal"] .modal-footer .btn-danger {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 6px !important;
  border-width: 1px !important;
  min-width: 4.5rem;
  height: auto;
  min-height: 0;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
.modal-dialog .modal-body{
  text-align: center;
}
.cat-name{
  font-size: 1.125rem !important;
}
.cat-name i{
  font-size:1.125rem;
}
.add-review{
  font-size:1.125rem;
  font-weight:500;
}
@media (max-width:767px) {
.info-pro{
  font-size:0.94rem !important;
}
.add-review{
  font-size:1rem;
}
.cat-name{
  font-size: 1rem !important;
  margin-bottom:0px !important
}
.cat-name i{
  font-size:1.1rem
} 
}
#deleteProfileImage{
    height: 30px;
    font-size: 12px ;
    white-space:nowrap;
}

i, .bi {
  font-family: var(--sub-font) !important;
}
.icon{
  font-family: var(--sub-font) !important;
}
.no-order .icon-no i{
  font-family: "Font Awesome 6 Free" !important;
}
.product-brand{
  display: contents;
  font-size:0.875rem;
}
@media(max-width:767px){
.product-brand{
  font-size:0.8rem;
}
}
@media (max-width: 576px) {
.product-list .product-card{
  min-height: 300px; 
}
.product-list .product-image{
  height: 200px !important; 
}
}
.user-div {
  display: block;
  margin-bottom: 1.25rem;
  padding: 0;
  text-align: center;
}
.user-div .bi-person{
    font-size: 24px;
    align-items: center;
    border: 1px solid #9ca3af;
    color:#9ca3af;
    border-radius: 9999px;
    display: inline-flex;
    height: 5rem;
    justify-content: center;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    width: 5rem;
}
.user-div .person-box {
  margin-top:15px
}
@media(max-width:767px){
  .user-div .person-box{
  display: flex;
  align-items: center;
  gap:10px;
  margin-bottom:5px;
}
.user-div .person-box .bi-person{
  font-size: 20px;
  height: 3.5rem;
  width: 3.5rem;
  margin-bottom: 0.5rem;
}
}
.login-code p{
  color: gray !important;
}
#login _container.scss , #login .container{
  padding-left: 0 !important;
  padding-right: 0  !important;
}
#login #login-login-email {
  text-align: right !important;
}
#emailLogin{
    text-align: right !important;
    margin-bottom: 1.8rem !important;
}
#loginModal .modal-content,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content ,#verifyPhoneChangeModal .modal-content{
  padding:1.5rem;
  max-width: 400px !important;
  width:400px;
  height: 490px !important;
  margin: 0px auto !important ;
}
#completeProfileModal .modal-content{
  height:590px !important;
}
#completeProfileModal {
  z-index: 1055;
}
.modal-backdrop[data-complete-profile-backdrop],
body:has(#completeProfileModal.show) > .modal-backdrop {
  opacity: 0.5 !important;
  background-color: #000 !important;
  z-index: 1050;
}
@media(max-width:767px){
 #loginModal .modal-content,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content ,#verifyPhoneChangeModal .modal-content{
    position: absolute;
    bottom:0px;
    height: unset !important;
    padding:0px !important;
  }
}
#login , #register{
  padding: 0 !important;
}
#loginForm{
  padding:5px;
}
.input-group-text{
  background-color: transparent !important;
}
#login .col-lg-12 {
  width: 97% !important;
}
#loginModal .modal-body ,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-body,#verifyPhoneChangeModal .modal-content {
  padding: 0px 0px 20px 0px !important;
}
.alert-text{
  text-wrap: wrap !important;
}
#resendBtn{
  color:#000 !important;
}
#related-products,
.product-reviews,
.review-form-container{
  margin-top:30px;
}
@media (max-width:768px){
#related-products,
.product-reviews,
.review-form-container{
  margin-top:20px;
}
.product-details .product-details-accordion .accordion-item .accordion-header .accordion-button{
  height:50px;
}
#reviewsContent{
  display: flex;
  flex-direction: column;
}
  .product-details .product-details-accordion .accordion-item:last-child{
    margin-top:-3rem !important;
    margin-bottom:2rem !important;
  }
}

/* Equal regular space above & below أضف تقييمك (all screens) */
.product-details .product-reviews .testimonials .swiper-wrapper {
  margin-bottom: 0 !important;
}
.product-details .product-reviews .testimonials .swiper {
  padding-bottom: 8px !important;
  margin-bottom: 0 !important;
}
.product-details .product-reviews .testimonials .swiper-pagination {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}
.product-details .product-reviews #testimonials.testimonials.section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.product-details .review-form-container {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.product-details .review-form-container .product-details-accordion > .accordion-item,
.product-details .review-form-container .product-details-accordion > .accordion-item:last-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.product-details .review-form-container .section-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.product-details .review-form-container .section-title h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.product-details .review-form-container ~ #related-products {
  margin-top: 24px !important;
  padding-top: 0 !important;
}
/* Expanded: equal tight gap — أضف تقييمك → stars → ملخص تقييمك */
.product-details .review-form-container .review-form-collapse {
  margin-top: 12px !important;
}
.product-details .review-form-container .review-form {
  margin-top: 0 !important;
}
.product-details .review-form-container .review-form .rating-select {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
.product-details .review-form-container .review-form .box-rate {
  margin-bottom: 0.5rem !important;
}
.product-details .review-form-container .review-form .text-start {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.product-details .review-form-container .review-form .btn-primary {
  margin-top: 0 !important;
}
@media (max-width: 767.98px) {
  /* Mobile: a little more space above أضف تقييمك (review box → title) */
  .product-details .review-form-container {
    margin-top: 32px !important;
  }
  .product-details .review-form-container .review-form-collapse {
    margin-top: 12px !important;
  }
  .product-details .review-form-container .review-form .rating-select {
    margin-bottom: 12px !important;
  }
}
@media (min-width: 768px) {
  /* Desktop/tablet: a little more space below أضف تقييمك → قد يعجبك أيضاً */
  .product-details .review-form-container ~ #related-products {
    margin-top: 36px !important;
  }
}
@media (max-width: 768px) {
  .product-details .review-form-container .product-details-accordion > .accordion-item:last-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
 .login-code .opt-p strong{
  display:flex;
  justify-content: center;
  margin: 5px auto;
  color:#000;
 }
 @media (max-width: 767px) {
  #loginModal {
    padding: 0 !important;
  }
.login-code .opt-p strong{
   margin: 7px auto;
   font-size:14px !important
}
  #loginModal .modal-dialog ,#verifyEmailChangeModal .modal-dialog ,#completeProfileModal .modal-dialog ,#verifyPhoneChangeModal .modal-dialog {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 100%;
    display: flex;
    align-items: flex-end !important; 
  }
  #loginModal .modal-content ,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content ,#verifyPhoneChangeModal .modal-content {
    width: 90% !important;
    max-width: 100% !important;
    margin: 0px auto !important;
    border: 0;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  #loginModal .modal-body,
  #loginModal .modal-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  #loginModal .registration-form-wrapper,
  #loginModal .user-div,
  #loginModal form,
  #loginModal .container,
  #loginModal .row,
  #loginModal [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left:auto;
    margin-right:auto;
    padding:0px 10px;
  }
  #loginModal .container,
  #loginModal .row,
  #loginModal [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width:575px) {
  #loginModal .modal-content ,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content ,#verifyPhoneChangeModal .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
}
#user-div-otp{
  margin-top: 15px !important;
}
#deleteModal56 .modal-content{
 height: 200px !important;
}
#deleteAccountModal .modal-dialog{
  max-width:100%;
}
#deleteAccountModal .modal-title{
  margin-top: 15px;
  color: var(--text-color) !important;
}
#deleteAccountModal .modal-content{
  width: max-content;
  margin: 0px auto;
  max-width: 100%;
}
#deleteAccountModal .modal-body {
  color: var(--heading-color) !important;
}
#deleteAccountModal .modal-body p{
  color: var(--heading-color) !important;
  white-space:nowrap;
  font-size: 0.875rem;
  font-weight:400;
  margin-top: -20px;
  margin-bottom: 0px !important;
}
#deleteAccountModal .modal-dialog .modal-header .btn-close i{
  position: absolute;
  top: -10px;
  left: 0px;
}
@media (max-width:767px) {
  #deleteAccountModal .modal-body p{
    font-size:0.8125rem;
    white-space:unset;
    text-align: right !important;
  }
}
#deleteModal .modal-title{
  margin-top: 10px;
}
#completeProfileForm{
  padding:0px 10px !important;
}
.submenu-screen{
  display: none;
}
.settings-content .modal-title{
  margin-top: 15px;
  font-size:1.125rem;
  font-weight: 400;
}
.settings-content .modal-dialog .modal-header .btn-close i{
  position: absolute;
  top:-12px;
  left:0px;
}
@media(max-width:767px){
  .settings-content .modal-title{
    font-size:1rem
  }
  .settings-content .modal-dialog .modal-header .btn-close i{
    top: -12px;
    left:0px;
  }
  #deleteModal6 .modal-dialog .modal-header .btn-close i{
    top:-10px;
    left:0px
  }
}
.settings-content .modal-dialog .modal-body{
  font-size: 14px;
  font-weight: 400;
  margin-top: -20px;
  margin-bottom: 0px !important;
  text-align: unset  !important;
}
@media (max-width: 1024px){
  .submenu-screen{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    transform: translateX(100%);
    transition: .3s ease;
  }
  .submenu-screen.active{
    transform: translateX(0);
  }
}
.submenu-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:15px;
  border-bottom:1px solid #eee;
}
.submenu-title{
  margin:0;
  font-size:0.875rem;
  font-weight:400;
}
.back-btn{
  background:none !important;
  border:none;
  font-size:18px;
  cursor:pointer;
}
.back-btn i{
  background:none !important;
  color:#000 !important;
  font-size: 0.8125rem !important;

}
#addressModal .modal-content{
  padding:10px;
}
#addressModal .modal-title{
  color: var(--text-color);
}
#addressModalForm{
  border:none !important;
}
#addressModalForm label{
  color: var(--heading-color);
}
#addressModalForm select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 12px 10px;
  padding-left: 2rem !important;
  padding-right: 0.875rem !important;
  direction: rtl;
  text-align: right;
}
#addressModalForm select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 12px 10px;
}
.btn-danger,.btn-success,.btn-accent{
    padding: 0.4652rem 23px !important;
    border-radius: 6px !important;
    font-weight: 400 !important;
    font-size: 0.8125rem !important;
    transition: all 0.3s ease-in-out;
}
.btn-danger:hover,.btn-success:hover,.btn-accent:hover{
transform: translateY(-2px);
}
.btn-accent,.btn-sec-cancel{
  padding:0.563rem 0.875rem !important; 
}
.btn-sec-cancel{
  transition: all 0.3s ease-in-out;
  color: #6c757d !important;
}
.btn-sec-cancel span {
  color: inherit !important;
}
.btn-sec-cancel:hover{
  transform: translateY(-2px);
}
@media(max-width:767px){
  .btn-accent,.btn-sec-cancel{
   padding:0.45rem 0.75rem !important;
  }
}
.btn-sec-cancel,
.btn-sec-cancel:active,
.btn-sec-cancel:focus,
.btn-sec-cancel:hover {
  background-color: transparent !important;
  color: #6c757d !important; 
  border-color: #6c757d !important;
  box-shadow: none !important;
  outline: none !important;
}
.btn-sec-cancel:active{
  color:red;
}
/* .form-control{
  padding: 8px 14px !important;
  font-weight: 400 !important;
  border: 1px solid #e5e7eb;
  border-radius: 6px !important;
} */
.invalid-feedback{
  display: flex !important;
  margin-left: auto;
  font-size: 0.625rem !important;
}
@media (max-width: 767px){
  .invalid-feedback{
    font-size: 0.75rem !important;
    margin-top: 8px !important;
  }
}
.icon-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 700;
    display: inline-flex;       
    justify-content: center;    
    align-items: center;        
    width: 40px;                
    height: 40px;              
    background-color: rgb(243 244 246/var(--tw-bg-opacity,1));
    color: #000;                
    border-radius: 50%;         
    padding: 8px;              
    font-size: 20px;            
    cursor: pointer;           
    transition: background 0.3s, transform 0.2s; 
    z-index: 99;
}
@media(max-width:767px){
  .icon-circle{
    position: relative;
    top: 12px;
    right: 8px;
  }
}
.drift-zoom {
  cursor: pointer !important;
}
.tax-info{
  display: flex;
  flex-direction: column;
}
.tax-info h6{
  text-align: right;
  font-size:12.5px !important;
  font-weight: 400;
  color:var(--footer-color) !important;
}
.btn-reset{
  text-align: left;
  font-size: 0.8125rem;
  padding-left:0px;
  border:none !important;
  transition: none !important;
  text-wrap: nowrap;

}
.btn-reset:hover,
.btn-reset:focus,
.btn-reset:active{
  outline: none !important;
  border:none !important;
}
.btn-reset i{
  font-size: 0.8125rem !important;
  -webkit-text-stroke: 0.3px currentColor;
}
.head-title-filter{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding-bottom:10px;
}
.offcanvas-title{
  width:100%;
  margin-top:40px !important;
}
@media (max-width: 767px){
  .btn-reset{
    font-size: 0.8125rem !important;
  }
  .filter-phone{
    /* padding-right:2rem; */
    flex-direction: column-reverse;
    justify-content: flex-end;
    display: flex;
    gap:5px;
    margin-top:0px !important;
  }
}
.address-modal{
  margin-top:0px !important;
  border:none;
  background: transparent;
  margin-bottom: 15px !important;
  font-size: 0.94rem !important;
  color: var(--accent-color) !important;
  display: flex;
}
.btn-success.address-modal:hover,
.btn-success.address-modal:focus,
.btn-success.address-modal:active{
  border:none !important;
  background: transparent !important;
  transform:unset !important;
  color: var(--accent-color) !important;
  border-color: transparent !important;
}
.save-address{
  color:var(--accent-color);
  border:1px solid color-mix(in srgb, #212529, transparent 80%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 110px;
}
#addressModalForm .save-address.is-loading {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  pointer-events: none;
}
#addressModalForm .save-address.is-loading .btn-spinner {
  display: inline-block !important;
  margin: 0 !important;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}
#addressModalForm .save-address.is-loading .btn-label:empty {
  display: none;
}
.btn-success:hover{
  background-color: transparent !important;
  color: #198754 !important;
  border-color: #198754 !important;
}
.address-modal i{
  font-size: 1.1rem !important;
  margin-left: 3px;
  color: var(--accent-color) !important;
}
.complete-payment-btn{
  display: block !important;
  border:1px solid  color-mix(in srgb, #212529, transparent 80%) !important;
  background-color: transparent !important;
  color: var(--accent-color) !important;
  padding: 7px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  min-height: 0 !important;
  height: auto !important;
  width: fit-content !important;
  border-radius: 6px !important;
  transition: all 0.3s ease-in-out;
}
.complete-payment-btn i {
  font-size: 16px !important;
  margin-left: 5px !important;
}
@media (max-width: 767.98px) {
  .complete-payment-btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
  }
}
.complete-payment-btn:hover{
  color:#198754 !important;
  border-color:#198754 !important;
}
@media(max-width:767px){
  .address-modal{
    font-size: 0.875rem !important;
    margin-bottom:17px !important
  }
  .address-modal i{
  font-size: 1rem !important;
}
}
.btn-header{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: calc(100% - 1.25rem);
  max-width: 100%;
  margin: 0 0.625rem 1rem;
  padding: 8px 0.875rem;
  font-family: var(--default-font);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--heading-color) !important;
  background-color: var(--surface-color) !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%) !important;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 99;
}
.btn-header:hover,
.btn-header:focus,
.btn-header:focus-visible,
.btn-header:active {
  color: var(--heading-color) !important;
  background-color: color-mix(in srgb, var(--heading-color), transparent 97%) !important;
  border-color: color-mix(in srgb, var(--heading-color), transparent 70%) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  outline: none;
}
.btn-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 94%);
}
.btn-header-icon i,
.btn-header i {
  margin: 0;
  padding: 0;
  font-size: 1.125rem !important;
  line-height: 1;
  color: var(--heading-color) !important;
}
.btn-header-label {
  flex: 1;
  text-align: right;
  color: var(--heading-color);
}
.btn-header-chevron {
  flex-shrink: 0;
  font-size: 0.8125rem !important;
  color: color-mix(in srgb, var(--heading-color), transparent 45%) !important;
}
.ratingValue{
  background-color: #f5f5f5 !important;
  padding: 8px 16px !important;
  font-weight: 400 !important;
  border-radius:6px;
  color: #000000 !important;
}
.ratingValue:empty {
  display: none !important;
}
.cart-summary .payment-medthos-cart ,.secure-checkout .payment-medthos-cart{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}
.form-control.is-invalid {
  background-position: left 0.75rem center !important;
}
.contanier-failed-pay{
  margin-top:150px !important;
  margin-bottom:70px !important
}
.contanier-failed-pay .text-danger{
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.contanier-failed-pay .text-muted{
  font-size: 1rem;
  font-weight: 400 !important;
  color: var(--heading-color) !important;
}
.contanier-failed-pay .customer-support .help-text {
  color: var(--heading-color);
}
@media(max-width:767px){
.phone-search .offcanvas-body {
  z-index: 0 !important;
}
.phone-search .btn-close{
 font-size:0.8125rem;
 margin-top:1px;
 position: relative;
 right: 95%;
 top: -50px;
}
.offcanvas-header{
  position: relative;
  display: block !important;
  align-items: unset !important;
  margin-bottom:20px;
}
.offcanvas-title{
  margin-top:30px
}
.contanier-failed-pay{
  margin-top:200px !important
}
.contanier-failed-pay .text-danger{
  font-size: 1.1rem
}
.contanier-failed-pay .text-muted{
  font-size:0.875rem !important;
  padding: 0px 20px;
}
.contanier-failed-pay .failed-pay-actions{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.contanier-failed-pay .failed-pay-actions .customer-support{
  width: max-content;
  max-width: 100%;
}
.contanier-failed-pay .failed-pay-actions .customer-support .help-text{
  margin-bottom: 0;
}
.contanier-failed-pay .action-buttons{
  display: flex !important;
  /* Let help-text define wrapper width; stretch buttons to match */
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
  padding-inline: 0;
  gap: 0.75rem !important;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 1.25rem !important;
}
.contanier-failed-pay .action-buttons .btn,
.contanier-failed-pay .action-buttons .btn.success-pay,
.contanier-failed-pay .action-buttons .btn-outline-danger{
  flex: 1 1 0;
  width: auto !important;
  max-width: none;
  min-width: 0 !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  white-space: nowrap;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
}
.input-phone-login{
  border:1px solid  color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px !important;
}
.input-phone-login span{
  border:none !important;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 80%) !important;
}
.input-phone-login input{
  border:none !important;
}
.complete-payment-btn:hover{
  background-color: transparent !important;
  color:#198754 !important;
  border-color:#198754 !important;
}
@media(min-width:1024px){
  .profile-menu .user-info .user-avatar img{
    width:80px !important;
    height:80px !important;
  }
}
@media (max-width: 800px) {
  .avatar-action {
    width: 17px !important;
    left: 1px !important;
    height: 17px !important;
    top: 41px !important;
    right:42px !important;
    font-size:20px !important;
  }
} 
#search-input-popup .form-control,
#search-input-popup .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid #ced4da !important;
  border-left:none !important;
  border-radius: 10px !important;
  border-bottom-left-radius: 0px !important;
  border-top-left-radius: 0px !important;
}
#search-input-popup input:not(:placeholder-shown) + label {
  display: none;
}
#search-input-popup .search-label{
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight:400;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}
@media (max-width:767px) {
  #search-input-popup.search-form,
  .header .search-form .input-group#search-input-popup,
  #search-input-popup {
    width: 320px !important;
    max-width: 320px !important;
    box-sizing: border-box;
    border-radius: 6px !important;
  }
  #search-input-popup .search-label{
    font-size: 0.75rem !important;
  }
  #search-input-popup .form-control,
  #search-input-popup .form-control:focus {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    line-height: 1.6 !important;
    width: 100%;
    font-size: 0.8125rem !important;
    font-weight: 400;
    min-height: 0 !important;
    height: calc(0.8125rem * 1.6 + 16px + 2px) !important;
    box-sizing: border-box !important;
  }
  #search-input-popup .btn,
  #search-input-popup .search-btn {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    min-width: calc(4.5rem - 6px);
    margin: 0;
    padding: 8px 14px !important;
    line-height: 1.6;
    font-size: 0.8125rem;
    font-weight: 400;
    border: none;
    border-radius: 0 !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
  }
  #search-input-popup .search-btn i {
    font-size: 0.8125rem;
    line-height: 1;
  }
}
 @media(min-width:769px) and (max-width:991px){
  main{
   min-height:42vh;
  }
  .contanier-failed-pay{
    margin-bottom: 0px !important;
  }
}
.account .no-order{
  margin-top:40px !important;
}
.no-order p{
  font-size:0.94rem;
  font-weight:400;
  color:#666666 !important;
}
@media(max-width:767px){
  .account .no-order{
    margin-top:40px !important;
  }
  .no-order p{
    font-size: 0.875rem !important;
  }
}
#search-input-popup .form-control:focus {
  box-shadow: none;
  border-color: #ccc;
}
#search-input-popup .btn {
  outline: none;
  box-shadow: none !important;
}
#subscribe-form .invalid-feedback {
  position:absolute;
  bottom:-25px;
  font-size: 0.8125rem !important;
  right:10px;
  display:none !important;
}
@media (max-width:767px) {
  #subscribe-form .invalid-feedback{
    font-size: 0.65rem !important;
    bottom: -21px !important;
  }
}
#termsModal .modal-title{
  font-weight:400;
  margin-top: 15px;
}
.starter-section p {
  font-size:0.875rem !important;
  font-weight:400 !important;
}
#termsModal  .btn-close{
  color:#000 !important
}
#termsModal  .btn-close i{
  font-size:26px !important;
  position:absolute;
  top:-12px;
  left:0px
}
#termsModal  .btn-dark{
  padding: 0.4652rem 1.0625rem !important;
  border-radius: 6px !important;
  font-weight: 400 !important;
  font-size: 0.8125rem !important;
  transition: all 0.3s ease-in-out;
}
@media(max-width:767px){
  .subcategories-swiper .swiper-slide{
  justify-content: unset !important;
}
}
@media(min-width:768px) and (max-width:991px){
  #loginModal .modal-content ,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content,#verifyPhoneChangeModal .modal-content{
    margin-bottom:250px !important;
}
  .modal-content{
    margin-bottom:250px !important;
}
}
/* iPad: center login modal like desktop (override margin-bottom hack above) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #loginModal .modal-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100% - 1.75rem * 2) !important;
    margin: 0.875rem auto !important;
  }
  #loginModal .modal-content {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  #loginModal.fade .modal-dialog,
  #loginModal.show .modal-dialog {
    transform: none !important;
  }
}
@media(min-width:992px) and (max-width:1024px){
  #loginModal .modal-content ,#verifyEmailChangeModal .modal-content ,#completeProfileModal .modal-content,#verifyPhoneChangeModal .modal-content{
    margin-bottom:350px !important;
}
 .modal-content{
    margin-bottom:350px !important;
}
}
.custom-close-btn {
  position: absolute;
  left: 10px;
  top: 1.75rem;
  width: 1.75rem;
  z-index: 10;
  background-color: transparent !important;
  color: #000;
  outline: none;
  border: none;
  background: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-close-btn i{
  position:absolute ;
  font-size: 26px !important;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .custom-close-btn i {
    top: -12px;
    left: 0px;
  }
}
@media(min-width:1200px){
  .fixed-header-wrapper .container-fluid{
  max-width:1320px !important;
}
}
 .fixed-header-wrapper .announcement-bar .container-fluid{
  margin:3px 0px;
  max-width:100% !important;
  padding-left:0px !important;
  padding-right:0px !important;
 }
 @media(max-width:767.98px){
  /* Keep social icons only under logo — no duplicate block */
  .footer-info-box .social-icons{
    display: flex !important;
  }
  .phone-footer{
    display:flex !important;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
  }
  .phone-footer .social-icons{
    display: none !important;
  }
 }
 @media(min-width:768px){
  .phone-footer{
    display:none;
  }
 }
@media (min-width: 768px) and (max-width: 1024px) {
  .footer .footer-main .footer-widget h4,
  .footer .footer-main .footer-widget h4.footer-toggle {
    font-size: 1.0625rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.55rem !important;
    padding-bottom: 2px !important;
  }
  .footer .footer-main .footer-links a,
  .footer .footer-main .footer-contact .contact-item span,
  .footer .footer-main .footer-contact .contact-item a {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
  }
}
/* .product-row{
  border-bottom:1px solid color-mix(in srgb, var(--default-color), transparent 90%);
} */
/* new checkout */
#branch-grid{
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.branch-info ,.delivery-meta{
  display: flex;
  gap:10px;
}
.delivery-meta #store-city{
  font-size:15px;
  color:#111827;
}
#branch-grid .branch-card-city {
  color: #111827;
}
#branch-grid .branch-card-schedule {
  color: #6b7280;
}
#branch-grid .branch-row-card.is-selected .branch-card-city,
#branch-grid .branch-row-card.is-selected .branch-card-schedule {
  color: var(--accent-color);
}
#store-price {
  color: #374151;
  font-size: 16px;
  font-weight: 500;
}
#store-price .icon-saudi_riyal {
  color: #374151;
  font-size: 25px;
}
.delivery-wrap:has(input[name="delivery_type"][value="store_delivery"]:checked) .delivery-meta #store-city,
.delivery-wrap:has(input[name="delivery_type"][value="store_delivery"]:checked) #store-price,
.delivery-wrap:has(input[name="delivery_type"][value="store_delivery"]:checked) #store-price .icon-saudi_riyal {
  color: var(--accent-color);
}
@media(max-width:767px){
  .delivery-meta #store-city{
  font-size:12.5px;
}
  
}
.branch-row-info{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.icon-branch{
  position: relative;
  width: 44px;
  height: 44px; 
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  
}
.icon-branch i{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color:#6b7280;
}
#branch-grid .branch-row-card.is-selected .branch-option-icon-wrap {
  border-color: var(--accent-color);
}
#branch-grid .branch-row-card .branch-option-icon {
  color: #6b7280;
  transition: color 0.2s ease;
}
#branch-grid .branch-row-card.is-selected .branch-option-icon {
  color: var(--accent-color) !important;
}
#store-meta-card .icon-branch i {
  color: #6b7280 !important;
}
.delivery-wrap:has(input[name="delivery_type"][value="store_delivery"]:checked) #store-meta-card .icon-branch i {
  color: var(--accent-color) !important;
}
.branch-row-name{
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  line-height: 1.2;
}
.branch-row-tag{
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
  opacity: .95;

}   
.branch-row-tags .branch-row-tag {
  font-size: 16px;
  font-weight: 400;
  color: #111827;
}
.branch-row-tags .branch-row-tag i{
  margin-left:5px;
}
#payment-step-frame{
  width: 100%;
  height: 0;
  min-height: 0 !important;
  border: 0;
  overflow: hidden !important;
  background: transparent !important;
  display: none;
  vertical-align: top;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
@media(max-width:767px){
  .branch-row-tags .branch-row-tag{
    font-size: 13px !important
  }
  #payment-step-frame{
    min-height: 0 !important;
  }
}
.text-center #countdown ,.text-center .change-otp-countdown{
  font-size:14px !important;
  font-weight:500 !important;
}
/* category swiper */
.subcategories-swiper .category-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subcategories-swiper .category-img-wrapper img.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.subcategories-swiper .category-name {
  margin-top: 6px;
  font-size: 0.875rem;
  color: #333;
  font-weight: 400;
  display: block;
  text-align: center;
}
@media(max-width:767px){
  .subcategories-swiper .category-name{
    font-size:0.8125rem;
  }
}
.subcategories-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}
.delivery-wrap {
   direction: rtl; 
}
.delivery-section-label {
   font-size: 12px; 
   font-weight: 600; 
   text-transform: uppercase;
   letter-spacing: .06em; 
   color: #9ca3af; 
   margin-bottom: 1rem;
}
.shipping-options {
   display: flex; 
   gap: 10px; 
}
.delivery-option-card {
   flex: 1;
   display: flex;
   flex-direction: column; 
   align-items: center; gap: 8px;
   padding: 16px 10px 14px; 
   border: 1.5px solid #e5e7eb;
   border-radius: 6px;
   background: #fff; 
   cursor: pointer; 
   position: relative;
   transition: border-color .18s, background .18s, box-shadow .18s;
}
.delivery-option-card input[type=radio] {
  position: absolute;
  opacity: 0; 
  inset: 0; 
  cursor: pointer; 
  width: 100%; 
  height: 100%; 
  margin: 0; 
}
.delivery-option-icon {
  font-size: 24px; line-height: 1;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; border-radius: 50%; transition: background .18s;
  color:#9ca3af;
}
.delivery-option-title { 
   font-size: 12.5px;
   color: #6b7280; 
   text-align: center;
   line-height: 1.35; 
   font-weight: 500; 
}
.delivery-option-card:hover {
   border-color: var(--accent-color); 
   box-shadow: 0 2px 8px rgba(59,130,246,.08); 
}
.delivery-option-card:has(input:checked) {
   border-color: #3b82f6; background: #eff6ff;
   box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.delivery-option-card:has(input:checked) .delivery-option-icon { color: var(--accent-color); }
.delivery-option-card:has(input:checked) .delivery-option-title { color: var(--accent-color); font-weight: 600; }
.delivery-info-box {
    border-radius: 6px;
    background: transparent;
    padding: 1.1rem 1.25rem; margin-bottom: .5rem;
    transition: border-color .2s;
}
.delivery-info-box:focus-within {
   border-color: #93c5fd; 
}
.delivery-box-header {
  display: flex;
  align-items: center; 
  gap: 10px; margin-bottom: 6px; 
}
.delivery-box-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px; background: #eff6ff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.delivery-box-icon-wrap i { font-size: 17px; color: #9ca3af; }
.delivery-box-title { font-size: 14px; font-weight: 600; color: #111827; }
.delivery-box-sub { font-size: 12.5px; color: #9ca3af; margin: 0; padding-right: 46px; }
.delivery-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1rem; }
.delivery-meta-card {
     background: transparent; border: 1px solid var(--accent-color); border-radius: 6px; padding: 10px 14px;
}
.delivery-meta-card .product-status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f8f6e;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 !important;
  line-height: 1;
  white-space: nowrap;
}
.delivery-meta-card .product-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  background: none;
  border: none;
}
.delivery-meta-card .product-status-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.delivery-meta-card .product-status-text {
  color: #4f8f6e;
  font-size: 13px;
  font-weight: 500;
}
.delivery-meta-key { font-size: 11.5px; color: #9ca3af; display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.delivery-meta-key i { font-size: 13px; }
.delivery-meta-val { font-size: 11px;
    color: #9ca3af;
    margin-top: 5px;
    display: block;
    font-weight: 400;
    opacity: 0.95; }

    .delivery-info-box .form-label { font-size: 12.5px; font-weight: 600; color: #374151; }

    .delivery-wrap .choice-grid {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 10px;
      margin-top: .75rem;
      width: 100% !important;
      box-sizing: border-box;
    }
   

    .delivery-wrap .choice-card {
      border: 1.5px solid #e5e7eb;
      border-radius: 6px;
      padding: 14px 14px 12px;
      cursor: pointer;
      background: transparent;
      direction: rtl;
      position: relative;
      transition: border-color .18s, background .18s, box-shadow .18s;
      min-width: 0 !important;
      width: auto !important;
      box-sizing: border-box;
      display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
    }
    .delivery-wrap .choice-card:hover { border-color: var(--accent-color); box-shadow: 0 4px 14px rgba(59,130,246,.1); }
    .delivery-wrap .choice-card.is-selected {
      border-color: var(--accent-color); background: transparent;
      box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    }
    .delivery-wrap .choice-card.is-selected::after {
      display: none;
    }

    .delivery-wrap .choice-card-icon-wrap {
      font-size: 1.35rem; line-height: 1;
      width: 44px; height: 44px; border-radius: 12px;
      background: #f3f4f6;
      display: flex; align-items: center; justify-content: center;
      transition: background .18s; margin-bottom: 2px;
    }
    .delivery-wrap .choice-card.is-selected .choice-card-icon-wrap { background: #dbeafe; }

    .delivery-wrap .choice-card-name  {
      font-size: 15px; font-weight: 400; color: #111827; line-height: 1.2;
    }
    @media (max-width: 767px) {
      .delivery-wrap .choice-card-name{
        font-size:12.5px
      }
    }
    .delivery-wrap .choice-card-eta {
      font-size: 11px; color: #9ca3af; margin-top: 5px; display: block;
      font-weight: 400; opacity: 0.95;
    }
    .delivery-wrap .choice-card.is-selected .choice-card-name { color: var(--accent-color); }

    .delivery-wrap .choice-card-header {
      display: flex; justify-content: space-between; align-items: flex-start; width: 100%;
    }

    .delivery-wrap .choice-card-price {
      font-size: 16px; font-weight: 500; color: #374151;
      display: flex; align-items: center; gap: 3px; direction: ltr;
    }
    .delivery-wrap .choice-card-price .icon-saudi_riyal {
      font-size: 25px;
      color: #374151;
    }
    .delivery-wrap .choice-card.is-selected .choice-card-price { color: var(--accent-color); }
    .delivery-wrap .choice-card.is-selected .choice-card-price .icon-saudi_riyal { color: var(--accent-color); }
    .delivery-wrap .choice-card-price-label {
      display: block; font-size: 10px; font-weight: 400; color: #9ca3af; text-align: left;
    }

    .delivery-wrap .choice-card-badges { display: flex; flex-wrap: wrap; gap: 5px; }
    .delivery-wrap .choice-badge {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 13px; font-weight: 600; padding: 5px 11px;
      border-radius: 20px; background: #f3f4f6; color: #374151;
    }
    .delivery-wrap .choice-badge i { font-size: 12px; color: #6b7280; }
    .delivery-wrap .choice-card.is-selected .choice-badge { background: #dbeafe; color: var(--accent-color); }
    .delivery-wrap .choice-card.is-selected .choice-badge i { color: var(--accent-color); }

    .delivery-wrap .choice-grid-state {
      grid-column: 1 / -1; text-align: center; padding: 22px 10px;
      font-size: 13px; color: #9ca3af; direction: rtl;
      display: flex; flex-direction: column; align-items: center; gap: 8px;
    }

    .delivery-wrap .choice-grid-state i { font-size: 28px; color: #d1d5db; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .delivery-wrap .choice-grid-state .spinning { animation: spin .8s linear infinite; display: inline-block; }

    #payment-step-container {
      padding: 0px;
      margin-top: 0px;
    }
    .payment-page body{
      /* background-color:transparent !important; */
      background: transparent !important;
    }
  
 #payment-step-frame body{
    background-color: transparent !important;
  }

  
    #payment-loading {
      padding: 40px 20px;
      border-radius: 16px;
    }
    #payment-loading p {
      margin-top: 16px;
      font-size: 15px;
      color: #475569;
    }
    #payment-step-frame {
      width: 100%;
      height: 0;
      min-height: 0 !important;
      background: transparent !important;
      overflow: hidden;
      display: none;
    }
    .checkout .checkout-form[data-form="4"] .payment-step-actions {
      margin-top: 0.5rem !important;
    }
/* Payment iframe page: no header spacer / full-page min height */
html.payment-iframe-html,
body.payment-iframe-body,
body.payment-iframe-body .payment-page,
body.payment-iframe-body .payment-page .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
body.payment-iframe-body .payment-page .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.payment-iframe-body .payment-category {
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.payment-iframe-body .payment-category .methods,
body.payment-iframe-body .payment-category .methodstwo {
  width: 100% !important;
  max-width: 100% !important;
}
body.payment-iframe-body .payment-category .payment-method-btn {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 55px !important;
  min-height: 55px !important;
  max-height: 55px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.payment-iframe-body .payment-category .payment-method-btn::before,
body.payment-iframe-body .payment-category .payment-method-btn::after {
  top: 0 !important;
  bottom: 0 !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
}
@media (max-width: 767px) {
  body.payment-iframe-body .payment-category .payment-method-btn {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }
  body.payment-iframe-body .btn-pay-submit,
  body.payment-iframe-body .stcpay-form .btn-pay-submit {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
body.payment-iframe-body .payment-category .methodstwo {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
body.payment-iframe-body .payment-category .pay-on-door {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
@media (max-width: 575px) {
  body.payment-iframe-body .payment-category .methodstwo {
    grid-template-columns: 1fr !important;
  }
  body.payment-iframe-body .payment-category .pay-on-door {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  body.payment-iframe-body .payment-category .methodstwo {
    grid-template-columns: 1fr !important;
  }
  body.payment-iframe-body .payment-category .pay-on-door {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body.payment-iframe-body .payment-category .methodstwo {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
html.payment-iframe-html::-webkit-scrollbar,
body.payment-iframe-body::-webkit-scrollbar,
body.payment-iframe-body *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
#payment-step-frame,
#payment-step-container #payment-step-frame {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#payment-step-frame::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
    @media (max-width: 575px) {
      .delivery-wrap .choice-grid { grid-template-columns: 1fr !important; }
      .shipping-options { flex-direction: column; }
      .delivery-option-card { padding: 5px; align-items: center; flex-direction: row; }
      .delivery-option-icon { font-size: 18px; width: 35px; height: 35px; }
    }
    @media (min-width: 576px) and (max-width: 767px) {
      .delivery-wrap .choice-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }
    @media (max-width: 767px) {
      .delivery-info-box { padding: 1.1rem 0rem !important; }
      #payment-step-container { padding: 0px !important; }
    }
    #shipping-company-grid {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 10px !important;
    }
    #branch-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 10px !important;
    }
    .branch-row-card {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border: 1.5px solid #e5e7eb;
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
      direction: ltr;
      transition: border-color .2s, background .2s, box-shadow .2s;
    }
    .branch-row-card:hover {
      border-color: #9ca3af;
      box-shadow: 0 2px 10px rgba(0,0,0,.06);
    }
    .branch-row-card.is-selected {
      border-color: var(--accent-color);
      background: #f9fafb;
      box-shadow: 0 0 0 3px rgba(0,0,0,.07);
    }
    .branch-row-radio {
      width: 20px; height: 20px;
      border-radius: 50%;
      border: 2px solid #d1d5db;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s;
    }
    .branch-row-radio::after {
      content: ''; width: 9px; height: 9px;
      border-radius: 50%; background: var(--accent-color);
      display: none;
    }
    .branch-row-card.is-selected .branch-row-radio {
      border-color: var(--accent-color);
    }
    .branch-row-card.is-selected .branch-row-radio::after { display: none; }
    .branch-row-icon {
      width: 44px; height: 44px;
      border-radius: 10px;
      background: #f3f4f6;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; color: #6b7280;
      flex-shrink: 0;
      transition: background .2s, color .2s;
    }
    .branch-row-card.is-selected .branch-row-icon {
      background: color-mix(in srgb, var(--accent-color) 12%, #fff);
      color: var(--accent-color);
    }
    .branch-row-card.is-selected .branch-row-icon i {
      color: var(--accent-color) !important;
    }
    .branch-row-info {
      flex: 1;
      min-width: 0;
      text-align: right;
    }
    .branch-row-name {
      font-size: 14px;
      font-weight: 700;
      color: #111827;
      line-height: 1.3;
      margin-bottom: 5px;
    }
    .branch-row-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: flex-end;
    }
    .branch-row-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 9px;
      color: #6b7280;
      border-radius: 20px;
      padding: 3px 9px;
      direction: rtl;
    }
    .branch-row-tag i { font-size: 10px; }
    .branch-row-card.is-selected .branch-row-tag {
      background: #e9eaeb;
      color: #374151;
    }
    /* ── Address Method Toggle ── */
    .addr-method-toggle {
      display: flex; gap: 6px;
      background: #f3f4f6; border-radius: 10px; padding: 4px;
      margin-bottom: 1rem;
    }
    .addr-method-btn {
      flex: 1; display: flex; align-items: center; justify-content: center;
      gap: 7px; padding: 10px 12px; border: none; border-radius: 8px;
      background: transparent; font-size: 13.5px; font-weight: 600;
      color: #6b7280; cursor: pointer;
      transition: background .18s, color .18s, box-shadow .18s;
      white-space: nowrap;
    }
    .addr-method-btn.active {
      background: #fff; color: #111827;
      box-shadow: 0 1px 6px rgba(0,0,0,.10);
    }
    .addr-method-btn i { font-size: 16px; }

    /* ── Checkout Map Panel ── */
    #map-addr-panel { direction: rtl; }
    #co-map-wrap {
      border-radius: 12px; overflow: hidden;
      border: 1.5px solid #e5e7eb; position: relative;
    }
    #checkout-map { height: 300px; width: 100%; background: #eee; }
    #co-gps-btn {
      position: absolute; bottom: 12px; right: 12px; z-index: 1000;
      background: #fff; border: 1.5px solid #d1d5db; border-radius: 8px;
      padding: 7px 12px; font-size: 13px; font-weight: 600; color: #374151;
      cursor: pointer; display: flex; align-items: center; gap: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,.14);
      transition: background .15s, box-shadow .15s;
    }
    #co-gps-btn:hover { background: #f9fafb; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
    #co-gps-btn:disabled { color: #9ca3af; pointer-events: none; }
    .co-map-hint {
      background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 9px;
      padding: 9px 13px; margin-bottom: 10px;
      font-size: 12.5px; color: #1d4ed8; display: flex; align-items: center; gap: 8px;
    }
    .co-map-hint i { font-size: 15px; flex-shrink: 0; }
    .co-map-picked {
      background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
      padding: 10px 14px; margin-top: 10px;
      font-size: 13px; color: #166534;
      align-items: flex-start; gap: 8px; display: none;
    }
    .co-map-picked.show { display: flex; }
    .co-map-picked i { font-size: 16px; margin-top: 1px; flex-shrink: 0; }
    #co-apply-btn {
      background: #111827; color: #fff; border: none; border-radius: 8px;
      padding: 11px 20px; font-size: 14px; font-weight: 600; width: 100%;
      margin-top: 10px; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: background .15s; opacity: .45; pointer-events: none;
    }
    #co-apply-btn.ready { opacity: 1; pointer-events: auto; }
    #co-apply-btn.ready:hover { background: #1f2937; }

/* product-details — even vertical rhythm between إضافة الخيار / اللون / المقاس / وصف المنتج */
.product-variants {
    margin-top: 16px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Slightly tighter only when إضافة الخيار is showing */
#extra-price-badge:not(.d-none) + .product-short-description > .product-variants {
  margin-top: 10px;
}
.variant-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


  .variant-group-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    direction: rtl;
  }

  /* Size chips */
  .variant-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    direction: rtl;
  }

  /* Equal-size grid only for "اختر الخيار" full option buttons */
  .variant-group:has(.full-option-btn) .variant-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .variant-chip-size {
    min-width: 48px;
    height: 40px;
    padding: 0 16px;
    border-radius: 0px;
    border: 1px solid #d3d3d3;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 120ms ease;
    user-select: none;
  }
  @media(max-width:767px){
    .variant-chip-size{
      min-width: 44px;
      height: 36px;
      padding:0px 10px;
    }
  }

  .variant-chip-size:hover:not(.out-of-stock):not(.selected) {
    border-color: #374151;
  }

  .variant-chip-size.selected {
    background: #fff;
    border-color: var(--accent-color);
    border-width: 1px;
    color: var(--accent-color);
    box-shadow: none;
  }

  .variant-chip-size.selected:hover:not(.out-of-stock) {
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
  }

  .variant-chip-size.out-of-stock {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    /* text-decoration: line-through; */
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
    overflow: hidden; /* keep hash inside any button size */
  }
  .variant-chip-size.out-of-stock::after{
    content: '';
    position: absolute;
    inset: 0;
    /* true corner-to-corner diagonal — adapts to any width/height */
    background: linear-gradient(
      to top left,
      transparent calc(50% - 0.75px),
      #6b7280 calc(50% - 0.75px),
      #6b7280 calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
    pointer-events: none;
  }

  .full-option-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: stretch;
    transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
    user-select: none;
    text-align: right;
    white-space: normal;
  }

  .full-option-btn .info-device {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    text-align: right;
  }

  .full-option-btn .opt-line {
    display: block;
    width: 100%;
    text-align: right;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .full-option-btn .opt-name,
  .full-option-btn .opt-colon,
  .full-option-btn .opt-val {
    display: inline;
    color: inherit;
  }

  .full-option-btn .opt-sep {
    display: none;
  }

  .full-option-btn:hover:not(.out-of-stock):not(.selected) {
    border-color: #dee2e6;
    color: #111827;
  }

  .full-option-btn.selected {
    background: transparent;
    border-color: var(--accent-color);
    border-width: 1px;
    color: var(--accent-color);
    box-shadow: none;
  }

  .full-option-btn.selected:hover:not(.out-of-stock) {
    border-color: var(--accent-color);
    border-width: 1px;
    color: var(--accent-color);
    box-shadow: none;
  }

  .full-option-btn.selected .opt-val,
  .full-option-btn.selected .opt-name,
  .full-option-btn.selected .opt-colon,
  .full-option-btn.selected .opt-sep,
  .full-option-btn.selected .info-device {
    color: var(--accent-color);
  }

  .full-option-btn.out-of-stock {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    text-decoration: line-through;
    cursor: not-allowed;
    pointer-events: none;
  }

  @media (max-width: 991px) {
    .variant-group:has(.full-option-btn) .variant-values {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
  }

  /* Always keep each option at half width (1, 3, 5 never stretch full row) */
  .variant-group:has(.full-option-btn) .full-option-btn {
    grid-column: auto;
  }

  @media (max-width: 575px) {
    .variant-group:has(.full-option-btn) .variant-values {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .full-option-btn {
      padding: 11px 14px;
      font-size: 12.5px;
    }
  }

  .variant-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    direction: rtl;
  }

  .color-swatch-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: box-shadow 120ms ease;
    padding: 2px;
    background: transparent;
    box-sizing: border-box;
    box-shadow: none;
  }
  @media(max-width:767px){
    .color-swatch-btn{
      width:28px;
      height:28px;
    }
  }

  .color-swatch-btn .swatch-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.1);
    display: block;
  }
  .color-swatch-btn.selected,
  .color-swatch-btn.selected:focus,
  .color-swatch-btn.selected:focus-visible,
  .color-swatch-btn.selected:active {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
  }

  .color-swatch-btn:hover:not(.selected):not(.out-of-stock) {
    outline: none;
    box-shadow: 0 0 0 2px #9ca3af;
  }

  .color-swatch-btn.selected:hover:not(.out-of-stock) {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
  }

  .color-swatch-btn:focus,
  .color-swatch-btn:focus-visible {
    outline: none;
  }

  .color-swatch-btn.out-of-stock {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
    overflow: hidden; /* keep hash inside the circle */
  }
  .color-swatch-btn.out-of-stock::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* true corner-to-corner diagonal — same approach as size chips */
    background: linear-gradient(
      to top left,
      transparent calc(50% - 0.75px),
      #6b7280 calc(50% - 0.75px),
      #6b7280 calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
    pointer-events: none;
  }
  .extra-price-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
    margin-bottom: 0; /* gap to اللون comes from .product-variants margin-top */
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #555555;
    line-height: 1;
  }
  .extra-price-badge .extra-price-icon {
    font-size: 1.05rem;
    line-height: 1;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 1em;
    width: 1em;
    /* Optical nudge: bi-tag glyph sits slightly high vs Arabic text */
    transform: translateY(0.08em);
  }
  .extra-price-badge .extra-price-icon::before {
    vertical-align: 0;
    line-height: 1;
  }
  .extra-price-badge .extra-price-label {
    color: inherit;
    font-weight: 400;
    font-size: inherit;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
  .extra-price-badge .extra-price-amount {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: inherit;
    font-weight: 400;
    font-size: inherit;
    line-height: 1;
  }
  .extra-price-badge .extra-price-amount #extra-price-value {
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }
  .extra-price-badge .icon-saudi_riyal {
    font-size: 1.25rem !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  @media (max-width: 991px) {
    .extra-price-badge {
      margin-top: 0.4rem;
      margin-bottom: 0;
      font-size: 0.9rem;
    }
    .extra-price-badge .extra-price-icon {
      font-size: 1rem;
    }
    .extra-price-badge .icon-saudi_riyal {
      font-size: 1.2rem !important;
    }
  }
  @media (max-width: 575px) {
    .extra-price-badge {
      margin-top: 0.35rem;
      margin-bottom: 0;
      font-size: 0.875rem;
      gap: 0.3rem;
    }
    .extra-price-badge .extra-price-icon {
      font-size: 0.95rem;
    }
    .extra-price-badge .icon-saudi_riyal {
      font-size: 1.15rem !important;
    }
  }
.qty-control {
  border: 1px solid #d3d3d3;
  border-radius: 0px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  height: 2rem;
  flex-shrink: 0;
  width: auto;
}

.qty-btn {
  width: 2.5rem;
  min-width: 2.5rem;
  max-width: 2.5rem;
  flex: 0 0 2.5rem;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  user-select: none;
  line-height: 1;
}

/* Product details: match أضف إلى السلة (theme accent) */
.product-details .qty-btn {
  color: var(--accent-color);
}

.qty-btn:hover {
  background: #f3f4f6;
  color: #000;
}

.product-details .qty-btn:hover {
  color: var(--accent-color);
}

.qty-btn:active {
  background: #e5e7eb;
  color: #000;
}

.product-details .qty-btn:active {
  color: var(--accent-color);
}

.qty-btn:disabled {
  color: #d1d5db;
  cursor: not-allowed;
  background: transparent;
}

.qty-control .quantity-input {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.75rem;
  box-sizing: border-box;
  height: 100%;
  border: none;
  border-right: 1px solid #d3d3d3;
  border-left: 1px solid #d3d3d3;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-color);
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.qty-control .quantity-input::-webkit-outer-spin-button,
.qty-control .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Keep 1-digit and 2-digit qty widths identical on all product-detail breakpoints */
.product-details .qty-control .quantity-input,
.product-details .product-options .qty-control .quantity-input {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.75rem !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  color: var(--heading-color) !important; /* match "الكمية" label */
}

.product-details .qty-control .qty-btn {
  color: var(--accent-color) !important; /* match أضف إلى السلة */
}

.product-details .qty-control .qty-btn:hover,
.product-details .qty-control .qty-btn:active {
  color: var(--accent-color) !important;
}

/* Disabled look at min (1) / max (stock) — JS already sets disabled */
.product-details .qty-control .qty-btn:disabled,
.product-details .qty-control .qty-btn:disabled:hover,
.product-details .qty-control .qty-btn:disabled:active {
  color: #d1d5db !important;
  cursor: not-allowed !important;
  background: transparent !important;
  opacity: 1;
}

@media (max-width: 1024px) {
  .product-details .qty-control .quantity-input,
  .product-details .product-options .qty-control .quantity-input {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    flex: 0 0 2.75rem !important;
  }
  .product-details .qty-control .qty-btn {
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    flex: 0 0 2.5rem !important;
  }
}

@media (max-width: 767px) {
  .product-details .qty-control {
    height: 2rem;
  }
  .product-details .qty-control .quantity-input,
  .product-details .product-options .qty-control .quantity-input {
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    max-width: 2.75rem !important;
    flex: 0 0 2.75rem !important;
    font-size: 0.875rem !important;
  }
}
 .info-detials .review-rating {
    margin-bottom: 10px;
    font-size: 18px;
  }
.testimonials .info-detials .review-rating {
  margin-bottom: 0;
  font-size: inherit;
  color: inherit;
}
/* Match product-header rating: grey number + gold star */
.product-reviews .testimonials .testimonial-item .rating-value {
  color: #6c757d;
  font-weight: 400;
}
.product-reviews .testimonials .testimonial-item .stars i,
.product-reviews .testimonials .testimonial-item .review-rating .bi-star,
.product-reviews .testimonials .testimonial-item .review-rating .bi-star-fill {
  color: #FFD700 !important;
}
  @media(max-width:767px){
    .product-list .swiper-slide{
      width:200px !important;
    }
     .product-list .category-item{
      width:unset !important;
    }
    .discounts-swiper .swiper-slide,
    .related-products-swiper .swiper-slide {
      width: 100% !important;
    }
    .discounts-swiper .product-card,
    .related-products-swiper .product-card {
      max-width: 280px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  }



.color-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-direction: column;
  padding: 4px 0;
}

.color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid transparent;
  outline: 1px solid #ddd;
  transition: transform 0.15s ease, outline-color 0.15s ease;
  display: inline-block;
}

.color-circle:hover {
  transform: scale(1.15);
  outline-color: #aaa;
}

.color-circle.active {
  outline-color: blue !important;
    outline-width: 2px;

}
/* create-order-page */
.form-container {
      max-width: 400px;
      margin: auto;
      background-color: #f8f9fa;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
/* print-label-page  */
 .label-box {
        border: 2px solid #000;
        width: 700px;
        margin: auto;
        border-radius: 10px;
      }
      .qr {
        text-align: center;
        margin-top: 20px;
      }
      .print-btn {
        margin-top: 30px;
        text-align: center;
      }
      .print-btn button {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 10px;
        background-color: #000;
        color: #ffffff;
        border: none;
      }
      .print-btn i{
        margin-left: 5px;
      }
      .box-heading {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        margin-top: -30px;
      }
      .qr p{
        margin-top: -10px;
      }
      .box-details{
        display: flex;
        align-items: start;
        gap: 70px;
        border-top: 2px solid #000;
      }
      .one{
        border-right: 2px solid #000 ;
      }
      .box-footer{
        border-top: 2px solid #000;
        padding-top: 10px;
        padding-bottom: 10px;
      }
      .box-footer strong{
        margin-right: 10px;
      }
      .barcode{
        text-align: center;

      }
/* request-return */
@media (max-width:575px) {
    .request{
        padding-top: 15px !important;
    }
}
.select-error {
    border-color: red !important;
    background-image: url('data:image/svg+xml,%3Csvg fill="red" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm-.75-4.75h1.5v1.5h-1.5v-1.5zm0-4h1.5v3h-1.5v-3z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}
@media (max-width:767px) {
    .product-reason-select{
        width: 200px !important;
    }
}
/* =========================
   UPLOAD BOX STYLE
========================= */
.upload-box {
    border: 1px dashed #bbb;
    border-radius: 12px;
    height: 180px;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
    text-align: center;
    gap:5px;
}

.upload-box:hover {
    border-color: #212121;
    background: transparent;
}

.upload-icon {
    font-size: 40px !important;
    color: #d8d8da;
    margin-bottom: 8px;
}

.upload-box p {
    margin: 0;
    font-size: 14px;
}
.upload-box small{
    color:rgb(158, 157, 157) !important;
    font-size:13px !important
}
.upload-box.dragover {
    border-color: #198754;
    background: #f0fff4;
}
.limit-image{
 font-size:13px !important;
  color:rgb(158, 157, 157) !important;
}
@media(max-width:767px){
 .upload-box small,.limit-image{
  font-size:12px !important

 }

}
/* base-page */

.leaflet-control-geosearch .reset-button {
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%);
}
.leaflet-control-geosearch form {
  padding-right: 30px !important;
}
.leaflet-control-geosearch form input {
    direction: rtl;
    padding-right: 35px !important;
}
@media (max-width: 767.98px) {
  #box-check > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0 !important;
  }
}
input[type="file"] {
  color: transparent !important;
}
.form-account img{
  display: block !important;
}
input[type="file"]::file-selector-button {
  color: #fff !important;
  background: #000000 !important;
  border: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
}
.col-md-6 > a,
.col-md-6 > span,
.col-md-6 > textnode {
    display: none;
}
label[for="id_profile_picture"]{
    display: block;
}
.custom-file-input{
  margin-top: 5px !important;
}
#profile_picture-clear_id {
    width: 14px;
    height: 14px;
    accent-color: #000000;
    cursor: pointer;
    vertical-align: middle;
}
#profile_picture-clear_id + label {
    font-weight: 500;
    color: #111827;
    margin-left: 8px;
    cursor: pointer;
    user-select: none;
}
#profile_picture-clear_id:checked + label {
    color: #000000;
}
.alert {
  margin-bottom: 12px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  opacity: 1;
  transition: opacity 0.6s ease-out, transform 0.3s ease-in-out;
  animation: fadein 0.4s ease-out, fadeout 0.6s ease-in 4.4s forwards;
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.alert.success {
  background-color: #f6ebf0;
  color: #212529;
  border-left: 5px solid #8c0d4f;
}
.alert.error {
  background-color: red;
  color: #fff;
}
.alert.info {
  background-color: #f6ebf0;
  color: #212529;
  border-left: 5px solid #8c0d4f;
}
.closebtn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  line-height: 1;
}
      @keyframes fadein {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes fadeout {
        to {
          opacity: 0;
          transform: translateY(-10px);
        }
      }
      .fixed-header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
      }
      #header-spacer {
  height: 0;
  width: 100%;
}
      .announcement-bar {
        background-color: #f8f9fa;
        z-index: 1060;
      }

      .main-header {
        z-index: 1055;
      }
      .content-wrapper {
        padding-top: 130px;
      }
      .custom-alert {
        background-color: #f8f0f5;
        color: #8c0355;
        border-right: 5px solid #8c0355;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        border-radius: 0.5rem;
        padding: 0.75rem 1.25rem;
        min-width: 250px;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        animation: fadeIn 0.3s ease-in-out;
      }

      .custom-alert i {
        margin-left: 0.5rem;
        font-size: 1.2rem;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(-6px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

  .marquee {
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 100%;
  white-space: nowrap;
}
.marquee--inner {
  display: flex;
  position: absolute;
  animation: marquee 40s linear infinite;
}
.marquee--inner:hover {
  animation-play-state: paused;
}
.marquee--inner span {
  font-size:15px;
  font-weight:400 !important;
  float: left;
  overflow: hidden;
  margin-right: 2rem;
  color: var(--marquee-text-color);
}
@keyframes marquee {
  0% { right: 0; }
  100% { right: -300%; }
}

@media (max-width: 768px) {
  .marquee--inner {
    animation: marquee 60s linear infinite;
  }
  @keyframes marquee {
    0% { right: 0; }
    100% { right: -900%; }
  }
}
 .col-md-6{
  display: block !important;
 }
 @media (max-width: 767px){
  .marquee--inner span{
    font-size: 14px !important;
  }
 }

.form-check-label{
 cursor: pointer !important;
}
.material-details{
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;

}
.material-details.show {
  max-height: 500px;
  opacity: 1;
}
.material-details span{
  display: flex;
  align-items: center;
  justify-content: space-between;
  color:#929391;
  padding: 5px 10px;

}
.material-details span span{
  color: #212121;
}
.material-details .active{
  background-color: #fafafa;
}
.material-box{
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  transition: all 0.3s ease-in-out;
}
.material-box i {
  transition: transform 0.3s ease-in-out;
}
.material-box.active{
  background-color: #fafafa;
}
.material-box.active i {
  transform: rotate(180deg);
}
.material-box:hover{
  background-color: #fafafa;
}
.weight-dimensions .material-details{
  flex-direction: row;
}
.weight-dimensions .material-details span{
  color: #212121;
}

.location-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  width: 300px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 999;
}
.deliver-btn {
  width: 100%;
  height: 46px;
  border-radius: 6px;
  border: 1px solid #1e9e4fff;
  background: #198754;
  color: white;
  transition: 0.3s;
}
.deliver-btn:hover {
  background: #fff;
  color: #198754;
}
.map-sidebar {
  position: fixed;
  top: 0;
  right: -520px;
  width: 520px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  z-index: 9999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
@media (max-width:575px) {
  .map-sidebar {
    width: 100%;
  }
  #save-location-btn{
    width:100%
  }
}
@media (max-width:375px) {
  .text-success{
    font-size: 10px;
  }
  .location-dropdown{
    right: -100%;
    top: 55px;
  }
   .deliver-btn{
    font-size: 13px;
    padding: 5px 10px;
    height: unset;
    width: 70%;
  }
}
@media (min-width:376px) and (max-width:575px) {
  .text-success{
    font-size: 10px;
  }
  .location-dropdown{
     right: -64%;
    top: 55px;

  }
  .deliver-btn{
    font-size: 13px;
    padding: 5px 10px;
    height: unset;
    width: 70%;
  }
}
.map-sidebar.open {
  right: 0;
}
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}
.map-body {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
}
.map-body input{
  font-size: 13px;
}
@media (max-width:575px) {
  .map-body input{
    font-size: 10px;
  }
}
.deliver-btn, .manual-address {
  cursor: pointer;
}
#direct-location-btn{
  position: absolute;
  top: 90%;
  right: 10px;
  z-index: 9999;
  padding: 6px 12px;
  border-radius: 6px;
}
#map-sidebar {
  z-index: 10000 !important;
}
#close-map{
  background-color: #198754;
  color: #ffffff;
  font-size: 15px;
  border-radius: 10px;
}
.custom-alert {
  width: 100% !important;
  position: relative;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50px) scale(0.9);
  animation: slideIn 0.6s ease forwards;
}
@media (max-width:575px) {
  #messages-container{
    top:100px !important

  }
  .custom-alert{
    font-size: 14px;
  }
}
.alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.message-text{
  text-align: center;
  white-space: nowrap;
}
.circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
}

.circle i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.circle.loading {
  border: 2px solid white;
  background-color: transparent;
  color: transparent;
  animation: spin 1s linear infinite;
}

.circle.success {
  background-color: white;
  color: #22c55e;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: white;
  width: 100%;
  transition: width 3s linear;
}
.main-header{
  background-color: var(--main-header-bg) !important;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-80px) scale(0.9); }
  50% { transform: translateX(10px) scale(1.05); }
  70% { transform: translateX(-5px) scale(1); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}
.container-announcement{
  max-width: 100% !important;
}
.profile-image-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}
.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}
.edit-icon {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: #000000;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;

  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}
label[for="id_profile_picture"]{
    display: block;
    display: flex;
}
.edit-icon i{
  font-size: 16px !important;
}
.custom-file-input{
  display: none !important;
}
.form-check-input:checked{
    background-color: #000000 !important;
    border-color: #000000 !important;
    outline: none !important;
}
.settings-section .form-check {
  display: flex;
     align-items: center;
  gap: 30px;
}
label[for="profile_picture-clear_id"]{
  margin-top: 2px;
}
.profile-image-wrapper{
  display: flex;
  position: relative;
}
.login-switch-links,#resendBtn{
    border: 1px solid #d9d9d9;
    padding: 0.6rem 1rem !important;
    border-radius: 6px;
    width: 100%;
    font-size:0.875rem !important;
    line-height: unset !important;
    transition: all 0.3s ease;
}
#loginModal #loginForm .btn-primary {
  color: var(--contrast-color) !important;
}
#loginModal #otpForm .btn-primary,
#loginModal #otpForm .confirm-btn {
  color: var(--contrast-color) !important;
}
#loginModal .login-switch-links a {
  color: var(--accent-color) !important;
}
#loginModal #countdown .otp-resend-phrase {
  color: #000 !important;
}
#loginModal #resendBtn {
  color: var(--accent-color) !important;
}
.login-switch-links:hover ,#resendBtn:hover{
  transform: translateY(-1px);
}
@media(max-width: 767px){
  .login-switch-links, #resendBtn{
    font-size:0.8125rem !important;
  }
  #resendBtn{
    width:100% !important;
  }
}

@media (max-width: 576px) {
   .dropdown.cart-dropdown .dropdown-menu {
     left: 0 !important;
     right: auto !important;
     transform: none !important;
     width: 280px;
     max-width: calc(100vw - 1.5rem);
     margin-top: 0.5rem;
   }

   .hero .container {
     position: relative;
     z-index: 1;
   }

   .header .header-nav {
     background-color: var(--background-color);
     border-bottom: 1px solid
       color-mix(
         in srgb,
         var(--default-color),
         transparent 90%
       );
     padding: 0 0;
   }
 }
.user-avatar{
  position:relative;
  display:inline-block;
}
.avatar-action{
  position:absolute;
  top:68px;
  left:18px;
  background:#ffffffc4;
  border-radius:50%;
  width:20px;
  height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
  font-size:16px;
}
@media (max-width: 800px) {
  .avatar-action{
    width:16px;
    left:5px;
    height:16px;
    top:32px;
  }}
  .address-modal{
    padding: 7px 10px !important;
    margin-top: 20px;
    margin-right: auto;
  }
  .modal-content .p-3 ,  .modal-content  .border{
    padding: 0 !important;
    border: none !important;
  }
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.check-circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: transparent;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.circle.loading {
  border: 2px solid white;
  background-color: transparent;
  color: transparent;
  animation: spin 1s linear infinite;
}

.circle.success {
  border: 2px solid white;
  background-color: transparent;
  color: white;
}
@keyframes shake {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
 80% { transform: translateY(8px); }
}
.shake {
  animation: shake 0.6s ease;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* index-page */
.product-rating .bi-star-fill,
.product-rating .bi-star-half {
  color: #ffc107;
}
.product-rating .bi-star {
  color: #ddd;
}
/* Only lock overflow — do not use position:fixed (that jumps scroll to top when hamburger opens) */
body.mobile-nav-active,
html.mobile-nav-active {
    overflow: hidden;
    overscroll-behavior: none;
    width: 100%;
}
body.offcanvas-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}
body.mobile-search-open {
    overflow: hidden;
    overscroll-behavior: none;
    padding-right: var(--scrollbar-compensation, 0px);
}
body.mobile-search-open .fixed-header-wrapper {
    padding-right: var(--scrollbar-compensation, 0px);
}
html.mobile-search-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.mobile-panel-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
/* Only lock overflow — do not use position:fixed (that jumps scroll to top when login modal opens) */
body.modal-open-custom {
    overflow: hidden !important;
    overscroll-behavior: none;
    width: 100%;
    padding-right: var(--scrollbar-compensation, 0px);
}
body.modal-open-custom .fixed-header-wrapper {
    padding-right: var(--scrollbar-compensation, 0px);
}
html.modal-open-custom {
    overflow: hidden !important;
    overscroll-behavior: none;
}
input:-internal-autofill-selected{
  background-color:transparent !important
}
.accordion-item:first-of-type .accordion-button{
  margin-top:15px !important;
}
@media(max-width:992px){
  .accordion-item:first-of-type .accordion-button{
  padding-top:0px !important;
  margin-top:0px !important;
}
}
@media(max-width:767px){
  .btn-outline-danger{
    font-size:12px !important;
    padding:6px 14px !important;
  }

}

.grow-item{
    flex-grow: 1;
}

.table-return tbody td ,.table-return thead th{
  background-color: transparent;
}
.table-return tbody td.title-name span{
  font-size:14px !important;
}
@media (max-width: 767px) {

  .table-return thead{
    display:none;
  }

  .table-return tbody tr{
    display:block;
    border:1px solid #eee;
    border-radius:10px;
    margin-bottom:15px;
    padding:12px;
  }
.table-return tbody td.title-name span{
  font-size:13px !important
}
  .table-return tbody td{
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:none
    /* align-items:flex-start; */
    /* gap:10px;
    border:none;
    padding:8px 0;
    text-align:left !important; */
  }

  .table-return tbody td::before{
    font-weight:400;
    color:#666;
    flex-shrink:0;
  }

  /* .table-return tbody td:nth-child(1)::before{
    content:"المنتج";
  } */

  .table-return tbody td:nth-child(2)::before{
    content:"السعر";
    font-size:13px;
  }

  .table-return tbody td:nth-child(3)::before{
    content:"سبب الإرجاع";
    font-size:13px;

  }

  .table-return tbody td:nth-child(4)::before{
    content:"الحالة";
    font-size:13px;

  }

  .table-return tbody td:nth-child(5)::before{
    content:"الإجمالي";
    font-size:15px;

  }

  .table-return tbody td:first-child{
    display:block;
  }

  .table-return tbody td:first-child::before{
    display:block;
    margin-bottom:8px;
  }
  .order-item-new{
    padding:1.25rem 1rem !important
  }
  .footer-page-section{
    padding:15px !important
  }

}
@media (max-width:767.98px){

  #loginModal.fade .modal-dialog,
  #otpModal.fade .modal-dialog{
    transform: translateY(100%);
  }

  #loginModal.show .modal-dialog,
  #otpModal.show .modal-dialog{
    transform: translateY(0);
  }

}
.cart-empty-message{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0px;
}
.cart-empty-message i{
  font-size: 35px;
  border-radius: 50%;
  margin: 15px 0px;
  color: #d1d5db;
  background-color: #f3f4f6;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart-empty-message p{
  margin-bottom:0px !important;
  font-size:14px !important
}
.icon-saudi_riyal::before {
    content: "\e900";
    font-family: "saudi_riyal" !important;
    font-size: inherit;
    color: inherit;
}
.request-btn{
  position: relative;
  font-size:1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  line-height: 1 !important;
  padding: 0 2.25rem !important;
  height:32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  box-sizing: border-box !important;
  gap:0.35rem !important;
  border:1px solid #dee2e6 !important;
  color: var(--heading-color) !important;
  --bs-btn-color: var(--heading-color);
  --bs-btn-hover-color: var(--heading-color);
  --bs-btn-active-color: var(--heading-color);
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-padding-y: 0;
  --bs-btn-line-height: 1;
  background-color: transparent !important;
  transition: all 0.3s ease-in-out;
  margin-bottom: 0px;
  min-width:130px;
}
.request-btn div{
  margin:0px auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:5px;
}
.request-btn::before {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #ddd;
    border-radius: 50%;
    content: "";
    display: block;
    height: 13px;
    width: 13px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(.2, 1, .3, 1);
}
.request-btn::after{
  background-color: transparent;
    border-radius: 50%;
    content: "";
    display: block;
    height: 7px;
    width: 7px;
    position: absolute;
    right: calc(0.75rem + 3px);
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s;
}
.request-btn i{
  font-size:16px !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: inherit !important;
}
/* bi-arrow-counterclockwise sits high in the glyph box vs arrow-repeat */
.request-btn .bi-arrow-counterclockwise {
  position: relative;
  top: 2px;
}
.request-btn:hover{
  transform: translateY(-3px);
  background-color: transparent !important;
  border:1px solid #dee2e6 !important;
  color: var(--heading-color) !important;
}

.btn-check:checked + .request-btn::before {
    border-color: var(--accent-color);
  }
  .btn-check:checked + .request-btn::after {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1);
  }
  .btn-check:checked + .request-btn,
  .btn-check:checked + .request-btn.btn-outline-danger,
  .btn-check:checked + .request-btn.btn-outline-primary {
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

/* طلب إرجاع — default muted, accent when open/active */
.return-btn .open-return.btn-outline-danger,
a.open-return.btn-outline-danger {
  border-color: #dee2e6 !important;
  color: var(--heading-color) !important;
  --bs-btn-color: var(--heading-color);
  --bs-btn-hover-color: var(--heading-color);
  --bs-btn-active-color: var(--heading-color);
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-active-border-color: #dee2e6;
  background-color: transparent !important;
}
/* Nudge label up only — do not alter button size/layout */
.return-btn .open-return .open-return-label {
  position: relative;
  top: -2px;
}
.return-btn .open-return.btn-outline-danger:hover,
.return-btn .open-return.btn-outline-danger:focus,
.return-btn .open-return.btn-outline-danger:active,
a.open-return.btn-outline-danger:hover,
a.open-return.btn-outline-danger:focus,
a.open-return.btn-outline-danger:active {
  border-color: #dee2e6 !important;
  color: var(--heading-color) !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.return-btn .open-return.btn-outline-danger i,
a.open-return.btn-outline-danger i {
  color: inherit !important;
}
.return-btn .open-return.btn-outline-danger.active,
a.open-return.btn-outline-danger.active,
.return-btn .open-return.btn-outline-danger.active:hover,
a.open-return.btn-outline-danger.active:hover {
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  background-color: transparent !important;
}

  /* .payment-method-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  } */
#order-summary-wrapper {
  overflow: hidden;
  max-height: 2000px;
  transition: all 0.4s ease;
}

#order-summary-wrapper.collapsed {
  max-height: 0;
}
.product-card__out-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  z-index: 5;
  color: #e02424;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  padding: 6px 18px;
  border: 2px solid #e02424;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  width: 70%;
  text-align: center;
}
@media(max-width:767px){
  .product-card__out-label{
    width:90%;
  }
  .reason-select{
    max-width:100% !important;
    width:100% !important
  }
  .request-btn{
    font-size:0.9rem !important
  }
  .request-btn::after{
    height: 7px;
    width: 7px;
    right: calc(0.75rem + 4px);
    top: 50%;
    transform: translateY(-50%) scale(0);
  }
}
.order-confirmation .container{
   max-width:950px !important;
}
@media(min-width:768px) and (max-width:815px){
  .order-confirmation .container{
    max-width:650px !important;
  }
}
/* Return request — action buttons (إرجاع / استبدال) */
.products-table .product-details .return-detail-meta {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: var(--heading-color) !important;
  margin-top: 0.35rem !important;
}
.products-table .product-details .available-qty.return-detail-meta {
  color: #6c757d !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
}
.products-table .product-details .return-product-price {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: #111827 !important;
  margin-top: 0.35rem !important;
}
.products-table .product-details .return-colon {
  margin-inline: 0.35em;
  display: inline-block;
}
.products-table .btns-reason {
  gap: 0.5rem !important;
}
/* Keep إرجاع/استبدال fixed — اختر السبب overlays in reserved slot (no layout jump) */
@media (min-width: 768px) {
  .products-table .return-reason-container {
    position: relative !important;
    min-width: 280px;
    box-sizing: border-box;
  }
  .products-table .btns-reason {
    width: 100% !important;
    justify-content: center !important;
  }
  .products-table .reason-select-wrap {
    width: 100% !important;
    max-width: 280px !important;
    margin-inline: 0 !important;
  }
  /* Single button: lock column size so the button never shifts */
  .products-table .product-row .return-reason-container:not(:has(.request-btn ~ .request-btn)) {
    position: relative !important;
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
  }
  .products-table .product-row .return-reason-container:not(:has(.request-btn ~ .request-btn)) .btns-reason {
    width: 280px !important;
    max-width: 280px !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .products-table .product-row .return-reason-container:not(:has(.request-btn ~ .request-btn)) .request-btn {
    flex: 0 0 auto !important;
    transform: none !important;
    min-width: 8.5rem !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 0 1.15rem !important;
  }
}
.products-table .request-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 8.5rem;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  box-sizing: border-box !important;
  font-size: 0.875rem !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  text-align: center;
  /* equal padding — circle + icon + text centered as one group */
  padding: 0 1.15rem !important;
  gap: 0.45rem !important;
  border: 1px solid #dee2e6 !important;
  color: var(--heading-color) !important;
  --bs-btn-color: var(--heading-color);
  --bs-btn-hover-color: var(--heading-color);
  --bs-btn-active-color: var(--heading-color);
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-padding-y: 0;
  --bs-btn-line-height: 1;
}
/* Nudge label up only — do not alter button size/layout */
.products-table .request-btn .request-btn-label {
  position: relative;
  top: -2px;
}
/* Radio in flex flow (not absolute) so circle + icon + text share true center */
.products-table .request-btn::before {
  position: relative !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  order: -1;
  box-sizing: border-box !important;
  width: 13px !important;
  height: 13px !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: border-color 0.3s cubic-bezier(.2, 1, .3, 1), background 0.3s !important;
}
.products-table .request-btn::after {
  content: none !important;
  display: none !important;
}
.products-table .btn-check:checked + .request-btn::before {
  border-color: var(--accent-color) !important;
  background-image: radial-gradient(circle, var(--accent-color) 0 3.5px, transparent 3.6px) !important;
}
.products-table .request-btn i {
  font-size: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  top: auto !important;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0 !important;
  color: inherit !important;
}
.products-table .request-btn .bi-arrow-counterclockwise {
  top: 0 !important;
}
.products-table .request-btn .bi-arrow-repeat {
  position: relative !important;
  top: 0 !important;
}
@media(max-width:1824px){
  .products-table .product-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0px !important;
    align-items: flex-start !important;
    justify-content: space-between;
    margin-bottom: 1rem !important;
  }
  .products-table .product-row > .col-md-4:first-child {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none;
  }
  .products-table .product-row .return-reason-container{
    order: 2;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    align-self: center;
  }
  .products-table .product-row .return-reason-container:not(:has(.request-btn ~ .request-btn)) {
    align-self: flex-start !important;
  }
  .products-table .product-row .q-selector-container{
    order: 3;
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: start !important;
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-top: 0.15rem;
    padding-bottom: 0;
    /* image + gap-3 + col gutter (padding-inline-start overrides gutter, so add it back) */
    padding-inline-start: calc(5rem + 1rem + 0.75rem);
    padding-inline-end: 0;
  }
  .products-table .product-row .q-selector-container .quantity-selector {
    margin: 0;
  }
  .products-table .btns-reason{
    justify-content: center !important;
    margin: 0 !important;
    flex-wrap: nowrap;
    width: 100% !important;
  }
  .products-table .product-details{
    white-space:nowrap;
  }
  .reason-select-trigger{
    min-width:270px !important;
  }
}
/* Custom reason select — black hover/selected (native <option> can't be styled in Chrome) */
.products-table .reason-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.products-table .reason-select-wrap {
  /* Always out of flow so إرجاع/استبدال never jump when this appears */
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 1.25rem) !important;
  width: 100%;
  max-width: 280px;
  margin: 0 auto !important;
  margin-inline: auto !important;
  z-index: 5;
  pointer-events: none;
}
.products-table .reason-select-wrap.is-visible {
  display: flex !important;
  pointer-events: auto;
  z-index: 200 !important;
}
.products-table .return-reason-container {
  position: relative !important;
}
/* Open اختر السبب must sit above later rows' إرجاع/استبدال */
.products-table .product-row:has(.reason-select-trigger[aria-expanded="true"]),
.products-table .product-row:has(.reason-select-menu:not([hidden])),
.products-table .return-reason-container:has(.reason-select-trigger[aria-expanded="true"]),
.products-table .return-reason-container:has(.reason-select-menu:not([hidden])) {
  z-index: 200 !important;
}
.products-table .reason-custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}
.products-table .reason-custom-select:has(.reason-select-trigger[aria-expanded="true"]),
.products-table .reason-custom-select:has(.reason-select-menu:not([hidden])) {
  z-index: 200;
}
.products-table .reason-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-width: 200px;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #000000;
  text-align: right;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  cursor: pointer;
}
.products-table .reason-select-trigger:focus,
.products-table .reason-select-trigger:focus-visible,
.products-table .reason-select-trigger[aria-expanded="true"] {
  border-color: var(--accent-color) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color) 25%, transparent) !important;
}
.products-table .reason-select-trigger .bi-chevron-down {
  font-size: 0.625rem !important;
  line-height: 1 !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.products-table .reason-select-trigger[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}
.products-table .reason-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 210;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: right;
  overflow: hidden;
}
.products-table .reason-select-menu[hidden] {
  display: none !important;
}
.products-table .reason-select-menu [role="option"] {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: #000000;
  cursor: pointer;
  background: #fff;
}
.products-table .reason-select-menu [role="option"]:hover,
.products-table .reason-select-menu [role="option"].is-selected:not([data-value=""]) {
  background: var(--accent-color) !important;
  color: #ffffff !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .products-table .product-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1rem !important;
  }
  .products-table .product-row > .col-md-4:first-child {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0;
    width: auto !important;
    max-width: none;
  }
  .products-table .product-row .q-selector-container {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: start !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    padding-top: 0.15rem !important;
    padding-bottom: 0 !important;
    padding-inline-start: calc(5rem + 1rem + 0.75rem) !important;
    padding-inline-end: 0 !important;
  }
  .products-table .product-row .return-reason-container {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    align-self: center !important;
    display: block !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
  }
  .products-table .product-row .return-reason-container:not(:has(.request-btn ~ .request-btn)) {
    align-self: flex-start !important;
  }
  .products-table .return-reason-container .btns-reason {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }
  .products-table .return-reason-container .d-flex.justify-content-center.btns-reason {
    justify-content: center !important;
  }
  .products-table .return-reason-container .request-btn {
    flex: 0 1 auto !important;
    min-width: 8.5rem !important;
    width: auto !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .products-table .return-reason-container .reason-select-wrap {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    margin-inline: auto !important;
    align-self: auto !important;
  }
  .products-table .return-reason-container .reason-select-trigger {
    min-width: 200px !important;
    width: 100% !important;
    max-width: 280px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 14px !important;
  }
}
@media(max-width:767.98px){
  /* Don't clip اختر السبب sides / open ring (row gutters + overflow:clip) */
  .request.section,
  .request .container,
  .card-return-request,
  .products-table,
  .products-table .product-row,
  .account .orders-table,
  #account .request.section,
  #account .card-return-request {
    overflow: visible !important;
  }
  .reason-select-trigger{
    min-width:unset !important;
    width:100% !important;
  }
  /* Open ring paints outside the control and gets clipped on narrow screens */
  .products-table .reason-select-trigger:focus,
  .products-table .reason-select-trigger:focus-visible,
  .products-table .reason-select-trigger[aria-expanded="true"] {
    box-shadow: none !important;
  }
  .products-table .product-row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch !important;
    gap: 0.35rem;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1.25rem !important;
  }
  .products-table .product-row > .col-md-4:first-child {
    order: 1;
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
  }
  .products-table .product-row .q-selector-container {
    order: 2;
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: start !important;
    margin-top: 0 !important;
    margin-bottom: 1.15rem !important;
    padding-top: 0.1rem;
    padding-bottom: 0;
    padding-inline-start: calc(5rem + 1rem + 0.75rem);
    padding-inline-end: 0;
  }
  .products-table .product-row .return-reason-container {
    order: 3;
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    align-self: stretch;
    overflow: visible !important;
    /* Reserve slot for اختر السبب from first paint — no jump on mobile */
    padding-bottom: calc(40px + 1.25rem) !important;
    box-sizing: border-box !important;
  }
  .products-table .return-reason-container .btns-reason {
    display: flex !important;
    width: 100% !important;
    justify-content: stretch !important;
    gap: 0.5rem !important;
    margin: 0 !important;
  }
  .products-table .return-reason-container .request-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 100%;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 6px 14px !important;
    font-size: 0.875rem !important;
    line-height: 1 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  .products-table .return-reason-container .d-flex.justify-content-center.mt-2,
  .products-table .return-reason-container .reason-select-wrap {
    width: auto;
    max-width: none;
    margin: 0 !important;
  }
  .products-table .return-reason-container .reason-select-trigger {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 6px 14px !important;
    box-sizing: border-box !important;
  }
  .products-table .reason-custom-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .products-table .reason-select-menu {
    max-width: 100%;
    box-sizing: border-box;
    inset-inline: 0;
  }
  /* Same width as إرجاع/استبدال (content box), not the column padding box */
  .products-table .return-reason-container .reason-select-wrap {
    top: auto !important;
    bottom: 0 !important;
    left: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
    right: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}
.return-item:last-child td{
  border-bottom:none !important;
  /* border-style:none !important; */
}
.search-content h5{
  font-weight:400 !important;
  margin:10px 20px 20px 10px !important
}
#imagePreview{
  padding:5px 10px !important;
}
/* Return upload: max-images error — larger on tablet/desktop, keep mobile as-is */
.imageErrorBox,
#account .imageErrorBox {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
@media (max-width: 767.98px) {
  .imageErrorBox,
  #account .imageErrorBox {
    font-size: 0.8125rem !important;
  }
}





.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #22c55e;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 99;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
  
#cart .product-title{
  text-wrap: wrap !important;
width: 74%;

}
#productsContainer #productcard{
min-width: 250px !important;
}
#productsContainer{
  flex-direction: column !important;
}



button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[disabled] {
    cursor: default !important;
}


.add-to-cart-btn {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  border: none;
}
.add-to-cart-btn.not-avaliable {
  background-color: #6c757d!important; 
  color: #fff!important;
  border: none;
  opacity: .75;
  cursor: not-allowed;
}

/*--------------------------------------------------------------
# Standalone pay page (اكمل الدفع) — match checkout payment iframe
# Scoped to .pay-standalone-page only — checkout steps untouched
--------------------------------------------------------------*/
/* 20px between breadcrumb and الدفع — all screens; checkout step 4 unchanged */
#checkout.pay-standalone-page.section,
section#checkout.checkout.pay-standalone-page {
  padding-top: 20px !important;
}
/* Pay page only: title↔subtitle original; more space above payment methods */
#checkout.pay-standalone-page .checkout-forms .checkout-form .form-header h3,
#checkout.pay-standalone-page .pay-page-form-header h3 {
  margin-bottom: 0.5rem !important;
}
#checkout.pay-standalone-page .checkout-forms .checkout-form .form-header p,
#checkout.pay-standalone-page .pay-page-form-header p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
#checkout.pay-standalone-page .checkout-forms .checkout-form .form-header,
#checkout.pay-standalone-page .pay-page-form-header {
  margin-bottom: 2.4rem !important;
}
#checkout.pay-standalone-page .checkout-forms .checkout-form.active {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .methods,
#checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .methods {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo {
  margin-bottom: 20px !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 55px !important;
  min-height: 55px !important;
  max-height: 55px !important;
  padding: 0 44px 0 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #1d1d1d !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 1.2 !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn span {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn::before {
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  content: "" !important;
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  position: absolute !important;
  right: 13px !important;
  left: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
  transform: none !important;
  background: transparent !important;
  transition: border-color 0.3s cubic-bezier(.2, 1, .3, 1) !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn::after {
  background-color: transparent !important;
  border-radius: 50% !important;
  content: "" !important;
  display: block !important;
  width: 9px !important;
  height: 9px !important;
  position: absolute !important;
  right: 18px !important;
  left: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
  transform: scale(0) !important;
  transition: transform 0.3s, background-color 0.3s !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn.active {
  border-color: var(--accent-color) !important;
  background: #f8fafc !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn.active::before {
  border-color: var(--accent-color) !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn.active::after {
  background-color: var(--accent-color) !important;
  transform: scale(1) !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn img {
  display: block !important;
  max-height: 33px !important;
  max-width: 70px !important;
  width: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 44px 0 10px !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span > i {
  font-size: 13px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span .icon-saudi_riyal {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
/* iPad / tablet grid: shrink COD label so icon + riyal stay visible (pay page only) */
@media (min-width: 768px) and (max-width: 1399.98px) {
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door {
    padding: 0 38px 0 6px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span {
    font-size: 10px !important;
    gap: 2px !important;
    letter-spacing: -0.15px !important;
    transform: scale(0.92) !important;
    transform-origin: center center !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span > i {
    font-size: 10px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span .icon-saudi_riyal {
    font-size: 13px !important;
  }
}
#checkout.pay-standalone-page .checkout-forms .payment-panel,
#checkout.pay-standalone-page .checkout-forms .mysr-form,
#checkout.pay-standalone-page .checkout-forms .card-payment-form {
  font-size: 13px !important;
}
#checkout.pay-standalone-page .checkout-forms .payment-panel {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#checkout.pay-standalone-page .checkout-forms .btn-pay-submit,
#checkout.pay-standalone-page .checkout-forms .mysr-form .btn-pay-submit,
#checkout.pay-standalone-page .checkout-forms .payment-panel .btn-pay-submit,
#checkout.pay-standalone-page .checkout-forms .stcpay-form .btn-pay-submit,
#checkout.pay-standalone-page .checkout-forms #moyasar-payment-button {
  width: 100% !important;
  padding: 0 24px !important;
  min-height: 56px !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: var(--accent-color) !important;
  color: var(--contrast-color, #fff) !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--default-font), 'Cairo', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}
#checkout.pay-standalone-page .checkout-forms .btn-pay-submit span,
#checkout.pay-standalone-page .checkout-forms .mysr-form .btn-pay-submit span,
#checkout.pay-standalone-page .checkout-forms .payment-panel .btn-pay-submit span,
#checkout.pay-standalone-page .checkout-forms .stcpay-form .btn-pay-submit span,
#checkout.pay-standalone-page .checkout-forms #moyasar-payment-button span {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}
@media (max-width: 767.98px) {
  #checkout.pay-standalone-page .checkout-forms .payment-category,
  #checkout.pay-standalone-page .checkout-forms .payment-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .methods {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo {
    grid-template-columns: 1fr !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    font-size: 13px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn span {
    font-size: 13px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door > span {
    font-size: 12px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn img {
    max-height: 28px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .btn-pay-submit,
  #checkout.pay-standalone-page .checkout-forms .mysr-form .btn-pay-submit,
  #checkout.pay-standalone-page .checkout-forms .payment-panel .btn-pay-submit,
  #checkout.pay-standalone-page .checkout-forms .stcpay-form .btn-pay-submit,
  #checkout.pay-standalone-page .checkout-forms #moyasar-payment-button {
    min-height: 45px !important;
    height: 45px !important;
    max-height: 45px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .btn-pay-submit span,
  #checkout.pay-standalone-page .checkout-forms .mysr-form .btn-pay-submit span,
  #checkout.pay-standalone-page .checkout-forms .payment-panel .btn-pay-submit span,
  #checkout.pay-standalone-page .checkout-forms .stcpay-form .btn-pay-submit span,
  #checkout.pay-standalone-page .checkout-forms #moyasar-payment-button span {
    font-size: 13px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #checkout.pay-standalone-page .checkout-forms .payment-category .methods,
  #checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 992px) {
  #checkout.pay-standalone-page .checkout-forms .payment-category .methods,
  #checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Pay page only: ملخص الطلب — attrs color + tighter gap to price */
#checkout.pay-standalone-page .order-summary .order-item-details > small.quantity-sec {
  color: #6c757d !important;
  margin-top: 0.15rem !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}
#checkout.pay-standalone-page .order-summary .order-item-details .order-item-price {
  margin-top: 0 !important;
}

/* Center text for pay-on-door on iPad only */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  body.payment-iframe-body .payment-category .payment-method-btn.pay-on-door,
  .payment-category .payment-method-btn.pay-on-door,
  #checkout.pay-standalone-page .checkout-forms .payment-category .payment-method-btn.pay-on-door {
    justify-content: center !important;
  }

  /* Fix Visa card inputs width on iPad */
  body.payment-iframe-body .payment-panel,
  .payment-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* iPad checkout (step 4 iframe): COD same width as other methods, beside stc pay */
  body.payment-iframe-body .payment-category .methods,
  body.payment-iframe-body .payment-category .methodstwo {
    display: contents !important;
  }
  body.payment-iframe-body .payment-category .pay-on-door,
  body.payment-iframe-body .payment-category .payment-method-btn.pay-on-door {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
  
  /* Fix payment methods layout on iPad for standalone pay page */
  #checkout.pay-standalone-page .checkout-forms .payment-category,
  #checkout.pay-standalone-page .payment-category {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .methods,
  #checkout.pay-standalone-page .checkout-forms .payment-category .methodstwo,
  #checkout.pay-standalone-page .payment-category .methods,
  #checkout.pay-standalone-page .payment-category .methodstwo {
    display: contents !important;
  }
  #checkout.pay-standalone-page .checkout-forms .payment-category .pay-on-door,
  #checkout.pay-standalone-page .payment-category .pay-on-door {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }
}

/* iPad iframe: keep the same column count, but include COD in that grid */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (max-width: 767.98px) {
  body.payment-iframe-body .payment-category {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (min-width: 768px) and (max-width: 991.98px) {
  body.payment-iframe-body .payment-category {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (min-width: 992px) {
  body.payment-iframe-body .payment-category {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* +N more items counter in طلباتي orders table — heading-color */
.orders-table .product-thumbnails .more-items {
  color: var(--heading-color) !important;
  font-weight: 400;
}

/* Avatar "+" add-photo / "x" remove-photo icons — accent-color */
.avatar-action .bi-plus,
.avatar-action .bi-x {
  color: var(--accent-color) !important;
}

/* Change color of delete address modal confirmation text */
[id^="deleteModal"] .modal-body {
  color: var(--heading-color) !important;
}

/* Change color of delete address modal title */
[id^="deleteModal"] .modal-title {
  color: var(--text-color) !important;
}

/* Delete address modal X: same gray as تعطيل الحساب (Bootstrap handles hover opacity) */
[id^="deleteModal"] .modal-header .btn-close,
[id^="deleteModal"] .modal-header .btn-close i {
  color: #666666 !important;
}
[id^="deleteModal"] .modal-header .btn-close:hover,
[id^="deleteModal"] .modal-header .btn-close:focus,
[id^="deleteModal"] .modal-header .btn-close:hover i,
[id^="deleteModal"] .modal-header .btn-close:focus i {
  color: #666666 !important;
}
.search #productsContainer #productcard{
  min-width: unset !important;
}
@media (max-width: 767.98px) {
  #product-list.search #productsContainer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #product-list.search .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #product-list.search #productsContainer .row > [class*="col-"],
  #product-list.search #productcard {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* all-categories (desktop): page already has room; filters scroll in sidebar —
   opening "نسبة الخصم" must not stretch the document. Products taller than
   min-height still grow the page normally. */
@media (min-width: 992px) {
  #all-categories #product-list.all-categories-page {
    /* enough vertical room for filters; does not cap taller product grids */
    min-height: calc(100vh - 140px);
    min-height: calc(100dvh - 140px);
    /* overflow:clip on .section breaks sticky/internal scroll — allow both axes here */
    overflow: visible !important;
  }
  #all-categories #product-list.all-categories-page > .container > .row {
    align-items: flex-start !important;
  }
  #all-categories #product-list.all-categories-page > .container > .row > .col-lg-3 {
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    overflow: hidden;
  }
  #all-categories #product-list.all-categories-page > .container > .row > .col-lg-3 .sidebar-filter {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 150px) !important;
    max-height: calc(100dvh - 150px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
}

/* Mobile: all-categories product grid — match search results spacing */
@media (max-width: 767.98px) {
  #all-categories .page-title > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #all-categories #product-list.category-section.all-categories-page {
    padding-top: 8px !important;
    padding-bottom: 20px !important;
  }

  #all-categories #product-list.all-categories-page > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }

  #all-categories #product-list.all-categories-page .all-categories-content,
  #all-categories #product-list.all-categories-page .isotope-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page {
    overflow: visible !important;
  }

  #all-categories #product-list.all-categories-page .mobile-filter-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
  }

  #all-categories #product-list.all-categories-page .isotope-layout > .row:first-of-type,
  #all-categories #product-list.all-categories-page .isotope-layout > .row:first-of-type > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }

  #all-categories #product-list.all-categories-page .product-filters {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #all-categories #product-list.all-categories-page .subcategories-swiper-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container > [class*="col-"],
  #all-categories #product-list.all-categories-page .row.product-container > .product-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container .product-card {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Tablet / iPad: 768px–1199px — contained layout, no horizontal overflow */
@media (min-width: 768px) and (max-width: 1199.98px) {
  #all-categories {
    overflow-x: hidden !important;
  }

  #all-categories .page-title > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
  }

  #all-categories #product-list.all-categories-page .all-categories-content,
  #all-categories #product-list.all-categories-page .isotope-layout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page .mobile-filter-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
  }

  #all-categories #product-list.all-categories-page .isotope-layout > .row:first-of-type,
  #all-categories #product-list.all-categories-page .isotope-layout > .row:first-of-type > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }

  #all-categories #product-list.all-categories-page .product-filters,
  #all-categories #product-list.all-categories-page .subcategories-swiper-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #all-categories #product-list.all-categories-page .row.product-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container > [class*="col-"],
  #all-categories #product-list.all-categories-page .row.product-container > .product-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #all-categories .page-title > .container,
  #all-categories #product-list.all-categories-page > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
    gap: 12px !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row > .col-lg-3 {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #all-categories #product-list.all-categories-page > .container > .row > .col-lg-9,
  #all-categories #product-list.all-categories-page > .container > .row > .all-categories-content {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container > [class*="col-"],
  #all-categories #product-list.all-categories-page .row.product-container > .product-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #all-categories #product-list.all-categories-page .row.product-container .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Don't clip اختر السبب; keep rows equal until one opens (later siblings were covering the menu) */
.return-head,
.products-table,
.products-table .product-row {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}
.card-return-request,
.returnForm,
.request.section,
.request .container,
.account .orders-table {
    overflow: visible !important;
}
