/* Frontend Header Styles */
.main-header-area {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-area img {
    max-height: 50px;
    width: auto;
}

.header-search-area {
    padding: 0 15px;
}

.header-search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    border: 1px solid #ff5151;
    border-radius: 4px 0 0 4px;
    padding: 10px 15px;
    font-size: 14px;
    border-right: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff5151;
    box-shadow: 0 0 0 0.15rem rgb(255 81 81 / 18%);
}

.search-btn {
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #0056b3;
}

.header-actions {
    gap: 20px;
}

.header-action-item {
    position: relative;
}

.header-action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ff5151;
    transition: color 0.3s ease;
}

.header-action-link i {
    font-size: 24px;
    margin-bottom: 5px;
}

.header-action-link .action-text {
    font-size: 12px;
    font-weight: 500;
}

.header-action-link:hover {
    color: #ff5151;
}

.navigation-bar-area {
    background: #ffffff;
    border-bottom: 1px solid #ffe1e1;
}

.main-navigation-bar {
    padding: 0;
    position: relative;
}

.navigation-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36px;
}
.navigation-menu > li {
    position: static;
}

.navigation-menu > li > a {
    position: relative;
    display: block;
    padding: 18px 0 14px;
    text-decoration: none;
    color: #202124;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}

.navigation-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #ff5151;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.navigation-menu > li > a:hover,
.navigation-menu > li > a.is-active {
    color: #ff5151;
}

.navigation-menu > li > a:hover::after,
.navigation-menu > li > a.is-active::after {
    transform: scaleX(1);
}

.navigation-menu > li.has-children > a {
    padding-right: 14px;
}

.navigation-menu > li.has-children > a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #202124;
    border-bottom: 2px solid #202124;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.navigation-menu > li.has-children > a.is-active::before,
.navigation-menu > li.has-children > a:hover::before {
    border-color: #ff5151;
}

.navigation-menu > li:hover > .sub-menu,
.navigation-menu > li.is-active > .sub-menu {
    display: flex;
}

.navigation-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    box-sizing: border-box;
    background: #ffecec;
    box-shadow: none;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 24px 24px;
    border-top: 1px solid #ffe1e1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 28px;
}

.navigation-menu .sub-menu li {
    margin: 0;
}

.navigation-menu .sub-menu li a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.navigation-menu .sub-menu li a:hover,
.navigation-menu .sub-menu li.is-active > a,
.navigation-menu .sub-menu li a.is-active {
    color: #ff5151;
    border-color: #ff5151;
}

.mobile-search-area {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    display: none;
}

.mobile-search-form {
    width: 100%;
}

.mobile-menu-btn {
    margin-left: 10px;
}

.off-canvas-btn {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.off-canvas-btn i {
    font-size: 24px;
    color: #333;
}

.off-canvas-btn:hover i {
    color: #007bff;
}

/* Tablet and below (max-width: 991px) */
@media (max-width: 991px) {
    .header-search-area {
        display: none !important;
    }
    
    .navigation-bar-area {
        display: none;
    }
    
    .navigation-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .header-action-link .action-text {
        font-size: 10px;
    }
    
    .header-action-link i {
        font-size: 20px;
    }
    
    .main-header-area .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
    .main-header-area {
        padding: 10px 0;
    }
    
    .logo-area {
        padding-left: 10px;
    }
    
    .logo-area img {
        max-height: 40px;
    }
    
    .header-actions {
        gap: 8px;
        padding-right: 10px;
    }
    
    .header-action-link .action-text {
        display: none;
    }
    
    .header-action-link i {
        font-size: 22px;
        margin-bottom: 0;
    }
    
    .navigation-bar-area {
        display: none;
    }
    
    .navigation-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .navigation-menu > li > a {
        padding: 12px 0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .navigation-menu .sub-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        padding-left: 20px;
        display: block;
    }
    
    .mobile-search-area {
        display: block !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* Small mobile devices (max-width: 575px) */
@media (max-width: 575px) {
    .main-header-area {
        padding: 8px 0;
    }
    
    .logo-area img {
        max-height: 35px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .header-action-link i {
        font-size: 20px;
    }
    
    .header-action-item:last-child {
        margin-right: 0;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .logo-area {
        padding-left: 5px;
    }
    
    .logo-area img {
        max-height: 30px;
    }
    
    .header-actions {
        gap: 3px;
        padding-right: 5px;
    }
    
    .header-action-link i {
        font-size: 18px;
    }
    
    .mobile-search-area {
        padding: 10px;
    }
    
    .search-input {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #6c757d;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.password-toggle-btn:hover {
    color: #495057;
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn i {
    font-size: 18px;
}

/* Add padding to password inputs to make room for toggle button */
.login-input-box input[type="password"],
.password-input-wrapper input[type="password"],
.input-group input[type="password"] {
    padding-right: 40px;
}
.cursor-auto{
    cursor: auto;
}
.quantity-field {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px; 
  height: 40px;
  margin: 0 auto;    
}

.quantity-field .value-button{ 
  border: 1px solid #dddddd;
  margin: 0px;
  width: 40px;
  height: 100%;   
  padding: 0;
  background: #eeeeee;
  outline: none;
  cursor: pointer;
}

.quantity-field .value-button:hover {
  background: rgb(230, 230, 230);
}

.quantity-field .value-button:active{
  background: rgb(210, 210, 210);
}

.quantity-field .value-button:disabled,
.quantity-field .value-button.disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  pointer-events: none;
}

.quantity-field .value-button:disabled:hover,
.quantity-field .value-button.disabled:hover {
  background: #f5f5f5;
}

.quantity-field .decrease-button {
  margin-right: -4px;
  border-radius: 8px 0 0 8px;
}

.quantity-field .increase-button {
  margin-left: -4px;
  border-radius: 0 8px 8px 0;
}
 
.quantity-field .number{
  display: inline-block;
  text-align: center;
  border: none;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  margin: 0px;
  width: 40px;
  height: 100%;
  line-height: 40px;
  font-size: 11pt;
  box-sizing: border-box; 
  background: #ffffff;
}

.quantity-field .number::selection{
  background: none;
}
.thumb-img{
    height: 100px;
    width: 100px;
}
.product-img{
    width: 270px;
    height: 295px;
}
.img-round {
    width: 190px;
    height: 190px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .img-round {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 767px) {
    .img-round {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 575px) {
    .img-round {
        width: 190px;
        height: 190px;
    }
}

@media (max-width: 480px) {
    .img-round {
        width: 140px;
        height: 140px;
    }
}

/* Frontend buttons and links-as-buttons: white bg, red border & text, hover tint */
.frontend-btn-style,
.btn,
.btn-2,
.slider-btn,
.hero-slider-one .slider-text-info .slider-btn,
.hero-slider-two .slider-text-info .slider-btn,
.pro_dtl_btn li a,
.pro_dtl_btn li a.buy_now_btn,
.cart-table .coupon-all .coupon2 .continue-btn,
.cart-page-total .proceed-checkout-btn,
.newsletter-footer .subscribe-btn,
.login-form-container .login-btn,
.login-form-container .register-btn,
.search-error-wrapper .home-bacck-button,
.view-cart,
.cart-table .coupon-all .coupon input.button,
.filter-price-cont .add-to-cart-button,
.search-btn,
.button-login,
.order-button-payment button,
.order-button-payment input[type="submit"],
.btn-print-order,
.our-blog-contnet .button-block .botton-border,
.about-us-contents .about-us-btn > a,
.contact-submit-btn .submit-btn,
.welcome-about-us .start-now .start-btn,
.banner-content a,
.banner-content-box a,
.single-banner .banner-content a,
a.view,
.dashboard-upper-info a.view,
.tab-orders a.view {
    background: #ffffff !important;
    border: 3px solid #ff5151 !important;
    color: #ff5151 !important;
    border-radius: 0;
    font-weight: 800;
    text-align: center;
    transition: background 0.3s ease;
}

.frontend-btn-style:hover,
.btn:hover,
.btn-2:hover,
.slider-btn:hover,
.hero-slider-one .slider-text-info .slider-btn:hover,
.hero-slider-two .slider-text-info .slider-btn:hover,
.pro_dtl_btn li a:hover,
.pro_dtl_btn li a.buy_now_btn:hover,
.cart-table .coupon-all .coupon2 .continue-btn:hover,
.cart-page-total .proceed-checkout-btn:hover,
.newsletter-footer .subscribe-btn:hover,
.login-form-container .login-btn:hover,
.login-form-container .register-btn:hover,
.search-error-wrapper .home-bacck-button:hover,
.view-cart:hover,
.cart-table .coupon-all .coupon input.button:hover,
.filter-price-cont .add-to-cart-button:hover,
.search-btn:hover,
.button-login:hover,
.order-button-payment button:hover,
.order-button-payment input[type="submit"]:hover,
.btn-print-order:hover,
.our-blog-contnet .button-block .botton-border:hover,
.about-us-contents .about-us-btn > a:hover,
.contact-submit-btn .submit-btn:hover,
.welcome-about-us .start-now .start-btn:hover,
.banner-content a:hover,
.banner-content-box a:hover,
.single-banner .banner-content a:hover,
a.view:hover,
.dashboard-upper-info a.view:hover,
.tab-orders a.view:hover {
    background: #ff515114 !important;
    border-color: #ff5151 !important;
    color: #ff5151 !important;
}

/* Disable theme button ::before hover effect so our hover background shows */
.btn::before,
.btn-2::before,
.hero-slider-one .slider-text-info .slider-btn::before,
.hero-slider-two .slider-text-info .slider-btn::before {
    display: none !important;
}
.search-btn {
    border: 1px solid #ff5151 !important;
}
.cursor-pointer{
    cursor: pointer;
}
.delivery-date-link { color: #6f42c1; }
.delivery-date-link:hover { color: #5a32a3; }
#delivery-date-display.empty { font-style: italic; color: #6c757d; }
.delivery-date-modal-header { border-bottom: 2px solid #6f42c1; position: relative; }
.delivery-date-modal-header .modal-title { color: #6f42c1; }
#delivery-cal-next, #delivery-cal-prev { color: #6f42c1; background: transparent; border: none; font-weight: 600; padding: 0.25rem 0.5rem; }
#delivery-cal-next:hover, #delivery-cal-prev:hover { color: #5a32a3; }
.delivery-cal-month-title { color: #6f42c1; font-weight: 600; font-size: 1rem; }
#delivery-calendar-months .table { table-layout: fixed; border-color: #dee2e6; }
#delivery-calendar-months .table thead th { color: #6f42c1; font-weight: 600; border-color: #dee2e6; width: 3rem; min-width: 3rem; height: 2.5rem; padding: 0.25rem; vertical-align: middle; text-align: center; box-sizing: border-box; background: transparent; }
#delivery-calendar-months .table tbody td { width: 3rem; min-width: 3rem; height: 3rem; min-height: 3rem; padding: 0.25rem; vertical-align: middle; text-align: center; box-sizing: border-box; border-color: #dee2e6; }
#delivery-calendar-months .delivery-cal-day { cursor: pointer; width: 100%; height: 2.5rem; min-height: 2.5rem; min-width: 2.5rem; border-radius: 0.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; margin: 0 auto; font-size: 0.875rem; }
.delivery-cal-day.available.standard { background-color: #fff; border: 1px solid #dee2e6; color: #6f42c1; }
.delivery-cal-day.available.standard:hover { background-color: #f8f5fc; }
.delivery-cal-day.available.expedited { background-color: #0d6efd; border: 1px solid #0d6efd; color: #fff; }
.delivery-cal-day.available.expedited:hover { background-color: #0b5ed7; }
.delivery-cal-day.available.expedited small { color: #fff; font-size: 0.65rem; }
.delivery-cal-day.unavailable { background-color: #f8f9fa; color: #adb5bd; border: 1px solid #dee2e6; cursor: not-allowed; position: relative; }
.delivery-cal-day.unavailable::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(135deg, transparent 45%, #dee2e6 50%, #dee2e6 15%, transparent 50%); pointer-events: none; }
.delivery-cal-day.other-month { visibility: hidden; }
.delivery-cal-day.selected { box-shadow: 0 0 0 2px #6f42c1; }
.delivery-cal-day.available.expedited.selected { box-shadow: 0 0 0 2px #6f42c1; }
.delivery-legend-dot { width: 1rem; height: 1rem; border-radius: 50%; display: inline-block; }
.delivery-legend-standard { border: 2px solid #6f42c1; background: #fff; }
.delivery-legend-expedited { background: #0d6efd; border: 2px solid #0d6efd; }