.loading-container {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-color: rgba(255, 255, 255, 0.71);
}

.loading-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
}

.loading-logo {
    width: 100px;
    height: 100px;
}

.loading-text {
    font-size: 24px;
    color: #000;
    display: inline-block;
    position: relative;
}

.loading-dots {
    top: 0;
    color: #00a0f0;
    font-size: larger;
    animation: loading 1s infinite;}

@keyframes loading {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.loading-show {
    display: block;
}

@keyframes circle-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.circle-loading {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 0.4rem solid #999;
    border-top-color: #1b96b5;
    animation: circle-rotate 1s ease-in-out infinite;
}

.product-single .product-form select{
    color: #0b0b0b;
    font-family: yekan, serif;
    border-radius : 15px;
    background-color: #f5f5f5;
    font-size: 1.4rem;
}
.variant_value{
    cursor : pointer;
}

.incompatible_variant_value{
    opacity: 0.3;
    cursor : not-allowed;
}

.cart-quantity {
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 8px;
    padding: 9px 16px;
    padding-right: 13px;
    position: relative;
}

.cart-q-label {
    margin-right: 0px;
}

.cart-q-input-box {
    display: flex;
    align-items: center;
}

.cart-q-input {
    width: 27px;
    text-align: center;
    outline: none;
    color: #393939;
    font-size: 1.5rem;
    font-family: yekan;
}

.cart-q-message {
    font-size: 10px;
    color: #bf2424;
    margin-left: 5px;
    text-align: center;
    position: absolute;
    right: 76px;
    top: 29px;
}
.cart-q-input {
    width: 27px;
    text-align: center;
    /* Clear default buttons */
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
    border: 0;
}
.cart-q-input::-webkit-inner-spin-button,
.cart-q-input::-webkit-outer-spin-button {
    display: none;
}
.product-single .product-form label{
    max-width: 4.5rem;
}
.cart-q-minus,.cart-q-plus{
    border-radius : 50%;
    width: 20px;
    height: 20px;
    border: solid 1px;
    border-color: #c2c1c1;
    font-weight: bolder;
    color: #2b2a2a;
}

.btn-loading {
    cursor: not-allowed;
    opacity: 0.6;
    position: relative;
}

.btn-loading:after {
    content: "";
    border: 2px solid #f8f8f8;
    border-radius: 50%;
    border-top-color: #010306;
    height: 16px;
    width: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*custom nav*/
.custom-breadcrumb {
    padding: 5px 0;
}

.custom-breadcrumb-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-breadcrumb-item {
    margin: 0 10px;
    position: relative;
}

.custom-breadcrumb-item:last-child {
    margin-right: 0;
}

.custom-breadcrumb-item a {
    color: #909192;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-breadcrumb-item-text {
    margin-top: 5px;
}

.custom-breadcrumb-item-active a {
    color: #009dff ;
    /*background-color: #333;*/
    /*border-radius: 20px;*/
    /*padding: 10px 20px;*/
    /*box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);*/
}

.custom-breadcrumb-item-active a:hover {
    /*background-color: #444;*/
}

.custom-breadcrumb-item a:hover {
    /*color: #009dff ;*/
    /*background-color: #333;*/
    /*border-radius: 20px;*/
    /*padding: 10px 20px;*/
    /*box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);*/
}

/* Fix for hover issue */
.custom-breadcrumb-item a:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: -1;
}

.custom-breadcrumb-item a:hover:before {
    /*background-color: rgba(0, 0, 0, 0.1);*/
    /*border-radius: 20px;*/
}

@media only screen and (max-width: 767px) {
    .custom-breadcrumb-item {
        margin: 0 5px;
    }
    .custom-breadcrumb-item a {
        font-size: 12px;
    }
}

/* Icon styles */
.custom-breadcrumb-item-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.custom-breadcrumb-item-icon i {
    font-size: 24px;
}

.cart-empty-message {
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    background-color: #ffffff;
}
.cart-empty-message h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.cart-empty-message p {
    font-size: 16px;
    margin-bottom: 0;
}
@media screen and (max-width: 600px) {
    .cart-empty-message {
        max-width: 95%;
    }
}
.cart-dropdown .cart-count-badge {
    position: absolute;
    font-family: yekan;
    top: -5px;
    right: -5px;
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    background-color: var(--vc-primary, #009dff);
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
}

@media screen and (max-width: 767px) {
    .cart-dropdown .cart-count-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (max-width: 767px) {
    .shop-table:not(.account-orders-table) tr {
        position: relative;
        padding: 0rem 0rem 1rem;
    }
}

.addresses-container{
    display: grid;
    grid-template-columns: 1fr 1fr; /* two columns */
    grid-gap: 1rem; /* spacing between columns */
}

.address-list {
    background-color: #ffffff;
    /*border: 1px solid #ccc;*/
    padding-bottom: 2px;
    margin: 10px 0;
    direction: rtl;
    text-align: right;
}

.address-list h2 {
    font-size: 1.3rem;
    margin-top: 0;
    text-align: right;
}

.address-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.address-list li {
    margin-bottom: 10px;
    min-width: 70%;
}

.address-list label {
    display: block;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    height: 60px;
    overflow-y:  auto;
}

.address-list label:hover {
    background-color: #e6e6e6;
}

@media (max-width: 720px) {
    .addresses-container {
        display: flex;
        flex-direction: column;
    }

    .address-list h2 {
        font-size: 1.6rem;
    }
}

.checkmark {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: none;
}

.address-list input[type="radio"] {
    display: none;
}

.address-list input[type="radio"]:checked + label {
    background-color: var(--vc-primary, #007bff);
    color: #fff;
}

.address-list input[type="radio"]:checked + label .checkmark {
    display: block;
}

@media screen and (max-width: 768px) {
    .address-list label {
        padding: 5px 35px 5px 5px;
    }
    .checkmark {
        right: 5px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    max-width: 600px;
    direction: rtl;
    text-align: right;
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
}

.shipping-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.shipping-option {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option label {
    display: block;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.shipping-option .shipping-info {
    display: flex;
    align-items: center;
}

.shipping-logo {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    /*border-radius: 50%;*/
    /*background-color: #eee;*/
    overflow: hidden;
}

.shipping-logo img {
    max-width: 100%;
    max-height: 100%;
}

.shipping-details{
    align-self: center;
}

.shipping-details h3 {
    margin: 0;
    font-size: 1.25rem;
}

.shipping-details p {
    margin: 0;
    font-size: 1.1rem;
}

.shipping-price{
    font-size: 1.3rem;
}

.shipping-option input[type="radio"]:checked + label {
    background-color: #e2edf8;
    color: #3a3737;
    border-color: #007bff;
}

@media(min-width: 768px) {
    .shipping-option {
        width: calc(50% - 1rem);
        max-width: none;
    }

    .shipping-price{
        font-size: 1.8rem;
    }

    .shipping-details h3 {
        margin: 0;
        font-size: 1.7rem;
    }

    .shipping-logo {
        width: 75px;
        height: 75px;
    }

    .shipping-details p {
        font-size: 1.3rem;
    }
}

.btn-selected-shipping{
    width: 100%;
}

@media(min-width: 768px) {
    .btn-selected-shipping{
        width: 35%;
    }
}


.payment-list {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.payment-option {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option label {
    display: block;
    cursor: pointer;
    padding: 0.6rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.payment-option .payment-info {
    display: flex;
    align-items: center;
}

.payment-logo {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    /*border-radius: 50%;*/
    /*background-color: #eee;*/
    overflow: hidden;
}

.payment-logo img {
    max-width: 100%;
    max-height: 100%;
}

.payment-details{
    align-self: center;
}

.payment-details h3 {
    margin: 0;
    font-size: 1.25rem;
}

.payment-details p {
    margin: 0;
    font-size: 1.1rem;
}

.payment-price{
    font-size: 1.3rem;
}

.payment-option input[type="radio"]:checked ~ label {
    background-color: #e2edf8;
    color: #3a3737;
    border-color: #007bff;
}

@media(min-width: 768px) {
    .payment-price{
        font-size: 1.8rem;
    }

    .payment-details h3 {
        margin: 0;
        font-size: 1.7rem;
    }

    .payment-logo {
        width: 75px;
        height: 75px;
    }

    .payment-details p {
        font-size: 1.3rem;
    }
}


.payment-container {
    display: flex;
    flex-flow: row wrap;
    margin: 0 auto;
    justify-content: space-between;
    width: 90%;
}

.payment-box {
    flex: 1 1 auto;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 10px;
}

.invoice-box {
    flex: 1 1 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    /*width: 45%;*/
    margin: 10px;
}

.invoice-box h2 {
    margin-top: 0;
}


.invoice-box table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-box th,
.invoice-box td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.invoice-box th {
    background: #f7f7f7;
}

.invoice-box tfoot td {
    font-weight: bold;
    text-align: right;
}

.invoice-box tfoot td:first-child {
    text-align: left;
}

.invoice-box tfoot td:last-child {
    border-left: none;
}

.invoice-box tbody tr:last-child td {
    border-bottom: none;
}

@media(max-width: 768px) {
    .payment-container {
        width: 100%;
    }
}

.pay-result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: yekan, serif;
    margin: auto auto;
    min-height: 100vh;
    background-color: #009dff;
}
.pay-result-box {
    width: 90%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}
.pay-result-logo {
    display: inline-block;
    margin-bottom: 10px;
}
.pay-result-title {
    margin: 20px 0;
    line-height: 27px;
}
.pay-result-subtitle {
    margin: 0 0 20px;
    line-height: 25px;
}
.pay-result-icon {
    font-size: 60px;
    margin-bottom: 20px;
}
.pay-result-icon.success {
    color: green;
    font-weight: bolder;
}
.pay-result-icon.error {
    color: red;
}
.pay-result-gateway{
    background-color: #fff;
    border: dashed 2px #ccc;
    margin-bottom: 10px;
    padding-top: 10px;
    width: 70%;
}
.pay-result-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
}
.pay-result-btn:hover {
    background-color: #555;
}

.text-success {
    color: #38c638;
}

.text-danger {
    color: #fc1f1f;
}

@media(max-width: 768px) {
    .pay-result-box {
        width: 94%;
    }

    .pay-result-gateway {
        width: 95%;
    }

    .pay-result-container {
        padding: 10px;
    }
}

/* Main Slider */
.main-top-slider {
    height: 450px;
    margin-bottom: 30px;
    padding: 0;
}

.main-top-slider img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    padding: 6px;
    object-fit: cover;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    background-color: #f2f2f2;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #333333;
}

.top-home-pic{
    padding: 0;
}

.top-home-pic img{
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

/* Desktop: small banners fill same height as slider & stay equal */
@media (min-width: 768px) {
    .top-home-pic {
        height: 450px;
    }
    .top-home-pic > div {
        height: 100%;
        display: flex !important;
        flex-direction: column;
    }
    .top-home-pic > div > div {
        flex: 1;
        display: flex;
        min-height: 0;
    }
    .top-home-pic img {
        height: 100%;
        padding: 8px;
    }
}

/* Product gallery slider - consistent image sizing */
.product-single-swiper .product-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-thumbs-wrap .product-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* Product carousel images - consistent sizing */
.top-products .product-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Category ellipse images - consistent square crop */
.category-ellipse .category-media img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
}

@media only screen and (max-width: 767px) {
    .main-top-slider {
        height: 200px;
    }

    .main-top-slider img {
        object-fit: cover;
        border-radius: 8px;
        padding: 4px;
    }

    .top-home-pic img {
        height: 100px;
        padding: 4px;
    }

    .product-single-swiper .product-image img {
        height: 300px;
    }

    .product-thumbs-wrap .product-thumb img {
        height: 70px;
    }

    .top-products .product-media img {
        height: 180px;
    }

    .category-ellipse .category-media img {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width: 767px) {
    .select-box {
        width: 94px !important;
    }
}

/*a little shake for a tag to say click on me*/
.swing {
    animation: swing 2s;
    animation-iteration-count: infinite;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(3deg);
    }
    40% {
        transform: rotate(-3deg);
    }
    60% {
        transform: rotate(3deg);
    }
    80% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media only screen and (max-width: 768px) {
    .sizing-table{
        overflow-y : auto;
        max-height: 300px;
    }
}

.tr-td-style tr:first-child {
    background-color: #333;
    color: #fff;
}

.tr-td-style td:last-child {
    background-color: #333;
    color: #fff;
    font-weight: bolder;
}

.menu.vertical-menu.category-menu{
    position: relative;
}

.category-menu .has-submenu{
    position: unset;
}

.category-menu .megamenu{
    position: relative;
    min-height: 100%;
}

.error-container .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0 auto;
    max-width: 600px;
}

/* style the 404 message */
.error-container h1 {
    font-size: 7em;
    font-weight: bold;
    color: #009dff;
    margin-bottom: 0.2em;
}

.error-container p {
    font-size: 1.5em;
    margin-top: 0.2em;
}

.error-container a {
    color: #009dff;
    text-decoration: none;
    font-weight: bold;
}

.error-container a:hover {
    text-decoration: underline;
}

/* media query for smaller screens */
@media only screen and (max-width: 600px) {
    .error-container h1 {
        font-size: 5em;
    }

    .error-container p {
        font-size: 1em;
    }
}

.margin-right-in-md{
    margin-left: unset;
}

@media only screen and (min-width: 600px) {
    .margin-right-in-md{
        margin-left: 20px;
    }
}

.search-sort-container{
    flex-wrap: nowrap;
    overflow-y: auto;
    width: 100%
}

@media only screen and (min-width: 600px) {
    .search-sort-container{
        width: unset;
    }
}

.product-video{
    bottom: 6.5rem !important;
}

/* ── Product listing grid: fixed image height + equal-height cards ── */
#product-wrapper .product-wrap,
.product-wrapper .product-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#product-wrapper .product,
.product-wrapper .product {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#product-wrapper .product-media,
.product-wrapper .product-media {
    position: relative;
    flex-shrink: 0;
    height: 240px;
    overflow: hidden;
}

#product-wrapper .product-media > a,
.product-wrapper .product-media > a {
    display: block;
    height: 100%;
}

#product-wrapper .product-media img,
.product-wrapper .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#product-wrapper .product-details,
.product-wrapper .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 575px) {
    #product-wrapper .product-media,
    .product-wrapper .product-media {
        height: 160px;
    }
}

/* ── Checkout: shipping & payment logos ── */
.shipping-option,
.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 12px 16px;
    transition: border-color .2s, box-shadow .2s;
    cursor: pointer;
}
.shipping-option:hover,
.payment-option:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74,144,226,.15);
}
.shipping-option input[type="radio"],
.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.shipping-option input[type="radio"]:checked + label,
.payment-option input[type="radio"]:checked + label {
    /* highlight handled by border below */
}
.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: #4a90e2;
    background: #f0f6ff;
    box-shadow: 0 2px 10px rgba(74,144,226,.2);
}
.shipping-option label,
.payment-option label {
    cursor: pointer;
    margin: 0;
    width: 100%;
}

/* Shipping logo: square icon */
.shipping-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-left: 14px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.shipping-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

/* Payment logo: wider banner */
.payment-logo {
    width: 110px;
    height: 44px;
    flex-shrink: 0;
    margin-left: 14px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.payment-logo img {
    width: 110px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.payment-logo-placeholder {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6B39AF;
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
}

.payment-details {
    margin-right: 0;
    margin-left: 14px;
}
.payment-details h3,
.shipping-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.payment-details p,
.shipping-details p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}
.shipping-price span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* ── Iranian platform social icons ───────────────────────────────────────── */
/* Bale: green brand background, white logo (SVG has colored paths → invert to white) */
.social-icon.social-bale {
    background: #00B894 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
}
.social-icon.social-bale img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Rubika: white background, original multicolor logo */
.social-icon.social-rubika {
    background: #fff !important;
    border: 1px solid #ddd !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
}
.social-icon.social-rubika img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Eitaa: white background, original orange icon */
.social-icon.social-eitaa {
    background: #fff !important;
    border: 1px solid #ddd !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
}
.social-icon.social-eitaa img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ── Admin brand-colour overrides ─────────────────────────────────────────── */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--vc-primary) !important;
    border-color: var(--vc-primary) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--vc-primary) !important;
    border-color: var(--vc-primary) !important;
    filter: brightness(0.9);
}
.text-primary { color: var(--vc-primary) !important; }
.border-primary { border-color: var(--vc-primary) !important; }
.bg-primary { background-color: var(--vc-primary) !important; }
a:not(.btn):hover { color: var(--vc-primary); }

/* ── Logo: fixed container size regardless of uploaded image aspect ratio ─── */
.logo img,
a.logo img {
    width: 144px;
    height: 45px;
    max-width: 144px;
    max-height: 45px;
    object-fit: contain;
    display: block;
}

/* ── Banner slider: enforce fixed height so uploaded images never change layout */
.main-top-slider .swiper-wrapper {
    height: 100%;
}
.main-top-slider .swiper-slide {
    height: 100%;
    overflow: hidden;
}
.main-top-slider .swiper-slide > a {
    display: block;
    height: 100%;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Notification Bell
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bell trigger (matches account/cart icon style exactly) ─────────────── */
.notif-bell-wrap {
    display: inline-flex;
    align-items: center;
}

/* Badge sits inside the <i> element, absolutely positioned */
.notif-badge {
    position: absolute;
    top: -6px;
    left: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border-radius: 9px;
    background: var(--vc-danger, #e02b27);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    pointer-events: none;
    font-family: sans-serif;
    font-style: normal;
}

/* ── Dropdown panel (position:fixed → never clipped by header overflow) ──── */
.notif-dropdown {
    display: none;
    position: fixed;
    width: 360px;
    max-height: 480px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,.16);
    z-index: 99999;
    flex-direction: column;
    border: 1px solid #ebebeb;
    overflow: hidden;
}
.notif-dropdown--open { display: flex; }

/* Mobile: bottom sheet */
@media (max-width: 575px) {
    .notif-dropdown {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 72vh;
        border-radius: 18px 18px 0 0;
    }
}

/* ── Dropdown header ─────────────────────────────────────────────────────── */
.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f2f2f2;
    flex-shrink: 0;
}
.notif-dropdown-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}
.notif-mark-all {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--vc-primary, #41c0e0);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}
.notif-mark-all:hover { background: rgba(0,0,0,.05); }

/* ── Scrollable list ─────────────────────────────────────────────────────── */
.notif-list {
    overflow-y: auto;
    flex: 1;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* ── Loading spinner ─────────────────────────────────────────────────────── */
.notif-loading-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
}
.notif-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #eee;
    border-top-color: var(--vc-primary, #41c0e0);
    border-radius: 50%;
    animation: notif-spin 0.7s linear infinite;
}
@keyframes notif-spin { to { transform: rotate(360deg); } }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.notif-empty {
    text-align: center;
    padding: 44px 16px 36px;
    color: #bbb;
}
.notif-empty-icon {
    font-size: 3.6rem;
    display: block;
    margin-bottom: 12px;
    color: #ddd;
}
.notif-empty p {
    font-size: 1.3rem;
    margin: 0;
}

/* ── Notification item ───────────────────────────────────────────────────── */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
    background: #fff;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: #fafafa; }

.notif-item--unread { background: #f0fbff; }
.notif-item--unread::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--vc-primary, #41c0e0);
}
.notif-item--unread:hover { background: #e6f7fd; }

.notif-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vc-primary, #41c0e0);
    font-size: 1.4rem;
    margin-top: 2px;
}
.notif-item--unread .notif-item-icon { background: rgba(65,192,224,.12); }

.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 3px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-item--unread .notif-item-title { color: #111; }

.notif-item-text {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notif-item-time {
    font-size: 1.1rem;
    color: #bbb;
    display: block;
}

/* ── Mark-read button ────────────────────────────────────────────────────── */
.notif-item-read-btn {
    flex-shrink: 0;
    background: none;
    border: 1.5px solid #d0d0d0;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    color: #ccc;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    padding: 0;
    margin-top: 2px;
}
.notif-item-read-btn:hover {
    border-color: var(--vc-success, #16a34a);
    color: var(--vc-success, #16a34a);
}
.notif-item-read-done {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 11px;
    color: var(--vc-success, #16a34a);
    opacity: 0.5;
    margin-top: 2px;
}

/* ── Load-more footer ───────────────────────────────────────────────────── */
.notif-load-more-wrap {
    padding: 10px 16px;
    border-top: 1px solid #f2f2f2;
    flex-shrink: 0;
    text-align: center;
}
.notif-load-more {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 20px;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}
.notif-load-more:hover { background: #f5f5f5; }

/* ── Backdrop ────────────────────────────────────────────────────────────── */
.notif-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 99998;
}
.notif-backdrop--visible { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   Static Pages Content (about, contact, terms, faq, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */
.static-page-content {
    font-size: 1.5rem;
    line-height: 2.2;
    color: #333;
}
.static-page-content h1,
.static-page-content h2,
.static-page-content h3 {
    margin-top: 2.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: #222;
}
.static-page-content h1 { font-size: 2.2rem; }
.static-page-content h2 { font-size: 1.9rem; }
.static-page-content h3 { font-size: 1.7rem; }
.static-page-content p {
    margin-bottom: 1.2rem;
}
.static-page-content ul,
.static-page-content ol {
    padding-right: 2rem;
    margin-bottom: 1.2rem;
}
.static-page-content li {
    margin-bottom: 0.4rem;
}
.static-page-content blockquote {
    border-right: 4px solid var(--vc-primary, #41c0e0);
    padding: 1rem 1.6rem;
    margin: 1.6rem 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.static-page-content a {
    color: var(--vc-primary, #41c0e0);
    text-decoration: underline;
}
.static-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.2rem 0;
}
@media (min-width: 576px) { .notif-backdrop--visible { display: none; } }
