/* =========================================
   NEON KACTUS DESIGN SYSTEM
========================================= */


/* -------------------------
   BRAND VARIABLES
------------------------- */

:root {
  --ivory: #F2EEE8;
  --stone: #E6E0D7;
  --sage: #8FA090;
  --blue: #5A7A8C;
  --charcoal: #1E1E1E;
  --gold: #D4AF37;

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.04);
  --shadow-hard: 0 28px 70px rgba(0,0,0,0.12);
}

/* -------------------------
   GLOBAL
------------------------- */

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  border-top: 15px solid var(--gold);
  margin: 0;
  padding: 0;
}

/* -------------------------
   CONTAINER
------------------------- */

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1100px;
  }
}

/* -------------------------
   TYPOGRAPHY
------------------------- */

h1 {
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  position: relative;
  font-size: 1.5rem;
}

h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

/* Gold underline accent */
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 12px;
}

p {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.spec {
  font-size: 0.85rem;
  color: #777;
  margin-top: -0.75rem;
  margin-bottom: 2rem;
}

.accent-gold {
  color: var(--gold);
}

.label-accent {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.display {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.heading {
  font-size: 2.5rem;
  font-weight: 800;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Desktop scaling */
@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .display {
    font-size: 5rem;
  }
}

/* -------------------------
   SECTION SPACING
------------------------- */

.sg-section {
  margin: 6rem auto;
}

/* -------------------------
   DIVIDER
------------------------- */

.divider {
  height: 1px;
  background: var(--stone);
  margin: 3rem 0;
}

/* -------------------------
   NAVBAR
------------------------- */

.navbar {
  padding: 2rem 0;
}

.navbar .title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
}

.navbar .title::after {
  display: none;
}

.navbar p {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

/* -------------------------
   CARD SYSTEM
------------------------- */

.card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--stone);
  box-shadow: none;
  margin-bottom: 2rem;
}

.card.soft {
  background: var(--stone);
  border: none;
  box-shadow: none;
}

.card.hard {
  background: #ffffff;
  border: none;
  box-shadow: var(--shadow-hard);
}

.card.dark {
  background: var(--charcoal);
  color: #ffffff;
  border: none;
  box-shadow: none;
}

/* -------------------------
   ICONOGRAPHY
------------------------- */

.icon-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.icon {
  width: 70px;
  height: 70px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
}

/* -------------------------
   COLOR SYSTEM
------------------------- */

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.color-swatch {
  flex: 1;
  min-width: 140px;
  padding: 3rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.color-name {
  font-size: 0.875rem;
  opacity: 0.8;
}

.color-hex {
  font-size: 0.75rem;
  opacity: 0.6;
}

.ivory { background: var(--ivory); }
.stone { background: var(--stone); }
.sage { background: var(--sage); color: white; }
.blue { background: var(--blue); color: white; }
.charcoal { background: var(--charcoal); color: white; }
.gold { background: var(--gold); color: white; }

/* -------------------------
   BUTTONS
------------------------- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.btn-pill {
  background: var(--blue);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-pill:hover {
  background: var(--charcoal);
}

/* -------------------------
   PRODUCT CARDS
------------------------- */

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-hard);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn:hover {
  background: #ffffff;
  color: #e53e3e;
}

.product-info {
  padding: 1.25rem;
}

.product-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.product-name::after {
  display: none;
}

.product-price {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
}

/* -------------------------
   NAVIGATION
------------------------- */

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.nav li {
  flex: 1;
  text-align: center;
}

.nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  display: block;
  padding: 1rem 0;
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav-pills {
  display: flex;
  gap: 1rem;
}

.pill {
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
  transition: all 0.2s ease;
}

.pill:hover {
  color: var(--gold);
}

.pill.active {
  background: var(--blue);
  color: white;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

/* -------------------------
   GRID DEMO
------------------------- */

.demo-box {
  background: var(--stone);
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.gap {
  gap: 1rem;
}

/* -------------------------
   FLEX UTILITIES
------------------------- */

.display-flex {
  display: flex;
}

.flex-stretch {
  flex: 1 1 auto;
}

.flex-none {
  flex: none;
}

/* -------------------------
   TABLES
------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table-striped thead {
  background: var(--stone);
}

.table-striped th {
  text-align: left;
  font-weight: 700;
  padding: 1rem;
  border-bottom: 2px solid var(--gold);
}

.table-striped td {
  padding: 1rem;
  border-bottom: 1px solid var(--stone);
}

.table-striped tbody tr:nth-child(even) {
  background: rgba(230, 224, 215, 0.3);
}

/* -------------------------
   FORMS
------------------------- */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input-hotdog {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-hotdog:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(90, 122, 140, 0.2);
}

.input-hotdog.dark {
  background: var(--charcoal);
  color: white;
  border: none;
}

.input-hotdog.dark::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.dark-bg {
  background: var(--charcoal);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.input-underline {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-underline:focus {
  border-bottom: 2px solid var(--blue);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--blue);
}

.checkbox-label span {
  font-weight: 600;
}

.select-box {
  width: 100%;
  max-width: 300px;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone);
  background: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
}

.select-box:focus {
  border-color: var(--blue);
}

/* -------------------------
   WIREFRAME CARDS
------------------------- */

.wireframe-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--stone);
  text-decoration: none;
  color: var(--charcoal);
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.wireframe-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-hard);
}

.wireframe-placeholder {
  background: var(--stone);
  height: 120px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.wireframe-card:hover .wireframe-placeholder {
  background: rgba(90, 122, 140, 0.1);
}

.wireframe-image-wrapper {
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.wireframe-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wireframe-card:hover .wireframe-image-wrapper img {
  transform: scale(1.05);
}

/* Interactive Favorite Button */
.favorite-btn-interactive {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 2px solid var(--stone);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn-interactive:hover {
  border-color: var(--blue);
}

.favorite-btn-interactive.active {
  background: #e53e3e;
  color: white;
  border-color: #e53e3e;
}

.wireframe-label {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* -------------------------
   FOOTER
------------------------- */

.footer {
  padding: 3rem 0;
  border-top: 2px solid var(--stone);
  margin-top: 4rem;
  text-align: center;
}

.footer p {
  color: #777;
  font-size: 0.875rem;
  margin: 0 auto;
}

/* -------------------------
   TOP BAR / HEADER
------------------------- */

.top-bar {
  padding: 1.5rem 0;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--charcoal);
}

.top-nav {
  display: none;
}

@media (min-width: 768px) {
  .top-nav {
    display: flex;
    gap: 2rem;
  }
}

.top-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--gold);
}

.cart-link {
  font-weight: 600;
  font-size: 0.875rem;
}

.checkout-label {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

/* -------------------------
   HERO
------------------------- */

.hero {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
}

.gold-bar {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-top: 2rem;
}

/* -------------------------
   CATEGORY CARDS
------------------------- */

.category-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.category-overlay h3 {
  color: white;
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.category-overlay h3::after {
  display: none;
}

.category-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* -------------------------
   VIEW ALL LINK
------------------------- */

.view-all-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--gold);
}

/* -------------------------
   BUTTON VARIANTS
------------------------- */

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* -------------------------
   VALUE PROPS
------------------------- */

.value-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0 0 0.25rem 0;
}

.value-desc {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

/* -------------------------
   NEWSLETTER
------------------------- */

.newsletter-section {
  text-align: center;
}

.newsletter-content {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-title::after {
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.newsletter-form .input-hotdog {
  flex: 1;
}

/* -------------------------
   SITE FOOTER
------------------------- */

.site-footer {
  padding: 3rem 0;
  border-top: 2px solid var(--stone);
  margin-top: 4rem;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.125rem;
  margin: 0 0 0.5rem 0;
}

.footer-brand::after {
  display: none;
}

.footer-desc {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.footer-heading::after {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #777;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--charcoal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
  margin-top: 2rem;
}

.footer-bottom p {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

.back-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--gold);
}

/* -------------------------
   FILTER ROW
------------------------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* -------------------------
   PRODUCT CARD LINK
------------------------- */

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* -------------------------
   PRODUCT DETAILS PAGE
------------------------- */

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 2rem;
  margin: 0 0 0.25rem 0;
}

.product-title::after {
  display: none;
}

.product-latin {
  color: #777;
  font-style: italic;
  margin: 0 0 1.5rem 0;
}

.care-specs {
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 1.5rem 0;
  margin: 2rem 0;
}

.spec-label {
  color: #777;
  font-size: 0.875rem;
  margin: 0 0 0.25rem 0;
}

.spec-value {
  font-weight: 700;
  margin: 0;
}

.price-section {
  margin-bottom: 2rem;
}

.main-price {
  font-size: 2rem;
  font-weight: 900;
}

.addon-price {
  color: #777;
  margin-left: 1rem;
}

/* -------------------------
   CHECKOUT PAGE
------------------------- */

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.order-summary {
  position: sticky;
  top: 2rem;
}

.order-items {
  margin-bottom: 1.5rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-item-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.order-item-qty {
  color: #777;
  font-size: 0.875rem;
  margin: 0;
}

.order-item-price {
  font-weight: 700;
  margin: 0;
}

.order-totals {
  margin: 1rem 0;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.order-label {
  color: #777;
}

.order-value {
  font-weight: 600;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.promo-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.promo-input {
  flex: 1;
}

.promo-btn {
  border-radius: 999px;
  padding: 0.875rem 1.25rem;
}
