:root {
  --ink: #1b1f23;
  --muted: #667085;
  --line: #d9dee5;
  --paper: #ffffff;
  --soft: #fff5f2;
  --mint: #c1121f;
  --coral: #8f1019;
  --gold: #f5c542;
  --charcoal: #202326;
  --shadow: 0 16px 40px rgba(26, 35, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #3e454c;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.cart-link span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 4px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-size: 0.78rem;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(82px, 10vw, 132px) clamp(18px, 5vw, 72px) 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.82), rgba(20, 22, 25, 0.36)),
    url("https://www.royalchallengers.com/PRRCB01/public/2026-03/virat.png") right bottom / contain no-repeat;
}

.landing-hero {
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.82), rgba(20, 22, 25, 0.24)),
    url("https://images.unsplash.com/photo-1521412644187-c49fa049e84d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

.hero p {
  max-width: 640px;
  font-size: 1.1rem;
}

.search-panel {
  width: min(680px, 100%);
  margin-top: 28px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label,
.toolbar label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

button,
.button,
.product-card a,
.section-heading a,
.blog-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--mint);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
.button:hover,
.product-card a:hover,
.section-heading a:hover,
.blog-card a:hover {
  background: #8f1019;
}

.section,
.page-intro,
.blog-layout {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.compact-section {
  padding-top: 30px;
}

.page-intro {
  min-height: 44vh;
  display: grid;
  align-content: end;
  color: #fff;
}

.catalog-intro {
  background:
    linear-gradient(90deg, rgba(29, 31, 32, 0.82), rgba(29, 31, 32, 0.28)),
    url("https://images.unsplash.com/photo-1521412644187-c49fa049e84d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.blog-intro {
  background:
    linear-gradient(90deg, rgba(29, 31, 32, 0.82), rgba(29, 31, 32, 0.26)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.about-intro {
  background:
    linear-gradient(90deg, rgba(29, 31, 32, 0.82), rgba(29, 31, 32, 0.24)),
    url("https://www.royalchallengers.com/PRRCB01/public/2026-03/rajat.png") right bottom / contain no-repeat;
}

.contact-intro {
  background:
    linear-gradient(90deg, rgba(29, 31, 32, 0.82), rgba(29, 31, 32, 0.24)),
    url("https://www.royalchallengers.com/PRRCB01/public/2026-03/bhuvi_0.png") right bottom / contain no-repeat;
}

.page-intro p {
  max-width: 680px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading a {
  color: var(--ink);
  background: var(--gold);
}

.section-heading a:hover {
  background: #dba13f;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(27, 31, 35, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center bottom;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.98), rgba(255, 245, 242, 0.72) 58%, rgba(143, 16, 25, 0.12));
}

.product-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-meta,
.rating-row,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  color: var(--coral);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions button {
  background: var(--charcoal);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--soft);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list span {
  color: var(--mint);
  font-weight: 900;
}

.toolbar {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.results-line {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.cart-section {
  background: var(--charcoal);
  color: #fff;
}

.cart-section .eyebrow,
.cart-section .price {
  color: var(--gold);
}

.cart-panel {
  display: grid;
  gap: 14px;
}

.cart-item,
.cart-empty,
.cart-total {
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.cart-item button {
  min-height: 36px;
  background: var(--coral);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 900;
}

.checkout-button {
  justify-self: start;
}

.checkout-section,
.tracking-section {
  background: #fff;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.checkout-form,
.order-summary,
.tracking-form,
.order-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-form label,
.tracking-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.payment-fields {
  display: grid;
  gap: 16px;
}

.two-column-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.summary-row,
.summary-total,
.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  border-bottom: 0;
  font-size: 1.18rem;
}

.secure-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.tracking-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 22px;
}

.tracking-result,
.order-history {
  display: grid;
  gap: 16px;
}

.order-card {
  background: #fff;
  box-shadow: 0 10px 26px rgba(27, 31, 35, 0.08);
}

.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tracking-steps span {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.tracking-steps span.active {
  color: #fff;
  background: var(--mint);
  border-color: var(--mint);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 22px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs a {
  color: var(--mint);
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 76px);
  padding: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 72px);
}

.product-detail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
  font-weight: 800;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-list {
  display: grid;
  gap: 22px;
}

.blog-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(27, 31, 35, 0.08);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card div {
  display: grid;
  align-content: center;
  gap: 12px;
}

.blog-card a {
  justify-self: start;
}

.blog-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--soft);
  border-radius: 8px;
}

.blog-sidebar a {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-details {
  display: grid;
  gap: 16px;
}

.contact-form {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-details article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(27, 31, 35, 0.08);
}

.form-output {
  min-height: 28px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #17191b;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.redirect-card {
  width: min(620px, 100%);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@media (max-width: 840px) {
  .site-header,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .toolbar,
  .split-band,
  .product-detail,
  .checkout-layout,
  .blog-layout,
  .blog-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .search-row,
  .product-actions,
  .spec-list,
  .cart-total,
  .two-column-fields,
  .tracking-form {
    grid-template-columns: 1fr;
  }

  .cart-item,
  .cart-total,
  .summary-row,
  .summary-total,
  .order-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav a {
    padding: 8px 9px;
  }
}

/* Blog Styles */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post {
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-excerpt {
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--mint);
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--ink);
}

.search-panel {
  margin-bottom: 2rem;
}

.search-panel input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--line);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--mint);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-posts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-post {
    margin: 0 1rem;
  }

  .blog-content {
    padding: 1rem;
  }
}
