* {
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  margin: 0;
  border: 0;
  padding: 0;
  background-color: #fff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

main {
  margin: auto;
  width: 75%;
  padding: 20px;
}

main > h1 {
  text-align: center;
  font-size: 3.5em;
}

.container {
  background: #fff;
  padding: 40px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.logo {
  width: 400px;
  height: 200px;
  margin-bottom: 24px;
  object-fit: contain;
}

.message {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 16px;
}

.hours {
  font-size: 1rem;
  color: #555;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
  display: inline-block;
}

.contact {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}

.contact a {
  color: #2a7ae2;
  text-decoration: none;
}

.shop-now-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  background: #2a7ae2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(42,122,226,0.08);
}

.shop-now-btn:hover,
.shop-now-btn:focus {
  background: #185bb5;
}

.product-list-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 16px;
}
.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.product-table th, .product-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.product-table th {
  background: #f0f0f0;
  font-weight: 600;
}
.product-table tr:last-child td {
  border-bottom: none;
}
.details-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 20px;
}
.details-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 18px;
  color: #2a7ae2;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.details-table th, .details-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
}
.details-table th {
  width: 40%;
  color: #555;
  background: #f8f8f8;
  font-weight: 600;
}
.back-link {
  display: inline-block;
  margin-top: 12px;
  color: #2a7ae2;
  text-decoration: none;
  font-weight: 500;
  float: right;
}
.back-link:hover {
  text-decoration: underline;
}
.ecom-details-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.ecom-details-image {
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecom-details-image img {
  width: 100%;
  max-width: 320px;
  max-height: 320px;
  border-radius: 12px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ecom-details-info {
  flex: 2 1 340px;
  min-width: 260px;
}
.ecom-details-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #2a7ae2;
}
.ecom-details-price {
  font-size: 1.3rem;
  color: #1a8917;
  font-weight: 600;
  margin-bottom: 18px;
}
.ecom-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.ecom-details-table th, .ecom-details-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
}
.ecom-details-table th {
  width: 40%;
  color: #555;
  background: #f8f8f8;
  font-weight: 600;
}
.ecom-details-desc {
  margin-bottom: 18px;
  color: #444;
  font-size: 1.08rem;
}
.ecom-add-to-cart {
  display: inline-block;
  background: #2a7ae2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(42,122,226,0.08);
  text-decoration: none;
}
.ecom-add-to-cart:hover,
.ecom-add-to-cart:focus {
  background: #185bb5;
}
.age-gate-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-gate-box {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.age-gate-box h2 {
  margin-bottom: 18px;
  color: #2a7ae2;
}
.age-gate-box p {
  margin-bottom: 24px;
  color: #333;
}
.age-gate-btn {
  background: #2a7ae2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.2s;
}
.age-gate-btn:hover {
  background: #185bb5;
}
.ecom-product-list-container {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
}
.ecom-product-list-title {
  font-size: 2rem;
  font-weight: bold;
  color: #2a7ae2;
  margin-bottom: 24px;
  text-align: center;
}
.ecom-product-filter {
  margin: 0 auto 32px auto;
  display: block;
  padding: 10px;
  width: 100%;
  max-width: 350px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.ecom-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ecom-product-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 18px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  position: relative;
}
.ecom-product-card:hover {
  box-shadow: 0 6px 24px rgba(42,122,226,0.10);
}
.ecom-product-image {
  width: 100%;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 14px;
  display: block;
}
.ecom-product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  text-align: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecom-product-price {
  font-size: 1.08rem;
  color: #1a8917;
  font-weight: 600;
  margin-bottom: 10px;
}
.ecom-product-size {
  font-size: 1.08rem;
  color: #6d074b;
  font-weight: 400;
  margin-bottom: 10px;
  float: right;
}
.ecom-product-view-btn {
  display: inline-block;
  background: #2a7ae2;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
}
.ecom-product-view-btn:hover,
.ecom-product-view-btn:focus {
  background: #185bb5;
}

.ecom-product-add-btn {
  display: inline-block;
  background: #0d6002;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
}
.ecom-product-add-btn:hover,
.ecom-product-add-btn:focus {
  background: #0d6002;
}

.ecom-product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.92;
  color: #fff;
  background: #2a7ae2; /* default */
}

/* Example category color classes */
.pre-rolls { background-color: #e67e22; }
.snacks { background-color: #27ae60; }
.accessories { background-color: #8e44ad; }
.Uncategorized { background-color: #7f8c8d; }
.driedflower { background-color: #e84393; }
.edibles { background-color: #00b894; }
.vapes { background-color: #0984e3; }
.concentrates { background-color: #fdcb6e; }
.oils { background-color: #1f8b36; }
.capsules { background-color: #f35b09; }
.resin { background-color: #e809c2; }
.distillates { background-color: #e809c2; }
.hashandkief { background-color: #7e8104; }
.threadcartridges { background-color: #e809c2; }
.disposablepens { background-color: #4d06b9; }
.softchews { background-color: #715515; }
.beverages { background-color: #7baa04; }
.chocolates { background-color: #28515a; }

.ecom-plant-type {
  position:relative;
  top: 12px;
  left: 80px;
  font-size: 0.80rem;
  padding: 3px 12px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.92;
  color: #fff;
  background: #0753c6; /* default */
}

.indica { background-color: #093905; }
.sativa { background-color: #6a7b01; }
.hybrid { background-color: #7baa04; }
.blend { background-color: #28515a; }

@media (max-width: 900px) {
  .ecom-details-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 4vw;
  }
  .ecom-details-image {
    max-width: 100%;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .ecom-details-title {
    font-size: 1.2rem;
  }
  .ecom-details-container {
    padding: 10px 2px;
  }
}

@media (max-width: 600px) {
  .product-list-container {
    padding: 12px 2px;
  }
  .product-table th, .product-table td {
    padding: 8px 4px;
    font-size: 0.95rem;
  }
  .details-container {
    padding: 14px 2px;
  }
  .details-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 24px 8px;
    max-width: 95vw;
  }
  .logo {
    width: 250px;
    height: 110px;
    margin-bottom: 16px;
  }
  .message {
    font-size: 1rem;
  }
  .hours, .contact {
    font-size: 0.95rem;
    padding: 12px;
  }
}

@media (max-width: 700px) {
  .product-table,
  .product-table thead,
  .product-table tbody,
  .product-table th,
  .product-table td,
  .product-table tr {
    display: block;
    width: 100%;
  }
  .product-table thead {
    display: none;
  }
  .product-table tr {
    margin-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 8px 0;
  }
  .product-table td {
    position: relative;
    padding-left: 50%;
    min-height: 36px;
    border: none;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    text-align: left;
    font-size: 0.98rem;
  }
  .product-table td:before {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #555;
    content: attr(data-label);
  }
}

@media (max-width: 700px) {
  .details-table,
  .details-table thead,
  .details-table tbody,
  .details-table th,
  .details-table td,
  .details-table tr {
    display: block;
    width: 100%;
  }
  .details-table thead {
    display: none;
  }
  .details-table tr {
    margin-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 8px 0;
  }
  .details-table th, .details-table td {
    border: none;
    padding: 10px 8px;
    font-size: 0.98rem;
    width: 100%;
    box-sizing: border-box;
  }
  .details-table th {
    background: none;
    color: #555;
    font-weight: 600;
    padding-bottom: 0;
  }
  .details-table td {
    padding-top: 0;
  }
  .details-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #555;
    margin-bottom: 4px;
  }
}

@media (max-width: 1100px) {
  .ecom-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .ecom-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .ecom-product-grid {
    grid-template-columns: 1fr;
  }
}

 .cart-container {
      max-width: 900px;
      margin: 40px auto;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      padding: 32px 16px;
    }
    .cart-title {
      font-size: 2rem;
      font-weight: bold;
      color: #2a7ae2;
      margin-bottom: 24px;
      text-align: center;
    }
    .cart-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 24px;
    }
    .cart-table th, .cart-table td {
      padding: 12px 8px;
      border-bottom: 1px solid #eee;
      text-align: left;
    }
    .cart-table th {
      background: #f0f0f0;
      font-weight: 600;
    }
    .cart-total {
      text-align: right;
      font-size: 1.2rem;
      font-weight: 600;
      color: #1a8917;
      margin-bottom: 18px;
    }
    .cart-actions {
      text-align: right;
    }
    .cart-btn {
      background: #2a7ae2;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 10px 28px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      margin-left: 10px;
      transition: background 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .cart-btn:hover {
      background: #185bb5;
    }
    .cart-empty {
      text-align: center;
      color: #888;
      font-size: 1.1rem;
      margin: 40px 0;
    }
    @media (max-width: 700px) {
      .cart-container {
        padding: 12px 2px;
      }
      .cart-title {
        font-size: 1.2rem;
      }
      .cart-table th, .cart-table td {
        padding: 8px 4px;
        font-size: 0.95rem;
      }
    }