body.inksoft-suite-theme {
  background: var(--inksoft-bg-color);
  color: var(--inksoft-text-color);
  font-size: var(--inksoft-font-size-base);
  font-weight: var(--inksoft-font-weight-base, 400);
}

body.inksoft-suite-theme h1,
body.inksoft-suite-theme h2,
body.inksoft-suite-theme h3,
body.inksoft-suite-theme h4,
body.inksoft-suite-theme h5,
body.inksoft-suite-theme h6 {
  color: var(--inksoft-heading-color);
  font-weight: var(--inksoft-font-weight-heading);
}

body.inksoft-suite-theme .bg-primary {
  background-color: var(--inksoft-primary-bg) !important;
}

body.inksoft-suite-theme .ics-shop-page-header {
  background: var(--inksoft-page-header-bg) !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

body.inksoft-suite-theme .ics-shop-page-header h1,
body.inksoft-suite-theme .ics-shop-page-header .breadcrumb-item,
body.inksoft-suite-theme .ics-shop-page-header .breadcrumb-item a,
body.inksoft-suite-theme .ics-shop-page-header .breadcrumb-item + .breadcrumb-item::before,
body.inksoft-suite-theme .ics-shop-page-header .text-white {
  color: var(--inksoft-page-header-text) !important;
}

body.inksoft-suite-theme .nav-bar .navbar .navbar-nav .nav-link,
body.inksoft-suite-theme .nav-bar .navbar .navbar-nav .nav-link:hover,
body.inksoft-suite-theme .nav-bar .navbar .navbar-nav .nav-link.active,
body.inksoft-suite-theme .nav-bar .navbar-toggler,
body.inksoft-suite-theme .nav-bar .navbar-toggler .fa,
body.inksoft-suite-theme .nav-bar .navbar-toggler h4,
body.inksoft-suite-theme .nav-bar .navbar-toggler h4 i,
body.inksoft-suite-theme .nav-bar .navbar-brand h1,
body.inksoft-suite-theme .nav-bar .navbar-brand h1 i {
  color: var(--inksoft-nav-text-color) !important;
}

/* Primary menu dropdown behavior */
body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children {
  position: relative;
}

body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav {
    overflow: visible;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    z-index: 1100;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(2, 8, 23, 0.15);
    padding: 0.45rem 0;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu > .menu-item {
    position: relative;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu > .menu-item > a {
    display: block;
    padding: 0.45rem 0.95rem;
    line-height: 1.3;
    color: #0f172a;
    white-space: nowrap;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu > .menu-item > a:hover {
    background: rgba(15, 23, 42, 0.06);
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children:hover > .sub-menu,
  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav .menu-item-has-children > .sub-menu .menu-item-has-children > .sub-menu {
    top: -0.45rem;
    left: calc(100% + 4px);
  }
}

body.inksoft-suite-theme .btn-primary {
  background: var(--inksoft-button-bg);
  border-color: var(--inksoft-button-bg);
  color: var(--inksoft-button-text);
}

body.inksoft-suite-theme .btn-primary:hover,
body.inksoft-suite-theme .btn-primary:focus {
  background: var(--inksoft-button-hover);
  border-color: var(--inksoft-button-hover);
  color: var(--inksoft-button-text);
}

body.inksoft-suite-theme .container {
  max-width: var(--inksoft-container-width);
}

body.inksoft-suite-theme .inksoft-footer-empty {
  background: #181b1e;
  min-height: 120px;
  width: 100%;
}

body.inksoft-suite-theme .copyright {
  background: #000000;
}

body.inksoft-suite-theme .rounded,
body.inksoft-suite-theme .rounded-top,
body.inksoft-suite-theme .rounded-bottom,
body.inksoft-suite-theme .form-control,
body.inksoft-suite-theme .form-select,
body.inksoft-suite-theme .btn {
  border-radius: var(--inksoft-border-radius);
}

body.inksoft-suite-theme .ics-header-search-form {
  z-index: 25;
}

body.inksoft-suite-theme .ics-cart-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.inksoft-suite-theme .ics-cart-page__header,
body.inksoft-suite-theme .ics-cart-page__status {
  display: none !important;
}

body.inksoft-suite-theme .ics-cart-page__frame-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: var(--ics-cart-iframe-height, calc(100vh - 150px)) !important;
  height: var(--ics-cart-iframe-height, calc(100vh - 150px)) !important;
}

body.inksoft-suite-theme .ics-cart-page__frame-wrap iframe {
  min-height: var(--ics-cart-iframe-height, calc(100vh - 150px)) !important;
  height: var(--ics-cart-iframe-height, calc(100vh - 150px)) !important;
}

body.inksoft-suite-theme .ics-header-cart-sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  margin-left: 0.3rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: text-top;
}

body.inksoft-suite-theme .ics-header-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 1.5rem;
  right: 0;
  background: #fff;
  border: 1px solid var(--inksoft-border-color);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

body.inksoft-suite-theme .ics-header-search-status {
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  color: #6b7280;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

body.inksoft-suite-theme .ics-header-search-list {
  max-height: 360px;
  overflow-y: auto;
}

body.inksoft-suite-theme .ics-header-search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}

body.inksoft-suite-theme .ics-header-search-item:last-child {
  border-bottom: 0;
}

body.inksoft-suite-theme .ics-header-search-item:hover {
  background: #f8fafc;
}

body.inksoft-suite-theme .ics-header-search-thumb {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 0.66rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.1;
}

body.inksoft-suite-theme .ics-header-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.inksoft-suite-theme .ics-header-search-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.18rem;
}

body.inksoft-suite-theme .ics-header-search-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.inksoft-suite-theme .ics-header-search-detail {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.inksoft-suite-theme .ics-header-search-view-more {
  display: block;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
}

body.inksoft-suite-theme .ics-header-search-view-more:hover {
  background: #f8fafc;
}

body.inksoft-suite-theme .ics-mobile-search-panel {
  display: none;
}

@media (max-width: 991.98px) {
  body.inksoft-suite-theme .ics-header-search-form:not(.ics-header-search-form--mobile) .ics-header-search-results {
    display: none !important;
  }

  body.inksoft-suite-theme .ics-mobile-search-panel {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 68px);
    left: 0.7rem;
    right: 0.7rem;
    z-index: 1400;
    display: block;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.24);
    padding: 0.7rem;
  }

  body.inksoft-suite-theme .ics-mobile-search-panel[hidden] {
    display: none !important;
  }

  body.inksoft-suite-theme .ics-header-search-form--mobile {
    padding-left: 0 !important;
  }

  body.inksoft-suite-theme .ics-header-search-form--mobile .ics-header-search-results {
    display: block !important;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
  }

  body.inksoft-suite-theme .ics-header-search-form--mobile .ics-header-search-list {
    max-height: min(52vh, 320px);
  }

  /* Tighten vertical rhythm on shop/category mobile */
  body.inksoft-suite-theme .ics-shop-page-header.page-header {
    padding: 1.25rem 0 !important;
    margin-bottom: 0 !important;
  }

  body.inksoft-suite-theme .ics-shop-page-header h1 {
    font-size: clamp(1.6rem, 6.2vw, 2rem) !important;
    margin-bottom: 0.35rem !important;
  }

  body.inksoft-suite-theme .ics-shop-page-header .breadcrumb {
    margin-bottom: 0 !important;
    row-gap: 0.1rem;
  }

  body.inksoft-suite-theme .container-fluid.shop.py-5 {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }

  body.inksoft-suite-theme .container-fluid.shop.py-5 > .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.inksoft-suite-theme [data-role='ics-shop-layout'] {
    --bs-gutter-y: 0.85rem;
    --bs-gutter-x: 0.85rem;
  }

  body.inksoft-suite-theme .shop .col-lg-9 > .rounded.mb-4.position-relative {
    margin-bottom: 0.8rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 > .rounded.mb-4.position-relative > img,
  body.inksoft-suite-theme .shop .col-lg-9 > .rounded.mb-4.position-relative > .position-absolute {
    height: 185px !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 > form > .row.g-4 {
    --bs-gutter-y: 0.55rem;
    --bs-gutter-x: 0.55rem;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .input-group .form-control {
    min-height: 2.65rem;
    padding: 0.62rem 0.82rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .input-group .input-group-text {
    padding: 0.62rem 0.95rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .bg-light.ps-3.py-3.rounded {
    padding: 0.58rem 0.72rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .nav.nav-pills {
    margin-bottom: 0.4rem !important;
    padding: 0.4rem 0.5rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .nav.nav-pills .nav-item.me-4 {
    margin-right: 0.45rem !important;
  }

  body.inksoft-suite-theme .shop .col-lg-9 .nav.nav-pills i {
    font-size: 1.18rem !important;
  }

  body.inksoft-suite-theme [data-role='ics-top-banners'].d-lg-none {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }

  body.inksoft-suite-theme [data-role='ics-top-banners'].d-lg-none .ics-top-banner-card {
    padding: 0.9rem !important;
    gap: 0.7rem;
  }

  body.inksoft-suite-theme [data-role='ics-top-banners'].d-lg-none .ics-top-banner-card .display-3 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.05;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-toggle {
    position: fixed;
    left: 0.9rem;
    bottom: 1.15rem;
    z-index: 1300;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    font-size: 1rem;
    line-height: 1;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1298;
    background: rgba(2, 6, 23, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-overlay[hidden] {
    display: block !important;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-col {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 350px);
    margin: 0 !important;
    padding: 0.95rem 0.85rem 1.3rem;
    overflow-y: auto;
    background: #ffffff;
    z-index: 1299;
    transform: translateX(-104%);
    transition: transform 0.24s ease;
    box-shadow: 20px 0 36px rgba(2, 6, 23, 0.18);
    visibility: visible !important;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-col.wow {
    visibility: visible !important;
    animation: none !important;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-mobile-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0 0 0.65rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #e5e7eb;
  }

  body.inksoft-suite-theme .ics-shop-sidebar-close {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 1.22rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.inksoft-suite-theme .nav-bar .row.gx-0.bg-primary.px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.inksoft-suite-theme .nav-bar .col-12.col-lg-9 {
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.inksoft-suite-theme .nav-bar .navbar.navbar-expand-lg {
    position: relative;
    min-height: 68px;
    width: 100%;
    border-radius: 0 !important;
  }

  body.inksoft-suite-theme .ics-mobile-nav-actions {
    gap: 0.45rem;
  }

  body.inksoft-suite-theme .ics-mobile-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
    color: var(--inksoft-nav-text-color) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    line-height: 1;
  }

  body.inksoft-suite-theme .ics-mobile-nav-icon i {
    font-size: 0.95rem;
    line-height: 1;
  }

  body.inksoft-suite-theme .ics-mobile-nav-icon .ics-header-cart-sup {
    position: absolute;
    top: -5px;
    right: -6px;
    margin: 0;
    min-width: 1.05rem;
    height: 1.05rem;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(2, 8, 23, 0.16);
    padding: 0.55rem 0.9rem 0.75rem;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse:not(.show) {
    display: none !important;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .navbar-nav {
    gap: 0;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .nav-link {
    color: #0f172a !important;
    padding: 0.52rem 0.25rem !important;
    border-bottom: 1px solid #eef2f7;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .nav-link:last-child {
    border-bottom: 0;
  }

  body.inksoft-suite-theme .nav-bar #navbarCollapse .btn.btn-secondary {
    margin-top: 0.65rem;
    margin-bottom: 0 !important;
    width: 100%;
    justify-content: center;
  }

  body.inksoft-suite-theme .nav-bar .navbar-toggler {
    margin-left: 0 !important;
    z-index: 1201;
  }

  body.inksoft-suite-theme.ics-shop-sidebar-open {
    overflow: hidden;
  }

  body.inksoft-suite-theme.ics-shop-sidebar-open .ics-shop-sidebar-col {
    transform: translateX(0);
  }

  body.inksoft-suite-theme.ics-shop-sidebar-open .ics-shop-sidebar-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* Electro shop/category fidelity block */
body.inksoft-suite-theme .shop .product > .col-lg-4 {
  width: 100%;
}

@media (max-width: 767.98px) {
  body.inksoft-suite-theme .shop #tab-5 .product > .col-lg-4 {
    width: 50%;
  }
}

@media (min-width: 992px) {
  body.inksoft-suite-theme .shop .product > .col-lg-4 {
    width: 33.33333333%;
  }
}

body.inksoft-suite-theme .shop .products-mini > .col-lg-6 {
  width: 100%;
}

@media (min-width: 992px) {
  body.inksoft-suite-theme .shop .products-mini > .col-lg-6 {
    width: 50%;
  }
}

body.inksoft-suite-theme .shop .product .product-item .product-item-inner .product-item-inner-item {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.inksoft-suite-theme .shop .product .product-item .product-item-inner .product-item-inner-item > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.inksoft-suite-theme .shop .products .products-mini .products-mini-item .products-mini-img {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

body.inksoft-suite-theme .shop .products .products-mini .products-mini-item .products-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.inksoft-suite-theme .shop .product .product-item .text-center > a.d-block.h4,
body.inksoft-suite-theme .shop .products .products-mini .products-mini-content > a.d-block.h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  font-size: calc(1.275rem + 0.3vw);
}

body.inksoft-suite-theme .shop .product .product-item .text-center > a.d-block.mb-2,
body.inksoft-suite-theme .shop .products .products-mini .products-mini-content > a.d-block.mb-2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

body.inksoft-suite-theme .shop .product .product-item .text-center del,
body.inksoft-suite-theme .shop .product .product-item .text-center span.fs-5,
body.inksoft-suite-theme .shop .products .products-mini .products-mini-content del,
body.inksoft-suite-theme .shop .products .products-mini .products-mini-content span.fs-5 {
  font-family: 'Roboto', sans-serif;
}

body.inksoft-suite-theme .shop .ics-card-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.55rem 0 0.7rem;
}

body.inksoft-suite-theme .shop .products-mini .ics-card-swatches {
  justify-content: flex-start;
  margin: 0.45rem 0 0.6rem;
}

body.inksoft-suite-theme .shop .ics-card-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

body.inksoft-suite-theme .ics-service-highlight-icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.inksoft-suite-theme .ics-top-banner-card {
  gap: 1rem;
}

body.inksoft-suite-theme .ics-top-banner-image {
  width: min(200px, 42vw);
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  flex: 0 0 auto;
  display: block;
  margin-left: auto;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-list {
  margin: 0;
  padding: 0;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-submenu {
  display: none;
  margin-left: 0.9rem;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-item.is-open > .ics-shop-category-submenu {
  display: block;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-item.has-children > .categories-item > a[data-role='ics-category-toggle'] {
  position: relative;
  padding-right: 1rem;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-item.has-children > .categories-item > a[data-role='ics-category-toggle']::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  line-height: 1;
  color: currentColor;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-item.has-children.is-open > .categories-item > a[data-role='ics-category-toggle']::after {
  content: '-';
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-category-item.ics-shop-category-main-extra {
  display: none;
}

body.inksoft-suite-theme .shop .product-categories.is-expanded .ics-shop-category-item.ics-shop-category-main-extra {
  display: list-item;
}

body.inksoft-suite-theme .shop .product-categories .ics-shop-categories-expand-btn {
  width: 100%;
}

body.inksoft-suite-theme .shop .product-color .product-color-item {
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

body.inksoft-suite-theme .shop .product-color .product-color-item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  line-height: 1;
}

body.inksoft-suite-theme .shop .product-color .product-color-item.is-active > a {
  color: inherit !important;
  font-weight: inherit;
}

body.inksoft-suite-theme .shop .product-color .ics-color-filter-swatch {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  display: inline-block;
  flex: 0 0 22px;
  margin: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.inksoft-suite-theme .shop .product-color .ics-color-filter-swatch--all {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #111827 45%, #111827 55%, #ffffff 55%, #ffffff 100%);
}

body.inksoft-suite-theme .shop .ics-price-filter-form .ics-price-filter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

body.inksoft-suite-theme .shop .ics-price-filter-form .ics-price-filter-fields input {
  min-width: 0;
}

body.inksoft-suite-theme .shop .ics-price-filter-form .ics-price-separator {
  color: #6b7280;
  font-size: 0.9rem;
}

body.inksoft-suite-theme .shop .ics-price-filter-form .ics-price-filter-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

body.inksoft-suite-theme .shop .featured-product .ics-featured-price-current,
body.inksoft-suite-theme .shop .featured-product .ics-featured-price-compare {
  font-size: 0.9rem;
  line-height: 1.2;
}

body.inksoft-suite-theme .shop .featured-product .ics-featured-thumb {
  width: 100px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  flex: 0 0 100px;
}

body.inksoft-suite-theme .shop .featured-product .ics-featured-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

body.inksoft-suite-theme .shop .product-color .ics-color-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

body.inksoft-suite-theme .shop .product-color .ics-color-filter-grid > li {
  margin: 0;
}

body.inksoft-suite-theme .shop .product-color .ics-color-filter-grid > li.ics-color-filter-extra {
  display: none;
}

body.inksoft-suite-theme .shop .product-color.is-expanded .ics-color-filter-grid > li.ics-color-filter-extra {
  display: list-item;
}

body.inksoft-suite-theme .shop .product-color .product-color-item.is-active .ics-color-filter-swatch {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.inksoft-suite-theme .shop .product-color .ics-shop-colors-expand-btn {
  width: 100%;
}

@media (min-width: 992px) {
  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link {
    position: relative;
  }

  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 8px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 30;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }

  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%) translateY(4px);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #111827;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 30;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }

  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link:hover::after,
  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link:focus-visible::after,
  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link:hover::before,
  body.inksoft-suite-theme .shop .product-color .ics-color-filter-link:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.ics-single-product {
  --ics-gap: 1rem;
}

.ics-product-layout {
  align-items: flex-start;
}

.ics-product-gallery {
  position: sticky;
  top: 24px;
}

.ics-gallery-viewport {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid var(--inksoft-border-color);
  border-radius: var(--inksoft-border-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ics-gallery-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ics-gallery-thumbs {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.ics-thumb {
  border: 1px solid var(--inksoft-border-color);
  border-radius: 10px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.ics-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.ics-thumb.is-active {
  border-color: var(--inksoft-button-bg);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.22);
}

.ics-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--inksoft-border-color);
  background: rgba(255, 255, 255, 0.92);
  color: var(--inksoft-heading-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.ics-gallery-nav.is-prev {
  left: 10px;
}

.ics-gallery-nav.is-next {
  right: 10px;
}

.ics-gallery-nav:hover,
.ics-gallery-nav:focus-visible {
  background: #fff;
  border-color: var(--inksoft-button-bg);
}

.ics-gallery-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ics-product-summary {
  border: none;
  border-radius: var(--inksoft-border-radius);
  background: #fff;
  box-shadow: none;
  padding: 1.25rem;
  position: sticky;
  top: 24px;
}

.ics-product-title {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  margin-bottom: 0.25rem;
}

.ics-product-price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--inksoft-heading-color);
  margin-bottom: 1rem;
}

.ics-product-option-group + .ics-product-option-group {
  margin-top: 0.9rem;
}

.ics-option-title {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.ics-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ics-swatch {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  background-color: #d1d5db;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.ics-swatch.is-active {
  border-color: var(--inksoft-button-bg);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.ics-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ics-size-option {
  border: 1px solid var(--inksoft-border-color);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  background: #fff;
  color: var(--inksoft-heading-color);
  font-weight: 600;
}

.ics-size-option.is-active {
  background: var(--inksoft-heading-color);
  border-color: var(--inksoft-heading-color);
  color: #fff;
}

.ics-quantity-wrap {
  display: inline-flex;
  border: 1px solid var(--inksoft-border-color);
  border-radius: 8px;
  overflow: hidden;
}

.ics-qty-btn {
  width: 38px;
  border: 0;
  background: #f8fafc;
  color: var(--inksoft-heading-color);
  font-size: 1.2rem;
}

input[data-role='quantity'] {
  width: 64px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--inksoft-border-color);
  border-right: 1px solid var(--inksoft-border-color);
}

.ics-product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.ics-product-actions .is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

html.ics-design-modal-open,
body.ics-design-modal-open {
  overflow: hidden;
}

.ics-design-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  padding: 0;
  display: grid;
  place-items: center;
}

.ics-design-modal[hidden] {
  display: none !important;
}

.ics-design-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.ics-design-modal__dialog {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ics-design-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--inksoft-border-color);
  padding: 0.85rem 1.1rem;
}

.ics-design-modal__header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--inksoft-heading-color);
  text-align: center;
  flex: 1 1 auto;
}

.ics-design-modal__back,
.ics-design-modal__footer-back {
  border: 1px solid var(--inksoft-border-color);
  background: #fff;
  color: var(--inksoft-heading-color);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border-radius: 999px;
  min-height: 2.2rem;
  padding: 0 0.9rem;
  white-space: nowrap;
}

.ics-design-modal__back:hover,
.ics-design-modal__footer-back:hover {
  border-color: var(--inksoft-heading-color);
  background: #f8fafc;
}

.ics-design-modal__close {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--inksoft-border-color);
  border-radius: 999px;
  background: #fff;
  color: var(--inksoft-heading-color);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ics-design-modal__close:hover {
  border-color: var(--inksoft-heading-color);
  background: #f8fafc;
}

.ics-design-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.ics-design-modal__footer {
  border-top: 1px solid var(--inksoft-border-color);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ics-design-modal__footer a {
  color: var(--inksoft-heading-color);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ics-design-modal__footer a:hover {
  opacity: 0.8;
}

.ics-product-block {
  border: 1px solid var(--inksoft-border-color);
  border-radius: var(--inksoft-border-radius);
  background: #fff;
  box-shadow: var(--inksoft-box-shadow);
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}

.ics-product-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.ics-spec-grid {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0.45rem 0.75rem;
}

.ics-spec-grid dt {
  font-weight: 700;
  color: var(--inksoft-heading-color);
}

.ics-spec-grid dd {
  margin: 0;
}

.ics-product-related .product-item-inner-item img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.ics-shop-filters,
.ics-tax-sidebar,
.ics-tax-product-card {
  box-shadow: var(--inksoft-box-shadow);
}

.ics-tax-product-image {
  display: block;
  border-bottom: 1px solid var(--inksoft-border-color);
  background: #fff;
}

.ics-tax-product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.ics-tax-price {
  font-weight: 700;
  color: var(--inksoft-heading-color);
}

.ics-cat-tree,
.ics-cat-tree ul {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.ics-cat-tree-item {
  border-top: 1px solid #eef2f7;
  padding: 0.4rem 0;
}

.ics-cat-tree .ics-cat-tree {
  margin-left: 0.85rem;
}

.ics-cat-filter-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  cursor: pointer;
}

.ics-cat-filter-title {
  font-size: 0.92rem;
}

.ics-cat-filter-count {
  font-size: 0.78rem;
  color: #64748b;
}

.ics-cat-tree-link {
  font-size: 0.78rem;
  margin-left: 1.5rem;
}

.ics-cat-tree-item.is-current > .ics-cat-filter-check .ics-cat-filter-title {
  font-weight: 700;
}

@media (min-width: 992px) {
  .ics-product-gallery {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
  }

  .ics-gallery-viewport {
    grid-column: 2;
    grid-row: 1;
  }

  .ics-gallery-thumbs {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .ics-thumb {
    width: 72px;
    max-width: 72px;
    margin: 0 auto;
  }
}

@media (max-width: 991.98px) {
  .ics-product-gallery,
  .ics-product-summary {
    position: static;
  }

  .ics-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 0.75rem;
    padding-bottom: 0.1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .ics-gallery-thumbs .ics-thumb {
    flex: 0 0 calc((100% - 1.5rem) / 4);
    max-width: calc((100% - 1.5rem) / 4);
    min-width: calc((100% - 1.5rem) / 4);
  }
}

@media (max-width: 575.98px) {
  .ics-design-modal__header {
    padding: 0.65rem 0.75rem;
  }

  .ics-design-modal__back,
  .ics-design-modal__footer-back {
    min-height: 2rem;
    padding: 0 0.7rem;
    font-size: 0.8rem;
  }

  .ics-design-modal__close {
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
  }

  .ics-design-modal__footer {
    padding: 0.55rem 0.75rem;
  }

  .ics-design-modal__footer a {
    font-size: 0.8rem;
  }

  body.inksoft-mobile-cols-2 .ics-tax-product-card,
  body.inksoft-mobile-cols-2 .product-item {
    margin-bottom: 0;
  }
}

/* Account page mobile improvements (theme-side overrides only) */
@media (max-width: 991.98px) {
  body.inksoft-suite-theme.ics-has-account-portal .container.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.inksoft-suite-theme.ics-has-account-portal article.post,
  body.inksoft-suite-theme.ics-has-account-portal article.page {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.inksoft-suite-theme.ics-has-account-portal .entry-content {
    overflow: hidden;
  }

  body.inksoft-suite-theme .ics-account-portal {
    padding: 0.9rem !important;
    border-radius: 12px !important;
  }

  body.inksoft-suite-theme .ics-account-portal__tabs,
  body.inksoft-suite-theme .ics-account-sections {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.42rem !important;
    padding-bottom: 0.18rem;
    scrollbar-width: none;
  }

  body.inksoft-suite-theme .ics-account-portal__tabs::-webkit-scrollbar,
  body.inksoft-suite-theme .ics-account-sections::-webkit-scrollbar {
    display: none;
  }

  body.inksoft-suite-theme .ics-account-portal__tabs button,
  body.inksoft-suite-theme .ics-account-sections button {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 2.35rem;
  }

  body.inksoft-suite-theme .ics-account-form {
    gap: 0.65rem;
  }

  body.inksoft-suite-theme .ics-account-form label > span {
    font-size: 0.82rem;
  }

  body.inksoft-suite-theme .ics-account-form input[type="text"],
  body.inksoft-suite-theme .ics-account-form input[type="email"],
  body.inksoft-suite-theme .ics-account-form input[type="password"] {
    min-height: 2.7rem;
    font-size: 16px;
  }

  body.inksoft-suite-theme .ics-account-form__grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }

  body.inksoft-suite-theme .ics-account-list-item {
    padding: 0.7rem;
  }

  body.inksoft-suite-theme .ics-account-list-item__top {
    align-items: flex-start;
    flex-direction: column;
  }

  body.inksoft-suite-theme .ics-account-cards,
  body.inksoft-suite-theme .ics-account-design-grid {
    gap: 0.6rem;
  }

  body.inksoft-suite-theme .ics-account-cards {
    grid-template-columns: 1fr;
  }

  body.inksoft-suite-theme .ics-account-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.inksoft-suite-theme .ics-account-logout,
  body.inksoft-suite-theme .ics-account-form__submit {
    width: 100%;
  }
}
