:root {
  --primary-orange: #ffb300;
  --dark-black: #0b0b0f;
  --dark-gray: #1f1f24;
  --light-gray: #e5e7eb;
  --white: #ffffff;
  --accent-red: #ff3b30;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  body.pawix-custom-cursor,
  body.pawix-custom-cursor * {
    cursor: none !important;
  }

  .pawix-kibble-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 30px;
    height: 23px;
    background: url("../assets/icons/kibble-cursor.svg") center / contain no-repeat;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) rotate(-18deg) scale(0.82);
    transform-origin: center;
    transition: opacity 120ms ease, filter 160ms ease;
    will-change: transform;
  }

  .pawix-kibble-cursor.is-visible {
    opacity: 1;
  }

  .pawix-kibble-cursor.is-hovering {
    filter: drop-shadow(0 0 5px rgba(255, 179, 0, 0.55));
  }

  .pawix-kibble-cursor.is-pressed {
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(255, 179, 0, 0.65));
  }
}

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--dark-black);
  color: var(--white);
  direction: rtl;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  gap: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.icon-btn,
.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.icon-btn:hover,
.cart-btn:hover,
.logo:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 179, 0, 0.5);
}

.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  left: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary-orange);
  color: var(--dark-black);
  font-size: 10px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-weight: 500;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -9px 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-orange);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--primary-orange);
}

.brand-mark svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(17, 17, 21, 0.96) 0%, rgba(11, 11, 15, 0.9) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
}

.hero-glow-one {
  top: 48px;
  right: 160px;
  width: 200px;
  height: 200px;
  background: rgba(255, 179, 0, 0.2);
}

.hero-glow-two {
  bottom: 60px;
  left: 120px;
  width: 260px;
  height: 260px;
  background: rgba(255, 59, 48, 0.09);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 32px;
  min-height: 600px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.pet-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 179, 0, 0.2);
  box-shadow: var(--shadow-soft);
}

.pet-card img {
  height: 100%;
  object-fit: cover;
}

.pet-card-dog {
  left: 20px;
  bottom: 30px;
  width: 62%;
  height: 480px;
  transform: rotate(-4deg);
}

.pet-card-cat {
  right: 18px;
  bottom: 10px;
  width: 34%;
  height: 260px;
  border-radius: 22px;
  transform: rotate(5deg);
}

.paw-pattern {
  position: absolute;
  color: rgba(255, 179, 0, 0.08);
  width: 230px;
  height: 230px;
  right: 60px;
  top: 40px;
  z-index: -1;
}

.paw-pattern svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: right;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-orange);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3vw, 4.1rem);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-copy p {
  max-width: 500px;
  color: rgba(229, 231, 235, 0.9);
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffc840, var(--primary-orange));
  color: var(--dark-black);
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(255, 179, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(255, 179, 0, 0.36);
}

.cta-btn.secondary {
  min-height: 52px;
  padding: 0 28px;
}

.benefits {
  margin-top: -10px;
  padding-bottom: 18px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 30px 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: rgba(31, 31, 36, 0.96);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 0, 0.45);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(255, 179, 0, 0.12);
  color: var(--primary-orange);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-card p {
  color: rgba(229, 231, 235, 0.8);
  font-size: 0.96rem;
}

.products {
  padding: 64px 0 42px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-line {
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary-orange);
}

.section-head h2 {
  font-size: clamp(1.9rem, 2vw, 2.5rem);
  font-weight: 800;
}

.section-link {
  color: var(--primary-orange);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(31, 31, 36, 0.96);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 0, 0.45);
}

.product-image {
  background: #111217;
  height: 260px;
}

.product-image img {
  height: 100%;
  object-fit: cover;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
}

.product-brand {
  color: rgba(255, 179, 0, 0.85);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.product-card h3 {
  font-size: 1.1rem;
  line-height: 1.7;
  min-height: 54px;
}

.product-card h3 a:hover {
  color: var(--primary-orange);
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
  font-size: 0.83rem;
}

.rating span {
  letter-spacing: 0.12em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.price {
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 1.08rem;
}

.product-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 179, 0, 0.12);
  color: var(--primary-orange);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.product-footer button:hover {
  transform: translateY(-2px);
  background: rgba(255, 179, 0, 0.18);
}

.promo-banner {
  padding: 28px 0 82px;
}

.promo-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 28px;
  padding: 22px 22px 22px 38px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.94), rgba(11, 11, 15, 0.97));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.promo-inner::before,
.promo-inner::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 179, 0, 0.28);
  border-radius: 50%;
  inset: auto auto 18px 18px;
  transform: rotate(-14deg);
}

.promo-inner::before {
  width: 220px;
  height: 220px;
  left: 10px;
  bottom: -78px;
}

.promo-inner::after {
  width: 160px;
  height: 160px;
  left: 64px;
  bottom: -34px;
}

.promo-visual {
  position: relative;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
}

.promo-visual img {
  height: 100%;
  object-fit: cover;
}

.promo-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.promo-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-orange);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.promo-content h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.promo-discount {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.92), rgba(255, 179, 0, 0.64));
  color: var(--dark-black);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  box-shadow: 0 18px 30px rgba(255, 179, 0, 0.28);
}

.site-footer {
  background: rgba(8, 8, 12, 0.96);
  border-top: 1px solid var(--border-soft);
  padding: 52px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: 30px;
}

.footer-brand p {
  margin-top: 18px;
  color: rgba(229, 231, 235, 0.8);
  max-width: 360px;
  line-height: 2;
}

.footer-logo {
  justify-content: flex-start;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.socials a,
.socials span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  color: var(--primary-orange);
  font-size: 1.1rem;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(229, 231, 235, 0.78);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: rgba(229, 231, 235, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: -1;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-inner {
    grid-template-columns: 1fr;
    padding: 22px 22px 30px;
  }

  .promo-discount {
    position: static;
    transform: none;
    margin: 0 auto 12px;
  }
}

@media (max-width: 720px) {
  .header-row {
    grid-template-columns: 1fr auto 1fr;
    min-height: 76px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.89rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .pet-card-dog {
    width: 76%;
    height: 360px;
    left: 0;
  }

  .pet-card-cat {
    width: 42%;
    height: 210px;
    right: 0;
  }

  .benefits-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
