:root {
  --background: #080d18;
  --navy: #111b2e;
  --card: #172238;
  --red: #e32235;
  --red-dark: #a91125;
  --white: #ffffff;
  --muted: #aab5c8;
  --border: #2a3650;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

header {
  background: var(--navy);
  border-bottom: 2px solid var(--red);
  padding: 18px 5%;
}

.logo {
  max-height: 85px;
  width: auto;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

.hero {
  padding: 100px 5%;
  background: linear-gradient(120deg, #080d18, #172238);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  max-width: 650px;
}

.button {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: bold;
}

.button:hover {
  background: var(--red-dark);
}

section {
  padding: 55px 5%;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}

.card:hover {
  border-color: var(--red);
}

.card p {
  color: var(--muted);
}

footer {
  background: var(--navy);
  border-top: 2px solid var(--red);
  padding: 30px 5%;
  color: var(--muted);
}

/* Wild Rose Computer header layout */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
  font-weight: 800;
}

header .brand .logo {
  display: block;
  width: 110px;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 6px;
}

header .brand span {
  display: none;
}

header nav {
  margin-left: auto;
}

@media (max-width: 600px) {
  header .brand {
    font-size: 0.95rem;
  }

  header .brand .logo {
    width: 75px;
  }

  header nav {
    margin-left: 0;
  }
}

/* Wild Rose Computer homepage banner */
.hero.wildrose-banner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #080d18;
    overflow: hidden;
}

.hero.wildrose-banner a {
    display: block;
    width: 100%;
    line-height: 0;
}

.hero.wildrose-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero.wildrose-banner {
        margin: 0;
        padding: 0;
    }
}



/* Wild Rose contact section */
#contact {
    background: #edf2f7;
    color: #102b59;
    border-radius: 24px;
    padding: 40px;
}

#contact h2 {
    color: #102b59;
    font-weight: 800;
}

#contact p,
#contact .muted,
#contact strong,
#contact a {
    color: #173b70;
}

#contact a {
    font-weight: 700;
}

@media (max-width: 600px) {
    #contact {
        padding: 24px;
    }
}

/* Wild Rose Computer Product Catalogue */

#catalogue {
    padding: 55px 5%;
    background: #080d18;
    color: #ffffff;
}

#catalogue .section-head {
    margin-bottom: 30px;
}

#catalogue h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 12px;
}

#catalogue .muted {
    color: #aab5c8;
}

.catalogue-disclaimer {
    background: #251a22;
    border-left: 4px solid #e32235;
    color: #ffd7dc;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 6px;
    line-height: 1.6;
}

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

.store-product-card {
    background: #172238;
    border: 1px solid #2a3650;
    border-radius: 14px;
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
    border-color: #e32235;
}

.store-product-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.store-product-card p {
    color: #aab5c8;
    line-height: 1.6;
    min-height: 55px;
}

.store-product-price {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 22px 0;
}

.store-product-status {
    background: #35202a;
    color: #ff9ba6;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

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

@media (max-width: 600px) {
    #catalogue {
        padding: 35px 5%;
    }

    .store-product-grid {
        grid-template-columns: 1fr;
    }

    .store-product-card {
        padding: 22px;
    }
}


/* Wild Rose Computer Shopping Cart */

#shopping-cart {
    background: #111b2e;
    color: #ffffff;
    padding: 40px;
    margin: 35px 5%;
    border: 1px solid #2a3650;
    border-radius: 16px;
}

#shopping-cart h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 15px;
}

#shopping-cart h3 {
    color: #ffffff;
}

#shopping-cart .muted {
    color: #aab5c8;
}

#cart-items {
    background: #172238;
    border: 1px solid #2a3650;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    color: #ffffff;
}

.cart-summary {
    border-top: 2px solid #e32235;
    padding-top: 25px;
    text-align: right;
}

#cart-subtotal {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
}

#checkout-button {
    background: #e32235;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
}

#checkout-button:disabled {
    background: #71313d;
    color: #e0b7bd;
    cursor: not-allowed;
    opacity: 0.8;
}

@media (max-width: 600px) {
    #shopping-cart {
        padding: 22px;
        margin: 20px 5%;
    }

    #shopping-cart h2 {
        font-size: 1.5rem;
    }

    .cart-summary {
        text-align: left;
    }
}


/* Shopping cart item controls */

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #2a3650;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.cart-item p {
    color: #aab5c8;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-controls label {
    color: #ffffff;
    font-weight: 600;
}

.cart-item-controls input {
    width: 65px;
    padding: 9px;
    background: #ffffff;
    color: #102b59;
    border: 1px solid #aab5c8;
    border-radius: 6px;
}

.cart-item-controls button {
    background: #e32235;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.cart-item-controls button:hover {
    background: #b7192a;
}

@media (max-width: 600px) {
    .cart-item,
    .cart-item-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

