*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
select,
textarea {
  background-color: transparent;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: 0;
}

body {
  min-height: 100vh;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: #ffffff;
  color: #0b0b0d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #0b0b0d;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e6f0fb;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 120;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

header .logo {
  font-size: 22px;
  font-weight: 700;
  color: #1e90ff;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #0b0b0d;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
}

.main-nav {
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.main-nav a:hover {
  background: rgba(30, 144, 255, 0.08);
  color: #1e90ff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle .hamburger {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #0b0b0d;
  position: relative;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #0b0b0d;
}

.nav-toggle .hamburger::before {
  top: -7px;
}

.nav-toggle .hamburger::after {
  top: 7px;
}

.nav-toggle {
  flex: 0 0 auto;
}

header .search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

header .search-bar input {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e6f0fb;
  min-width: 160px;
}

header .search-bar button {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #e6f0fb;
  background: transparent;
  cursor: pointer;
}

header .controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .filter select {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #e6f0fb;
}

header .cart {
  font-size: 15px;
  cursor: pointer;
  color: #0b0b0d;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
}

.header .cart:hover {
  background: rgba(13, 110, 253, 0.06);
  border-color: rgba(13, 110, 253, 0.06);
}

.cart-panel {
  position: absolute;
  top: 64px;
  right: 18px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: #ffffff;
  color: #0b0b0d;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
  border: 1px solid #e6f0fb;
  z-index: 200;
  display: none;
  padding: 12px;
}

@media (max-width: 1073px) {
  header .container {
    padding: 8px 12px;
  }
  .main-nav a {
    font-size: 13px;
    padding: 6px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .brand-area {
    width: 100%;
    justify-content: space-between;
  }
  .main-nav {
    order: 3;
    width: 100%;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .controls {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .search-bar {
    flex: 1;
    min-width: 0;
  }
  .filter {
    flex: 0 0 auto;
  }
  header .cart {
    flex: 0 0 auto;
  }
  .cart-panel {
    position: fixed;
    top: auto;
    bottom: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: unset;
  }
}
@media (max-width: 480px) {
  .main-nav a {
    font-size: 14px;
  }
  header .logo {
    font-size: 18px;
  }
  header .search-bar input {
    width: 100%;
    padding: 8px;
  }
}
.cart-panel.open {
  display: block;
}

.cart-panel .items {
  max-height: 300px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-panel .item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-panel .item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-panel .item .meta {
  flex: 1;
}

.cart-panel .item .meta .name {
  font-weight: 700;
  font-size: 13px;
  color: #0b0b0d;
}

.cart-panel .item .meta .price {
  font-size: 13px;
  color: #1e90ff;
  font-weight: 700;
}

.cart-panel .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.cart-panel .actions button {
  background: #1e90ff;
  color: #ffffff;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.cart-panel .empty {
  text-align: center;
  color: #6b7280;
  padding: 12px 6px;
}

@media (max-width: 1050px) {
  .nav-toggle {
    display: inline-block;
  }
  header .controls {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: block;
    padding: 8px 12px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(33, 37, 41, 0.06);
    z-index: 110;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }
  .main-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
  }
  .main-nav.is-open .controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
  }
  .main-nav .controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
  }
  .main-nav .search-bar {
    order: 1;
  }
  .main-nav .filter {
    order: 2;
  }
  .main-nav .cart {
    order: 3;
  }
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .brand-area {
    width: 100%;
    justify-content: space-between;
  }
  .main-nav {
    order: 3;
    width: 100%;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .controls {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .search-bar {
    flex: 1;
    min-width: 0;
  }
  .filter {
    flex: 0 0 auto;
  }
  header .cart {
    flex: 0 0 auto;
  }
  .cart-panel {
    position: fixed;
    top: auto;
    bottom: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: unset;
  }
}
footer {
  background: #f7fbff;
  border-top: 1px solid #e6f0fb;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .credits {
  font-size: 13px;
  color: #6b7280;
}

footer .links {
  display: flex;
  gap: 12px;
}

footer .links a {
  color: #0b0b0d;
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 640px) {
  footer .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
.product {
  position: relative;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #e6f0fb;
  box-shadow: 0 1px 3px rgba(33, 37, 41, 0.04);
  overflow: hidden;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.product:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.14);
}

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

.product h3 {
  margin: 12px 0 6px;
  color: #0b0b0d;
  font-size: 18px;
}

.product .product-title {
  margin: 10px 0 6px;
  color: #0b0b0d;
  font-size: 16px;
  font-weight: 600;
}

.product .price {
  font-size: 16px;
  color: #1e90ff;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.price-current {
  color: #1e90ff;
  font-weight: 700;
}

.product .desc {
  font-size: 13px;
  color: #6b7280;
  margin: 6px 0 12px;
}

.product .meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.product .meta li {
  font-size: 12px;
  color: #6b7280;
  background: rgba(30, 144, 255, 0.06);
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(30, 144, 255, 0.06);
}

.product button {
  background-color: #1e90ff;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 6px;
  font-weight: 600;
}

.product button:hover {
  background-color: rgb(0, 123.728, 244.2);
}

@media (max-width: 520px) {
  .product img {
    height: 160px;
  }
  .price-current {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  .product img {
    height: 220px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product img {
    height: 200px;
  }
}
@media (max-width: 767px) {
  .product {
    padding: 12px;
  }
  .product img {
    height: 170px;
  }
  .price-current {
    font-size: 14px;
  }
  .product .product-title {
    font-size: 15px;
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
main {
  padding: 30px;
  text-align: center;
  padding-bottom: 110px;
}

@media (max-width: 480px) {
  main {
    padding: 18px 12px 110px;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  main {
    padding: 22px 16px 110px;
  }
}

/*# sourceMappingURL=style.css.map */

/* Cart button and badge */
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 700;
}

.cart-badge {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  background: #1e90ff;
  color: #fff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 13px;
}

/* Slight adjustments for the cart panel already present in CSS */
.cart-panel .item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.cart-panel .qty-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cart-panel .qty-controls button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e6f0fb;
  background: #ffffff;
}
.cart-panel .remove {
  background: transparent;
  color: #ef4444;
  font-weight: 700;
}
