/* Add custom CSS styles below */ 

/*Header*/

div#mainnav {
    background: #1d1f1f;
    color: #b9b9b9;
}

@media only screen and (max-width: 700px){
.flex.items-center.justify-end {
    background: white;
    height: 50px;
    margin-top: 1%;
    border-radius: 1rem;
    padding-right: 7px;
    padding-left: 7px;
}

.inner.bg-inherit {
    border-radius: 1rem !important;
    margin: 1rem;
    margin-right: 5%;
    width: 90% !important;
}


div#mainnav {
    margin-top: -5%;
}
}
@media only screen and (min-width: 700px){
.flex.items-center.justify-end {
    background: white;
    height: 60px;
    border-radius: 1rem;
    padding-right: 10px;
    padding-left: 10px;
    margin-top: 37px;
}
div#mainnav {
    margin-top: -2%;
}
.inner.bg-inherit {
    border-radius: 1rem !important;
    margin: 1rem;
    margin-right: 15%;
    width: 70% !important;
}

}
.header-btn__icon {
    color: #b9b9b9;
}b.s-cart-summary-total {
    color: #b9b9b9;
}
navbar-brand img {
    max-height: 5rem;
    width: auto;
    max-width: 150px!important;
}

body#app {
    background: url(https://www.imageshine.in/uploads/gallery/White-simple-textured-design-background.jpg);
}

/*End Header*/

/*Body*/

.rounded-md {
    border-radius: 1rem;
}

salla-slider.photos-slider .swiper {
    padding-bottom: 0;
}


#photos-1-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden > div.swiper-wrapper.s-slider-swiper-wrapper > div > a > img {
    border-radius: 1rem 1rem 0rem 0rem ;
}
#photos-2-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden > div.swiper-wrapper.s-slider-swiper-wrapper > div > a > img {
    border-radius: 0rem 0rem 1rem 1rem;
}
#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(5) {
    margin-top: unset;
}

/*End Body*/


/*Footer*/
.store-footer__inner {
    background: #1d1f1f !important;
    color: white;
}

.store-footer h3 {
    color: #8fc959;
}
footer.store-footer {
    text-align: center;
}
.store-footer__inner {
    border-radius: 3rem;
    margin: 3%;
    padding: 2rem;
}

footer.store-footer {
    background: transparent !important;
}

.store-footer__inner {
    background: #1d1f1f !important;
    color: white;
    box-shadow: 0px 0px 10px 1px #8fc959;
}
.store-footer a {
    place-content: center;
}

/*End Footer*/

/**
 * Theme Transformation CSS
 * Complete visual transformation to match زيت زيتون جوفي theme
 * Multi-theme support with golden color scheme
 * Author: Mohamed Shahien
 */

/* ============================================
   CORE THEME VARIABLES & OVERRIDES
   ============================================ */

/* Override the original theme variables */
:root {
    --border-custom: 2px;
    --rause-card: 6px;
    --font-main: 'PingARLT';
}

/* Light Theme (Default) */
html[data-theme="light"],
:root {
    --color-primary: #cc9902 !important;
    --color-primary-dark: #a67300 !important;
    --color-primary-light: #f2bf28 !important;
    --color-primary-ops: #cc99021f !important;
    --color-primary-reverse: #4d1a00 !important;
    --color-bg: #EFF3ED;
    --cards-color: #EFF3ED;
    --color-price: #F55157;
    --cards-color-text: #000000;
    --light-gray-color: #D6D6D6;
    --medium-gray-color: #666666;
    --dark-gray-color: #1D1F1F;
    --color-footer-bg: #CCF5FF;
    --color-footer-text: #19193E;
    --color-footer-text-ops: #19193E78;
}

/* Dark Theme */
html[data-theme="dark"] {
    --color-primary: #cc9902 !important;
    --color-primary-dark: color-mix(in hsl, var(--color-primary) 85%, black) !important;
    --color-primary-light: color-mix(in hsl, var(--color-primary) 85%, white) !important;
    --color-primary-ops: rgb(from var(--color-primary) r g b / 12%) !important;
    --color-primary-reverse: color-contrast(var(--color-primary) vs white, black) !important;
    --color-bg: #F2F6EF;
    --cards-color: #FFFFFF;
    --color-price: #F55157;
    --cards-color-text: #FFFFFF;
    --light-gray-color: #D6D6D6;
    --medium-gray-color: #666666;
    --dark-gray-color: #1D1F1F;
    --color-footer-bg: #F2F6EF;
    --color-footer-text: #3C5E39;
    --color-footer-text-ops: #3C5E3978;
}

/* Carbon Theme */
html[data-theme="carbon"] {
    --color-primary: #738BCE !important;
    --color-primary-dark: color-mix(in hsl, var(--color-primary) 85%, black) !important;
    --color-primary-light: color-mix(in hsl, var(--color-primary) 85%, white) !important;
    --color-primary-ops: rgb(from var(--color-primary) r g b / 12%) !important;
    --color-primary-reverse: color-contrast(var(--color-primary) vs white, black) !important;
    --color-bg: #111322;
    --cards-color: #111322;
    --color-price: #F55157;
    --cards-color-text: #FFFFFF;
    --light-gray-color: #2E2E2E;
    --medium-gray-color: #9999993c;
    --dark-gray-color: #E3E3E3;
    --color-footer-bg: #0F0F0F;
    --color-footer-text: #EDEDED;
    --color-footer-text-ops: #EDEDED78;
}
.navbar-brand {
    width: auto !important;
    height: 56px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--accent-brown), var(--accent-yellow)) !important;
    display: grid !important;
    place-items: center !important;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow) !important;
    padding: 0px 10px 0px 10px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    position: relative !important;
    font-family: 'Courier New', Courier, monospace;
    }
    
          .main-menu {
    border-radius:12px;
    background:transparent;
    color:black;
    border:0;
    font-weight:600;
    font-family: "Cairo", sans-serif;
    cursor:pointer;
    overflow:visible;
    transition:transform .25s ease, box-shadow .25s;
  }
  
  .flex.items-center.justify-end{
  margin-bottom:15px;
  background-color: #234b2a;
  }
  
  .bg-inherit{
  background: #234b2a; /* translucent white */
  margin-top:2% !important;  
  }
  
  header{
   background-color: #234b2a;
  }
  
  .topnav-is-dark .top-navbar {
   background-color: #234b2a;
  }
  
  .topnav-is-dark .top-navbar .s-search-input{
  color:black;
  }
  
  .s-search-icon-wrap {
    position:relative;
    --tw-translate-y:0;
    }
    
    .s-search-icon-wrap:where([dir=rtl],[dir=rtl] *) {
    right: 90%;
}

    


/* ============================================
   SECTION TRANSFORMATIONS
   ============================================ */

/* Hero Section Transformation */
.s-block--slider-with-bg {
    position: relative;
    margin-bottom: 2rem;
}

.s-block--slider-with-bg .slider-bg {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--rause-card, 6px);
    overflow: hidden;
}

/* Video Section Styling */
.V__micr video {
    border-radius: var(--rause-card, 6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Categories Section */
.s-block--categories {
    padding: 3rem 0;
}

.V__styled_categories {
    margin-bottom: 3rem;
}

.V__styled_categories .s-slider-container {
    padding: 1rem 0;
}

/* Category Cards with Border and Stars */
.Tira__cat_after {
    position: relative;
    border: 2px solid var(--color-primary);
    padding: 1rem;
    transition: all 0.3s ease;
}

.Tira__cat_after:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--color-primary-ops);
}

/* Products Section */
.V_products_slider {
    position: relative;
}

.V_products_slider .container {
    position: relative;
}

/* ============================================
   PRODUCT CARDS TRANSFORMATION
   ============================================ */

/* Base Product Card Styling */
.s-product-card,
.s-product-card-entry,
.s-product-card-vertical,
.s-product-card-horizontal {
    background: var(--cards-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-bottom: 1.5rem;
}

.s-product-card:hover,
.s-product-card-entry:hover,
.s-product-card-vertical:hover,
.s-product-card-horizontal:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px var(--color-primary-ops);
    transform: translateY(-8px) scale(1.02);
}

/* Product Card Image Container */
.s-product-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.s-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.s-product-card:hover .s-product-card-image img {
    transform: scale(1.15) rotate(2deg);
}

/* Product Card Image Overlay */
.s-product-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(204, 153, 2, 0.1) 50%,
        rgba(204, 153, 2, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.s-product-card:hover .s-product-card-image::before {
    opacity: 1;
}

/* Product Card Content */
.s-product-card-content {
    padding: 1.5rem;
    position: relative;
    background: var(--cards-color);
}

.s-product-card-content h3,
.s-product-card-content .product-title {
    color: var(--cards-color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.s-product-card:hover .s-product-card-content h3,
.s-product-card:hover .s-product-card-content .product-title {
    color: var(--color-primary);
}

/* Product Card Price */
.s-product-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.s-product-card-price .price,
.s-product-card-price .current-price {
    color: var(--color-primary) !important;
    font-size: 1.25rem;
    font-weight: 700;
}

.s-product-card-price .old-price,
.s-product-card-price .original-price {
    color: var(--medium-gray-color);
    text-decoration: line-through;
    font-size: 1rem;
}

.s-product-card-price .discount-badge {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Product Card Footer/Actions */
.s-product-card-content-footer,
.s-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Add to Cart Button */
.s-product-card .add-to-cart,
.s-product-card .btn-add-cart,
.s-product-card-footer button {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-primary-reverse);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.s-product-card .add-to-cart::before,
.s-product-card .btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.s-product-card .add-to-cart:hover::before,
.s-product-card .btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.s-product-card .add-to-cart:hover,
.s-product-card .btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-primary-ops);
}

/* Quick View Button */
.s-product-card .quick-view,
.s-product-card .btn-quick-view {
    background: var(--cards-color);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s-product-card .quick-view:hover,
.s-product-card .btn-quick-view:hover {
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    transform: scale(1.1);
}

/* Product Badges */
.s-product-card-badge,
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-primary-reverse);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sale Badge */
.s-product-card-badge.sale,
.product-badge.sale {
    background: linear-gradient(135deg, #ff4757, #ff3742);
}

/* New Badge */
.s-product-card-badge.new,
.product-badge.new {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
}

/* Rating Stars */
.s-product-card .rating,
.s-product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.s-product-card .rating .stars,
.s-product-card .product-rating .stars {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.s-product-card .rating .count,
.s-product-card .product-rating .count {
    color: var(--medium-gray-color);
    font-size: 0.8rem;
}

/* Horizontal Product Cards */
.s-product-card-horizontal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
}

.s-product-card-horizontal .s-product-card-image {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 12px;
}

.s-product-card-horizontal .s-product-card-content {
    flex: 1;
    padding: 0;
}

/* Product Card Loading State */
.s-product-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.s-product-card.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 25%,
        rgba(204, 153, 2, 0.1) 50%,
        transparent 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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





/* Search Modal and Container - Complete Redesign */
.s-search-modal {
    width: 100% !important;
}

.s-search-container {
    display: flex !important;
    align-items: center !important;
    background: var(--cards-color) !important;
    border: 2px solid var(--color-primary-ops) !important;
    border-radius: 25px !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    position: relative !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.s-search-container:focus-within {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px var(--color-primary-ops), 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transform: scale(1.02) !important;
}

.s-search-inline {
    width: 100% !important;
}

.s-search-input-wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
}

.s-search-icon-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.s-search-icon svg {
    color: var(--color-primary) !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.3s ease !important;
}

.s-search-container:focus-within .s-search-icon svg {
    color: var(--color-primary-dark) !important;
    transform: scale(1.1) !important;
}

.s-search-input {
    border: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    width: 100% !important;
    outline: none !important;
    height: auto !important;
    border-radius: 0 !important;
}

.s-search-input::placeholder {
    color: var(--medium-gray-color) !important;
    font-weight: 400 !important;
}

/* Search Results Dropdown */
.s-search-results {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--cards-color) !important;
    border: 2px solid var(--color-primary-ops) !important;
    border-top: none !important;
    border-radius: 0 0 15px 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    display: none !important;
}

.s-search-no-results-placeholder {
    padding: 1.5rem !important;
    text-align: center !important;
    color: var(--medium-gray-color) !important;
    font-style: italic !important;
    margin: 0 !important;
}







/* Search Results Dropdown */
.s-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cards-color);
    border: 2px solid var(--color-primary-ops);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.s-search-no-results-placeholder {
    padding: 1rem;
    text-align: center;
    color: var(--medium-gray-color);
    font-style: italic;
}

/* ============================================
   FOOTER TRANSFORMATION
   ============================================ */

.store-footer {
    background: var(--color-footer-bg) !important;
    color: var(--color-footer-text) !important;
    padding: 3rem 0 1rem;
}

.store-footer a {
    color: var(--color-footer-text);
    transition: color 0.3s ease;
}

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

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* Line Separator with Star */
.line-separator {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    margin-top: 0.75rem;
}

.line-innercomponent {
    height: 1px;
    width: 100%;
    background-color: var(--color-primary-light);
    position: relative;
}

/* Star Icon in Separator */
.line-separator svg {
    filter: drop-shadow(0 0 10px var(--color-primary-light));
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================ */

.s-button-primary,
.btn-primary {
    background: var(--color-primary) !important;
    color: var(--color-primary-reverse) !important;
    border: none;
    border-radius: var(--border-custom, 2px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.s-button-primary::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.s-button-primary:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.s-button-primary:hover,
.btn-primary:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--color-primary-ops);
}

/* ============================================
   SLIDER CONTROLS
   ============================================ */

.s-slider-nav-arrow {
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.s-slider-nav-arrow:hover {
    background: var(--color-primary-dark) !important;
    transform: scale(1.1);
}

.s-slider-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.s-slider-block__title h2,
.s-block h2,
.s-block h3 {
    color: var(--color-primary-dark);
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.s-slider-block__title h2::after,
.s-block h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 100%
    );
    border-radius: 2px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.s-block--features {
    padding: 2rem 0;
}

.s-block--features__item {
    background: var(--cards-color);
    border-radius: var(--rause-card, 6px);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.s-block--features__item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px var(--color-primary-ops);
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.s-reviews-testimonial {
    background: var(--cards-color);
    border-radius: var(--rause-card, 6px);
    padding: 2rem;
    border: 1px solid var(--color-primary-ops);
    transition: all 0.3s ease;
}

.s-reviews-testimonial:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px var(--color-primary-ops);
}

.s-reviews-testimonial__avatar img {
    border: 3px solid var(--color-primary);
    border-radius: 50%;
}

/* ============================================
   SEARCH PANEL
   ============================================ */

.s-search-container {
    background: white;
    border-radius: var(--border-custom, 2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.s-search-input {
    border: 2px solid var(--color-primary-ops);
    border-radius: var(--border-custom, 2px);
    transition: all 0.3s ease;
}

.s-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-ops);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .main-menu {
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
}

.mobile-menu .main-menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-primary-ops);
}

.mobile-menu .main-menu a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-menu .main-menu a:hover {
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    transform: translateX(10px);
}

/* Mobile Menu Close Button */
.close-mobile-menu {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    transform: scale(1.1);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1024px) {
    .main-menu {
        gap: 1rem;
    }

    .main-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 798px) {
    /* Header Adjustments */
    .main-nav-container {
        padding: 0.5rem 0;
        height:80px;
    }
    
    .flex.items-center.justify-end{
    scale:.78;
    margin-top:15px;
    }

    .navbar-brand img {
        max-height: 50px;
    }

    .main-menu {
        display: none;
    }

    /* Product Cards Mobile */
    .s-product-card,
    .s-product-card-entry,
    .s-product-card-vertical {
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .s-product-card-content {
        padding: 1rem;
    }

    .s-product-card-horizontal {
        flex-direction: column;
        text-align: center;
    }

    .s-product-card-horizontal .s-product-card-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .group button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Slider Adjustments */
    .s-block--slider-with-bg .slider-bg {
        min-height: 250px;
        border-radius: 12px;
    }

    .line-separator {
        padding: 1rem 0;
    }

    /* Theme Toggle Mobile */
    .theme-toggle--floating {
        right: 15px;
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .s-product-card-content h3,
    .s-product-card-content .product-title {
        font-size: 1rem;
    }

    .s-product-card-price .price,
    .s-product-card-price .current-price {
        font-size: 1.1rem;
    }

    .s-product-card .add-to-cart,
    .s-product-card .btn-add-cart {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .main-nav-container{
    eight:80px;
    }
    
     .flex.items-center.justify-end{
    scale:.78;
    margin-top:10px;
    }
    

    .navbar-brand img {
        max-height: 45px;
    }

    .mobile-menu {
        width: 280px;
    }

    .group ul {
        min-width: 180px;
    }
}

/* ============================================
   DARK MODE MOBILE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    html[data-theme="dark"] .mobile-menu,
    html[data-theme="carbon"] .mobile-menu {
        border-left: 2px solid var(--color-primary);
    }

    html[data-theme="dark"] .mobile-menu .main-menu a:hover,
    html[data-theme="carbon"] .mobile-menu .main-menu a:hover {
        background: var(--color-primary);
        color: var(--color-primary-reverse);
    }
}

/* ============================================
   DARK MODE ENHANCEMENTS
   ============================================ */

html[data-theme="dark"] .s-product-card,
html[data-theme="dark"] .s-block--features__item,
html[data-theme="dark"] .s-reviews-testimonial {
    background: var(--cards-color);
    border-color: rgba(204, 153, 2, 0.2);
}

html[data-theme="dark"] .s-product-card:hover,
html[data-theme="dark"] .s-block--features__item:hover,
html[data-theme="dark"] .s-reviews-testimonial:hover {
    border-color: var(--color-primary);
}

/* ============================================
   ADDITIONAL TRANSFORMATIONS
   ============================================ */

/* V__micr Section Styling */
.V__micr {
    margin-bottom: 2rem;
}

/* Container Enhancements */
.container {
    position: relative;
}

/* Image Lazy Loading Effect */
img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* Price Styling */
.s-product-card-price,
.price {
    color: var(--color-price) !important;
    font-weight: bold;
}

/* Rating Stars */
.s-rating-stars-wrapper {
    color: var(--color-primary);
}

/* Badges */
.s-product-card-badge {
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    border-radius: var(--border-custom, 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Cart Button */
.s-button-cart,
.add-to-cart {
    background: var(--color-primary) !important;
    color: var(--color-primary-reverse) !important;
    transition: all 0.3s ease;
}

.s-button-cart:hover,
.add-to-cart:hover {
    background: var(--color-primary-dark) !important;
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary-ops);
    border-radius: var(--border-custom, 2px);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .active {
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    border-color: var(--color-primary);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.breadcrumb a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

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

/* Modal Enhancements */
.s-modal-body {
    border-radius: var(--border-custom, 2px);
}

/* Loading Spinner */
.s-loading {
    color: var(--color-primary) !important;
}

/* Skeleton Loading */
.s-skeleton-item {
    background: linear-gradient(
        90deg,
        var(--color-primary-ops) 25%,
        rgba(204, 153, 2, 0.05) 50%,
        var(--color-primary-ops) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

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

/* Notification/Alert */
.alert,
.notification {
    border-left: 4px solid var(--color-primary);
    background: var(--color-primary-ops);
    padding: 1rem;
    border-radius: var(--border-custom, 2px);
    margin: 1rem 0;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    border: 2px solid var(--color-primary-ops);
    border-radius: var(--border-custom, 2px);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-ops);
    outline: none;
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--color-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: var(--color-primary-reverse);
    border: none;
    border-radius: var(--border-custom, 2px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--color-primary-ops);
}

.theme-toggle:active {
    transform: translateY(0);
}



/* Floating theme toggle */
.theme-toggle--floating {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    border-radius: 50px;
    padding: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.theme-toggle--floating .theme-label {
    display: none;
}

.theme-toggle--floating:hover .theme-label {
    display: inline;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary-dark);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-custom, 2px);
    white-space: nowrap;
    margin-right: 0.5rem;
}

.theme-icon {
    font-size: 1.2em;
    line-height: 1;
}

.theme-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Ripple effect for theme toggle */
.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-toggle:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   THEME-SPECIFIC BODY STYLING
   ============================================ */

/* Light theme body */
html[data-theme="light"] body {
    background-color: var(--color-bg);
    color: var(--cards-color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark theme body */
html[data-theme="dark"] body {
    background-color: var(--color-bg);
    color: var(--cards-color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Carbon theme body */
html[data-theme="carbon"] body {
    background-color: var(--color-bg);
    color: var(--cards-color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   SMOOTH THEME TRANSITIONS
   ============================================ */

* {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* Preserve specific transitions that shouldn't be overridden */
.s-product-card,
.s-button-primary,
.btn-primary,
.theme-toggle {
    transition: all 0.3s ease !important;
}