* {
  box-sizing: border-box;
}

:root {
  --navy: #061a33;
  --cream: #fff7ea;
  --cream2: #f2e3ce;
  --gold: #b98a38;
  --text: #102033;
  --muted: #586374;
  --white: #ffffff;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.topbar {
  background: var(--navy);
  color: white;
  min-height: 110px;
  padding: 20px clamp(26px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: white;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: .08em;
  font-weight: 700;
}

.brand small {
  color: var(--gold);
  letter-spacing: .26em;
  font-weight: 800;
  margin-top: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.cart {
  color: var(--gold);
  font-size: 1.55rem;
}

.hero {
  padding: 28px clamp(18px, 3vw, 36px) 0;
  background: linear-gradient(180deg, #fff7ea 0%, #f7ebdb 100%);
}

.label-hero {
  width: 100%;
  margin: 0 auto;
  border: 2px solid var(--gold);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 20px 60px rgba(6, 26, 51, .14);
}

.label-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-row {
  max-width: 1360px;
  margin: 38px auto 56px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 54px;
  padding: 0 clamp(12px, 3vw, 60px);
}

h1, h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: .98;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.intro-copy p {
  color: #24364b;
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 500px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  min-width: 170px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}

.primary {
  background: var(--navy);
  color: white;
}

.secondary {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.features article {
  text-align: center;
  padding: 10px 28px 18px;
  border-left: 1px solid rgba(185, 138, 56, .38);
}

.features article:first-child {
  border-left: none;
}

.icon {
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.features h3 {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  line-height: 1.45;
  margin: 0 0 14px;
}

.features p {
  color: #3d4654;
  line-height: 1.5;
  margin: 0;
  font-size: .96rem;
}

.testimonial {
  background: #f1e4d2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 26px clamp(20px, 8vw, 160px);
  text-align: center;
}

.testimonial .paw {
  font-size: 2rem;
  color: var(--gold);
}

.testimonial h2 {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.testimonial p {
  margin: 0;
  font-size: 1rem;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  white-space: nowrap;
}

.stars span {
  color: var(--navy);
  margin-left: 10px;
}

.section {
  padding: 86px clamp(22px, 5vw, 90px);
  max-width: 1200px;
  margin: auto;
}

.eyebrow {
  color: #6e4d93 !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: .8rem !important;
}

.section p,
.card li {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: white;
  border: 1px solid rgba(185, 138, 56, .35);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 18px 48px rgba(6, 26, 51, .07);
}

.card h3 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-top: 0;
}

.price {
  display: block;
  color: var(--navy);
  font-size: 2.2rem;
  margin-top: 16px;
}

.story {
  background: var(--navy);
  color: white;
  max-width: none;
}

.story h2 {
  color: white;
}

.story p {
  max-width: 850px;
  color: #e7dfd2;
}

.contact {
  text-align: center;
}

footer {
  background: #041020;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: .92rem;
}

@media(max-width: 900px) {
  .topbar {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: .9rem;
  }

  nav a {
    font-size: .92rem;
  }

  .cart {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .label-hero {
    border-radius: 12px;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 8px;
  }

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

  .features article {
    border-left: none;
    border-top: 1px solid rgba(185, 138, 56, .32);
  }

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

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

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

  h1 {
    font-size: 3.15rem;
  }

  .btn {
    width: 100%;
  }
}


/* Contact section */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.contact-card {
  max-width: 620px;
  margin: 28px auto 0;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(185, 138, 56, .35);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(6, 26, 51, .07);
}

.contact-card p {
  margin: 8px 0;
}

.contact-card a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}


/* Real customer feedback */
.section-intro {
  max-width: 760px;
}

.testimonials {
  max-width: 1400px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(185, 138, 56, .35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(6, 26, 51, .08);
}

.testimonial-card img {
  width: 100%;
  display: block;
}

.testimonial-copy {
  padding: 24px;
}

.testimonial-copy h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.testimonial-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Contact section */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.contact-card {
  max-width: 620px;
  margin: 28px auto 0;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(185, 138, 56, .35);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(6, 26, 51, .07);
}

.contact-card p {
  margin: 8px 0;
}

.contact-card a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

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

/* Buy row: quantity + add to cart */
.buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  width: 42px;
  height: 48px;
  border: none;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--cream2);
}

.qty-input {
  width: 52px;
  height: 48px;
  border: none;
  border-left: 1.5px solid var(--navy);
  border-right: 1.5px solid var(--navy);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-row .add-to-cart {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  cursor: pointer;
  border: none;
}

/* Cart badge */
.cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 51, .45);
  z-index: 90;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--cream);
  box-shadow: -18px 0 48px rgba(6, 26, 51, .18);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--navy);
  color: white;
}

.drawer-head h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(185, 138, 56, .3);
}

.ci-info {
  display: flex;
  flex-direction: column;
}

.ci-name {
  font-weight: 800;
  color: var(--navy);
}

.ci-price {
  color: var(--muted);
  font-size: .9rem;
}

.ci-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ci-controls .qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  font-size: 1.1rem;
}

.ci-qty {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.ci-remove {
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: .82rem;
  margin-left: 4px;
}

.cart-summary {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid rgba(185, 138, 56, .4);
}

.cart-summary .line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: var(--text);
}

.cart-summary .line.total {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 138, 56, .4);
}

.co-heading {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 1.05rem;
}

.co-field {
  display: block;
  margin-bottom: 22px;
}

.co-field span {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.co-field select,
.co-field input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  background: white;
  font-size: 1rem;
  color: var(--text);
}

.co-field input::placeholder {
  color: var(--muted);
}

.co-field input:focus,
.co-field select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(185, 138, 56, .5);
}

.co-field input.invalid {
  border-color: #c0392b;
}

.co-optional {
  font-weight: 500;
  font-style: normal;
  color: var(--muted);
}

.co-error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-weight: 600;
  font-size: .85rem;
}

.ship-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.ship-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(185, 138, 56, .5);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.ship-option:has(input:checked) {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.ship-option .ship-name {
  font-weight: 800;
  color: var(--navy);
}

.ship-option .ship-desc {
  grid-column: 2;
  color: var(--muted);
  font-size: .86rem;
}

.ship-option .ship-rate {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-weight: 800;
  color: var(--navy);
}

.drawer-foot {
  padding: 18px 24px;
  border-top: 1px solid rgba(185, 138, 56, .35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn.full {
  width: 100%;
  cursor: pointer;
}
