/* ============================================
   @Cartuchos â€” Design System (Industrial Premium)
   CSS puro â€” sem framework
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  /* Cores base â€” derivadas da paleta oklch original */
  --background: #f7f7f9;
  --foreground: #1a1d2b;
  --card: #ffffff;
  --card-foreground: #1a1d2b;
  --muted: #ececf0;
  --muted-foreground: #65687a;
  --border: #e2e3e8;
  --input: #e8e9ee;

  /* Brand */
  --primary: #d3273e;
  --primary-hover: #b81f33;
  --primary-foreground: #ffffff;

  /* Industrial */
  --secondary: #2b2e3d;
  --secondary-foreground: #ffffff;
  --steel: #353846;
  --steel-deep: #1a1d2b;
  --chrome-light: #e9eaef;
  --chrome-mid: #b8bac3;
  --chrome-deep: #6e7180;

  /* Status */
  --success: #1f9d55;
  --warning: #d49a1a;
  --whatsapp: #25d366;

  /* Effects */
  --radius: 0.5rem;
  --shadow-red: 0 10px 30px -8px rgba(211, 39, 62, 0.45);
  --shadow-steel: 0 18px 40px -12px rgba(10, 12, 25, 0.5);
  --shadow-card: 0 2px 8px -2px rgba(10, 12, 25, 0.08);

  --gradient-chrome: linear-gradient(180deg,
      #f0f1f5 0%,
      #c5c7d1 35%,
      #8b8e9a 55%,
      #c5c7d1 78%,
      #eceef3 100%);
  --gradient-steel: linear-gradient(180deg, #2b2e3d 0%, #15172a 100%);
  --gradient-hero: linear-gradient(135deg,
      #1a1d2b 0%,
      #0f1220 50%,
      rgba(211, 39, 62, 0.3) 100%);
  --gradient-red-glow: radial-gradient(circle at 50% 50%,
      rgba(211, 39, 62, 0.55),
      transparent 70%);

  --font-display: "Rajdhani", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ============== Reset ============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-red);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(211, 39, 62, 0.35);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ============== Layout ============== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 0.5rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm {
  gap: 0.5rem;
}

.gap-md {
  gap: 1rem;
}

.gap-lg {
  gap: 2rem;
}

/* ============== Top Bar ============== */
.topbar {
  background: var(--steel-deep);
  color: #d8d9e0;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar a {
  color: inherit;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar .accent {
  color: var(--primary);
  font-weight: 600;
}

/* ============== Header ============== */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(10, 12, 25, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.02em;
}

.logo .at {
  color: var(--primary);
  font-size: 1.9rem;
  line-height: 1;
}

.logo-image {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header .logo-image {
  height: 50px;
  margin-left: 20px;
}

.search-box {
  width: min(480px, 100%);
  justify-self: center;
  display: flex;
  align-items: center;
  background: var(--muted);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  gap: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}

.search-box:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-right: 0.5rem;
  justify-self: end;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.icon-link:hover {
  color: var(--primary);
}

.cart-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.2rem;
}

/* Nav */
.nav {
  background: var(--steel-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.85rem 1.1rem;
  color: #d8d9e0;
  font-weight: 500;
  font-size: 0.98rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition:
    background 0.15s,
    color 0.15s;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(211, 39, 62, 0.15);
  border-bottom-color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1rem;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--steel);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1faa52;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.panel-help-button {
  width: 2rem;
  height: 2rem;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ============== Hero ============== */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  background: rgba(211, 39, 62, 0.15);
  color: #fff;
}

.hero-ctas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: stretch;
}

.hero-ctas .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.1;
}

.hero-ctas .btn-lg {
  padding: 0.7rem 0.75rem;
  font-size: 0.82rem;
}

.hero-visual {
  background: var(--gradient-chrome);
  border-radius: 1rem;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-steel);
  position: relative;
  overflow: hidden;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-carousel__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel__slide img,
.hero-carousel__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(17, 19, 32, 0.55);
  color: #fff;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition:
    transform 0.2s,
    background 0.2s;
}

.hero-carousel__control:hover {
  background: rgba(211, 39, 62, 0.75);
}

.hero-carousel__control--prev {
  left: 0.85rem;
}

.hero-carousel__control--next {
  right: 0.85rem;
}

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.hero-carousel__dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition:
    transform 0.2s,
    background 0.2s,
    width 0.2s;
}

.hero-carousel__dot.is-active {
  width: 1.4rem;
  background: rgba(255, 255, 255, 0.95);
}

.hero-carousel__fallback {
  min-height: 340px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-red-glow);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-visual>* {
  position: relative;
  z-index: 1;
}

.hero-visual span {
  position: relative;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--steel-deep);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {

  .hero-carousel__slide,
  .hero-carousel__control,
  .hero-carousel__dot {
    transition: none;
  }
}

/* ============== Cards ============== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-steel);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(211, 39, 62, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.85rem auto;
}

.card--placeholder {
  opacity: 0;
  pointer-events: none;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Product Card */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-steel);
}

.product-image {
  aspect-ratio: 1;
  background: var(--gradient-chrome);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--steel-deep);
  font-weight: 700;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.25;
}

.product-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.75rem;
}

.product-price small {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  display: block;
  font-weight: 500;
}

.product-buy-box .product-buy-price {
  margin: 0.65rem 0 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg,
      rgba(211, 39, 62, 0.08),
      rgba(211, 39, 62, 0.03));
  border: 1px solid rgba(211, 39, 62, 0.14);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}

.product-buy-box .product-buy-price span {
  display: block;
}

.product-buy-box .product-buy-price span:first-child {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.15;
}

.product-buy-box .product-buy-price span:last-child {
  margin-top: 0.25rem;
}

.product-buy-box .product-buy-price strong {
  font-size: 1.08em;
}

.product-qty-stepper {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.product-qty-stepper__control {
  display: grid;
  grid-template-columns: 46px clamp(96px, 10vw, 128px) 46px;
  gap: 0.45rem;
  align-items: stretch;
  justify-content: start;
}

.product-qty-stepper__label {
  white-space: nowrap;
}

.product-qty-stepper__button {
  min-height: 48px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.product-qty-stepper__input {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  width: 100%;
}

.product-qty-stepper__input[type="number"]::-webkit-outer-spin-button,
.product-qty-stepper__input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-qty-stepper__input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

body.cart-drawer-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .product-qty-stepper {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.product-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-buy-box .product-actions .btn {
  flex: 1 1 160px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-gallery-main-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
}

.product-gallery-main {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.product-gallery-thumb {
  width: 78px;
  height: 78px;
  padding: 0.35rem;
  border: 2px solid transparent;
  border-radius: 0.85rem;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.product-gallery-thumb:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.product-gallery-thumb.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(211, 39, 62, 0.12);
}

.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============== Section Title ============== */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--muted-foreground);
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* Page Header */
.page-header {
  background: var(--gradient-steel);
  color: #fff;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-header>.container {
  position: relative;
}

.page-header .eyebrow {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin: 0.4rem 0 0.5rem;
}

.page-header p {
  opacity: 0.8;
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: 640px;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--muted);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.product-breadcrumbs {
  margin-top: 1rem;
}

/* ============== Forms ============== */
.form-group {
  margin-bottom: 1rem;
}

.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--foreground);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.92rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  outline: none;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 39, 62, 0.12);
}

.input[type="number"],
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.input[type="number"]::-webkit-outer-spin-button,
.input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-shipping-form {
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr);
  align-items: end;
}

.product-shipping-form__group,
.product-shipping-form__submit {
  min-width: 0;
  width: 100%;
}

.product-shipping-form__submit .btn {
  width: 100%;
}

.form-row-settings {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.form-row-settings .form-group {
  min-width: 0;
}

/* ============== Tables ============== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.table th {
  background: var(--muted);
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.table tr:last-child td {
  border-bottom: none;
}

/* ============== FAQ ============== */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  background: transparent;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.25s,
    padding 0.25s;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem;
}

/* ============== Footer ============== */
.footer {
  background: var(--steel-deep);
  color: #b8bac3;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-contact__list {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact__item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-contact__label {
  min-width: 1.25rem;
}

.footer-contact__icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.footer-contact__icon--whatsapp {
  background: var(--whatsapp) url("/assets/img/whatsapp.svg") center center / 70% 70% no-repeat;
  border-radius: 999px;
}

.footer-address {
  display: block;
  margin: 0.1rem 0 0.35rem;
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: center;
}

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

.footer ul a {
  display: inline-block;
  padding: 0.15rem 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

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

.footer-bottom {
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============== Floating WhatsApp ============== */
.floating-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  background: var(--whatsapp) url("/assets/img/whatsapp.svg") center center / 60% 60% no-repeat;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s;
  overflow: hidden;
  text-indent: -9999px;
}

.floating-wa:hover {
  transform: scale(1.1);
}

/* ============== Site Notice Modal ============== */
.site-notice-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 180;
}

.site-notice-modal.is-open {
  display: flex;
}

.site-notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 22, 0.72);
  backdrop-filter: blur(6px);
}

.site-notice-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  background: linear-gradient(180deg,
      rgba(20, 25, 36, 0.98),
      rgba(12, 18, 29, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  padding: 1.6rem;
  color: #fff;
}

.site-notice-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.site-notice-modal__icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #f1b24a;
  background: rgba(241, 178, 74, 0.12);
}

.site-notice-modal__title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.site-notice-modal__body {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.site-notice-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-notice-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ============== Utilities ============== */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
  font-size: 0.97rem;
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.bg-muted {
  background: var(--muted);
}

.bg-steel {
  background: var(--gradient-steel);
  color: #fff;
}

.rounded {
  border-radius: var(--radius);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: rgba(211, 39, 62, 0.12);
  color: var(--primary);
}

.badge-success {
  background: rgba(31, 157, 85, 0.12);
  color: var(--success);
}

.badge-warning {
  background: rgba(212, 154, 26, 0.12);
  color: var(--warning);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.benefit {
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.benefit .icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.benefit h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.benefit p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Service Block */
.service-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.service-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-block ul {
  margin: 1rem 0;
}

.service-block ul li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.service-block ul li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.brand-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--steel);
  transition: all 0.15s;
}

.brand-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Plan card */
.plan {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.plan.featured {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-red);
}

.plan.featured::before {
  content: "Mais escolhido";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.plan .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin: 1rem 0;
}

.plan .price small {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  display: block;
  font-weight: 500;
}

.plan ul {
  text-align: left;
  margin: 1.5rem 0;
}

.plan ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.plan ul li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.step h4 {
  font-size: 1rem;
  margin: 0.25rem 0 0.4rem;
}

.step p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Testimonial */
.testimonial {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial .stars {
  color: var(--warning);
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
  line-height: 1.65;
}

.testimonial .author {
  font-weight: 600;
  font-size: 0.88rem;
}

.testimonial .author small {
  display: block;
  color: var(--muted-foreground);
  font-weight: 400;
}

.product-reviews-carousel__viewport {
  overflow: hidden;
}

.product-reviews-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.product-reviews-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.product-reviews-carousel__slide .stars {
  color: var(--warning);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.product-reviews-carousel__slide p {
  margin-bottom: 0.75rem;
  font-style: italic;
}

.product-reviews-carousel__slide footer small {
  display: block;
  font-weight: 400;
}

.product-reviews-carousel__nav {
  display: flex;
  gap: 0.5rem;
}

.product-reviews-carousel__button {
  min-width: 2.25rem;
  padding-inline: 0.6rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 24, 0.55);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--background);
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.cart-drawer__header,
.cart-drawer__summary {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__summary {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: rgba(255, 255, 255, 0.7);
}

.cart-drawer__body {
  padding: 1rem 1.1rem;
  overflow: auto;
  flex: 1;
}

.cart-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-drawer__header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.cart-drawer__header p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}

.cart-drawer__close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 1.4rem;
  line-height: 1;
}

.cart-drawer__close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-drawer .cart-item {
  grid-template-columns: 60px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 0;
}

.cart-drawer .cart-item+.cart-item {
  border-top: 1px solid var(--border);
}

.cart-drawer .cart-item .thumb {
  width: 60px;
  height: 60px;
}

.cart-drawer .cart-item .qty-control {
  margin-top: 0.65rem;
}

.cart-drawer .cart-item__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-drawer .cart-item__price {
  font-weight: 700;
  color: var(--primary);
}

.cart-drawer .empty-state {
  margin: 0;
}

/* Cart */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-item .thumb {
  width: 80px;
  height: 80px;
  background: var(--gradient-chrome);
  border-radius: var(--radius);
}

.cart-item .thumb.cart-thumb--empty {
  background: transparent;
  border: 0;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
}

.qty-control button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat .label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Filter sidebar */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.filter-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.filter-group label:hover {
  color: var(--foreground);
}

/* Login form */
.auth-card {
  max-width: 420px;
  margin: 3rem auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-steel);
}

.panel-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.panel-login-brand img {
  display: block;
  height: 50px;
  object-fit: contain;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.panel-login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel-login-shell .panel-login-main {
  flex: 1;
  display: flex;
  align-items: center;
}

.panel-login-shell .panel-footer {
  margin-top: auto;
}

/* Panel admin */
.panel-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.panel-header-brand {
  display: grid;
  gap: 0.5rem;
  width: min(100%, 320px);
}

.panel-header-brand__logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.panel-header-brand h1 {
  width: 100%;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
}

.panel-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-container-sm {
  max-width: 540px;
}

.panel-feedback {
  margin-bottom: 1rem;
}

.panel-feedback-success {
  border-color: rgba(31, 157, 85, 0.25);
  background: #f3fbf6;
}

.panel-feedback-error {
  border-color: rgba(211, 39, 62, 0.25);
  background: #fff5f7;
}

.panel-feedback-info {
  border-color: rgba(28, 72, 140, 0.18);
  background: #f4f7ff;
}

.panel-recovery {
  margin-top: 1rem;
  padding: 0.25rem 0;
  background: transparent;
}

.panel-recovery__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.panel-recovery__summary::-webkit-details-marker {
  display: none;
}

.panel-recovery__body {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.panel-card-link {
  display: block;
  padding: 1rem;
}

.panel-card-link p {
  margin-top: 0.25rem;
}

.panel-inline-gap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-inline-gap--center {
  justify-content: center;
}

.panel-table-cell--center {
  text-align: center;
  vertical-align: middle;
}

.panel-status-toggle-form {
  display: inline-flex;
  justify-content: center;
}

.panel-toggle--compact {
  min-height: 0;
  gap: 0;
}

.panel-toggle--compact .panel-toggle__text {
  display: none;
}

.panel-toggle--compact .panel-toggle__track {
  width: 3.1rem;
}

.panel-text-sm {
  font-size: 0.88rem;
}

.panel-text-xs {
  font-size: 0.82rem;
}

.panel-file-hint {
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

.panel-actions-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-actions-row--end {
  justify-content: flex-end;
}

.panel-attribute-option-grid {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.panel-attribute-option-grid--create,
.panel-attribute-option-grid--edit {
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
}

.panel-attribute-option-main {
  margin-bottom: 0;
}

.panel-attribute-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel-attribute-option-label .panel-text-sm {
  white-space: nowrap;
}

.panel-attribute-option-actions {
  justify-content: flex-end;
}

.panel-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
}

.panel-icon-action svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.panel-icon-action--danger {
  color: var(--danger);
}

.btn.panel-icon-action--danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.panel-icon-action--danger:hover {
  color: #9f1239;
}

.btn.panel-icon-action--danger:hover {
  background: #ffe4e6;
  border-color: #fda4af;
}

.panel-list-thumb {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--muted);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-list-thumb--empty {
  color: var(--muted-text);
  font-weight: 700;
}

.panel-product-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-product-row .form-group {
  margin-bottom: 0;
}

.panel-product-title-input {
  text-transform: uppercase;
}

.product-video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.product-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.panel-product-row--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.panel-product-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-span-1 {
  grid-column: span 1;
}

.panel-span-2 {
  grid-column: span 2;
}

.panel-span-3 {
  grid-column: span 3;
}

.panel-span-4 {
  grid-column: span 4;
}

.panel-span-5 {
  grid-column: span 5;
}

.panel-span-6 {
  grid-column: span 6;
}

.panel-span-7 {
  grid-column: span 7;
}

.panel-span-8 {
  grid-column: span 8;
}

.panel-span-9 {
  grid-column: span 9;
}

.panel-span-10 {
  grid-column: span 10;
}

.panel-span-11 {
  grid-column: span 11;
}

.panel-span-12 {
  grid-column: span 12;
}

.panel-settings-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(211, 39, 62, 0.12);
  border: 1px solid rgba(211, 39, 62, 0.24);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-frenet-intro {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(211, 39, 62, 0.2);
  border-left: 4px solid var(--primary);
  background: linear-gradient(180deg, rgba(255, 245, 247, 0.96), #fff);
  box-shadow: 0 8px 22px rgba(17, 19, 32, 0.04);
}

.panel-frenet-intro__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.panel-frenet-intro__header h3 {
  margin-top: 0.4rem;
}

.panel-frenet-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.panel-frenet-pill {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  border: 1px solid rgba(211, 39, 62, 0.14);
}

.panel-frenet-pill strong {
  color: var(--primary);
  font-size: 0.85rem;
}

.panel-frenet-pill span {
  color: var(--muted-foreground);
  font-size: 0.84rem;
}

.panel-frenet-secret-status {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(211, 39, 62, 0.18);
  font-size: 0.88rem;
}

.panel-frenet-field--basic {
  padding: 0.9rem;
  border: 1px solid rgba(211, 39, 62, 0.18);
  border-radius: var(--radius);
  background: #fff8f9;
}

.panel-frenet-field--advanced {
  opacity: 0.98;
}

.panel-frenet-field--basic .label {
  color: var(--primary);
}

.panel-frenet-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 4;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(211, 39, 62, 0.22);
  border-top: 4px solid var(--primary);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff);
  box-shadow: 0 12px 28px rgba(17, 19, 32, 0.08);
}

.panel-frenet-actions .btn {
  min-width: 140px;
}

.panel-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
}

.panel-image-card {
  display: grid;
  gap: 0.45rem;
}

.panel-image-thumb {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.panel-image-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.panel-image-thumb--contain {
  background: #fff;
}

.panel-image-thumb--contain img {
  object-fit: contain;
  background: #fff;
}

.panel-image-thumb--logo {
  width: 100%;
  max-width: 100%;
}

.panel-image-thumb--logo img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  padding: 0.5rem;
}

.panel-image-remove {
  width: 100%;
}

.panel-product-gallery {
  display: grid;
  gap: 1rem;
}

.panel-product-gallery__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.panel-product-gallery__picker {
  position: relative;
  overflow: hidden;
}

.panel-product-gallery__picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.panel-product-gallery__progress {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(211, 39, 62, 0.15);
  background: rgba(211, 39, 62, 0.06);
}

.panel-product-gallery__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 12px;
  background: linear-gradient(90deg,
      rgba(211, 39, 62, 0.18),
      rgba(211, 39, 62, 0.45));
  transition: width 0.12s linear;
}

.panel-product-gallery__progress-label {
  position: relative;
  z-index: 1;
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.panel-product-gallery__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.panel-product-gallery__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}

.panel-product-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.panel-product-gallery__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: max-content;
}

.panel-product-gallery__item {
  flex: 0 0 calc((100% - (0.75rem * 4)) / 5);
  max-width: calc((100% - (0.75rem * 4)) / 5);
  display: grid;
  gap: 0.55rem;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  cursor: grab;
  min-width: 0;
}

.panel-product-gallery__item.is-dragging {
  opacity: 0.6;
  cursor: grabbing;
}

.panel-product-gallery__item.is-main {
  border-color: rgba(211, 39, 62, 0.35);
  box-shadow: 0 10px 22px -14px rgba(211, 39, 62, 0.6);
}

.panel-product-gallery__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f5f7;
  aspect-ratio: 1 / 1;
}

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

.panel-product-gallery__nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.panel-product-gallery__nav:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.panel-product-gallery__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.panel-product-gallery__badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(26, 29, 43, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.panel-product-gallery__item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-product-gallery__handle {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.panel-product-gallery__remove {
  width: auto;
}

.panel-table-count {
  font-size: 0.88rem;
}

.panel-module-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.panel-form-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.panel-form-header-actions__item {
  display: flex;
  align-items: center;
}

.panel-category-tree {
  display: grid;
  gap: 0.75rem;
}

.panel-category-tree__levels {
  display: grid;
  gap: 0.75rem;
}

.panel-category-tree__select {
  width: 100%;
}

.panel-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  cursor: pointer;
  user-select: none;
}

.panel-toggle__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.panel-toggle__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #d34d4d;
  border: 1px solid var(--border);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
  flex: 0 0 auto;
}

.panel-toggle__thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  margin-left: 0.22rem;
  box-shadow: 0 2px 7px rgba(16, 24, 40, 0.18);
  transition: transform 0.18s ease;
}

.panel-toggle__input:checked+.panel-toggle__track {
  background: #1f9d55;
  border-color: #1f9d55;
}

.panel-toggle__input:checked+.panel-toggle__track .panel-toggle__thumb {
  transform: translateX(1.25rem);
}

.panel-toggle__text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--foreground);
}

.panel-manual-list {
  display: grid;
  gap: 0.7rem;
}

.panel-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 16, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2500;
}

.panel-modal.is-open {
  display: flex;
}

.panel-modal__dialog {
  width: min(560px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.panel-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(211, 39, 62, 0.08);
  border-bottom: 1px solid var(--border);
}

.panel-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.panel-modal__subtitle {
  margin: 0.25rem 0 0;
}

.panel-modal__close {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--foreground);
  font-size: 1.2rem;
  line-height: 1;
}

.panel-modal__body {
  padding: 1.25rem;
}

.panel-modal__body .notice {
  margin: 0;
}

/* Dashboard */
.container.dashboard-layout {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.dashboard-nav {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  position: sticky;
  top: 6rem;
}

.dashboard-nav__group+.dashboard-nav__group {
  margin-top: 0.5rem;
}

.dashboard-nav__group {
  margin-bottom: 0.5rem;
}

.dashboard-nav__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  background: linear-gradient(180deg,
      rgba(211, 39, 62, 0.12),
      rgba(211, 39, 62, 0.05));
  border: 1px solid rgba(211, 39, 62, 0.14);
  border-radius: 8px;
}

.dashboard-nav__heading-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 6px;
  background: rgba(211, 39, 62, 0.12);
  color: var(--primary);
  flex: 0 0 auto;
}

.dashboard-nav__heading-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.dashboard-nav a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.15rem;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.dashboard-nav__item {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: rgba(211, 39, 62, 0.08);
  color: var(--primary);
  font-weight: 600;
  border-color: rgba(211, 39, 62, 0.12);
  transform: translateX(2px);
}

.dashboard-nav__logout {
  color: #8e2630 !important;
  background: linear-gradient(180deg,
      rgba(158, 38, 48, 0.08),
      rgba(158, 38, 48, 0.03)) !important;
  border-color: rgba(158, 38, 48, 0.12) !important;
}

.dashboard-nav__logout:hover,
.dashboard-nav__logout.active {
  background: rgba(158, 38, 48, 0.12) !important;
  color: #7d1f28 !important;
}

.dashboard-nav__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: currentColor;
}

.dashboard-nav__item-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-nav__logout .dashboard-nav__item-icon {
  color: #8e2630;
}

.dashboard-toolbar {
  display: none;
}

.panel-footer {
  background: var(--steel-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
}

.panel-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.8;
}

.panel-footer a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Shared utility classes used across public pages and the panel */
.admin-form {
  display: grid;
  gap: 0.25rem;
}

.admin-form .form-group {
  margin-bottom: 1rem;
}

.admin-form .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--foreground);
}

.admin-form .input,
.admin-form .textarea,
.admin-form .select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.92rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  outline: none;
}

.admin-form .input:focus,
.admin-form .textarea:focus,
.admin-form .select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 39, 62, 0.12);
}

.admin-form .textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-form .input::file-selector-button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.85rem;
  margin-right: 0.75rem;
  border-radius: 0.5rem;
}

.admin-toolbar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-meta {
  color: var(--muted-foreground);
}

.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(211, 39, 62, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  width: fit-content;
}

.admin-preview {
  display: block;
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius);
  margin-top: 0.65rem;
  border: 1px solid var(--border);
}

.admin-empty {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--muted);
  border: 1px dashed var(--border);
  color: var(--muted-foreground);
}

/* CTA banner */
.cta-banner {
  background: var(--gradient-steel);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-red-glow);
  opacity: 0.3;
}

.cta-banner>* {
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog */
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.15s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-steel);
}

.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--gradient-steel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.85;
}

.blog-body {
  padding: 1.25rem;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin-bottom: 0.4rem;
}

.blog-meta .cat {
  color: var(--primary);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.blog-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Search by printer */
.printer-finder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* ============== Responsive ============== */
@media (max-width: 991px) {

  .hero-grid,
  .form-row,
  .shop-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .form-row-settings {
    grid-template-columns: 1fr;
  }

  .form-row-settings .form-group {
    grid-column: 1 / -1 !important;
  }

  .panel-frenet-intro__grid {
    grid-template-columns: 1fr;
  }

  .panel-frenet-actions {
    bottom: 0.75rem;
  }

  .panel-frenet-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cart-drawer__panel {
    width: 100%;
  }

  .filter-sidebar,
  .dashboard-nav {
    position: static;
  }

  .dashboard-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.85rem;
  }

  .dashboard-nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .dashboard-nav {
    display: none;
  }

  .dashboard-nav.is-open {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 0.5rem;
    color: #fff;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a {
    width: 100%;
  }

  .search-box {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
    margin-right: 0.25rem;
  }

  .icon-link span {
    display: none;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 0.5rem;
  }

  .cart-item>*:nth-child(n + 3) {
    grid-column: 2;
  }

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

  .site-notice-modal__dialog {
    padding: 1.25rem;
  }

  .site-notice-modal__header {
    padding-right: 1.5rem;
  }

  .panel-product-gallery__item {
    flex-basis: calc((100% - (0.75rem * 3)) / 4);
    max-width: calc((100% - (0.75rem * 3)) / 4);
  }

  .panel-product-row--5 {
    grid-template-columns: 1fr;
  }

  .panel-product-row--3 {
    grid-template-columns: 1fr;
  }

  .panel-attribute-option-grid--create,
  .panel-attribute-option-grid--edit {
    grid-template-columns: 1fr;
  }

  .panel-attribute-option-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-ctas {
    flex-wrap: wrap;
  }

  .hero-ctas .btn {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .hero-ctas .btn:last-child {
    flex-basis: 100%;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .panel-product-gallery__item {
    flex-basis: calc((100% - (0.75rem * 2)) / 3);
    max-width: calc((100% - (0.75rem * 2)) / 3);
  }
}

@media (max-width: 577px) {
  .header-inner {
    gap: 0.85rem;
  }

  .header-actions {
    gap: 0.35rem;
    margin-right: 0.15rem;
  }

  .menu-toggle {
    padding: 0.45rem 0.65rem;
  }

  .hero-ctas .btn {
    flex-basis: 100%;
  }

  .panel-product-gallery__carousel {
    grid-template-columns: auto 1fr auto;
  }

  .panel-product-gallery__item {
    flex-basis: calc((100% - 0.75rem) / 2);
    max-width: calc((100% - 0.75rem) / 2);
  }
}

@media (max-width: 420px) {
  .panel-product-gallery__item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .panel-product-gallery__nav {
    width: 38px;
    height: 38px;
  }
}

/* ============== Breakpoint <= 576px — Topbar home layout ============== */
@media (max-width: 576px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* ============== Breakpoint <= 320px — Cobertura Crítica ============== */
@media (max-width: 320px) {

  /* Header: logo + actions */
  .logo {
    font-size: 1.2rem;
  }

  .logo .at {
    font-size: 1.4rem;
  }

  .header-inner {
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .header-actions {
    gap: 0.25rem;
    margin-right: 0.1rem;
  }

  .icon-link {
    font-size: 0.86rem;
  }

  .menu-toggle {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }

  /* Topbar */
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .topbar {
    font-size: 0.72rem;
  }

  /* Hero */
  .hero {
    padding: 1.75rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.1;
  }

  .hero p {
    font-size: 0.88rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-ctas .btn {
    flex-basis: 100%;
    width: 100%;
  }

  /* Seções */
  .section {
    padding: 2rem 0;
  }

  .section-sm {
    padding: 1.5rem 0;
  }

  /* Product stepper (página produto) */
  .product-qty-stepper {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .product-qty-stepper__control {
    grid-template-columns: 44px 1fr 44px;
  }

  .product-qty-stepper__label {
    font-size: 0.88rem;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Page header */
  .page-header {
    padding: 1.75rem 0;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  /* Botões */
  .btn-lg {
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* FAQ Accordion */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #d3273e;
}

.faq-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foreground);
  cursor: pointer;
  outline: none;
}

.faq-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.faq-accordion-trigger[aria-expanded="true"] .faq-accordion-icon {
  transform: rotate(180deg);
}

.faq-accordion-content {
  border-top: 1px solid var(--border);
  background: rgba(244, 245, 247, 0.5);
  transition: max-height 0.2s ease;
}

.faq-accordion-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Autocomplete suggestions */
.search-box {
  position: relative;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 380px;
  overflow-y: auto;
  margin-top: 8px;
  padding: 0.5rem 0;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--foreground);
  transition: background 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-selected {
  background: #f9fafb;
}

.search-suggestion-thumb {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.search-suggestion-info {
  flex-grow: 1;
  min-width: 0;
}

.search-suggestion-name {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
}

.search-suggestion-brand {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.search-suggestion-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d3273e;
  text-align: right;
  flex-shrink: 0;
}

.search-suggestion-price del {
  font-weight: normal;
  color: var(--muted-foreground);
  margin-right: 4px;
  font-size: 0.78rem;
}

.search-suggestion-empty {
  padding: 16px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Favorite Buttons */
.btn-favorite {
  border: 1px solid var(--border);
  background: var(--card);
  color: #d3273e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-favorite:hover {
  background: #ffe4e6;
  border-color: #fda4af;
}

.btn-favorite.is-favorite {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #d3273e;
}

.btn-favorite svg {
  transition: transform 0.2s ease;
}

.btn-favorite:active svg {
  transform: scale(1.2);
}

/* Contextual Help Button Header Layout */
.panel-header-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-header-actions-wrapper .panel-header-actions {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}
