/*
Theme Name: eBtech
Text Domain: ebtech
Version: 1.0.0
Requires at least: 4.7
Requires PHP: 8.1
Author: Eliran Biton
*/

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');

@font-face {
    font-family: Dana;
    src: url('./fonts/dana-font.ttf');
}

:root {
    --primary: #FC3468;
    --primary-op1: #FC346888;
    --secondary: #F6E9E7;
    --white: #fff;
    --lgary: #5F7073;
    --gary: #9D9D9D;
    --gold: #F1C840;
    --gary-2: #4D4D4D;
    --dark: #121212;
    --black: #000;
    --trans: all .18s linear;
    --theme-font: "Assistant", sans-serif;
}

body {
    font-family: var(--theme-font);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utilities */
.asp1 {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.bg-theme {
    background-color: var(--primary);
}

.bg-theme2 {
    background-color: var(--secondary);
}

.bg-flower {
    background: url('./images/bg-test.webp') center/cover no-repeat;
}

.flip-x {
    transform: rotateY(180deg);
}

.flip-y {
    transform: rotateX(180deg);
}

.text-hover-theme {
    transition: var(--trans);
}

.text-hover-theme:hover,
.text-theme,
.breadcrumb-item.active {
    color: var(--primary) !important;
}

.secTitle {
    font-size: 52px;
    font-weight: 700;
}

.shadow-md {
    box-shadow: 0 0 15px #0001;
}

.btn-theme {
    font-weight: 600;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 34px;
    border: 2px solid var(--primary) !important;
    transition: var(--trans);
}

.border-theme {
    border: 1px solid var(--primary) !important;
}

.btn-theme:hover,
.btn-themme-hover:hover {
    color: var(--primary) !important;
    background-color: var(--white) !important;
}

.theme-font {
    font-family: var(--theme-font) !important;
}

.shadow-images img {
    box-shadow: 0 0 10px #0001;
    aspect-ratio: 1/1;
    border: 5px solid #fff;
}

.quantity-box {
    width: 100px;
}

.woocommerce .quantity .qty,
.quantity input {
    width: 100%;
    display: inline-block;
    direction: rtl;
    box-shadow: none;
    transition: var(--trans);
    text-align: right;
    height: 50px;
    border-radius: 50rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.variation_attribute_option {
    margin-right: 10px;
}

.quantity:focus {
    background-color: #fff !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-op1) !important;
    box-shadow: 0 0 10px #0001;
}

.breadcrumb {
    font-size: 24px;
}

.breadcrumb-item,
.breadcrumb-item a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
}

.nobg .breadcrumb-item + .breadcrumb-item::before,
.nobg .breadcrumb-item,
.nobg .breadcrumb-item a {
    color: var(--bs-secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f053";
    font-family: "Font Awesome 6 Free";
    font-weight: 700;
    padding: 6px 3px 0 12px;
    font-size: 18px;
    color: var(--white);
}

/* Top Header */
.topheader ul {
    flex-wrap: wrap;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topheader ul li {
    margin-right: 24px;
}

.topheader ul li a {
    text-decoration: none;
    color: var(--white);
    transition: var(--trans);
    font-weight: 600;
}

.topheader ul li a:hover {
    color: var(--primary);
}

.topheader ul li a span {
    margin-right: 4px;
}

.socialIcons li {
    margin-right: 8px !important;
}

.socialIcons a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    aspect-ratio: 1/1;
    background-color: var(--white);
    color: var(--dark) !important;
    border-radius: 50%;
    border: 1px solid transparent;
}

.socialIcons a:hover {
    background-color: var(--dark);
    color: var(--white) !important;
    border-color: var(--white);
}

/* Navigation Menu */
.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0 18px !important;
    color: var(--gary-2);
    font-size: 18px;
}

.navbar-nav a.active,
.navbar-nav a:hover {
    color: var(--primary) !important;
}

#headerNavigation form .btn:hover {
    color: var(--primary);
}

.infotext {
    font-size: 22px;
}

/* Hero Section */
.hero {
    position: relative;
    display: grid;
    place-content: center;
    overflow: hidden;
    /* Set the BG Video First frame here for the smooth transition */
    background: url("./images/bg-hero-fallback.webp") center/cover;
}

.video-background {
    height: 150%;
    transform: translate(-50%, -60%);
    width: 150%;
}

.video-background iframe {
    aspect-ratio: 16/9;
    height: auto;
    width: 100%;
}

.container {
    position: relative;
    z-index: 1;
}

.bg-overlay {
    background-color: rgba(0, 0, 0, .6);
}

.hero .title {
    font-family: Dana;
}

/* Products */
.productBox {
    width: 100%;
    transition: var(--trans);
}

.productBox img {
    transition: var(--trans);
    width: 100%;
    max-width: 100%;
    height: 300px;
    display: flex;
    object-fit: cover;
    object-position: center;
}

.productBox:hover img {
    transform: scale(.95);
}

.productBox .details .title {
    margin-bottom: 0;
    font-size: 28px;
}

.productBox .details .title a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--trans);
}

.productBox .details .title a:hover {
    color: var(--primary);
}

.price span::before,
.price del::before {
    /*content: '₪';*/
}

.price {
    font-size: 22px;
    font-weight: 600;
}

.price .coin {
    color: var(--primary);
}

/* Product Slider */
.swiper-wrapper .swiper-slide {
    /* border: 1px solid red; */
}

.squareImages .productBox img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Offered Products */

.offerText {
    top: 22%;
    width: 50%;
}

.offerText .title {
    font-weight: 700;
    font-size: 46px;
}

.offerText p {
    font-size: 20px;
    font-weight: 600;
    padding: 0 45px 0 80px;
}

.offerText .offer {
    font-size: 90px;
    font-weight: bold;
}

/* How It Works */
.howitWorks {
    font-size: 22px;
    font-weight: 600;
}

.howitworksimg {
    display: block;
    width: 80%;
    margin: auto;
}

.bgflower {
    height: 500px;
    background-color: #eee;
    background: url('./images/bg-flower.webp') top center/cover;
    margin-bottom: -175px;
    margin-top: -120px;
}

/* Footer  */
.quicklinks {
    list-style-type: none;
    padding: 0;
}

.quicklinks a {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    transition: var(--trans);
}

.quicklinks a:hover {
    color: var(--primary);
}

.sociallinks img {
    height: 40px;
    width: auto;
}

/* Tesimonials : Starts */
.testimonialBox {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonialBox .authorimg {
    height: 120px;
    width: 120px;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 50%;
}

.testimonialBox .author {
    font-size: 32px;
    font-weight: 700;
}

.testimonialBox .stars,
.ProductSidebar .stars {
    color: var(--gold);
}

.ProductSidebar .categories a {
    color: var(--bs-secondary);
    transition: var(--trans);
}

.ProductSidebar .categories a.active,
.ProductSidebar .categories a:hover {
    color: var(--bs-black);
}

.testimonialBox .review {
    color: var(--dark);
    font-size: 24px;
    font-weight: 600;
}

.testswiper .swiper-button-prev:after,
.testswiper .swiper-button-next:after {
    display: none;
}

.testswiper .swiper-button-prev,
.testswiper .swiper-button-next {
    font-size: 30px;
    border: 2px solid var(--dark);
    color: var(--dark);
    aspect-ratio: 1/1;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Tesimonials : Ends */
/* Form */

.form-checkbox {
    display: block;
    margin-bottom: 15px;
}

.form-checkbox input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.form-checkbox label {
    position: relative;
    cursor: pointer;
}

.form-checkbox label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid var(--gary-2);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 5px;
    transition: var(--trans);
}

.form-checkbox input:checked + label:after {
    transition: var(--trans);
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    right: 9px;
    width: 6px;
    height: 14px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check2 label::before {
    border-color: #BDBDBD !important;
    border-radius: 6px;
}

.check2.sm label::after {
    top: 3px !important;
    right: 7px !important;
    width: 7px !important;
    height: 13px !important;
}

.check2.sm label::before {
    padding: 8px;
}

.form-checkbox.check2 input:checked + label:before {
    background-color: var(--primary);
    border-color: transparent !important;
}

.form-checkbox.check2 input:checked + label:after {
    border-color: var(--white) !important;
    border-radius: 2px !important;
}

/* Shop Page */
/* .ProductSidebar.accordion *:not(input, .border, .btn, .accordion-header) { */
.ProductSidebar .accordion-button,
.ProductSidebar .accordion-item {
    border-radius: 0 !important;
    border: transparent !important;
    box-shadow: none !important;
}

.ProductSidebar .accordion-button {
    font-size: 24px;
    font-weight: bold;
    color: var(--gary-2);
    border-bottom: 0px solid red !important;
}

.ProductSidebar .accordion-body {
    border: 0px solid transparent !important;
    padding-top: 0;
}

.ProductSidebar .accordion-button:not(.collapsed) {
    background-color: var(--white);
}

.ProductSidebar .accordion-header {
    border-top: 2px solid #DEE2E7 !important;
}

.ProductSidebar .accordion-button:not(.collapsed) {
    color: var(--black);
}

.ProductSidebar .categories a {
    font-size: 20px;
    text-decoration: none;
}

/* Price Range Filter style  */

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

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.slider {
    height: 5px;
    position: relative;
    background: #5F707388;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 25%;
    right: 25%;
    position: absolute;
    border-radius: 5px;
    background: var(--primary);
}

.range-input {
    position: relative;

}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 1px solid #AFD0FF;
    background: var(--white);
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border: none;
    border-radius: 50%;
    border: 1px solid #AFD0FF;
    background: var(--white);
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.listGrid .btn-check:checked + .btn {
    background-color: var(--bs-gray-300);
    color: var(--primary);
}

.listGrid label {
    display: grid;
    aspect-ratio: 1/1;
    padding: 8px;
}

.listGrid label i {
    font-size: 20px;
}

.listGrid label,
.listGrid .btn-check:checked + .btn,
.listGrid .btn-check + .btn:hover {
    border-color: var(--bs-gray-300) !important;
}

.mobilefilter {
    display: flex;
    align-items: center;
    width: 100%;
}

.btn-outline-secondary {
    border-color: var(--bs-gray-500) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--bs-gray-500) !important;
}

.productFilter {
    display: flex;
    justify-content: space-between;
}

/* Pagination */
.pagination a {
    color: var(--dark);
}

.active > .page-link,
.page-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link:focus,
.pagination .page-link:hover {
    z-index: 3;
    border-color: var(--primary);
    color: var(--dark);
    outline: 0;
    box-shadow: none !important;
}

/* Abnout Us Page  */
.iconBox {
    display: flex;
    align-items: end;

}

.iconBox img {
    height: 70px;
    width: 70px;
    aspect-ratio: 1/1;
}

.imageCollage img {
    padding: 7px;
    filter: drop-shadow(0 0 1px var(--primary));
}

.teamPill .socialMedia a {
    color: var(--dark);
    font-size: 20px;
    transition: var(--trans);
    padding: 0 4px;
}

.teamPill .socialMedia a:hover {
    color: var(--primary);
}

.contactusform .form-control:not(textarea) {
    height: 50px;
}

/* Cart Page */
.cartPage {
    background-color: var(--bs-gray-200);
}

.noColor td,
.noColor th {
    background-color: transparent !important;
}

.cartPage .preview {
    display: flex;
}

.cartPage .preview img {
    aspect-ratio: 10/8;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 2px #0004;
    max-width: 120px;
}

.quantityInput {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gary);
    border-radius: 6px;
    width: 100px;
    padding: 0 10px;
}

.quantityInput .form-control {
    background-color: #fff0;
    border: 0;
    box-shadow: none;
}

.quantityInput i {
    cursor: pointer;
}

.quantityInput i:hover {
    color: var(--primary);
}

a.text-underline:hover {
    text-decoration: none;
}

.cartPage table td {
    vertical-align: middle;
}

.subtotal_col,
.total_col {
    min-width: 85px;
}

/* Login Page  */
.singin {
    background-color: var(--white);
    max-width: 450px;
}

.h-24 {
    height: 24px;
}

/* Not Found Page  */
.notfound h1 {
    font-size: 300px;
}

.marquee {
    overflow: hidden;
    position: relative;
}

.infotext {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.infotext span {
    padding-right: 50px;
    font-size: 24px;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* Burger Icon for Menu */

.hamburger .line {
    width: 40px;
    height: 4px;
    background-color: var(--gary-2);
    border-radius: 5px;
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover {
    cursor: pointer;
}

/* ONE */
#hamburger-1.is-active .line {
    background-color: var(--primary);
}

#hamburger-1.is-active .line:nth-child(2) {
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -o-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    -o-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}

/* Product List View */
[data-product-view="list"],
.listView {
    flex-wrap: wrap !important;
}

[data-product-view="list"] .buynow {
    background-color: transparent !important;
    border: 0 !important;
    color: var(--primary) !important;
    text-decoration: underline !important;
    padding: 0 !important;
}

[data-product-view="list"] .productBox,
.listView .productBox {
    display: flex;
    align-items: center;
    box-shadow: 0 0 5px #0001;
    flex-wrap: wrap !important;
}

.listView > .col,
[data-product-view="list"] > .col {
    width: 100% !important;
}

[data-product-view="list"] > .col .productBox img {
    width: 170px !important;
}

.listView > .col .productBox img {
    width: 70px !important;
    margin: 0 0 0 12px !important;
    height: auto;
}

.cartbtn .badge {
    transform: translate(-10px, -10px);
}

.listView .productBox .details .title,
.listView .productBox .price {
    font-size: 18px;
}

.listView .quantityInput {
    width: 80px;
    padding: 0 10px;
}

.listView .quantityInput input {
    padding: 0;
    font-size: 18px;
}

.delete {
    cursor: pointer;
}

.toastr-custom {
    background-color: var(--white);
    border: 2px solid var(--primary); /* Bold pink border */
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: var(--theme-font);
    direction: rtl;
    transition: var(--trans);
}

.toast-title {
    font-size: 1.1rem;
    color: #fff !important;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 1rem;
    color: #fff !important;
}

.toast-success {
    background-color: var(--primary) !important; /* Soft pink for success */
    color: #fff !important;
}

.toast-error {
    background-color: var(--primary-op1); /* Semi-transparent pink for error */
}

.toastr-custom:hover {
    border-color: var(--gold); /* Gold highlight on hover */
    transform: translateY(-2px);
}

.toast-progress {
    background-color: var(--gold); /* Gold progress bar */
}

.productBox img {

}

.price .sale {
    font-size: 1.2em;
}

.price del {
    font-size: 0.8em;
    opacity: 0.7;
}

.price .badge {
    font-size: 0.7em;
    vertical-align: top;
}

.scroll-to-top {
    background: var(--primary);
    color: #fff;
    bottom: 10%;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 20px;
    z-index: 999;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    width: 40px;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s linear;
    -moz-transition: background-color 0.3s linear;
    -o-transition: background-color 0.3s linear;
    transition: background-color 0.3s linear;
}

.product-details > article p {
    color: #6c757d;
    font-weight: 600;
    font-size: 1.5rem;
}

@media (min-width: 768px) {

    .position-md-absolute {
        position: absolute;
    }

    .productFilter {
        box-shadow: 2px 2px 5px #0001;
        background-color: var(--white);
        border: 1px solid var(--bs-gray-300);
    }
}

@media (min-width: 992px) {

    .btn-theme.lg-btn {
        font-size: 22px;
        padding: 10px 40px;
    }

    .hero .subtitle {
        font-size: 28px;
    }

    .howitworksimg {
        width: 40%;
        position: absolute;
        transform: translateY(-50%);
    }

    .cartPage table:not(.compact) td {
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

@media (min-width: 1200px) {

    .hero .title {
        font-size: 110px;
    }

    .howitworksimg {
        width: 50%;
    }
}

@media (max-width: 1199.98px) {
    #headerNavigation {
        box-shadow: 0 0 10px #0001;
    }

    #headerNavigation .navbar-nav,
    #headerNavigation form {
        padding: 10px 20px 20px;
    }

    .offerText .title {
        font-size: 42px;
    }

    .offerText p {
        font-size: 20px;
        padding: 0 45px 0 80px;
    }

    .offerText .offer {
        font-size: 100px;
    }

    .testimonialBox {
        max-width: 650px;
    }
}

@media (max-width: 991.98px) {
    .secTitle {
        font-size: 42px;
        font-weight: 700;
    }

    .topheader ul {
        justify-content: center;
        margin-bottom: 4px;
    }

    .topheader a {
        font-size: 14px;
        text-align: center;
    }

    .infotext {
        font-size: 14px;
    }

    .bgflower {
        height: 400px;
    }

    .testswiper .swiper-button-prev,
    .testswiper .swiper-button-next {
        font-size: 22px;
        width: 42px;
        height: 42px;
        top: 24%;
    }

    .order-1-sm {
        order: 1;
    }

    .order-2-sm {
        order: 2;
    }

    .order-3-sm {
        order: 3;
    }

}

@media (max-width: 767.98px) {
    .row-cols-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .mobilefilter {
        align-items: start;
        position: absolute;
        width: fit-content;
        background-color: white;
        flex-direction: column;
        right: 0;
        top: 100%;
        box-shadow: 0 0 10px #0001;
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {
    .video-background iframe {
        width: auto;
        height: 100%;
    }

    .productBox {
        width: 100%;
        margin: auto;
        box-shadow: 0 0 2px #0002;
        background-color: var(--white);
    }

    .productBox .details {
        padding: 10px;
    }

    .offerText .offer {
        font-size: 70px;
    }

    .offerText p {
        padding: 0 30px;
    }

    .notfull {
        max-width: 90%;
    }

    .display-5 {
        font-size: 24px;
    }

    /* Slider */
    .testswiper .swiper-button-prev,
    .testswiper .swiper-button-next {
        font-size: 22px;
        width: 42px;
        height: 42px;
        top: 24%;
    }

    .secTitle {
        font-size: 32px;
        text-align: center;
    }

    .testimonialBox .review {
        font-size: 16px;
    }

    .copyright {
        font-size: 13px;
    }

    .footerlogo {
        max-width: 90%;
    }

    .fs-5 {
        font-size: 16px !important;
    }

    .form-checkbox label:before {
        padding: 8px;
    }

    .form-checkbox input:checked + label:after {
        top: 2px;
        right: 7px;
        width: 6px;
    }

    .bgflower {
        height: 330px;
        margin-bottom: -215px;
        margin-top: -30px;
    }

    .totalProducts {
        font-size: 14px;
    }

    .productBox .details .title {
        font-size: 18px;
    }

    .price,
    .productBox .buynow {
        font-size: 16px;
    }

    .iconBox img {
        height: 60px;
        width: 60px;
        aspect-ratio: 1/1;
    }

    .iconBox .fs-4 {
        font-size: 14px !important;
    }

    .cartPage .preview .name {
        font-size: 16px;
    }

    .cartPage .preview img {
        width: 70px;
        height: 70px;
        margin-bottom: 6px;
    }

    .cartPage .preview {
        min-width: 180px;
    }

    .cartPage .preview > div {
        padding-right: 12px;
    }

    .loginWith .btn-lg {
        font-size: 14px;
    }

    .notfound h1 {
        font-size: 140px;
    }

    .notfound .subtitle {
        font-size: 20px;
    }

    /* .fs-4 {
      font-size: 16px !important;
    } */
    .img-fluid-sm {
        width: 100%;
        max-height: 350px;
        object-fit: cover;
    }

    [data-product-view="list"] > .col .productBox img {
        width: 100px !important;
        margin: 0 0 0 4px !important;
    }

    .productListing > .col {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .productBox .buynow {
        text-decoration: underline;
        padding: 0 !important;
        background-color: transparent !important;
        color: var(--primary) !important;
        border: 0 !important;
    }
}

/* WooCommerce Checkout Field Styling */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    direction: rtl;
    font-family: var(--theme-font);
}

.woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row label {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background-color: var(--white);
    border: 2px solid #dee2e6; /* Bold pink #FC3468 */
    border-radius: 1rem;
    color: var(--dark);
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    transition: var(--trans);
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--gold); /* Gold #F1C840 */
    box-shadow: 0 0 0 0.2rem rgba(241, 200, 64, 0.25);
    transform: translateY(-2px);
}

.woocommerce-checkout .form-row input.input-text::placeholder,
.woocommerce-checkout .form-row textarea::placeholder {
    color: var(--gary);
    opacity: 0.7;
}

.woocommerce-checkout .form-row select {
    border: 2px solid #dee2e6; /* Bold pink #FC3468 */
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23FC3468" d="M2 4l4 4 4-4H2z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    position: relative;
}

.woocommerce-checkout .form-row select .woocommerce-input-wrapper::after {
    content: '\f0d7'; /* Font Awesome caret-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Error and Validation */
.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
    border-color: var(--primary-op1); /* Semi-transparent pink #FC346888 */
    background-color: var(--secondary); /* Soft pink #F6E9E7 */
}

.woocommerce-checkout .woocommerce-error {
    color: var(--primary-op1);
    background-color: var(--secondary);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .woocommerce-checkout .form-row input.input-text,
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Delivery Wizard Styles */
.delivery-wizard {
    direction: rtl;
    text-align: right;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-header {
    position: relative;
    margin-bottom: 2rem;
}

.btn-back {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary);
    padding: 0.5rem;
}

.btn-back:hover {
    color: var(--primary-op1);
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gary);
    color: white;
    font-weight: bold;
    transition: var(--trans);
}

.step.active {
    background-color: var(--primary);
}

.step.completed {
    background-color: var(--gold);
}

.delivery-options,
.address-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-option-btn,
.address-option-btn {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gary-2);
    transition: var(--trans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-option-btn:hover,
.address-option-btn:hover,
.delivery-option-btn.selected,
.address-option-btn.selected {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

.date-selection .quick-dates {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.date-btn {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.date-btn:hover,
.date-btn.selected {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

.date-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.date-value {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.address-form {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-op1);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.wizard-actions {
    text-align: center;
}

#finishWizard:disabled {
    background-color: var(--gary);
    border-color: var(--gary);
    cursor: not-allowed;
}

/* Loading animation */
.wizard-loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.wizard-loading .spinner-border {
    color: var(--primary);
}

/* Success state */
.wizard-success {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--primary);
}

.wizard-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Modal customizations */
#deliveryWizardModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#deliveryWizardModal .modal-header {
    padding: 1.5rem 1.5rem 0;
}

#deliveryWizardModal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

/* Enhanced button styles */
.delivery-option-btn i,
.address-option-btn i {
    font-size: 1.5rem;
}

/* Form enhancements */
.address-form .form-label {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.5rem;
}

/* Date picker enhancements */
.custom-date {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.custom-date .form-control {
    background: white;
}

@media (max-width: 768px) {
    .date-selection .quick-dates {
        flex-direction: column;
    }

    .delivery-options,
    .address-options {
        gap: 0.75rem;
    }

    .delivery-option-btn,
    .address-option-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .wizard-header h3 {
        font-size: 1.3rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    #deliveryWizardModal .modal-dialog {
        margin: 1rem;
    }

    #deliveryWizardModal .modal-body {
        padding: 1rem;
    }
}

/* Checkout Delivery Section Styles */
.delivery-wizard-checkout-section {
    margin-bottom: 2rem;
}

.delivery-wizard-checkout-section .card {
    border: 2px solid var(--secondary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delivery-wizard-checkout-section .card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-op1));
    border-radius: 10px 10px 0 0;
    border: none;
}

.delivery-wizard-checkout-section .card-body {
    padding: 1.5rem;
}

.delivery-wizard-checkout-section .card-body strong {
    color: var(--gary-2);
    display: inline-block;
    min-width: 80px;
    margin-left: 0.5rem;
}

.delivery-wizard-checkout-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    transition: var(--trans);
}

.delivery-wizard-checkout-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Checkout specific wizard styling */
#deliveryWizardCheckout .wizard-step {
    display: none;
}

#deliveryWizardCheckout .wizard-step.active {
    display: block;
}

#deliveryWizardCheckout .delivery-option-btn.selected,
#deliveryWizardCheckout .address-option-btn.selected,
#deliveryWizardCheckout .date-btn.selected {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

/* Responsive checkout delivery section */
@media (max-width: 768px) {
    .delivery-wizard-checkout-section .card-body {
        padding: 1rem;
    }

    .delivery-wizard-checkout-section .card-body .row > div {
        margin-bottom: 0.5rem;
    }

    .delivery-wizard-checkout-section .card-body strong {
        display: block;
        margin-bottom: 0.25rem;
        min-width: auto;
    }
}

/* Custom Checkout Form Styles */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.checkout-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.section-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-op1));
    padding: 1.5rem;
    border-bottom: none;
}

.section-title {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.section-content {
    padding: 2rem;
}

/* Custom Form Fields */
.custom-form-field {
    margin-bottom: 1.5rem;
}

.custom-form-field .form-label {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.custom-form-field .required {
    color: var(--primary);
}

.custom-input,
.custom-select,
.custom-textarea {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--trans);
    background: #fafafa;
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-op1);
    background: white;
    outline: none;
}

.custom-checkbox {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: var(--trans);
}

.custom-checkbox:hover {
    border-color: var(--primary-op1);
}

.custom-checkbox .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    border: 2px solid var(--gary);
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox .form-check-label {
    font-weight: 500;
    color: var(--gary-2);
    margin-right: 0.75rem;
}

/* Order Summary Section */
.order-summary-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.order-summary-section .sticky-top {
    top: 2rem;
}

/* Order Items */
.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.item-image {
    width: 60px;
    height: 60px;
    margin-left: 1rem;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex-grow: 1;
    padding: 0 1rem;
}

.item-name {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.item-quantity {
    font-size: 0.875rem;
    color: var(--gary);
}

.item-total {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

/* Order Totals */
.order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
}

.order-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.total-label {
    font-weight: 500;
    color: var(--gary-2);
}

.total-value {
    font-weight: 600;
    color: var(--gary-2);
}

.order-total-final {
    border-top: 2px solid var(--primary);
    margin-top: 1rem;
    padding-top: 1rem !important;
    font-size: 1.125rem;
}

.order-total-final .total-label {
    font-weight: 700;
    color: var(--gary-2);
}

.order-total-final .total-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

/* Payment Section */
.payment-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.woocommerce-checkout-payment {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment_methods li {
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: var(--trans);
}

.payment_methods li:hover {
    border-color: var(--primary-op1);
}

.payment_methods li.wc_payment_method {
    padding: 1rem;
}

.payment_methods input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.75rem;
}

.payment_methods label {
    font-weight: 600;
    color: var(--gary-2);
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Enhanced Payment Method Styling */
.payment-title {
    color: var(--gary-2);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.payment-method-label {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
}

.payment-method-content {
    flex-grow: 1;
}

.payment-method-title {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.25rem;
}

.payment-method-description {
    font-size: 0.875rem;
    color: var(--gary);
    margin: 0;
}

.payment-method-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
}

.payment_box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

.payment-fields .form-row {
    margin-bottom: 1rem;
}

.payment-fields .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.payment-fields .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-op1);
}

/* Payment method selection states */
.payment_methods li input[type="radio"]:checked + label {
    background: var(--primary-op1);
    border-color: var(--primary);
}

.payment_methods li input[type="radio"]:checked + label .payment-method-title {
    color: var(--primary);
}

/* Order Pay Page Styles */
.order-pay-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.order-details-section,
.order-items-section,
.payment-section-pay {
    margin-bottom: 2rem;
}

/* Order Info Grid */
.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.order-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-info-item strong {
    color: var(--gary-2);
    font-weight: 600;
    font-size: 0.95rem;
}

.order-info-item span {
    color: var(--gary);
    font-size: 1rem;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-on-hold {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-completed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.amount-due {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Order Items in Pay Page */
.order-items-section .order-items {
    margin-bottom: 1.5rem;
}

.order-items-section .order-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-section .order-item:last-child {
    border-bottom: none;
}

.order-items-section .item-image {
    width: 80px;
    height: 80px;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.order-items-section .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.order-items-section .item-details {
    flex-grow: 1;
    padding: 0 1.5rem;
}

.order-items-section .item-name {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.order-items-section .item-quantity {
    font-size: 0.875rem;
    color: var(--gary);
    margin-top: 0.5rem;
}

.order-items-section .item-total {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Order Totals in Pay Page */
.order-items-section .order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.total-row:last-child {
    border-bottom: none;
}

.total-final {
    border-top: 2px solid var(--primary);
    margin-top: 1rem;
    padding-top: 1rem !important;
    font-size: 1.125rem;
    font-weight: 700;
}

.total-final .total-label {
    color: var(--gary-2);
    font-weight: 700;
}

.total-final .total-value {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Payment Section in Pay Page */
.payment-section-pay .payment-methods-section {
    margin-bottom: 2rem;
}

.order-pay-form .place-order-section {
    margin-top: 2rem;
}

/* Mobile Responsive for Pay Page */
@media (max-width: 768px) {
    .order-pay-container {
        padding: 1rem;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-items-section .order-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        padding: 1rem 0;
    }

    .order-items-section .item-image {
        margin: 0 auto 1rem;
    }

    .order-items-section .item-details {
        padding: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .order-items-section .item-total {
        width: 100%;
        text-align: center;
    }

    .total-row {
        font-size: 0.95rem;
    }

    .amount-due {
        font-size: 1.125rem;
    }
}

/* Order Received (Thank You) Page Styles */
.order-received-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.order-success-section .section-header.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.success-message {
    padding: 2rem 1rem;
}

.success-icon {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.order-confirmation-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.detail-item strong {
    color: var(--gary-2);
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-item span {
    color: var(--gary);
    font-size: 1rem;
}

.order-number {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.total-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Delivery Info Section */
.delivery-info-section {
    margin: 2rem 0;
}

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.delivery-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.delivery-info-item strong {
    color: var(--gary-2);
    font-weight: 600;
}

.delivery-info-item span {
    color: var(--gary);
}

/* Customer Info Section */
.customer-info-section address {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    font-style: normal;
    line-height: 1.6;
}

.customer-info-section h6 {
    color: var(--gary-2);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Action Buttons */
.action-buttons-section {
    margin-top: 2rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 180px;
}

/* Order Not Found */
.order-not-found-section .section-header.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

/* Thank You Page Specific Order Items */
.order-received-container .order-items {
    margin-bottom: 1.5rem;
}

.order-received-container .order-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-received-container .order-item:last-child {
    border-bottom: none;
}

.order-received-container .item-image {
    width: 80px;
    height: 80px;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.order-received-container .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.order-received-container .item-details {
    flex-grow: 1;
    padding: 0 1.5rem;
}

.order-received-container .item-name {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.order-received-container .item-quantity {
    font-size: 0.875rem;
    color: var(--gary);
    margin-top: 0.5rem;
}

.order-received-container .item-total {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Mobile Responsive for Thank You Page */
@media (max-width: 768px) {
    .order-received-container {
        padding: 1rem;
    }

    .order-confirmation-details {
        padding: 1rem;
    }

    .detail-item {
        margin-bottom: 1rem;
    }

    .delivery-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .order-received-container .order-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        padding: 1rem 0;
    }

    .order-received-container .item-image {
        margin: 0 auto 1rem;
    }

    .order-received-container .item-details {
        padding: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .order-received-container .item-total {
        width: 100%;
        text-align: center;
    }
}

/* Search Results Page Styles */
.search-results-section {
    min-height: 60vh;
}

.search-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.search-title {
    color: var(--gary-2);
    font-weight: 700;
    font-size: 2rem;
}

.search-subtitle {
    font-size: 1.125rem;
}

/* Enhanced Search Form in Header */
.search-form {
    position: relative;
    transition: var(--trans);
}

.search-input {
    transition: var(--trans);
    border-color: var(--gary) !important;
}

.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(252, 52, 104, 0.2);
    background: white !important;
}

.search-btn {
    color: var(--gary-2);
    transition: var(--trans);
}

.search-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Search Product Cards */
.search-product-card {
    transition: var(--trans);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.search-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-product-card .productBox-img {
    position: relative;
    overflow: hidden;
}

.search-product-card .productBox-img img {
    transition: var(--trans);
}

.search-product-card:hover .productBox-img img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.search-product-card .details {
    padding: 1.5rem;
}

.search-product-card .title a {
    color: var(--gary-2);
    text-decoration: none;
    transition: var(--trans);
}

.search-product-card .title a:hover {
    color: var(--primary);
}

.search-product-card .price {
    margin: 1rem 0;
}

.search-product-card .product-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: var(--trans);
}

.search-product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Search Post Cards */
.search-post-card .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--trans);
    overflow: hidden;
}

.search-post-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-post-card .card-img-top {
    height: 200px;
    overflow: hidden;
}

.search-post-card .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--trans);
}

.search-post-card .card:hover .card-img-top img {
    transform: scale(1.05);
}

.search-post-card .card-title a {
    color: var(--gary-2);
    text-decoration: none;
    transition: var(--trans);
}

.search-post-card .card-title a:hover {
    color: var(--primary);
}

/* No Results Section */
.no-results-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
}

.no-results-icon {
    opacity: 0.5;
}

.suggestion-tags .btn {
    margin: 0.25rem;
    border-radius: 20px;
}

.search-form-large {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-large .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-form-large .form-control {
    border: none;
    padding: 1rem 1.5rem;
}

.search-form-large .btn {
    border: none;
    padding: 1rem 1.5rem;
}

.category-links .btn {
    margin: 0.25rem;
    border-radius: 20px;
}

/* Search Pagination */
.search-pagination .pagination {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-pagination .page-link {
    border: none;
    color: var(--gary-2);
    padding: 0.75rem 1rem;
    transition: var(--trans);
}

.search-pagination .page-link:hover {
    background-color: var(--primary-op1);
    color: var(--primary);
}

.search-pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Mobile Responsive for Search */
@media (max-width: 768px) {
    .search-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .search-subtitle {
        font-size: 1rem;
    }

    .search-product-card .product-actions {
        opacity: 1;
        transform: translateY(0);
    }

    .no-results-section {
        padding: 2rem 1rem;
    }

    .suggestion-tags,
    .category-links {
        text-align: center;
    }

    .search-form-large {
        max-width: 100%;
    }
}

/* Homepage Newsletter Enhancements */
.newsletter-benefits-homepage {
    margin-bottom: 1.5rem;
}

.benefit-item-homepage {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gary-2);
    margin-bottom: 0.5rem;
    transition: var(--trans);
}

.benefit-item-homepage:hover {
    transform: translateX(-3px);
}

.benefit-item-homepage i {
    font-size: 1rem;
    flex-shrink: 0;
}

.privacy-notice-homepage {
    text-align: center;
}

.privacy-notice-homepage p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.homepage-newsletter-form.submitting .form-control {
    pointer-events: none;
    opacity: 0.7;
}

.homepage-newsletter-form.submitting .form-checkbox {
    pointer-events: none;
    opacity: 0.7;
}

.homepage-newsletter-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.newsletter-success-homepage .alert {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    animation: slideInUp 0.5s ease-out;
}

.newsletter-error-homepage .alert {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive for newsletter benefits */
@media (max-width: 768px) {
    .newsletter-benefits-homepage .row {
        text-align: center;
    }

    .benefit-item-homepage {
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .privacy-notice-homepage p {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Search Autocomplete Styles */
.search-container {
    min-width: 250px;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}

.autocomplete-content {
    padding: 0;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: var(--trans);
    text-decoration: none;
    color: inherit;
}

.autocomplete-item:hover {
    background: #f8f9fa;
    color: inherit;
    text-decoration: none;
}

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

.autocomplete-item.active {
    background: var(--primary-op1);
    color: var(--primary);
}

.autocomplete-item-image {
    width: 40px;
    height: 40px;
    margin-left: 12px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.autocomplete-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autocomplete-item-details {
    flex-grow: 1;
    min-width: 0;
}

.autocomplete-item-title {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.autocomplete-item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.autocomplete-item-category {
    color: var(--gary);
    font-size: 0.8rem;
    margin-top: 2px;
}

.autocomplete-loading,
.autocomplete-no-results {
    padding: 15px;
    text-align: center;
    color: var(--gary);
    font-size: 0.9rem;
}

.autocomplete-see-all {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 12px 15px;
    text-align: center;
}

.autocomplete-see-all a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.autocomplete-see-all a:hover {
    text-decoration: underline;
}

/* Search input focus state */
.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: none;
}

.search-container .search-input:focus + input + .search-btn {
    color: var(--primary);
}

/* Mobile responsive for autocomplete */
@media (max-width: 768px) {
    .search-container {
        min-width: 200px;
    }

    .search-autocomplete-dropdown {
        left: -50px;
        right: -50px;
        max-height: 300px;
    }

    .autocomplete-item {
        padding: 10px 12px;
    }

    .autocomplete-item-image {
        width: 35px;
        height: 35px;
        margin-left: 10px;
    }

    .autocomplete-item-title {
        font-size: 0.85rem;
    }

    .autocomplete-item-price {
        font-size: 0.8rem;
    }
}

/* Highlight search terms */
.search-highlight {
    background: rgba(252, 52, 104, 0.2);
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 2px;
}

/* Mobile Navigation Enhancements */

/* Mobile Overlay Backdrop */
.mobile-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: none;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu-logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-menu-logo img {
    max-height: 40px;
    width: auto;
}

.mobile-menu-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-cart-icon {
    position: relative;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.mobile-cart-icon:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    transform: scale(1.1);
}

.cart-count-mobile {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 30px 0;
}

.mobile-navigation {
    padding: 0 25px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-menu a {
    display: block;
    padding: 18px 20px;
    color: var(--gary-2);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    background: linear-gradient(135deg, var(--primary-op1), var(--secondary-op1));
    color: var(--primary);
    transform: translateX(-5px);
    text-decoration: none;
}

.mobile-nav-menu .current-menu-item a {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gary-2);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 44px;
}

.mobile-contact-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-decoration: none;
}

.mobile-contact-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1050;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: none;
}

.mobile-search-overlay.active {
    transform: translateY(0);
}

.mobile-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-search-title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-search-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-search-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.mobile-search-content {
    padding: 30px 25px;
}

.mobile-search-form {
    margin-bottom: 30px;
}

.mobile-search-input-container {
    position: relative;
    display: flex;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mobile-search-input {
    flex: 1;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    background: transparent;
    outline: none;
    min-height: 60px;
}

.mobile-search-input::placeholder {
    color: #999;
}

.mobile-search-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 20px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.mobile-search-submit:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: scale(1.05);
}

/* Mobile Autocomplete */
.mobile-autocomplete-dropdown {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 20px;
    overflow: hidden;
}

.mobile-autocomplete-content {
    max-height: 400px;
    overflow-y: auto;
}

.mobile-autocomplete-loading,
.mobile-autocomplete-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #666;
}

.loading-content,
.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.loading-content i {
    font-size: 1.5rem;
    color: var(--primary);
}

.no-results-content i {
    font-size: 2rem;
    color: #ccc;
}

.mobile-autocomplete-results .autocomplete-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-height: 80px;
}

.mobile-autocomplete-results .autocomplete-item:hover {
    background: #f8f9fa;
    color: inherit;
    text-decoration: none;
}

.mobile-autocomplete-results .autocomplete-item:last-child {
    border-bottom: none;
}

.mobile-autocomplete-results .autocomplete-item-image {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-autocomplete-results .autocomplete-item-details {
    flex-grow: 1;
    min-width: 0;
}

.mobile-autocomplete-results .autocomplete-item-title {
    font-weight: 600;
    color: var(--gary-2);
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.3;
}

.mobile-autocomplete-results .autocomplete-item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mobile-autocomplete-results .autocomplete-item-category {
    color: var(--gary);
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Popular Searches */
.mobile-popular-searches {
    margin-top: 40px;
}

.mobile-popular-searches h4 {
    color: var(--gary-2);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.popular-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: var(--gary-2);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.popular-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Different styles for different tag types */
.seasonal-tag {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b5a00;
    border: 1px solid #ffd700;
}

.seasonal-tag:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    color: #8b5a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.product-tag {
    background: linear-gradient(135deg, #ffe0e6, #ffc1cc);
    color: #8b1538;
    border: 1px solid #ff6b9d;
}

.product-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.3);
}

.category-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    border: 1px solid #42a5f5;
}

.category-tag:hover {
    background: linear-gradient(135deg, #42a5f5, #1976d2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3);
}

.fallback-tag {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #666;
    border: 1px solid #ccc;
}

.fallback-tag:hover {
    background: linear-gradient(135deg, var(--gary), var(--gary-2));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Icons in tags */
.popular-tag i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive adjustments for tag icons */
@media (max-width: 767.98px) {
    .popular-tag i {
        font-size: 0.75rem;
    }
}

/* Price Range Slider Styles */
.price-range-display {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.price-value {
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gary);
    margin-bottom: 5px;
    font-weight: 500;
}

.price-amount {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.price-slider-container {
    padding: 20px 15px;
}

.price-slider-wrapper {
    position: relative;
    height: 6px;
    margin: 30px 0;
}

.price-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    top: 0;
}

.price-slider-range {
    position: absolute;
    height: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 3px;
    top: 0;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    top: 0;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(252, 52, 104, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.4);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(252, 52, 104, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.price-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.4);
}

.price-slider::-ms-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(252, 52, 104, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.price-slider::-ms-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.4);
}

/* Remove default track styling */
.price-slider::-webkit-slider-track {
    background: transparent;
}

.price-slider::-moz-range-track {
    background: transparent;
    border: none;
}

.price-slider::-ms-track {
    background: transparent;
    border: none;
    color: transparent;
}

/* Price filter buttons */
#price-filter-form .btn-theme {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.2);
}

#price-filter-form .btn-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 52, 104, 0.3);
}

#price-filter-form .btn-outline-secondary {
    border-color: #dee2e6;
    color: var(--gary);
    transition: all 0.3s ease;
}

#price-filter-form .btn-outline-secondary:hover {
    background: var(--gary);
    border-color: var(--gary);
    color: white;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .price-range-display {
        padding: 12px;
    }

    .price-value {
        margin-bottom: 10px;
    }

    .price-amount {
        font-size: 1rem;
    }

    .price-slider-container {
        padding: 15px 10px;
    }

    .price-slider-wrapper {
        margin: 25px 0;
    }

    #price-filter-form .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-bottom: 10px;
        width: 100%;
    }

    #price-filter-form .btn.ms-2 {
        margin-right: 0 !important;
        margin-top: 10px;
    }
}

/* Show mobile overlays only on mobile */
@media (max-width: 767.98px) {
    .mobile-menu-overlay,
    .mobile-search-overlay {
        display: block;
    }
}

/* Hide mobile triggers on desktop */
@media (min-width: 768px) {
    .mobile-search-trigger {
        display: none !important;
    }
}

/* Prevent body scroll when mobile overlay is open */
body.mobile-overlay-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Hide old Bootstrap navbar when our custom mobile menu is active */
body.mobile-overlay-open .navbar-collapse {
    display: none !important;
}

/* Ensure proper z-index stacking */
.navbar-collapse {
    z-index: 1030;
}

.mobile-menu-overlay,
.mobile-search-overlay {
    z-index: 1050;
}

.mobile-overlay-backdrop {
    z-index: 1040;
}

/* Force hamburger icon to reset properly */
.navbar-toggler.collapsed {
    /* Ensure hamburger icon shows when collapsed */
}

.navbar-toggler:not(.collapsed) {
    /* Ensure X icon shows when expanded */
}

/* Override any conflicting Bootstrap states */
body.mobile-overlay-open .navbar-toggler {
    /* Keep hamburger icon when our custom menu is open */
    transform: none !important;
}

body.mobile-overlay-open .navbar-toggler .navbar-toggler-icon {
    /* Reset any icon transformations */
    transform: none !important;
}

/* Smooth transitions for mobile overlays */
.mobile-menu-overlay,
.mobile-search-overlay {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-overlay-backdrop {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Touch improvements */
@media (max-width: 767.98px) {
    /* Ensure touch targets are at least 44px */
    .mobile-nav-menu a,
    .mobile-contact-item,
    .popular-tag,
    .mobile-autocomplete-results .autocomplete-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Improve touch feedback */
    .mobile-nav-menu a:active,
    .mobile-contact-item:active,
    .popular-tag:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Better spacing for mobile */
    .mobile-menu-content {
        padding-bottom: 100px; /* Extra space for scrolling */
    }

    .mobile-search-content {
        padding-bottom: 100px; /* Extra space for scrolling */
    }
}

.place-order-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-op1));
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--trans);
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.3);
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 52, 104, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem;
    }

    .section-content {
        padding: 1.5rem;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .item-image {
        margin: 0 auto 1rem;
    }

    .item-details {
        padding: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .item-total {
        width: 100%;
        text-align: center;
    }

    .order-totals > div {
        font-size: 0.95rem;
    }
}

/* Quick Add to Cart Styles */
.product-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.productBox:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-add-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--trans);
    width: 100%;
}

.quick-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 52, 104, 0.3);
}

.quick-add-btn.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* Quick Add Modal Styles */
.quick-add-product .product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.quick-add-product .product-title {
    color: var(--gary-2);
    margin-bottom: 1rem;
}

.quick-add-product .product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.variation-selector .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.variation-selector .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-op1);
}

.quantity-input {
    max-width: 200px;
}

.quantity-input .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input input {
    height: 40px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .product-actions {
        opacity: 1;
        transform: translateY(0);
    }

    .quick-add-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn {
        margin-bottom: 0.5rem;
    }
}

/* Sticky Navigation Styles */
.navbar.sticky-top {
    transition: all 0.3s ease;
    box-shadow: none;
    z-index: 1030;
    background-color: #fff;
}

/* Adjust sticky nav position when WordPress admin bar is present */
.admin-bar .navbar.sticky-top {
    top: 32px !important;
}

/* Adjust for mobile admin bar */
@media screen and (max-width: 782px) {
    .admin-bar .navbar.sticky-top {
        top: 46px !important;
    }
}

/* Logo Styles */
#logo-container {
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#logo-container.logo-small {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

#logo-container.logo-small .site-logo {
    max-width: 255px;
    transition: all 0.3s ease;
}

.site-logo {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 255px;
    }
}

/* Ensure header structure supports sticky navbar */
header {
    position: relative;
    z-index: 1020;
}

/* ===== CONTACT FORM VALIDATION STYLING ===== */

/* Custom Alert Messages */
#contact-form-messages {
    border: none;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact-form-messages.show {
    transform: translateY(0);
    opacity: 1;
}

/* Success Alert - Elegant Green with Floral Touch */
#contact-form-messages.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
}

#contact-form-messages.alert-success::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: #28a745;
    margin-left: 8px;
    float: right;
}

/* Error Alert - Sophisticated Red with Brand Integration */
#contact-form-messages.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid var(--primary);
    color: #721c24;
}

#contact-form-messages.alert-danger::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: var(--primary);
    margin-left: 8px;
    float: right;
}

/* Decorative Elements for Premium Feel */
#contact-form-messages::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.05;
}

/* Input Field Error Styling */
.form-control.is-invalid {
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 52, 104, 0.15) !important;
    background-color: rgba(252, 52, 104, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control.is-invalid:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(252, 52, 104, 0.25) !important;
    outline: none;
}

/* Valid Input Styling */
.form-control.is-valid {
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
    background-color: rgba(40, 167, 69, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Form Field Styling */
.contactusform .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
}

.contactusform .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(252, 52, 104, 0.1);
    background-color: #fff;
    outline: none;
}

.contactusform .form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
    font-weight: 400;
}

/* Submit Button Loading State Enhancement */
#contact-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact-submit-btn:disabled {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

#contact-submit-btn .submit-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual Field Error Messages */
.field-error-message {
    color: var(--primary);
    font-size: 14px;
    margin-top: 6px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.field-error-message::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    margin-left: 6px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    #contact-form-messages {
        padding: 16px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    .contactusform .form-control {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    #contact-form-messages::before {
        font-size: 18px;
    }

    .field-error-message {
        font-size: 13px;
    }
}

/* Animation Keyframes */
@keyframes slideInFromTop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseError {
    0% { box-shadow: 0 0 0 0 rgba(252, 52, 104, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(252, 52, 104, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 52, 104, 0); }
}

.form-control.is-invalid.pulse {
    animation: pulseError 1s ease-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-control.is-invalid.shake {
    animation: shakeError 0.6s ease-in-out;
}

/* Premium Glow Effect for Focus */
.contactusform .form-control:focus {
    position: relative;
}

.contactusform .form-control:focus::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0.1;
}

/* Flower-Themed Success Animation */
@keyframes flowerBloom {
    0% {
        transform: scale(0.8) rotate(-5deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

#contact-form-messages.alert-success.show {
    animation: flowerBloom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Elegant Error State with Botanical Touch */
#contact-form-messages.alert-danger {
    background: linear-gradient(135deg, #fdf2f2 0%, #fce8e8 100%);
    border-left: 4px solid var(--primary);
    color: #721c24;
    position: relative;
}

#contact-form-messages.alert-danger::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FC3468" stroke-width="1.5"><path d="M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2Z"/><path d="M12 8C15.31 8 18 10.69 18 14C18 17.31 15.31 20 12 20C8.69 20 6 17.31 6 14C6 10.69 8.69 8 12 8Z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

/* Success State with Flower Icon */
#contact-form-messages.alert-success {
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
    border-left: 4px solid #28a745;
    color: #155724;
    position: relative;
}

#contact-form-messages.alert-success::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2328a745" stroke-width="1.5"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.4;
}

/* Enhanced Input Styling for Flower Theme */
.contactusform .form-control {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contactusform .form-control:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contactusform .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(252, 52, 104, 0.1), 0 4px 20px rgba(252, 52, 104, 0.1);
    background: #fff;
    outline: none;
}

/* Premium Submit Button Enhancement */
#contact-submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #e91e63 100%);
    border: none;
    border-radius: 25px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 15px rgba(252, 52, 104, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#contact-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 52, 104, 0.4);
}

#contact-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

#contact-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#contact-submit-btn:hover::before {
    left: 100%;
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    #contact-form-messages,
    .form-control,
    #contact-submit-btn {
        transition: none;
        animation: none;
    }

    .form-control.is-invalid.pulse,
    .form-control.is-invalid.shake {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-control.is-invalid {
        border-color: #d00 !important;
        background-color: #fff !important;
    }

    .form-control.is-valid {
        border-color: #080 !important;
        background-color: #fff !important;
    }

    #contact-form-messages.alert-danger {
        background: #fff !important;
        border: 2px solid #d00 !important;
        color: #d00 !important;
    }

    #contact-form-messages.alert-success {
        background: #fff !important;
        border: 2px solid #080 !important;
        color: #080 !important;
    }
}

#main-header.is-fixed #main-navbar {
    padding-top: 0 !important;
}

#main-header.is-fixed {
    box-shadow: 0 2px 10px rgba(252, 52, 104, 0.4);
!important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Fix WOW animation conflict in fixed mode */
#main-header.is-fixed .site-logo {
    visibility: visible !important;
    opacity: 1;
    animation: none;
}