:root {
    --main: #945423;
    --main_2: #d59a4c;
    --main_3: #bf1e2e;
    --orange: #da5d2c;
    --white: #fff;
    --white_gray: rgb(202, 202, 202);
    --gray: #d59a4c65;

    --random: #996016;
}
html,
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    scroll-behavior: smooth;
    transition: all 0.6s linear;
    color: #000;
    /* overflow: hidden;
    height: 100vh; */
}

p {
    color: black;
    transition: all 0.6s linear;
}

.my-header,
.banner {
    background: var(--white);
    padding-bottom: 10px;
}

.social-media-nav {
    background: var(--white);
}
a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: #945423;
}

.social-item {
    padding-inline: 10px;
}
.contact-item {
    padding-inline-start: 8px;
}
.contact-info i,
.contact-info a {
    color: var(--main);
    padding-inline-end: 10px;
}
.contact-info i:hover,
.contact-info a:hover {
    color: var(--main_2);
}

.social-icons i {
    color: var(--main);
}
.social-icons i:hover {
    color: var(--main_2);
}

.basic-nav {
    background: var(--white);
    position: relative;
    padding-block-end: 12px;
    border-bottom: 1px solid var(--border-light);
}
.navbar {
    background-color: transparent;
}

ul.navbar-nav.mr-auto {
    display: flex;
    align-items: center;
    gap: 4px;
}
.basic-nav img {
    max-height: 70px;
    position: absolute;
    top: -2px;
}
.basic-nav img::after {
    content: " ";
    width: 100px;
    height: 100px;
    display: block;
}

@keyframes fixedAnim {
    from {
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 0.95;
    }
}
.basic-nav.fixed {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fixedAnim 0.4s ease;
    transition: all var(--transition-fast);
    z-index: 100;
    width: 100%;
    top: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: var(--main);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-fast);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.nav-item a:hover {
    color: var(--main_2);
    background-color: rgba(148, 84, 35, 0.08);
}

.nav-item i {
    font-size: 20px;
    color: var(--main);
    transition: all var(--transition-fast);
    margin-inline-start: 10px;
}

.nav-item i:hover {
    color: var(--main_2);
    transform: scale(1.1);
}
.lang {
    position: relative;
    margin-inline-start: 8px;
}
.lang::after {
    position: absolute;
    top: 7px;
    content: " ";
    display: block;
    width: 2px;
    margin-inline-start: 1px;
    height: 27px;
    background-color: #bf1e2e;
}
.nav-item.active a {
    color: var(--main_2) !important;
    background-color: rgba(213, 154, 76, 0.15);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--main_2);
    border-radius: 2px;
}

div#navbarText {
    padding-top: 19px;
}

.coupon {
    font-size: 16px;
    font-weight: bold;

    color: var(--main);
}

.my-footer {
    background-color: black;
    padding: 30px;
}

.my-footer div div div h1,
.my-footer div div div p {
    color: var(--white);
}
.footer-end p {
    color: white;
}
.footer-item a {
    color: var(--white);
    font-size: 18px;
}

.play-store a {
    outline: none;
}

.play-store img {
    margin-top: 8px;
    transition: all 0.5s linear;
    width: 50%;
}

.play-store:hover img {
    transform: scale(1.1, 1.1);
}

.app-store img {
    margin-top: 8px;
    margin-bottom: 8px;
    transition: all 0.5s linear;
    width: 50%;
}
.app-store:hover img {
    transform: scale(1.1, 1.1);
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}
.section-body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.border-bottom {
    width: 50px;
    height: 5px;
    background-color: var(--main);
    margin-bottom: 20px;
}

.contact-detials {
    background-color: var(--main);
    padding: 5px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.contact-detial {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px;
    background-color: var(--main_2);
    border: none;
    border-radius: 15px;
    margin: 14px;
}
.contact-detial i {
    font-size: 26px;
    margin-inline: 10px;
    padding-top: 10px;
    text-align: center;
    width: 50px;
    background-color: var(--main);
    color: var(--white);
    height: 50px;
    border-radius: 51px;
    /* box-shadow: 0px 0px 0px 0px #f1f1f1; */
}
.contact-detial h3,
.contact-detial p {
    color: var(--white);
}
.contact-detial:hover i {
    background-color: var(--white);
    color: var(--main);
}

.contact-information input {
    height: 50px;
    width: 50%;
    padding: 10px;
    font-size: 18px;
    margin-block-start: 25px;
}
.contact-information > input:first-child {
    margin-inline-end: 22px;
}

.other-information input,
.other-information textarea {
    height: 50px;
    padding: 10px;
    font-size: 18px;
    margin-block-start: 25px;
}
.other-information textarea {
    height: 150px;
}
input::placeholder,
textarea::placeholder {
    color: var(--white_gray);
}
input:focus,
textarea:focus,
.form-select {
    outline-color: var(--main) !important;
    outline-width: 10px;
}

.send-message a {
    background-color: var(--main);
    border: none;
    border-radius: 10px;
    margin-block: 10px;
}

.send-message:hover a {
    background-color: var(--main_2);
    color: var(--white);
}

.our-services {
    padding-top: 20px;
    margin-top: 10px;
    background-color: aliceblue;
    /* position: fixed; */
    /* width: 100%; */
}

.our-services div div div p {
    color: black;
    padding-inline: 10px;
    font-size: 12px;
}

/* .loader {
    position: absolute;
    width: 98.5vw;
    background-color: white;
    transition: all 1s linear;
} */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s linear;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader::after {
    content: "";
    width: 150px;
    height: 150px;
    border: 15px solid #dddddd;
    border-top-color: var(--main);
    border-radius: 50%;
    animation: loading 0.8s ease infinite;
}
.loader-img {
    position: absolute;
    width: 100px;
}
.loader-img img {
    width: 100%;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.about-us-banner {
    width: 100%;
    height: 50vh;
    margin-top: 10px;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 50vh;
    object-fit: fill;
    background-image: url("../imgs/about-us-banner.png");
    filter: brightness(50%);

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-text h1,
.banner-text h6 {
    color: var(--white);
    font-weight: bold;
}
.about-us-text p {
    color: black;
}

input {
    height: 50px;
    padding: 10px;
    font-size: 18px;
}
select {
    height: 50px;
    padding: 10px;
    font-size: 18px;
}

.form-inputs div {
    margin-block-start: 10px;
}
label {
    font-size: 18px;
    font-weight: 600;
    margin-block-start: 10px;
}

.favorite {
    height: 100%;
}

.main-carousel {
    margin-top: 10px;
}

.owl-carouse-1 img {
    max-height: 50vh;
    /* height: 70vh; */
}

.owl-carouse-1 .owl-nav {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 110%;
    position: absolute;
    top: 35%;
    left: -5%;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    /* margin: 10px; */
    border-radius: 50px;
    background: transparent !important;
    color: var(--main) !important;
    font-size: 27px;
    width: 40px;
    background-color: #9454235c !important;
}
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
    background-color: var(--main_2) !important;
}

.owl-theme .owl-dots .owl-dot {
    /* margin-top: 25px; */
}
.owl-theme .owl-dots .owl-dot span {
    width: 20px;
    height: 20px;
    background: var(--main);
}
.owl-theme .owl-dots .owl-dot.active span {
    width: 20px;
    height: 20px;
    background: var(--main_2);
}

.owl-carouse-cat img {
    border-radius: 22%;
    height: 150px;
    padding: 20px;
    /* background-color: #bdbdbd; */
    transition: all 0.5s linear;
}

.owl-theme .owl-dots {
    /* position: absolute; */
    /* top: 85%; */
    /* left: 47%; */
}
.newest-product-carousel .owl-item img {
    display: block;
    width: 93%;
}

.owl-carousel .owl-stage {
    /* Standard property */
    backface-visibility: hidden;

    /* Vendor-prefixed properties */
    -moz-backface-visibility: hidden; /* For Firefox */
    -webkit-backface-visibility: hidden;
}
.categories {
    padding-top: 50px;
}

.owl-carouse-cat .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.owl-carouse-cat .item:hover p {
    color: var(--main);
}
.owl-carouse-cat .item:hover img {
    /* background-color: #bdbdbd; */
    background: var(--gray);
}

.owl-carouse-cat .item p {
    font-weight: 600;
}

.product {
    margin: 10px;
    overflow: hidden;
    border: var(--white);
    box-shadow: 1px 2px 5px 0px #bdbdbd;
    border-radius: 20px;

    position: relative;
}

.product img {
    margin: 10px;
    border-radius: 20px;
    /* max-height: 225px; */
    transition: all 0.6s linear;
    background-color: var(--white);
    width: 92%;
    height: 250px;
    text-align: center;
}

.product > .social-icons i {
    font-size: 17px;
    width: 37px;
    padding: 8px;
    border-radius: 25px;
    border: 2px var(--white_gray) solid;
    transition: all 0.2s linear;
    margin: 8px;
    color: var(--gray);
}
.product > .social-icons i:hover {
    border-color: var(--main);
    color: var(--main);
}

.product-info {
    padding-inline-start: 20px;
    /* max-width: 96%;
  height: 150px; */
}
.product-info h6 {
    /*to show dots*/
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 96%;
    padding: 1px;
    color: black;
}
.product-info h6:hover {
    color: var(--main);
}

.available p {
    color: green;
    font-weight: 600;
}

.price p {
    font-weight: 600;
    color: var(--main_3);

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 96%;
    padding: 1px;
}

.add-to-favorite {
    position: absolute;
    right: 20px;
    top: 10px;
}

.add-to-favorite i {
    font-size: 30px;
    transition: all 0.4s linear;
    cursor: pointer;
}
.add-to-favorite i:hover {
    color: var(--main);
}

.add-to-cart {
    position: absolute;
    right: 20px;
    bottom: 30px;
    font-size: 30px;
    transition: all 0.4s linear;
    cursor: pointer;
}
.code {
    position: absolute;
    top: 10px;
    left: 20px;

    transition: all 0.4s linear;
    cursor: pointer;
}

.add-to-cart:hover {
    color: var(--main);
}

.products-table {
    height: 100%;
    max-height: 500px;
    overflow: auto;
    padding-inline: 4px;
}

.newest-product-carousel .owl-nav {
    display: flex;

    justify-content: space-between;

    width: 96%;

    position: absolute;

    top: 36%;

    left: 2%;
}

h5 {
    cursor: pointer;
}

.product-details {
    padding-top: 20px;
}

.product-img {
    width: 80%;
}
.product-img:hover {
    transform: scale(1.8, 1.8);
}

.product-img img {
    width: 80%;
    transition: all 0.5s linear;
}

.size p,
.code p {
    font-size: large;
    font-weight: 600;
}

.clear-button {
    margin-top: 10px;
}
.clear-button p {
    font-size: large;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s linear;
    color: var(--main_3);
}

.clear-button:hover p {
    color: var(--main);
}

.counter {
    margin-top: 10px;
}

.decrease {
    background-color: rgba(128, 128, 128, 0.486);
    font-size: large;
    font-weight: 600;

    padding-inline: 12px;
    padding-block: 4px;
    border-radius: 20px;
    cursor: pointer;
}
.increase {
    background-color: rgba(128, 128, 128, 0.486);
    font-size: large;
    font-weight: 600;

    padding-inline: 10px;
    padding-block: 4px;
    border-radius: 20px;
    cursor: pointer;
}
.decrease:hover {
    background-color: var(--main_2);
}
.increase:hover {
    background-color: var(--main_2);
}
.counter input {
    margin: 2px;
    border: none;
    width: 20%;
    outline: none;
    text-align: center;
}

/* :focus {
  outline: none;
  box-shadow: none;
}*/

.favorite-with-text {
    margin-block: 16px;
}
.favorite-with-text i {
    margin-inline-end: 5px;
    cursor: pointer;
    font-weight: 600;
}
.favorite-with-text p {
    cursor: pointer;
    font-weight: 600;
}

.favorite-with-text:hover i {
    color: var(--main);
}
.favorite-with-text:hover p {
    color: var(--main);
}

.category > :nth-child(1) {
    font-weight: 600;
    margin-inline-end: 8px;
}
.tag > :nth-child(1) {
    font-weight: 600;
    margin-inline-end: 8px;
}

/* .choosen-size {
    display: none;
} */

.what-we-offer {
    background-color: aliceblue;
    padding: 25px;
    border-radius: 10px;
}

.what-we-offer div i {
    margin-inline-end: 10px;
}
.what-we-offer div p {
    font-size: 14px;
}
.empty-text {
    color: var(--main_3);
}
.empty-icon img {
    width: 20%;
}

th img {
    width: 50px;
}

th p {
    font-weight: 100;
}

td {
    vertical-align: middle;
}

td i:hover {
    color: var(--main_3);
}

.cart-total {
    border: var(--main_2) solid 1px;
    border-radius: 10px;
    height: 100%;
    margin-block-start: 12px;
}

.divider {
    background-color: var(--main_2);
    width: 90%;

    height: 1px;
    margin-inline: 22px;
}

.cart-content-info h6 {
    color: black;
}

.cart-content-info {
    margin-inline: 30px;
    margin-block-start: 20px;
    display: flex;
    justify-content: space-between;
}
.checkout {
    padding-block: 20px;
}
.user-order-preference {
    border: var(--main_3) solid 2px;
    border-radius: 12px;
}

img {
    pointer-events: none;
}
.logo img {
    pointer-events: visible;
}

span,
.product-img {
    user-select: none;
}
.required {
    color: var(--main_3);
}
.register h6 {
    color: black;
}

.register a h6:hover {
    color: var(--main);
}

.register > :nth-child(2) h6 {
    color: var(--main);
    margin-inline-start: 10px;
    cursor: pointer;
}
.register > :nth-child(2):hover h6 {
    color: var(--main_2);
}

.order-tracking-details div div div div img {
    width: 25%;
}
.order-tracking-details {
    margin-block: 25px;
    /* height: 50vh; */
}

.submit-button button {
    background-color: var(--main);
    border: none;
    border-radius: 10px;
    margin-block: 10px;
}
.submit-button button:hover {
    background-color: var(--main_2);
}
.return-button a {
    padding: 8px;
    background-color: var(--main);
    border: none;
    border-radius: 10px;
    margin-block: 10px;
    color: white;
}
.return-button a:hover {
    background-color: var(--main_2);
}
.cart-empty {
    margin-block-start: 16px;
}
.search-nav {
    margin-top: 20px;
}
.search-button input {
    border: var(--main) solid 2px;
    outline-color: var(--main_2) !important;
    border-radius: 20px;
}

.form-select {
    width: 100%;
    height: 50px;
}
.dynamic {
    margin-block-start: 10px;
}
.chosen-select,
.chosen-container {
    width: 100%;
}
.add-unit {
    padding-inline: 8px;
    border: var(--main) solid 2px;
    border-radius: 10%;
    transition: all 0.6s linear;
}
.add-unit:hover {
    background-color: var(--main_2);
}

.shared-form {
    background-color: white;
    padding: 30px;
    margin-top: 20px;
    /* border-radius: 13px;table-input */
}
.shared-textarea {
    background-color: #efefef4a;
}
.add-to-cart-dialog {
    border-radius: 20px;
    border: var(--main) solid 2px;
    width: 20%;
}

div#closeDialog {
    outline: none;
    border: none;
    transition: all 0.6s linear;
    background-color: #ff000063;
    border-radius: 12px;
    position: absolute;
    top: 10px;
    right: 14px;
    padding-inline: 6px;
}
.add-to-cart-dialog h4 {
    padding-block-start: 26px;
}
div#closeDialog:hover {
    background-color: #ff0000ab;
}

input[type="radio"] {
    width: 26px;
    margin-inline-end: 6px;
}
input[type="radio"] {
    border: var(--main_2) solid;
}
.form-check-input:checked {
    background-color: var(--main);
    border-color: var(--main_2);
}
.form-check-input:focus {
    box-shadow: none;
    border-color: var(
        --main_2
    ); /* You can set the desired color for the border */
}

.table-input {
    width: 100%;
    height: 40px;
    font-size: 12px;
    text-align: center;
    border: none;
    border-radius: 3px;
    background-color: var(--white_gray);
}
.size div label {
    margin-inline-end: 26px;
}
.second-choosen-size,
.third-choosen-size {
    display: none;
}

a i {
    color: black;
}

.custom-nav {
    text-align: center;
}
.custom-nav img {
    width: 50px; /* Adjust the width as needed */
    height: auto;
    margin: 5px;
    cursor: pointer;
    pointer-events: all;
}

.search-list {
    background-color: #d59a4c54;
    border-radius: 17px;
    height: auto;
    overflow: auto;
    max-height: 240px;
    box-shadow: -3px 6px 12px 4px #0000001a;
    display: none;
}

.search-item h6 {
    padding-inline: 22px;
    padding-block: 12px;
    cursor: pointer;
}

/* Cart widget styles moved to modern section below */

.vertical-divider {
    background-color: white;
    height: 25px;
    width: 1px;
    margin-inline: 4px;
}
.terms p:hover {
    color: var(--main);
}
nav.pagination-container {
    width: 9%;
}
ul.pagination {
    /* width: 100%; */
}
li.page-item {
    width: 100%;
}

.page-link {
    color: var(--main);
}
.page-link:hover {
    color: var(--main);
    background-color: var(--gray);
}
.active-page {
    background-color: var(--main_2);
}
.per-page-select {
    background-color: var(--gray);

    margin-inline-start: 17px;
    margin-block-end: 17px;

    border-radius: 6px;
}
.unit-select {
    background-color: var(--gray);
    border-radius: 6px;
    font-size: 20px;
    border: var(--main) solid 2px;
}
select:focus {
    border: var(--main) solid 2px;
}

.addresses {
    margin-inline: 3px;
}
.address-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-inline-end: 6px;
}

.address-details i {
    font-size: 16px;
    cursor: pointer;
}
.address-details i:hover {
    color: var(--main_3);
}
.notification-bar {
    margin-inline: 6px;
}
.notification-icon {
    position: relative;
}
.notification-count {
    color: var(--white);
    background-color: var(--main_3);
    border-radius: 15px;
    width: 22px;
    position: absolute;
    top: 0px;
    text-align: center;
}
.notification-list {
    padding: 8px;
    background-color: #ebb670;

    border-radius: 10px;
    width: 250px;

    overflow: auto;
    max-height: 240px;
    box-shadow: -3px 6px 12px 4px #0000001a;
}

.read-all {
    color: black;
    font-size: medium;
    font-weight: 100;
    cursor: pointer;
}
.read-all:hover {
    color: var(--main);
}

.back-to-home {
    margin: 30px;
    font-size: 28px;
}

@media only screen and (max-width: 768px) {
    .quantity {
        width: 100%;
    }
    .counter input {
        width: 100%;
        display: flex;
    }
}

/* ==========================================
   MODERN E-COMMERCE UI STYLES
   ========================================== */

/* Extended CSS Variables */
:root {
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --error-color: #ef4444;
    --error-light: #fee2e2;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
}

/* ==========================================
   MODERN TOAST NOTIFICATIONS
   ========================================== */
.toast-container {
    z-index: 99999 !important;
    pointer-events: none;
}

.toast-container .toast {
    pointer-events: auto;
}

#toast-notification {
    min-width: 320px;
    max-width: 400px;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#toast-notification.hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

#toast-notification.toast-success {
    border-left: 4px solid var(--success-color);
}

#toast-notification.toast-success .toast-header {
    background: linear-gradient(135deg, var(--success-light) 0%, #ecfdf5 100%);
}

#toast-notification.toast-error {
    border-left: 4px solid var(--error-color);
}

#toast-notification.toast-error .toast-header {
    background: linear-gradient(135deg, var(--error-light) 0%, #fef2f2 100%);
}

#toast-notification .toast-header {
    border-bottom: none;
    padding: 12px 16px;
}

#toast-notification .toast-header .btn-close {
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

#toast-notification .toast-header .btn-close:hover {
    opacity: 1;
}

#toast-notification .toast-body {
    padding: 12px 16px 16px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

#toast-icon {
    font-size: 18px;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--error-color) !important;
}

/* ==========================================
   MODERN CART BADGE
   ========================================== */
.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--main_3) 0%, #dc2626 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 10px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(191, 30, 46, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    border: 2px solid white;
}

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

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.cart-icon-wrapper:hover {
    background-color: var(--gray);
}

.cart-icon-wrapper i {
    font-size: 22px;
    transition: transform var(--transition-fast);
}

.cart-icon-wrapper:hover i {
    transform: scale(1.1);
}

/* ==========================================
   MODERN CART PAGE
   ========================================== */
.my-cart {
    background: var(--bg-light);
    min-height: 60vh;
    padding-bottom: 40px;
}

.my-cart .section-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.products-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 20px;
    max-height: none;
    overflow: visible;
}

.products-table .table {
    margin-bottom: 0;
}

.products-table thead {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
}

.products-table thead th {
    color: white !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border: none;
}

.products-table thead tr {
    border-radius: var(--radius-md);
}

.products-table tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.products-table tbody tr:hover {
    background-color: #f8fafc;
}

.products-table tbody tr:last-child {
    border-bottom: none;
}

.products-table tbody th,
.products-table tbody td {
    padding: 20px 12px;
    vertical-align: middle;
    border: none;
}

.products-table tbody th img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.products-table tbody th p {
    margin: 4px 0 0 0;
    font-size: 14px;
}

.products-table tbody th p:first-of-type {
    font-weight: 600;
    color: #1e293b;
}

.products-table tbody th p:last-of-type {
    color: #64748b;
    font-size: 12px;
}

/* Modern Quantity Counter */
.counter {
    display: inline-flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 4px;
    gap: 4px;
}

.counter .decrease,
.counter .increase {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    color: var(--main);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    padding: 0;
}

.counter .decrease:hover,
.counter .increase:hover {
    background: var(--main);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.counter .decrease:active,
.counter .increase:active {
    transform: scale(0.95);
}

.counter input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding: 0;
    margin: 0;
}

.counter input:focus {
    outline: none;
}

/* Delete button */
.products-table td .fa-trash {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--error-light);
    color: var(--error-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.products-table td .fa-trash:hover {
    background: var(--error-color);
    color: white;
    transform: scale(1.1);
}

/* Price styling */
.products-table .price p {
    font-size: 15px;
    font-weight: 700;
    color: var(--main);
    margin: 0;
}

/* Modern Cart Total */
.cart-total {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.cart-total h4 {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.cart-total .divider {
    background: var(--border-light);
    height: 1px;
    width: 100%;
    margin: 0;
}

.cart-content-info {
    padding: 16px 24px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-content-info h6 {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.cart-content-info p,
.cart-content-info h6:last-child {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.cart-total .return-button {
    padding: 20px 24px;
}

.cart-total .return-button a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(148, 84, 35, 0.4);
}

.cart-total .return-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.5);
}

/* Row fade animation for delete */
.cart-row-fade {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-row-fade.removing {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
}

/* Empty cart state */
.cart-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-empty .empty-icon img {
    width: 150px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.cart-empty .empty-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: #64748b;
}

/* ==========================================
   MODERN ADD-TO-CART DIALOG
   ========================================== */
.add-to-cart-dialog {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 0;
    width: min(400px, 90vw);
    max-height: 85vh;
    overflow: hidden;
    animation: dialogOpen 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
    inset: 0;
    height: fit-content;
}

.add-to-cart-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: backdropFade 0.25s ease;
}

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

@keyframes backdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.add-to-cart-dialog h4 {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    padding: 20px 24px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.add-to-cart-dialog form {
    padding: 24px;
}

.add-to-cart-dialog .size {
    margin-bottom: 20px;
}

.add-to-cart-dialog .size > p {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-dialog .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.add-to-cart-dialog label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0;
}

.add-to-cart-dialog .selected-price-dialog {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.add-to-cart-dialog .selected-price-dialog .price p {
    font-size: 24px;
    font-weight: 700;
    color: var(--main);
    margin: 0;
}

.add-to-cart-dialog .selected-price-dialog .available p {
    font-size: 13px;
    margin: 4px 0 0 0;
}

.add-to-cart-dialog .counter {
    justify-content: center;
    margin: 20px 0;
}

.add-to-cart-dialog .submit-button {
    margin-top: 20px;
}

.add-to-cart-dialog .submit-button button {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(148, 84, 35, 0.4);
}

.add-to-cart-dialog .submit-button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.5);
}

.add-to-cart-dialog .submit-button button:active {
    transform: translateY(0);
}

/* Close button */
.add-to-cart-dialog .close-button,
.add-to-cart-dialog div#closeDialog {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.add-to-cart-dialog .close-button:hover,
.add-to-cart-dialog div#closeDialog:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.add-to-cart-dialog .close-button i,
.add-to-cart-dialog div#closeDialog i {
    color: white;
    font-size: 14px;
}

/* ==========================================
   MODERN FLOATING CART WIDGET
   ========================================== */
.view-cart {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    animation: cartWidgetSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartWidgetSlideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.view-cart-info {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(148, 84, 35, 0.4);
    opacity: 1;
}

.view-cart-info span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 700;
}

.view-cart-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
}

.view-cart-info a i {
    font-size: 18px;
}

.view-cart-info a h6 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.view-cart-info h6#cartPrice {
    color: white;
    font-weight: 700;
    font-size: 15px;
    margin: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   MODERN BUTTONS
   ========================================== */
.submit-button button,
.btn-primary {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(148, 84, 35, 0.3);
}

.submit-button button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
    background: linear-gradient(135deg, var(--main_2) 0%, var(--main) 100%);
}

.submit-button button:active,
.btn-primary:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
}

.return-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(148, 84, 35, 0.3);
}

.return-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
    color: white;
}

/* ==========================================
   MODERN PRODUCT CARDS
   ========================================== */
.product {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product img {
    border-radius: var(--radius-md);
    margin: 12px;
    width: calc(100% - 24px);
    height: 220px;
    object-fit: cover;
}

.product:hover img {
    transform: scale(1.02);
}

.product-info {
    padding: 0 16px 16px;
}

.product-info h6 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.product .add-to-favorite {
    top: 16px;
    right: 16px;
}

.product .add-to-favorite i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.product .add-to-favorite i:hover {
    background: var(--main);
    color: white;
    transform: scale(1.1);
}

.product .add-to-cart {
    bottom: 80px;
    right: 16px;
}

.product .add-to-cart i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(148, 84, 35, 0.4);
    transition: all var(--transition-fast);
}

.product .add-to-cart i:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.5);
}

/* ==========================================
   MODERN LOADING OVERLAY
   ========================================== */
.ajax-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.ajax-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ajax-loading-overlay .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top-color: var(--main);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media only screen and (max-width: 992px) {
    .add-to-cart-dialog {
        width: min(400px, 90vw);
    }

    .cart-total {
        position: static;
        margin-top: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .products-table {
        padding: 12px;
    }

    .products-table thead th {
        font-size: 11px;
        padding: 12px 8px;
    }

    .products-table tbody th,
    .products-table tbody td {
        padding: 12px 8px;
    }

    .products-table tbody th img {
        width: 50px;
        height: 50px;
    }

    .counter .decrease,
    .counter .increase {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .counter input {
        width: 40px;
        font-size: 14px;
    }

    .view-cart-info {
        padding: 10px 16px;
        gap: 12px;
    }

    .view-cart-info a h6,
    .view-cart-info h6#cartPrice {
        font-size: 13px;
    }

    .add-to-cart-dialog {
        width: 95vw;
    }
}

@media only screen and (max-width: 480px) {
    .products-table .table {
        font-size: 12px;
    }

    .products-table thead th:nth-child(2),
    .products-table tbody td:nth-child(2) {
        display: none;
    }

    .my-cart .section-title h1 {
        font-size: 22px;
    }

    .cart-content-info {
        padding: 12px 16px;
    }

    .cart-total .return-button {
        padding: 16px;
    }
}

@media only screen and (max-width: 400px) {
    .product-card .product-card-content {
        padding: 8px;
    }
    .product-card .product-card-content h6 {
        font-size: 12px;
    }
    .product-card .product-price {
        font-size: 13px;
    }
    .product-card .btn-quick-add {
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* ==========================================
   MODERN FORM ELEMENTS
   ========================================== */
.form-control,
.form-select {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(148, 84, 35, 0.1);
    outline: none;
}

/* Modern radio buttons */
.form-check-input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-check-input[type="radio"]:checked {
    background-color: var(--main);
    border-color: var(--main);
}

.form-check-input[type="radio"]:hover {
    border-color: var(--main_2);
}

/* Available/Out of stock badges */
.available p {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    background: var(--success-light);
    color: var(--success-color);
    margin: 0;
}

.available p:has(.fa-times-circle) {
    background: var(--error-light);
    color: var(--error-color);
}

/* Section titles */
.section-title h1 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.border-bottom {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--main) 0%, var(--main_2) 100%);
    border-radius: 2px;
}

/* Smooth page transitions */
.section-body {
    animation: fadeInUp 0.5s ease;
}

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

/* Button with icon alignment */
.return-button a i,
.submit-button button i {
    margin-right: 8px;
}

/* RTL button icon support */
[dir="rtl"] .return-button a i,
[dir="rtl"] .submit-button button i {
    margin-right: 0;
    margin-left: 8px;
}

/* RTL cart badge */
[dir="rtl"] .cart-badge {
    right: auto;
    left: -10px;
}

/* RTL dialog close button */
[dir="rtl"] .add-to-cart-dialog .close-button {
    right: auto;
    left: 16px;
}

/* RTL cart row animation */
[dir="rtl"] .cart-row-fade.removing {
    transform: translateX(30px) scale(0.95);
}

/* RTL toast animation */
[dir="rtl"] #toast-notification {
    animation: toastSlideInRTL 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideInRTL {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Code badge on product */
.product .code {
    left: 16px;
    top: 16px;
}

.product .code h6 {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    margin: 0;
}

/* Hover states for interactive elements */
.clickable,
[onclick] {
    cursor: pointer;
}

/* Focus visible for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 2px;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--main_2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--main);
}

/* ==========================================
   MODERN APP DOWNLOAD DIALOG
   ========================================== */
.app-download-dialog {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 0;
    width: min(420px, 90vw);
    max-width: 420px;
    overflow: hidden;
    animation: dialogOpen 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.app-download-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: backdropFade 0.3s ease;
}

.app-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.app-dialog-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.app-dialog-close i {
    color: #64748b;
    font-size: 16px;
}

.app-dialog-content {
    padding: 40px 32px 32px;
    text-align: center;
}

.app-dialog-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.app-dialog-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.app-dialog-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.app-dialog-content > p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 28px;
    line-height: 1.5;
}

.app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.store-button i {
    font-size: 28px;
}

.store-text {
    text-align: left;
    line-height: 1.2;
}

.store-text span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.store-text strong {
    font-size: 16px;
    display: block;
}

.play-store-btn {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.3);
}

.play-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.4);
    color: white;
}

.play-store-btn i {
    color: #3ddc84;
}

.app-store-btn {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.app-dialog-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.app-dialog-footer button {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.btn-skip {
    color: #64748b;
}

.btn-skip:hover {
    background: var(--bg-light);
    color: #1e293b;
}

.btn-dont-show {
    color: var(--main);
    font-weight: 500;
}

.btn-dont-show:hover {
    background: rgba(148, 84, 35, 0.1);
}

/* RTL support for app dialog */
[dir="rtl"] .app-dialog-close {
    right: auto;
    left: 16px;
}

[dir="rtl"] .store-text {
    text-align: right;
}

/* Mobile adjustments */
@media only screen and (max-width: 480px) {
    .app-download-dialog {
        width: 95vw;
        margin: 0;
    }

    .app-dialog-content {
        padding: 32px 20px 24px;
    }

    .app-dialog-content h3 {
        font-size: 20px;
    }

    .store-button {
        padding: 12px 20px;
    }

    .app-dialog-footer {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================
   MODERN SEARCH BAR
   ========================================== */
.search-nav {
    margin-top: 16px;
    padding-bottom: 16px;
}

.search-button {
    position: relative;
}

.search-button input {
    width: 100%;
    height: 52px;
    padding: 14px 52px 14px 20px;
    font-size: 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-button input:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.1);
    outline: none;
}

.search-button input::placeholder {
    color: #94a3b8;
}

.search-button::after {
    content: "\f002";
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main);
    font-size: 18px;
    pointer-events: none;
}

[dir="rtl"] .search-button::after {
    right: auto;
    left: 20px;
}

[dir="rtl"] .search-button input {
    padding: 14px 20px 14px 52px;
}

/* Modern Search Results styling - applied when visible */
.search-list:not(:empty) {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.search-item {
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}

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

.search-item:hover {
    background-color: var(--bg-light);
}

.search-item h6 {
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.search-item a {
    display: block;
    text-decoration: none;
}

/* ==========================================
   MODERN NAVIGATION DROPDOWNS
   ========================================== */
.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    margin-top: 8px;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #475569;
    transition: all var(--transition-fast);
}

.navbar .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--main);
}

.navbar .dropdown-divider {
    margin: 4px 0;
    border-color: var(--border-light);
}

/* Notification dropdown */
.notification-list {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 12px;
    width: 300px;
}

.notification-list li {
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    background: var(--bg-light);
}

.notification-list li:last-child {
    margin-bottom: 0;
}

.notification-list p {
    font-size: 13px;
    margin: 0;
    color: #475569;
    line-height: 1.4;
}

.notification-count {
    background: linear-gradient(135deg, var(--main_3) 0%, #dc2626 100%);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-all {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--main);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.read-all:hover {
    background-color: var(--bg-light);
}

/* ==========================================
   MODERN CATEGORY CARDS
   ========================================== */
.owl-carouse-cat .item {
    transition: transform var(--transition-normal);
}

.owl-carouse-cat .item:hover {
    transform: translateY(-4px);
}

.owl-carouse-cat img {
    border-radius: var(--radius-lg);
    height: 120px;
    width: 120px;
    object-fit: cover;
    padding: 0;
    background: var(--bg-light);
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.owl-carouse-cat .item:hover img {
    border-color: var(--main_2);
    box-shadow: var(--shadow-md);
}

.owl-carouse-cat .item p {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    color: #475569;
    transition: color var(--transition-fast);
}

.owl-carouse-cat .item:hover p {
    color: var(--main);
}

/* ==========================================
   MODERN FOOTER
   ========================================== */
.my-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 30px 30px;
}

.my-footer h2 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-section {
    margin-bottom: 24px;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.coupon-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: inline-block;
}

.coupon-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 4px;
}

.coupon-code {
    font-size: 18px;
    font-weight: 700;
    color: var(--main_2);
    letter-spacing: 1px;
}

.my-footer .social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.my-footer .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.my-footer .social-link:hover {
    background: var(--main);
    transform: translateY(-3px);
}

.my-footer .social-link i {
    font-size: 18px;
    color: white;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-buttons a img {
    height: 40px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.app-buttons a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.footer-links {
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    max-width: 120px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--main_2);
}

.footer-nav .nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==========================================
   MODERN SERVICES SECTION
   ========================================== */
.our-services {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0;
    margin-top: 0;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(148, 84, 35, 0.1) 0%, rgba(213, 154, 76, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.service-icon i {
    font-size: 24px;
    color: var(--main);
}

.service-item p {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   IMPROVED WHAT WE OFFER BOX
   ========================================== */
.what-we-offer {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.what-we-offer div {
    margin-bottom: 16px;
}

.what-we-offer div:last-child {
    margin-bottom: 0;
}

.what-we-offer i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 12px;
}

.what-we-offer p {
    font-size: 13px;
    color: #475569;
    display: inline;
}

/* ==========================================
   ADDRESS DROPDOWN IMPROVEMENTS
   ========================================== */
.address-details {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.address-details:hover {
    background-color: var(--bg-light);
}

.address-details .dropdown-item {
    padding: 0;
    font-size: 13px;
}

.address-details .fa-trash {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--error-light);
    color: var(--error-color);
    border-radius: 50%;
    font-size: 12px;
    transition: all var(--transition-fast);
}

.address-details .fa-trash:hover {
    background: var(--error-color);
    color: white;
}

/* ==========================================
   PULSE ANIMATION FOR IMPORTANT ELEMENTS
   ========================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ==========================================
   SKELETON LOADING PLACEHOLDER
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   IMPROVED ERROR/SUCCESS MESSAGES
   ========================================== */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: var(--success-light);
    color: #065f46;
}

.alert-danger {
    background: var(--error-light);
    color: #991b1b;
}

/* Only style error-message when it has content */
.error-message:empty {
    display: none;
}

.error-message:not(:empty) {
    margin-bottom: 16px;
}

.error-message .alert {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   IMPROVED LOGIN/REGISTER FORMS
   ========================================== */
.shared-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 24px;
}

.shared-form label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.shared-form input[type="text"],
.shared-form input[type="email"],
.shared-form input[type="password"],
.shared-form input[type="tel"],
.shared-form textarea,
.shared-form select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--bg-card);
}

.shared-form input:focus,
.shared-form textarea:focus,
.shared-form select:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.1);
    outline: none;
}

.register {
    text-align: center;
    margin-top: 24px;
}

.register h6 {
    font-size: 14px;
    color: #64748b;
}

.register a h6 {
    color: var(--main);
    font-weight: 600;
}

/* ==========================================
   IMPROVED ORDER TRACKING
   ========================================== */
.order-tracking-details {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    margin-block: 24px;
}

/* ==========================================
   IMPROVED PROFILE PAGE
   ========================================== */
.user-order-preference {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: border-color var(--transition-fast);
}

.user-order-preference:hover {
    border-color: var(--main_2);
}

/* ==========================================
   SMOOTH PAGE TRANSITIONS
   ========================================== */
.wrapper {
    animation: pageLoad 0.4s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================
   IMPROVED MOBILE MENU
   ========================================== */
.navbar-toggler {
    border: 2px solid var(--main);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    transition: all var(--transition-fast);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23945423' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navigation collapse */
@media only screen and (max-width: 992px) {
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-top: 16px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav {
        gap: 4px !important;
    }

    .nav-item {
        margin: 0;
    }

    .nav-item a {
        display: block;
        padding: 12px 16px;
    }

    .nav-item.active::after {
        display: none;
    }
}

/* ==========================================
   IMPROVED BANNER
   ========================================== */
.about-us-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 16px 0;
}

.banner-text h1 {
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-text h6 {
    font-size: 18px;
    opacity: 0.9;
}

/* ==========================================
   PRICE HIGHLIGHTING
   ========================================== */
.price p {
    background: linear-gradient(135deg, var(--main_3) 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ==========================================
   HOVER LIFT EFFECT UTILITY
   ========================================== */
.hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   MODERN PRODUCT CARD (NEW)
   ========================================== */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}

.product-card-image > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

/* Product badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-code {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.badge-sale {
    background: var(--main_3);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}

/* Favorite button */
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.btn-favorite:hover {
    transform: scale(1.1);
    background: white;
}

.btn-favorite i {
    font-size: 18px;
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.btn-favorite i.fa-heart {
    color: var(--main_3);
}

.btn-favorite:hover i {
    color: var(--main_3);
}

/* Quick add to cart button */
.btn-quick-add {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.4);
    z-index: 2;
}

.product-card:hover .btn-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-add:hover {
    background: linear-gradient(135deg, var(--main_2) 0%, var(--main) 100%);
}

.btn-quick-add i {
    font-size: 16px;
}

/* In cart badge */
.in-cart-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 16px;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

/* Product card content */
.product-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.product-card-title:hover {
    color: var(--main);
}

.product-card-meta {
    margin-bottom: 12px;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
}

.stock-status.in-stock {
    background: var(--success-light);
    color: var(--success-color);
}

.stock-status.out-stock {
    background: var(--error-light);
    color: var(--error-color);
}

.stock-status i {
    font-size: 10px;
}

.product-card-price {
    margin-top: auto;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--main);
}

.price-old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

/* ==========================================
   MODERN HOME PAGE SECTIONS
   ========================================== */

/* Hero Carousel */
.main-carousel {
    margin-top: 0;
    padding: 0;
}

.main-carousel .container {
    max-width: 100%;
    padding: 0;
}

.main-carousel .owl-carouse-1 {
    border-radius: 0;
}

.main-carousel .owl-carouse-1 img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.main-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.main-carousel .owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.main-carousel .owl-theme .owl-dots .owl-dot.active span {
    width: 30px;
    border-radius: 6px;
    background: white;
}

/* Section Styling */
.categories,
.most-ordered-product,
.Trending-product,
.newest-product {
    padding: 48px 0;
}

.categories {
    background: var(--bg-light);
}

.most-ordered-product {
    background: white;
}

.Trending-product {
    background: linear-gradient(135deg, #fef3e7 0%, #fdf6ed 100%);
}

.newest-product {
    background: white;
}

/* Section Titles */
.section-title {
    margin-bottom: 32px;
}

.section-title h1,
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-title a {
    text-decoration: none;
}

.section-title a h2:hover {
    color: var(--main);
}

.border-bottom {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--main) 0%, var(--main_2) 100%);
    border-radius: 2px;
    margin: 0 auto;
}

/* Product Grid */
.section-body .row {
    margin: -12px;
}

.section-body .row > div {
    padding: 12px;
}

.section-body .item {
    height: 100%;
}

/* Categories Carousel */
.owl-carouse-cat {
    padding: 20px 0;
}

.owl-carouse-cat .item {
    text-align: center;
    padding: 10px;
}

.owl-carouse-cat .item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    margin: 0 auto 12px;
    display: block;
    padding: 0;
    background: white;
}

.owl-carouse-cat .item:hover img {
    transform: scale(1.1);
    border-color: var(--main_2);
    box-shadow: var(--shadow-lg);
}

.owl-carouse-cat .item p {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.owl-carouse-cat .item:hover p {
    color: var(--main);
}

/* Product Carousel */
.newest-product-carousel {
    padding: 10px 0;
}

.newest-product-carousel .owl-item {
    padding: 10px;
}

.newest-product-carousel .owl-nav {
    top: 50%;
    transform: translateY(-50%);
}

.newest-product-carousel .owl-nav button {
    width: 44px;
    height: 44px;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.newest-product-carousel .owl-nav button:hover {
    background: var(--main) !important;
    color: white !important;
}

/* RTL Support for Product Card */
[dir="rtl"] .product-badges {
    left: auto;
    right: 12px;
}

[dir="rtl"] .btn-favorite {
    right: auto;
    left: 12px;
}

[dir="rtl"] .price-old {
    margin-left: 0;
    margin-right: 8px;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    .categories,
    .most-ordered-product,
    .Trending-product,
    .newest-product {
        padding: 32px 0;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 22px;
    }

    .main-carousel .owl-carouse-1 img {
        max-height: 300px;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-card-title {
        font-size: 14px;
    }

    .price-current {
        font-size: 16px;
    }

    .btn-quick-add {
        opacity: 1;
        transform: translateY(0);
        padding: 10px 12px;
        font-size: 13px;
    }

    .owl-carouse-cat .item img {
        width: 80px;
        height: 80px;
    }
}

@media only screen and (max-width: 480px) {
    .section-body .row {
        margin: -8px;
    }

    .section-body .row > div {
        padding: 8px;
    }

    .product-badges {
        top: 8px;
        left: 8px;
    }

    .btn-favorite {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }

    .btn-quick-add {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* ==========================================
   MODERN PRODUCT DETAILS PAGE
   ========================================== */
.product-details-page {
    padding: 40px 0;
    background: var(--bg-light);
}

/* Product Gallery */
.product-gallery {
    background: white;
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.main-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.product-gallery #productImages img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: #f8fafc;
}

.thumbnail-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-nav img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumbnail-nav img:hover,
.thumbnail-nav img.active {
    border-color: var(--main);
    box-shadow: var(--shadow-sm);
}

/* Product Info Section */
.product-info-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.product-breadcrumb a {
    color: #64748b;
    transition: color var(--transition-fast);
}

.product-breadcrumb a:hover {
    color: var(--main);
}

.product-breadcrumb i {
    font-size: 10px;
    color: #94a3b8;
}

.product-info-section .product-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-code {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    width: fit-content;
}

.code-label {
    font-size: 13px;
    color: #64748b;
}

.code-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--main);
}

.product-price-display {
    margin-bottom: 24px;
}

.product-price-display .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--main);
}

/* Unit Selection */
.unit-selection {
    margin-bottom: 20px;
}

.selection-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.unit-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.unit-option {
    position: relative;
}

.unit-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.unit-option label {
    display: inline-block;
    padding: 10px 20px;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: all var(--transition-fast);
}

.unit-option input[type="radio"]:checked + label {
    background: rgba(148, 84, 35, 0.1);
    border-color: var(--main);
    color: var(--main);
}

.unit-option label:hover {
    border-color: var(--main_2);
}

/* Unit Details */
.unit-details {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.unit-price .price-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--main);
}

.unit-details .stock-status {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.unit-details .stock-status.in-stock {
    color: #10b981;
}

.unit-details .stock-status.out-of-stock {
    color: #ef4444;
}

/* Quantity Selector */
.quantity-section {
    margin-bottom: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: #475569;
}

.qty-btn:hover {
    background: var(--main);
    color: white;
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    background: white;
}

.qty-input:focus {
    outline: none;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-favorite-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    transition: all var(--transition-fast);
}

.btn-favorite-large:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-favorite-large i {
    font-size: 18px;
}

.btn-favorite-large .fa-heart {
    color: #ef4444;
}

.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.3);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
}

.btn-add-to-cart i {
    font-size: 18px;
}

.btn-in-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--success-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Product Features Sidebar */
.product-features {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.features-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(148, 84, 35, 0.1) 0%, rgba(213, 154, 76, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 18px;
    color: var(--main);
}

.feature-text p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Related Products Section */
.related-products {
    padding: 48px 0;
    background: white;
}

/* Product Details Responsive */
@media only screen and (max-width: 991px) {
    .product-details-page {
        padding: 24px 0;
    }

    .product-gallery {
        margin-bottom: 24px;
    }

    .product-features {
        margin-top: 24px;
    }

    .product-info-section .product-title {
        font-size: 20px;
    }

    .product-price-display .current-price {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .product-gallery #productImages img {
        height: 300px;
    }

    .thumbnail-nav img {
        width: 60px;
        height: 60px;
    }

    .product-info-section {
        padding: 20px;
    }

    .unit-option label {
        padding: 8px 16px;
        font-size: 13px;
    }

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

    .btn-add-to-cart,
    .btn-favorite-large {
        width: 100%;
    }
}

/* ==========================================
   MODERN AUTHENTICATION PAGES
   ========================================== */
.auth-page {
    min-height: 60vh;
    padding: 48px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

.auth-card-wide {
    max-width: 680px;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(148, 84, 35, 0.3);
}

.auth-icon i {
    font-size: 28px;
    color: white;
}

.auth-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Auth Form */
.auth-form {
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.auth-form .required {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    transition: color var(--transition-fast);
}

.input-with-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: all var(--transition-fast);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--main);
    background: white;
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.1);
}

.input-with-icon input:focus + i,
.input-with-icon:focus-within i {
    color: var(--main);
}

.input-with-icon input::placeholder {
    color: #94a3b8;
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.forgot-link {
    font-size: 14px;
    color: var(--main);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--main_2);
    text-decoration: underline;
}

/* Auth Buttons */
.btn-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.3);
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
}

.btn-auth-submit i {
    font-size: 18px;
}

.btn-auth-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    transition: all var(--transition-fast);
}

.btn-auth-secondary:hover {
    border-color: var(--main);
    color: var(--main);
    background: rgba(148, 84, 35, 0.05);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
}

.auth-switch p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--main);
}

/* Auth Form Select (for city dropdown) */
.auth-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.auth-form select:focus {
    outline: none;
    border-color: var(--main);
    background: white;
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.1);
}

/* Address Select Container (Registration) */
.auth-form .form-group.full-width {
    grid-column: 1 / -1;
}

.address-select-container {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.address-display {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #f8fafc;
    min-height: 54px;
    display: flex;
    align-items: center;
}

.address-display .placeholder-text {
    color: #94a3b8;
    font-size: 14px;
}

.address-display .selected-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.address-display .selected-address > i {
    color: var(--main);
    font-size: 18px;
    margin-top: 2px;
}

.address-display .address-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.address-display .address-city {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.address-display .address-text {
    color: #64748b;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-select-address {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-select-address:hover {
    background: var(--main-dark);
    transform: translateY(-2px);
}

.btn-select-address i {
    font-size: 16px;
}

/* Auth Responsive */
@media only screen and (max-width: 767px) {
    .auth-page {
        padding: 24px 0;
    }

    .auth-card {
        padding: 28px 20px;
        margin: 0 12px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-header h1 {
        font-size: 22px;
    }

    .auth-icon {
        width: 60px;
        height: 60px;
    }

    .auth-icon i {
        font-size: 24px;
    }

    .address-select-container {
        flex-direction: column;
    }

    .btn-select-address {
        justify-content: center;
    }

    .address-display .address-text {
        white-space: normal;
    }
}

/* ==========================================
   MODERN CART PAGE
   ========================================== */
.cart-page,
.checkout-page {
    padding: 40px 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.page-header h1 i {
    color: var(--main);
}

.page-header .item-count {
    background: var(--main);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Cart Items Card */
.cart-items-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    gap: 16px;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    gap: 16px;
    padding: 20px 24px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    transition: all var(--transition-fast);
}

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

.cart-item:hover {
    background: #fafafa;
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(-20px);
}

.item-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.item-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.item-unit {
    font-size: 13px;
    color: #64748b;
}

.item-price span,
.item-subtotal span {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.item-subtotal span {
    color: var(--main);
}

/* Quantity Control */
.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}

.qty-control .qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    color: #64748b;
    transition: all var(--transition-fast);
}

.qty-control .qty-btn:hover {
    background: var(--main);
    color: white;
}

.qty-control input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: white;
}

.btn-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border: none;
    border-radius: var(--radius-md);
    color: #ef4444;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-remove:hover {
    background: #ef4444;
    color: white;
}

/* Continue Shopping */
.continue-shopping {
    margin-top: 20px;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--main);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-continue:hover {
    background: rgba(148, 84, 35, 0.1);
    color: var(--main);
}

/* Cart Summary */
.cart-summary-card,
.order-summary-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #64748b;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.summary-row.total span:last-child {
    color: var(--main);
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.btn-checkout,
.btn-place-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.3);
}

.btn-checkout:hover,
.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
    color: white;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

.secure-checkout i {
    color: #10b981;
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.cart-empty-state .empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-empty-state .empty-icon i {
    font-size: 48px;
    color: #cbd5e1;
}

.cart-empty-state h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cart-empty-state p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.3);
}

.btn-shop-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 84, 35, 0.4);
    color: white;
}

/* ==========================================
   MODERN CHECKOUT PAGE
   ========================================== */
.checkout-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.checkout-card.highlight {
    border: 2px solid var(--main_2);
}

.checkout-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-card .card-header i {
    font-size: 20px;
    color: var(--main);
}

.checkout-card .card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.checkout-card .card-body {
    padding: 24px;
}

.checkout-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkout-card .form-group {
    margin-bottom: 20px;
}

.checkout-card label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-address-link {
    font-size: 14px;
    color: var(--main);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.add-address-link:hover {
    color: var(--main_2);
}

.address-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
}

.address-select:focus {
    outline: none;
    border-color: var(--main);
    background: white;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-option.selected {
    border-color: var(--main);
    background: rgba(148, 84, 35, 0.05);
}

.payment-option input {
    display: none;
}

.payment-option .option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.payment-option .option-content i {
    font-size: 24px;
    color: var(--main);
}

.payment-option .option-content span {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

.payment-option .check-icon {
    color: var(--main);
    font-size: 20px;
}

/* Radio Options */
.existing-order-options {
    display: flex;
    gap: 24px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--main);
}

.radio-label {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

.back-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #64748b;
    transition: color var(--transition-fast);
}

.back-to-cart:hover {
    color: var(--main);
}

/* Cart/Checkout Responsive */
@media only screen and (max-width: 991px) {
    .cart-items-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .item-product {
        padding-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    .item-price,
    .item-quantity,
    .item-subtotal {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .item-price::before {
        content: 'Price:';
        font-size: 13px;
        color: #64748b;
    }

    .item-quantity::before {
        content: 'Qty:';
        font-size: 13px;
        color: #64748b;
    }

    .item-subtotal::before {
        content: 'Subtotal:';
        font-size: 13px;
        color: #64748b;
    }

    .item-action {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .cart-item {
        position: relative;
    }

    .cart-summary-card,
    .order-summary-card {
        margin-top: 24px;
        position: static;
    }
}

@media only screen and (max-width: 767px) {
    .page-header h1 {
        font-size: 22px;
    }

    .checkout-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .item-product img {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================
   PROFILE PAGE STYLES
   ========================================== */

.profile-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

/* Profile Sidebar */
.profile-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--main) 0%, #1a5a4a 100%);
    color: white;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.profile-avatar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-avatar p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

/* Profile Navigation */
.profile-nav {
    padding: 16px 0;
}

.profile-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.profile-nav .nav-item:hover {
    background: var(--bg-light);
    color: var(--main);
}

.profile-nav .nav-item.active {
    background: rgba(32, 113, 92, 0.08);
    color: var(--main);
    border-left-color: var(--main);
}

.profile-nav .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.profile-nav .nav-item span {
    font-size: 15px;
    font-weight: 500;
}

/* Profile Content */
.profile-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.content-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit:hover {
    background: #7a4520;
    color: white;
    transform: translateY(-1px);
}

/* Profile Info Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.info-content label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.info-content p {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-card:hover {
    background: rgba(32, 113, 92, 0.08);
    transform: translateY(-2px);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
}

.action-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.action-text p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.action-card > i.fa-chevron-right {
    color: var(--text-light);
    font-size: 14px;
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.profile-form .form-group label .required {
    color: var(--error-color);
}

.profile-form .input-with-icon {
    position: relative;
}

.profile-form .input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.profile-form .input-with-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.profile-form .input-with-icon input:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(32, 113, 92, 0.1);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-cancel {
    padding: 14px 28px;
    background: var(--bg-light);
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
    color: var(--text-color);
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save:hover {
    background: #1a5a4a;
    transform: translateY(-1px);
}

/* Addresses Page */
.addresses-list-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.address-row:hover {
    border-color: rgba(148, 84, 35, 0.3);
}

.address-row.is-default {
    background: rgba(148, 84, 35, 0.04);
    border-color: var(--main);
}

.address-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.address-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-icon-wrap i {
    color: var(--main);
    font-size: 16px;
}

.address-info {
    flex: 1;
    min-width: 0;
}

.address-city-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.city-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.default-tag {
    padding: 2px 8px;
    background: var(--main);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.address-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-action {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    background: white;
}

.btn-action.btn-default {
    color: var(--text-secondary);
}

.btn-action.btn-default:hover {
    border-color: var(--main);
    color: var(--main);
}

.btn-action.btn-remove {
    color: #ef4444;
    padding: 8px 10px;
}

.btn-action.btn-remove:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* Empty Addresses */
.empty-addresses {
    text-align: center;
    padding: 60px 20px;
}

.empty-addresses .empty-icon {
    width: 72px;
    height: 72px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-addresses .empty-icon i {
    font-size: 28px;
    color: var(--main);
}

.empty-addresses h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-addresses p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--main);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-address:hover {
    background: #7a4520;
}

/* Addresses Page Responsive */
@media only screen and (max-width: 768px) {
    .address-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .address-actions-row {
        width: 100%;
    }

    .btn-action.btn-default {
        flex: 1;
    }

    .address-text {
        white-space: normal;
    }
}

/* Profile Page Responsive */
@media only screen and (max-width: 991px) {
    .profile-page {
        padding: 24px 0 60px;
    }

    .profile-sidebar {
        margin-bottom: 24px;
        position: static;
    }

    .profile-avatar {
        padding: 24px 20px;
    }

    .avatar-circle {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .profile-nav {
        display: flex;
        overflow-x: auto;
        padding: 0;
        gap: 0;
    }

    .profile-nav .nav-item {
        flex-direction: column;
        gap: 6px;
        padding: 16px 20px;
        text-align: center;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .profile-nav .nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--main);
    }

    .profile-content {
        padding: 24px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .profile-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   ORDERS PAGE STYLES
   ========================================== */

.orders-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

.orders-header {
    text-align: center;
    margin-bottom: 32px;
}

.orders-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.orders-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* Filter Card */
.filter-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-color);
}

.filter-header i {
    color: var(--main);
}

.filter-body {
    display: flex;
    gap: 24px;
    padding: 20px;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.filter-group input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-group input[type="date"]:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(32, 113, 92, 0.1);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.2s ease;
}

.order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.order-number .label {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.order-number .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.order-status.status-created {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status.status-prepare {
    background: #fff3e0;
    color: #f57c00;
}

.order-status.status-on-way {
    background: #e8f5e9;
    color: #388e3c;
}

.order-status.status-delivered {
    background: var(--main);
    color: white;
}

.order-card-body {
    padding: 20px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.order-info-item {
    display: flex;
    gap: 12px;
}

.order-info-item i {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 14px;
    flex-shrink: 0;
}

.order-info-item .info-text {
    display: flex;
    flex-direction: column;
}

.order-info-item .info-text .label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.order-info-item .info-text .value {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.order-info-item .info-text .value.price {
    color: var(--main);
    font-weight: 600;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.updated-at {
    font-size: 13px;
    color: var(--text-light);
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--main);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-view-details:hover {
    background: #1a5a4a;
    color: white;
}

/* Orders Summary */
.orders-summary {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.orders-summary .summary-item {
    text-align: center;
}

.orders-summary .summary-item .label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.orders-summary .summary-item .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.orders-summary .summary-item .value.price {
    color: var(--main);
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ==========================================
   ORDER DETAILS PAGE STYLES
   ========================================== */

.order-details-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

.order-details-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.order-details-page .back-link:hover {
    color: var(--main);
}

.order-details-header {
    margin-bottom: 32px;
}

.order-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.order-title h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.order-date {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}

/* Order Items Card */
.order-items-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.order-items-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.order-items-card .card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-print:hover {
    background: var(--main);
    color: white;
}

.items-list {
    padding: 0 24px;
}

.order-item {
    display: grid;
    grid-template-columns: 40px 60px 1fr 100px 120px 100px auto;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.item-number {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.order-item .item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.order-item .item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.order-item .item-info {
    min-width: 0;
}

.order-item .item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item .item-unit {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.order-item .item-price,
.order-item .item-quantity,
.order-item .item-subtotal {
    text-align: center;
}

.order-item .item-price .label,
.order-item .item-quantity .label,
.order-item .item-subtotal .label {
    display: none;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.order-item .item-price .value,
.order-item .item-quantity .value {
    font-size: 14px;
    color: var(--text-color);
}

.order-item .item-subtotal .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--main);
}

.order-item .qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 8px;
}

.order-item .qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.order-item .qty-btn:hover {
    background: var(--main);
    color: white;
}

.order-item .qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.order-item .item-delete {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.order-item .item-delete:hover {
    background: #fee2e2;
    color: var(--error-color);
}

/* Order Totals */
.order-totals {
    padding: 24px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.total-row.grand-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 700;
}

.total-row.grand-total span:last-child {
    color: var(--main);
}

/* Order Info Sidebar */
.order-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.info-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.info-card .card-header i {
    color: var(--main);
}

.info-card .card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.info-card .card-body {
    padding: 20px;
}

.info-row {
    margin-bottom: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row .label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-row .value {
    font-size: 14px;
    color: var(--text-color);
}

/* Driver Card */
.driver-details {
    display: flex;
    align-items: center;
    gap: 16px;
}

.driver-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 20px;
}

.driver-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px;
}

.driver-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--main);
    text-decoration: none;
}

.driver-phone:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
}

.timeline-item.completed .timeline-dot {
    background: var(--main);
    border-color: var(--main);
}

.timeline-content .status {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.timeline-item:not(.completed) .timeline-content .status {
    color: var(--text-light);
}

.timeline-content .date {
    font-size: 12px;
    color: var(--text-light);
}

/* Products Page / Filter Bar */
.products-page {
    padding: 40px 0 80px;
    min-height: 70vh;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.results-count {
    font-size: 14px;
    color: var(--text-light);
}

.results-count span {
    font-weight: 600;
    color: var(--text-color);
}

.per-page-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.per-page-form label {
    font-size: 14px;
    color: var(--text-light);
}

.per-page-form select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.empty-state .empty-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.empty-state .empty-icon i {
    font-size: 40px;
    color: var(--text-light);
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--main);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-shop-now:hover {
    background: #1a5a4a;
    color: white;
    transform: translateY(-1px);
}

/* Orders Page Responsive */
@media only screen and (max-width: 991px) {
    .orders-page,
    .order-details-page {
        padding: 24px 0 60px;
    }

    .filter-body {
        flex-direction: column;
        gap: 16px;
    }

    .order-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-card-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .btn-view-details {
        width: 100%;
        justify-content: center;
    }

    .orders-summary {
        flex-direction: column;
        gap: 20px;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .order-info-sidebar {
        order: -1;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
        background: var(--bg-light);
        border-radius: 12px;
        margin-bottom: 12px;
        border-bottom: none;
    }

    .order-item .item-number {
        display: none;
    }

    .order-item .item-image {
        width: 80px;
        height: 80px;
    }

    .order-item .item-info {
        margin-bottom: 12px;
    }

    .order-item .item-price,
    .order-item .item-quantity,
    .order-item .item-subtotal {
        display: flex;
        justify-content: space-between;
        text-align: left;
        padding: 8px 0;
        border-top: 1px solid var(--border-color);
    }

    .order-item .item-price .label,
    .order-item .item-quantity .label,
    .order-item .item-subtotal .label {
        display: block;
    }

    .order-item .item-delete {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .filter-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 575px) {
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ==========================================
   FAVORITES PAGE STYLES
   ========================================== */

.favorites-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

.favorites-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.favorites-page .header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.favorites-page .header-icon i {
    font-size: 28px;
    color: white;
}

.favorites-page .page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.favorites-page .page-header p {
    color: var(--text-light);
    font-size: 15px;
}

.favorites-page .empty-state .empty-icon {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.favorites-page .empty-state .empty-icon i {
    color: #ff6b6b;
}

/* ==========================================
   SEARCH RESULTS PAGE STYLES
   ========================================== */

.search-results-page {
    padding: 40px 0 80px;
    min-height: 70vh;
}

.search-results-page .page-header {
    margin-bottom: 32px;
}

.search-results-page .page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.search-results-page .page-header p {
    color: var(--text-light);
    font-size: 15px;
}

.search-results-page .page-header p span {
    color: var(--main);
    font-weight: 600;
}

/* ==========================================
   CATEGORY PAGE STYLES
   ========================================== */

.category-page {
    padding: 40px 0 80px;
    min-height: 70vh;
}

.category-page .page-header {
    margin-bottom: 32px;
}

.category-page .page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.category-page .page-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* ==========================================
   USER PRODUCTS PAGE STYLES
   ========================================== */

.user-products-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

.user-products-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.user-products-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.user-products-card .card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.user-products-card .card-header .badge {
    padding: 6px 12px;
    background: var(--main);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.user-products-card .products-list {
    padding: 0;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

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

.product-row:hover {
    background: var(--bg-light);
}

.product-row .product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-row .product-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 20px;
}

.product-row .product-details h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 4px;
}

.product-row .product-details .unit {
    font-size: 13px;
    color: var(--text-light);
}

.product-row .product-stats {
    display: flex;
    gap: 32px;
}

.product-row .stat-item {
    text-align: center;
}

.product-row .stat-item .label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-row .stat-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.product-row .stat-item .value.price {
    color: var(--main);
}

/* ==========================================
   POINTS PAGE STYLES
   ========================================== */

.points-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    background: var(--bg-light);
}

.points-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.points-page .header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.points-page .header-icon i {
    font-size: 28px;
    color: white;
}

.points-page .page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.points-page .page-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* Points Summary */
.points-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.summary-card.earned .card-icon {
    background: #dcfce7;
    color: #16a34a;
}

.summary-card.spent .card-icon {
    background: #fee2e2;
    color: #dc2626;
}

.summary-card.balance .card-icon {
    background: #e0f2fe;
    color: #0284c7;
}

.summary-card .card-content .label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.summary-card .card-content .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

/* Points Info Banner */
.points-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fef3c7;
    border-radius: 10px;
    margin-bottom: 24px;
}

.points-info-banner i {
    color: #f59e0b;
    font-size: 18px;
}

.points-info-banner p {
    color: #92400e;
    font-size: 14px;
    margin: 0;
}

/* Points Grid */
.points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.points-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.points-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.points-card .card-header.earned {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.points-card .card-header.earned i {
    color: #16a34a;
}

.points-card .card-header.spent {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.points-card .card-header.spent i {
    color: #dc2626;
}

.points-card .card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.points-card .card-body {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.points-list {
    padding: 0;
}

.point-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

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

.point-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.order-link {
    font-size: 14px;
    color: var(--main);
    text-decoration: none;
    font-weight: 500;
}

.order-link:hover {
    text-decoration: underline;
}

.point-value {
    font-size: 16px;
    font-weight: 700;
}

.point-value.earned {
    color: #16a34a;
}

.point-value.spent {
    color: #dc2626;
}

.point-date {
    font-size: 12px;
    color: var(--text-light);
}

.no-points {
    padding: 40px 20px;
    text-align: center;
}

.no-points i {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.no-points p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* User Products & Points Responsive */
@media only screen and (max-width: 991px) {
    .user-products-page,
    .points-page {
        padding: 24px 0 60px;
    }

    .product-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .product-row .product-stats {
        width: 100%;
        justify-content: space-around;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .points-summary {
        grid-template-columns: 1fr;
    }

    .points-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

.about-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--main) 0%, #1a5a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 50px;
    opacity: 0.5;
}

.about-hero .hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.about-hero .hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero .hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

.about-page {
    padding: 60px 0 80px;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(32, 113, 92, 0.1);
    color: var(--main);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.vm-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.vm-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.vm-card.vision .card-icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
}

.vm-card.mission .card-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.vm-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.vm-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: linear-gradient(135deg, var(--main) 0%, #1a5a4a 100%);
    border-radius: 16px;
    padding: 40px;
}

.about-stats .stat-item {
    text-align: center;
    color: white;
}

.about-stats .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-stats .stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Contact Page */
.contact-page {
    padding: 0 0 80px;
    min-height: 70vh;
    background: #f8f9fa;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    padding: 60px 0;
    margin-bottom: 0;
}

.contact-hero .hero-content {
    text-align: center;
}

.contact-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
}

/* Quick Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: -40px 0 48px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.contact-card .card-icon i {
    font-size: 24px;
    color: var(--main);
}

.contact-card:hover .card-icon {
    background: var(--main);
}

.contact-card:hover .card-icon i {
    color: white;
}

.contact-card.whatsapp .card-icon {
    background: rgba(37, 211, 102, 0.1);
}

.contact-card.whatsapp .card-icon i {
    color: #25d366;
}

.contact-card.whatsapp:hover .card-icon {
    background: #25d366;
}

.contact-card.whatsapp:hover .card-icon i {
    color: white;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.contact-card .hours {
    display: block;
    font-size: 13px;
    color: var(--main);
    font-weight: 500;
    margin-top: 4px;
}

/* Main Content Grid */
.contact-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-form-section .section-header {
    padding: 28px 32px;
    border-bottom: 1px solid #eee;
}

.contact-form-section .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.contact-form-section .section-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.contact-form {
    padding: 32px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.contact-form .form-group label i {
    color: var(--main);
    font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    resize: none;
    background: #fafafa;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--main);
    background: white;
    box-shadow: 0 0 0 4px rgba(148, 84, 35, 0.1);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #aaa;
}

.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 84, 35, 0.3);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(148, 84, 35, 0.4);
}

.contact-form .btn-submit i {
    font-size: 16px;
}

/* Contact Location Section */
.contact-location {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-map {
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

.location-info {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.location-info .info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.location-info .info-item i {
    width: 44px;
    height: 44px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 18px;
}

.location-info .info-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.location-info .info-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--main);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-directions:hover {
    background: var(--main_2);
    color: white;
}

/* Social Section */
.social-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.social-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 20px;
    color: white;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link:hover {
    transform: scale(1.1);
}

/* Responsive */
@media only screen and (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-location {
        order: -1;
    }
}

@media only screen and (max-width: 768px) {
    .contact-hero {
        padding: 40px 0;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }

    .contact-form-section .section-header,
    .contact-form {
        padding: 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================
   ABOUT US PAGE STYLES
   ========================================== */

.about-page {
    padding: 0 0 80px;
    min-height: 70vh;
    background: #f8f9fa;
}

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero .hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.about-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: -50px 0 60px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-card .stat-icon i {
    font-size: 24px;
    color: var(--main);
}

.stat-card .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
}

/* About Story */
.about-story {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 48px;
}

.story-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 20px;
    color: var(--main);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.story-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Vision & Mission */
.vm-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.vm-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.vm-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vm-icon.vision {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vm-icon.mission {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
}

.vm-icon i {
    font-size: 28px;
    color: white;
}

.vm-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.vm-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Why Choose Us Section */
.why-us-section {
    margin-bottom: 48px;
}

.why-us-section .section-header {
    text-align: center;
    margin-bottom: 32px;
}

.why-us-section .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.feature-card .feature-icon i {
    font-size: 24px;
    color: var(--main);
}

.feature-card:hover .feature-icon {
    background: var(--main);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-cta .cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.about-cta .cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.about-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--main);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.about-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--main);
}

.about-cta .cta-button i {
    font-size: 18px;
}

/* About Responsive */
@media only screen and (max-width: 1024px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .vm-section {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .about-hero {
        padding: 50px 0;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .about-stats {
        margin-top: -30px;
        gap: 16px;
    }

    .about-story {
        padding: 32px 24px;
    }

    .vm-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .vm-icon {
        margin: 0 auto;
    }

    .about-cta {
        padding: 32px 24px;
    }

    .about-cta .cta-content h3 {
        font-size: 22px;
    }
}

@media only screen and (max-width: 575px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LEGAL PAGES (Terms & Privacy) STYLES
   ========================================== */

.legal-page {
    padding: 0 0 80px;
    min-height: 70vh;
    background: #f8f9fa;
}

/* Legal Hero */
.legal-hero {
    background: linear-gradient(135deg, var(--main) 0%, var(--main_2) 100%);
    padding: 60px 0;
}

.legal-hero .hero-content {
    text-align: center;
}

.legal-hero .hero-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.legal-hero .hero-icon i {
    font-size: 28px;
    color: white;
}

.legal-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* Legal Content Wrapper */
.legal-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

/* Legal Sidebar */
.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.toc-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.toc-nav a:hover {
    background: rgba(148, 84, 35, 0.1);
    color: var(--main);
}

/* Legal Main Content */
.legal-main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Legal Sections (Privacy) */
.legal-section {
    margin-bottom: 36px;
    scroll-margin-top: 120px;
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section .section-icon {
    width: 48px;
    height: 48px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.legal-section .section-icon i {
    font-size: 20px;
    color: var(--main);
}

.legal-section .intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--main);
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.term-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    scroll-margin-top: 120px;
}

.term-card:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
}

.term-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.term-header .term-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--main);
    opacity: 0.5;
}

.term-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.term-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Registration Card */
.registration-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(148, 84, 35, 0.1) 0%, rgba(213, 154, 76, 0.1) 100%);
    border-radius: 16px;
    margin-bottom: 32px;
}

.registration-card .registration-icon {
    width: 56px;
    height: 56px;
    background: var(--main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.registration-card .registration-icon i {
    font-size: 24px;
    color: white;
}

.registration-card .registration-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.registration-card .registration-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.registration-card .registration-content strong {
    color: var(--main);
}

/* Legal Contact */
.legal-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-top: 32px;
}

.legal-contact > i {
    width: 48px;
    height: 48px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--main);
    flex-shrink: 0;
}

.legal-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.legal-contact p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.legal-contact .contact-link {
    margin-left: auto;
    padding: 12px 24px;
    background: var(--main);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.legal-contact .contact-link:hover {
    background: var(--main_2);
    color: white;
}

/* Legal Responsive */
@media only screen and (max-width: 1024px) {
    .legal-content-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }

    .toc-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .toc-nav a {
        padding: 8px 12px;
        background: #f8f9fa;
    }
}

@media only screen and (max-width: 768px) {
    .legal-hero {
        padding: 40px 0;
    }

    .legal-hero h1 {
        font-size: 28px;
    }

    .legal-main {
        padding: 28px;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }

    .legal-contact {
        flex-direction: column;
        text-align: center;
    }

    .legal-contact .contact-link {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .registration-card {
        flex-direction: column;
        text-align: center;
    }
}

/* About & Contact Responsive */
@media only screen and (max-width: 991px) {
    .about-hero {
        height: 220px;
    }

    .about-hero .hero-content h1 {
        font-size: 28px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 24px;
    }

    .about-stats .stat-number {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 1;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal-content {
        padding: 24px;
    }
}

@media only screen and (max-width: 575px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .term-item {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   HOME PAGE ENHANCEMENTS
   ========================================== */

/* Main Carousel */
.main-carousel {
    margin-bottom: 0;
}

.main-carousel .owl-carousel .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Section Titles */
.section-title {
    margin-bottom: 32px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.section-title a {
    text-decoration: none;
    color: inherit;
}

.section-title a h2 {
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.section-title a h2:hover {
    color: var(--main);
}

.section-title a h2 i {
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.section-title a h2:hover i {
    transform: translateX(4px);
}

.section-title .border-bottom {
    width: 60px;
    height: 3px;
    background: var(--main);
    border-radius: 2px;
}

/* Categories Section */
.categories {
    padding: 48px 0;
    background: white;
}

.categories .owl-carousel .item {
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
}

.categories .owl-carousel .item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--bg-light);
    transition: all 0.3s ease;
}

.categories .owl-carousel .item:hover img {
    border-color: var(--main);
    transform: scale(1.05);
}

.categories .owl-carousel .item.current img {
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(32, 113, 92, 0.2);
}

.categories .owl-carousel .item p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

/* Product Sections */
.most-ordered-product,
.Trending-product,
.newest-product {
    padding: 48px 0;
}

.most-ordered-product {
    background: var(--bg-light);
}

.Trending-product {
    background: white;
}

.newest-product {
    background: var(--bg-light);
}

/* Product Grid Row */
.most-ordered-product .row,
.newest-product .row {
    margin: 0 -12px;
}

.most-ordered-product .row > [class*="col-"],
.newest-product .row > [class*="col-"] {
    padding: 0 12px;
    margin-bottom: 24px;
}

/* Carousel Navigation */
.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-color) !important;
    font-size: 14px !important;
    transition: all 0.2s ease;
}

.owl-carousel .owl-nav button:hover {
    background: var(--main) !important;
    color: white !important;
}

.owl-carousel .owl-dots {
    margin-top: 20px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    transition: all 0.2s ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--main);
    width: 24px;
}

/* Home Page Responsive */
@media only screen and (max-width: 991px) {
    .categories,
    .most-ordered-product,
    .Trending-product,
    .newest-product {
        padding: 32px 0;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .categories .owl-carousel .item img {
        width: 64px;
        height: 64px;
    }
}

/* ==========================================
   MODERN TOP BAR (Contact Bar)
   ========================================== */
.top-bar {
    background: linear-gradient(135deg, var(--main) 0%, #7a4520 100%);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.contact-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.contact-link i {
    font-size: 14px;
    opacity: 0.9;
}

.contact-links .divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 14px;
}

/* Top Bar Responsive */
@media only screen and (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }

    .contact-links span:not(.divider) {
        display: none;
    }

    .contact-link {
        padding: 6px;
    }

    .contact-link i {
        font-size: 16px;
    }

    .contact-links .divider {
        display: none;
    }
}

@media only screen and (max-width: 576px) {
    .top-bar {
        display: none;
    }
}

/* ==========================================
   MODERN MAIN HEADER (Navbar)
   ========================================== */
.main-header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-header .navbar {
    padding: 0;
    min-height: 70px;
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-header .navbar-brand {
    padding: 12px 0;
    flex-shrink: 0;
}

.main-header .logo-img {
    max-height: 50px;
    transition: opacity 0.2s ease;
}

.main-header .logo-img:hover {
    opacity: 0.85;
}

/* Mobile Toggle Button */
.main-header .navbar-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.main-header .navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.toggler-icon span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar Collapse */
.main-header .navbar-collapse {
    flex-grow: 1;
}

/* Main Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 18px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--main);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.main-nav .nav-link:hover {
    color: var(--main);
}

.main-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.main-nav .nav-link.active {
    color: var(--main);
}

.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.main-nav .nav-link i {
    font-size: 15px;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.nav-actions .nav-item {
    list-style: none;
}

.nav-actions .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-actions .nav-link:hover {
    color: var(--main);
    background: rgba(148, 84, 35, 0.06);
}

.nav-actions .nav-link i {
    font-size: 18px;
}

/* Divider between nav sections */
.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border-light);
    margin: 0 8px;
}

/* Login Button */
.btn-login {
    background: var(--main) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.btn-login:hover {
    background: #7a4520 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(148, 84, 35, 0.25);
}

.btn-login i {
    font-size: 14px !important;
}

/* Icon-only nav items */
.nav-actions .icon-only {
    padding: 10px 12px;
}

.nav-actions .icon-only i {
    font-size: 20px;
}

/* Cart Navigation */
.cart-nav .cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.cart-nav .cart-link:hover {
    color: var(--main);
    background: rgba(148, 84, 35, 0.06);
}

.cart-nav .cart-link i {
    font-size: 20px;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--main_3);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* Notifications */
.notifications-dropdown .nav-link {
    position: relative;
    padding: 10px 12px;
}

.notifications-dropdown .nav-link i {
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--main_3);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* Language Switcher */
.lang-switcher .nav-link {
    padding: 8px 14px !important;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-switcher .nav-link:hover {
    border-color: var(--main);
    background: rgba(148, 84, 35, 0.04);
}

/* ==========================================
   USER DROPDOWN
   ========================================== */
.user-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

/* User Menu Dropdown */
.user-menu.dropdown-menu {
    min-width: 200px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    background: white !important;
}

.user-menu .dropdown-header {
    padding: 0 !important;
    background: transparent !important;
}

.user-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px 16px !important;
    background: #f8f8f8 !important;
    border-bottom: 1px solid #eee !important;
    margin: 0 !important;
}

.user-header .name {
    display: block;
    color: #333 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-header .email {
    display: block;
    color: #888 !important;
    font-size: 12px;
}

.user-menu.dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    color: #333 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    background: white !important;
    border: none !important;
}

.user-menu.dropdown-menu .dropdown-item:hover {
    background: #f5f5f5 !important;
    color: var(--main) !important;
}

.user-menu.dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.user-menu.dropdown-menu .dropdown-item:hover i {
    color: var(--main);
}

.user-menu .dropdown-divider {
    margin: 4px 0 !important;
    border-color: #eee !important;
    opacity: 1 !important;
}

.user-menu.dropdown-menu .logout-item {
    color: #dc3545 !important;
}

.user-menu.dropdown-menu .logout-item i {
    color: #dc3545 !important;
}

.user-menu.dropdown-menu .logout-item:hover {
    background: #fff5f5 !important;
    color: #dc3545 !important;
}

/* ==========================================
   ADDRESSES DROPDOWN
   ========================================== */
.addresses-menu {
    min-width: 320px;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    margin-top: 10px !important;
}

.addresses-menu .dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-primary);
}

.addresses-menu .dropdown-header i {
    color: var(--main);
}

.addresses-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.address-item:hover {
    background: rgba(148, 84, 35, 0.06);
}

.address-item.default {
    background: rgba(148, 84, 35, 0.08);
}

.address-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    min-width: 0;
}

.address-content:hover {
    color: var(--main);
}

.address-content i {
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--main);
}

.address-item.default .address-content i {
    color: #22c55e;
}

.address-content span {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.badge-default {
    flex-shrink: 0;
    background: #22c55e;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.btn-delete-address {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: auto 0;
}

.btn-delete-address:hover {
    background: rgba(191, 30, 46, 0.1);
    color: var(--main_3);
}

.dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
}

.btn-add-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--main);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.btn-add-address:hover {
    background: #7a4520;
    color: white;
    transform: translateY(-1px);
}

/* ==========================================
   NOTIFICATIONS DROPDOWN
   ========================================== */
.notifications-dropdown .nav-link {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    background: var(--main_3);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.notifications-menu {
    min-width: 340px;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    margin-top: 10px !important;
}

.notifications-menu .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-primary);
}

.btn-mark-read {
    background: none;
    border: none;
    color: var(--main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-mark-read:hover {
    background: rgba(148, 84, 35, 0.1);
}

.notifications-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

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

.notification-item.unread {
    background: rgba(148, 84, 35, 0.05);
}

.notification-item:hover {
    background: rgba(148, 84, 35, 0.08);
}

.notification-icon {
    width: 36px;
    height: 36px;
    background: rgba(148, 84, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    color: var(--main);
    font-size: 14px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.notifications-empty {
    padding: 40px 20px;
    text-align: center;
}

.notifications-empty i {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}

.notifications-empty p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================
   NAVBAR RESPONSIVE
   ========================================== */
@media only screen and (max-width: 992px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .main-header .navbar {
        min-height: 60px;
    }

    .main-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        margin: 0;
        border-top: 1px solid var(--border-light);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        margin: 0 0 12px 0;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-light);
    }

    .main-nav .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .main-nav .nav-link::after {
        display: none;
    }

    .main-nav .nav-link.active {
        background: rgba(148, 84, 35, 0.08);
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        margin-left: 0;
    }

    .nav-actions > .nav-item {
        width: 100%;
    }

    .nav-actions .nav-link {
        padding: 12px 16px;
        justify-content: flex-start;
        border-radius: 8px;
    }

    .cart-nav {
        order: -1;
    }

    .cart-nav .cart-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px !important;
        gap: 10px;
    }

    .cart-nav .cart-link::after {
        content: attr(data-cart-text);
        font-weight: 500;
    }

    .cart-badge {
        position: static;
        margin-left: auto;
    }

    .notification-badge {
        position: static;
        margin-left: auto;
    }

    .notifications-dropdown .nav-link::after {
        content: attr(data-text);
        font-weight: 500;
    }

    .user-dropdown .nav-link,
    .addresses-dropdown .nav-link,
    .notifications-dropdown .nav-link {
        justify-content: flex-start;
        width: 100%;
    }

    .lang-switcher {
        margin-top: 8px;
    }

    .lang-switcher .nav-link {
        justify-content: center;
        width: 100%;
        border: none;
        background: rgba(148, 84, 35, 0.08);
    }

    /* Dropdown menus in mobile */
    .addresses-menu,
    .user-menu,
    .notifications-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid var(--border-light);
        margin-top: 8px !important;
        border-radius: var(--radius-md);
    }

    .user-name {
        max-width: none;
    }
}

@media only screen and (max-width: 576px) {
    .main-header .navbar {
        padding: 10px 0;
    }

    .main-header .logo-img {
        max-height: 50px;
    }
}

/* ==========================================
   MODERN DIALOG
   ========================================== */
.modern-dialog {
    border: none;
    border-radius: var(--radius-xl, 16px);
    padding: 0;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: white;
    margin: auto;
    inset: 0;
    height: fit-content;
}

.modern-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modern-dialog[open] {
    animation: dialogFadeIn 0.3s ease;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dialog-content {
    display: flex;
    flex-direction: column;
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--main) 0%, #7a4520 100%);
    border-radius: var(--radius-xl, 16px) var(--radius-xl, 16px) 0 0;
}

.dialog-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.dialog-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dialog-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialog-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dialog-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.dialog-form label .required {
    color: var(--main_3, #bf1e2e);
}

.dialog-form .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.dialog-form .input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--text-muted, #94a3b8);
    font-size: 16px;
}

.dialog-form .input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    font-size: 14px;
    transition: all var(--transition-fast, 0.2s);
}

.dialog-form .input-with-icon input:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(148, 84, 35, 0.1);
}

.dialog-form .input-with-icon input::placeholder {
    color: var(--text-muted, #94a3b8);
}

.dialog-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all var(--transition-fast, 0.2s);
}

.dialog-form select:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(148, 84, 35, 0.1);
}

.dialog-form .form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    font-size: 14px;
    transition: all 0.2s ease;
}

.dialog-form .form-input:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(148, 84, 35, 0.1);
}

.dialog-form .form-input::placeholder {
    color: var(--text-muted, #94a3b8);
}

.dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 8px;
}

.dialog-actions .btn-cancel {
    padding: 10px 20px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    background: white;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast, 0.2s);
}

.dialog-actions .btn-cancel:hover {
    background: var(--bg-light, #f8fafc);
    border-color: var(--text-secondary);
}

.dialog-actions .btn-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--main) 0%, #7a4520 100%);
    border: none;
    border-radius: var(--radius-md, 8px);
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast, 0.2s);
}

.dialog-actions .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 84, 35, 0.3);
}

.dialog-actions .btn-submit i {
    font-size: 14px;
}

/* Modern Dialog Responsive */
@media only screen and (max-width: 576px) {
    .modern-dialog {
        width: 95%;
        max-width: none;
    }

    .dialog-header {
        padding: 16px 20px;
    }

    .dialog-header h3 {
        font-size: 16px;
    }

    .dialog-form {
        padding: 20px;
    }

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

    .dialog-actions .btn-cancel,
    .dialog-actions .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   MAP DIALOG
   ========================================== */
.map-dialog {
    max-width: 560px;
}

.map-container {
    position: relative;
    margin-bottom: 8px;
}

.map-search {
    position: relative;
    margin-bottom: 12px;
}

.map-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
    z-index: 1;
}

.map-search input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    font-size: 14px;
    transition: all var(--transition-fast, 0.2s);
}

.map-search input:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(148, 84, 35, 0.1);
}

#addressMap,
#registerAddressMap {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--border-light, #e2e8f0);
    z-index: 1;
}

.map-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(148, 84, 35, 0.08);
    border-radius: var(--radius-sm, 6px);
    font-size: 12px;
    color: var(--text-secondary, #64748b);
}

.map-hint i {
    color: var(--main);
}

/* Leaflet marker customization */
.leaflet-marker-icon {
    filter: hue-rotate(340deg) saturate(1.5);
}

/* Map Dialog Responsive */
@media only screen and (max-width: 576px) {
    .map-dialog {
        width: 95%;
    }

    #addressMap,
    #registerAddressMap {
        height: 200px;
    }

    .map-hint {
        font-size: 11px;
    }
}

/* ==========================================
   FLOATING CART WIDGET MOBILE
   ========================================== */
@media only screen and (max-width: 576px) {
    .view-cart {
        bottom: 16px;
        width: calc(100% - 32px);
        left: 16px;
        transform: none;
    }

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

/* ===== Price Notice Banner ===== */
.price-notice-banner {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border-bottom: 2px solid #ffc107;
    padding: 10px 0;
}

.price-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #856404;
}

.price-notice-content > i {
    font-size: 18px;
    color: #d39e00;
    flex-shrink: 0;
}

.price-notice-close {
    background: none;
    border: none;
    color: #856404;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.price-notice-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .price-notice-content {
        font-size: 12px;
    }
}
