/* Add custom CSS styles below */ 

/* override css code itsak */

.itsak-hero .advanced-slider__caption__inner__content__heading {
    font-size: 1.9rem;
  }
  
  .itsak-hero .home-swiper-container .content p {
    font-size: 16px;
  }
  
  body.slider_has_overlay .advanced-slider .swiper-slide .container {
    position: absolute;
    top: 75%;
    padding-left: 60px;
    padding-right: 60px;
  }
  
  body.slider_has_overlay .advanced-slider .swiper-slide:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: #00000050;
    z-index: 1;
    top: 0;
    left: 0;
  }
  .itsak-sections article.relative.isolate.flex.flex-col.justify-end.overflow-hidden.rounded-2xl.bg-gray-900.px-8.pb-8.pt-80.sm\:pt-48.lg\:pt-80.anime-item,
  .itsak-sections .absolute.inset-0.-z-10.rounded-2xl.ring-1.ring-inset.ring-gray-900\/10
  {
      border-radius:0;
      display: flex
  ;
      justify-content: center;
      align-items: center;
      width: 100%;
  }
  /* itsak-sections banner styling */
  .itsak-sections .grid {
    gap: 0 !important;
  }
  
  .itsak-sections .grid-cols-1 {
    grid-template-columns: 1fr 1fr !important;
  }
  .itsak-sections div
  .itsak-sections .anime-item {
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0;
  }
  
  .itsak-sections .anime-item img,.itsak-sections img  {
    border-radius: 0 !important;
    position: relative;
    height: 100%;
    height: 100vh; 
    width: 100%;
  }
  
  .itsak-sections .anime-item .bg-gradient-to-t ,.itsak-sections .bg-gradient-to-t {
    border-radius: 0 !important;
  }
  .itsak-sections .mt-16, .itsak-sections{
      padding:0;
      margin:0;
      max-width: 100%;
  }
  .itsak-sections h3{
      position: absolute;
      font-size: 2rem;
      font-weight: 500;
  }
  .itsak-sections .bg-gradient-to-t.from-gray-900{
      background-color: #00000040;
      background-image: initial;
  }
  
  /* Mobile styles for itsak-sections */
  @media (max-width: 768px) {
      .itsak-sections .grid-cols-1 {
          grid-template-columns: 1fr !important;
      }
      
      .itsak-sections article.relative.isolate.flex.flex-col.justify-end.overflow-hidden.rounded-2xl.bg-gray-900.px-8.pb-8.pt-80.sm\:pt-48.lg\:pt-80.anime-item {
          max-height: 478px !important;
          height: 478px !important;
      }
      
      .itsak-sections .anime-item img {
          height: 478px !important;
          max-height: 478px !important;
      }
  }
  
  .store-footer{
      margin-top: 0 !important;
  }
  .store-footer .container.md\:flex.items-center.justify-between{
      gap:20px;
      margin:20px 0;
      flex-direction: column;
  }
  
  /* Mobile footer styles */
  @media (max-width: 768px) {
      .store-footer__inner .grid.grid-cols-2 {
          grid-template-columns: 1fr 1fr !important;
          gap: 0;
      }
      
      .store-footer__inner .mb-2\.5:first-child {
          grid-column: span 2;
          margin-bottom: 1rem;
          text-align: center;
          padding-bottom: 1rem;
      }
      .store-footer__inner .mb-2\.5:nth-child(2),
      .store-footer__inner .mb-2\.5:nth-child(3) {
          margin-bottom: 0;
          padding: 1rem;
          border: 1px solid #e0e0e0;
      }
      

      
      .store-footer__inner .mb-2\.5:nth-child(3) {
          border-right: 0;
      }
      
      .store-footer .footer-logo {
          display: flex;
          justify-content: center;
          margin-bottom: 1rem;
      }
      
      .store-footer .footer-logo img {
          margin: 0 auto;
      }
      
      .store-footer p {
          text-align: center !important;
          margin: 1rem auto;
      }
      
      .store-footer .footer-social-icons-moved {
          justify-content: center !important;
      }
      
      .store-footer .footer-title {
          font-size: 0.875rem;
          margin-bottom: 0.75rem;
          text-align: center;
      }
      
      .store-footer .footer-list {
          text-align: center;
      }
      
      .store-footer .footer-list a {
          font-size: 0.8125rem;
          padding: 0.25rem 0;
          display: block;
      }
      
      .store-footer__inner .container {
          padding: 1.5rem 1rem;
      }
      
      .footer-policies-column {
          order: initial;
      }
  }
  
  :root{
      --footer-bg:white;
      
  }
  :root body.index{
      --header-text-color:white !important;
  
  }
  
  .footer-is-custom .store-footer .store-footer__newsletter input,
  .footer-is-custom .store-footer .store-footer__newsletter button{
      border-radius: 0 ;
      border: 1px solid #00000050;
      box-shadow: 0 0 0 0;
  }
  .store-footer__newsletter{
      display:flex;
      justify-content:center;
  }
  /* override js file */
  /* Footer 3-column layout customization */
  @media (min-width: 1024px) {
      .store-footer__inner .grid.lg\:grid-cols-3 {
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 2rem;
      }
      
      .store-footer__inner .grid.lg\:grid-cols-3 > .mb-2\.5 {
          margin-bottom: 0;
      }
      
      .store-footer__inner .footer-policies-column {
          display: block;
      }
      
      /* Ensure logo column takes only 1 column */
      .store-footer__inner .grid.lg\:grid-cols-3 > .lg\:col-span-1:first-child {
          grid-column: span 1;
      }
      .store-footer .store-footer__inner .mb-2\.5,
          .store-footer .store-footer__inner .anime-item.mb-2\.5{
          margin-inline-start: auto; 
      }
      .store-footer .store-footer__inner .mb-2\.5:nth-child(2),
      .store-footer .store-footer__inner .anime-item.mb-2\.5:nth-child(2){
          margin-inline-end: auto; 
      }
  }
  
  /* Keep mobile layout as 2 columns */
  @media (max-width: 1023px) {
      .store-footer__inner .grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      
      .store-footer__inner .grid > .col-span-2:first-child {
          grid-column: span 2;
      }
  
  }
  
  /* Ensure footer policies column styling matches other columns */
  .footer-policies-column .footer-title {
      font-weight: 600;
      margin-bottom: 1rem;
  }
  
  .footer-policies-column .footer-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }
  
  .footer-policies-column .footer-list li {
      margin-bottom: 0.5rem;
  }
  
  .footer-policies-column .footer-list li a {
      transition: color 0.2s ease;
  }
  
  .footer-policies-column .footer-list li a:hover {
      opacity: 0.8;
  }
  
  /* html {
    font-size: 62.5%; /* 62.5% of 16px (default) = 10px
  } */
  
  .centered_logo .logo-normal {
      height: 100px !important;
  }
  /* Removed - will only apply to index page now */
  /* body.trans_header.slider_has_overlay .store-header .main-nav-container.fixed-header :not(custom-salla-product-card *){
      color:white;
  } */
  
  /* Custom Cart Icon - Pure CSS Solution */
  
  /* Hide ALL original cart icons immediately */
  #s-cart-icon svg,
  #s-cart-icon .sicon-cart,
  #s-cart-icon .header-btn__icon,
  #s-cart-icon slot-fb,
  #s-cart-icon [slot="icon"],
  #s-cart-icon .s-cart-summary-icon,
  #s-cart-icon .s-cart-summary-icon *,
  #s-cart-icon i {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      width: 0 !important;
      height: 0 !important;
      position: absolute !important;
      pointer-events: none !important;
  }
  
  /* Prepare cart icon container */
  #s-cart-icon {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      position: relative !important;
      width: 30px !important;
      height: 30px !important;
      min-width: 30px !important;
      min-height: 30px !important;
  }
  
  /* Add custom icon using ::before pseudo-element */
   #s-cart-icon::before {    background-image: url('https://itsak.tech/midorisa-icon-salla-2-black.webp') !important;
  }
  .index #s-cart-icon::before {    background-image: url('https://itsak.tech/midorisa-icon-salla-2.webp') !important;
  }
  .index .selia-bottom-nav  #s-cart-icon::before {    background-image: url('https://itsak.tech/midorisa-icon-salla-2-black.webp') !important;}
  
  #s-cart-icon::before {
      content: '' !important;
      display: block !important;
      width: 30px !important;
      height: 30px !important;
      background-size: contain !important;
      background-repeat: no-repeat !important;
      background-position: center !important;
      position: relative !important;
      z-index: 999 !important;
      transition: transform 0.2s ease !important;
  }
  
  /* Hover effect on custom icon */
  .s-cart-summary-wrapper:hover #s-cart-icon::before {
      transform: scale(1.1) !important;
  }
  
  /* Ensure cart wrapper doesn't break */
  .s-cart-summary-wrapper {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
  }
  
  
  
  
  /* Fix cart count position and style */
  .main-nav-container .s-cart-summary-count {
      position: static !important;
      top: auto !important;
      right: auto !important;
      transform: none !important;
      background: transparent !important;
      border-radius: 0 !important;
      min-width: auto !important;
      width: auto !important;
      height: auto !important;
      padding: 0 !important;
      margin: 0 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: inherit !important;
      font-weight: normal !important;
      color: inherit !important;
  }
  /* Removed - will only apply to index page now */
  /* body.trans_header.slider_has_overlay .store-header .s-cart-summary-count{
      color: rgba(255,255,255,0.6) !important;
  } */
  /* Add parentheses around the count using pseudo-elements */
  .s-cart-summary-count::before {
      content: '(' !important;
      margin-right: 0 !important;
  }
  
  .s-cart-summary-count::after {
      content: ')' !important;
      margin-left: 0 !important;
  }
  
  .index .main-nav-container.fixed-pinned .inner{
      background-image: linear-gradient(0deg, #0000, #000000b3 80%) !important;
      box-shadow: initial;
      backdrop-filter: initial;
  }
  
  /* Language Switcher in Menu */
  .menu-language-switcher {
      border-bottom: 1px solid #e5e7eb;
      margin-bottom: 0.5rem !important;
      padding-bottom: 0.5rem !important;
  }
  
  .menu-language-switcher button {
      width: 100%;
      text-align: start;
      padding: 0.5rem 1rem;
      display: flex !important;
      align-items: center;
      gap: 0.5rem;
      color: #6b7280;
      transition: all 0.2s ease;
  }
  
  .menu-language-switcher button:hover {
      background-color: #f3f4f6;
      color: #111827;
  }
  
  .menu-language-switcher button i.sicon-earth {
      font-size: 1.25rem;
  }
  
  .menu-language-switcher button .sicon-keyboard_arrow_down {
      margin-left: auto;
      margin-right: 0;
  }
  
  /* RTL support */
  html[dir="rtl"] .menu-language-switcher button .sicon-keyboard_arrow_down {
      margin-right: auto;
      margin-left: 0;
  }
  .menu-language-switcher button{
      padding: .75rem;
      padding-bottom: 2rem!important;
      padding-top: 0 !important;
      font-weight: 300;
  }
  .menu-language-switcher{
      border-bottom: 0 solid #e5e7eb;
      margin-bottom: 0rem !important;
      padding-top: 0 !important;
      padding-bottom: 0rem !important;
  }
  .main-nav-container.fixed-pinned .menu-language-switcher button{
      padding-top:20px !important;
      padding-bottom: 20px !important;
  }
  
  /* Desktop Language Switcher */
  .menu-language-switcher.root-level {
      border-bottom: none;
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
  }
  
  .menu-language-switcher.root-level button {
      padding: 0.75rem;
      width: auto;
      background: transparent;
      border: none;
      cursor: pointer;
      font-weight: 300;
  }
  
  .menu-language-switcher.root-level button:hover {
      background-color: transparent;
      opacity: 0.8;
  }
  
  .menu-language-switcher.root-level button i.sicon-earth {
      font-size: 1rem;
  }
  
  .menu-language-switcher.root-level button .shrink-0 {
      flex-shrink: 0;
  }
  
  .menu-language-switcher.root-level button .sicon-keyboard_arrow_down {
      margin-left: 0.25rem;
      margin-right: 0;
  }
  
  /* RTL support for desktop */
  html[dir="rtl"] .menu-language-switcher.root-level button .sicon-keyboard_arrow_down {
      margin-right: 0.25rem;
      margin-left: 0;
  }
  
  .main-menu li.root-level>a{
      font-weight: 300;
  }
  .main-nav-container .inner .container .flex.items-center.justify-end.w-1\/3,
  .main-menu{
      gap:10px !important;
  }
  
  /* .main-menu li.root-level>a {
      font-weight: 700;
      padding-bottom: 2rem;
      padding-top: 0;
  } */
  
  /* Footer Social Icons Styling */
  .footer-social-icons-moved {
      margin-top: 1.5rem !important;
      margin-bottom: 1rem !important;
  }
  
  .footer-social-icons-moved ul {
      display: flex;
      gap: 0.75rem;
      list-style: none;
      padding: 0;
      margin: 0;
  }
  
  .footer-social-icons-moved .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      color: inherit;
      text-decoration: none;
  }
  
  .footer-social-icons-moved .social-link:hover {
      background-color: rgba(0, 0, 0, 0.1);
      transform: translateY(-2px);
  }
  
  .footer-social-icons-moved .social-link i {
      font-size: 1.25rem;
  }
  
  /* Adjust for mobile center alignment */
  @media (max-width: 768px) {
      .footer-social-icons-moved {
          justify-content: center !important;
      }
  }
  
  /* Ensure proper spacing in footer first column */
  .store-footer__inner .mb-2\.5.lg\:col-span-1 {
      display: flex;
      flex-direction: column;
  }
  
  
  .footer-bottom .rounded_contacts{
      display: none;
  }
  
  .advanced-slider__caption__inner--right{
      justify-content: start;
  }
  
  /* Mobile Header Styles */
  @media (max-width: 768px) {
      /* Adjust logo size on mobile */
      .centered_logo .logo-normal {
          height: 55px !important;
          max-height: 55px !important;
      }
      
      .navbar-brand img {
          max-height: 55px !important;
      }
      
      /* Reduce gap in header on mobile */
      .main-nav-container .inner .container .flex.items-center.justify-end.w-1\/3,
      .main-menu {
          gap: 10px !important;
      }
      
      /* Adjust header buttons spacing */
      .header-btn {
          padding: 0.25rem;
      }
      
      .header-btn__icon {
          font-size: 1.25rem;
      }
      
      /* Reduce main nav container height */
      .main-nav-container {
          min-height: 60px !important;
      }
      
      /* Adjust header padding */
      .main-nav-container .inner {
          padding-top: 4px;
          padding-bottom: 4px;
      }
      
      /* Reduce spacing between header elements */
      .store-header .flex.items-stretch.justify-between {
          gap: 0.5rem;
      }
      
      /* Make cart icon smaller */
      #s-cart-icon {
          width: 24px !important;
          height: 24px !important;
          min-width: 24px !important;
          min-height: 24px !important;
      }
      
      #s-cart-icon::before {
          width: 20px !important;
          height: 20px !important;
      }
      
     .main-nav-container .s-cart-summary-count {
          font-size: 0.625rem !important;
          width: 16px !important;
          height: 16px !important;
          min-width: 16px !important;
      }
  }
  
  /* Mobile Slider Caption Styles */
  @media (max-width: 768px) {
      .advanced-slider__caption__inner__content__heading,
      .itsak-hero .advanced-slider__caption__inner__content__heading {
          font-size: 1.25rem !important;
          line-height: 1.5rem !important;
          margin-bottom: 0.5rem !important;
      }
      
      .advanced-slider__caption__inner__content__text {
          font-size: 0.875rem !important;
          line-height: 1.25rem !important;
      }
      
      .advanced-slider__caption__inner__content {
          padding: 1rem;
      }
      
      /* Reduce container padding in slider */
      .advanced-slider__caption .container {
          padding-left: 0.5rem !important;
          padding-right: 0.5rem !important;
      }
      
      .advanced-slider__caption__inner {
          padding: 0.5rem !important;
      }
      
      /* Fix language button in mobile menu */
      .menu-language-switcher.lg\:hidden {
          border-bottom: 1px solid #e5e7eb;
          margin-bottom: 0.75rem !important;
          padding-bottom: 0.75rem !important;
          padding-top: 0.5rem !important;
      }
      
      .menu-language-switcher.lg\:hidden button {
          padding: 0.75rem 1rem !important;
          background-color: transparent;
          border-radius: 0.375rem;
          font-size: 0.875rem;
          font-weight: 600;
          color: #6b7280;
          transition: all 0.2s ease;
          position: relative;
      }
      
      /* Remove any extra arrows from pseudo-elements */
      .menu-language-switcher.lg\:hidden button::before,
      .menu-language-switcher.lg\:hidden button::after,
      .menu-language-switcher.lg\:hidden::before,
      .menu-language-switcher.lg\:hidden::after {
          content: none !important;
          display: none !important;
      }
      
      .menu-language-switcher.lg\:hidden button * {
          position: relative;
      }
      
      .menu-language-switcher.lg\:hidden button *::before,
      .menu-language-switcher.lg\:hidden button *::after {
          content: none !important;
          display: none !important;
      }
      
      .menu-language-switcher.lg\:hidden button:hover,
      .menu-language-switcher.lg\:hidden button:active {
          background-color: #f3f4f6;
          color: #111827;
      }
      
      .menu-language-switcher.lg\:hidden button i.sicon-earth {
          font-size: 1.125rem;
      }
      
      .menu-language-switcher.lg\:hidden button .sicon-keyboard_arrow_down {
          font-size: 1rem;
      }
      
      /* Mobile menu items styling */
      .main-menu.mm-spn--open li.lg\:hidden {
          border-bottom: 1px solid #f3f4f6;
          position: relative;
      }
      
      /* Remove any extra arrows from mobile menu items */
      .main-menu.mm-spn--open li.lg\:hidden::before,
      .main-menu.mm-spn--open li.lg\:hidden::after {
          content: none !important;
          display: none !important;
      }
      
      .main-menu.mm-spn--open li.lg\:hidden a {
          padding: 0.75rem 1rem;
          font-size: 0.875rem;
          font-weight: 600;
          color: #6b7280;
          transition: all 0.2s ease;
          position: relative;
      }
      
      .main-menu.mm-spn--open li.lg\:hidden a::before,
      .main-menu.mm-spn--open li.lg\:hidden a::after {
          content: none !important;
          display: none !important;
      }
      
      .main-menu.mm-spn--open li.lg\:hidden a *::before,
      .main-menu.mm-spn--open li.lg\:hidden a *::after {
          content: none !important;
          display: none !important;
      }
      
      .main-menu.mm-spn--open li.lg\:hidden a:hover,
      .main-menu.mm-spn--open li.lg\:hidden a:active {
          background-color: #f3f4f6;
          color: #111827;
      }
      
      /* General fix: hide all pseudo-elements from mobile menu */
      .main-menu.mm-spn--open li::before,
      .main-menu.mm-spn--open li::after,
      .main-menu.mm-spn--open button::before,
      .main-menu.mm-spn--open button::after {
          content: none !important;
          display: none !important;
      }
  }
  
  /* Product Card Styling */
  custom-salla-product-card.product-card {
      border-radius: 0 !important;
      overflow: hidden;
      transition: all 0.3s ease;
  }
  
  custom-salla-product-card.product-card:hover {
      border-color: #000000 !important;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  /* Product card border for all states */
  .product-card.has-image {
      border-radius: 0 !important;
  }
  
  .product-card.has-image:hover {
      border-color: #000000 !important;
  }
  
  /* Make add to cart button full width */
  .product-card__normal-cart {
      width: 100% !important;
      margin-top: 0.5rem !important;
  }
  
  .product-card__normal-cart .product-card__normal-cart__btn,
  .product-card__normal-cart salla-add-product-button {
      width: 100% !important;
      display: block !important;
  }
  
  .product-card__normal-cart .product-card__normal-cart__btn > div,
  .product-card__normal-cart salla-add-product-button > div {
      width: 100% !important;
  }
  
  .product-card__normal-cart salla-button,
  .product-card__normal-cart button {
      width: 100% !important;
  }
  
  /* Mobile add to cart button full width */
  .product-card__addToCart.mobile {
      width: 100% !important;
  }
  
  .product-card__addToCart.mobile .product-card__addToCart__btn,
  .product-card__addToCart.mobile salla-add-product-button {
      width: 100% !important;
      display: block !important;
  }
  
  .product-card__addToCart.mobile .product-card__addToCart__btn > div,
  .product-card__addToCart.mobile salla-add-product-button > div {
      width: 100% !important;
  }
  
  .product-card__addToCart.mobile salla-button,
  .product-card__addToCart.mobile button {
      width: 100% !important;
  }
  
  /* White header only on index page */
 .index body.index.trans_header.slider_has_overlay .store-header .main-nav-container.fixed-header :not(custom-salla-product-card *) {
      color: white !important;
  }
  
  body.index.trans_header.slider_has_overlay .store-header .s-cart-summary-count {
      color: rgba(255, 255, 255, 0.6) !important;
  }
  
  /* Override for non-index pages - use default colors */
  body:not(.index).trans_header.slider_has_overlay .store-header .main-nav-container.fixed-header :not(custom-salla-product-card *) {
      color: var(--header-text-color) !important;
  }
  
  body:not(.index).trans_header.slider_has_overlay .store-header .s-cart-summary-count {
      color: inherit !important;
  }
  
  .product-card__image img{
      border-bottom: 1px solid var(--product-border-color);
  }

/* Footer Logo Replacement */
.store-footer .footer-logo img {
    display: none !important;
}

.store-footer .footer-logo {
    display: inline-block !important;
    position: relative !important;
}

.store-footer .footer-logo::before {
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 64px !important;
    background-image: url('https://itsak.tech/midorisa-logo2.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Mobile footer logo */
@media (max-width: 768px) {
    .store-footer .footer-logo::before {
        margin: 0 auto !important;
    }
}
.store-footer .flex.items-center.justify-center.md\:justify-start.my-5,
.store-footer .flex.items-center.justify-center.md\:justify-start.my-5.anime-item {
    display: none;
}
.footer-bottom .py-2\.5.lg\:py-0{
    display:none;
}

.s-button-btn{
    border-radius:0px;
}

body.trans_header.slider_has_overlay .store-header .s-user-menu-dropdown-item-title
{
    color:black !important;
}

.s-cart-thumb{
    display: none !important;
}

article.relative.isolate.flex.flex-col.justify-end.overflow-hidden.rounded-2xl.bg-gray-900.px-8.pb-8.pt-80.sm\:pt-48.lg\:pt-80 {
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0;
}
.itsak-sections  img {
    border-radius: 0 !important;
    position: relative;
    height: 100%;
    height: 100vh;
    width: 100%;
}
  
  .itsak-sections {
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0;
  }
  
@media (max-width: 768px) {
    .itsak-sections article.relative.isolate.flex.flex-col.justify-end.overflow-hidden.rounded-2xl.bg-gray-900.px-8.pb-8.pt-80.sm\:pt-48.lg\:pt-80{
        max-height: 478px !important;
        height: 478px !important;
    }
}