:root {
    --background: 280 20% 97%;
    --foreground: 280 10% 10%;

    --card: 0 0% 100%;
    --card-foreground: 280 10% 10%;

    --popover: 0 0% 100%;
    --popover-foreground: 280 10% 10%;

    --primary: 270 70% 60%;
    --primary-foreground: 0 0% 100%;

    --secondary: 280 20% 96%;
    --secondary-foreground: 280 10% 10%;

    --muted: 280 20% 96%;
    --muted-foreground: 280 10% 40%;

    --accent: 280 20% 96%;
    --accent-foreground: 280 10% 10%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 280 20% 90%;
    --input: 280 20% 90%;
    --ring: 270 70% 60%;

    --radius: 0.5rem;

    --primary-color: #9952e0;
    --primary-light: rgba(153, 82, 224, 0.1);
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #f0f0f0;
    --border-color: #e7e0eb;
    --white: #ffffff;
}



/* Base styles */
* {
    border-color: hsl(var(--border));
}

body {
    background-color: var(--white);
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    font-feature-settings: "rlig" 1, "calt" 1;
    scroll-behavior: smooth;
}

.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2 !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

button {
    outline: none !important;
}

/* Badge style for sales/discounts */
.badge-sale {
    background-color: rgb(239, 68, 68);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.625rem;
    position: absolute;
    top: 16px;
    left: 16px;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
}

/* Category item hover animation */
.category-item {
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

/* Custom animations */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-gentle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

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

/* Custom button styles */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-transform: capitalize;
    line-height: 1;
    gap: 10px;
    padding: 12px 20px;
    font-weight: 500;
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    outline: none;
    border-radius: 0.375rem;
    -webkit-border-radius: 0.375rem;
    -moz-border-radius: 0.375rem;
    -ms-border-radius: 0.375rem;
    -o-border-radius: 0.375rem;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: hsl(var(--primary) / 0.8);
    border-color: hsl(var(--primary) / 0.8);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: hsl(var(--primary) / 0.8);
    border-color: hsl(var(--primary) / 0.8);
    color: var(--white);
}

/* Custom input styles */
.input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid hsl(var(--input));
    border-radius: 0.375rem;
    background-color: transparent;
    transition: border-color 0.2s ease;
    -webkit-border-radius: 0.375rem;
    -moz-border-radius: 0.375rem;
    -ms-border-radius: 0.375rem;
    -o-border-radius: 0.375rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--input));
    outline: none;
    background-color: transparent;
}

.form-input:focus {
    border-color: hsl(var(--primary));
}

select {
    padding: 8px 35px 8px 15px !important;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000000' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: calc(100% - 15px) 50%;
}

/* Custom card styles */
.card {
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    overflow: hidden;
}

/* swiper css */
.swiper-slide {
    height: auto;
}

.swiper {
    padding: 0 10px;
    margin: 0 -10px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--white);
    transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
}

.swiper-button-next {
    right: 0;
    left: auto;
}

.swiper-button-prev {
    left: 0;
    right: auto;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(109, 40, 217, 0.25);
}

/* header css */
.site-header .logo-col,
.site-footer .footer-logo {
    max-width: 120px;
    width: 100%;
}

.site-header .menu-dropdown {
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    transform-origin: top;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
}

.site-header .main-nav>.has-item:hover>.menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: scaleY(100%);
    -webkit-transform: scaleY(100%);
    -moz-transform: scaleY(100%);
    -ms-transform: scaleY(100%);
    -o-transform: scaleY(100%);
}

.site-header .main-nav>.has-item>a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid #374151;
    border-left: 2px solid #374151;
    transform: translateY(-50%) rotate(225deg);
    -webkit-transform: translateY(-50%) rotate(225deg);
    -moz-transform: translateY(-50%) rotate(225deg);
    -ms-transform: translateY(-50%) rotate(225deg);
    -o-transform: translateY(-50%) rotate(225deg);
    transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    z-index: 1;
}

.site-header .main-nav>.has-item:hover>a:after {
    border-color: var(--primary-color);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

/* Cart Slide Animation */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 24rem;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* mobile-menu css */
.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-toggle.active+.mobile-dropdown-content {
    display: block;
}

/* Animation for mobile menu */
.mobile-menu-enter {
    opacity: 0;
    transform: translateX(-100%);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}

.mobile-menu-exit {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 300ms, transform 300ms;
}

.mobile-dropdown-content {
    display: none;
}

.mobile-dropdown-content.show {
    display: block;
}

#mobile-menu {
    width: 100%;
    max-width: 320px;
    right: 0;
}

#mobile-menu.show {
    transform: translateX(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* search popup css */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 13px 100px 13px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-light);
    transition: all 0.2s;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.search-bar i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
}

.search-bar button {
    position: absolute;
    right: 0.5rem;
    padding: 6px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

/* home-banner-sec css */
.home-banner-sec .home-arrow {
    position: unset;
    margin: 0;
}

/* testimonial-sec css */
.quote-icon {
    opacity: 0.1;
    font-size: 5rem;
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 0;
}

/* color variant swatch */
.color-variant-swatch .radio-buttons input:checked+label {
    -webkit-box-shadow: 0 0 0 1px #333, inset 0 0 0 2px #fff;
    box-shadow: 0 0 0 1px #333, inset 0 0 0 2px #fff;
    border: none;
}

/* time counter */
.deal-timeline .counter:not(:last-of-type) .count:before,
.deal-timeline .counter:not(:last-of-type) .count:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 3px;
    background-color: var(--primary-color);
    right: 2px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.deal-timeline .counter:not(:last-of-type) .count:before {
    top: 3px;
}

.deal-timeline .counter:not(:last-of-type) .count:after {
    bottom: 3px;
}

/* pro-btn-wrapper css */
.product-card:not(:hover) .pro-btn-wrapper {
    transform: translateX(200%);
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
}

.pro-btn-wrapper>a svg path {
    fill: var(--white);
}

/* product-page-css */
.tab-button {
    transition: border-color 0.3s ease;
}

.tab-button.active {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.thumbnail-slider .swiper-slide-thumb-active .thumb-image {
    border-color: var(--primary-color)
}

/* product-list page css */
/* checkbox css */
.checkbox input {
    height: 15px;
    width: 15px;
    cursor: pointer;
}

.checkbox label {
    cursor: pointer;
}
.view-toggle.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* responsive css */
@media (min-width: 640px) {
    .list-view .product-card {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 15px;
    }

    .list-view .product-image {
        max-width: 250px;
        width: 100%;
        object-fit: cover;
    }
    .list-view .product-card .product-image {
        border-radius: 8px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
        -o-border-radius: 8px;
    }
    .list-view .product-card .pro-btn-wrapper {
        transform: translate(0);
        -webkit-transform: translate(0);
        -moz-transform: translate(0);
        -ms-transform: translate(0);
        -o-transform: translate(0);
    }
    .list-view .product-card .product-content {
        flex: 1;
        gap: 20px;
    }
    .list-view .product-card .product-content>div {
        padding: 0;
        border: 0;
    }
    .list-view .product-card .product-content .btn-primary {
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

/* order-track-page-start */
.order-track-page .account-info {
  box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08),
    0 0 0 1px rgba(182, 186, 203, 0.1);
}
.order-track-page .profile-img {
  border: 5px solid #f5f5f5;
}
.order-track-page #progressbar .active {
  color: var(--primary-color);
}

.order-track-page #progressbar .active .progressbar-icon {
  background-color: var(--primary-color);
}
.order-track-page #progressbar .active .progressbar-icon i {
  color: var(--white);
}
.order-track-page #progressbar li{
  opacity: 0.8;
}
.order-track-page #progressbar li.active{
  opacity: 1;
}
.order-track-page #progressbar li:after {
  content: "";
  width: 100%;
  height: 2px;
  background: #d3d3d3;
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 0;
}
.order-track-page #progressbar li.active:before,
.order-track-page #progressbar li.active:after {
  background: var(--primary-color);
}
.order-track-page .progress-bar {
  background-color: var(--primary-color);
}
.order-track-page .progressbar-wrapper {
  box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08),
    0 0 0 1px rgba(182, 186, 203, 0.1);
}

/* Select2 Custom Styles */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.75rem !important;
    background-color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
    padding-left: 0 !important;
    color: #374151 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
}

.select2-dropdown {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1) !important;
}

/* Match form-input focus state */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1) !important;
}

.bg-accent {
    background-color: var(--primary-color) !important;
}

/* 6-6 */
.wishlist-btn.active{
    color: #ff0000;
}
.faq-col:last-of-type{
    margin-bottom: 0 !important;
}

.pdp-timer .time-svg {
    width: 60px;
    background: var(--primary-color);
    border-radius: 0.375rem;
    border: 1px solid var(--primary-color);
}
.pdp-timer .time-counter {
    gap: 15px;
}
.pdp-timer .time-counter #timer  div{
    background-color: #d9d9d980;
    width: 60px;
    padding: 8px;
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
    color: var(--black)
}
#timer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
}
#timer span{
    color: var(--primary-color);
}
.time-counter svg {
    height: 30px;
    width: 30px;
}
.time-counter #timer span {
    margin-top: 5px;
    line-height: 1;
}
.product_orignal_price{
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
    -webkit-text-decoration-line: line-through;
    text-decoration-line: line-through;
  }
@media screen and (max-width:639px){
    .pdp-timer .time-svg {
        width: 43px;
    }
    .pdp-timer .time-counter #timer div {
        width: 43px;
        padding: 5px;
    }
    .time-counter #timer span{
        font-size: 13px;
    }
    .pdp-timer .time-counter,
    #timer{
        gap:10px;
    }
}

/********* RTL CSS **********/
/* home page rtl css  */

[dir="rtl"] .fas.fa-arrow-right,
[dir="rtl"] .site-header #form_logout svg {
  transform: scaleX(-1);
}
[dir="rtl"] .home-banner-sec .home-arrow{
    transform: scaleX(1);
}

[dir="rtl"] .swiper-button-next {
  right: 10px;
  left: auto;
  transform: scaleX(-1);
}

[dir="rtl"] .swiper-button-prev {
  left: 10px;
  right: auto;
  transform: scaleX(-1);
}

[dir="rtl"] #mobile-menu,
[dir="rtl"] .cart-panel {
  left: 0;
  right: auto;
  transform: translateX(-100%)
}

[dir="rtl"] #mobile-menu.show,
[dir="rtl"] .cart-panel.open {
  transform: translate(0);
}

[dir="rtl"] select {
  padding: 8px 15px 8px 35px !important;
  background-position: 15px 50%;
}
[dir="rtl"] .quote-icon{
    right: auto;
    left: 15px;
}

/* inner-page-css */
[dir="rtl"] #mobile-filter {
  right: 0;
  left: auto;
}

@media screen and (max-width: 1023px) {
  [dir="rtl"] #mobile-filter.-translate-x-full {
    transform: translateX(100%);
  }

  [dir="rtl"] #mobile-filter {
    transform: translateX(0);
  }
}


[dir="rtl"] .pagination-wrapper svg,
[dir="rtl"] .details-btn svg,
[dir="rtl"] .continue-btn svg,
[dir="rtl"] .continue-btn i {
  transform: scaleX(-1);
}

[dir="rtl"] .collection-card img {
  transform: scale(-1);
  -webkit-transform: scale(-1);
  -moz-transform: scale(-1);
  -ms-transform: scale(-1);
  -o-transform: scale(-1);
}

[dir="rtl"] .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  padding-right: 0 !important;
  padding-left: 8px !important;
  text-align: right;
}