/* @keyframes show-toast{
    0% {bottom: -100%;}
    20%{bottom: 10%;}
    80%{bottom: 10%;}
    100%{bottom: -100%;}
}


.show-notification{
    position: fixed;
    bottom: 100%;
    right: 20px;
    animation-name: show-toast;
    animation-duration: 8s;
    z-index: 99;
} */


/* ====== Register/Login Form Styling ====== */

.breadcrumb {
    background-color: #f4f4f4;
    padding: 40px 0;
    background-image: url(../img/breadcrumb-bg.png);
    background-position: center top;
    background-repeat: no-repeat;
}
.breadcrumb .breadcrumb-link {
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    color: #333;
}

.content-page {
    padding-bottom: 80px;
    padding-top: 50px;
}

.form-border-box.register {
    border: none;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

.form-border-box.register h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #222;
}

.form-field-wrapper {
    position: relative;
    margin-bottom: 10px;
}

/* Input fields */
.form-border-box.register input[type="text"],
.form-border-box.register input[type="email"],
.form-border-box.register input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    outline: none;
    transition: 0.25s all ease-in-out;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Placeholder */
.form-border-box.register input::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* Focus state */
.form-border-box.register input:focus {
    border-color: #28a745;
    background: #f0f7ff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Password toggle */
.password-toggle input {
    padding-right: 40px; /* مساحة للأيقونة */
}

.password-toggle .toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* Submit button */
.form-border-box.register .submit {
    width: 180px;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    text-align: center;

}

.form-border-box.register .submit:hover {
    background: #333;
}

/* Error message */
.form-border-box.register .error {
    display: block;
    font-size: 13px;
    color: #e63946;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Breadcrumb container */
.breadcrumb-link {     
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
}

/* Links */
.breadcrumb-link a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

/* Hover effect */
.breadcrumb-link a:hover {
    color: #ff3030;           /* أزرق عند الوقوف */
}

/* Current page */
.breadcrumb-link span {
    color: #6d6666;
    margin-left: 5px;
}

/* Separator (›) */
.breadcrumb-link a::after {
    content: "›";
    margin: 0 8px;
    color: #000000;
    font-weight: normal;
}

/* Remove separator after last item */
.breadcrumb-link span::after {
    content: "";
}

/* الرسالة الخضراء (نجاح) */
.alert-success.register {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 15px;
}

/* الرسالة الحمراء (خطأ) */
.alert-danger.register {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 15px;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 15px;
}

.form-border-box {
    border: 1px solid #e5e5e5;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
}

.form-border-box h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #222;
}

.form-border-box input[type="text"],
.form-border-box input[type="email"],
.form-border-box input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #f0f6ff;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    outline: none;
    transition: 0.25s;
}

.form-border-box input:focus {
    border-color: #28a745;
    background: #fff;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}

.form-border-box .submit {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.form-border-box .submit:hover {
    background: #333;
}

.form-border-box .submit.green {
    background: #28a745;
}

.form-border-box .submit.green:hover {
    background: #218838;
}

.forgot-password {
    display: block;
    margin-bottom: 20px;
    color: #207ee2;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    color: #ff3030;
}

.password-toggle {
    position: relative;
    width: 100%;
}

.password-toggle input {
    width: 100%;
    padding-right: 40px; /* مساحة للأيقونة */
}

/* Login form toggle */
.form-border-box.login .password-toggle .toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-20%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

/* Register form toggle */
.form-border-box.register .password-toggle .toggle-password {
    position: absolute;
    top: 35%;   /* نزلها شويه */
    right: 15px;
    transform: translateY(-40%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}
.password-toggle .toggle-password:hover {
    color: #000;
}


/* ====== End of Register/Login Form Styling ====== */

.padding-y {
    padding-top: 90px;
    padding-bottom: 90px;
}

.list-group-item:hover {
    background-color: #f4f4f4;
    color: #000;
}

.list-group-item.active {
    background-color: #0b0505;
    border-color: #111;
    color: #fff;
}


/* تصنيف المنتجات */

.product__item__text .rating-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

/* النجوم */
.product__item__text .rating i {
    color: #ccc;
    font-size: 14px;
    margin-right: 3px;
}

/* الزر */
.product__item__text .rating-cart .add-cart-btn {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #111;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product__item__text .rating-cart .add-cart-btn:hover {
    background: #ff4e00;
}


/* تصنيف المنتجات - نهاية */

.mb-2, .my-2{
    margin-bottom: 1.2rem !important;
}

/* .pro-qty-2 {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px 8px;
}

.pro-qty-2 input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
}

.pro-qty-2 .btn {
    padding: 4px 10px;
    font-size: 14px;
    border: none;
    background: none;
}

.pro-qty-2 .btn:hover {
    background: #f7f7f7;
} */

/* ====== Wishlist Empty State Styling ====== */

/* Layout */
.wishlist-card {
  border-radius: 15px;
  background: #fff;
  transition: transform 0.25s ease;
  overflow: hidden;
  position: relative;
}
.wishlist-card:hover {
  transform: translateY(-6px);
}

/* Product Image */
.wishlist-img {
  background: #f7f7f7;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wishlist-img img {
  max-height: 180px;
  object-fit: contain;
}

/* Product Info */
.wishlist-body {
  padding: 15px;
}
.wishlist-body .brand {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 4px;
}
.wishlist-body .name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.price {
  margin-bottom: 12px;
}
.price .new {
  font-weight: 600;
}
.price .old {
  text-decoration: line-through;
  color: #999;
  margin-left: 8px;
}

/* Buttons */
.btn-dark {
  background: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 14px;
}
.btn-dark:hover {
  background: #222;
}
.btn-dark.added {
  opacity: 0.8;
}

/* Remove Button */
.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #999;
  font-size: 16px;
  text-decoration: none;
}
.remove-btn:hover {
  color: #000;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3366;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
  background: #fafafa;
  padding: 15px 0;
}
.breadcrumb-link a {
  color: #333;
  text-decoration: none;
}
.breadcrumb-link span {
  color: #888;
  margin-left: 5px;
}

/* Hide default arrows in number input (Chrome, Edge, Safari) */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows in Firefox */
.qty-input[type=number] {
    -moz-appearance: textfield;
}

.quantity {
    gap: 5px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #e1e1e1;
}

.qty-input {
    width: 60px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
}



.img-fluidcustom {
    width: 350px !important; 
    height:auto  !important; /* كبر الحجم كما تريد */
    object-fit: cover;
}

.thumb-img {
    width: 90px;          /* العرض اللي انت عايزه */
    height: 90px;         /* الطول اللي انت عايزه */
    object-fit: cover;     /* تغطية الإطار بدون تشويه */
    border-radius: 8px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: 0.2s;
}

/* تحسين شكل الهوفر */
.thumb-img:hover {
    border-color: #111;
    transform: scale(1.05);
}

.qty-btncart {
    padding: 3px 14px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 20px;
    border-radius: 4px;
}
.qty-inputcart {
    width: 50px;
    height: 38px;
    border: 1px solid #ddd;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 18px;
}

.footer-logo {
    height: 50px;
}

/* Header Badge Styling */
.header__nav__option a {
    position: relative;
    display: inline-block;
}

.header__nav__option a .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff3366;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Override fixed style for the span original position in style.css */
.header__nav__option a span {
    position: absolute !important;
    left: auto !important;
    top: -8px !important;
    right: -10px !important;
}
