/* CHEMCHEM Homepage Theme */

:root {
  --cc-primary: #4c3880;
  --cc-primary-dark: #3a2a63;
  --cc-primary-light: #5e4d96;
  --cc-secondary: #727aad;
  --cc-danger: #ff0517;
  --cc-danger-dark: #d90414;
  --cc-success: #2a9d6e;
  --cc-success-dark: #228a5e;
  --cc-muted: #a7a9b0;
  /* legacy aliases */
  --cc-red: var(--cc-danger);
  --cc-red-dark: var(--cc-danger-dark);
  --cc-navy: var(--cc-primary);
  --cc-navy-light: var(--cc-secondary);
  --cc-text: #333333;
  --cc-text-muted: var(--cc-muted);
  --cc-border: #e5e5e5;
  --cc-footer-bg: #ececec;
  --cc-footer-dark: #4a4a4a;
  --cc-white: #ffffff;
  --cc-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --cc-font: IRANSans, Tahoma, Arial, sans-serif;
  --cc-header-height: 72px;
}

.chemchem-page {
  font-family: var(--cc-font);
  color: var(--cc-text);
  background-color: var(--cc-white);
  background-image: url('/left%20hexigons.png');
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.chemchem-page main:not(.up-main) {
  padding-top: var(--cc-header-height);
}

.chemchem-page * {
  box-sizing: border-box;
}

.chemchem-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.cc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 30px rgba(76, 56, 128, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.cc-header--scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border-bottom-color: rgba(229, 229, 229, 0.65);
  box-shadow: 0 6px 28px rgba(76, 56, 128, 0.09);
}

.cc-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  width: 100%;
  padding: 14px 32px;
  flex-wrap: wrap;
}

.cc-logo-small {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.cc-logo-small img,
.cc-logo-persian {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.cc-logo-small span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cc-navy);
  letter-spacing: 0.5px;
}

.cc-logo-small span em {
  color: var(--cc-primary);
  font-style: normal;
}

.cc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cc-nav a {
  color: var(--cc-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.cc-nav a:hover,
.cc-nav a.active {
  color: var(--cc-primary);
}

/* ── Categories mega menu ── */
.cc-nav-categories {
  position: relative;
}

.cc-nav-categories__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cc-text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.cc-nav-categories__trigger:hover,
.cc-nav-categories.is-open .cc-nav-categories__trigger {
  color: var(--cc-primary);
}

.cc-nav-categories__trigger .bi-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.cc-nav-categories.is-open .cc-nav-categories__trigger .bi-chevron-down {
  transform: rotate(180deg);
}

.cc-cat-mega {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(76, 56, 128, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(76, 56, 128, 0.16);
  z-index: 1200;
  animation: cc-dropdown-in 0.2s ease;
  overflow: visible;
}

.cc-cat-mega__status {
  margin: 0;
  padding: 20px 18px;
  font-size: 0.86rem;
  color: var(--cc-muted);
  text-align: center;
}

.cc-cat-mega__body {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 120px;
}

.cc-cat-roots {
  list-style: none;
  margin: 0;
  padding: 10px;
  min-width: 240px;
  max-height: 360px;
  overflow-y: auto;
  direction: ltr;
  scrollbar-gutter: stable;
}

.cc-cat-roots > li {
  direction: rtl;
}

.cc-cat-roots::-webkit-scrollbar {
  width: 4px;
}

.cc-cat-roots::-webkit-scrollbar-thumb {
  background: var(--cc-secondary);
  border-radius: 4px;
}

.cc-cat-root {
  position: relative;
  border-radius: 12px;
}

.cc-cat-root__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}

.cc-cat-root__arrow {
  font-size: 0.72rem;
  color: var(--cc-muted);
  flex-shrink: 0;
}

.cc-cat-root:hover .cc-cat-root__link,
.cc-cat-root.is-active .cc-cat-root__link {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-weight: 600;
}

.cc-cat-root:hover .cc-cat-root__arrow,
.cc-cat-root.is-active .cc-cat-root__arrow {
  color: var(--cc-primary);
}

.cc-cat-flyout {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(calc(-100% - 8px));
  min-width: 260px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(76, 56, 128, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(76, 56, 128, 0.14);
  padding: 10px;
  animation: cc-dropdown-in 0.18s ease;
}

.cc-cat-flyout__head {
  padding: 8px 12px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cc-primary);
  border-bottom: 1px solid #eef0f5;
  margin-bottom: 6px;
}

.cc-cat-flyout__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  direction: ltr;
  scrollbar-gutter: stable;
}

.cc-cat-flyout__list > li {
  direction: rtl;
}

.cc-cat-flyout__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #444;
  text-decoration: none;
  font-size: 0.86rem;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.cc-cat-flyout__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cc-secondary);
  flex-shrink: 0;
}

.cc-cat-flyout__link:hover {
  background: rgba(114, 122, 173, 0.1);
  color: var(--cc-primary);
}

.cc-cat-flyout__sub {
  list-style: none;
  margin: 0;
  padding: 4px 12px 8px 28px;
}

.cc-cat-flyout__sublink {
  display: block;
  padding: 6px 8px;
  color: var(--cc-muted);
  text-decoration: none;
  font-size: 0.8rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.cc-cat-flyout__sublink:hover {
  color: var(--cc-primary);
  background: rgba(76, 56, 128, 0.06);
}

.cc-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--cc-success);
  color: var(--cc-white) !important;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cc-btn-login:hover {
  background: var(--cc-success-dark);
  color: var(--cc-white) !important;
}

/* ── Header user actions (logged in) ── */
.cc-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cc-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #1e3a5f;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #c7d2fe;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cc-wallet-chip:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.cc-header-wallet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(76, 56, 128, 0.2);
  border-radius: 12px;
  background: rgba(76, 56, 128, 0.04);
  text-decoration: none;
  color: var(--cc-primary);
  transition: background 0.2s ease, border-color 0.2s ease;
  min-height: 40px;
}

.cc-header-wallet:hover {
  background: rgba(76, 56, 128, 0.08);
  border-color: rgba(76, 56, 128, 0.35);
}

.cc-header-wallet__icon {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-header-wallet__balance {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--cc-primary);
  line-height: 1;
}

.cc-icon-btn--wallet {
  pointer-events: none;
}

.cc-header-dropdown {
  position: relative;
}

.cc-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(76, 56, 128, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--cc-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}

.cc-icon-btn:hover,
.cc-icon-btn.is-active {
  background: rgba(76, 56, 128, 0.08);
  border-color: rgba(76, 56, 128, 0.22);
  color: var(--cc-primary);
  box-shadow: 0 4px 14px rgba(76, 56, 128, 0.1);
}

.cc-icon-btn--user {
  font-size: 1.45rem;
  overflow: hidden;
}

.cc-icon-btn__shop-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.cc-icon-btn__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cc-muted);
  border: 1.5px solid #fff;
}

.cc-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(76, 56, 128, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(76, 56, 128, 0.14);
  padding: 8px;
  z-index: 1100;
  animation: cc-dropdown-in 0.18s ease;
}

.cc-dropdown--notif {
  left: 0;
  right: auto;
  min-width: 240px;
  padding: 0;
  overflow: hidden;
}

.cc-dropdown--user {
  left: 0;
  right: auto;
}

.cc-dropdown--cart {
  left: 0;
  right: auto;
  min-width: 300px;
  max-width: min(360px, calc(100vw - 24px));
  padding: 0;
  overflow: hidden;
}

.cc-icon-btn--cart {
  position: relative;
}

.cc-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
}

.cc-cart-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f5;
}

.cc-cart-list__item:last-child {
  border-bottom: none;
}

.cc-cart-list__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.cc-cart-list__info strong {
  font-size: 0.84rem;
  color: var(--cc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-cart-list__shop {
  font-size: 0.75rem;
  color: var(--cc-muted);
}

.cc-cart-list__price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cc-primary);
}

.cc-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cc-cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  background: #fff;
  color: var(--cc-primary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.cc-cart-qty button:hover {
  background: #f4f6fb;
  border-color: var(--cc-primary);
}

.cc-cart-qty span {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cc-cart-dropdown__footer {
  padding: 12px 14px;
  border-top: 1px solid #eef0f5;
  background: #fafbfc;
}

.cc-cart-dropdown__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.cc-cart-dropdown__total strong {
  color: var(--cc-primary);
  font-size: 0.95rem;
}

.cc-cart-dropdown__link {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cc-primary);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: opacity 0.15s;
}

.cc-cart-dropdown__link:hover {
  opacity: 0.92;
}

/* Cart page */
.cc-cart-page {
  max-width: 1100px;
  margin: 0 auto;
}

.cc-cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .cc-cart-layout {
    grid-template-columns: 1fr;
  }
}

.cc-cart-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-cart-page-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f5;
}

.cc-cart-page-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .cc-cart-page-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.cc-cart-page-item__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cc-cart-page-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eef0f5;
  flex-shrink: 0;
}

.cc-cart-qty--page button {
  width: 32px;
  height: 32px;
}

.cc-cart-sidebar {
  position: sticky;
  top: 88px;
}

.cc-cart-invoice-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-cart-invoice-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.cc-cart-invoice-total {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--cc-primary);
}

/* Variant page add-to-cart */
.cc-variant-page__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: var(--cc-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.cc-variant-page__cart-btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cc-variant-page__cart-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cc-mobile-nav__item--cart {
  position: relative;
}

.cc-mobile-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--cc-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Shop status in nav */
.cc-icon-btn--status {
  position: relative;
}

.cc-shop-status-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: content-box;
}

.cc-shop-status-dot--active {
  background: #2a9d6e;
}

.cc-shop-status-dot--pending {
  background: #f59e0b;
}

.cc-shop-status-dot--inactive {
  background: #ef4444;
}

.cc-icon-btn--status.is-active .cc-shop-status-dot,
.cc-icon-btn--status.is-pending .cc-shop-status-dot,
.cc-icon-btn--status.is-inactive .cc-shop-status-dot {
  border-color: #f4f6fb;
}

.cc-dropdown--status {
  left: 0;
  right: auto;
  min-width: 280px;
  max-width: min(320px, calc(100vw - 24px));
  padding: 0;
  overflow: hidden;
}

.cc-shop-status-panel {
  padding: 14px;
}

.cc-shop-status-panel__name {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cc-text);
}

.cc-shop-status-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cc-shop-status-panel__badge.is-active {
  background: rgba(42, 157, 110, 0.12);
  color: #2a9d6e;
}

.cc-shop-status-panel__badge.is-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.cc-shop-status-panel__badge.is-inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.cc-shop-status-panel__alert {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
  font-size: 0.84rem;
  line-height: 1.6;
}

.cc-shop-status-panel__alert strong {
  display: block;
  margin-bottom: 4px;
}

.cc-shop-status-panel__alert p {
  margin: 0;
}

.cc-shop-status-panel__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--cc-muted);
  line-height: 1.7;
}

@keyframes cc-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc-dropdown__head {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cc-primary);
  border-bottom: 1px solid #eef0f5;
}

.cc-dropdown__empty {
  margin: 0;
  padding: 20px 14px;
  font-size: 0.84rem;
  color: var(--cc-muted);
  text-align: center;
}

.cc-notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--cc-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.cc-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.cc-notif-list__item {
  border-bottom: 1px solid #eef0f5;
}

.cc-notif-list__item:last-child {
  border-bottom: none;
}

.cc-notif-list__link {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
}

.cc-notif-list__link:hover {
  background: rgba(76, 56, 128, 0.06);
}

.cc-notif-list__title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 4px;
}

.cc-notif-list__text {
  display: block;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.cc-mobile-notif-panel {
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(76, 56, 128, 0.08);
}

.cc-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: right;
}

.cc-dropdown__item i {
  color: var(--cc-secondary);
  font-size: 1rem;
}

.cc-dropdown__item:hover {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
}

.cc-dropdown__item--danger {
  color: var(--cc-danger);
}

.cc-dropdown__item--danger i {
  color: var(--cc-danger);
}

.cc-dropdown__item--danger:hover {
  background: rgba(255, 5, 23, 0.08);
  color: var(--cc-danger);
}

/* ── Hero (Google-style centered search) ── */
.cc-hero {
  text-align: center;
  padding: 88px 24px 72px;
  min-height: min(100vh, 772px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  background-image: url('/hero%20section.png');
  background-repeat: no-repeat;
  overflow: visible;
}

.cc-hero.is-search-open {
  z-index: 3000;
}

.cc-hero-logo {
  margin-bottom: 32px;
}

.cc-hero .chemchem-inner {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-hero-search {
  width: 100%;
  max-width: 100%;
}

.cc-hero-search .cc-search-form {
  width: 100%;
  min-width: min(100%, 760px);
  max-width: 100%;
}

.cc-logo-hero {
  max-height: 200px;
  width: auto;
  max-width: min(100%, 640px);
  object-fit: contain;
}

.cc-hero-logo-text {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cc-navy);
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.1;
}

.cc-hero-logo-text span {
  color: var(--cc-primary);
}

.cc-hero-subtitle {
  color: var(--cc-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cc-hero-cta {
  margin-top: 20px;
}

.cc-search-form {
  display: flex;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  overflow: visible;
  box-shadow: var(--cc-shadow);
  background: var(--cc-white);
  position: relative;
  z-index: 250;
}

.cc-search-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 260;
}

.cc-search-dropdown-wrap.is-open {
  z-index: 3100;
}

.cc-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 3200;
}

.cc-search-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--cc-primary);
  color: var(--cc-white);
  border: none;
  font-family: var(--cc-font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  height: 100%;
  min-height: 54px;
  border-radius: 0 8px 8px 0;
  transition: background 0.2s;
}

.cc-search-dropdown-btn:hover {
  background: var(--cc-primary-dark);
}

.cc-search-dropdown-btn .bi-chevron-down {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.cc-search-dropdown-btn .bi-chevron-down.is-open {
  transform: rotate(180deg);
}

.cc-search-dropdown li button {
  width: 100%;
  text-align: right;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: var(--cc-font);
  font-size: 0.9rem;
  color: var(--cc-text);
  cursor: pointer;
  transition: background 0.15s;
}

.cc-search-dropdown li button:hover {
  background: #f5f5f5;
  color: var(--cc-primary);
}

.cc-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 8px 0 16px;
  gap: 4px;
  position: relative;
  min-width: 0;
}

.cc-search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.cc-search-icon-btn:hover:not(:disabled) {
  color: var(--cc-primary);
  background: rgba(76, 56, 128, 0.08);
}

.cc-search-icon-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.cc-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 0;
  font-family: var(--cc-font);
  font-size: 0.95rem;
  background: transparent;
  direction: rtl;
  min-width: 0;
}

/* ── Drag Sliders ── */
.cc-drag-slide {
  width: auto !important;
  height: auto;
}

.cc-feature-slide {
  width: 220px !important;
  height: auto !important;
  padding-right: 0.5rem;
}

.cc-feature-slide .cc-feature-card {
  width: 220px;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-partner-slide {
  width: 160px !important;
}

.cc-partner-slide .cc-partner-box {
  width: 160px;
  height: 160px;
}

.cc-features {
  padding: 32px 0 64px;
  position: relative;
  z-index: 1;
}

.cc-features-loading {
  text-align: center;
  color: var(--cc-text-muted);
  padding: 24px 0;
  margin: 0;
}

.cc-features .chemchem-inner {
  overflow-x: clip;
  overflow-y: visible;
}

@supports not (overflow: clip) {
  .cc-features .chemchem-inner {
    overflow-x: hidden;
    overflow-y: visible;
  }
}

.cc-features-slider-wrap {
  overflow-x: clip;
  overflow-y: visible;
  padding: 10px 0 28px;
  margin: 0 auto;
}

@supports not (overflow: clip) {
  .cc-features-slider-wrap {
    overflow-x: hidden;
  }
}

.cc-features-slider-wrap .cc-drag-slider {
  overflow: hidden !important;
  padding: 2rem 0;
  margin: 0;
}

.cc-features-slider-wrap .cc-drag-slider .swiper {
  overflow: hidden !important;
  margin: 0;
  padding: 0;
}

.cc-drag-slider .swiper-wrapper {
  align-items: stretch;
}

.cc-category-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.cc-feature-icon .cc-category-icon-img {
  width: 44px;
  height: 44px;
}

/* ── HeroBiz Services inside ChemChem ── */
.cc-services-section {
  padding: 60px 0 80px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.cc-services-section .section-header {
  padding-bottom: 48px;
}

.chemchem-page .cc-services-section.services .section-header h2 {
  font-family: var(--cc-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cc-navy);
  position: relative;
}

.chemchem-page .cc-services-section.services .section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--cc-primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.chemchem-page .cc-services-section.services .section-header p {
  font-family: var(--cc-font);
  color: var(--cc-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.chemchem-page .cc-services-section.services .service-item {
  margin-bottom: 8px;
}

.chemchem-page .cc-services-section.services .img {
  min-height: 240px;
  background: #f4f5f8;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--cc-border);
}

.chemchem-page .cc-services-section.services .img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.chemchem-page .cc-services-section.services .details {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.chemchem-page .cc-services-section.services .details h3 {
  color: var(--cc-primary) !important;
  font-family: var(--cc-font);
  font-weight: 700;
}

.chemchem-page .cc-services-section.services .details p {
  color: var(--cc-text-muted);
  font-family: var(--cc-font);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chemchem-page .cc-services-section.services .details .icon {
  width: 80px;
  height: 80px;
  top: -40px;
  left: calc(50% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cc-primary) !important;
  border-color: var(--cc-white);
}

.chemchem-page .cc-services-section.services .details .icon i {
  color: var(--cc-white) !important;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chemchem-page .cc-services-section.services .details .icon .cc-service-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.chemchem-page .cc-services-section.services .service-item:hover .details h3 {
  color: var(--cc-primary-dark) !important;
}

.chemchem-page .cc-services-section.services .service-item:hover .details .icon {
  background: var(--cc-white) !important;
  border: 2px solid var(--cc-primary) !important;
}

.chemchem-page .cc-services-section.services .service-item:hover .details .icon i {
  color: var(--cc-primary) !important;
}

.cc-services-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.cc-services-more-btn {
  border: none;
  background: var(--cc-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cc-services-more-btn:hover {
  background: #3d2d6a;
}

.cc-marquee--useful-links {
  margin-top: 8px;
}

.cc-marquee--useful-links .cc-marquee__group {
  gap: 24px;
  align-items: stretch;
}

.cc-useful-link-card {
  flex: 0 0 360px;
  width: 360px;
  max-width: 360px;
}

.cc-marquee--useful-links .service-item {
  margin-bottom: 0;
  height: 100%;
}

.chemchem-page .cc-services-section.cc-useful-links-section .details p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .cc-useful-link-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
  }
}

.cc-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cc-feature-card {
  background: var(--cc-white);
  border: none;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cc-feature-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.cc-feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-primary);
  font-size: 2.25rem;
  border-radius: 50%;
  background: rgba(76, 56, 128, 0.08);
}

.cc-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cc-navy);
  margin: 0 0 8px;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.cc-feature-card p {
  font-size: 0.82rem;
  color: var(--cc-text-muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

/* ── Section Title ── */
.cc-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.cc-section-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cc-navy);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cc-section-title h2 i {
  color: var(--cc-primary);
  font-size: 1.2rem;
}

/* ── Products Grid ── */
.cc-products {
  padding: 20px 0 56px;
}

.cc-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cc-product-card {
  background: var(--cc-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--cc-shadow);
  border: 1px solid var(--cc-border);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cc-product-card:hover {
  transform: translateY(-4px);
}

.cc-product-img {
  position: relative;
  height: 200px;
  background: #f8f8f8;
  overflow: hidden;
}

.cc-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-product-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cc-product-badge span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cc-navy);
}

.cc-product-badge i {
  color: var(--cc-primary);
}

.cc-product-body {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--cc-text-muted);
}

/* ── About Section ── */
.cc-about {
  padding: 56px 0;
}

.cc-about-card {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 20px;
  box-shadow: var(--cc-shadow);
  padding: 40px;
}

.cc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.cc-about-text h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cc-navy);
  margin: 0 0 20px;
}

.cc-about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cc-about-tab {
  border: 1px solid #e0e4ee;
  background: #fff;
  color: #555;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cc-about-tab.is-active {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
  color: #fff;
}

.cc-about-video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--cc-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-end;
  transition: background 0.2s ease;
}

.cc-about-video-link:hover {
  background: #3d2d6a;
  color: #fff;
}

.cc-about-text {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.cc-about-text-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cc-about-desc {
  flex: 1;
  overflow: hidden;
}

.cc-about-desc p {
  margin: 0;
}

.cc-about-more-btn {
  margin-top: 12px;
  border: none;
  background: transparent;
  color: var(--cc-primary);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.cc-about-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  border-radius: 16px;
  object-fit: contain;
}

.cc-about-text p {
  font-size: 0.92rem;
  color: var(--cc-text-muted);
  line-height: 2;
  margin: 0 0 16px;
}

.cc-about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.cc-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--cc-text);
}

.cc-about-list li i {
  color: var(--cc-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.cc-about-visual {
  background: #f8f9fc;
  border-radius: 16px;
  border: 1px solid #eceef4;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  box-shadow: none;
}

/* ── Partner Marquee ── */
.cc-partners {
  padding: 40px 0;
  overflow: hidden;
}

.cc-partners__title {
  text-align: center;
  margin: 0 0 24px;
  font-size: 1.5rem;
  color: var(--cc-primary);
  font-weight: 800;
}

.cc-partners-triple {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cc-partner-box--linked {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ebf2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.cc-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.cc-partner-card--titled {
  min-width: 160px;
}

.cc-partner-card__title {
  display: block;
  max-width: 160px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cc-primary-dark);
  text-align: center;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.cc-partner-card:hover .cc-partner-card__title {
  color: var(--cc-primary);
}

.cc-partner-card:hover .cc-partner-box--linked {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 56, 128, 0.12);
}

.cc-partner-box__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.cc-partner-box--sm .cc-partner-box__img {
  padding: 0;
}

.cc-partner-box__placeholder {
  font-size: 0.75rem;
  color: var(--cc-muted);
  text-align: center;
  padding: 8px;
}

.cc-marquee.cc-marquee--partners {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

/* قدیمی — فقط برای مارکی‌های غیر partners */
.cc-marquee:not(.cc-marquee--partners) .cc-marquee__track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: cc-marquee-right 45s linear infinite;
  will-change: transform;
}

.cc-marquee:not(.cc-marquee--partners):hover .cc-marquee__track {
  animation-play-state: paused;
}

@keyframes cc-marquee-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.cc-partner-box {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  background: #d9d9d9;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ── Stats Section ── */
.cc-stats {
  padding: 56px 0;
}

.cc-stats--counters {
  background: linear-gradient(180deg, rgba(248, 249, 252, 0.9) 0%, transparent 100%);
}

.cc-stat-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cc-stat-counter-card {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(30, 41, 59, 0.08);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cc-stat-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(76, 56, 128, 0.12);
}

.cc-stat-counter-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(76, 56, 128, 0.1);
  color: var(--cc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cc-stat-counter-card__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cc-navy);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.cc-stat-counter-card__label {
  margin: 4px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cc-text-muted);
}

.cc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.cc-stats-chart {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-stats-chart img {
  max-width: 100%;
  height: auto;
}

.cc-stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cc-stat-card {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--cc-shadow);
}

.cc-stat-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cc-navy);
  margin: 0 0 8px;
}

.cc-stat-card p {
  font-size: 0.82rem;
  color: var(--cc-text-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.cc-stat-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.cc-stat-bar {
  flex: 1;
  background: linear-gradient(to top, var(--cc-secondary), var(--cc-primary-light));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}

/* ── Footer ── */
.cc-footer {
  background: var(--cc-footer-bg);
  position: relative;
  z-index: 1;
}

.cc-footer-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 28px 0;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
}

.cc-footer-badge {
  width: 80px;
  height: 80px;
  background: var(--cc-white);
  border-radius: 8px;
  border: 1px solid var(--cc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--cc-text-muted);
  text-align: center;
}

.cc-footer-main {
  padding: 40px 0;
  border-top: 1px solid #ddd;
}

.cc-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.cc-footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cc-navy);
  margin: 0 0 20px;
}

.cc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cc-footer-col ul li {
  margin-bottom: 10px;
}

.cc-footer-col ul li a {
  color: var(--cc-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.cc-footer-col ul li a:hover {
  color: var(--cc-primary);
}

.cc-footer-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  color: var(--cc-text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s;
}

.cc-footer-link-btn:hover {
  color: var(--cc-primary);
}

.cc-footer-contact p {
  font-size: 0.88rem;
  color: var(--cc-text-muted);
  margin: 0 0 8px;
  line-height: 1.8;
}

.cc-newsletter {
  margin-top: 20px;
}

.cc-newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 10px;
}

.cc-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--cc-border);
  border-radius: 6px 0 0 6px;
  font-family: var(--cc-font);
  font-size: 0.88rem;
  outline: none;
  direction: rtl;
}

.cc-newsletter-form button {
  padding: 10px 20px;
  background: var(--cc-success);
  color: var(--cc-white);
  border: none;
  border-radius: 0 6px 6px 0;
  font-family: var(--cc-font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.cc-footer-bottom {
  background: var(--cc-footer-dark);
  color: #ccc;
  padding: 16px 0;
}

.cc-footer-bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cc-footer-legal {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.9;
  color: #bbb;
  flex: 1;
  min-width: 240px;
  max-width: 720px;
}

.cc-social {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

.cc-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-white);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  width: 52px;
  height: 52px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.cc-social a i {
  font-size: 1.65rem;
}

.cc-social__icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.cc-social a:hover {
  color: var(--cc-primary);
  transform: translateY(-3px);
  border-color: rgba(114, 122, 173, 0.65);
  box-shadow: 0 10px 24px rgba(76, 56, 128, 0.28);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .cc-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cc-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-about-grid,
  .cc-stats-grid {
    grid-template-columns: 1fr;
  }

  .cc-stat-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-partners-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .chemchem-page {
    background-size: 160px auto;
    background-position: left top;
  }

  .cc-header-bar {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .cc-nav--desktop {
    display: none;
  }

  .cc-hero {
    padding: 56px 16px 48px;
    min-height: min(58vh, 480px);
    background-size: auto min(55%, 280px);
  }

  .cc-hero-logo {
    margin-bottom: 24px;
  }

  .cc-hero-subtitle {
    margin-bottom: 32px;
  }

  .cc-logo-hero {
    max-height: 144px;
  }

  .cc-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-products-grid {
    grid-template-columns: 1fr;
  }

  .cc-partners-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-stats-cards {
    grid-template-columns: 1fr;
  }

  .cc-footer-grid {
    grid-template-columns: 1fr;
  }

  .cc-hero-logo-text {
    font-size: 2rem;
  }

  .cc-search-form {
    flex-direction: column;
    overflow: hidden;
  }

  .cc-search-dropdown-btn {
    width: 100%;
    border-radius: 8px 8px 0 0;
    justify-content: center;
  }

  .cc-search-dropdown {
    right: 0;
    left: 0;
    min-width: 100%;
  }
}

/* ── Modern mega menu ── */
.cc-cat-mega.cc-cat-mega--modern {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--cc-mega-top, 72px);
  transform: translateX(-50%);
  min-width: min(920px, calc(100vw - 32px));
  max-width: min(920px, calc(100vw - 32px));
  max-height: min(70vh, 460px);
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #e8ebf2;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(30, 41, 59, 0.14);
  overflow: hidden;
  z-index: 1100;
  animation: none;
}

.cc-cat-mega.cc-cat-mega--modern.is-positioned {
  opacity: 1;
  visibility: visible;
}

.cc-cat-mega.cc-cat-mega--modern:not(.is-positioned) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cc-cat-mega__panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-height: min(70vh, 460px);
  min-height: 280px;
}

.cc-cat-mega__parents {
  background: #f8f9fc;
  border-left: 1px solid #eceef4;
  padding: 16px 12px;
}

.cc-cat-mega__children {
  padding: 20px 22px;
  overflow: auto;
  max-height: 420px;
}

.cc-cat-mega__panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 10px;
  padding: 0 8px;
}

.cc-cat-mega__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.cc-cat-mega__panel-desc {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--cc-muted);
  line-height: 1.7;
}

.cc-cat-mega__view-all {
  color: var(--cc-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.cc-cat-roots--modern {
  min-width: 0;
  max-height: calc(min(70vh, 460px) - 56px);
  overflow-y: auto;
  padding: 0;
  direction: rtl;
}

.cc-cat-root__link--modern {
  gap: 12px;
  padding: 12px;
  justify-content: flex-start;
  text-align: right;
  direction: rtl;
}

.cc-cat-root__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8ebf2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--cc-primary);
  line-height: 0;
}

.cc-cat-root__icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cc-cat-root__icon .cc-category-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.cc-cat-root__name {
  flex: 1;
  text-align: right;
}

.cc-cat-mega__child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.cc-cat-mega__child-title {
  display: inline-block;
  font-weight: 700;
  color: #2f3542;
  text-decoration: none;
  margin-bottom: 8px;
}

.cc-cat-mega__child-title:hover {
  color: var(--cc-primary);
}

.cc-cat-mega__hover-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 4px;
}

.cc-cat-mega__hover-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--cc-danger);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-cat-mega__hover-link:hover::after,
.cc-cat-mega__hover-link:focus-visible::after {
  width: 100%;
}

.cc-cat-mega__grand-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-cat-mega__grand-list a {
  display: inline-block;
  padding: 6px 0;
  color: var(--cc-muted);
  text-decoration: none;
  font-size: 0.84rem;
}

.cc-cat-mega__grand-list a:hover {
  color: var(--cc-primary);
}

.cc-cat-mega__empty-child {
  color: var(--cc-muted);
  font-size: 0.88rem;
}

.cc-feature-card--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-feature-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(76, 56, 128, 0.12);
}

.cc-service-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── Search suggest dropdown ── */
.cc-search-input-wrap.is-suggest-open .cc-search-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.cc-search-suggest {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 40px rgba(30, 41, 59, 0.12);
  max-height: 380px;
  overflow: auto;
  z-index: 50;
  padding: 8px;
}

.cc-search-suggest__group {
  padding: 6px 0;
}

.cc-search-suggest__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cc-muted);
  padding: 4px 10px 8px;
}

.cc-search-suggest__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  text-align: right;
  cursor: pointer;
  border-radius: 10px;
  font-family: inherit;
  color: #333;
}

.cc-search-suggest__item:hover {
  background: #f4f6fb;
}

.cc-search-suggest__item small {
  margin-right: auto;
  color: var(--cc-muted);
  font-size: 0.75rem;
}

.cc-search-suggest__all {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: none;
  border-top: 1px solid #eef1f6;
  background: #fafbfe;
  color: var(--cc-primary);
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 0 12px 12px;
  font-family: inherit;
}

.cc-search-suggest__empty {
  padding: 16px;
  text-align: center;
  color: var(--cc-muted);
  margin: 0;
}

/* ── Search page ── */
.cc-search-page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
  position: relative;
  z-index: 40;
  overflow: visible;
}

.cc-search-page-hero .chemchem-inner {
  z-index: 40;
  overflow: visible;
}

.cc-search-page-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--cc-primary);
}

.cc-search-page-subtitle {
  margin: 0 0 20px;
  color: var(--cc-muted);
}

.cc-search-page-body {
  padding: 24px 0 56px;
  position: relative;
  z-index: 1;
}

.cc-search-page-body .chemchem-inner {
  z-index: 1;
}

.cc-search-page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cc-search-filters__card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  padding: 18px;
  position: sticky;
  top: 88px;
  overflow: visible;
}

.cc-search-filters__card h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--cc-primary);
}

.cc-search-filter-item {
  width: 100%;
  text-align: right;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  color: #444;
}

.cc-search-filter-item:hover,
.cc-search-filter-item.is-active {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-weight: 600;
}

.cc-search-filter-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-search-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.cc-search-results__loading,
.cc-search-results__empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--cc-muted);
}

.cc-search-results__empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.cc-search-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cc-search-pagination__btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #dfe4ee;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}

.cc-search-pagination__btn.is-active {
  background: var(--cc-primary);
  color: #fff;
  border-color: var(--cc-primary);
}

.cc-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30, 41, 59, 0.1);
}

.cc-product-card__img-wrap {
  aspect-ratio: 4/3;
  background: #f3f5f9;
}

.cc-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-product-card__body {
  padding: 14px 16px 16px;
}

.cc-product-card__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cc-product-card__meta,
.cc-product-card__category {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--cc-muted);
}

.cc-product-card__price {
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--cc-primary);
}

.cc-product-card__availability {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.cc-product-card__availability.is-available {
  color: #1b8a4a;
}

.cc-product-card__availability.is-unavailable {
  color: #c62828;
}

button.cc-product-card {
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.cc-product-card--selectable.is-selected {
  border-color: var(--cc-primary);
  box-shadow: 0 14px 32px rgba(76, 56, 128, 0.16);
}

.cc-product-card--selectable.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.cc-product-card--selectable.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.cc-product-page {
  padding: 32px 0 56px;
}

.cc-product-breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--cc-muted);
}

.cc-product-breadcrumb a {
  color: var(--cc-primary);
  text-decoration: none;
}

.cc-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 32px;
  align-items: start;
}

.cc-product-detail__media {
  width: 100%;
  max-width: 720px;
  justify-self: start;
}

.cc-product-detail__img,
.cc-product-detail__img-placeholder {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #e8ebf2;
  background: #f5f7fb;
  min-height: 320px;
  object-fit: cover;
}

.cc-product-detail__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #c2c9d6;
}

.cc-product-detail__en {
  color: var(--cc-muted);
}

.cc-product-detail__badge {
  display: inline-block;
  padding: 8px 12px;
  background: #f4f6fb;
  border-radius: 10px;
  margin: 12px 0;
}

.cc-product-detail__variants ul {
  padding-right: 18px;
}

@media (max-width: 900px) {
  .cc-cat-mega__panel {
    grid-template-columns: 1fr;
  }

  .cc-cat-mega__parents {
    border-left: none;
    border-bottom: 1px solid #eceef4;
  }

  .cc-search-page-grid {
    grid-template-columns: 1fr;
  }

  .cc-search-filters {
    order: -1;
  }

  .cc-product-detail {
    grid-template-columns: 1fr;
  }
}

.cc-feature-card--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-feature-card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(76, 56, 128, 0.12);
}

.cc-service-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── Content detail page ── */
.cc-content-detail {
  padding: 48px 0 72px;
}

.cc-content-detail__status {
  text-align: center;
  color: var(--cc-muted);
  padding: 48px 0;
}

.cc-content-detail__card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 16px 48px rgba(30, 41, 59, 0.08);
  overflow: hidden;
}

.cc-content-detail__hero {
  width: 100%;
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8ebf2;
  box-shadow: 0 12px 32px rgba(76, 56, 128, 0.1);
}

.cc-content-detail__hero-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.cc-content-detail__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(76, 56, 128, 0.1);
  color: var(--cc-primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cc-content-detail__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.cc-content-detail__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(76, 56, 128, 0.15);
  background: #f4f6fb;
}

.cc-content-detail__avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--cc-muted);
}

.cc-content-detail__card h1 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  color: var(--cc-primary);
}

.cc-content-detail__desc {
  margin: 0 0 28px;
  color: #555;
  line-height: 1.9;
  text-align: justify;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cc-rich-text {
  text-align: justify;
  line-height: 1.95;
  color: var(--cc-text);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cc-rich-text p {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cc-rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cc-rich-text iframe,
.cc-rich-text video {
  max-width: 100%;
}

.cc-rich-text table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.cc-rich-text pre,
.cc-rich-text code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cc-content-detail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--cc-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cc-content-detail__btn:hover {
  background: #3d2d6a;
}

.cc-footer-badge--img {
  padding: 8px;
  overflow: hidden;
}

.cc-footer-badge--img img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.cc-footer-col--licenses .cc-footer-licenses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cc-footer-col--licenses .cc-footer-badge {
  width: 100%;
  height: 72px;
  margin: 0;
}

.cc-search-input-wrap.is-suggest-open {
  z-index: 30;
}

.cc-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(30, 35, 60, 0.12);
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  z-index: 40;
}

.cc-search-suggest__group {
  padding: 6px 0;
}

.cc-search-suggest__label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cc-muted);
  padding: 6px 10px;
}

.cc-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: right;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  color: #333;
}

.cc-search-suggest__item:hover {
  background: #f4f6fb;
  color: var(--cc-primary);
}

.cc-search-suggest__item small {
  margin-right: auto;
  color: var(--cc-muted);
  font-size: 0.75rem;
}

.cc-search-suggest__all {
  width: 100%;
  margin-top: 6px;
  border: none;
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}

.cc-search-suggest__empty {
  text-align: center;
  color: var(--cc-muted);
  padding: 18px;
  margin: 0;
}

/* ── Search page ── */
.cc-search-page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
  position: relative;
  z-index: 40;
  overflow: visible;
}

.cc-search-page-hero .chemchem-inner {
  z-index: 40;
  overflow: visible;
}

.cc-search-page-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--cc-primary);
}

.cc-search-page-subtitle {
  margin: 0 0 20px;
  color: var(--cc-muted);
}

.cc-search-page-body {
  padding: 24px 0 56px;
  position: relative;
  z-index: 1;
}

.cc-search-page-body .chemchem-inner {
  z-index: 1;
}

.cc-search-page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cc-search-filters__card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  padding: 18px;
  position: sticky;
  top: 96px;
}

.cc-search-filters__card h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--cc-primary);
}

.cc-search-filter-item {
  display: block;
  width: 100%;
  text-align: right;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  color: #444;
}

.cc-search-filter-item.is-active,
.cc-search-filter-item:hover {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-weight: 600;
}

.cc-search-filter-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-search-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.cc-search-results__loading,
.cc-search-results__empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--cc-muted);
}

.cc-search-results__empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.cc-search-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cc-search-pagination__btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #dde2ec;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}

.cc-search-pagination__btn.is-active {
  background: var(--cc-primary);
  color: #fff;
  border-color: var(--cc-primary);
}

.cc-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30, 35, 60, 0.1);
}

.cc-product-card__img-wrap {
  aspect-ratio: 4/3;
  background: #f3f5f9;
}

.cc-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-product-card__body {
  padding: 14px 16px 16px;
}

.cc-product-card__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
}

.cc-product-card__meta,
.cc-product-card__category {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--cc-muted);
}

.cc-product-card__price {
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--cc-primary);
}

.cc-product-card__availability {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.cc-product-card__availability.is-available {
  color: #1b8a4a;
}

.cc-product-card__availability.is-unavailable {
  color: #c62828;
}

button.cc-product-card {
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.cc-product-card--selectable.is-selected {
  border-color: var(--cc-primary);
  box-shadow: 0 14px 32px rgba(76, 56, 128, 0.16);
}

.cc-product-card--selectable.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.cc-product-card--selectable.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.cc-product-page {
  padding: 32px 0 56px;
}

.cc-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--cc-muted);
}

.cc-product-breadcrumb a {
  color: var(--cc-primary);
  text-decoration: none;
}

.cc-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: start;
}

.cc-product-detail__media {
  width: 100%;
  max-width: 720px;
  justify-self: start;
}

.cc-product-detail__media,
.cc-product-detail__img,
.cc-product-detail__img-placeholder {
  border-radius: 20px;
  background: transparent;
  min-height: 0;
}

.cc-product-detail__img {
  width: 100%;
  object-fit: cover;
}

.cc-product-detail__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #b8c0cf;
}

.cc-product-detail__info h1 {
  margin: 0 0 10px;
  color: var(--cc-primary);
}

.cc-product-detail__en {
  color: var(--cc-muted);
}

.cc-product-detail__badge {
  display: inline-block;
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  padding: 8px 12px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 0.88rem;
}

.cc-product-detail__desc {
  line-height: 1.9;
  color: #444;
}

.cc-product-page__status {
  text-align: center;
  padding: 48px 0;
}

.cc-product-page__back {
  color: var(--cc-primary);
}

@media (max-width: 900px) {
  .cc-cat-mega__panel {
    grid-template-columns: 1fr;
  }

  .cc-search-page-grid {
    grid-template-columns: 1fr;
  }

  .cc-search-filters {
    order: -1;
  }

  .cc-product-detail {
    grid-template-columns: 1fr;
  }
}

/* ── Blog (public) ── */
.cc-blog-page {
  padding: 2.5rem 0 4rem;
}

.cc-blog-page__header {
  margin-bottom: 2rem;
}

.cc-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--cc-text-muted);
  margin-bottom: 0.75rem;
}

.cc-blog-breadcrumb a {
  color: var(--cc-primary);
  text-decoration: none;
}

.cc-blog-breadcrumb a:hover {
  text-decoration: underline;
}

.cc-blog-page__header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--cc-primary-dark);
}

.cc-blog-page__subtitle {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.8;
}

.cc-blog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cc-blog-main {
  min-width: 0;
  overflow: hidden;
}

.cc-blog-status {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cc-text-muted);
}

.cc-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.cc-blog-card {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cc-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cc-blog-card__image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cc-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cc-blog-card:hover .cc-blog-card__image {
  transform: scale(1.03);
}

.cc-blog-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.cc-blog-card__date,
.cc-blog-card__event-range {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--cc-text-muted);
}

.cc-blog-card__event-range {
  color: var(--cc-primary);
  font-weight: 600;
}

.cc-blog-card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.cc-blog-card__title a {
  color: var(--cc-text);
  text-decoration: none;
}

.cc-blog-card__title a:hover {
  color: var(--cc-primary);
}

.cc-blog-card__excerpt {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-blog-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cc-primary);
  font-weight: 600;
  text-decoration: none;
}

.cc-blog-card__more:hover {
  color: var(--cc-primary-dark);
}

.cc-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cc-blog-pagination button {
  border: 1px solid var(--cc-border);
  background: var(--cc-white);
  color: var(--cc-primary);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: inherit;
}

.cc-blog-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cc-blog-sidebar {
  min-width: 0;
}

.cc-blog-sidebar .cc-search-filters__card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cc-blog-sidebar__block + .cc-blog-sidebar__block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8ebf2;
}

.cc-blog-sidebar__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--cc-primary-dark);
}

.cc-blog-search {
  display: flex;
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cc-white);
}

.cc-blog-search input {
  flex: 1;
  border: 0;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.cc-blog-search button {
  border: 0;
  background: var(--cc-primary);
  color: #fff;
  width: 44px;
  cursor: pointer;
}

.cc-blog-sidebar__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cc-white);
}

.cc-blog-sidebar__nav a,
.cc-blog-sidebar__nav button {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  color: var(--cc-text);
  text-decoration: none;
  border-bottom: 1px solid var(--cc-border);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: right;
  font: inherit;
  cursor: pointer;
}

.cc-blog-sidebar__nav li:last-child a,
.cc-blog-sidebar__nav li:last-child button {
  border-bottom: 0;
}

.cc-blog-sidebar__nav a.is-active,
.cc-blog-sidebar__nav a:hover,
.cc-blog-sidebar__nav button.is-active,
.cc-blog-sidebar__nav button:hover {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
}

.cc-blog-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cc-blog-recent__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.cc-blog-recent__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cc-blog-recent__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f8;
  color: var(--cc-text-muted);
}

.cc-blog-recent__title {
  display: block;
  color: var(--cc-text);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.cc-blog-recent__title:hover {
  color: var(--cc-primary);
}

.cc-blog-recent__date {
  font-size: 0.8rem;
  color: var(--cc-text-muted);
}

.cc-blog-article {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--cc-shadow);
  overflow: hidden;
  min-width: 0;
}

.cc-blog-article__event-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.cc-blog-article__event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cc-event-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.4;
}

.cc-event-countdown--overlay {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.cc-event-countdown--overlay.cc-event-countdown--active {
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cc-event-countdown--overlay.cc-event-countdown--ended {
  background: rgba(55, 65, 81, 0.88);
  color: #f9fafb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
}

.cc-event-countdown__clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cc-event-countdown--active {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #b91c1c;
  border: 1px solid #fca5a5;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
}

.cc-event-countdown--ended {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.cc-blog-card--event-ended {
  opacity: 0.82;
}

.cc-blog-card--event-ended .cc-blog-card__image {
  filter: grayscale(0.35);
}

.cc-blog-card__image-wrap--disabled {
  position: relative;
  display: block;
  pointer-events: none;
}

.cc-blog-card__ended-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.cc-blog-card__title-text {
  color: var(--cc-text-muted);
}

.cc-blog-card__more--disabled {
  color: var(--cc-text-muted);
  font-weight: 600;
}

.cc-blog-article--ended .cc-blog-article__cover {
  filter: grayscale(0.25);
}

.cc-blog-article--ended .cc-blog-article__title {
  color: var(--cc-text-muted);
}

.cc-blog-card__body .cc-event-countdown:not(.cc-event-countdown--overlay) {
  margin-bottom: 0.35rem;
}

.cc-blog-article__hero {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.cc-blog-article__cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.cc-blog-article__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.5;
  color: var(--cc-primary-dark);
}

.cc-blog-article__meta {
  color: var(--cc-text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cc-blog-article__lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--cc-text-muted);
  margin: 0 0 1.5rem;
}

.cc-blog-article__content {
  line-height: 1.95;
  color: var(--cc-text);
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.cc-blog-article__content > * {
  max-width: 100%;
}

.cc-blog-article__content p,
.cc-blog-article__content ul,
.cc-blog-article__content ol {
  margin: 0 0 1rem;
}

.cc-blog-article__content ul,
.cc-blog-article__content ol {
  padding-right: 1.25rem;
}

.cc-blog-article__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cc-blog-article__content th,
.cc-blog-article__content td {
  border: 1px solid var(--cc-border);
  padding: 0.5rem 0.75rem;
  text-align: right;
}

.cc-blog-article__content pre,
.cc-blog-article__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f6f7fb;
  border-radius: 8px;
}

.cc-blog-article__content pre {
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.cc-blog-article__content code {
  padding: 0.15rem 0.35rem;
}

.cc-blog-article__content a {
  color: var(--cc-primary);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.cc-blog-article__content video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.cc-blog-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}

.cc-blog-article__content iframe {
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
}

.cc-blog-article__content h1,
.cc-blog-article__content h2,
.cc-blog-article__content h3 {
  color: var(--cc-primary-dark);
  margin-top: 1.5rem;
}

.cc-blog-article__content blockquote {
  border-right: 4px solid var(--cc-primary);
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  background: rgba(76, 56, 128, 0.05);
  border-radius: 0 12px 12px 0;
}

/* ── Contact page ── */
.cc-contact-page {
  padding: 2.5rem 0 4rem;
}

.cc-contact-page__header {
  margin-bottom: 2rem;
}

.cc-contact-page__header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--cc-primary-dark);
}

.cc-contact-page__subtitle {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.8;
}

.cc-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: start;
}

.cc-contact-card {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--cc-shadow);
}

.cc-contact-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  color: var(--cc-primary-dark);
}

.cc-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cc-contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.cc-contact-list i {
  color: var(--cc-primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.cc-contact-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--cc-primary-dark);
}

.cc-contact-list p {
  margin: 0;
  line-height: 1.8;
  color: var(--cc-text);
}

.cc-contact-list a {
  color: var(--cc-text);
  text-decoration: none;
}

.cc-contact-list a:hover {
  color: var(--cc-primary);
}

.cc-contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cc-border);
  min-height: 320px;
}

.cc-contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.cc-contact-map__empty {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.8;
}

.cc-contact-about {
  margin-top: 2.5rem;
}

.cc-contact-about h2 {
  margin: 0 0 1.25rem;
  color: var(--cc-primary-dark);
}

.cc-contact-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cc-contact-about__item {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--cc-shadow);
}

.cc-contact-about__image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.cc-contact-about__image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 220px;
}

.cc-contact-about__item h3 {
  margin: 0 0 0.75rem;
  color: var(--cc-primary-dark);
}

.cc-contact-about__item p {
  margin: 0;
  line-height: 1.9;
  color: var(--cc-text-muted);
  white-space: pre-line;
}

.cc-contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 18px;
  box-shadow: var(--cc-shadow);
  text-align: center;
}

.cc-contact-intro__logo img {
  max-height: 200px;
  max-width: min(100%, 420px);
  width: auto;
  object-fit: contain;
}

.cc-contact-intro__text {
  width: 100%;
  max-width: 920px;
}

.cc-contact-intro__text.cc-rich-text img {
  max-width: min(100%, 720px);
  width: auto;
  margin-inline: auto;
  display: block;
}

.cc-contact-card--info {
  position: relative;
  overflow: visible;
  padding-bottom: 2.75rem;
  margin-bottom: 1.75rem;
}

.cc-contact-social-overlap {
  position: absolute;
  top: auto;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.cc-contact-social-overlap__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cc-white);
  border: 3px solid var(--cc-primary);
  color: var(--cc-primary);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(76, 56, 128, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-contact-social-overlap__item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.cc-contact-social-overlap__item i {
  font-size: 1.35rem;
}

.cc-contact-social-overlap__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(76, 56, 128, 0.24);
}

.cc-contact-ticket {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cc-border);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cc-contact-ticket__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: var(--cc-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cc-contact-ticket__btn:hover {
  background: #3d2d6a;
  transform: translateY(-1px);
}

.cc-contact-ticket__hint {
  margin: 0.75rem 0 0;
  color: var(--cc-text-muted);
  font-size: 0.92rem;
}

.cc-contact-ticket__hint a {
  color: var(--cc-primary);
  font-weight: 600;
}

.cc-contact-about__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cc-contact-about__tab {
  border: 1px solid var(--cc-border);
  background: var(--cc-white);
  color: var(--cc-text);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cc-contact-about__tab.is-active {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(76, 56, 128, 0.2);
}

.cc-contact-about__panel {
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--cc-shadow);
}

.cc-contact-about__media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--cc-border);
}

.cc-contact-about__media img,
.cc-contact-about__video {
  display: block;
  width: 100%;
  max-height: 520px;
  min-height: 220px;
  object-fit: contain;
  background: #f7f8fc;
}

.cc-contact-about__desc {
  margin: 0;
  line-height: 1.95;
  color: var(--cc-text-muted);
  text-align: justify;
  white-space: pre-line;
}

/* ── Suppliers / shops ── */
.cc-shop-filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cc-shop-filters__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cc-primary-dark);
}

.cc-shop-filters__group {
  padding-top: 1rem;
  border-top: 1px solid #e8ebf2;
}

.cc-shop-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cc-shop-filters__chip {
  border: 1px solid #e8ebf2;
  background: #fff;
  color: #444;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.cc-shop-filters__chip.is-active,
.cc-shop-filters__chip:hover {
  background: rgba(76, 56, 128, 0.08);
  border-color: rgba(76, 56, 128, 0.25);
  color: var(--cc-primary);
}

.cc-suppliers-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.cc-shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.cc-shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30, 35, 60, 0.1);
}

.cc-shop-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cc-shop-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cc-shop-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--cc-primary);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.cc-shop-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cc-shop-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

.cc-shop-card__subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--cc-muted);
}

.cc-shop-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cc-shop-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--cc-muted);
}

.cc-shop-card__meta i {
  color: var(--cc-primary);
}

.cc-shop-card__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.8;
  color: #555;
}

.cc-shop-page {
  padding: 32px 0 56px;
}

.cc-shop-detail {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(30, 35, 60, 0.06);
  margin-bottom: 2rem;
}

.cc-shop-detail__banner {
  position: relative;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(76, 56, 128, 0.12), rgba(114, 122, 173, 0.18));
}

.cc-shop-detail__banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cc-shop-detail__banner-fallback {
  height: 180px;
}

.cc-shop-detail__logo-wrap {
  position: absolute;
  right: 24px;
  bottom: -42px;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(30, 35, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.cc-shop-detail__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cc-shop-detail__info {
  padding: 56px 24px 24px;
}

.cc-shop-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cc-shop-detail__head h1 {
  margin: 0 0 0.35rem;
  color: var(--cc-primary-dark);
}

.cc-shop-detail__en {
  margin: 0;
  color: var(--cc-muted);
}

.cc-shop-detail__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cc-shop-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cc-shop-detail__chips span {
  background: #f5f6fa;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: #555;
}

.cc-shop-detail__desc {
  margin: 0 0 1rem;
  line-height: 1.9;
  color: #444;
}

.cc-shop-detail__contacts {
  display: grid;
  gap: 0.65rem;
  margin-top: 2.25rem;
  margin-bottom: 1.25rem;
}

.cc-shop-detail__contacts p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #444;
}

.cc-shop-detail__contacts i {
  color: var(--cc-primary);
}

.cc-shop-detail__contacts a {
  color: inherit;
  text-decoration: none;
}

.cc-shop-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cc-shop-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: var(--cc-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cc-shop-detail__cta--ghost {
  background: #fff;
  color: var(--cc-primary);
  border: 1px solid rgba(76, 56, 128, 0.2);
}

.cc-shop-products__head {
  margin-bottom: 1rem;
}

.cc-shop-products__head h2 {
  margin: 0;
  color: var(--cc-primary-dark);
}

.cc-shop-products__empty {
  text-align: center;
  color: var(--cc-muted);
  padding: 2rem 1rem;
}

@media (max-width: 992px) {
  .cc-contact-grid {
    grid-template-columns: 1fr;
  }

  .cc-blog-layout {
    grid-template-columns: 1fr;
  }

  .cc-blog-sidebar {
    order: -1;
  }

  .cc-blog-grid {
    grid-template-columns: 1fr;
  }
}

.cc-error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 2.5rem 1rem 4rem;
}

.cc-error-page__inner {
  width: min(560px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cc-error-page__logo {
  display: inline-flex;
  margin-bottom: 0.5rem;
}

.cc-error-page__logo img {
  width: min(180px, 52vw);
  height: auto;
  object-fit: contain;
}

.cc-error-page__code {
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(76, 56, 128, 0.14);
  letter-spacing: 0.04em;
}

.cc-error-page__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--cc-primary-dark);
}

.cc-error-page__message {
  margin: 0;
  max-width: 34rem;
  line-height: 1.9;
  color: var(--cc-text-muted);
  font-size: 1rem;
}

.cc-error-page__hint {
  margin: 0;
  color: var(--cc-text-muted);
  font-size: 0.9rem;
}

.cc-error-page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-size: 2rem;
  margin-top: 0.25rem;
}

.cc-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.cc-error-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cc-error-page__btn.is-primary {
  background: var(--cc-primary);
  color: #fff;
}

.cc-error-page__btn.is-primary:hover {
  filter: brightness(1.05);
}

.cc-error-page__btn.is-secondary {
  background: #fff;
  color: var(--cc-primary);
  border-color: var(--cc-border);
}

.cc-error-page__btn.is-secondary:hover {
  background: #f8f9fc;
}

.cc-chem-select {
  position: relative;
  width: 100%;
}

.cc-chem-select--sort-bar {
  width: auto;
}

.cc-chem-select__trigger {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  padding: 10px 36px 10px 12px;
  background: #fff;
  color: var(--cc-text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: right;
}

.cc-chem-select--sort-bar .cc-chem-select__trigger {
  min-width: 170px;
  padding-left: 34px;
}

.cc-chem-select.is-disabled .cc-chem-select__trigger {
  opacity: 0.6;
  cursor: not-allowed;
}

.cc-chem-select__trigger-icon {
  color: var(--cc-primary);
  font-size: 0.95rem;
}

.cc-chem-select__trigger-label {
  flex: 1;
  white-space: nowrap;
}

.cc-chem-select__chevron {
  position: absolute;
  left: 12px;
  font-size: 0.75rem;
  color: var(--cc-muted);
  transition: transform 0.2s ease;
}

.cc-chem-select--sort-bar .cc-chem-select__chevron {
  left: 10px;
}

.cc-chem-select__chevron.is-open {
  transform: rotate(180deg);
}

.cc-chem-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: 260px;
  overflow: auto;
}

.cc-chem-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--cc-text);
  font: inherit;
  font-size: 0.88rem;
  text-align: right;
  cursor: pointer;
}

.cc-chem-select__option:hover,
.cc-chem-select__option.is-active {
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
}

.cc-chem-multi-select {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-chem-multi-select__label,
.cc-shop-filters__label {
  font-size: 0.84rem;
  color: #555;
  font-weight: 600;
}

.cc-chem-multi-select__trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: right;
}

.cc-chem-multi-select.is-disabled .cc-chem-multi-select__trigger {
  opacity: 0.6;
  cursor: not-allowed;
}

.cc-chem-multi-select__placeholder {
  color: var(--cc-muted);
  font-size: 0.86rem;
}

.cc-chem-multi-select__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cc-chem-multi-select__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(76, 56, 128, 0.1);
  color: var(--cc-primary);
  font-size: 0.78rem;
}

.cc-chem-multi-select__chevron {
  color: var(--cc-muted);
  transition: transform 0.2s ease;
}

.cc-chem-multi-select__chevron.is-open {
  transform: rotate(180deg);
}

.cc-chem-multi-select__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 35;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.cc-chem-multi-select__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f6;
}

.cc-chem-multi-select__search input {
  width: 100%;
  border: none;
  outline: none;
  font: inherit;
  font-size: 0.86rem;
  background: transparent;
}

.cc-chem-multi-select__menu {
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 220px;
  overflow: auto;
}

.cc-chem-multi-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  text-align: right;
  cursor: pointer;
}

.cc-chem-multi-select__option:hover,
.cc-chem-multi-select__option.is-active {
  background: rgba(76, 56, 128, 0.08);
}

.cc-chem-multi-select__check {
  color: var(--cc-primary);
}

.cc-chem-multi-select__empty {
  padding: 12px;
  text-align: center;
  color: var(--cc-muted);
  font-size: 0.84rem;
}

.cc-chem-multi-select__clear {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-top: 1px solid #eef1f6;
  background: #fafbfd;
  color: var(--cc-primary);
  font: inherit;
  cursor: pointer;
}

.cc-shop-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cc-shop-filters__product-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc-shop-filters__chip {
  padding: 8px 12px;
  border: 1px solid #dfe4ee;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.cc-shop-filters__chip.is-active {
  border-color: var(--cc-primary);
  background: rgba(76, 56, 128, 0.08);
  color: var(--cc-primary);
  font-weight: 700;
}

.cc-shop-detail__contacts-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--cc-primary-dark);
}

.cc-shop-detail__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cc-shop-detail__docs {
  margin-top: 1.5rem;
  padding-bottom: 0.25rem;
}

.cc-shop-detail__docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.cc-shop-detail__doc-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cc-shop-detail__doc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cc-text-muted);
}

.cc-shop-detail__doc-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(114, 122, 173, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: #fafbff;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc-shop-detail__doc-link:hover {
  border-color: rgba(76, 56, 128, 0.35);
  box-shadow: 0 8px 20px rgba(76, 56, 128, 0.1);
}

.cc-shop-detail__doc-img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cc-review-dialog.cc-shop-doc-lightbox {
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}

.cc-shop-doc-lightbox__panel {
  width: min(960px, 96vw);
  max-height: none;
  margin: auto;
  padding: 1rem 1.25rem 1.25rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cc-shop-doc-lightbox__panel .cc-review-dialog__head {
  flex-shrink: 0;
  margin-bottom: 0;
}

.cc-shop-doc-lightbox__figure {
  margin: 0;
  overflow: visible;
  text-align: center;
}

.cc-shop-doc-lightbox__figure img {
  display: inline-block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  vertical-align: top;
}
