.button-list a,
.button-list button {
  margin-right: 10px;
}

.button-list a:last-child {
  margin-right: 0px;
}

.to_count {
  border: 1px solid var(--color-primary);
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  display: flex;
  margin-right: 10px;
}

.to_count button {
  border: 0px;
  font-size: 25px;
  color: var(--color-primary);
  background-color: transparent;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.to_count input {
  font-size: 16px;
  width: 40px;
  border: 0px;
  outline: none;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0px;
  align-content: center;
  -moz-appearance: textfield;
}

/* Chrome, Safari, Edge, Opera */

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

.shopping-cart-form .select_number .number_area {
  border: 0px;
  font-size: 16px;
  line-height: 1;
  width: 35px;
  height: 39px;
}


.shopping-cart-form .select_number span.spinner>.sub,
.shopping-cart-form .select_number span.spinner>.add {
  background: transparent;
  color: var(--color-primary);
  border: 0px;
  font-size: 25px;
  width: 39px;
  height: 39px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.shopping-cart-form .select_number span.spinner>.sub:hover,
.shopping-cart-form .select_number span.spinner>.add:hover {
  background: var(--color-primary);
  color: var(--color-light);
}

.upLodImgs {
  display: none;
}

#imageCropper .cropImage img {
  max-height: 300px;
  max-width: 100%;
}

.gender_lists {
  display: flex;
  width: 100%;
}

.gender_list_each {
  flex: 1;
}

.gender_list_each input {
  display: none;
}


.gender_list_each label {
  position: relative;
  cursor: pointer;
  padding: 10px 10px;
  width: 100%;
  border: 1px solid #5A6770;
  color: #000;
}

.gender_list_each label .gender_name {}

.gender_list_each label p {
  color: inherit;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;

}




.gender_list_each input:checked+label {
  background-color: var(--color-primary);
  color: #000;
}

.dashboard_content h3 {
  text-transform: capitalize;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  align-items: center;
  color: #5A6770;
}

.dashboard_content h3 i {
  margin-right: 8px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
  margin: 0;
  padding: 0;
  color: #353535;
}

.wsus__dash_pro_area,
.wsus__dashboard_add {
  padding: 0px;
  border-radius: 5px;
  /* padding: 30px; background: #fff;
  box-shadow: rgba(99, 99, 99, 0.3) 0px 0px 8px 0px; */
}


.wsus__dash_add_single {
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: rgba(99, 99, 99, 0.3) 0px 0px 8px 0px;
}

.wsus__dash_add_single h4 {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 500;
  background: #ffce4a;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.wsus__dash_add_single h4 span {
  color: #08C;
  text-transform: capitalize;
  font-weight: 500;
  border: 1px solid#08C;
  background: #fff;
  padding: 0px 10px;
  border-radius: 4px;
}

.wsus__dash_add_single ul {
  padding: 10px 20px 20px 20px;
  padding: 10px 30px 20px 30px;
}

.wsus__dash_add_single ul li {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-size: 16px;
  text-transform: capitalize;
  flex-wrap: wrap;
}

.wsus__dash_add_single ul li span {
  color: #353535;
  text-transform: capitalize;
  font-weight: 500;
  width: 30%;
}

.wsus__address_btn {
  border-top: 1px solid #eee;
  background: #f2f9ff;
  display: flex;
  justify-content: space-between;

  padding: 10px 30px 30px 30px;
  border: 0px;
  background: transparent;
}

.wsus__address_btn a {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
  display: block;
  text-align: center;
  color: #000;
  padding: 5px;
  width: 100%;
  background: #08C;
}

.wsus__address_btn a,
.add_address_btn {
  border: 1px solid var(--color-primary);
  color: #000;
  background-color: var(--color-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  padding: 8px 20px 8px 20px;
  position: relative;
  display: flex;
  text-decoration: none;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  width: auto;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  align-items: center;
}

.add_address_btn {
  display: block;
}

.wsus__address_btn a:hover,
.add_address_btn:hover {
  background-color: var(--color-light);
  color: #000;
}

.wsus__address_btn a.del {
  border: 1px solid rgb(255 17 0 / 70%);

  color: #000;
  background-color: rgb(255 17 0 / 70%);

}

.wsus__address_btn a.del:hover {
  background-color: var(--color-light);
  color: rgb(255 17 0 / 70%);

}

.wsus__address_btn a i {
  margin-right: 8px;
}

.add_address_btn {
  margin-top: 15px;
}

.add_address_btn i {
  margin-right: 5px;
}

.wsus__add_address_single {
  margin-bottom: 25px;
}

.wsus__add_address_single label {
  text-transform: capitalize;
  margin-bottom: 5px;
}

.wsus__add_address_single label b {
  color: red;
}

.wsus__add_address_single input,
.wsus__add_address_single textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 5px;
  resize: none;
  border: 1px solid #eee;
}

.wsus__add_address_single .select2-container--default .select2-selection--single {
  border-radius: 5px;
}

.wsus__add_address button {
  border: none;
}

.wsus__topbar_select {
  display: flex;
}

.delivery-location-header {
    background: #f8f9fa;
    padding: 8px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.current-location, .no-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-location i, .no-location i {
    color: #28a745;
}

.change-location-btn, .select-location-btn {
    background: none;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.change-location-btn:hover, .select-location-btn:hover {
    background: #007bff;
    color: white;
}


.delivery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.delivery-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.delivery-modal-header {
    position: relative;
    padding: 15px 20px 0;
}

.delivery-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.delivery-modal-close:hover {
    color: #333;
}

.delivery-modal-content {
    padding: 20px 30px 30px;
    text-align: center;
}

.delivery-logo {
    margin-bottom: 20px;
}

.logo-img {
    height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.delivery-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.delivery-form {
    margin-bottom: 20px;
}

.delivery-input-container {
    position: relative;
    margin-bottom: 15px;
}

.delivery-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.delivery-input:focus {
    border-color: #7c3aed;
}

.delivery-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    font-size: 14px;
    color: #333;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.delivery-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.delivery-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.delivery-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.delivery-continue-btn {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 120px;
}

.delivery-continue-btn:hover {
    background: #6d28d9;
}

.delivery-continue-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.delivery-country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
}

.country-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    fill: #666;
}

/* Loading state */
.delivery-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .delivery-modal {
        width: 95%;
        margin: 20px;
    }
    
    .delivery-modal-content {
        padding: 15px 20px 25px;
    }
    
    .delivery-title {
        font-size: 16px;
    }
    
    .delivery-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Success animation */
.delivery-success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.location-button {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-button .text-muted {
    color: #6c757d !important;
    font-style: italic;
}

.delivery-location-display {
    color: #28a745 !important;
    font-weight: 500;
}

.location-button:hover {
    text-decoration: none;
    color: inherit;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

#headerLocationName {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

/*.wishlist-btn {
  background: #fff;
  border: 2px solid #dc3545;
  color: #dc3545;
  padding: 12px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  margin-left: 10px;
}

.wishlist-btn:hover {
  background: #dc3545;
  color: #fff;
  transform: scale(1.05);
}

.wishlist-btn.active {
  background: #dc3545;
  color: #fff;
}

.wishlist-btn.active i {
  font-weight: 900; /* Makes it solid when active */
}*/

#wishlist-icon {
  font-size: 1.2rem;
}


.wishlist_remove_btn {
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dc3545;
    color: #dc3545;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.wishlist_remove_btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* resources/frontend/css/custom.css */

.product_card {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
}

.product_card_body_left_price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product_card_body_left_price .price small {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

.product_card_body_left_price .off_price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.product_card_body_left_price .inpercentage_price {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
}

