﻿/************************************** Arabic **************************************/

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

html,
body {
  font-family: "Noto Kufi Arabic", sans-serif !important;
  color: #222;
  direction: rtl;
}

body {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

* {
  letter-spacing: 0px !important;
}

h1,
h2,
h3,
h4,
h5,
div,
a {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

p,
label,
li,
ul,
a {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

/************************************** Arabic **************************************/

/* CSS Document */

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
command,
datalist,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
keygen,
label,
legend,
li,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
s,
samp,
section,
small,
source,
span,
strike,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
u,
ul,
var,
video {
  background: 0 0;
  border: 0 none;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: top;
  font-family: "Noto Kufi Arabic", sans-serif;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

table,
table td {
  padding: 0;
  border: none;
  border-collapse: collapse;
}

img {
  vertical-align: top;
}

embed {
  vertical-align: top;
}

article,
aside,
audio,
canvas,
command,
datalist,
details,
embed,
figcaption,
figure,
footer,
header,
hgroup,
keygen,
meter,
nav,
output,
progress,
section,
source,
video {
  display: block;
}

mark,
rp,
rt,
ruby,
summary,
time {
  display: inline;
}

input,
textarea {
  border: 0;
  padding: 0;
  margin: 0;
  outline: 0;
}

iframe {
  border: 0;
  margin: 0;
  padding: 0;
}

input,
textarea,
select {
  margin: 0;
  padding: 0px;
}

a {
  font-size: 12px;
  cursor: pointer !important;
}

li {
  list-style: none;
}

*:focus {
  outline: none !important;
}

.clear {
  clear: both !important;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background-color: #1F4781;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
  float: right;
  padding-left: 0.5rem;
  padding-right: 0;
  content: var(--bs-breadcrumb-divider, "/");
}

[dir="rtl"] .breadcrumb-item {
  display: flex;
  align-items: center;
}

[dir="rtl"] nav {
  --bs-breadcrumb-divider: '>';
}

.form-control {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.form-control:focus {
  box-shadow: none;
  border-color: #000 !important;
}

textarea:focus {
  box-shadow: none;
  border-color: #000 !important;
}

/*---------------------------------------------basic html tags--------------------------------------------*/

html,
body {
  background: #ffffff;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

body {
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
  background: #F8F8F8 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

p,
label {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none !important;
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

p {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}


li {
  list-style: none;
}

*:focus {
  outline: none !important;
}

.clear {
  clear: both !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.text-center {
  text-align: center !important;
}

.form-control {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.form-control:focus {
  box-shadow: none;
  border-color: #000 !important;
}

textarea:focus {
  box-shadow: none;
  border-color: #000 !important;
}

section {
  padding: 40px 0;
}

/*---------------------------------------------basic html tags--------------------------------------------*/

:root {
  --primary: #1F4781;
  --secondary: #2A7BB8;
  --primary-hover: #12294B;
  --secondary-hover: #174466;
  --dark: #222222;
  --bg-gray: #ECECEC;
  --border-gray: #BDBDBD;
  --trans-speed: 0.3s ease;
}


html,
body {
  overflow-x: hidden !important;
  box-sizing: border-box;
  scroll-behavior: smooth;
  color: var(--dark);
}

body {
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
  background: #F8F8F8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

p,
label {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none !important;
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

/* helper css */

body {
  overflow: hidden !important;
}

.section-container {
  margin-top: 115px;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title h3 {
  text-transform: capitalize;
  font-weight: 600;
  font-size: 28px;
  line-height: 60px;
  text-align: center;
  color: var(--dark);
}

.section-line {
  background-color: var(--primary);
  height: 1px;
  flex: 2;
}

.page-title {
  background-color: #2A7BB81A;
  padding: 20px 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-title i {
  font-size: 25px;
}

.page-title h1 {
  font-size: 25px;
  font-weight: 600;
  text-transform: capitalize;
}

/* .section-title::before {
  position: absolute;
  content: "";
  width: 42%;
  height: 1px;
  background-color: var(--primary);
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 42%;
  height: 1px;
  background-color: var(--primary);
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
} */


.document-breadcrumb-container {
  background-color: #2A7BB81A;
}

/* Forms Global style */
.form-control {
  padding: 8px 12px;
  font-weight: 400;
  font-size: 16px;
  color: var(--dark);
  border-radius: 8px;
  border: 1px solid #E6E6E6;
}

.has-icon {
  padding: 8px 30px;
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #848484;
}

.form-title {
  font-family: Vazirmatn;
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 20px;
}

.form-label {
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 5px;
}

.form-label span {
  color: #D00416;
}

/* Wishlist popup */
#loginPopup .modal-content,
#divwishpop .modal-content {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}

/* Modal header */
#loginPopup .modal-header,
#divwishpop .modal-header {
  border-bottom: none;
  padding: 15px 15px 0;
  display: flex;
  justify-content: flex-end;
  background-color: #fff;
}

#loginPopup .close,
#divwishpop .close {
  background: transparent;
  border: none;
  padding: 5px;
  transition: all 0.2s ease;
}

#loginPopup .close img,
#divwishpop .close img {
  width: 16px;
  height: 16px;
}

/* Modal body content */
#loginPopup .modal-sec-cont,
#divwishpop .modal-sec-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px 30px;
  text-align: center;
}

#loginPopup .modal-fav-icon,
#divwishpop .modal-fav-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(231, 76, 60, 0.2));
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

#loginPopup #loginPopupLabel,
#divwishpop #divwishlistmsg {
  font-size: 17px !important;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
}

/* Modal footer */
#loginPopup .wishlist-modal-footer,
#divwishpop .wishlist-modal-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
}

/* Button styling */
#loginPopup .wishlist-modal-footer .btn,
#divwishpop .wishlist-modal-footer .btn {
  min-width: 100px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 20px;
}

#loginPopup .btn_m_size,
#divwishpop .btn_m_size {
  background-color: #fff;
  color: #444;
  border: 1px solid #ddd;
}

#loginPopup .btn_m_size:hover,
#divwishpop .btn_m_size:hover {
  background-color: #f1f1f1;
  border-color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 480px) {

  #divwishpop .modal-content,
  #loginPopup .modal-content {
    max-width: 90%;
  }

  #loginPopup .modal-sec-cont,
  #divwishpop .modal-sec-cont {
    padding: 15px 20px 20px;
  }

  #loginPopup #loginPopupLabel,
  #divwishpop #loginPopupLabel {
    font-size: 16px !important;
  }

  #loginPopup .wishlist-modal-footer,
  #divwishpop .wishlist-modal-footer {
    padding: 15px;
  }
}

/* AddToCart Modal */

#shippingcartmodal {
  padding: 0 !important;
  overflow: hidden;
}

#showshippingcartpopupdiv.modal-content,
#showcartpopupdiv.modal-content {
  max-width: 600px;
  width: 95%;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
  max-height: 90vh;
}

/* Modal header - Compact design */
#showshippingcartpopupdiv .modal-header,
#showcartpopupdiv .modal-header {
  border-bottom: none;
  padding: 10px 15px 0;
  background-color: #fff;
}

#showshippingcartpopupdiv .shp-head.shoppopup-head,
#showcartpopupdiv .shp-head.shoppopup-head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

#showshippingcartpopupdiv .close,
#showcartpopupdiv .close {
  background: transparent;
  border: none;
  padding: 5px;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 10;
}

#showshippingcartpopupdiv .close img,
#showcartpopupdiv .close img {
  width: 16px;
  height: 16px;
}

/* Heading wrapper - More compact styling */
#showshippingcartpopupdiv .heading-wrapper-popup,
#showcartpopupdiv .heading-wrapper-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

#showshippingcartpopupdiv .shoppopup-icon,
#showcartpopupdiv .shoppopup-icon {
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
}

#showshippingcartpopupdiv .shoppopup-icon svg,
#showcartpopupdiv .shoppopup-icon svg {
  width: 32px;
  height: 32px;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#showshippingcartpopupdiv .cart-popup-details,
#showcartpopupdiv .cart-popup-details {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

#showshippingcartpopupdiv .cart-popup-details b,
#showcartpopupdiv .cart-popup-details b {
  color: #0769aa;
  font-size: 18px;
}

#showshippingcartpopupdiv .cart-popup-details span,
#showcartpopupdiv .cart-popup-details span {
  font-size: 14px;
  opacity: 0.85;
  display: inline-block;
}

/* Modal body - No scrolling allowed */
#showshippingcartpopupdiv .modal-body,
#showcartpopupdiv .modal-body {
  padding: 10px;
  overflow: hidden;
}

/* Product row layout */
#showshippingcartpopupdiv .shpcrt-lister,
#showcartpopupdiv .shpcrt-lister {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

#showshippingcartpopupdiv .quick-bag-success-modal,
#showcartpopupdiv .quick-bag-success-modal {
  padding-right: 10px;
  max-width: 50%;
  margin: 0 auto;
}

#showshippingcartpopupdiv .quick-bag-pro-img,
#showcartpopupdiv .quick-bag-pro-img {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Image scaling to fit container */
#showshippingcartpopupdiv .quick-bag-pro-img li img,
#showcartpopupdiv .quick-bag-pro-img li img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  /* Limit image height */
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

#showshippingcartpopupdiv .shopping-quick-cart-modal-cont,
#showcartpopupdiv .shopping-quick-cart-modal-cont {
  display: flex;
  flex-direction: column;
}

/* Product title - Handle overflow with ellipsis */
#showshippingcartpopupdiv .shopping-quick-cart-modal-cont h3,
#showcartpopupdiv .shopping-quick-cart-modal-cont h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 44px;
}

#showshippingcartpopupdiv .price-tag,
#showcartpopupdiv .price-tag {
  margin-bottom: 10px;
}

#showshippingcartpopupdiv .current-price,
#showcartpopupdiv .current-price {
  font-size: 16px;
  color: #0769aa;
}

#showshippingcartpopupdiv .em-dirham,
#showcartpopupdiv .em-dirham {
  margin-right: 4px;
  font-weight: normal;
}

/* Button section - Compact design */
#showshippingcartpopupdiv .shopcart-popup-btn-sec,
#showcartpopupdiv .shopcart-popup-btn-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

#showshippingcartpopupdiv .shopcart-popup-btn-sec .btn,
#showcartpopupdiv .shopcart-popup-btn-sec .btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 15px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#showshippingcartpopupdiv .btn_l_size,
#showcartpopupdiv .btn_l_size {
  background-color: #fff;
  color: #000;
  border: 1px solid var(--dark);
}

#showshippingcartpopupdiv .btn_l_size:hover,
#showcartpopupdiv .btn_l_size:hover {
  background-color: var(--primary);
  color: #fff;
}

#showshippingcartpopupdiv .btn_m_size,
#showcartpopupdiv .btn_m_size {
  background-color: var(--secondary);
  color: white !important;
  border: none;
  box-shadow: 0 2px 5px rgba(7, 105, 170, 0.2);
}

#showshippingcartpopupdiv .btn_m_size:hover,
#showcartpopupdiv .btn_m_size:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 4px 8px rgba(7, 105, 170, 0.3);
  transform: translateY(-2px);
}

/* Completely remove all scrollbars */
.modal.fade.show,
#shippingcartmodal,
#showshippingcartpopupdiv,
#showcartpopupdiv,
#showshippingcartpopupdiv .modal-body,
#showcartpopupdiv .modal-body {
  overflow: hidden !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.modal.fade.show::-webkit-scrollbar,
#shippingcartmodal::-webkit-scrollbar,
#showshippingcartpopupdiv::-webkit-scrollbar,
#showcartpopupdiv::-webkit-scrollbar,
#showshippingcartpopupdiv .modal-body::-webkit-scrollbar,
#showcartpopupdiv .modal-body::-webkit-scrollbar {
  display: none;
}

/* Fix for glassCase plugin */
.gc-start {
  max-width: 100%;
}

.gc-display-area {
  max-width: 100% !important;
  height: auto !important;
  max-height: 200px !important;
}

.gc-display-container {
  max-width: 100% !important;
  max-height: 200px !important;
}

/* Adaptive styles for small screens */
@media (max-width: 767px) {

  #showshippingcartpopupdiv.modal-content,
  #showcartpopupdiv.modal-content {
    width: 95%;
    margin: 15px auto;
    max-height: 80vh;
  }

  #showshippingcartpopupdiv .shpcrt-lister,
  #showcartpopupdiv .shpcrt-lister {
    flex-direction: column;
  }

  #showshippingcartpopupdiv .col-md-6,
  #showcartpopupdiv .col-md-6 {
    width: 100%;
    margin-bottom: 10px;
    padding: 0 5px;
  }

  #showshippingcartpopupdiv .quick-bag-success-modal,
  #showcartpopupdiv .quick-bag-success-modal {
    padding-right: 0;
    max-width: 100%;
  }

  #showshippingcartpopupdiv .quick-bag-pro-img li img,
  #showcartpopupdiv .quick-bag-pro-img li img {
    max-height: 150px;
  }

  #showshippingcartpopupdiv .shopping-quick-cart-modal-cont,
  #showcartpopupdiv .shopping-quick-cart-modal-cont {
    text-align: center;
  }

  #showshippingcartpopupdiv .shopcart-popup-btn-sec,
  #showcartpopupdiv .shopcart-popup-btn-sec {
    align-items: center;
  }

  #showshippingcartpopupdiv .shopcart-popup-btn-sec .btn,
  #showcartpopupdiv .shopcart-popup-btn-sec .btn {
    font-size: 14px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {

  #showshippingcartpopupdiv .cart-popup-details,
  #showcartpopupdiv .cart-popup-details {
    font-size: 14px;
  }

  #showshippingcartpopupdiv .cart-popup-details b,
  #showcartpopupdiv .cart-popup-details b {
    font-size: 16px;
  }

  #showshippingcartpopupdiv .cart-popup-details span,
  #showcartpopupdiv .cart-popup-details span {
    font-size: 12px;
  }

  #showshippingcartpopupdiv .shoppopup-icon svg,
  #showcartpopupdiv .shoppopup-icon svg {
    width: 24px;
    height: 24px;
  }

  #showshippingcartpopupdiv .quick-bag-pro-img li img,
  #showcartpopupdiv .quick-bag-pro-img li img {
    max-height: 120px;
  }

  #showshippingcartpopupdiv .shopping-quick-cart-modal-cont h3,
  #showcartpopupdiv .shopping-quick-cart-modal-cont h3 {
    font-size: 14px;
    -webkit-line-clamp: 1;
    max-height: 22px;
  }

  #showshippingcartpopupdiv .current-price,
  #showcartpopupdiv .current-price {
    font-size: 14px;
  }
}



/* BreadCrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  gap: 5px;
  white-space: nowrap;
  font-weight: 500;
}

.breadcrumb a {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: var(--secondary);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--secondary-hover);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #6C6C6C;
}

.breadcrumb-item {
  white-space: normal;
  /* display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; */
  overflow: hidden;
}

.breadcrumb-item.active {
  color: var(--dark) !important;
}

.breadcrumb span {
  color: #666;
}

.breadcrumb .current {
  font-weight: 600;
  color: #000;
  white-space: normal;
}


.primary-lg-btn,
.primary-sm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--secondary);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1px;
  text-align: center;
  transition: 0.3s ease;
  text-transform: capitalize;
  border-radius: 8px;
}

.primary-lg-btn {
  padding: 18px;
  max-width: 190px;
  max-height: 56px;
}

.primary-lg-btn.viewAll {
  width: 170px;
  height: 46px;
  background-color: #000;
}

.primary-sm-btn {
  padding: 10px;
  min-height: 40px;
}

.primary-lg-btn:hover,
.primary-sm-btn:hover {
  background-color: var(--secondary-hover);
}

/* Product Cards */

#subcategorydiv {
  overflow: hidden;
}

.products-wrapper::-webkit-scrollbar {
  height: 4px;
  background-color: #2222220D;
  width: 120px !important;
}


.products-wrapper::-webkit-scrollbar-track {
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.products-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}


.products-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  padding-bottom: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 270px;
  position: relative;
  background-color: #fff;
  border: 1px solid #B5B5B5;
  padding: 12px;
  border-radius: 8px;
  transition: var(--trans-speed);
  justify-content: space-between;
}

.product-card:hover {
  border-color: var(--secondary);
}

.product-card>span {
  position: absolute;
}

.sale-badge {
  right: 12px;
  padding: 4px;
  border-radius: 4px;
  background-color: #D00416;
  color: #fff;
}

.heart-icon.active {
  color: #D00416 !important;
}

.product-card .wishlist-badge {
  position: absolute;
  left: 12px;
  color: var(--primary);
  font-weight: 400;
}

.wishlist-delete-btn {
  position: absolute;
  right: 12px;
  color: #D00416;
  font-weight: 400;
}

.product-img {
  margin: 0 auto;
  width: 245px;
}

.product-card img {
  width: 100%;
  /* height: 245px; */
  object-fit: cover;
  max-width: 100%;
  aspect-ratio: 1/1;
}


.product-card .product-title a {
  font-weight: 500;
  font-size: 12px;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3em;
  transition: var(--trans-speed);
  text-align: right;
}

.product-card .product-title a:hover {
  color: var(--secondary);
}

.product-card .product-price {
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
  line-height: 24px;
}

.product-card .product-price span {
  font-weight: 700;
  font-size: 20px;
}

.product-card .product-old-price {
  line-height: 0;
}


/* Responsive */

@media (max-width:767px) {
  .section-container {
    margin-top: 91px;
  }
}


@media (max-width:550px) {

  .primary-lg-btn {
    padding: 9px;
    font-size: 14px;
  }

  .primary-sm-btn {
    padding: 5px;
    font-size: 12px;
  }

  .product-card .product-old-price,
  .product-card .product-price {
    font-size: 14px;
  }


  .section-title h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .support-links {
    flex-direction: column;
    align-items: flex-start !important;
  }


  .product-card {
    max-width: none !important;
  }

}

/* Base Styles for All Popups */
.message-pop-wrapper .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.message-pop-wrapper .modal-body {
  padding: 32px 24px;
}

.message-pop-wrapper .btn {
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: none;
}

.custom-alerts {
  border: none;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
}

/* Success Popup */
.success-pop-up .modal-content {
  background-color: #fcfcfc;
  border-top: 4px solid #2A7BB8;
}

.success-pop-up .sa-success {
  border-color: #2A7BB8;
}

.success-pop-up .sa-tip,
.success-pop-up .sa-long {
  background-color: #2A7BB8;
}

.success-pop-up .alert-success {
  background-color: rgba(42, 123, 184, 0.08);
  color: #1F4781;
}

.success-pop-up #btnCloseSuccessMsg {
  background-color: #2A7BB8;
  border-color: transparent;
}

.success-pop-up #btnCloseSuccessMsg:hover {
  background-color: #174466;
  box-shadow: 0 2px 8px rgba(42, 123, 184, 0.2);
}

/* Warning Popup */
.warning-pop-up .modal-content {
  background-color: #fcfcfc;
  border-top: 4px solid #F9A826;
}

.warning-pop-up .sa-warning {
  border-color: #F9A826;
}

.warning-pop-up .sa-body,
.warning-pop-up .sa-dot {
  background-color: #F9A826;
}

.warning-pop-up .alert-warning {
  background-color: rgba(249, 168, 38, 0.08);
  color: #8B6000;
}

.warning-pop-up #btnCloseWarningMsg {
  background-color: #F9A826;
  border-color: transparent;
  color: #fff;
}

.warning-pop-up #btnCloseWarningMsg:hover {
  background-color: #E09000;
  box-shadow: 0 2px 8px rgba(249, 168, 38, 0.2);
}

/* Error Popup */
.error-pop-up .modal-content {
  background-color: #fcfcfc;
  border-top: 4px solid #D00416;
}

.error-pop-up .sa-error {
  border-color: #D00416;
}

.error-pop-up .sa-line {
  background-color: #D00416;
}

.error-pop-up .alert-danger {
  background-color: rgba(208, 4, 22, 0.08);
  color: #A80312;
}

.error-pop-up #btnCloseErrorMsg {
  background-color: #D00416;
  border-color: transparent;
}

.error-pop-up #btnCloseErrorMsg:hover {
  background-color: #A80312;
  box-shadow: 0 2px 8px rgba(208, 4, 22, 0.2);
}

/* Icon Refinements */
.sa-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

/* Animation Smoothing */
.animate,
.animateSuccessTip,
.animateSuccessLong,
.pulseWarning,
.pulseWarningIns,
.animateErrorIcon,
.animateXMark {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Styling */
.custom-alerts span {
  font-weight: 600;
}

.custom-alerts p {
  margin-top: 8px;
  opacity: 0.85;
}

/* Button Container */
.sa-button-container {
  margin-top: 24px;
}

/* RTL Support */
[dir="rtl"] .custom-alerts {
  text-align: right;
}

/* Modal Size Adjustment */
.modal-dialog.modal-sm {
  max-width: 380px;
  margin: 2rem auto;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .modal-dialog.modal-sm {
    max-width: 92%;
    margin: 1.5rem auto;
  }

  .message-pop-wrapper .modal-body {
    padding: 24px 16px;
  }
}