@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@import "./header.css";
@import "./slider.css";
@import "./hero.css";
@import "./category.css";
@import "./menu.css";
@import "./cart.css";
@import "./profile.css";

@font-face {
    font-family: 'MyFont';
    src: url('../fonts/NexaRustSlab-BlackShadow01.otf') format('truetype');
}
@font-face {
  font-family: mainFont;
  src: url(../fonts/NexaRustSlab-BlackShadow01.otf);
}
  /* :root {
  --primary-color: #e74c3c;      
  --secondary-color: #ff6b6b;
  --third-color : #c0392b;
  --opacity-color : 231, 76, 60 ;
} */

a{
    text-decoration: none;
    color: white;
}
* {
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    flex-wrap: nowrap;

}
button {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    margin: 0.2rem;
    border: 1px solid var(--primary-color);
}
button:hover {
    background-color: #ddccca33;
}
.right-side {
    width: 40vw;
    background-color: rgb(250, 249, 249);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.right-side img {
    max-width: 40%;
  }
.left-side {
    position: relative;
    max-width: 100vw;
    height: 100%;
    background-color: #f8f8f8;
    overflow-y: auto;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    scrollbar-width: none;
    -ms-overflow-style: none; 
}
.left-side::-webkit-scrollbar {
  display: none;               
}
.right-side img {
    max-width: 60%;
}
.left-side.rtl {
    direction: rtl;
    text-align: right;
}

.left-side.ltr {
    direction: ltr;
    text-align: left;
}
/* ////////////////////////////////// */

/* /////////////////////////// */

/* ////////////////////////////////// */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


/* /////////////////////////////////////// */
/* options and addons */
#item-options {
    margin: 2rem 0;
}
.option-group {
    margin: 20px 0;
    margin-bottom: 1.8rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: white;
}
.option-group h4 {
    color: #2d3436;
    margin: 0 0 1rem 0;
    padding-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.option-group h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}
.option-group label {
    display: flex;
    margin: 0.8rem 0;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid ;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #636e72;
    align-items: center; 
}
.option-group label:hover {
    background: rgba(var(--opacity-color), 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(var(--opacity-color), 0.2);
}
.option-group input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    margin-left: 12px;
    position: relative;
    transition: all 0.2s ease;
    transform: scale(1.3);
    accent-color: var(--primary-color);
}
.option-group input[type="radio"]:checked {
    border-color: var(--primary-color);
}
.option-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}
.addons-container , .free-addons-section{
    background: white;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.addons-container h4 {
    color: #2d3436;
    margin: 0 0 1rem 0;
    padding-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.addons-container h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}
.addons-container label ,.free-addons-section label {
    display: block;
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    cursor: pointer;
    font-size: 1rem;
    color: #636e72;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    font-weight: 600;
}
.addons-container label:hover , .free-addons-section label:hover {
    background: rgba(var(--opacity-color), 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(var(--opacity-color), 0.2);
}

.addons-container input[type="checkbox"] , .free-addons-section input[type="checkbox"]{
    margin-left: 12px;
    transform: scale(1.3);
    accent-color: var(--primary-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}
.addons-container input[type="checkbox"]:checked , .free-addons-section input[type="checkbox"]:checked  {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.addons-container input[type="checkbox"]:checked::after , .free-addons-section input[type="checkbox"]:checked::after{
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}
.addon-list {
    font-size: 15px;
    color: var(--primary-color);
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);    
}

/* ///////////////////////////////// */
.item-details {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 60vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 0;
    color: #2d3436;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.item-details-content {
    width: 50%;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    /* padding: 2.5rem; */
    border-radius: 16px;
    max-width: 750px;
    /* margin: 3rem auto; */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    max-height: calc(100vh - 2rem);
    overflow-y: auto; 
    padding-bottom: 6rem; 
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
    background: var(--third-color);
    transform: rotate(90deg) scale(1.1);
}

.item-details h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;

    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    position: relative;
}
.item-details .desc {
    width: 100%;
    text-align: center;
    color: #636e72;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    padding: 0 1rem;
}
.item-details .price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.8rem;
    text-align: center;
    margin: 1.5rem 0;
    background: rgba(var(--opacity-color), 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.item-details img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    /* margin: 1.5rem 0; */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.item-details img:hover {
    transform: scale(1.01);
}


/*///////////////////////////////////////////// */

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 2rem 0; */
    margin: 0;
    order: 2; 
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.quantity-selector button {
    background: #f5f6fa;
    color: var(--primary-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.quantity-selector button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.quantity-selector span {
    margin: 0 1rem;
    font-size: 1.3rem;
    color: #2d3436;
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}
.price-quantity-container {
    display: flex;
    flex-direction: row; 
    align-items: center;
    /* justify-content: space-between;
    gap: 1rem; */
    margin: 1.5rem 0;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}
#add-to-cart {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--third-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(var(--opacity-color), 0.4);
    overflow: hidden;
}
.sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
}
@media (max-width: 768px) {
    .item-details-content {
        margin: auto;
        padding: 1.5rem;
        border-radius: 0;
        width: 100%;
    }
    
    .item-details h2 {
        font-size: 1.6rem;
    }
    
    .item-details .desc {
        font-size: 0.95rem;
    }
}
@media (max-width: 480px) {
    .price-quantity-container {
        flex-direction: column; 
        align-items: stretch; 
        gap: 0.8rem;
        /* padding: 1.2rem; */
    }
    
    .item-details .price {
        font-size: 1.6rem;
        text-align: center; 
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
        margin-bottom: 0.5rem;
    }
    
    .quantity-selector {
        justify-content: center; 
    }
    
    .quantity-selector button {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
    
    .quantity-selector span {
        font-size: 1.4rem;
        margin: 0 1.2rem;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .price-quantity-container {
        /* padding: 1rem 1.2rem; */
    }
    
    .item-details .price {
        font-size: 1.7rem;
    }
    
    .quantity-selector button {
        width: 38px;
        height: 38px;
    }
}


/* /////////////////////////////// */
.view-details {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border: none;
  /* border-radius: 30px; */
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.view-details:hover {
  background-color: var(--primary-color);
}

.fa-plus-circle {
  font-size: 18px;
  transition: transform 0.3s;
  background-color: var(--primary-color);
}

.view-details .fa-plus-circle {
  transform: rotate(90deg);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.view-details:hover .plus-icon {
  animation: pulse 1s infinite;
}







/* تحسينات للوضع LTR */
.left-side.ltr {
    direction: ltr;
    text-align: left;
}



.left-side.ltr .menu-item img {
    margin-left: 0;
    margin-right: 1rem;
}

.left-side.ltr .side-menu {
    right: auto;
    left: -100%;
}

.left-side.ltr .side-menu.active {
    right: auto;
    left: 0;
}

.left-side.ltr .close-menu {
    left: auto;
    right: 15px;
}



.left-side.ltr .social-media {
    direction: ltr;
}



.left-side.ltr .option-group label,
.left-side.ltr .addons-container label {
    padding-left: 0;
    padding-right: 15px;
}

.left-side.ltr .option-group input[type="radio"],
.left-side.ltr .addons-container input[type="checkbox"] {
    margin-right: 12px;
}

.left-side.ltr .input-field input,
.left-side.ltr #promo-code,
.left-side.ltr #delivery-area {
    text-align: left;
}

.left-side.ltr .total-row,
.left-side.ltr .user-detail {
    flex-direction: row;
}

.left-side.ltr .quantity-selector button:first-child {
    order: 1;
}

.left-side.ltr .quantity-selector span {
    order: 2;
}

.left-side.ltr .quantity-selector button:last-child {
    order: 3;
}

/* إصلاحات للعناصر المطلقة */
.left-side.ltr header {
    direction: ltr;
}

.left-side.ltr .header-overlay {
    direction: ltr;
}

.left-side.ltr .restaurant-info {
    direction: ltr;
    text-align: center;
}










.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    backdrop-filter: blur(4px);
}

.popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: rgba(0, 0, 0, 0.368);
    padding: 35px 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.popup-modal.active .popup-content {
    transform: scale(1);
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
}
.popup-content p {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.7;
    color: white;
    font-weight: bold;
    font-weight: 400;
    word-spacing: 0.1rem;
}
.popup-content a{
    text-decoration: none;
    color: var(--primary-color);
}

.popup-content button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(var(--opacity-color), 0.3);
    position: relative;
    overflow: hidden;
}

.popup-content button:hover {
    background: var(--third-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--opacity-color), 0.4);
}

.popup-content button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(var(--opacity-color), 0.3);
}

.popup-content button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.popup-content button:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}










/* varients */
.variant-group-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.group-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-family: 'Tajawal', sans-serif;
}

.variant-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.variant-item {
    flex: 1 1 150px;
    min-width: 120px;
    position: relative;
}

.variant-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-item label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 1.2rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.variant-item label:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--opacity-color), 0.15);
}

.variant-item input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    animation: selected 0.4s ease;
}

@keyframes selected {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.variant-name {
    font-weight: 700;
    color: #2b2d42;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.variant-price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* تجاوبية أفضل للشاشات الصغيرة */
@media (max-width: 768px) {
    .variant-item {
        flex-basis: 48%;
    }
    
    .variant-group {
        gap: 0.6rem;
    }
    
    .variant-item label {
        padding: 1rem;
    }
}
/* ////////////////////////////////////////// */

/* payment-popup */
/* .payment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.payment-popup.active {
    opacity: 1;
    visibility: visible;
}

.payment-content {
    position: relative;
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
}

.payment-header {
    margin-bottom: 20px;
}

.payment-header h2 {
    color: var(--primary-color);;
    font-size: 1.5rem;
}

.payment-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-btn {
    padding: 12px 30px;
    border: var(--primary-color) 1px solid ;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.cancel-btn {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
} */



@media (max-width: 768px) {
    .right-side {
        display: none;
    }

    .item-details{
        width: 100%;
        height: 100%;
    }

    .left-side {
        width: 100%;
        height: 100%;
    }

    body {
        flex-direction: row;
        overflow: auto;
    }
    .side-menu{
        width: 50%;
    }
    .menu-item span{   
    max-width: 125px;   
    }

}
/* ///////////////////////////// */







#order-type-section{
    margin-top: 25px; 
    font-family: 'Segoe UI', Tahoma, sans-serif;
}
#order-type-section label{
    display: block; 
    margin-bottom: 12px; 
    font-weight: 600;
    color: #2d3748; 
    font-size: 16px;
}
.order-type-options{
    display: flex;
    align-items: center; 
    gap: 20px;
}
.order-type-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.order-type-options input{
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}
.order-type-options span{
    font-size: 15px;
    color: #4a5568;
}
#future-date-container{
    margin-top: 15px; 
    padding: 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0; 
    display: none;
}

#future-date-container label{
    display: block;
    margin-bottom: 10px; 
    font-weight: 500; 
    color: #2d3748; 
    font-size: 14.5px;
}
#future-date{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #1a202c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
#future-date:focus{
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}







#add-address-modal {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 30px 20px 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border: none;
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

#add-address-modal h4 {
    margin: 0 0 20px;
    font-size: 20px;
    text-align: center;
    color: #333;
}

#add-address-modal label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#add-address-modal select,
#add-address-modal textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

#add-address-modal button {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#submit-address {
    background-color: var(--primary-color);
    width: 50%;
    color: white;
    margin-right: 10px;
}

#add-address-modal .close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

#add-address-modal .close-btn:hover {
    color: #000;
}
.gradient-confirm-button {
    background:  linear-gradient(90deg, var(--primary-color), var(--third-color));
    border: none !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.gradient-confirm-button:hover {
    background:  linear-gradient(90deg, var(--primary-color), var(--third-color));
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}
/* offer Slider Styles */
.offer-slider {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}
.slide-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slide-button:hover {
    background-color: var(--third-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-control:hover {
    background-color: rgba(var(--opacity-color), 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offer-slider {
        height: 50vh;
    }   
    .slide-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .slider-control {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .offer-slider {
        height: 40vh;
    }
}
/* Pause state styles */
.slider-container.paused .slide {
    opacity: 0 !important;
}

.slider-container.paused::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(var(--opacity-color), 0.7);
    border-radius: 50%;
    z-index: 15;
    animation: pulse 2s infinite;
}

.slider-container.paused::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    color: white;
    font-size: 24px;
    z-index: 16;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
}

/* ///////////////////////////// */