/* PET SHOP — catálogo para pet shop: creme/branco, verde-água acolhedor, laranja quente, formas arredondadas e traços orgânicos de patinha */

:root {
  --accent: #2a9d8f;
  --accent-hover: #21867a;
  --accent-soft: rgba(42, 157, 143, 0.14);
  --accent-on-badge: #ffffff;

  --secondary: #f4a261;
  --secondary-hover: #ec9247;
  --secondary-soft: rgba(244, 162, 97, 0.18);

  --bg: #fffaf3;
  --bg-subtle: #fff3e4;
  --bg-muted: #fdecd8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;

  --border: rgba(31, 59, 54, 0.1);
  --border-strong: rgba(31, 59, 54, 0.2);

  --text: #24413c;
  --muted: #6d8580;
  --muted-2: #94a6a2;

  --on-accent: #ffffff;
  --danger: #e0604a;
  --success: #588157;

  --header-bg: rgba(255, 250, 243, 0.86);
  --header-bg-solid: rgba(255, 250, 243, 0.98);
  --header-border: rgba(31, 59, 54, 0.08);
  --thumb-bg: #fdecd8;
  --cart-foot-bg: #fff8ee;
  --overlay: rgba(28, 46, 43, 0.5);
  --modal-scrim: rgba(20, 34, 31, 0.6);

  --shadow-sm: 0 2px 10px rgba(36, 65, 60, 0.06);
  --shadow-card: 0 14px 32px rgba(36, 65, 60, 0.09);
  --shadow-card-hover: 0 20px 44px rgba(36, 65, 60, 0.14);
  --shadow-accent: 0 14px 30px rgba(42, 157, 143, 0.28);

  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 26px;
  --header-h: 76px;
  --font-display: 'Fredoka', 'Quicksand', system-ui, sans-serif;
  --font: 'Nunito Sans', 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --bg: #16231f;
  --bg-subtle: #1b2c27;
  --bg-muted: #20342e;
  --bg-elevated: #21362f;
  --bg-card: #203630;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3efe6;
  --muted: #a9beb8;
  --muted-2: #7f948e;
  --header-bg: rgba(22, 35, 31, 0.86);
  --header-bg-solid: rgba(22, 35, 31, 0.98);
  --header-border: rgba(255, 255, 255, 0.07);
  --thumb-bg: #1c2f2a;
  --cart-foot-bg: #1b2c27;
  --overlay: rgba(6, 12, 10, 0.62);
  --modal-scrim: rgba(6, 12, 10, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

[data-theme='dark'] html,
html[data-theme='dark'] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===================== Buttons & form base ===================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-wa,
.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.82rem 1.4rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

a.btn,
a.btn-primary,
a.btn-outline,
a.btn-secondary,
a.btn-wa {
  text-decoration: none;
}

.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-secondary:active {
  transform: scale(0.96);
}

.btn-primary,
.btn-wa {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover,
.btn-wa:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.btn-cart {
  background: var(--secondary);
  color: #2a1a08;
  position: relative;
}

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

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text);
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--accent);
}

.btn-icon svg {
  width: 19px;
  height: 19px;
}

.input,
.inp,
.select,
select,
textarea.input,
textarea.inp {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.input::placeholder,
.inp::placeholder {
  color: var(--muted-2);
}

.input:focus,
.inp:focus,
.select:focus,
select:focus,
textarea.input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field {
  display: block;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===================== Decorative paw motif ===================== */
.paw-print {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.paw-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* ===================== Header ===================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header-flex {
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 42vw;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 999px;
}

.b-name,
.brand-text #brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cart-badge,
.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.66rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg-card);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav a {
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-muted);
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.75rem);
  background: radial-gradient(120% 140% at 12% -10%, var(--secondary-soft), transparent 55%),
    radial-gradient(120% 140% at 90% 10%, var(--accent-soft), transparent 60%), var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 44% 56% 62% 38% / 48% 40% 60% 52%;
  background: var(--accent-soft);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -70px;
  width: 260px;
  height: 260px;
  border-radius: 58% 42% 40% 60% / 52% 60% 40% 48%;
  background: var(--secondary-soft);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 680px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--text);
}

.hero p {
  margin: 0 0 1.9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  max-width: 48ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-ctas .btn,
.hero-ctas .btn-primary,
.hero-ctas .btn-outline {
  padding: 1rem 1.85rem;
}

/* ===================== Section headings ===================== */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
}

.sec-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--text);
}

.badge-count {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

section {
  padding-block: clamp(2.2rem, 5vw, 3.5rem);
}

#produtos,
#categorias,
#contato,
#filtros {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ===================== Categories / filters ===================== */
.filters-section {
  padding-block: 1.5rem;
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.filters-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filters-grid .inp,
.filters-grid .input {
  flex: 1 1 160px;
  min-width: 0;
}

.inp-search {
  flex: 2 1 260px;
}

.cat-chips {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 1rem 0 0.2rem;
  scrollbar-width: none;
}

.cat-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.chip.is-active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}

/* ===================== Products ===================== */
.products-section {
  padding-block: clamp(2.4rem, 5vw, 3.75rem);
}

.products-grouped {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--secondary);
  color: #2a1a08;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(244, 162, 97, 0.35);
}

.card-badge::before {
  content: '🐾';
  margin-right: 0.3em;
}

.card-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--thumb-bg);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-thumb {
  transform: scale(1.06);
}

.card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.32rem;
}

.card-cat {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
}

.card-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-hover);
  margin-top: 0.1rem;
}

.card-price small {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}

.card-var {
  font-size: 0.78rem;
  color: var(--muted);
}

.card-actions {
  margin-top: auto;
  padding-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.card-actions .btn,
.card-actions .btn-outline,
.card-actions .btn-primary {
  font-size: 0.78rem;
  padding: 0.65rem 0.5rem;
}

.empty-state,
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 3.5rem 1.25rem;
  font-size: 0.95rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

/* ===================== App shell / footer ===================== */
.app-wrap {
  min-height: 100%;
}

.app-footer {
  text-align: left;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 2.25rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  background: var(--bg-subtle);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
}

.footer-quote {
  color: var(--muted);
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  max-width: 40ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .footer-links {
    justify-content: center;
  }
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* ===================== Cart drawer ===================== */
.cart-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cart-backdrop.is-open,
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 310;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card-hover);
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-head {
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.3rem;
}

.cart-foot {
  padding: 1rem 1.3rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--cart-foot-bg);
}

.cart-coupon-form {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.cart-coupon-section {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.cart-coupon-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-coupon-form .input,
.cart-coupon-form .inp {
  min-width: 0;
}

.cart-coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cart-coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(224, 96, 74, 0.3);
  background: rgba(224, 96, 74, 0.1);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
}

.cart-coupon-chip strong {
  color: var(--danger);
  line-height: 1;
}

.cart-coupon-feedback {
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.cart-coupon-feedback.is-success {
  background: rgba(88, 129, 87, 0.14);
  color: #3c6b3b;
}

.cart-coupon-feedback.is-error {
  background: rgba(224, 96, 74, 0.14);
  color: #a8402a;
}

.cart-coupon-feedback.is-info {
  background: var(--bg-muted);
  color: var(--text);
}

.cart-discount-box {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.cart-discount-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-line img,
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--thumb-bg);
}

.line-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text);
}

.line-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.line-price {
  font-weight: 800;
  font-size: 0.96rem;
  margin-top: 0.3rem;
  color: var(--accent-hover);
}

.qty-row,
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  color: var(--text);
}

.line-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 0.45rem;
  text-decoration: underline;
  font-family: inherit;
}

.cart-total,
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.cart-total-row strong {
  font-size: 1.3rem;
}

.cart-total-row-discount strong {
  color: var(--accent-hover);
}

.cart-actions {
  display: grid;
  gap: 0.55rem;
}

@media (max-width: 520px) {
  .cart-coupon-form {
    flex-direction: column;
  }
}

/* ===================== Modals ===================== */
.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card-hover);
}

.modal-product-img,
#modal-product-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 1.1rem;
  border-radius: var(--radius);
  background: var(--thumb-bg);
}

.modal h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
}

.modal p,
.modal p.desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.btn-close,
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.btn-close:hover,
.modal-close:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.price-big {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent-hover);
}

.var-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.var-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.var-opt {
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin: 0 0.35rem 0.35rem 0;
  display: inline-block;
}

.var-opt:hover {
  border-color: var(--accent);
}

.var-opt.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.var-opt.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

#modal-product #modal-add,
#modal-product #modal-cancel {
  width: 100%;
  margin-top: 0.6rem;
}

@media (max-width: 420px) {
  .modal-actions {
    grid-template-columns: 1fr;
  }
}

/* ===================== Toast ===================== */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 400;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  border-color: rgba(224, 96, 74, 0.4);
}

@media (max-width: 480px) {
  .filters-grid {
    flex-direction: column;
  }

  .filters-grid .inp,
  .filters-grid .input {
    width: 100%;
  }

  .brand { min-width: 0; flex-shrink: 1; }
  .brand-text { min-width: 0; }
  .brand-tagline { white-space: normal; }
}
