
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #222222;
}

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

.header {
  height: 70px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo span {
  color: #888888;
}

.header nav {
  display: flex;
  gap: 25px;
}

.header nav a {
  font-size: 14px;
  color: #666666;
}

.cart-button {
  background: #f5f5f5;
  border: 1px solid #eeeeee;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.hero {
  padding: 90px 7% 80px;
  border-bottom: 1px solid #eeeeee;
}

.eyebrow {
  font-size: 11px;
  color: #888888;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -2px;
}

.hero h1 span {
  color: #888888;
}

.hero-text {
  margin-top: 20px;
  max-width: 400px;
  line-height: 1.7;
  font-size: 15px;
  color: #777777;
}

.hero-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
  border-bottom: 1px solid #222222;
  padding-bottom: 5px;
}

.products-section {
  padding: 70px 7%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 600;
}

.section-heading > p {
  color: #888888;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 12px;
}

.product-image {
  height: 230px;
  background: #f5f5f5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  color: #777777;
  padding: 6px 8px;
  font-size: 10px;
  border-radius: 3px;
}

.product-art {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -2px;
  color: #333333;
}

.product-art span {
  color: #999999;
}

.portfolio-art {
  font-size: 27px;
}

.security-art {
  font-size: 30px;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2px;
  gap: 10px;
}

.product-info h3 {
  font-size: 14px;
  font-weight: 600;
}

.product-info p {
  font-size: 12px;
  color: #888888;
  margin-top: 6px;
}

.price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.add-button {
  width: 100%;
  padding: 12px;
  border: 1px solid #dddddd;
  background: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  transition: 0.2s;
}

.add-button:hover {
  background: #f5f5f5;
}

.about-section {
  padding: 70px 7%;
  background: #f7f7f7;
}

.about-section h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
}

.about-section > p:last-child {
  margin-top: 15px;
  color: #777777;
  font-size: 14px;
  line-height: 1.6;
}

footer {
  padding: 30px 7%;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 12px;
  color: #888888;
}

@media (max-width: 750px) {
  .header {
    padding: 0 5%;
  }

  .hero {
    padding: 65px 5%;
  }

  .products-section {
    padding: 50px 5%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-image {
    height: 170px;
  }

  .product-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }

  .about-section {
    padding: 55px 5%;
  }

  footer {
    padding: 25px 5%;
    gap: 15px;
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 210px;
  }

  .header nav {
    gap: 12px;
  }
}


/* MINI Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-overlay.active {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  margin: 0;
  font-size: 22px;
}

.close-cart {
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.cart-item-info p {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.remove-item {
  margin-top: 10px;
  border: none;
  background: transparent;
  padding: 0;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.quantity-control button {
  width: 32px;
  height: 30px;
  border: none;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 18px;
}

.quantity-control span {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
}

.cart-empty {
  text-align: center;
  padding: 60px 10px;
  color: #777;
}

.cart-empty p {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
}

.cart-empty span {
  font-size: 14px;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 17px;
}

.checkout-button {
  width: 100%;
  padding: 15px;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.checkout-button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.cart-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 12px;
}

body.cart-open {
  overflow: hidden;
}

.add-button.added {
  opacity: 0.7;
}

@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
    padding: 20px;
  }
}


/* MINI Checkout Styles */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}
.checkout-overlay.active {
  visibility: visible;
  opacity: 1;
}
.checkout-modal {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-sizing: border-box;
}
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.checkout-header h2 { margin: 0; font-size: 22px; }
.checkout-close {
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-fields label {
  font-size: 14px;
  margin-top: 8px;
}
.checkout-fields input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 12px;
  font: inherit;
}
.checkout-summary {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.checkout-summary h3, .checkout-review h3 { margin: 0 0 12px; }
.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
}
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  margin-top: 12px;
  padding-top: 14px;
  font-size: 17px;
}
.checkout-submit, .checkout-back {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 5px;
  background: #222;
  color: #fff;
  cursor: pointer;
  margin-top: 16px;
  font-size: 15px;
}
.checkout-back {
  background: #eee;
  color: #222;
}
.checkout-disclaimer {
  text-align: center;
  color: #777;
  font-size: 12px;
  margin: 12px 0 0;
}
.checkout-review[hidden], #checkoutForm[hidden] {
  display: none !important;
}
.checkout-review p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
body.checkout-open { overflow: hidden; }
@media (max-width: 480px) {
  .checkout-modal { padding: 18px; }
}
