:root {
  --bg: #ffffff;
  --card: #ffffff;
  --accent: #0f6f82;
  --accent-dark: #0b5260;
  --ink: #1b2430;
  --muted: #6e7b8a;
  --line: #dbe3ed;
}

body {
  background: var(--bg);
  color: var(--ink);
}

.category-chip {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  border-width: 1px;
}

.site-logo {
  height: 42px;
  width: auto;
  display: block;
}

.search-form-modern {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
}

.search-input-wrap {
  position: relative;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  z-index: 2;
}

.search-input-modern {
  padding-left: 2.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.search-input-modern:focus {
  border-color: #8ab8d1;
  box-shadow: 0 0 0 4px rgba(15, 111, 130, 0.14);
}

.search-suggest-list {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  max-height: 420px;
  overflow: auto;
  margin-top: 0.2rem;
}

.search-suggest-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
}

.search-suggest-item:last-child {
  border-bottom: 0;
}

.search-suggest-item:hover {
  background: #f8fbff;
}

.search-suggest-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.search-suggest-body {
  min-width: 0;
}

.search-suggest-sku {
  font-size: 0.72rem;
  color: #64748b;
}

.search-suggest-name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.search-suggest-price {
  font-size: 0.8rem;
  color: #111827;
  margin-top: 0.2rem;
}

.search-suggest-empty {
  padding: 0.9rem;
  color: #6b7280;
  font-size: 0.86rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(14, 30, 56, 0.12);
  height: 100%;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 30, 56, 0.16);
}

.product-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #f8fafc;
  padding: 8px;
}

body.product-view-list .product-item {
  width: 33.3333%;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

body.product-view-list .product-card {
  display: flex;
  align-items: stretch;
}

body.product-view-list .product-card > a {
  flex: 0 0 92px;
  max-width: 92px;
}

body.product-view-list .product-card img {
  height: 100%;
  min-height: 92px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 18px;
}

body.product-view-list .product-card .p-3 {
  width: 100%;
}

@media (max-width: 767.98px) {
  body.product-view-list .product-item {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.product-view-list .product-item {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.product-card .h6 {
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.product-card .small {
  font-size: 0.74rem;
}

.modern-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(14, 30, 56, 0.12);
}

.hero-slider {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(14, 30, 56, 0.11);
  overflow: hidden;
  position: relative;
}

.hero-slider .carousel-item {
  position: relative;
  min-height: 320px;
}

.hero-intro__title {
  font-size: 1.65rem;
  margin: 0 0 0.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-intro__subtitle {
  margin: 0 0 0.3rem;
  color: #0f6f82;
  font-weight: 700;
}

.hero-intro__desc {
  margin: 0;
  color: #e2e8f0;
  max-width: 920px;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
}

.hero-slide-bg-1 {
  background:
    radial-gradient(circle at 18% 22%, rgba(22, 163, 184, 0.35) 0 24%, transparent 25%),
    radial-gradient(circle at 82% 76%, rgba(14, 116, 144, 0.3) 0 20%, transparent 21%),
    linear-gradient(120deg, #0f172a 0%, #0b5260 58%, #0e7490 100%);
}

.hero-slide-bg-2 {
  background:
    radial-gradient(circle at 80% 24%, rgba(148, 163, 184, 0.3) 0 18%, transparent 19%),
    radial-gradient(circle at 14% 78%, rgba(34, 197, 94, 0.24) 0 22%, transparent 23%),
    linear-gradient(120deg, #1f2937 0%, #0f6f82 56%, #164e63 100%);
}

.hero-slide-bg-3 {
  background:
    radial-gradient(circle at 28% 26%, rgba(56, 189, 248, 0.3) 0 20%, transparent 21%),
    radial-gradient(circle at 76% 72%, rgba(45, 212, 191, 0.22) 0 20%, transparent 21%),
    linear-gradient(120deg, #111827 0%, #155e75 54%, #0f766e 100%);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.78) 0%, rgba(11, 82, 96, 0.62) 55%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  min-height: 320px;
  padding: 1.35rem 1.4rem 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slider .hero-intro__title {
  color: #ffffff;
}

.hero-slider .hero-intro__subtitle {
  color: #8de5f0;
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.hero-slider .hero-intro__desc {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(4px);
}

.hero-cta {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 6%;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  background-color: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
  padding: 0.9rem;
  background-size: 58% 58%;
}

.section-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(14, 30, 56, 0.09);
}

.section-title {
  display: inline-block;
  background: #f3f7fc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.product-card .text-secondary {
  color: var(--muted) !important;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 0;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cart-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  width: 100%;
}

.footer-text {
  color: #667085;
  font-size: 0.92rem;
}

.footer-links a {
  color: #1f2937;
  text-decoration: none;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  transition: all 0.15s ease;
}

.footer-links a:hover {
  color: #0b5260;
  border-color: #b8cadf;
  background: #f1f7ff;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d5deea;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.footer-social a:hover {
  color: #fff;
  background: #0f6f82;
  border-color: #0f6f82;
}

.admin-tabs.section-panel {
  padding: 0.8rem;
  border-style: dashed;
}

.local-editor-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.local-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.local-editor-toolbar button {
  border: 1px solid #d2dbe8;
  background: #fff;
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font-size: 0.84rem;
  color: #1f2937;
}

.local-editor {
  min-height: 210px;
  padding: 0.75rem 0.85rem;
  outline: none;
}
