:root {
    --navy: #082a68;
    --ink: #232837;
    --muted: #667085;
    --line: #e6eaf2;
    --bg: #f7f9fc;
    --white: #fff;
    --green: #36c79a;
    --yellow: #ffe889;
    --pink: #ff8fc4;
    --blue: #89d7ff;
    --orange: #ff6b3d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.container {
    width: 1300px;
    margin: 0 auto;
}

.top-strip {
    background: var(--navy);
    color: #fff;
    font-size: 12px;
}

.top-strip-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
}

.main-header-grid {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 178px;
}

.brand img {
    width: 200px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.brand strong {
    display: block;
    color: var(--navy);
    font-size: 22px;
    line-height: 1;
}

.brand small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand strong,
.header-actions a,
.primary-btn,
.dark-btn,
.outline-btn,
.quick-scroll a,
.tag,
.price,
.mobile-bottom-nav span {
    font-family: "Josefin Sans", "Poppins", sans-serif;
}

.menu-toggle {
    display: none;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
}

.location-btn,
.pill-btn,
.menu-toggle {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
}

.search-box {
    height: 48px;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
}

.search-box span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 120px;
}

.icon-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.icon-actions a {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
}

.icon-actions svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-action {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
}

.cart-action svg {
    stroke: #fff;
}

.menu-row {
    border-top: 1px solid var(--line);
    background: #fff;
}

.menu-row-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.panel-header-grid,
.header-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
}

.panel-header-grid .status,
.header-grid .status {
    justify-self: center;
}

.panel-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.header-actions a,
.primary-btn,
.dark-btn,
.outline-btn {
    border-radius: 8px;
    padding: 10px 13px;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.header-actions a {
    color: var(--ink);
}

.header-actions a:hover {
    color: var(--orange);
}

.outline-btn {
    background: #fff;
    border: 1px solid var(--line);
}

.primary-btn {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 26px rgba(255, 107, 61, .2);
}

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

button:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-count {
    position: absolute;
    right: -6px;
    top: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
}

.wishlist-count {
    position: absolute;
    right: -6px;
    top: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
}

.deal-strip {
    background: var(--yellow);
}

.deal-strip-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}

.deal-strip-inner strong {
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--navy);
}

.deal-strip-inner a {
    margin-left: auto;
    font-weight: 900;
}

/* ── Hero Banner Carousel ─────────────────────────────── */
.hero-carousel-section { width: 100%; }

.hero-carousel {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: unset;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.05) 100%);
  z-index: 0;
}

.hero-slide-content {
    width: 1300px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  /* max-width: 620px; */
}

.hero-slide-content .eyebrow {
  display: inline-flex;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  margin-bottom: 4px;
}

.hero-slide-content h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.08;
  margin: 14px 0 12px;
  color: #fff;
  max-width: 560px;
}

.hero-slide-content .lead {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 0;
}

.hero-slide-content .hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-slide-content .outline-btn {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.hero-slide-content .outline-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
  border-color: #fff;
}

@media (max-width: 768px) {
  .hero-carousel { height: 420px; }
  .hero-slide-content { max-width: 100%; }
  .hero-arrow { width: 38px; height: 38px; font-size: 22px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}
@media (max-width: 480px) {
  .hero-carousel { height: 340px; }
  .hero-slide-content h1 { font-size: 26px; }
  .hero-slide-content .lead { font-size: 0.88rem; }
  .hero-arrow { display: none; }
}

.hero-offers {
    display: grid;
    gap: 16px;
}

.offer-card {
    border-radius: 8px;
    padding: 24px;
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    position: relative;
}


/* .offer-card::before {
    content: "";
    position: absolute;
    right: -28px;
    top: -26px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
} */

.offer-card::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 46%);
}

.offer-card strong {
    z-index: 9;
    font-size: 28px;
    color: var(--orange);
}

.offer-card span {
    z-index: 9;
    font-size: 22px;
    font-weight: 950;
    max-width: 180px;
    color: #ffffff;
}

.offer-card.blue {
    background-image: url('../images/banner-2.png');
    background-size: cover;
    background-position: center;
}

.offer-card.pink {
    background-image: url('../images/banner-3.png');
    background-size: cover;
    background-position: center;
}

.quick-row {
    background: #fff;
    border-block: 1px solid var(--line);
    padding: 60px 0;
}

.quick-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: start;
}

.quick-card {
    text-align: center;
    color: var(--ink);
    text-decoration: none;
}

.quick-card .media {
    width: 100%;
    height: 200px;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid;
    border-radius: 20px;
}

.quick-card .label {
    display: block;
    margin-top: 10px;
    font-weight: 900;
    font-size: 16px;
    color: var(--navy);
}

.quick-card:hover .media {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(16, 24, 40, 0.12);
}

.section {
    padding: 60px 0;
}

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

.section-head h2 {
    margin: 4px 0 0;
    font-size: 32px;
}

.about-hero-panel {
    display: grid;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border-radius: 18px;
}

.about-highlights,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.value-card {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.feature-card h3,
.value-card h3 {
    margin-top: 0;
}

@media (max-width: 860px) {
    .about-highlights,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

.section-head.compact {
    align-items: center;
    margin-bottom: 12px;
}

.section-head.compact h2 {
    font-size: 24px;
}

.muted {
    color: #000000;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* ── Corner Sections (Dog / Cat) ─────────────────────── */

.cat-corner-section {
    padding-top: 60px;
    background: linear-gradient(120deg, #d6e8ff 0%, #b3ccff 60%, #8fb3ff 100%);
}
.top-brands-section {
    background: linear-gradient(120deg, #fef1cc 0%, #fba51e 70%, #fef1cc 100%) !important;
}

/* Banner */
.corner-banner {
  position: relative;
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* overflow: hidden; */
  margin-bottom: 20px;
  min-height: 130px;
}

section#categories {
    background: linear-gradient(120deg, #ffe0ef 0%, #ffb3d4 60%, #ff8fc4 100%);
    padding-top: 60px;
}
.corner-banner-text {
    width: 70%;
    display: flex;
    align-items: start;
    gap: 0px;
    z-index: 2;
    position: relative;
    flex-direction: column;
}
.corner-banner-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(8,42,104,0.10);
  flex-shrink: 0;
}
.corner-banner-text h2 {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.1;
}
.corner-banner-text p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(8,42,104,0.65);
}
.corner-banner-pet {
    position: absolute;
    right: 0;
    bottom: 0;
    top: -28px;
    height: 250px;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    border-radius: 0 20px 20px 0;
    z-index: 9;
}
img#cat-corner-banner {
    position: absolute;
    right: 0;
    left: 0px;
    bottom: 0;
    top: -60px;
    height: 250px;
    width: 100%;
    object-fit: contain;
    object-position: bottom right;
    border-radius: 0 20px 20px 0;
    z-index: 9;
}

/* Cards row */
.corner-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.category-card.dog-card,
.category-card.cat-card {
  background: #fff;
  border: 1.5px solid #f0f0f0;
  border-radius: 16px;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 4px 12px rgba(16,24,40,0.05);
  min-height: 0;
}
.category-card.dog-card:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 24px rgba(255,143,196,0.18);
  transform: translateY(-4px);
}
.category-card.cat-card:hover {
  border-color: #8fb3ff;
  box-shadow: 0 10px 24px rgba(143,179,255,0.18);
  transform: translateY(-4px);
}
.category-card.dog-card .card-image,
.category-card.cat-card .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f9fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card.dog-card .card-image img,
.category-card.cat-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.category-card.dog-card .card-name,
.category-card.cat-card .card-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 1024px) { .corner-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .corner-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .corner-banner { padding: 20px; min-height: 100px; }
    .corner-banner-pet {
        height: 100px;
        width: 39%;
    }
  .corner-banner-text h2 { font-size: 20px; }
  .corner-banner-icon { width: 48px; height: 48px; font-size: 22px; }
  .corner-banner.dog-corner-banner {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.corner-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    position: relative;
}
.corner-banner-text h2 {
    font-size: 22px !important;
}
img#cat-corner-banner {
    position: relative;
    width: 41%;
    height: 100px;
    top: -12px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 20px 20px 0;
    z-index: 9;
}

}

/* ── Corner Category Cards (new style with badge + image) ── */
.corner-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
  position: relative;
}
.corner-banner-icon-wrap {
  width: 68px;
  height: 68px;
  background: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(8,42,104,0.12);
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.8);
}
.corner-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.corner-banner-text h2 {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.1;
}
.corner-banner-text p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(8,42,104,0.75);
}
.corner-banner-text p strong {
  font-weight: 800;
  color: var(--navy);
}

/* Cards grid */
.corner-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Individual card */
.corner-cat-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(16,24,40,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid #f0f0f0;
}
.corner-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(16,24,40,0.13);
}
.dog-card.corner-cat-card:hover { border-color: var(--pink); }
.cat-card.corner-cat-card:hover { border-color: #8fb3ff; }

/* Image area with badge overlay */
.corner-cat-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f9fc;
  overflow: hidden;
}
.corner-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.corner-cat-card:hover .corner-cat-img-wrap img {
  transform: scale(1.06);
}

/* Badge */
.corner-cat-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 6px;
  letter-spacing: 0.01em;
}
.corner-cat-badge.badge-pink {
  background: var(--pink, #ff8fc4);
  color: #fff;
}
.corner-cat-badge.badge-yellow {
  background: #f5c518;
  color: #1a1a1a;
}

/* Label below card */
.corner-cat-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
  padding: 10px 8px 12px;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1024px) {
  .corner-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .corner-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .corner-cat-name { font-size: 11px; padding: 7px 6px 9px; }
  .corner-cat-badge { font-size: 10px; padding: 4px 4px; }
  .corner-banner-icon-wrap { width: 52px; height: 52px; border-radius: 14px; }
  .corner-icon-img { width: 34px; height: 34px; }
}

.banner-band {
    padding: 10px 0;
}

.banner-inner {
    border-radius: 8px;
    padding: 30px;
    background: linear-gradient(110deg, #5d4bf0, #8b59ff, #ffbf3d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.banner-inner strong {
    font-size: 30px;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mini-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    border-color: rgba(255, 107, 61, 0.3);
    box-shadow: 0 16px 40px rgba(255, 107, 61, 0.15);
    transform: translateY(-8px);
}

.product-card .image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f7f9fc;
    overflow: hidden;
    display: block;
    border-radius: 15px 15px 0 0;
}

.wishlist-toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
}

.wishlist-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wishlist-toggle.saved {
    background: #fff2f6;
    border-color: #ffc2d6;
    color: #e83f75;
}

.wishlist-toggle.saved svg {
    fill: currentColor;
}

.product-info .wishlist-toggle {
    position: static;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
}

.product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    mix-blend-mode: multiply;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--yellow);
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    border-radius: 7px;
    padding: 6px 8px;
}

.product-body {
    padding: 13px;
}

.brand-name {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 900;
}

.product-body h3 {
    font-size: 14px;
    line-height: 1.35;
    min-height: 56px;
    margin: 6px 0 12px;
}

.meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
}

.price {
    font-size: 18px;
    font-weight: 950;
    color: var(--navy);
}

.mrp {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 6px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-pills a {
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 14px;
    font-weight: 900;
}

.brand-title {
    text-align: center;
    margin-top: 0;
}

.brand-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.brand-cloud a,
.brand-cloud span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 17px;
    font-weight: 900;
    min-width: 110px;
    text-align: center;
}

.contact-intro {
    background: linear-gradient(110deg, #e9f8f4, #fff7de);
    padding: 34px;
}

.contact-intro h1 {
    margin-bottom: 10px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.branch-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.branch-card h3 {
    color: var(--navy);
    margin: 0;
    font-size: 24px;
}

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

.branch-card .outline-btn {
    margin-top: auto;
    width: fit-content;
}

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

.service-note .lead {
    margin-inline: auto;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 18px;
    align-items: stretch;
}

.auth-copy {
    background: linear-gradient(110deg, #e9f8f4, #fff7de);
    padding: 34px;
}

.auth-copy h1,
.account-layout h1 {
    margin-bottom: 10px;
}

.auth-card {
    padding: 26px;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 22px;
    align-items: start;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
}

.account-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
}

.account-metrics .metric strong {
    font-size: 20px;
    overflow-wrap: anywhere;
}

.saved-addresses,
.address-list,
.order-list {
    display: grid;
    gap: 10px;
    margin: 12px 0;
}

.saved-address-card,
.order-card {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 13px;
    display: grid;
    gap: 5px;
    text-align: left;
    color: var(--ink);
}

.saved-address-card {
    cursor: pointer;
}

.saved-address-card strong,
.order-card strong {
    color: var(--navy);
    font-family: "Josefin Sans", "Poppins", sans-serif;
    font-size: 18px;
}

.saved-address-card span,
.order-card span {
    color: var(--ink);
    font-weight: 700;
}

.saved-address-card small,
.order-card small {
    color: var(--muted);
}

.saved-address-card.selected {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 61, .12);
}

.checkout-flow {
    display: grid;
    gap: 24px;
}

.checkout-flow textarea {
    min-height: 110px;
}

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

.checkout-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, .05);
}

.section-head.compact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-head.compact h2 {
    margin-bottom: 4px;
}

.address-form-card {
    display: grid;
    gap: 14px;
    margin-top: 12px;
    background: #f8fcff;
    border: 1px solid rgba(59, 130, 246, .18);
    padding: 24px;
    border-radius: 18px;
}

.address-form-card strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.address-form-card input,
.address-form-card textarea {
    border: 1px solid #dbe4f3;
    background: #f8fbff;
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--ink);
}

.address-form-card textarea {
    min-height: 110px;
    resize: vertical;
}

.saved-addresses {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}

.saved-address-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.saved-address-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(16, 24, 40, .08);
}

.payment-grid {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px 18px;
    cursor: pointer;
    color: var(--navy);
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease;
}

.payment-method:hover {
    border-color: rgba(8, 42, 104, .16);
}

.payment-method input {
    accent-color: #fb923c;
    margin-top: 0;
}

.summary-card {
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(17, 24, 39, .08);
}

.order-summary-table {
    overflow-x: auto;
    margin-bottom: 18px;
}

.summary-card .table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.summary-card .table th,
.summary-card .table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.summary-card .table thead {
    background: #f8fafc;
}

.summary-card .table tbody tr:last-child td {
    border-bottom: 0;
}

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

.summary-total {
    border-bottom: 0;
    font-size: 22px;
    color: var(--navy);
}

.summary-card .primary-btn {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .two-col,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        gap: 20px;
    }
    .checkout-panel {
        padding: 22px;
    }
    .section-head.compact {
        flex-direction: column;
        align-items: flex-start;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .payment-method {
        width: 100%;
    }
    .summary-card {
        box-shadow: none;
        border: 1px solid var(--line);
    }
    .saved-address-card,
    .address-form-card {
        padding: 18px;
    }
}

.profile-address-form {
    margin-top: 16px;
}

.tracking-panel {
    overflow: hidden;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.timeline-step {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.timeline-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #cfd6e2;
    background: #fff;
}

.timeline-step.done span,
.timeline-step.active span {
    background: var(--orange);
    border-color: var(--orange);
}

.timeline-step.done,
.timeline-step.active {
    border-color: rgba(255, 107, 61, .45);
    background: #fff7f1;
}

.timeline-step strong {
    color: var(--navy);
    font-family: "Josefin Sans", "Poppins", sans-serif;
    font-size: 18px;
}

.timeline-step small {
    color: var(--muted);
}

.tracking-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.tracking-summary>div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.tracking-summary h3 {
    margin: 0 0 8px;
    color: var(--navy);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    align-items: start;
}

.shop-flow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .04);
}

.cart-item-image {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #f7f9fc;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.cart-item-image img,
.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    mix-blend-mode: multiply;
}

.cart-item-info,
.cart-item-total {
    display: grid;
    gap: 8px;
}

.cart-item-info strong {
    color: var(--navy);
    font-family: "Josefin Sans", "Poppins", sans-serif;
    font-size: 20px;
}

.cart-item-actions {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 5px;
    background: #fff;
}

.cart-item-total {
    justify-items: end;
}

.cart-summary {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 14px;
}

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

.summary-total {
    border-bottom: 0;
    font-size: 22px;
    color: var(--navy);
}

.disabled-link {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.empty-shop-state {
    text-align: center;
    padding: 34px;
}

.empty-shop-state .primary-btn {
    margin-top: 8px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.wishlist-card {
    overflow: hidden;
}

.wishlist-card-image {
    aspect-ratio: 1 / 1;
    display: block;
    background: #f7f9fc;
}

.wishlist-card-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.wishlist-card-body h3 {
    min-height: 54px;
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.wishlist-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.product-gallery {
    padding: 24px;
    position: sticky;
    top: 120px;
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.product-info h1 {
    font-size: clamp(32px, 4vw, 50px);
}

.crumb {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--navy);
    font-weight: 900;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-price .price {
    font-size: 34px;
}

.detail-panels {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.contact-panel-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.2fr);
    gap: 32px;
    align-items: start;
}

.contact-panel-copy {
    display: grid;
    gap: 16px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 860px) {
    .contact-panel-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
}

.alert {
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
}

.success-alert {
    background: #e6f5ef;
    color: #11684a;
    border: 1px solid #b3dfc8;
}

.error-alert {
    background: #fff0f0;
    color: #8f1a2f;
    border: 1px solid #e2b5bb;
}

.form-grid input,
.form-grid select,
textarea,
.form-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

textarea {
    min-height: 96px;
    resize: vertical;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.admin-form-panel {
    margin-bottom: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table th {
    background: #f4f7fb;
    color: var(--navy);
}

.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.inventory-list {
    display: grid;
    gap: 12px;
    max-height: 72vh;
    overflow: auto;
    padding-right: 4px;
}

.inventory-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.inventory-row strong {
    color: var(--navy);
    font-family: "Josefin Sans", "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.25;
}

.inventory-row .muted {
    grid-column: 1;
}

.inventory-controls {
    grid-row: 1 / span 2;
    grid-column: 2;
    display: flex;
    gap: 8px;
    align-items: center;
}

.stock-input {
    width: 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
}

.qty-btn,
.remove-cart {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
    padding: 5px 8px;
    cursor: pointer;
}

.checkout-qty-cell {
    display: grid;
    gap: 10px;
    align-items: center;
}

.checkout-qty-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-qty-cell .remove-cart {
    width: fit-content;
    padding: 6px 10px;
}

.status {
    display: inline-block;
    border-radius: 8px;
    background: #eef7ff;
    color: var(--navy);
    padding: 6px 9px;
    font-weight: 900;
    font-size: 12px;
}

.store-tag {
    margin-bottom: 10px;
}

.sticky-summary {
    position: sticky;
    top: 120px;
}

.tracking-map {
    position: relative;
    height: 320px;
    border-radius: 8px;
    background: #c8dfca;
    overflow: hidden;
}

.dot,
.truck {
    position: absolute;
    font-size: 34px;
}

.dot {
    left: 18%;
    top: 52%;
    color: var(--orange);
}

.truck {
    left: 58%;
    top: 32%;
}

.dashboard {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 20px;
}

.sidebar nav {
    display: grid;
    gap: 7px;
    margin-top: 28px;
}

.sidebar a {
    padding: 11px 12px;
    border-radius: 8px;
    font-weight: 850;
}

.sidebar a:hover {
    background: #f4f7fb;
}

.dash-main {
    padding: 22px;
    overflow: auto;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.analytics-grid,
.store-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

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

.metric {
    padding: 18px;
}

.metric strong {
    display: block;
    font-size: 30px;
    margin: 6px 0;
}

.metric small {
    color: var(--muted);
    font-weight: 700;
}

.map-panel {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.map-panel iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    display: none;
    z-index: 50;
}

.footer {
    background: var(--navy);
    color: #fff;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.footer-col strong,
.footer-col h3 {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .02em;
}

.footer-brand p {
    margin: 0 0 18px;
    max-width: 320px;
    line-height: 1.8;
    color: #d1d5db;
}

.footer-logo img {
    width: 240px;
    max-width: 100%;
    display: block;
    margin-bottom: 18px;
    border-radius: 10px;
}

.footer a {
    display: block;
    color: #dbeafe;
    margin-bottom: 10px;
    transition: color .2s ease;
}

.footer a:hover,
.footer a:focus {
    color: #f8fafc;
}
.shop-by-breeds {
            background: linear-gradient(359deg, #d4581c, #f87d1378) !important;
        }

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
        /* Featured products: grid fallback and carousel variant */
        .featured-products .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        /* Featured carousel wrapper + arrows */
        .featured-wrap {
            position: relative;
        }
        .featured-prev,
        .featured-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--line);
            background: #fff;
            display: grid;
            place-items: center;
            box-shadow: 0 4px 14px rgba(16, 24, 40, .10);
            cursor: pointer;
            font-size: 20px;
            color: var(--navy);
            z-index: 2;
            transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
        }
        .featured-prev {
            left: -20px;
        }
        .featured-next {
            right: -20px;
        }
        .featured-prev:hover,
        .featured-next:hover {
            transform: translateY(-50%) translateY(-2px);
            border-color: rgba(255, 107, 61, .5);
            box-shadow: 0 8px 20px rgba(255, 107, 61, .15);
        }
        @media (max-width: 640px) {
            .featured-prev {
                left: 0;
            }
            .featured-next {
                right: 0;
            }
        }
        /* Shop by breeds */
        .shop-by-breeds {
            background: #fff;
        }
        .shop-by-breeds {
            background: linear-gradient(359deg, #d4581c, #f87d1378) !important;
        }
        .shop-by-breeds .breeds-row {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding: 8px 4px 20px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            align-items: flex-start;
        }
        .shop-by-breeds .breeds-row::-webkit-scrollbar {
            display: none;
        }
        .breed-card {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            color: inherit;
            transition: transform 0.18s;
            width: 160px;
        }
        .breed-card:hover {
            transform: translateY(-3px);
        }
        .breed-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
        }
        .breed-name {
            font-weight: 800;
            font-size: 1rem;
            color: #111;
            text-align: center;
            line-height: 1.3;
        }
        @media (max-width: 700px) {
            .breed-card {
                width: 120px;
            }
            .breed-image {
                width: 120px;
                height: 120px;
                border-radius: 16px;
            }
            .breed-name {
                font-size: 0.88rem;
            }
        }
    }
    .checkout-panel,
    .summary-card,
    .address-form-card {
        padding: 22px;
    }
    .section-head.compact {
        gap: 12px;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .menu-row-inner {
        justify-content: space-between;
    }
    .header-actions {
        padding: 14px 0;
    }
    .checkout-panel,
    .summary-card,
    .address-form-card {
        padding: 18px;
    }
    .address-form-card input,
    .address-form-card textarea {
        padding: 14px 12px;
    }
    .section-head.compact {
        gap: 10px;
    }
    .summary-line,
    .summary-total {
        flex-direction: column;
        align-items: flex-start;
    }
    .summary-line strong,
    .summary-total strong {
        margin-top: 6px;
    }
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1050px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4px;
        width: 44px;
        min-height: 42px;
        padding: 8px;
    }
    .menu-row-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-block: 8px;
    }
    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        padding: 12px 0;
        background: #fff;
        border-top: 1px solid var(--line);
    }
    .header-actions.open {
        display: flex;
    }
    .header-actions a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 900px) {
    .hero-layout,
    .categories-layout,
    .category-grid,
    .two-col,
    .shop-flow-layout,
    .product-detail-grid,
    .dashboard,
    .auth-grid,
    .account-layout {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-panel,
    .summary-card {
        width: 100%;
    }
    .branch-grid {
        grid-template-columns: 1fr;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    .tracking-summary {
        grid-template-columns: 1fr;
    }
    .product-gallery,
    .sticky-summary,
    .cart-summary {
        position: static;
    }
    .sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .panel-header-grid,
    .header-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .panel-header-grid .status,
    .header-grid .status {
        justify-self: start;
    }
    .inventory-list {
        max-height: none;
    }
    .analytics-grid,
    .store-metrics {
        grid-template-columns: 1fr;
    }
    .hero-main {
        min-height: 300px;
        padding: 30px;
    }
    .checkout-panel {
        padding: 22px;
        width: 360px;
    }
    .section-head.compact {
        flex-direction: row;
        align-items: center;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .payment-grid {
        gap: 12px;
    }
    .payment-method {
        width: 100%;
    }
    .summary-card {
        border: 1px solid var(--line);
        box-shadow: none;
    }
    .order-summary-table {
        overflow-x: unset;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 72px;
    }
    .top-strip,
    .menu-row,
    .footer {
        display: block;
    }
    .site-header {
        box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
    }
    .container {
        width: min(100% - 20px, 1180px);
    }
    .categories-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .category-cards {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .main-header-grid {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 9px;
        padding: 10px 0;
    }
    .brand {
        min-width: 0;
        gap: 0;
    }
    .brand img {
        width: 70px;
        height: 50px;
    }
    .brand span {
        display: none;
    }
    .search-box {
        grid-column: auto;
        height: 42px;
        min-width: 0;
        border-radius: 8px;
        padding: 0 10px;
    }
    .search-box span {
        display: none;
    }
    .search-box input {
        min-width: 0;
        font-size: 13px;
    }
    .icon-actions a {
        display: none;
    }
    .icon-actions .cart-action {
        display: inline-flex;
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }
    .icon-actions {
        gap: 0;
    }
    .cart-count {
        right: -4px;
        top: -5px;
    }
    .deal-strip-inner,
    .banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .deal-strip-inner {
        gap: 8px;
        padding: 10px 0;
    }
    .deal-strip-inner a {
        margin-left: 0;
    }
    .hero {
        padding: 14px 0 12px;
    }
    .hero-main {
        min-height: auto;
        padding: 22px;
    }
    .hero-main::after {
        width: 160px;
        height: 160px;
        right: -42px;
        bottom: -36px;
    }
    .eyebrow {
        font-size: 12px;
    }
    h1 {
        font-size: 34px;
    }
    .lead {
        font-size: 15px;
        line-height: 1.55;
    }
    .hero-actions {
        margin-top: 18px;
    }
    .hero-actions .primary-btn,
    .hero-actions .outline-btn {
        width: 100%;
    }
    .offer-card {
        min-height: 128px;
        padding: 18px;
    }
    .offer-card strong {
        font-size: 22px;
    }
    .offer-card span {
        font-size: 18px;
    }
    .quick-row {
        padding: 10px 0;
    }
    .quick-scroll {
        gap: 8px;
    }
    .quick-scroll a {
        min-width: 100px;
        padding: 6px 6px;
        font-size: 14px;
    }
    .quick-card .media {
        width: 100px;
        height: 100px;
        border-radius: 18px;
        background: #fff;
        overflow: hidden;
        margin: 0 auto;
        box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    .corner-banner-pet {
        position: relative;
        right: 0;
    }
    .quick-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .section {
        padding: 20px 0;
    }
    .section-head {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }
    .section-head h2 {
        font-size: 26px;
    }
    .product-grid,
    .mini-product-grid,
    .metric-grid,
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tag-grid,
    .field-row,
    .admin-product-form .field-row {
        grid-template-columns: 1fr;
    }
    .product-grid {
        gap: 10px;
    }
    .product-card .image img {
        padding: 10px;
    }
    .product-body {
        padding: 10px;
    }
    .product-body h3 {
        font-size: 13px;
        min-height: 54px;
    }
    .meta {
        font-size: 11px;
        flex-direction: column;
        gap: 2px;
    }
    .price-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .price {
        font-size: 16px;
    }
    .dark-btn {
        width: 100%;
        min-height: 38px;
    }
    .banner-inner {
        padding: 22px;
    }
    .banner-inner strong {
        font-size: 23px;
    }
    .brand-cloud {
        justify-content: flex-start;
    }
    .brand-cloud a,
    .brand-cloud span {
        min-width: calc(50% - 6px);
    }
    .product-detail-grid {
        gap: 16px;
    }
    .product-gallery {
        padding: 16px;
    }
    .product-info h1 {
        font-size: 30px;
    }
    .detail-price .price {
        font-size: 28px;
    }
    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .inventory-row {
        grid-template-columns: 1fr;
    }
    .inventory-row .muted,
    .inventory-controls {
        grid-column: auto;
        grid-row: auto;
    }
    .inventory-controls {
        width: 100%;
    }
    .stock-input {
        width: 100%;
    }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        height: 64px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(16, 24, 40, .1);
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #8b8f99;
        font-size: 13px;
        font-weight: 600;
        position: relative;
    }
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:focus {
        color: var(--navy);
    }
    .mobile-bottom-nav a:first-child::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--navy);
    }
    .mobile-bottom-nav svg {
        width: 25px;
        height: 25px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-bottom-nav .cart-action {
        background: #fff !important;
        border: 0 !important;
    }
    .mobile-bottom-nav .cart-action svg {
        stroke: currentColor;
    }
    .mobile-bottom-nav .wishlist-count,
    .mobile-bottom-nav .cart-count {
        right: 22%;
        top: 5px;
    }
    .cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }
    .cart-item-total {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-items: start;
    }
    .wishlist-card-body h3 {
        font-size: 13px;
    }
    .mobile-bottom-nav span {
        line-height: 1;
    }
}

@media (max-width: 430px) {
    .product-grid,
    .mini-product-grid,
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-body h3 {
        font-size: 12px;
    }
    .header-actions a,
    .primary-btn,
    .dark-btn,
    .outline-btn {
        padding: 9px 10px;
    }
}

@media (max-width: 360px) {
    .product-grid,
    .mini-product-grid {
        grid-template-columns: 1fr;
    }
    .mobile-bottom-nav a {
        font-size: 12px;
    }
}


/* Order, OTP and brand carousel polish */

.otp-auth-card {
    display: grid;
    gap: 18px;
}

.otp-panel {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.otp-panel[hidden] {
    display: none;
}

.otp-panel input,
.modern-address-form input,
.modern-address-form select,
.modern-address-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
    outline: 0;
}

.modern-address-form input:focus,
.modern-address-form select:focus,
.modern-address-form textarea:focus,
.otp-panel input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 61, .12);
}

.form-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.modern-address-form {
    display: grid;
    gap: 12px;
}

.address-type-row {
    grid-template-columns: 160px 1fr;
}

.checkout-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.saved-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.saved-address-card {
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    cursor: pointer;
    display: grid;
    gap: 5px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.saved-address-card:hover,
.saved-address-card.selected {
    transform: translateY(-2px);
    border-color: var(--orange);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

.saved-address-card small,
.saved-address-card span {
    color: var(--muted);
}

.top-brands-section {
    background: #f7f9fc;
}

.brands-head {
    margin-bottom: 16px;
}

.top-brands-wrap {
    position: relative;
}

.top-brands-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 12px 0px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.top-brands-carousel::-webkit-scrollbar {
    display: none;
}

.brand-logo-card {
    flex: 0 0 calc((100% - 0px) / 5);
    scroll-snap-align: start;
    min-height: 250px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brand-logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 61, .5);
    box-shadow: 0 14px 32px rgba(16, 24, 40, .08);
}


/* Arrow buttons for brands carousel */

.brands-prev,
.brands-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
    cursor: pointer;
    font-size: 22px;
    color: var(--navy);
}

.brands-prev {
    left: 12px;
}

.brands-next {
    right: 12px;
}

.brands-prev:hover,
.brands-next:hover {
    transform: translateY(-50%) translateY(-2px);
    border-color: rgba(255, 107, 61, .5);
}

.brands-prev {
    display: none;
}

.brands-next {
    display: none;
}

@media (min-width: 640px) {
    .brands-prev,
    .brands-next {
        display: grid;
    }
}

.brand-logo-bubble {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff3d6, #eaf8f1);
    color: var(--navy);
    font-weight: 900;
    font-size: 22px;
    overflow: hidden;
}

.brand-logo-bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.brand-logo-card strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-logo-card small {
    color: var(--muted);
    font-weight: 700;
}

.order-success-section {
    min-height: 68vh;
    display: grid;
    align-items: center;
}

.order-success-card {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 16px;
}

.success-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
    background: #eaf8f1;
    color: #159768;
    font-size: 36px;
    font-weight: 900;
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.success-metrics div,
.success-address {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.success-metrics span,
.success-address span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .brand-logo-card {
        flex: 0 0 calc((100% - 28px) / 3);
    }
}

@media (max-width: 700px) {
    .address-type-row,
    .success-metrics {
        grid-template-columns: 1fr;
    }
    .brand-logo-card {
        flex: 0 0 calc((100% - 14px) / 2);
        min-height: 250px;
        padding: 12px;
    }
    .brand-logo-bubble {
        width: 150px;
        height: 150px;
        border-radius: 18px;
    }
    aside.panel.sticky-summary.summary-card {
        max-width: 362px;
    }
    .summary-card .table tbody tr:last-child td {
        white-space: break-spaces;
    }
}

.product-info h1 {
    color: #000;
}

.container.account-layout h1 {
    color: #000;
}

.product-info .lead {
    color: #000;
}

.section-head.checkout-title-row h1 {
    color: #000;
}

.section-head.checkout-title-row .lead {
    color: #000;
}


/* Invoice detail, order details and admin actions */

.invoice-document {
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    color: #111827;
    box-shadow: 0 12px 34px rgba(16, 24, 40, .08);
}

.invoice-document h1 {
    text-align: center;
    font-size: 24px;
    margin: 18px 0;
    letter-spacing: 0;
}

.invoice-seller {
    line-height: 1.55;
    font-size: 13px;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.invoice-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.invoice-address-grid>div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    min-height: 118px;
}

.invoice-address-grid h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.invoice-address-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.invoice-table-wrap {
    overflow-x: auto;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.invoice-table th,
.invoice-table td {
    border: 1px solid #d9e0eb;
    padding: 8px;
    vertical-align: top;
}

.invoice-table th {
    background: #f3f6fb;
    color: var(--navy);
    text-align: left;
}

.invoice-item-name {
    min-width: 190px;
    font-weight: 700;
}

.invoice-total-box {
    margin-left: auto;
    margin-top: 16px;
    width: min(420px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.invoice-total-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.invoice-total-box div:last-child {
    border-bottom: 0;
    background: #fff7ed;
}

.invoice-note,
.invoice-footer-note {
    color: var(--muted);
    line-height: 1.55;
    font-size: 13px;
}

.invoice-page-actions {
    margin-bottom: 10px;
}

.order-detail-shell {
    display: grid;
    gap: 16px;
}

.order-detail-items .order-card {
    margin-top: 10px;
}

.danger-btn {
    border-color: #fecaca !important;
    color: #b42318 !important;
}

.table-actions form {
    display: inline-flex;
    margin: 0;
}

@media print {
    .sidebar,
    .section-head,
    .invoice-page-actions {
        display: none !important;
    }
    .dash-main {
        padding: 0 !important;
    }
    .invoice-document {
        box-shadow: none;
        border: 0;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 760px) {
    .invoice-meta-grid,
    .invoice-address-grid {
        grid-template-columns: 1fr;
    }
    .invoice-document {
        padding: 14px;
    }
}


/* Admin dashboard refresh */

.admin-app-body {
    background: #f3f6fb;
}

.admin-shell {
    grid-template-columns: 292px minmax(0, 1fr);
    background: #f3f6fb;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px 16px;
    background: #ffffff;
    border-right: 1px solid #dfe7f2;
    overflow-y: auto;
}

.admin-brand-card {
    min-height: 132px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #e5edf7;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
}

.admin-brand-logo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(8, 42, 104, .08);
}

.admin-brand-logo img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.admin-brand-card strong {
    color: var(--navy);
    font-size: 28px;
    letter-spacing: 0;
}

.admin-brand-card small {
    color: #61708a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-nav {
    display: grid;
    gap: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #14213a;
    font-weight: 850;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.admin-nav a span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9d4e5;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #eef6ff;
    color: var(--navy);
    transform: translateX(2px);
}

.admin-nav a.active span {
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(255, 107, 61, .13);
}

.admin-main {
    padding: 24px 30px 36px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-topbar h1 {
    margin: 4px 0 0;
    font-size: 36px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-pill {
    border: 1px solid #dfe7f2;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    color: var(--navy);
}

.admin-hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #082a68 0%, #164a9a 56%, #ff6b3d 100%);
    color: #fff;
    padding: 24px;
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
}

.admin-hero-panel::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.admin-hero-panel h2 {
    margin: 6px 0;
    font-size: 30px;
    color: #fff;
}

.admin-hero-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    max-width: 640px;
}

.admin-hero-actions {
    display: flex;
    gap: 10px;
    z-index: 1;
}

.admin-hero-actions .outline-btn {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .32);
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric-card {
    position: relative;
    min-height: 154px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #fff;
    padding: 18px;
    display: grid;
    align-content: space-between;
    color: #14213a;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .04);
    transition: transform .16s ease, box-shadow .16s ease;
}

.admin-metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(16, 24, 40, .09);
}

.admin-metric-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    opacity: .16;
    background: currentColor;
}

.metric-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #eef6ff;
    display: block;
}

.metric-label {
    color: #63718a;
    font-weight: 750;
}

.admin-metric-card strong {
    font-size: 31px;
    line-height: 1;
    margin-top: 4px;
}

.admin-metric-card small {
    color: #7b879a;
    font-weight: 700;
}

.tone-green {
    color: #0f8f62;
}

.tone-blue {
    color: #155eef;
}

.tone-purple {
    color: #7a4ee8;
}

.tone-red {
    color: #d92d20;
}

.tone-amber {
    color: #b85c00;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}

.admin-data-panel {
    border-radius: 16px;
    border: 1px solid #dfe7f2;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .04);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table th {
    font-size: 13px;
    color: var(--navy);
    background: #f6f9fd;
}

.admin-table td {
    vertical-align: middle;
}

.admin-table td strong {
    display: block;
}

.admin-table td small {
    display: block;
    margin-top: 4px;
    color: #718096;
    font-weight: 700;
}

.status-allocated,
.status-out_for_delivery,
.status-accepted,
.status-packed {
    background: #eaf4ff;
    color: #064b93;
}

.status-delivered {
    background: #eaf8f1;
    color: #10785a;
}

.stock-alert-list {
    display: grid;
    gap: 10px;
}

.stock-alert-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    border: 1px solid #e3eaf4;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
}

.stock-alert-item strong {
    display: block;
    line-height: 1.3;
}

.stock-alert-item small {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-weight: 700;
}

.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f79009;
    margin-top: 5px;
    box-shadow: 0 0 0 5px rgba(247, 144, 9, .12);
}

.stock-dot.empty {
    background: #d92d20;
    box-shadow: 0 0 0 5px rgba(217, 45, 32, .12);
}

@media (max-width: 1180px) {
    .admin-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: static;
        height: auto;
    }
    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-topbar,
    .admin-hero-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .admin-main {
        padding: 18px 14px 28px;
    }
    .admin-metric-grid,
    .admin-nav {
        grid-template-columns: 1fr;
    }
    .admin-hero-actions,
    .admin-topbar-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}
.breeds-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}
.breeds-row::-webkit-scrollbar {
    display: none;
}

.breed-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s;
    width: 160px;
}

.breed-image {
    width: 160px;
    height: 160px;
    border-radius: 22px;
    overflow: hidden;
    background: #f0f2f5;
    display: block;
    flex-shrink: 0;
}

span.breed-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.breed-name {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    color: var(--navy);
    line-height: 1.3;
}

/* Mobile: switch to 3-column grid */
@media (max-width: 640px) {
    .breeds-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        overflow-x: unset;
        padding: 8px 0 16px;
        justify-content: unset;
        align-items: unset;
    }
    .breed-card {
        flex: unset;
        width: 100%;
        gap: 8px;
    }
    .breed-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }
    .breed-name {
        font-size: 0.8rem;
    }
}

.featured-carousel {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}


/* Hide scrollbar */

.featured-carousel::-webkit-scrollbar {
    display: none;
}

.featured-carousel .product-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
}


/* Tablet */

@media(max-width: 992px) {
    .featured-carousel .product-card {
        flex: 0 0 calc(33.33% - 14px);
        max-width: calc(33.33% - 14px);
    }
}


/* Mobile */

@media(max-width: 768px) {
    .featured-carousel .product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media(max-width: 480px) {
    .featured-carousel .product-card {
        /* flex: 0 0 100%; */
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   GROOMING PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.grooming-hero {
    background: var(--navy);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}
.grooming-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,143,196,0.18) 0%, transparent 70%),
                radial-gradient(ellipse 50% 80% at 10% 80%, rgba(255,107,61,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.grooming-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.grooming-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,143,196,0.15);
    border: 1px solid rgba(255,143,196,0.3);
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-family: "Josefin Sans","Poppins",sans-serif;
}
.grooming-hero-text h1 {
    font-size: clamp(34px, 5vw, 56px);
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.grooming-hero-text h1 em {
    font-style: normal;
    color: var(--pink);
}
.grooming-hero-text .lead {
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.grooming-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.grooming-hero-actions .primary-btn {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 12px;
}
.grooming-hero-actions .outline-btn {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.grooming-hero-actions .outline-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* Hero right — service pills */
.grooming-hero-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.grooming-pill {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}
.grooming-pill:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,143,196,0.4);
}
.grooming-pill-icon {
    font-size: 26px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,143,196,0.15);
    border-radius: 12px;
    display: grid;
    place-items: center;
}
.grooming-pill-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    font-family: "Josefin Sans","Poppins",sans-serif;
    line-height: 1.2;
}
.grooming-pill-text span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* ── Services ── */
.grooming-services-section {
    background: #f7f9fc;
    padding: 64px 0;
}
.grooming-services-section .section-head { margin-bottom: 36px; }
.grooming-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.grooming-service-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 26px 26px;
    border: 1.5px solid #eef0f5;
    box-shadow: 0 2px 12px rgba(16,24,40,0.04);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.grooming-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    opacity: 0;
    transition: opacity 0.22s;
}
.grooming-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,107,61,0.12);
    border-color: #ffd6ec;
}
.grooming-service-card:hover::before { opacity: 1; }
.grooming-service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fff0f7, #ffe4f2);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 26px;
    flex-shrink: 0;
}
.grooming-service-card h3 {
    margin: 0;
    font-size: 17px;
    color: var(--navy);
    font-family: "Josefin Sans","Poppins",sans-serif;
    font-weight: 800;
}
.grooming-service-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
}
.grooming-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff8f0;
    color: var(--orange);
    font-weight: 900;
    font-size: 13px;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,107,61,0.2);
    font-family: "Josefin Sans","Poppins",sans-serif;
    width: fit-content;
    margin-top: auto;
}

/* ── Why us ── */
.grooming-why-section {
    background: linear-gradient(135deg, #0d1f4e 0%, var(--navy) 50%, #0d2a5e 100%);
    padding: 64px 0;
}
.grooming-why-head {
    text-align: center;
    margin-bottom: 40px;
}
.grooming-why-head strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 10px;
    font-family: "Josefin Sans","Poppins",sans-serif;
}
.grooming-why-head h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    margin: 0;
}
.grooming-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.grooming-why-card {
    text-align: center;
    padding: 32px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    transition: background 0.2s, transform 0.2s;
}
.grooming-why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.grooming-why-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,143,196,0.15);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto 16px;
}
.grooming-why-card h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #fff;
    font-family: "Josefin Sans","Poppins",sans-serif;
    font-weight: 800;
}
.grooming-why-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
}

/* ── Booking section ── */
.grooming-booking-section {
    background: #f7f9fc;
    padding: 72px 0;
}
.grooming-booking-wrap {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(16,24,40,0.10);
    border: 1px solid #eef0f5;
}

/* Left sidebar */
.grooming-booking-sidebar {
    background: var(--navy);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}
.grooming-booking-sidebar::after {
    content: '🐾';
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 120px;
    opacity: 0.06;
    pointer-events: none;
}
.grooming-booking-sidebar strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 12px;
    font-family: "Josefin Sans","Poppins",sans-serif;
}
.grooming-booking-sidebar h2 {
    color: #fff;
    font-size: clamp(20px, 2.5vw, 26px);
    margin: 0 0 16px;
    line-height: 1.25;
}
.grooming-booking-sidebar .lead {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.grooming-booking-sidebar a {
    color: var(--pink);
    font-weight: 700;
}
.grooming-booking-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.grooming-booking-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.grooming-booking-perks li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: rgba(255,143,196,0.2);
    border: 1px solid rgba(255,143,196,0.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8fc4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Right form area */
.grooming-booking-form-area {
    padding: 48px 44px;
    overflow-y: auto;
}
.grooming-booking-form-area h3 {
    margin: 0 0 28px;
    font-size: 20px;
    color: var(--navy);
    font-family: "Josefin Sans","Poppins",sans-serif;
}

/* Form */
.grooming-form { display: flex; flex-direction: column; }
.grooming-form-section-label {
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f2f7;
    display: flex;
    align-items: center;
    gap: 8px;
}
.grooming-form-section-label:first-child { margin-top: 0; }
.grooming-form-section-label::before {
    content: '';
    width: 4px;
    height: 14px;
    background: linear-gradient(180deg, var(--pink), var(--orange));
    border-radius: 2px;
    flex-shrink: 0;
}
.gform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.gform-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.gform-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.01em;
}
.gform-group label .req { color: var(--orange); margin-left: 2px; }
.gform-group label .opt {
    color: var(--muted);
    font-weight: 500;
    font-size: 11px;
}
.gform-group input,
.gform-group select,
.gform-group textarea {
    width: 100%;
    border: 1.5px solid #e4e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fafbfd;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    outline: none;
    box-sizing: border-box;
}
.gform-group input:focus,
.gform-group select:focus,
.gform-group textarea:focus {
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,107,61,0.1);
}
.gform-group textarea { resize: vertical; min-height: 80px; }
.gform-group select { cursor: pointer; }
.grooming-submit-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 12px;
    margin-top: 8px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.grooming-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin: 12px 0 0;
    line-height: 1.5;
}

/* Alerts */
.grooming-alert {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.grooming-alert-success {
    background: #edfaf4;
    border: 1px solid #a3e6c8;
    color: #1a7a4a;
}
.grooming-alert-error {
    background: #fff2f2;
    border: 1px solid #ffc5c5;
    color: #c0392b;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .grooming-booking-wrap { grid-template-columns: 320px 1fr; }
    .grooming-booking-sidebar { padding: 40px 28px; }
    .grooming-booking-form-area { padding: 40px 32px; }
}
@media (max-width: 900px) {
    .grooming-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .grooming-hero-pills { grid-template-columns: repeat(3, 1fr); }
    .grooming-services-grid { grid-template-columns: repeat(2, 1fr); }
    .grooming-why-grid { grid-template-columns: repeat(2, 1fr); }
    .grooming-booking-wrap { grid-template-columns: 1fr; }
    .grooming-booking-sidebar { padding: 36px 28px; }
    .grooming-booking-sidebar::after { display: none; }
    .grooming-booking-form-area { padding: 36px 28px; }
}
@media (max-width: 640px) {
    .grooming-hero { padding: 48px 0 40px; }
    .grooming-hero-pills { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .grooming-pill { padding: 14px 12px; }
    .grooming-services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .grooming-service-card { padding: 22px 18px; }
    .grooming-why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .grooming-why-card { padding: 24px 16px; }
    .grooming-booking-sidebar { padding: 28px 20px; }
    .grooming-booking-form-area { padding: 28px 20px; }
    .gform-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
    .grooming-services-grid { grid-template-columns: 1fr; }
    .grooming-why-grid { grid-template-columns: 1fr; }
    .grooming-hero-pills { grid-template-columns: 1fr 1fr; }
}
