:root {
  --brand-primary: #f28a00;
  --brand-primary-rgb: 242, 138, 0;
  --brand-accent: #7d0ea8;
  --brand-accent-rgb: 125, 14, 168;
  --brand-dark: #43125e;
  --brand-muted: #7a4a5f;
  --brand-surface: #fff6ee;
  --brand-warm: #fff0df;
  --brand-border: #f2c48a;
  --brand-cream: #fffaf5;
  --brand-shadow: rgba(88, 34, 112, 0.14);
  --bs-primary: #f28a00;
  --bs-primary-rgb: 242, 138, 0;
  --bs-link-color: #8d26ba;
  --bs-link-hover-color: #661a87;
  --bs-focus-ring-color: rgba(125, 14, 168, 0.22);
}


body {
  padding-top: 70px;
  background: linear-gradient(180deg, #fff3e3 0%, #fff9f5 220px, #fffefe 100%);
  color: var(--brand-dark);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.navbar {
  backdrop-filter: blur(10px);
}

.hero-section {
  padding: 3rem 1rem;
}

.hero-section .display-5 {
  font-weight: 700;
}

.product-card img {
  object-fit: cover;
  height: 200px;
}

.footer {
  border-top: 1px solid #e9ecef;
}

.cursor-pointer {
  cursor: pointer;
}

.badge-circle {
  border-radius: 999px;
  padding: 0.35em 0.5em;
  font-size: 0.7rem;
}

.min-vh-70 {
  min-height: 70vh;
}

.announcement-bar {
  background: linear-gradient(90deg, #dc7d00 0%, #f39b19 52%, #8d26ba 100%);
  color: #fff;
  padding: 0.8rem 0;
}

.announcement-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.announcement-link:hover {
  color: #fef3c7;
}

.home-hero-section {
  padding: 1.5rem 0 0.5rem;
}

.hero-shell {
  background: linear-gradient(135deg, rgba(242, 138, 0, 0.14), rgba(125, 14, 168, 0.06) 55%, rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(88, 34, 112, 0.12);
}

.hero-kicker,
.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-text,
.section-note,
.footer-text,
.trust-item p,
.category-spotlight p,
.product-meta,
.product-empty-state,
.promo-panel p {
  color: var(--brand-muted);
}

.hero-copy {
  padding-right: 0.5rem;
}

.hero-points {
  margin-top: 1.5rem;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(243, 201, 139, 0.7);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  height: 100%;
  box-shadow: 0 10px 26px rgba(88, 34, 112, 0.10);
}

.hero-point i {
  font-size: 1.2rem;
  color: var(--brand-primary);
}

.section-block {
  padding-top: 3.5rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-title {
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0;
}

.section-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.section-link:hover {
  color: #661a87;
}


.btn-auth-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 14, 168, 0.22);
  background: linear-gradient(135deg, rgba(125, 14, 168, 0.08), rgba(255, 255, 255, 0.96));
  color: var(--brand-primary);
  font-weight: 700;
}

.btn-auth-compact:hover {
  color: #5f1180;
  border-color: rgba(125, 14, 168, 0.4);
  background: linear-gradient(135deg, rgba(125, 14, 168, 0.14), rgba(255, 255, 255, 1));
}

.btn-auth-compact i {
  font-size: 1rem;
  line-height: 1;
}

.category-spotlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 240px;
  padding: 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  color: var(--brand-dark);
  border: 1px solid rgba(243, 201, 139, 0.75);
  box-shadow: 0 18px 45px rgba(88, 34, 112, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(88, 34, 112, 0.16);
}

.category-education {
  background: linear-gradient(135deg, #fff0df 0%, #ffffff 100%);
}

.category-themed {
  background: linear-gradient(135deg, #fbf0ff 0%, #ffffff 100%);
}

.category-construction {
  background: linear-gradient(135deg, #f6ecff 0%, #ffffff 100%);
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-primary);
  font-size: 1.35rem;
  box-shadow: 0 10px 30px rgba(125, 14, 168, 0.16);
  margin-bottom: 1rem;
}

.category-spotlight h3,
.trust-item h3,
.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-primary);
  font-weight: 600;
}

.home-product-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 18px 45px rgba(88, 34, 112, 0.10);
}

.home-product-card .product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fff3e6, #fbf4ff);
}

.home-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(67, 18, 94, 0.86);
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.home-product-card .product-content {
  padding: 1.2rem;
}

.home-product-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px;
}

.home-product-card .product-actions {
  position: relative;
  z-index: 2;
}

.home-product-card .product-actions .btn {
  position: relative;
  z-index: 3;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(67, 18, 94, 0.14);
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-meta {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.product-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.product-actions .btn {
  border-radius: 12px;
}

.product-empty-state {
  background: #fff;
  border: 1px dashed var(--brand-border);
  border-radius: 20px;
  padding: 1.2rem;
}

.promo-panel,
.trust-panel {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(88, 34, 112, 0.10);
}

.promo-panel {
  background: linear-gradient(135deg, rgba(255, 244, 233, 0.96), rgba(248, 238, 255, 0.88));
}

.trust-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trust-item i {
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.footer-elevated {
  background: #321041;
  color: #f7eefe;
  border-top: 0;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-title {
  color: #f28500;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a,
.footer-contact-link {
  color: #6d2f88;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ecd8f6;
  font-size: 0.95rem;
}

/* Home hero carousel */
.home-hero-carousel {
  margin-top: 0.25rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(67, 18, 94, 0.14);
}

.home-hero-carousel .carousel-item {
  position: relative;
}

.home-hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(67, 18, 94, 0.05) 0%, rgba(67, 18, 94, 0.58) 100%);
  z-index: 1;
}

.home-hero-carousel .carousel-item img {
  height: clamp(320px, 42vh, 500px);
  object-fit: cover;
}

.home-hero-carousel .carousel-caption {
  inset: auto 0 1.25rem 0;
  text-align: left;
  z-index: 10;
  padding: 0 1.25rem;
}

.home-hero-carousel .carousel-control-prev,
.home-hero-carousel .carousel-control-next {
  width: clamp(48px, 6vw, 72px);
  z-index: 3;
}

.home-hero-carousel .caption-card {
  max-width: 440px;
  background: rgba(67, 18, 94, 0.58);
  backdrop-filter: blur(5px);
  color: #fff;
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.home-hero-carousel .caption-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.35rem;
}

@media (max-width: 991.98px) {
  .hero-shell {
    padding: 1.4rem;
  }

  .hero-copy {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .home-hero-carousel .carousel-caption {
    text-align: center;
    padding: 0 0.85rem;
  }

  .home-hero-carousel .caption-card {
    margin: 0 auto;
  }

  .hero-shell,
  .promo-panel,
  .trust-panel,
  .category-spotlight,
  .home-product-card {
    border-radius: 20px;
  }

  .announcement-link {
    white-space: normal;
  }
}

/* Product gallery thumbnails */
.product-thumb-btn {
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  width: 72px;
  height: 72px;
}

.product-thumb-btn:hover {
  border-color: rgba(125, 14, 168, 0.35);
}

.product-thumb-btn.active {
  border-color: rgba(125, 14, 168, 0.92);
}

.product-thumb-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

/* Rating stars */
.rating-stars i {
  margin-right: 1px;
}

/* Review stars input */
.review-stars-input .btn {
  padding: 0.25rem 0.35rem;
  line-height: 1;
}


.page-hero {
  padding: 1.5rem 0 1rem;
}

.page-hero-card {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(88, 34, 112, 0.12);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero-text {
  color: var(--brand-muted);
  max-width: 760px;
}

.page-hero-mini-grid,
.value-stack {
  display: grid;
  gap: 1rem;
}

.mini-info-card,
.value-pill,
.support-card,
.catalog-stat-card,
.brand-value-card,
.filter-panel,
.products-main-surface,
.info-surface,
.product-detail-surface,
.product-buy-panel,
.product-feature-card,
.timeline-surface {
  background: #fff;
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(88, 34, 112, 0.10);
}

.mini-info-card {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mini-info-card i,
.brand-value-icon,
.contact-info-icon,
.empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand-primary);
  font-size: 1.2rem;
}

.mini-info-card span,
.catalog-stat-card span,
.brand-value-card p,
.support-card p,
.contact-info-item .text-muted,
.brand-timeline-item span,
.product-feature-card p {
  color: var(--brand-muted);
}

.info-surface,
.timeline-surface,
.filter-panel,
.products-main-surface,
.product-detail-surface,
.product-buy-panel {
  padding: 1.5rem;
}

.contact-info-list,
.brand-timeline {
  display: grid;
  gap: 1rem;
}

.contact-info-item,
.brand-timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.demo-note,
.contact-info-note {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  color: var(--brand-dark);
}

.demo-note i {
  color: var(--brand-primary);
}

.footer-rich {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-link {
  display: block;
  color: #6d2f88;
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.footer-link:hover {
  color: #4e0c69;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--brand-muted);
  font-size: 0.92rem;
}

.brand-value-card,
.support-card,
.product-feature-card {
  padding: 1.35rem;
}

.brand-value-card h3,
.support-card h3,
.product-feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0.9rem 0 0.6rem;
}

.value-pill {
  padding: 0.95rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 600;
}

.value-pill i {
  color: var(--brand-primary);
}

.brand-timeline-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 18px;
  flex-direction: column;
  gap: 0.35rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-stat-card {
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.catalog-stat-card i {
  font-size: 1.6rem;
  color: var(--brand-primary);
}

.sort-select-modern {
  min-width: 180px;
}

.selected-filter-badge:empty {
  display: none;
}

.selected-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.products-empty-modern {
  padding: 2rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.empty-icon {
  margin: 0 auto 1rem;
}

.product-card {
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12) !important;
}

.product-card .card-body {
  padding: 1rem;
}

.product-card .card-title {
  font-size: 1rem;
  font-weight: 700;
}

.product-card .product-card-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.product-card .product-badge-soft {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-card .product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.product-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--brand-muted);
  font-size: 0.84rem;
  margin-bottom: 0.8rem;
}

.product-detail-layout {
  display: block;
}

.product-main-image-shell {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 0.8rem;
  border: 1px solid rgba(243, 201, 139, 0.75);
}

.product-breadcrumb-mini {
  color: var(--brand-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.product-breadcrumb-mini a {
  color: inherit;
  text-decoration: none;
}

.product-buy-panel {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 24px;
  padding: 1.2rem;
}

.product-buy-panel-inline {
  position: static;
}

.product-price-xl {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-primary);
}

.product-short-benefits,
.product-features-grid {
  display: grid;
  gap: 0.9rem;
}

.product-short-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-benefit-chip {
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 18px;
  padding: 0.85rem 0.9rem;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.product-benefit-chip i {
  color: var(--brand-primary);
}

.product-info-note {
  background: #f8fbff;
  border: 1px solid rgba(243, 201, 139, 0.75);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  color: var(--brand-muted);
}

.product-details-copy {
  color: var(--brand-muted);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .product-buy-panel {
    position: static;
  }
}

@media (max-width: 576px) {
  .page-hero-card,
  .info-surface,
  .timeline-surface,
  .filter-panel,
  .products-main-surface,
  .product-detail-surface,
  .product-buy-panel,
  .support-card,
  .brand-value-card,
  .product-feature-card {
    border-radius: 20px;
  }

  .page-hero-card {
    padding: 1.35rem;
  }

  .product-short-benefits {
    grid-template-columns: 1fr;
  }
}

.admin-body {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 220px);
}

.admin-shell {
  padding-top: 1.5rem;
}

.admin-sidebar,
.admin-section-card {
  border-radius: 24px;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
}

.admin-sidebar-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}

.admin-side-nav {
  gap: 0.65rem;
}

.admin-side-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--brand-dark);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-side-link:hover,
.admin-side-link.active {
  color: var(--brand-primary);
  border-color: rgba(13, 110, 253, 0.2);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.admin-side-link i {
  font-size: 1.1rem;
}

.admin-side-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-side-stat,
.admin-side-note {
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  padding: 1rem;
}

.admin-side-stat span {
  display: block;
  color: var(--brand-muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.admin-side-stat strong {
  font-size: 1.3rem;
}

.admin-empty-state {
  border: 1px dashed var(--brand-border);
  border-radius: 24px;
  padding: 2.2rem 1rem;
  text-align: center;
  background: #fbfdff;
}

.admin-empty-state-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--brand-primary);
  font-size: 1.8rem;
}

.admin-product-card {
  border-radius: 22px;
  overflow: hidden;
}

.admin-product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef2ff;
}

.admin-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-product-card-badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--brand-muted);
  font-size: 0.83rem;
}

.admin-product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-image-thumb {
  width: 88px;
  height: 88px;
}

.admin-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.admin-rich-editor {
  min-height: 260px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  background: #fff;
  outline: none;
}

.admin-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
}

.admin-editor-preview {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--brand-border);
}

.product-description-html,
.admin-rich-editor {
  line-height: 1.7;
}

.product-description-html img,
.admin-rich-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 1rem 0;
}

.product-description-html h2,
.product-description-html h3,
.product-description-html h4,
.admin-rich-editor h2,
.admin-rich-editor h3,
.admin-rich-editor h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.product-description-html ul,
.product-description-html ol,
.admin-rich-editor ul,
.admin-rich-editor ol {
  padding-left: 1.2rem;
}

.product-description-html a,
.admin-rich-editor a {
  word-break: break-word;
}

@media (max-width: 1199.98px) {
  .admin-sidebar {
    position: static;
  }
}


.admin-dashboard-hero {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(255, 255, 255, 0.98));
}

.admin-highlight-panel {
  background: linear-gradient(160deg, #321041, #1d4ed8);
  color: #fff;
  border-radius: 24px;
  padding: 1.4rem;
  min-height: 100%;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2);
}

.admin-highlight-panel .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

.admin-highlight-value {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
}

.admin-metric-card,
.admin-inner-card {
  border-radius: 22px;
}

.admin-metric-card {
  background: #fff;
}

.admin-metric-icon,
.admin-action-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand-primary);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.admin-metric-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.admin-action-tile {
  display: block;
  height: 100%;
  text-decoration: none;
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.18);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  color: var(--brand-primary);
}

.admin-action-tile strong,
.admin-action-tile small {
  display: block;
}

.admin-action-tile small {
  color: var(--brand-muted);
  margin-top: 0.45rem;
  line-height: 1.55;
}

.admin-check-list {
  display: grid;
  gap: 0.9rem;
}

.admin-check-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--brand-border);
}

.admin-check-item i {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.admin-table-wrap {
  border: 1px solid rgba(243, 201, 139, 0.7);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.admin-inline-alert {
  border-radius: 16px;
}


.policy-page-hero {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(255,255,255,0.98));
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.06);
}

.policy-page-hero .policy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.policy-card {
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

.policy-card .card-body {
  padding: 1.5rem;
}

.policy-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.policy-card p,
.policy-card li {
  color: var(--brand-dark);
  line-height: 1.7;
}

.policy-card ul {
  padding-left: 1.1rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.footer-legal-links a {
  color: var(--brand-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-legal-links a:hover {
  color: var(--brand-primary);
}

.legal-ack-box {
  border: 1px solid rgba(125, 14, 168, 0.14);
  border-radius: 18px;
  background: rgba(125, 14, 168, 0.05);
  padding: 1rem;
}

.legal-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.legal-links-inline a {
  text-decoration: none;
}


.navbar {
  background: rgba(255, 249, 244, 0.94) !important;
  border-bottom: 1px solid rgba(243, 201, 139, 0.65);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--brand-dark) !important;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(125, 14, 168, 0.20);
}

.brand-text-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand-text {
  letter-spacing: 0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-primary), #a33ad2);
}

.nav-link {
  color: #6f2a82;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--brand-primary);
}

.btn-primary {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, var(--brand-primary), #a53fd3);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #7f1ea7;
  background: linear-gradient(135deg, #df7d00, #8d26ba);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: rgba(242, 138, 0, 0.5);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.text-primary {
  color: var(--brand-primary) !important;
}

.hero-points .col-sm-4:nth-child(2) .hero-point {
  border-color: rgba(125, 14, 168, 0.24);
}

.hero-points .col-sm-4:nth-child(2) .hero-point i,
.category-construction .category-icon,
.footer-link:hover,
.contact-card-icon,
.feature-icon,
.summary-icon {
  color: var(--brand-accent);
}

.footer-rich,
.footer {
  background: linear-gradient(180deg, #fffaf2 0%, #fff3e2 100%) !important;
  border-top: 1px solid rgba(243, 201, 139, 0.8);
}

.footer-brand,
.footer-brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 16px;
}

.footer-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 201, 139, 0.7);
}

.page-hero,
.form-shell,
.auth-card,
.summary-card,
.cart-item-card,
.product-detail-card,
.admin-stat-card,
.admin-panel-card,
.checkout-card,
.info-card,
.contact-card,
.policy-card {
  box-shadow: 0 18px 50px rgba(88, 34, 112, 0.10);
  border-color: rgba(243, 201, 139, 0.75) !important;
}

@media (max-width: 576px) {
  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .navbar-brand {
    gap: 0.6rem;
    font-size: 1rem;
  }
}

.admin-product-modal .modal-content,
.admin-variant-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.admin-modal-header {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.admin-image-manager-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
}

.admin-image-manager-item {
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  background: #fff;
  padding: 0.7rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.admin-image-manager-item.is-primary {
  border-color: rgba(13, 110, 253, 0.4);
  box-shadow: 0 18px 28px rgba(13, 110, 253, 0.12);
}

.admin-image-manager-preview {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
  margin-bottom: 0.7rem;
}

.admin-image-manager-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-image-manager-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-image-manager-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  color: var(--brand-muted);
}

.admin-image-manager-empty {
  border: 1px dashed var(--brand-border);
  border-radius: 18px;
  background: #fff;
  color: var(--brand-muted);
  padding: 1rem;
  text-align: center;
}
